@dcl/shop 1.0.2-31061952187.commit-8d8b09e → 1.0.2-31075138109.commit-b4b8f60

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 (190) hide show
  1. package/_assets/{Activity-D_fQdZon.js → Activity-CNizYJay.js} +29 -29
  2. package/_assets/{AnimatedBackground-C9W4RBcZ.js → AnimatedBackground-C1p4psE2.js} +2 -2
  3. package/_assets/Assets-BcQ10xPp.js +892 -0
  4. package/_assets/{Assets.styles-BBWJCcMx.js → Assets.styles-B9PWoIMZ.js} +80 -72
  5. package/_assets/{Authorizations-DVwQ95Ww.js → Authorizations-C_xGdM-p.js} +1 -1
  6. package/_assets/Cart-DYZGi78I.js +706 -0
  7. package/_assets/{CircularProgress-D09608yv.js → CircularProgress-B_hinbN9.js} +1 -1
  8. package/_assets/{Collection-DllncUVv.js → Collection-DTJYViBJ.js} +11 -11
  9. package/_assets/{CollectionCarousel-B9HmGuVb.js → CollectionCarousel-DZxVlfxf.js} +182 -126
  10. package/_assets/{Confetti-Dl6FT7nL.js → Confetti-mgEJ457s.js} +1 -1
  11. package/_assets/Creator-BVn3jG76.js +307 -0
  12. package/_assets/{ErrorNotice-OUNK486K.js → ErrorNotice-CCUuPON0.js} +1 -1
  13. package/_assets/{ExchangeController-Cp3qbfAM.js → ExchangeController-CXuE8lHA.js} +1 -1
  14. package/_assets/{Faq-DXtTtsuA.js → Faq-Bkcjo8OM.js} +1 -1
  15. package/_assets/{GetCredits-BhRNCaTG.js → GetCredits-Bq6LvsYg.js} +19 -12
  16. package/_assets/{Grow-DXdR0gI9.js → Grow-DBDllnzs.js} +1 -1
  17. package/_assets/{HelpersUtil-rQp5uDAx.js → HelpersUtil-CTTzLGBA.js} +1 -1
  18. package/_assets/ItemDetail-CBafDPtx.js +3552 -0
  19. package/_assets/JumpInIcon-CfzbSVBF.js +1 -0
  20. package/_assets/LazyEmoteControls-PQ3Pg2sc.js +2 -0
  21. package/_assets/{LoadMore-jSNRJiwZ.js → LoadMore-DY0yTnWX.js} +1 -1
  22. package/_assets/{ManaPricingBanner.styles-vDUAKLLe.js → ManaPricingBanner.styles-CLzKIrR0.js} +2 -2
  23. package/_assets/MyAssets-BuEVkMOy.js +396 -0
  24. package/_assets/{MyFavorites-BLrz2vwY.js → MyFavorites-5YJaSyop.js} +20 -17
  25. package/_assets/{NotFound-DP4nosOd.js → NotFound-1ks_XjFT.js} +1 -1
  26. package/_assets/{NotificationsBell-ARziPv8W.js → NotificationsBell-CPTnotbb.js} +1 -1
  27. package/_assets/{OutfitDetail-CLmuEgB3.js → OutfitDetail-N4whvhsJ.js} +12 -9
  28. package/_assets/{OutfitPreview-PWdXvCaE.js → OutfitPreview-D7BVurmj.js} +1 -1
  29. package/_assets/{OutfitStudio-Cx3Xm6ff.js → OutfitStudio-WKWXKKDM.js} +46 -46
  30. package/_assets/{StoreSettings-BQtEgWRm.js → StoreSettings-CDOaTUdX.js} +4 -4
  31. package/_assets/Success-CAR1N5YA.js +353 -0
  32. package/_assets/{SwapController-Bf58lQ6b.js → SwapController-DFi1XX34.js} +1 -1
  33. package/_assets/{Tooltip-BDmKiALz.js → Tooltip-Cwe0Yraw.js} +1 -1
  34. package/_assets/{TradeService-Yecm1OxI.js → TradeService-BaPRI5UX.js} +1 -1
  35. package/_assets/{W3MFrameProviderSingleton-BQyeyr-U.js → W3MFrameProviderSingleton-ZccF4Y9V.js} +3 -3
  36. package/_assets/{WebCryptoP256-Ou_F2OJp.js → WebCryptoP256-Jedmnano.js} +1 -1
  37. package/_assets/{authorizations-B3AvOvOm.js → authorizations-CAdQPCMI.js} +1 -1
  38. package/_assets/{basic-DTDRwam-.js → basic-D7xW8zKi.js} +1 -1
  39. package/_assets/{biconomy-DaLi1O64.js → biconomy-DSBuvNuK.js} +1 -1
  40. package/_assets/{builder-DxumJmKw.js → builder-0yNVIzVD.js} +1 -1
  41. package/_assets/{buy-gasless-BfTEWjT9.js → buy-gasless-BqufOfFB.js} +1 -1
  42. package/_assets/{buy-BHkfYJLe.js → buy-p0P2Zs7_.js} +1 -1
  43. package/_assets/{categories-D23W_J-A.js → categories-Q8-sA-ag.js} +73 -58
  44. package/_assets/{ccip-DGVhZCZ4.js → ccip-DARfTvaF.js} +1 -1
  45. package/_assets/{ccip-qhHiv1gU.js → ccip-DsdggBKA.js} +1 -1
  46. package/_assets/collectionPage.styles-DQbgY52P.js +32 -0
  47. package/_assets/{controller-DGtmLk4f.js → controller-Zsb3xV7z.js} +2 -2
  48. package/_assets/{core-BAqS3vu7.js → core-CkqGyNBY.js} +4 -4
  49. package/_assets/{createSvgIcon-Bm9nxGqG.js → createSvgIcon-CZWQfAYI.js} +2 -2
  50. package/_assets/{custom-MaGTnz7S.js → custom-Bxjd11Bv.js} +1 -1
  51. package/_assets/{data-capture-5Vi1cyBa.js → data-capture-C_h8eQxX.js} +1 -1
  52. package/_assets/{email-BG6hRXMo.js → email-CoonlLSw.js} +1 -1
  53. package/_assets/{embedded-wallet-CfnknCH8.js → embedded-wallet-CZSkNi4z.js} +1 -1
  54. package/_assets/{emotion-styled.browser.esm-CoxAZUrJ.js → emotion-styled.browser.esm-BbXohUUc.js} +1 -1
  55. package/_assets/{engine-nQGCV50K.js → engine-C7WUjAl2.js} +1 -1
  56. package/_assets/{errors-DZ_QWsza.js → errors-BUHoc-y5.js} +1 -1
  57. package/_assets/{estimate-l1-fee-CVpJ9ym5.js → estimate-l1-fee-UKT25sin.js} +1 -1
  58. package/_assets/{execute-DFvUDrLY.js → execute-CPTN8FKu.js} +2 -2
  59. package/_assets/{features-BXUedULM.js → features-D6748kEh.js} +1 -1
  60. package/_assets/{fetchTokenMetadata-CkQcnzmO.js → fetchTokenMetadata-CPl8yMoH.js} +2 -2
  61. package/_assets/{field.styles-PE4ZasC2.js → field.styles-dfnZT-br.js} +1 -1
  62. package/_assets/{get-ecosystem-wallet-info-CRLH8I6C.js → get-ecosystem-wallet-info-CUrAtQ3b.js} +1 -1
  63. package/_assets/{getBalance-CiV48JsZ.js → getBalance-CUN1GDsO.js} +1 -1
  64. package/_assets/{getNFT-CV3N9TTA.js → getNFT-BDJqqYqb.js} +1 -1
  65. package/_assets/{getNFT-C3ucNb89.js → getNFT-DFlqYNlO.js} +1 -1
  66. package/_assets/{grid.styles-hOZTJ80g.js → grid.styles-DODm717m.js} +1 -1
  67. package/_assets/{hashTypedData-gTABcRB5.js → hashTypedData-D3XiRshp.js} +1 -1
  68. package/_assets/{hashTypedData-BtF2J233.js → hashTypedData-bAoo1co0.js} +1 -1
  69. package/_assets/identity-icon-C8yAW_Gq.svg +8 -0
  70. package/_assets/{in-app-CSDr4Blb.js → in-app-Dx0lK6d1.js} +1 -1
  71. package/_assets/{in-app-wallet-calls-Crivl9zc.js → in-app-wallet-calls-H4N-BNbO.js} +1 -1
  72. package/_assets/{index-KWEbYeSY.js → index--4i0Lw-m.js} +1 -1
  73. package/_assets/{index-Cf-gi-Qq.js → index-1YcJ_AMk.js} +1 -1
  74. package/_assets/{index-CS27am7J.js → index-4jPZivXl.js} +1 -1
  75. package/_assets/{index-DgOiZShm.js → index-5tC1hlhU.js} +1 -1
  76. package/_assets/{index-HAEoS9R6.js → index-AaJs3SZg.js} +1 -1
  77. package/_assets/{index-BTDIKmoC.js → index-B8xkUObo.js} +1 -1
  78. package/_assets/{index-Bg_gOSx_.js → index-BBYOztfl.js} +1 -1
  79. package/_assets/{index-CGBg3yUz.js → index-BGKTqnNJ.js} +5 -5
  80. package/_assets/{index-Bs4LvV4K.js → index-BPiB7yPn.js} +2 -2
  81. package/_assets/{index-EKmmXx1j.js → index-BTVtZV-4.js} +1 -1
  82. package/_assets/{index-BBbwMaBz.js → index-BY8CUKv-.js} +1 -1
  83. package/_assets/{index-DKHMu0o3.js → index-BhTQhn8o.js} +1 -1
  84. package/_assets/{index-D7LYoLo4.js → index-BiAWEM1Y.js} +1 -1
  85. package/_assets/{index-DXRL-4ld.js → index-BpsSIJDP.js} +1 -1
  86. package/_assets/{index-CHf7lsmp.js → index-BzIFn1gg.js} +1 -1
  87. package/_assets/{index-DLFQdlEW.js → index-C-Qu30M3.js} +1 -1
  88. package/_assets/{index-C5Evg5sh.js → index-C1TeecjZ.js} +1 -1
  89. package/_assets/{index-hKv-BpxY.js → index-C3oB2anL.js} +1 -1
  90. package/_assets/{index-DnJJn52L.js → index-CA_IOkJ5.js} +1 -1
  91. package/_assets/{index-C7hpB9s1.js → index-CEwRybny.js} +3 -3
  92. package/_assets/{index-DoGz07sk.js → index-CKW9ikJj.js} +1 -1
  93. package/_assets/{index-qGMuaBIs.js → index-CLKXx6rf.js} +1 -1
  94. package/_assets/{index-D5eMvKb_.js → index-CPsldIhs.js} +1 -1
  95. package/_assets/{index-CHolIX6U.js → index-CcYSrQZB.js} +1 -1
  96. package/_assets/{index-DwX-9Zo4.js → index-Ci8wltbz.js} +1 -1
  97. package/_assets/{index-D769FdFr.js → index-CkTj0rBr.js} +1 -1
  98. package/_assets/{index-CmY0V0eX.js → index-Cwuc6_4X.js} +1 -1
  99. package/_assets/{index-BNBzDf6z.js → index-CzAnnYNM.js} +1 -1
  100. package/_assets/{index-Dp2641E3.js → index-D0g-gu9R.js} +1 -1
  101. package/_assets/{index-wRmEiTlP.js → index-D2Uzczc0.js} +2 -2
  102. package/_assets/{index-ClUPCoEW.js → index-DAnmGKDS.js} +1 -1
  103. package/_assets/{index-BYP7oMPZ.css → index-DB6GvbxL.css} +1 -1
  104. package/_assets/{index-CvwosU6Y.js → index-DFQi7e3d.js} +1 -1
  105. package/_assets/{index-UyXkCiLs.js → index-DGCl01Aq.js} +1 -1
  106. package/_assets/{index-C23D_vyT.js → index-DLa23Ln5.js} +1 -1
  107. package/_assets/{index-ItjVcw1b.js → index-DPvEn0Us.js} +1 -1
  108. package/_assets/{index-CkGO7qOd.js → index-DQTv184M.js} +1 -1
  109. package/_assets/{index-DSuiX4WG.js → index-DWpfZF5x.js} +1 -1
  110. package/_assets/{index-DKdQUEzy.js → index-Di8inWXw.js} +1 -1
  111. package/_assets/{index-S0X-BG2b.js → index-DidVPhMo.js} +1 -1
  112. package/_assets/{index-9_4ZEs3N.js → index-DmMEC2q9.js} +1 -1
  113. package/_assets/{index-DjTNPtj2.js → index-Ds0rafrR.js} +1 -1
  114. package/_assets/{index-CyRHowbs.js → index-DvCZhQ4M.js} +1 -1
  115. package/_assets/{index-DY1xBku2.js → index-DzcxBj5H.js} +1 -1
  116. package/_assets/{index-CwRTjZPC.js → index-FSR-tXEG.js} +3 -3
  117. package/_assets/{index-CKUuopSw.js → index-H0_FOTS1.js} +526 -451
  118. package/_assets/{index-1oceTWwb.js → index-IiqyrxDp.js} +3 -3
  119. package/_assets/{index-Dh85kccn.js → index-P6CBRm57.js} +1 -1
  120. package/_assets/{index-C0pcaEQl.js → index-bQcvt8Yc.js} +1 -1
  121. package/_assets/{index-DkV5TYom.js → index-eG9hxr4C.js} +1 -1
  122. package/_assets/{index-9x1mGBeU.js → index-gFP2sFjS.js} +1 -1
  123. package/_assets/{index-BniGBCAO.js → index-h6pTnuHR.js} +1 -1
  124. package/_assets/{index-DdmULNRk.js → index-xIqXdiX9.js} +2 -2
  125. package/_assets/{index.es-g_bB-nFv.js → index.es-Bezpyz9G.js} +1 -1
  126. package/_assets/{index.es-wpL2Ycto.js → index.es-C5RZM_Pw.js} +4 -4
  127. package/_assets/{index.es-DnMGDxtr.js → index.es-CfiB2nB-.js} +1 -1
  128. package/_assets/invite-icon-Bz6lCTuB.svg +11 -0
  129. package/_assets/{localBatchGatewayRequest-DtELSHiE.js → localBatchGatewayRequest-BEJ4F0kB.js} +1 -1
  130. package/_assets/{networks-ZmRqsvV6.js → networks-sj6IF-js.js} +1 -1
  131. package/_assets/{onramp-Bffl3qa3.js → onramp-BubqiUY-.js} +1 -1
  132. package/_assets/{openzeppelin-BmH-LNci.js → openzeppelin-Chy7gkut.js} +1 -1
  133. package/_assets/{parseNft-PSjb4qKi.js → parseNft-kgJMEL-I.js} +2 -2
  134. package/_assets/{parseSignature-D947kFfv.js → parseSignature-49G14sv1.js} +3 -3
  135. package/_assets/{parseSignature-IigTmAp7.js → parseSignature-CJ8NsFbD.js} +1 -1
  136. package/_assets/{passkeys-BsJVcpuM.js → passkeys-BvVbeMXS.js} +1 -1
  137. package/_assets/{pay-with-exchange-CU_HZd9F.js → pay-with-exchange-Cc0055L1.js} +1 -1
  138. package/_assets/{qr-overlay-EMShc5uE.js → qr-overlay-D10vlv1f.js} +1 -1
  139. package/_assets/{receive-CO6WElZa.js → receive-Cuwu3mHS.js} +1 -1
  140. package/_assets/{resolveImplementation-CUngPhAv.js → resolveImplementation-Dfj0L4Ai.js} +1 -1
  141. package/_assets/{rpc-BqH_VMy9.js → rpc-CnHNtgxw.js} +1 -1
  142. package/_assets/{secp256k1-CTsmRKJj.js → secp256k1-B3l9Rkyd.js} +1 -1
  143. package/_assets/{secp256k1-DneM3aYG.js → secp256k1-CR-cgYPx.js} +1 -1
  144. package/_assets/{secp256k1-D7kpLshE.js → secp256k1-Cc9GlXlU.js} +1 -1
  145. package/_assets/{send-DnwW2LgN.js → send-CsVYUzzr.js} +1 -1
  146. package/_assets/{send-batch-transaction-BgJnfEM8.js → send-batch-transaction-B6mk0_i_.js} +1 -1
  147. package/_assets/{send-eip712-transaction-Cw3ykz5y.js → send-eip712-transaction-BfUkLu-i.js} +2 -2
  148. package/_assets/{send-gasless-transaction-BjGhnCwR.js → send-gasless-transaction-BlLmbQ26.js} +2 -2
  149. package/_assets/{send-transaction-COKVeGfk.js → send-transaction-D0wENyPk.js} +2 -2
  150. package/_assets/{sendMetaTransaction-Bp3kwdLJ.js → sendMetaTransaction-CnhA6a-k.js} +1 -1
  151. package/_assets/{sendRawTransaction-eVli2oE3.js → sendRawTransaction-BsyxcfGv.js} +3 -3
  152. package/_assets/{serializeTransaction-CIM9i_-w.js → serializeTransaction-DVId8Rs6.js} +1 -1
  153. package/_assets/{session-proposal-KGl_Ah2b.js → session-proposal-DUVy-dyq.js} +1 -1
  154. package/_assets/{session-request-VAEXTksW.js → session-request-DSQfWHt6.js} +2 -2
  155. package/_assets/{signing-Cgx49_1X.js → signing-Bd6C4KXQ.js} +3 -3
  156. package/_assets/{skeleton.styles-BXNXDWEi.js → skeleton.styles-sGub2C43.js} +1 -1
  157. package/_assets/{socials-oKAOeF-k.js → socials-Bx-bKnd9.js} +1 -1
  158. package/_assets/{styled-pD_2hanx.js → styled-B8vpPdOK.js} +1 -1
  159. package/_assets/{swaps-BcAY_D99.js → swaps-BwNRCNkw.js} +1 -1
  160. package/_assets/{thirdweb-ChAqWFCO.js → thirdweb-bDUpez-k.js} +3 -3
  161. package/_assets/{to-serializable-transaction-D9qGbcrS.js → to-serializable-transaction-CrmYGVf0.js} +2 -2
  162. package/_assets/{transactionReceipt-BMw52z-f.js → transactionReceipt-Dwol6pvh.js} +1 -1
  163. package/_assets/{transactions-CeENvGIt.js → transactions-CJMbROug.js} +1 -1
  164. package/_assets/{useCreditPacks-BcavayJ3.js → useCreditPacks-D_gG97Vg.js} +1 -1
  165. package/_assets/{useImportable-CqnIvzif.js → useImportable-G1z46qnF.js} +1 -1
  166. package/_assets/{useInfiniteGrid-BjEQAabI.js → useInfiniteGrid-BHHEAbZ5.js} +1 -1
  167. package/_assets/{useTheme-BnnteKI4.js → useTheme-BxVqPd4e.js} +1 -1
  168. package/_assets/{verifyHash-CuRmy06R.js → verifyHash-BtpuSxEE.js} +1 -1
  169. package/_assets/{w3m-modal-CkBFH4cA.js → w3m-modal-BJMDIvH7.js} +1 -1
  170. package/_assets/{w3m-modal-BvOCJx7k.js → w3m-modal-Co4ZJh9U.js} +1 -1
  171. package/_assets/{wait-for-tx-receipt-B2KaPYJT.js → wait-for-tx-receipt-CKXB2fpc.js} +1 -1
  172. package/_assets/{wallets-CpXU08d2.js → wallets-BNoMqUPP.js} +5 -5
  173. package/_assets/{web-connector-BHRkWbB9.js → web-connector-DxsgtKod.js} +3 -3
  174. package/_assets/world-icon-6xQ-PmmW.svg +7 -0
  175. package/_assets/{writeContract-DNDGvg0r.js → writeContract-PCmQXj1B.js} +1 -1
  176. package/_assets/{zoraTestnet-CCn01jlp.js → zoraTestnet-sfJI3-xK.js} +1 -1
  177. package/index.html +11 -11
  178. package/package.json +2 -2
  179. package/_assets/Assets-CvZql_4R.js +0 -866
  180. package/_assets/Cart-CBLHJRVj.js +0 -706
  181. package/_assets/Creator-BreBnKPX.js +0 -305
  182. package/_assets/ItemDetail-clRbfaLQ.js +0 -3551
  183. package/_assets/LazyEmoteControls-B7UYn8xk.js +0 -2
  184. package/_assets/MyAssets-CsWhc-qa.js +0 -381
  185. package/_assets/Success-BWfI3_Mu.js +0 -280
  186. package/_assets/collectionPage.styles-CoEdrsfq.js +0 -49
  187. package/_assets/governance-DnazlIjy.webp +0 -0
  188. package/_assets/identity-B4DXDuJP.webp +0 -0
  189. package/_assets/invite-BfwIhP2C.webp +0 -0
  190. package/_assets/world-B-9aPlxu.webp +0 -0
@@ -1,2 +1,2 @@
1
- import{c3 as j,u as k,c4 as g,c5 as _,aj as M,ak as h,c6 as F,c7 as I,c8 as R,c9 as V,j as z,T as O,ca as L}from"./index-CKUuopSw.js";import{cb as Me,cc as Oe,cd as we,K as $e,ce as Ee,cf as Pe,cg as Te,ch as je,ci as ke,w as _e,cj as Fe,ck as Ie,cl as Re,cm as Ve,cn as ze}from"./index-CKUuopSw.js";import{u as Ae}from"./useTheme-BnnteKI4.js";import{s as He,s as Be}from"./styled-pD_2hanx.js";import{j as A}from"./react-BYHuwl8r.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";function C(e){const{theme:t,name:n,props:s}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?s:j(t.components[n].defaultProps,s)}function H({props:e,name:t,defaultTheme:n,themeId:s}){let r=k(n);return r=r[s]||r,C({theme:r,name:t,props:e})}function $(e,t=0,n=1){return _(e,t,n)}function B(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(s=>s+s)),n?`rgb${n.length===4?"a":""}(${n.map((s,r)=>r<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function U(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function f(e){if(e.type)return e;if(e.charAt(0)==="#")return f(B(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(g(9,e));let s=e.substring(t+1,e.length-1),r;if(n==="color"){if(s=s.split(" "),r=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r)===-1)throw new Error(g(10,r))}else s=s.split(",");return s=s.map(o=>parseFloat(o)),{type:n,values:s,colorSpace:r}}function S(e){const{type:t,colorSpace:n}=e;let{values:s}=e;return t.indexOf("rgb")!==-1?s=s.map((r,o)=>o<3?parseInt(r,10):r):t.indexOf("hsl")!==-1&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),t.indexOf("color")!==-1?s=`${n} ${s.join(" ")}`:s=`${s.join(", ")}`,`${t}(${s})`}function ie(e){if(e.indexOf("#")===0)return e;const{values:t}=f(e);return`#${t.map((n,s)=>U(s===3?Math.round(255*n):n)).join("")}`}function G(e){e=f(e);const{values:t}=e,n=t[0],s=t[1]/100,r=t[2]/100,o=s*Math.min(r,1-r),p=(c,m=(c+n/30)%12)=>r-o*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const i=[Math.round(p(0)*255),Math.round(p(8)*255),Math.round(p(4)*255)];return e.type==="hsla"&&(l+="a",i.push(t[3])),S({type:l,values:i})}function w(e){e=f(e);let t=e.type==="hsl"||e.type==="hsla"?f(G(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function oe(e,t){const n=w(e),s=w(t);return(Math.max(n,s)+.05)/(Math.min(n,s)+.05)}function pe(e,t){return e=f(e),t=$(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,S(e)}function W(e,t){if(e=f(e),t=$(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return S(e)}function D(e,t){if(e=f(e),t=$(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return S(e)}function ue(e,t=.15){return w(e)>.5?W(e,t):D(e,t)}const K=["defaultProps","mixins","overrides","palette","props","styleOverrides"],N=["type","mode"];function me(e){const{defaultProps:t={},mixins:n={},overrides:s={},palette:r={},props:o={},styleOverrides:p={}}=e,l=M(e,K),i=h({},l,{components:{}});Object.keys(t).forEach(a=>{const u=i.components[a]||{};u.defaultProps=t[a],i.components[a]=u}),Object.keys(o).forEach(a=>{const u=i.components[a]||{};u.defaultProps=o[a],i.components[a]=u}),Object.keys(p).forEach(a=>{const u=i.components[a]||{};u.styleOverrides=p[a],i.components[a]=u}),Object.keys(s).forEach(a=>{const u=i.components[a]||{};u.styleOverrides=s[a],i.components[a]=u}),i.spacing=F(e.spacing);const c=I(e.breakpoints||{}),m=i.spacing;i.mixins=h({gutters:(a={})=>h({paddingLeft:m(2),paddingRight:m(2)},a,{[c.up("sm")]:h({paddingLeft:m(3),paddingRight:m(3)},a[c.up("sm")])})},n);const{type:y,mode:x}=r,v=M(r,N),b=x||y||"light";return i.palette=h({text:{hint:b==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:b,type:b},v),i}function le(e,...t){return R(V({unstable_strictMode:!0},e),...t)}let E=!1;function ce(e){return E||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(`
1
+ import{c1 as j,u as k,c2 as g,c3 as _,aj as M,ak as h,c4 as F,c5 as I,c6 as R,c7 as V,j as z,T as O,c8 as L}from"./index-H0_FOTS1.js";import{c9 as Me,ca as Oe,cb as we,K as $e,cc as Ee,cd as Pe,ce as Te,cf as je,cg as ke,w as _e,ch as Fe,ci as Ie,cj as Re,ck as Ve,cl as ze}from"./index-H0_FOTS1.js";import{u as Ae}from"./useTheme-BxVqPd4e.js";import{s as He,s as Be}from"./styled-B8vpPdOK.js";import{j as A}from"./react-BYHuwl8r.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";function C(e){const{theme:t,name:n,props:s}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?s:j(t.components[n].defaultProps,s)}function H({props:e,name:t,defaultTheme:n,themeId:s}){let r=k(n);return r=r[s]||r,C({theme:r,name:t,props:e})}function $(e,t=0,n=1){return _(e,t,n)}function B(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(s=>s+s)),n?`rgb${n.length===4?"a":""}(${n.map((s,r)=>r<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function U(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function f(e){if(e.type)return e;if(e.charAt(0)==="#")return f(B(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(g(9,e));let s=e.substring(t+1,e.length-1),r;if(n==="color"){if(s=s.split(" "),r=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r)===-1)throw new Error(g(10,r))}else s=s.split(",");return s=s.map(o=>parseFloat(o)),{type:n,values:s,colorSpace:r}}function S(e){const{type:t,colorSpace:n}=e;let{values:s}=e;return t.indexOf("rgb")!==-1?s=s.map((r,o)=>o<3?parseInt(r,10):r):t.indexOf("hsl")!==-1&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),t.indexOf("color")!==-1?s=`${n} ${s.join(" ")}`:s=`${s.join(", ")}`,`${t}(${s})`}function ie(e){if(e.indexOf("#")===0)return e;const{values:t}=f(e);return`#${t.map((n,s)=>U(s===3?Math.round(255*n):n)).join("")}`}function G(e){e=f(e);const{values:t}=e,n=t[0],s=t[1]/100,r=t[2]/100,o=s*Math.min(r,1-r),p=(c,m=(c+n/30)%12)=>r-o*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const i=[Math.round(p(0)*255),Math.round(p(8)*255),Math.round(p(4)*255)];return e.type==="hsla"&&(l+="a",i.push(t[3])),S({type:l,values:i})}function w(e){e=f(e);let t=e.type==="hsl"||e.type==="hsla"?f(G(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function oe(e,t){const n=w(e),s=w(t);return(Math.max(n,s)+.05)/(Math.min(n,s)+.05)}function pe(e,t){return e=f(e),t=$(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,S(e)}function W(e,t){if(e=f(e),t=$(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return S(e)}function D(e,t){if(e=f(e),t=$(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return S(e)}function ue(e,t=.15){return w(e)>.5?W(e,t):D(e,t)}const K=["defaultProps","mixins","overrides","palette","props","styleOverrides"],N=["type","mode"];function me(e){const{defaultProps:t={},mixins:n={},overrides:s={},palette:r={},props:o={},styleOverrides:p={}}=e,l=M(e,K),i=h({},l,{components:{}});Object.keys(t).forEach(a=>{const u=i.components[a]||{};u.defaultProps=t[a],i.components[a]=u}),Object.keys(o).forEach(a=>{const u=i.components[a]||{};u.defaultProps=o[a],i.components[a]=u}),Object.keys(p).forEach(a=>{const u=i.components[a]||{};u.styleOverrides=p[a],i.components[a]=u}),Object.keys(s).forEach(a=>{const u=i.components[a]||{};u.styleOverrides=s[a],i.components[a]=u}),i.spacing=F(e.spacing);const c=I(e.breakpoints||{}),m=i.spacing;i.mixins=h({gutters:(a={})=>h({paddingLeft:m(2),paddingRight:m(2)},a,{[c.up("sm")]:h({paddingLeft:m(3),paddingRight:m(3)},a[c.up("sm")])})},n);const{type:y,mode:x}=r,v=M(r,N),b=x||y||"light";return i.palette=h({text:{hint:b==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:b,type:b},v),i}function le(e,...t){return R(V({unstable_strictMode:!0},e),...t)}let E=!1;function ce(e){return E||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(`
2
2
  `)),E=!0),e}function P(e){return String(parseFloat(e)).length===String(e).length}function q(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function d(e){return parseFloat(e)}function J(e){return(t,n)=>{const s=q(t);if(s===n)return t;let r=d(t);s!=="px"&&(s==="em"||s==="rem")&&(r=d(t)*d(e));let o=r;if(n!=="px")if(n==="em")o=r/d(e);else if(n==="rem")o=r/d(e);else return t;return parseFloat(o.toFixed(5))+n}}function Q({size:e,grid:t}){const n=e-e%t,s=n+t;return e-n<s-e?n:s}function X({lineHeight:e,pixels:t,htmlFontSize:n}){return t/(e*n)}function Y({cssProperty:e,min:t,max:n,unit:s="rem",breakpoints:r=[600,900,1200],transform:o=null}){const p={[e]:`${t}${s}`},l=(n-t)/r[r.length-1];return r.forEach(i=>{let c=t+l*i;o!==null&&(c=o(c)),p[`@media (min-width:${i}px)`]={[e]:`${Math.round(c*1e4)/1e4}${s}`}}),p}function he(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:s=!1,factor:r=2,variants:o=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,p=h({},e);p.typography=h({},p.typography);const l=p.typography,i=J(l.htmlFontSize),c=n.map(m=>p.breakpoints.values[m]);return o.forEach(m=>{const y=l[m];if(!y)return;const x=parseFloat(i(y.fontSize,"rem"));if(x<=1)return;const v=x,b=1+(v-1)/r;let{lineHeight:a}=y;if(!P(a)&&!s)throw new Error(g(6));P(a)||(a=parseFloat(i(a,"rem"))/parseFloat(x));let u=null;s||(u=T=>Q({size:T,grid:X({pixels:4,lineHeight:a,htmlFontSize:l.htmlFontSize})})),l[m]=h({},y,Y({cssProperty:"fontSize",min:b,max:v,unit:"rem",breakpoints:c,transform:u}))}),p}function fe({props:e,name:t}){return H({props:e,name:t,defaultTheme:z,themeId:O})}const Z=["theme"];function de(e){let{theme:t}=e,n=M(e,Z);const s=t[O];return A.jsx(L,h({},n,{themeId:s?O:void 0,theme:s||t}))}function ge(){throw new Error(g(14))}function ye(){throw new Error(g(15))}function xe(){throw new Error(g(16))}function be(){throw new Error(g(20))}export{Me as Experimental_CssVarsProvider,Oe as StyledEngineProvider,O as THEME_ID,de as ThemeProvider,me as adaptV4Theme,pe as alpha,we as createMuiTheme,ce as createStyles,R as createTheme,$e as css,W as darken,f as decomposeColor,Ee as duration,Pe as easing,ue as emphasize,He as experimentalStyled,Te as experimental_extendTheme,be as experimental_sx,oe as getContrastRatio,je as getInitColorSchemeScript,w as getLuminance,ke as getOverlayAlpha,B as hexToRgb,G as hslToRgb,_e as keyframes,D as lighten,ge as makeStyles,Fe as private_createMixins,Ie as private_createTypography,Re as private_excludeVariablesFromRoot,S as recomposeColor,he as responsiveFontSizes,ie as rgbToHex,Ve as shouldSkipGeneratingVar,Be as styled,le as unstable_createMuiStrictModeTheme,q as unstable_getUnit,d as unstable_toUnitless,ze as useColorScheme,Ae as useTheme,fe as useThemeProps,ye as withStyles,xe as withTheme};
@@ -1 +1 @@
1
- import{r as i,j as e,R as He}from"./react-BYHuwl8r.js";import{n as G}from"./dcl-schemas-CmtP3U6y.js";import{c as y}from"./index-C5Evg5sh.js";import{n as t,S as Fe}from"./emotion-styled.browser.esm-CoxAZUrJ.js";import{w as ie,c1 as C,c2 as r}from"./index-CKUuopSw.js";import"./clsx-WwvpwSg0.js";import"./styled-pD_2hanx.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";function k(o){return Math.floor(o).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"})})}),me=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:o,...n}){const l=Ye[o];return l?e.jsx(l,{...n}):Ge.has(o)?e.jsx(le,{...n}):Ke.has(o)?e.jsx(Be,{...n}):e.jsx(le,{...n})}const be=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 o=y.get("SHOP_URL"),n=y.get("BUILDER_URL"),l=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:l},shop:{label:"shop",items:[{label:"shopAll",url:o},{label:"wearables",url:`${o}/items?category=wearable`},{label:"emotes",url:`${o}/items?category=emote`},{label:"names",url:`${o}/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=t("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=t("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=t("div")({display:"flex",alignItems:"center",gap:16,[x]:{gap:48}}),st=t("div")({display:"flex",alignItems:"center",gap:12,[x]:{gap:24}}),lt=t("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),at=t("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=t("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=t("div")(({open:o})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:o?"auto":"none",backgroundColor:o?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[x]:{display:"none"}})),pt=t("div")(({open:o})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:o?"calc(100vh - 64px)":0,overflowY:"auto",background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:o?Y:"none",padding:o?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[x]:{display:"none"}})),oe=t("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),de=t("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=t("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=t("div")(({open:o})=>({maxHeight:o?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),ft=t("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:l,i18n:h}){const f=ve(),[w,b]=i.useState(null),s=i.useCallback(u=>{b(a=>a===u?null:u)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(ct,{open:n,onClick:l}),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:()=>s(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(me,{})]},c.label))})]},u)}),e.jsx(oe,{children:e.jsx(de,{href:f.learn.url,children:h[f.learn.label]})})]})]})});Ie.displayName="MobileMenu";const xt=t("div")({display:"none",[x]:{display:"flex",alignItems:"center",gap:24}}),gt=t("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=t("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=t(gt)({paddingRight:16}),mt=t("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),bt=t("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=t("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:l,onScheduleCloseDropdown:h,activePage:f,i18n:w}){const b=ve();return e.jsxs(xt,{children:[e.jsx(ce,{href:b.whatsOn.url,className:f==="whatsOn"?"active":void 0,children:w[b.whatsOn.label]}),Le.map(s=>{var u;return e.jsxs(mt,{onMouseEnter:()=>l(s),onMouseLeave:h,children:[e.jsxs(Ct,{className:f===s?"active":void 0,"aria-expanded":n===s,"aria-haspopup":"true",onClick:()=>{var g;const a=(g=b[s].items)==null?void 0:g[0];a&&window.open(a.url,"_self")},children:[w[b[s].label],e.jsx(re,{style:{transform:n===s?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),n===s&&e.jsx(bt,{children:(u=b[s].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(me,{})]},a.label))})]},s)}),e.jsx(ce,{href:b.learn.url,className:f==="learn"?"active":void 0,children:w[b.learn.label]})]})});Me.displayName="NavLinks";const vt=t("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=t("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),jt=t("div")({position:"relative"}),kt=t("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=t("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=t("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),pe=t("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Mt=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),St=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),At=t("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Et=t("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=t("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=t("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Ft=t("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=t("button")(({selected:o})=>({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:o?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:o?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...o?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Wt=t("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=t("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Nt=t("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=t("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Zt=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ot=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),Vt=t("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Bt=t("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=t("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=t("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),_t=t("div")({display:"flex",alignItems:"center",gap:6}),he=t("div")(({clickable:o})=>({display:"flex",alignItems:"center",gap:2,cursor:o?"pointer":"default",color:"white"})),ue=t("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),$t=t("div")({position:"relative"}),Pt=t("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=t("div")({width:16,height:16,display:"flex",flexShrink:0}),Kt=t("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(o){if(o){if(o.startsWith("http://")||o.startsWith("https://")||o.startsWith("data:"))return o;if(/^[a-zA-Z0-9]+$/.test(o))return`${Xt}${o}`}}const qt={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function xe(o){return qt[o]??`Chain ${o}`}const Se=i.memo(function({isLoadingProfile:n,address:l,avatar:h,userCardOpen:f,onToggleUserCard:w,onClickSignOut:b,selectedChain:s,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)||(l?`${l.slice(0,6)}...${l.slice(-4)}`:""),T=l?`${l.slice(0,6)}...${l.slice(-4)}`:"",[j,I]=i.useState(!1),[Z,z]=i.useState(!1),M=i.useCallback(()=>{l&&navigator.clipboard.writeText(l).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[l]),Q=i.useCallback(p=>{p!==s&&(a==null||a(p)),z(!1)},[s,a]),R=s!==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(be,{}),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)})]})]}),s!==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:s})}),e.jsx(Kt,{children:xe(s)}),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===s;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:b,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(o=>e.jsxs(Fe,{viewBox:"0 0 20 21",...o,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=t("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=t("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=t(Ae)({color:r.softWhite}),to=t("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[x]:{gap:12}}),ge=t("button")(({clickable:o})=>({all:"unset",display:"flex",alignItems:"center",cursor:o?"pointer":"default",color:r.softWhite,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":o?{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=t("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(o){const n=o-Date.now();return Math.max(0,Math.ceil(n/(1e3*60*60*24)))}const io=i.memo(function({isSignedIn:n,isSigningIn:l,isLoadingProfile:h=!1,address:f,avatar:w,i18n:b,notificationSlot:s,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,...b},[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(m=>(m||(M(null),R(!1)),!m))},[]),V=i.useCallback(()=>{Z(!1)},[]),$=i.useCallback(m=>{W.current&&(clearTimeout(W.current),W.current=null),M(m),R(!1)},[]),P=i.useCallback(()=>{W.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{R(m=>{const D=!m;return D&&(M(null),Z(!1)),F==null||F(D),D})},[F]),v=i.useCallback(()=>{R(!1)},[]);return i.useEffect(()=>{function m(D){const Ee=D.target;O.current&&!O.current.contains(Ee)&&(S(),v())}return document.addEventListener("mousedown",m),()=>document.removeEventListener("mousedown",m)},[S,v]),i.useEffect(()=>{const m=()=>{v(),S()};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[v,S]),i.useEffect(()=>{function m(D){D.key==="Escape"&&(S(),v(),V())}return document.addEventListener("keydown",m),()=>document.removeEventListener("keydown",m)},[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(be,{}),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)]})]}),s&&e.jsx("div",{onClick:()=>{R(!1),M(null)},children:s}),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:l,children:l?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=t("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=t("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"}),mo=t("div")({position:"relative"}),bo=t("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=t("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),vo=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),Lo=t("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),jo=t("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=t("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=t("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),Io=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Mo=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),So=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),Ao=t("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Eo=t("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,bo as NotificationPanel,vo as NotificationTitle,mo as NotificationWrapper};
1
+ import{r as i,j as e,R as He}from"./react-BYHuwl8r.js";import{n as G}from"./dcl-schemas-CmtP3U6y.js";import{c as y}from"./index-C1TeecjZ.js";import{n as t,S as Fe}from"./emotion-styled.browser.esm-BbXohUUc.js";import{w as ie,b$ as C,c0 as r}from"./index-H0_FOTS1.js";import"./clsx-WwvpwSg0.js";import"./styled-B8vpPdOK.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";function k(o){return Math.floor(o).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"})})}),me=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:o,...n}){const l=Ye[o];return l?e.jsx(l,{...n}):Ge.has(o)?e.jsx(le,{...n}):Ke.has(o)?e.jsx(Be,{...n}):e.jsx(le,{...n})}const be=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 o=y.get("SHOP_URL"),n=y.get("BUILDER_URL"),l=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:l},shop:{label:"shop",items:[{label:"shopAll",url:o},{label:"wearables",url:`${o}/items?category=wearable`},{label:"emotes",url:`${o}/items?category=emote`},{label:"names",url:`${o}/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=t("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=t("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=t("div")({display:"flex",alignItems:"center",gap:16,[x]:{gap:48}}),st=t("div")({display:"flex",alignItems:"center",gap:12,[x]:{gap:24}}),lt=t("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),at=t("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=t("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=t("div")(({open:o})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:o?"auto":"none",backgroundColor:o?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[x]:{display:"none"}})),pt=t("div")(({open:o})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:o?"calc(100vh - 64px)":0,overflowY:"auto",background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:o?Y:"none",padding:o?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[x]:{display:"none"}})),oe=t("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),de=t("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=t("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=t("div")(({open:o})=>({maxHeight:o?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),ft=t("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:l,i18n:h}){const f=ve(),[w,b]=i.useState(null),s=i.useCallback(u=>{b(a=>a===u?null:u)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(ct,{open:n,onClick:l}),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:()=>s(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(me,{})]},c.label))})]},u)}),e.jsx(oe,{children:e.jsx(de,{href:f.learn.url,children:h[f.learn.label]})})]})]})});Ie.displayName="MobileMenu";const xt=t("div")({display:"none",[x]:{display:"flex",alignItems:"center",gap:24}}),gt=t("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=t("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=t(gt)({paddingRight:16}),mt=t("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),bt=t("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=t("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:l,onScheduleCloseDropdown:h,activePage:f,i18n:w}){const b=ve();return e.jsxs(xt,{children:[e.jsx(ce,{href:b.whatsOn.url,className:f==="whatsOn"?"active":void 0,children:w[b.whatsOn.label]}),Le.map(s=>{var u;return e.jsxs(mt,{onMouseEnter:()=>l(s),onMouseLeave:h,children:[e.jsxs(Ct,{className:f===s?"active":void 0,"aria-expanded":n===s,"aria-haspopup":"true",onClick:()=>{var g;const a=(g=b[s].items)==null?void 0:g[0];a&&window.open(a.url,"_self")},children:[w[b[s].label],e.jsx(re,{style:{transform:n===s?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),n===s&&e.jsx(bt,{children:(u=b[s].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(me,{})]},a.label))})]},s)}),e.jsx(ce,{href:b.learn.url,className:f==="learn"?"active":void 0,children:w[b.learn.label]})]})});Me.displayName="NavLinks";const vt=t("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=t("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),jt=t("div")({position:"relative"}),kt=t("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=t("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=t("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),pe=t("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Mt=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),St=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),At=t("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Et=t("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=t("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=t("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Ft=t("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=t("button")(({selected:o})=>({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:o?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:o?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...o?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Wt=t("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=t("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Nt=t("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=t("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Zt=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ot=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),Vt=t("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Bt=t("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=t("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=t("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),_t=t("div")({display:"flex",alignItems:"center",gap:6}),he=t("div")(({clickable:o})=>({display:"flex",alignItems:"center",gap:2,cursor:o?"pointer":"default",color:"white"})),ue=t("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),$t=t("div")({position:"relative"}),Pt=t("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=t("div")({width:16,height:16,display:"flex",flexShrink:0}),Kt=t("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(o){if(o){if(o.startsWith("http://")||o.startsWith("https://")||o.startsWith("data:"))return o;if(/^[a-zA-Z0-9]+$/.test(o))return`${Xt}${o}`}}const qt={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function xe(o){return qt[o]??`Chain ${o}`}const Se=i.memo(function({isLoadingProfile:n,address:l,avatar:h,userCardOpen:f,onToggleUserCard:w,onClickSignOut:b,selectedChain:s,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)||(l?`${l.slice(0,6)}...${l.slice(-4)}`:""),T=l?`${l.slice(0,6)}...${l.slice(-4)}`:"",[j,I]=i.useState(!1),[Z,z]=i.useState(!1),M=i.useCallback(()=>{l&&navigator.clipboard.writeText(l).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[l]),Q=i.useCallback(p=>{p!==s&&(a==null||a(p)),z(!1)},[s,a]),R=s!==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(be,{}),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)})]})]}),s!==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:s})}),e.jsx(Kt,{children:xe(s)}),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===s;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:b,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(o=>e.jsxs(Fe,{viewBox:"0 0 20 21",...o,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=t("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=t("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=t(Ae)({color:r.softWhite}),to=t("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[x]:{gap:12}}),ge=t("button")(({clickable:o})=>({all:"unset",display:"flex",alignItems:"center",cursor:o?"pointer":"default",color:r.softWhite,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":o?{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=t("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(o){const n=o-Date.now();return Math.max(0,Math.ceil(n/(1e3*60*60*24)))}const io=i.memo(function({isSignedIn:n,isSigningIn:l,isLoadingProfile:h=!1,address:f,avatar:w,i18n:b,notificationSlot:s,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,...b},[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(m=>(m||(M(null),R(!1)),!m))},[]),V=i.useCallback(()=>{Z(!1)},[]),$=i.useCallback(m=>{W.current&&(clearTimeout(W.current),W.current=null),M(m),R(!1)},[]),P=i.useCallback(()=>{W.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{R(m=>{const D=!m;return D&&(M(null),Z(!1)),F==null||F(D),D})},[F]),v=i.useCallback(()=>{R(!1)},[]);return i.useEffect(()=>{function m(D){const Ee=D.target;O.current&&!O.current.contains(Ee)&&(S(),v())}return document.addEventListener("mousedown",m),()=>document.removeEventListener("mousedown",m)},[S,v]),i.useEffect(()=>{const m=()=>{v(),S()};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[v,S]),i.useEffect(()=>{function m(D){D.key==="Escape"&&(S(),v(),V())}return document.addEventListener("keydown",m),()=>document.removeEventListener("keydown",m)},[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(be,{}),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)]})]}),s&&e.jsx("div",{onClick:()=>{R(!1),M(null)},children:s}),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:l,children:l?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=t("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=t("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"}),mo=t("div")({position:"relative"}),bo=t("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=t("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),vo=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),Lo=t("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),jo=t("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=t("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=t("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),Io=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Mo=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),So=t("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),Ao=t("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Eo=t("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,bo as NotificationPanel,vo as NotificationTitle,mo as NotificationWrapper};
@@ -1 +1 @@
1
- import{c as r}from"./parseSignature-IigTmAp7.js";import{B as y,E as f,a as v,b as A,F as S,W as I,d as F,e as R,f as x,g as C,p as B,l as N,n as P,p as D,h as U,s as w,z as L}from"./parseSignature-IigTmAp7.js";import{I as H,c as k,a as z,p as q,w as V}from"./custom-MaGTnz7S.js";import{h as s}from"./W3MFrameProviderSingleton-BQyeyr-U.js";import{U as G,c as j,f as W,s as K,w as Z,a as J}from"./W3MFrameProviderSingleton-BQyeyr-U.js";import{A as X,a as Y,B as _,b as $,C as aa,D as ra,E as oa,F as sa,c as ea,H as ta,I as ia,d as na,e as ca,f as da,g as Ea,h as pa,i as ua,j as la,k as ma,l as Ta,J as ga,L as ba,M as ha,m as ya,N as fa,n as va,o as Aa,P as Sa,p as Ia,q as Fa,R as Ra,r as xa,s as Ca,t as Ba,u as Na,S as Pa,v as Da,w as Ua,x as wa,T as La,y as Ma,z as Ha,G as ka,U as za,K as qa,O as Va,Q as Oa,V as Ga,W as ja,X as Wa,Y as Ka,Z as Za,_ as Ja,$ as Qa,a0 as Xa,a1 as Ya,a2 as _a,a3 as $a,a4 as ar,a5 as rr,a6 as or,a7 as sr,a8 as er,a9 as tr,aa as ir,ab as nr,ac as cr,ad as dr,ae as Er,af as pr,ag as ur,ah as lr,ai as mr,aj as Tr,ak as gr,al as br,am as hr,an as yr,ao as fr,ap as vr,a1 as Ar}from"./NetworkUtil-DXqql1Wz.js";import{A as Ir,a as Fr,b as Rr,c as xr,d as Cr,e as Br,f as Nr,g as Pr,h as Dr,i as Ur,j as wr,k as Lr,l as Mr,m as Hr,n as kr,o as zr,p as qr,B as Vr,q as Or,r as Gr,C as jr,s as Wr,t as Kr,u as Zr,v as Jr,w as Qr,x as Xr,y as Yr,z as _r,D as $r,E as ao,F as ro,G as oo,H as so,I as eo,J as to,K as io,L as no,M as co,N as Eo,O as po,P as uo,Q as lo,R as mo,S as To,T as go,U as bo,V as ho,W as yo,X as fo,Y as vo,Z as Ao,_ as So,$ as Io,a0 as Fo,a1 as Ro,a2 as xo,a3 as Co,a4 as Bo,a5 as No,a6 as Po,a7 as Do,a8 as Uo,a9 as wo,aa as Lo,ab as Mo,ac as Ho,ad as ko,ae as zo,af as qo,ag as Vo,ah as Oo,ai as Go,aj as jo,ak as Wo,al as Ko,am as Zo,an as Jo,ao as Qo,ap as Xo,aq as Yo,ar as _o,as as $o,at as as,au as rs,av as os,aw as ss,ax as es,ay as ts,az as is,aA as ns,aB as cs,aC as ds,aD as Es,aE as ps,aF as us,aG as ls,aH as ms,aI as Ts,aJ as gs,aK as bs,aL as hs,aM as ys,aN as fs,aM as vs,aO as As,aP as Ss,aQ as Is,aR as Fs,aS as Rs,aT as xs,aU as Cs,aV as Bs,aW as Ns,aX as Ps,aY as Ds,aZ as Us,a_ as ws,a$ as Ls,b0 as Ms,b1 as Hs,b2 as ks,b3 as zs,b4 as qs,aL as Vs,aM as Os,b4 as Gs,aN as js,aM as Ws,b5 as Ks,b6 as Zs,aA as Js}from"./sendRawTransaction-eVli2oE3.js";import{I as Xs,a as Ys,b as _s,g as $s,h as ae,c as re,d as oe,e as se,p as ee,t as te,v as ie}from"./hashTypedData-BtF2J233.js";import{d as ce,e as de,a as Ee}from"./localBatchGatewayRequest-DtELSHiE.js";import{ccipRequest as ue,ccipRequest as le,offchainLookup as me,offchainLookupAbiItem as Te,offchainLookupSignature as ge}from"./ccip-DGVhZCZ4.js";import{d as t}from"./verifyHash-CuRmy06R.js";import{e as he,p as ye,a as fe,s as ve,s as Ae}from"./verifyHash-CuRmy06R.js";import{a as Ie,b as Fe,c as Re,s as xe,d as Ce}from"./serializeTransaction-CIM9i_-w.js";import"./secp256k1-DneM3aYG.js";import"./dcl-schemas-CmtP3U6y.js";import"./index-w01WQ1OT.js";import"./react-BYHuwl8r.js";import"./sentry-Dx-KuLV3.js";import"./index-DdmULNRk.js";import"./events-DQ172AOg.js";import"./index-CKUuopSw.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./browser-ponyfill-Dj0kiq3a.js";export{Ir as AbiConstructorNotFoundError,Fr as AbiConstructorParamsNotFoundError,Rr as AbiDecodingDataSizeTooSmallError,xr as AbiDecodingZeroDataError,Cr as AbiEncodingArrayLengthMismatchError,Br as AbiEncodingBytesSizeMismatchError,Nr as AbiEncodingLengthMismatchError,Pr as AbiErrorInputsNotFoundError,Dr as AbiErrorNotFoundError,Ur as AbiErrorSignatureNotFoundError,wr as AbiEventNotFoundError,Lr as AbiEventSignatureEmptyTopicsError,Mr as AbiEventSignatureNotFoundError,Hr as AbiFunctionNotFoundError,kr as AbiFunctionOutputsNotFoundError,zr as AbiFunctionSignatureNotFoundError,qr as AccountStateConflictError,X as AtomicReadyWalletRejectedUpgradeError,Y as AtomicityNotSupportedError,_ as BaseError,Vr as BaseFeeScalarError,Or as BlockNotFoundError,y as BundleFailedError,$ as BundleTooLargeError,Gr as BytesSizeMismatchError,jr as CallExecutionError,aa as ChainDisconnectedError,Wr as ChainDoesNotSupportContract,Kr as ChainMismatchError,Zr as ChainNotFoundError,Jr as CircularReferenceError,Qr as ClientChainNotConfiguredError,Xr as ContractFunctionExecutionError,Yr as ContractFunctionRevertedError,_r as ContractFunctionZeroDataError,$r as CounterfactualDeploymentFailedError,ao as DecodeLogDataMismatch,ro as DecodeLogTopicsMismatch,ra as DuplicateIdError,oo as Eip1559FeesNotSupportedError,f as EnsAvatarInvalidNftUriError,v as EnsAvatarUnsupportedNamespaceError,A as EnsAvatarUriResolutionError,so as EstimateGasExecutionError,oa as ExecutionRevertedError,sa as FeeCapTooHighError,ea as FeeCapTooLowError,S as FilterTypeNotSupportedError,ta as HttpRequestError,ia as InsufficientFundsError,na as IntegerOutOfRangeError,ca as InternalRpcError,da as IntrinsicGasTooHighError,Ea as IntrinsicGasTooLowError,eo as InvalidAbiDecodingTypeError,to as InvalidAbiEncodingTypeError,io as InvalidAbiItemError,no as InvalidAbiParametersError,co as InvalidAbiTypeParameterError,Eo as InvalidAddressError,po as InvalidArrayError,pa as InvalidBytesBooleanError,uo as InvalidChainIdError,H as InvalidDecimalNumberError,lo as InvalidDefinitionTypeError,Xs as InvalidDomainError,mo as InvalidFunctionModifierError,ua as InvalidHexBooleanError,la as InvalidInputRpcError,To as InvalidLegacyVError,go as InvalidModifierError,bo as InvalidParameterError,ma as InvalidParamsRpcError,ho as InvalidParenthesisError,Ys as InvalidPrimaryTypeError,Ta as InvalidRequestRpcError,yo as InvalidSerializableTransactionError,fo as InvalidSignatureError,vo as InvalidStorageKeySizeError,Ao as InvalidStructSignatureError,_s as InvalidStructTypeError,ga as JsonRpcVersionUnsupportedError,ba as LimitExceededRpcError,So as MaxFeePerGasTooLowError,ha as MethodNotFoundRpcError,ya as MethodNotSupportedRpcError,fa as NonceMaxValueError,va as NonceTooHighError,Aa as NonceTooLowError,Sa as ParseRpcError,Ia as ProviderDisconnectedError,Fa as ProviderRpcError,Io as RawContractError,Ra as ResourceNotFoundRpcError,xa as ResourceUnavailableRpcError,Ca as ResponseBodyTooLargeError,Ba as RpcError,Na as RpcRequestError,Pa as SizeExceedsPaddingSizeError,Da as SizeOverflowError,Ua as SliceOffsetOutOfBoundsError,Fo as SolidityProtectedKeywordError,Ro as StateAssignmentConflictError,wa as SwitchChainError,La as TimeoutError,Ma as TipAboveFeeCapError,xo as TransactionExecutionError,Co as TransactionNotFoundError,Bo as TransactionReceiptNotFoundError,Ha as TransactionRejectedRpcError,ka as TransactionTypeNotSupportedError,za as UnauthorizedProviderError,qa as UnknownBundleIdError,Va as UnknownNodeError,Oa as UnknownRpcError,No as UnknownSignatureError,Po as UnknownTypeError,Ga as UnsupportedChainIdError,ja as UnsupportedNonOptionalCapabilityError,Do as UnsupportedPackedAbiType,Wa as UnsupportedProviderMethodError,G as UrlRequiredError,Ka as UserRejectedRequestError,I as WaitForCallsStatusTimeoutError,Uo as WaitForTransactionReceiptTimeoutError,wo as assertCurrentChain,Lo as assertRequest,Ie as assertTransactionEIP1559,Fe as assertTransactionEIP2930,Re as assertTransactionLegacy,Mo as blobsToCommitments,Ho as blobsToProofs,Za as boolToBytes,Ja as boolToHex,ko as bytesToBigInt,zo as bytesToBool,Qa as bytesToHex,qo as bytesToNumber,Vo as bytesToString,ue as ccipFetch,le as ccipRequest,Oo as checksumAddress,Go as commitmentToVersionedHash,jo as commitmentsToVersionedHashes,Wo as concat,Ko as concatBytes,Zo as concatHex,k as createClient,F as createNonceManager,r as createPublicClient,j as createTransport,z as custom,Jo as decodeAbiParameters,Qo as decodeErrorResult,Xo as decodeEventLog,ce as decodeFunctionData,Yo as decodeFunctionResult,_o as defineBlock,t as defineChain,$o as defineTransaction,as as defineTransactionReceipt,rs as defineTransactionRequest,os as deploylessCallViaBytecodeBytecode,ss as deploylessCallViaFactoryBytecode,es as encodeAbiParameters,ts as encodeDeployData,de as encodeErrorResult,R as encodeEventTopics,is as encodeFunctionData,Ee as encodeFunctionResult,x as encodePacked,Xa as erc20Abi,Ya as erc6492SignatureValidatorAbi,ns as erc6492SignatureValidatorByteCode,C as ethAddress,_a as etherUnits,he as extendSchema,W as fallback,cs as formatBlock,ds as formatEther,$a as formatGwei,Es as formatLog,ps as formatTransaction,us as formatTransactionReceipt,ls as formatTransactionRequest,ar as formatUnits,rr as fromHex,ms as getAbiItem,Ts as getAddress,gs as getChainContractAddress,bs as getContractError,hs as getEventSelector,ys as getEventSignature,fs as getFunctionSelector,vs as getFunctionSignature,As as getTransactionType,$s as getTypesForEIP712Domain,or as gweiUnits,ae as hashDomain,re as hashMessage,oe as hashStruct,se as hashTypedData,sr as hexToBigInt,er as hexToBool,tr as hexToBytes,ir as hexToNumber,B as hexToSignature,nr as hexToString,s as http,Ss as isAddress,Is as isAddressEqual,cr as isHex,Fs as keccak256,N as labelhash,Rs as maxUint16,xs as maxUint256,dr as multicall3Abi,P as namehash,Er as numberToBytes,pr as numberToHex,me as offchainLookup,Te as offchainLookupAbiItem,ge as offchainLookupSignature,ur as pad,lr as padBytes,mr as padHex,Cs as parseAbi,ye as parseAbiItem,fe as parseAbiParameters,Bs as parseEventLogs,D as parseSignature,q as parseUnits,Ns as prepareEncodeFunctionData,ee as presignMessagePrefix,U as publicActions,Ps as recoverAddress,Ds as recoverPublicKey,Us as rpcTransactionType,xe as serializeAccessList,w as serializeErc6492Signature,ve as serializeSignature,Ce as serializeTransaction,ws as sha256,K as shouldThrow,Ae as signatureToHex,Tr as size,Ls as slice,Ms as sliceBytes,Hs as sliceHex,gr as stringToBytes,br as stringToHex,hr as stringify,ks as toBlobSidecars,zs as toBlobs,yr as toBytes,qs as toEventHash,Vs as toEventSelector,Os as toEventSignature,Gs as toFunctionHash,js as toFunctionSelector,Ws as toFunctionSignature,fr as toHex,te as toPrefixedMessage,Ks as toRlp,Zs as transactionType,vr as trim,Ar as universalSignatureValidatorAbi,Js as universalSignatureValidatorByteCode,ie as validateTypedData,V as withCache,Z as withRetry,J as withTimeout,L as zeroAddress};
1
+ import{c as r}from"./parseSignature-CJ8NsFbD.js";import{B as y,E as f,a as v,b as A,F as S,W as I,d as F,e as R,f as x,g as C,p as B,l as N,n as P,p as D,h as U,s as w,z as L}from"./parseSignature-CJ8NsFbD.js";import{I as H,c as k,a as z,p as q,w as V}from"./custom-Bxjd11Bv.js";import{h as s}from"./W3MFrameProviderSingleton-ZccF4Y9V.js";import{U as G,c as j,f as W,s as K,w as Z,a as J}from"./W3MFrameProviderSingleton-ZccF4Y9V.js";import{A as X,a as Y,B as _,b as $,C as aa,D as ra,E as oa,F as sa,c as ea,H as ta,I as ia,d as na,e as ca,f as da,g as Ea,h as pa,i as ua,j as la,k as ma,l as Ta,J as ga,L as ba,M as ha,m as ya,N as fa,n as va,o as Aa,P as Sa,p as Ia,q as Fa,R as Ra,r as xa,s as Ca,t as Ba,u as Na,S as Pa,v as Da,w as Ua,x as wa,T as La,y as Ma,z as Ha,G as ka,U as za,K as qa,O as Va,Q as Oa,V as Ga,W as ja,X as Wa,Y as Ka,Z as Za,_ as Ja,$ as Qa,a0 as Xa,a1 as Ya,a2 as _a,a3 as $a,a4 as ar,a5 as rr,a6 as or,a7 as sr,a8 as er,a9 as tr,aa as ir,ab as nr,ac as cr,ad as dr,ae as Er,af as pr,ag as ur,ah as lr,ai as mr,aj as Tr,ak as gr,al as br,am as hr,an as yr,ao as fr,ap as vr,a1 as Ar}from"./NetworkUtil-DXqql1Wz.js";import{A as Ir,a as Fr,b as Rr,c as xr,d as Cr,e as Br,f as Nr,g as Pr,h as Dr,i as Ur,j as wr,k as Lr,l as Mr,m as Hr,n as kr,o as zr,p as qr,B as Vr,q as Or,r as Gr,C as jr,s as Wr,t as Kr,u as Zr,v as Jr,w as Qr,x as Xr,y as Yr,z as _r,D as $r,E as ao,F as ro,G as oo,H as so,I as eo,J as to,K as io,L as no,M as co,N as Eo,O as po,P as uo,Q as lo,R as mo,S as To,T as go,U as bo,V as ho,W as yo,X as fo,Y as vo,Z as Ao,_ as So,$ as Io,a0 as Fo,a1 as Ro,a2 as xo,a3 as Co,a4 as Bo,a5 as No,a6 as Po,a7 as Do,a8 as Uo,a9 as wo,aa as Lo,ab as Mo,ac as Ho,ad as ko,ae as zo,af as qo,ag as Vo,ah as Oo,ai as Go,aj as jo,ak as Wo,al as Ko,am as Zo,an as Jo,ao as Qo,ap as Xo,aq as Yo,ar as _o,as as $o,at as as,au as rs,av as os,aw as ss,ax as es,ay as ts,az as is,aA as ns,aB as cs,aC as ds,aD as Es,aE as ps,aF as us,aG as ls,aH as ms,aI as Ts,aJ as gs,aK as bs,aL as hs,aM as ys,aN as fs,aM as vs,aO as As,aP as Ss,aQ as Is,aR as Fs,aS as Rs,aT as xs,aU as Cs,aV as Bs,aW as Ns,aX as Ps,aY as Ds,aZ as Us,a_ as ws,a$ as Ls,b0 as Ms,b1 as Hs,b2 as ks,b3 as zs,b4 as qs,aL as Vs,aM as Os,b4 as Gs,aN as js,aM as Ws,b5 as Ks,b6 as Zs,aA as Js}from"./sendRawTransaction-BsyxcfGv.js";import{I as Xs,a as Ys,b as _s,g as $s,h as ae,c as re,d as oe,e as se,p as ee,t as te,v as ie}from"./hashTypedData-bAoo1co0.js";import{d as ce,e as de,a as Ee}from"./localBatchGatewayRequest-BEJ4F0kB.js";import{ccipRequest as ue,ccipRequest as le,offchainLookup as me,offchainLookupAbiItem as Te,offchainLookupSignature as ge}from"./ccip-DARfTvaF.js";import{d as t}from"./verifyHash-BtpuSxEE.js";import{e as he,p as ye,a as fe,s as ve,s as Ae}from"./verifyHash-BtpuSxEE.js";import{a as Ie,b as Fe,c as Re,s as xe,d as Ce}from"./serializeTransaction-DVId8Rs6.js";import"./secp256k1-CR-cgYPx.js";import"./dcl-schemas-CmtP3U6y.js";import"./index-w01WQ1OT.js";import"./react-BYHuwl8r.js";import"./sentry-Dx-KuLV3.js";import"./index-xIqXdiX9.js";import"./events-DQ172AOg.js";import"./index-H0_FOTS1.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./browser-ponyfill-Dj0kiq3a.js";export{Ir as AbiConstructorNotFoundError,Fr as AbiConstructorParamsNotFoundError,Rr as AbiDecodingDataSizeTooSmallError,xr as AbiDecodingZeroDataError,Cr as AbiEncodingArrayLengthMismatchError,Br as AbiEncodingBytesSizeMismatchError,Nr as AbiEncodingLengthMismatchError,Pr as AbiErrorInputsNotFoundError,Dr as AbiErrorNotFoundError,Ur as AbiErrorSignatureNotFoundError,wr as AbiEventNotFoundError,Lr as AbiEventSignatureEmptyTopicsError,Mr as AbiEventSignatureNotFoundError,Hr as AbiFunctionNotFoundError,kr as AbiFunctionOutputsNotFoundError,zr as AbiFunctionSignatureNotFoundError,qr as AccountStateConflictError,X as AtomicReadyWalletRejectedUpgradeError,Y as AtomicityNotSupportedError,_ as BaseError,Vr as BaseFeeScalarError,Or as BlockNotFoundError,y as BundleFailedError,$ as BundleTooLargeError,Gr as BytesSizeMismatchError,jr as CallExecutionError,aa as ChainDisconnectedError,Wr as ChainDoesNotSupportContract,Kr as ChainMismatchError,Zr as ChainNotFoundError,Jr as CircularReferenceError,Qr as ClientChainNotConfiguredError,Xr as ContractFunctionExecutionError,Yr as ContractFunctionRevertedError,_r as ContractFunctionZeroDataError,$r as CounterfactualDeploymentFailedError,ao as DecodeLogDataMismatch,ro as DecodeLogTopicsMismatch,ra as DuplicateIdError,oo as Eip1559FeesNotSupportedError,f as EnsAvatarInvalidNftUriError,v as EnsAvatarUnsupportedNamespaceError,A as EnsAvatarUriResolutionError,so as EstimateGasExecutionError,oa as ExecutionRevertedError,sa as FeeCapTooHighError,ea as FeeCapTooLowError,S as FilterTypeNotSupportedError,ta as HttpRequestError,ia as InsufficientFundsError,na as IntegerOutOfRangeError,ca as InternalRpcError,da as IntrinsicGasTooHighError,Ea as IntrinsicGasTooLowError,eo as InvalidAbiDecodingTypeError,to as InvalidAbiEncodingTypeError,io as InvalidAbiItemError,no as InvalidAbiParametersError,co as InvalidAbiTypeParameterError,Eo as InvalidAddressError,po as InvalidArrayError,pa as InvalidBytesBooleanError,uo as InvalidChainIdError,H as InvalidDecimalNumberError,lo as InvalidDefinitionTypeError,Xs as InvalidDomainError,mo as InvalidFunctionModifierError,ua as InvalidHexBooleanError,la as InvalidInputRpcError,To as InvalidLegacyVError,go as InvalidModifierError,bo as InvalidParameterError,ma as InvalidParamsRpcError,ho as InvalidParenthesisError,Ys as InvalidPrimaryTypeError,Ta as InvalidRequestRpcError,yo as InvalidSerializableTransactionError,fo as InvalidSignatureError,vo as InvalidStorageKeySizeError,Ao as InvalidStructSignatureError,_s as InvalidStructTypeError,ga as JsonRpcVersionUnsupportedError,ba as LimitExceededRpcError,So as MaxFeePerGasTooLowError,ha as MethodNotFoundRpcError,ya as MethodNotSupportedRpcError,fa as NonceMaxValueError,va as NonceTooHighError,Aa as NonceTooLowError,Sa as ParseRpcError,Ia as ProviderDisconnectedError,Fa as ProviderRpcError,Io as RawContractError,Ra as ResourceNotFoundRpcError,xa as ResourceUnavailableRpcError,Ca as ResponseBodyTooLargeError,Ba as RpcError,Na as RpcRequestError,Pa as SizeExceedsPaddingSizeError,Da as SizeOverflowError,Ua as SliceOffsetOutOfBoundsError,Fo as SolidityProtectedKeywordError,Ro as StateAssignmentConflictError,wa as SwitchChainError,La as TimeoutError,Ma as TipAboveFeeCapError,xo as TransactionExecutionError,Co as TransactionNotFoundError,Bo as TransactionReceiptNotFoundError,Ha as TransactionRejectedRpcError,ka as TransactionTypeNotSupportedError,za as UnauthorizedProviderError,qa as UnknownBundleIdError,Va as UnknownNodeError,Oa as UnknownRpcError,No as UnknownSignatureError,Po as UnknownTypeError,Ga as UnsupportedChainIdError,ja as UnsupportedNonOptionalCapabilityError,Do as UnsupportedPackedAbiType,Wa as UnsupportedProviderMethodError,G as UrlRequiredError,Ka as UserRejectedRequestError,I as WaitForCallsStatusTimeoutError,Uo as WaitForTransactionReceiptTimeoutError,wo as assertCurrentChain,Lo as assertRequest,Ie as assertTransactionEIP1559,Fe as assertTransactionEIP2930,Re as assertTransactionLegacy,Mo as blobsToCommitments,Ho as blobsToProofs,Za as boolToBytes,Ja as boolToHex,ko as bytesToBigInt,zo as bytesToBool,Qa as bytesToHex,qo as bytesToNumber,Vo as bytesToString,ue as ccipFetch,le as ccipRequest,Oo as checksumAddress,Go as commitmentToVersionedHash,jo as commitmentsToVersionedHashes,Wo as concat,Ko as concatBytes,Zo as concatHex,k as createClient,F as createNonceManager,r as createPublicClient,j as createTransport,z as custom,Jo as decodeAbiParameters,Qo as decodeErrorResult,Xo as decodeEventLog,ce as decodeFunctionData,Yo as decodeFunctionResult,_o as defineBlock,t as defineChain,$o as defineTransaction,as as defineTransactionReceipt,rs as defineTransactionRequest,os as deploylessCallViaBytecodeBytecode,ss as deploylessCallViaFactoryBytecode,es as encodeAbiParameters,ts as encodeDeployData,de as encodeErrorResult,R as encodeEventTopics,is as encodeFunctionData,Ee as encodeFunctionResult,x as encodePacked,Xa as erc20Abi,Ya as erc6492SignatureValidatorAbi,ns as erc6492SignatureValidatorByteCode,C as ethAddress,_a as etherUnits,he as extendSchema,W as fallback,cs as formatBlock,ds as formatEther,$a as formatGwei,Es as formatLog,ps as formatTransaction,us as formatTransactionReceipt,ls as formatTransactionRequest,ar as formatUnits,rr as fromHex,ms as getAbiItem,Ts as getAddress,gs as getChainContractAddress,bs as getContractError,hs as getEventSelector,ys as getEventSignature,fs as getFunctionSelector,vs as getFunctionSignature,As as getTransactionType,$s as getTypesForEIP712Domain,or as gweiUnits,ae as hashDomain,re as hashMessage,oe as hashStruct,se as hashTypedData,sr as hexToBigInt,er as hexToBool,tr as hexToBytes,ir as hexToNumber,B as hexToSignature,nr as hexToString,s as http,Ss as isAddress,Is as isAddressEqual,cr as isHex,Fs as keccak256,N as labelhash,Rs as maxUint16,xs as maxUint256,dr as multicall3Abi,P as namehash,Er as numberToBytes,pr as numberToHex,me as offchainLookup,Te as offchainLookupAbiItem,ge as offchainLookupSignature,ur as pad,lr as padBytes,mr as padHex,Cs as parseAbi,ye as parseAbiItem,fe as parseAbiParameters,Bs as parseEventLogs,D as parseSignature,q as parseUnits,Ns as prepareEncodeFunctionData,ee as presignMessagePrefix,U as publicActions,Ps as recoverAddress,Ds as recoverPublicKey,Us as rpcTransactionType,xe as serializeAccessList,w as serializeErc6492Signature,ve as serializeSignature,Ce as serializeTransaction,ws as sha256,K as shouldThrow,Ae as signatureToHex,Tr as size,Ls as slice,Ms as sliceBytes,Hs as sliceHex,gr as stringToBytes,br as stringToHex,hr as stringify,ks as toBlobSidecars,zs as toBlobs,yr as toBytes,qs as toEventHash,Vs as toEventSelector,Os as toEventSignature,Gs as toFunctionHash,js as toFunctionSelector,Ws as toFunctionSignature,fr as toHex,te as toPrefixedMessage,Ks as toRlp,Zs as transactionType,vr as trim,Ar as universalSignatureValidatorAbi,Js as universalSignatureValidatorByteCode,ie as validateTypedData,V as withCache,Z as withRetry,J as withTimeout,L as zeroAddress};
@@ -1,4 +1,4 @@
1
- import{i as m,b as f}from"./lit-element-B3y9oplH.js";import{n as h}from"./class-map-CxwNmq0D.js";import{c as l}from"./index-DjTNPtj2.js";import{d as c}from"./index-C7hpB9s1.js";const p=c`
1
+ import{i as m,b as f}from"./lit-element-B3y9oplH.js";import{n as h}from"./class-map-CxwNmq0D.js";import{c as l}from"./index-Ds0rafrR.js";import{d as c}from"./index-CEwRybny.js";const p=c`
2
2
  :host {
3
3
  display: block;
4
4
  background: linear-gradient(
@@ -1,4 +1,4 @@
1
- import{i as m,b as h}from"./lit-element-B3y9oplH.js";import{n as b,o as v,r as C}from"./class-map-CxwNmq0D.js";import{d as k,r as g}from"./index-C7hpB9s1.js";import{c as y}from"./index-DjTNPtj2.js";import{e as O,n as _}from"./ref-BsAZ42-h.js";import{e as L,i as R,p as j,O as l}from"./W3MFrameProviderSingleton-BQyeyr-U.js";const d=j({isLegalCheckboxChecked:!1}),f={state:d,subscribe(e){return R(d,()=>e(d))},subscribeKey(e,t){return L(d,e,t)},setIsLegalCheckboxChecked(e){d.isLegalCheckboxChecked=e}},z=k`
1
+ import{i as m,b as h}from"./lit-element-B3y9oplH.js";import{n as b,o as v,r as C}from"./class-map-CxwNmq0D.js";import{d as k,r as g}from"./index-CEwRybny.js";import{c as y}from"./index-Ds0rafrR.js";import{e as O,n as _}from"./ref-BsAZ42-h.js";import{e as L,i as R,p as j,O as l}from"./W3MFrameProviderSingleton-ZccF4Y9V.js";const d=j({isLegalCheckboxChecked:!1}),f={state:d,subscribe(e){return R(d,()=>e(d))},subscribeKey(e,t){return L(d,e,t)},setIsLegalCheckboxChecked(e){d.isLegalCheckboxChecked=e}},z=k`
2
2
  label {
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -1 +1 @@
1
- import{aY as n,aZ as t}from"./index-CKUuopSw.js";const e="https://wearable-preview.decentraland.zone",a="https://decentraland.zone/account",o="https://decentraland.zone/profile",_="https://decentraland.zone/marketplace",R="https://decentraland.zone/shop",c="https://decentraland.zone/builder",s="https://decentraland.zone/dao",d="https://decentraland.zone/governance",L="https://decentraland.zone/events",U="https://decentraland.zone/places",r="https://decentraland.org/create/",E="https://docs.decentraland.org/player/",l="https://decentraland.zone/download/creator-hub/",O="https://decentraland.zone/download/",A="https://decentraland.zone/download_success/",T="ea2ybdmmn1kv",p="master",N="18g1DzIyBxvu0steSwKyQr",S="https://cms.decentraland.org",C="https://decentraland.zone/marketplace/names/claim",h="https://decentraland.zone/marketplace/lands",D="https://decentraland.zone/marketplace/account",I="https://decentraland.zone/create/",g="https://studios.decentraland.zone/",$="https://decentraland.zone/builder/collections",P="https://decentraland.zone/builder/names",i="https://decentraland.zone/builder/worlds?tab=dcl",m="https://decentraland.zone/builder/land",B="https://decentraland.zone/events/me/",M="https://decentraland.zone/places/favorites/",V="https://docs.decentraland.org/player/",y="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",u="https://docs.decentraland.org/contributor/",F="https://decentraland.zone/governance/transparency/",b="https://decentraland.zone/governance/proposals/",K="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",v="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",z="https://decentraland.zone/marketplace/settings",f="https://dcl.gg/discord",w="https://reddit.com/r/decentraland",H="https://github.com/decentraland",W="https://x.com/decentraland",k="https://instagram.com/decentraland_foundation/",x="https://youtube.com/@decentraland_foundation",j="https://tiktok.com/@decentraland_fdn",Q="https://linkedin.com/company/decentralandorg",J="https://decentraland.zone/privacy",X="https://decentraland.zone/terms",q="https://decentraland.zone/content",Z="https://decentraland.zone/ethics",tt="https://decentraland.org/help",nt="mailto:hello@decentraland.org",et="https://docs.decentraland.org/faqs/decentraland-101",at="https://docs.decentraland.org",ot="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",_t="https://download-gateway.decentraland.zone",Rt="https://decentraland.zone/top-scenes",ct="https://testflight.apple.com/join/KF4r3jlU",st="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",dt={WEARABLE_PREVIEW_URL:e,ACCOUNT_URL:a,PROFILE_URL:o,MARKETPLACE_URL:_,SHOP_URL:R,BUILDER_URL:c,DAO_URL:s,GOVERNANCE_URL:d,EVENTS_URL:L,PLACES_URL:U,CREATE_URL:r,LEARN_URL:E,CREATOR_HUB_URL:l,DOWNLOAD_URL:O,DOWNLOAD_SUCCESS_URL:A,CONTENTFUL_SPACE_ID:T,CONTENTFUL_ENV:p,CONTENTFUL_NAVBAR_ENTRY_ID:N,CONTENTFUL_CONTENTFUL_CDN_URL:S,MARKETPLACE_NAMES_URL:C,MARKETPLACE_LANDS_URL:h,MARKETPLACE_MY_ASSETS_URL:D,LANDING_CREATORS_URL:I,STUDIOS_URL:g,BUILDER_WEARABLE_EMOTES_URL:$,BUILDER_NAMES_URL:P,BUILDER_WORLDS_URL:i,BUILDER_LAND_URL:m,EVENTS_MY_EVENTS:B,PLACES_MY_FAVORITE_URL:M,DOCS_ABOUT_URL:V,DOCS_CREATORS_URL:y,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:u,GOVERNANCE_TRANSPARENCY_URL:F,GOVERNANCE_PROPOSALS_URL:b,DAO_GRANTS_URL:K,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:v,MARKETPLACE_SETTINGS_URL:z,DISCORD_URL:f,REDDIT_URL:w,GITHUB_URL:H,X_URL:W,INSTAGRAM_URL:k,YOUTUBE_URL:x,TIKTOK_URL:j,LINKEDIN_URL:Q,PRIVACY_POLICY_URL:J,TERMS_OF_USE_URL:X,CONTENT_POLICY_URL:q,CODE_OF_ETHICS_URL:Z,SUPPORT_URL:tt,EMAIL_HELLO_URL:nt,FAQ_URL:et,DOCS_URL:at,BEEHIV_SUBSCRIPTION_URL:ot,AUTO_SIGNING_BASE_URL:_t,TOP_SCENES_URL:Rt,IOS_STORE_URL:ct,ANDROID_STORE_URL:st},Lt="https://wearable-preview.decentraland.org",Ut="https://decentraland.org/account",rt="https://decentraland.org/profile",Et="https://decentraland.org/marketplace",lt="https://decentraland.org/shop",Ot="https://decentraland.org/builder",At="https://decentraland.org/dao",Tt="https://decentraland.org/governance",pt="https://decentraland.org/events",Nt="https://decentraland.org/places",St="https://decentraland.org/create/",Ct="https://docs.decentraland.org/player/",ht="https://decentraland.org/download/creator-hub/",Dt="https://decentraland.org/download/",It="https://decentraland.org/download_success/",gt="ea2ybdmmn1kv",$t="master",Pt="18g1DzIyBxvu0steSwKyQr",it="https://cms.decentraland.org",mt="https://decentraland.org/marketplace/names/claim",Bt="https://decentraland.org/marketplace/lands",Mt="https://decentraland.org/marketplace/account",Vt="https://decentraland.org/create/",yt="https://studios.decentraland.org/",Gt="https://decentraland.org/builder/collections",ut="https://decentraland.org/builder/names",Ft="https://decentraland.org/builder/worlds?tab=dcl",bt="https://decentraland.org/builder/land",Kt="https://decentraland.org/events/me/",Yt="https://decentraland.org/places/favorites/",vt="https://docs.decentraland.org/player/",zt="https://docs.decentraland.org/creator/",ft="https://decentraland.org/blog/",wt="https://docs.decentraland.org/contributor/",Ht="https://decentraland.org/governance/transparency/",Wt="https://decentraland.org/governance/proposals/",kt="https://decentraland.org/dao/grants/",xt="https://decentraland.org/governance/projects/",jt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Qt="https://decentraland.org/marketplace/settings",Jt="https://dcl.gg/discord",Xt="https://reddit.com/r/decentraland",qt="https://github.com/decentraland",Zt="https://x.com/decentraland",tn="https://instagram.com/decentraland_foundation/",nn="https://youtube.com/@decentraland_foundation",en="https://tiktok.com/@decentraland_fdn",an="https://linkedin.com/company/decentralandorg",on="https://decentraland.org/privacy",_n="https://decentraland.org/terms",Rn="https://decentraland.org/content",cn="https://decentraland.org/ethics",sn="https://decentraland.org/help",dn="mailto:hello@decentraland.org",Ln="https://docs.decentraland.org/faqs/decentraland-101",Un="https://docs.decentraland.org",rn="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",En="https://download-gateway.decentraland.org",ln="https://decentraland.org/top-scenes",On="https://testflight.apple.com/join/KF4r3jlU",An="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Tn={WEARABLE_PREVIEW_URL:Lt,ACCOUNT_URL:Ut,PROFILE_URL:rt,MARKETPLACE_URL:Et,SHOP_URL:lt,BUILDER_URL:Ot,DAO_URL:At,GOVERNANCE_URL:Tt,EVENTS_URL:pt,PLACES_URL:Nt,CREATE_URL:St,LEARN_URL:Ct,CREATOR_HUB_URL:ht,DOWNLOAD_URL:Dt,DOWNLOAD_SUCCESS_URL:It,CONTENTFUL_SPACE_ID:gt,CONTENTFUL_ENV:$t,CONTENTFUL_NAVBAR_ENTRY_ID:Pt,CONTENTFUL_CONTENTFUL_CDN_URL:it,MARKETPLACE_NAMES_URL:mt,MARKETPLACE_LANDS_URL:Bt,MARKETPLACE_MY_ASSETS_URL:Mt,LANDING_CREATORS_URL:Vt,STUDIOS_URL:yt,BUILDER_WEARABLE_EMOTES_URL:Gt,BUILDER_NAMES_URL:ut,BUILDER_WORLDS_URL:Ft,BUILDER_LAND_URL:bt,EVENTS_MY_EVENTS:Kt,PLACES_MY_FAVORITE_URL:Yt,DOCS_ABOUT_URL:vt,DOCS_CREATORS_URL:zt,BLOG_URL:ft,DOCS_CONTRIBUTOR_URL:wt,GOVERNANCE_TRANSPARENCY_URL:Ht,GOVERNANCE_PROPOSALS_URL:Wt,DAO_GRANTS_URL:kt,GOVERNANCE_PROJECTS_URL:xt,DOCS_DAO_URL:jt,MARKETPLACE_SETTINGS_URL:Qt,DISCORD_URL:Jt,REDDIT_URL:Xt,GITHUB_URL:qt,X_URL:Zt,INSTAGRAM_URL:tn,YOUTUBE_URL:nn,TIKTOK_URL:en,LINKEDIN_URL:an,PRIVACY_POLICY_URL:on,TERMS_OF_USE_URL:_n,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:cn,SUPPORT_URL:sn,EMAIL_HELLO_URL:dn,FAQ_URL:Ln,DOCS_URL:Un,BEEHIV_SUBSCRIPTION_URL:rn,AUTO_SIGNING_BASE_URL:En,TOP_SCENES_URL:ln,IOS_STORE_URL:On,ANDROID_STORE_URL:An},pn="https://wearable-preview.decentraland.today",Nn="https://decentraland.today/account",Sn="https://decentraland.today/profile",Cn="https://decentraland.today/marketplace",hn="https://decentraland.today/shop",Dn="https://decentraland.today/builder",In="https://decentraland.today/dao",gn="https://decentraland.today/governance",$n="https://decentraland.zone/events",Pn="https://decentraland.zone/places",mn="https://decentraland.today/create/",Bn="https://docs.decentraland.org/player/",Mn="https://decentraland.today/download/creator-hub/",Vn="https://decentraland.today/download/",yn="https://decentraland.today/download_success/",Gn="ea2ybdmmn1kv",un="master",Fn="18g1DzIyBxvu0steSwKyQr",bn="https://cms.decentraland.org",Kn="https://decentraland.today/marketplace/names/claim",Yn="https://decentraland.today/marketplace/lands",vn="https://decentraland.today/marketplace/account",zn="https://decentraland.today/create/",fn="https://studios.decentraland.today/",wn="https://decentraland.today/builder/collections",Hn="https://decentraland.today/builder/names",Wn="https://decentraland.today/builder/worlds?tab=dcl",kn="https://decentraland.today/builder/land",xn="https://decentraland.today/events/me/",jn="https://decentraland.today/places/favorites/",Qn="https://docs.decentraland.org/player/",Jn="https://docs.decentraland.org/creator/",Xn="https://decentraland.today/blog/",qn="https://docs.decentraland.org/contributor/",Zn="https://decentraland.today/governance/transparency/",te="https://decentraland.today/governance/proposals/",ne="https://decentraland.today/dao/grants/",ee="https://decentraland.today/governance/projects/",ae="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",oe="https://decentraland.today/marketplace/settings",_e="https://dcl.gg/discord",Re="https://reddit.com/r/decentraland",ce="https://github.com/decentraland",se="https://x.com/decentraland",de="https://instagram.com/decentraland_foundation/",Le="https://youtube.com/@decentraland_foundation",Ue="https://tiktok.com/@decentraland_fdn",re="https://linkedin.com/company/decentralandorg",Ee="https://decentraland.org/privacy",le="https://decentraland.org/terms",Oe="https://decentraland.org/content",Ae="https://decentraland.org/ethics",Te="https://decentraland.org/help",pe="mailto:hello@decentraland.org",Ne="https://docs.decentraland.org/faqs/decentraland-101",Se="https://docs.decentraland.org",Ce="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",he="https://download-gateway.decentraland.zone",De="https://decentraland.zone/top-scenes",Ie="https://testflight.apple.com/join/KF4r3jlU",ge="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",$e={WEARABLE_PREVIEW_URL:pn,ACCOUNT_URL:Nn,PROFILE_URL:Sn,MARKETPLACE_URL:Cn,SHOP_URL:hn,BUILDER_URL:Dn,DAO_URL:In,GOVERNANCE_URL:gn,EVENTS_URL:$n,PLACES_URL:Pn,CREATE_URL:mn,LEARN_URL:Bn,CREATOR_HUB_URL:Mn,DOWNLOAD_URL:Vn,DOWNLOAD_SUCCESS_URL:yn,CONTENTFUL_SPACE_ID:Gn,CONTENTFUL_ENV:un,CONTENTFUL_NAVBAR_ENTRY_ID:Fn,CONTENTFUL_CONTENTFUL_CDN_URL:bn,MARKETPLACE_NAMES_URL:Kn,MARKETPLACE_LANDS_URL:Yn,MARKETPLACE_MY_ASSETS_URL:vn,LANDING_CREATORS_URL:zn,STUDIOS_URL:fn,BUILDER_WEARABLE_EMOTES_URL:wn,BUILDER_NAMES_URL:Hn,BUILDER_WORLDS_URL:Wn,BUILDER_LAND_URL:kn,EVENTS_MY_EVENTS:xn,PLACES_MY_FAVORITE_URL:jn,DOCS_ABOUT_URL:Qn,DOCS_CREATORS_URL:Jn,BLOG_URL:Xn,DOCS_CONTRIBUTOR_URL:qn,GOVERNANCE_TRANSPARENCY_URL:Zn,GOVERNANCE_PROPOSALS_URL:te,DAO_GRANTS_URL:ne,GOVERNANCE_PROJECTS_URL:ee,DOCS_DAO_URL:ae,MARKETPLACE_SETTINGS_URL:oe,DISCORD_URL:_e,REDDIT_URL:Re,GITHUB_URL:ce,X_URL:se,INSTAGRAM_URL:de,YOUTUBE_URL:Le,TIKTOK_URL:Ue,LINKEDIN_URL:re,PRIVACY_POLICY_URL:Ee,TERMS_OF_USE_URL:le,CONTENT_POLICY_URL:Oe,CODE_OF_ETHICS_URL:Ae,SUPPORT_URL:Te,EMAIL_HELLO_URL:pe,FAQ_URL:Ne,DOCS_URL:Se,BEEHIV_SUBSCRIPTION_URL:Ce,AUTO_SIGNING_BASE_URL:he,TOP_SCENES_URL:De,IOS_STORE_URL:Ie,ANDROID_STORE_URL:ge},ie=n({[t.DEVELOPMENT]:dt,[t.STAGING]:$e,[t.PRODUCTION]:Tn});export{ie as c};
1
+ import{bd as n,be as t}from"./index-H0_FOTS1.js";const e="https://wearable-preview.decentraland.zone",a="https://decentraland.zone/account",o="https://decentraland.zone/profile",_="https://decentraland.zone/marketplace",R="https://decentraland.zone/shop",c="https://decentraland.zone/builder",s="https://decentraland.zone/dao",d="https://decentraland.zone/governance",L="https://decentraland.zone/events",U="https://decentraland.zone/places",r="https://decentraland.org/create/",E="https://docs.decentraland.org/player/",l="https://decentraland.zone/download/creator-hub/",O="https://decentraland.zone/download/",A="https://decentraland.zone/download_success/",T="ea2ybdmmn1kv",p="master",N="18g1DzIyBxvu0steSwKyQr",S="https://cms.decentraland.org",C="https://decentraland.zone/marketplace/names/claim",h="https://decentraland.zone/marketplace/lands",D="https://decentraland.zone/marketplace/account",I="https://decentraland.zone/create/",g="https://studios.decentraland.zone/",$="https://decentraland.zone/builder/collections",P="https://decentraland.zone/builder/names",i="https://decentraland.zone/builder/worlds?tab=dcl",m="https://decentraland.zone/builder/land",B="https://decentraland.zone/events/me/",M="https://decentraland.zone/places/favorites/",V="https://docs.decentraland.org/player/",y="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",u="https://docs.decentraland.org/contributor/",b="https://decentraland.zone/governance/transparency/",F="https://decentraland.zone/governance/proposals/",K="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",v="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",z="https://decentraland.zone/marketplace/settings",f="https://dcl.gg/discord",w="https://reddit.com/r/decentraland",H="https://github.com/decentraland",W="https://x.com/decentraland",k="https://instagram.com/decentraland_foundation/",x="https://youtube.com/@decentraland_foundation",j="https://tiktok.com/@decentraland_fdn",Q="https://linkedin.com/company/decentralandorg",J="https://decentraland.zone/privacy",X="https://decentraland.zone/terms",q="https://decentraland.zone/content",Z="https://decentraland.zone/ethics",tt="https://decentraland.org/help",nt="mailto:hello@decentraland.org",et="https://docs.decentraland.org/faqs/decentraland-101",at="https://docs.decentraland.org",ot="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",_t="https://download-gateway.decentraland.zone",Rt="https://decentraland.zone/top-scenes",ct="https://testflight.apple.com/join/KF4r3jlU",st="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",dt={WEARABLE_PREVIEW_URL:e,ACCOUNT_URL:a,PROFILE_URL:o,MARKETPLACE_URL:_,SHOP_URL:R,BUILDER_URL:c,DAO_URL:s,GOVERNANCE_URL:d,EVENTS_URL:L,PLACES_URL:U,CREATE_URL:r,LEARN_URL:E,CREATOR_HUB_URL:l,DOWNLOAD_URL:O,DOWNLOAD_SUCCESS_URL:A,CONTENTFUL_SPACE_ID:T,CONTENTFUL_ENV:p,CONTENTFUL_NAVBAR_ENTRY_ID:N,CONTENTFUL_CONTENTFUL_CDN_URL:S,MARKETPLACE_NAMES_URL:C,MARKETPLACE_LANDS_URL:h,MARKETPLACE_MY_ASSETS_URL:D,LANDING_CREATORS_URL:I,STUDIOS_URL:g,BUILDER_WEARABLE_EMOTES_URL:$,BUILDER_NAMES_URL:P,BUILDER_WORLDS_URL:i,BUILDER_LAND_URL:m,EVENTS_MY_EVENTS:B,PLACES_MY_FAVORITE_URL:M,DOCS_ABOUT_URL:V,DOCS_CREATORS_URL:y,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:u,GOVERNANCE_TRANSPARENCY_URL:b,GOVERNANCE_PROPOSALS_URL:F,DAO_GRANTS_URL:K,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:v,MARKETPLACE_SETTINGS_URL:z,DISCORD_URL:f,REDDIT_URL:w,GITHUB_URL:H,X_URL:W,INSTAGRAM_URL:k,YOUTUBE_URL:x,TIKTOK_URL:j,LINKEDIN_URL:Q,PRIVACY_POLICY_URL:J,TERMS_OF_USE_URL:X,CONTENT_POLICY_URL:q,CODE_OF_ETHICS_URL:Z,SUPPORT_URL:tt,EMAIL_HELLO_URL:nt,FAQ_URL:et,DOCS_URL:at,BEEHIV_SUBSCRIPTION_URL:ot,AUTO_SIGNING_BASE_URL:_t,TOP_SCENES_URL:Rt,IOS_STORE_URL:ct,ANDROID_STORE_URL:st},Lt="https://wearable-preview.decentraland.org",Ut="https://decentraland.org/account",rt="https://decentraland.org/profile",Et="https://decentraland.org/marketplace",lt="https://decentraland.org/shop",Ot="https://decentraland.org/builder",At="https://decentraland.org/dao",Tt="https://decentraland.org/governance",pt="https://decentraland.org/events",Nt="https://decentraland.org/places",St="https://decentraland.org/create/",Ct="https://docs.decentraland.org/player/",ht="https://decentraland.org/download/creator-hub/",Dt="https://decentraland.org/download/",It="https://decentraland.org/download_success/",gt="ea2ybdmmn1kv",$t="master",Pt="18g1DzIyBxvu0steSwKyQr",it="https://cms.decentraland.org",mt="https://decentraland.org/marketplace/names/claim",Bt="https://decentraland.org/marketplace/lands",Mt="https://decentraland.org/marketplace/account",Vt="https://decentraland.org/create/",yt="https://studios.decentraland.org/",Gt="https://decentraland.org/builder/collections",ut="https://decentraland.org/builder/names",bt="https://decentraland.org/builder/worlds?tab=dcl",Ft="https://decentraland.org/builder/land",Kt="https://decentraland.org/events/me/",Yt="https://decentraland.org/places/favorites/",vt="https://docs.decentraland.org/player/",zt="https://docs.decentraland.org/creator/",ft="https://decentraland.org/blog/",wt="https://docs.decentraland.org/contributor/",Ht="https://decentraland.org/governance/transparency/",Wt="https://decentraland.org/governance/proposals/",kt="https://decentraland.org/dao/grants/",xt="https://decentraland.org/governance/projects/",jt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Qt="https://decentraland.org/marketplace/settings",Jt="https://dcl.gg/discord",Xt="https://reddit.com/r/decentraland",qt="https://github.com/decentraland",Zt="https://x.com/decentraland",tn="https://instagram.com/decentraland_foundation/",nn="https://youtube.com/@decentraland_foundation",en="https://tiktok.com/@decentraland_fdn",an="https://linkedin.com/company/decentralandorg",on="https://decentraland.org/privacy",_n="https://decentraland.org/terms",Rn="https://decentraland.org/content",cn="https://decentraland.org/ethics",sn="https://decentraland.org/help",dn="mailto:hello@decentraland.org",Ln="https://docs.decentraland.org/faqs/decentraland-101",Un="https://docs.decentraland.org",rn="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",En="https://download-gateway.decentraland.org",ln="https://decentraland.org/top-scenes",On="https://testflight.apple.com/join/KF4r3jlU",An="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Tn={WEARABLE_PREVIEW_URL:Lt,ACCOUNT_URL:Ut,PROFILE_URL:rt,MARKETPLACE_URL:Et,SHOP_URL:lt,BUILDER_URL:Ot,DAO_URL:At,GOVERNANCE_URL:Tt,EVENTS_URL:pt,PLACES_URL:Nt,CREATE_URL:St,LEARN_URL:Ct,CREATOR_HUB_URL:ht,DOWNLOAD_URL:Dt,DOWNLOAD_SUCCESS_URL:It,CONTENTFUL_SPACE_ID:gt,CONTENTFUL_ENV:$t,CONTENTFUL_NAVBAR_ENTRY_ID:Pt,CONTENTFUL_CONTENTFUL_CDN_URL:it,MARKETPLACE_NAMES_URL:mt,MARKETPLACE_LANDS_URL:Bt,MARKETPLACE_MY_ASSETS_URL:Mt,LANDING_CREATORS_URL:Vt,STUDIOS_URL:yt,BUILDER_WEARABLE_EMOTES_URL:Gt,BUILDER_NAMES_URL:ut,BUILDER_WORLDS_URL:bt,BUILDER_LAND_URL:Ft,EVENTS_MY_EVENTS:Kt,PLACES_MY_FAVORITE_URL:Yt,DOCS_ABOUT_URL:vt,DOCS_CREATORS_URL:zt,BLOG_URL:ft,DOCS_CONTRIBUTOR_URL:wt,GOVERNANCE_TRANSPARENCY_URL:Ht,GOVERNANCE_PROPOSALS_URL:Wt,DAO_GRANTS_URL:kt,GOVERNANCE_PROJECTS_URL:xt,DOCS_DAO_URL:jt,MARKETPLACE_SETTINGS_URL:Qt,DISCORD_URL:Jt,REDDIT_URL:Xt,GITHUB_URL:qt,X_URL:Zt,INSTAGRAM_URL:tn,YOUTUBE_URL:nn,TIKTOK_URL:en,LINKEDIN_URL:an,PRIVACY_POLICY_URL:on,TERMS_OF_USE_URL:_n,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:cn,SUPPORT_URL:sn,EMAIL_HELLO_URL:dn,FAQ_URL:Ln,DOCS_URL:Un,BEEHIV_SUBSCRIPTION_URL:rn,AUTO_SIGNING_BASE_URL:En,TOP_SCENES_URL:ln,IOS_STORE_URL:On,ANDROID_STORE_URL:An},pn="https://wearable-preview.decentraland.today",Nn="https://decentraland.today/account",Sn="https://decentraland.today/profile",Cn="https://decentraland.today/marketplace",hn="https://decentraland.today/shop",Dn="https://decentraland.today/builder",In="https://decentraland.today/dao",gn="https://decentraland.today/governance",$n="https://decentraland.zone/events",Pn="https://decentraland.zone/places",mn="https://decentraland.today/create/",Bn="https://docs.decentraland.org/player/",Mn="https://decentraland.today/download/creator-hub/",Vn="https://decentraland.today/download/",yn="https://decentraland.today/download_success/",Gn="ea2ybdmmn1kv",un="master",bn="18g1DzIyBxvu0steSwKyQr",Fn="https://cms.decentraland.org",Kn="https://decentraland.today/marketplace/names/claim",Yn="https://decentraland.today/marketplace/lands",vn="https://decentraland.today/marketplace/account",zn="https://decentraland.today/create/",fn="https://studios.decentraland.today/",wn="https://decentraland.today/builder/collections",Hn="https://decentraland.today/builder/names",Wn="https://decentraland.today/builder/worlds?tab=dcl",kn="https://decentraland.today/builder/land",xn="https://decentraland.today/events/me/",jn="https://decentraland.today/places/favorites/",Qn="https://docs.decentraland.org/player/",Jn="https://docs.decentraland.org/creator/",Xn="https://decentraland.today/blog/",qn="https://docs.decentraland.org/contributor/",Zn="https://decentraland.today/governance/transparency/",te="https://decentraland.today/governance/proposals/",ne="https://decentraland.today/dao/grants/",ee="https://decentraland.today/governance/projects/",ae="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",oe="https://decentraland.today/marketplace/settings",_e="https://dcl.gg/discord",Re="https://reddit.com/r/decentraland",ce="https://github.com/decentraland",se="https://x.com/decentraland",de="https://instagram.com/decentraland_foundation/",Le="https://youtube.com/@decentraland_foundation",Ue="https://tiktok.com/@decentraland_fdn",re="https://linkedin.com/company/decentralandorg",Ee="https://decentraland.org/privacy",le="https://decentraland.org/terms",Oe="https://decentraland.org/content",Ae="https://decentraland.org/ethics",Te="https://decentraland.org/help",pe="mailto:hello@decentraland.org",Ne="https://docs.decentraland.org/faqs/decentraland-101",Se="https://docs.decentraland.org",Ce="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",he="https://download-gateway.decentraland.zone",De="https://decentraland.zone/top-scenes",Ie="https://testflight.apple.com/join/KF4r3jlU",ge="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",$e={WEARABLE_PREVIEW_URL:pn,ACCOUNT_URL:Nn,PROFILE_URL:Sn,MARKETPLACE_URL:Cn,SHOP_URL:hn,BUILDER_URL:Dn,DAO_URL:In,GOVERNANCE_URL:gn,EVENTS_URL:$n,PLACES_URL:Pn,CREATE_URL:mn,LEARN_URL:Bn,CREATOR_HUB_URL:Mn,DOWNLOAD_URL:Vn,DOWNLOAD_SUCCESS_URL:yn,CONTENTFUL_SPACE_ID:Gn,CONTENTFUL_ENV:un,CONTENTFUL_NAVBAR_ENTRY_ID:bn,CONTENTFUL_CONTENTFUL_CDN_URL:Fn,MARKETPLACE_NAMES_URL:Kn,MARKETPLACE_LANDS_URL:Yn,MARKETPLACE_MY_ASSETS_URL:vn,LANDING_CREATORS_URL:zn,STUDIOS_URL:fn,BUILDER_WEARABLE_EMOTES_URL:wn,BUILDER_NAMES_URL:Hn,BUILDER_WORLDS_URL:Wn,BUILDER_LAND_URL:kn,EVENTS_MY_EVENTS:xn,PLACES_MY_FAVORITE_URL:jn,DOCS_ABOUT_URL:Qn,DOCS_CREATORS_URL:Jn,BLOG_URL:Xn,DOCS_CONTRIBUTOR_URL:qn,GOVERNANCE_TRANSPARENCY_URL:Zn,GOVERNANCE_PROPOSALS_URL:te,DAO_GRANTS_URL:ne,GOVERNANCE_PROJECTS_URL:ee,DOCS_DAO_URL:ae,MARKETPLACE_SETTINGS_URL:oe,DISCORD_URL:_e,REDDIT_URL:Re,GITHUB_URL:ce,X_URL:se,INSTAGRAM_URL:de,YOUTUBE_URL:Le,TIKTOK_URL:Ue,LINKEDIN_URL:re,PRIVACY_POLICY_URL:Ee,TERMS_OF_USE_URL:le,CONTENT_POLICY_URL:Oe,CODE_OF_ETHICS_URL:Ae,SUPPORT_URL:Te,EMAIL_HELLO_URL:pe,FAQ_URL:Ne,DOCS_URL:Se,BEEHIV_SUBSCRIPTION_URL:Ce,AUTO_SIGNING_BASE_URL:he,TOP_SCENES_URL:De,IOS_STORE_URL:Ie,ANDROID_STORE_URL:ge},ie=n({[t.DEVELOPMENT]:dt,[t.STAGING]:$e,[t.PRODUCTION]:Tn});export{ie as c};
@@ -1,4 +1,4 @@
1
- import{w as k,i as W,b as v}from"./lit-element-B3y9oplH.js";import{n as y}from"./class-map-CxwNmq0D.js";import{c as I}from"./index-DjTNPtj2.js";import"./index-C23D_vyT.js";import{Q as M}from"./browser-DxF-qILS.js";import{d as O,r as N}from"./index-C7hpB9s1.js";const Q=.1,_=2.5,$=7;function x(t,a,d){return t===a?!1:(t-a<0?a-t:t-a)<=d+Q}function A(t,a){const d=Array.prototype.slice.call(M.create(t,{errorCorrectionLevel:a}).modules.data,0),l=Math.sqrt(d.length);return d.reduce((h,f,p)=>(p%l===0?h.push([f]):h[h.length-1].push(f))&&h,[])}const q={generate({uri:t,size:a,logoSize:d,padding:l=8,dotColor:h="var(--apkt-colors-black)"}){const p=[],u=A(t,"Q"),n=(a-2*l)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:e})=>{const s=(u.length-$)*n*i+l,r=(u.length-$)*n*e+l,c=.45;for(let o=0;o<E.length;o+=1){const m=n*($-o*2);p.push(k`
1
+ import{w as k,i as W,b as v}from"./lit-element-B3y9oplH.js";import{n as y}from"./class-map-CxwNmq0D.js";import{c as I}from"./index-Ds0rafrR.js";import"./index-DLa23Ln5.js";import{Q as M}from"./browser-DxF-qILS.js";import{d as O,r as N}from"./index-CEwRybny.js";const Q=.1,_=2.5,$=7;function x(t,a,d){return t===a?!1:(t-a<0?a-t:t-a)<=d+Q}function A(t,a){const d=Array.prototype.slice.call(M.create(t,{errorCorrectionLevel:a}).modules.data,0),l=Math.sqrt(d.length);return d.reduce((h,f,p)=>(p%l===0?h.push([f]):h[h.length-1].push(f))&&h,[])}const q={generate({uri:t,size:a,logoSize:d,padding:l=8,dotColor:h="var(--apkt-colors-black)"}){const p=[],u=A(t,"Q"),n=(a-2*l)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:e})=>{const s=(u.length-$)*n*i+l,r=(u.length-$)*n*e+l,c=.45;for(let o=0;o<E.length;o+=1){const m=n*($-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}
@@ -1 +1 @@
1
- import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-eVli2oE3.js";import{c as I,e as q}from"./hashTypedData-BtF2J233.js";import"./NetworkUtil-DXqql1Wz.js";import"./sentry-Dx-KuLV3.js";import"./react-BYHuwl8r.js";import"./index-CKUuopSw.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";const v=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:v()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const S=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=k();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!S(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class _{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new _(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new d("Permissions rejected",p);return a.apply(this)},s};var j=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return I(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return q({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),S(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}j([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new _(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,v as getSDKVersion,S as isObjectEIP712TypedData};
1
+ import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-BsyxcfGv.js";import{c as I,e as q}from"./hashTypedData-bAoo1co0.js";import"./NetworkUtil-DXqql1Wz.js";import"./sentry-Dx-KuLV3.js";import"./react-BYHuwl8r.js";import"./index-H0_FOTS1.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";const v=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:v()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const S=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=k();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!S(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class _{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new _(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new d("Permissions rejected",p);return a.apply(this)},s};var j=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return I(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return q({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),S(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}j([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new _(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,v as getSDKVersion,S as isObjectEIP712TypedData};