@dcl/landing-site 0.5.1-24686484792.commit-e56f2bf → 0.5.1-24696786650.commit-39f76cb

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 (187) hide show
  1. package/assets/{AnimatedBackground-BbbuCmrW.js → AnimatedBackground-ChAxvzpE.js} +2 -2
  2. package/assets/{AnimatedBackground-BbbuCmrW.js.map → AnimatedBackground-ChAxvzpE.js.map} +1 -1
  3. package/assets/{AnimatedSection-CcAt5h6R.js → AnimatedSection-BTD2Dz_H.js} +1 -1
  4. package/assets/{AnimatedSection-CcAt5h6R.js.map → AnimatedSection-BTD2Dz_H.js.map} +1 -1
  5. package/assets/{ArrowBackIosNew-lqzUFZQL.js → ArrowBackIosNew-Dy0wgUVY.js} +1 -1
  6. package/assets/{ArrowBackIosNew-lqzUFZQL.js.map → ArrowBackIosNew-Dy0wgUVY.js.map} +1 -1
  7. package/assets/{AuthorPage-4inFQH2X.js → AuthorPage-Byuf4cVh.js} +1 -1
  8. package/assets/{AuthorPage-4inFQH2X.js.map → AuthorPage-Byuf4cVh.js.map} +1 -1
  9. package/assets/{Badges-DPcq_7dC.js → Badges-MRoIfo36.js} +1 -1
  10. package/assets/{Badges-DPcq_7dC.js.map → Badges-MRoIfo36.js.map} +1 -1
  11. package/assets/{BlogLayout-Bl9FID_L.js → BlogLayout-zeqeF6P_.js} +1 -1
  12. package/assets/{BlogLayout-Bl9FID_L.js.map → BlogLayout-zeqeF6P_.js.map} +1 -1
  13. package/assets/{BlogPage-4c8ZFzdw.js → BlogPage-D9JUOgNf.js} +1 -1
  14. package/assets/{BlogPage-4c8ZFzdw.js.map → BlogPage-D9JUOgNf.js.map} +1 -1
  15. package/assets/{CTAButton-D8_9d6Wu.js → CTAButton-dUbnAFrF.js} +1 -1
  16. package/assets/{CTAButton-D8_9d6Wu.js.map → CTAButton-dUbnAFrF.js.map} +1 -1
  17. package/assets/{CardContent-BQ0iSa2p.js → CardContent-C2Yp8bGg.js} +1 -1
  18. package/assets/{CardContent-BQ0iSa2p.js.map → CardContent-C2Yp8bGg.js.map} +1 -1
  19. package/assets/{CardMedia-B6PneSTk.js → CardMedia-B8io6l5d.js} +1 -1
  20. package/assets/{CardMedia-B6PneSTk.js.map → CardMedia-B8io6l5d.js.map} +1 -1
  21. package/assets/{Carousel-DJd7E-wq.js → Carousel-8PM_J7Qk.js} +1 -1
  22. package/assets/{Carousel-DJd7E-wq.js.map → Carousel-8PM_J7Qk.js.map} +1 -1
  23. package/assets/{CategoryPage-DNQI3nXz.js → CategoryPage-BgijBlf0.js} +1 -1
  24. package/assets/{CategoryPage-DNQI3nXz.js.map → CategoryPage-BgijBlf0.js.map} +1 -1
  25. package/assets/{CircleAndArrow-DIeWRbH9.js → CircleAndArrow-DeiiAyu0.js} +1 -1
  26. package/assets/{CircleAndArrow-DIeWRbH9.js.map → CircleAndArrow-DeiiAyu0.js.map} +1 -1
  27. package/assets/{CircularProgress-AsNM1BvH.js → CircularProgress-COCfVUkZ.js} +1 -1
  28. package/assets/{CircularProgress-AsNM1BvH.js.map → CircularProgress-COCfVUkZ.js.map} +1 -1
  29. package/assets/{ContentCopy-CDhBZqHF.js → ContentCopy-D1MZhJvE.js} +1 -1
  30. package/assets/{ContentCopy-CDhBZqHF.js.map → ContentCopy-D1MZhJvE.js.map} +1 -1
  31. package/assets/{CreateEventPage-NcQUT47j.js → CreateEventPage-hChmRJMr.js} +1 -1
  32. package/assets/CreateEventPage-hChmRJMr.js.map +1 -0
  33. package/assets/{CreatorHubDownload-y9x_B8ll.js → CreatorHubDownload-DYMGdevm.js} +1 -1
  34. package/assets/{CreatorHubDownload-y9x_B8ll.js.map → CreatorHubDownload-DYMGdevm.js.map} +1 -1
  35. package/assets/{CreatorHubDownloadSuccess-BP7MSbSp.js → CreatorHubDownloadSuccess-B_jSl9tg.js} +1 -1
  36. package/assets/{CreatorHubDownloadSuccess-BP7MSbSp.js.map → CreatorHubDownloadSuccess-B_jSl9tg.js.map} +1 -1
  37. package/assets/{DappsShell-HNAsXcn5.js → DappsShell-BicDTonr.js} +1 -1
  38. package/assets/{DappsShell-HNAsXcn5.js.map → DappsShell-BicDTonr.js.map} +1 -1
  39. package/assets/{DownloadSuccessLayout-COBp7A1N.js → DownloadSuccessLayout-CqT-1vfy.js} +1 -1
  40. package/assets/{DownloadSuccessLayout-COBp7A1N.js.map → DownloadSuccessLayout-CqT-1vfy.js.map} +1 -1
  41. package/assets/{Grow-eKASrvPe.js → Grow-BrqQ3k5X.js} +1 -1
  42. package/assets/{Grow-eKASrvPe.js.map → Grow-BrqQ3k5X.js.map} +1 -1
  43. package/assets/HomePage-BZg04XAY.js +3 -0
  44. package/assets/HomePage-BZg04XAY.js.map +1 -0
  45. package/assets/{InviteFaqs-BkOvxqyN.js → InviteFaqs-CsVkWLzg.js} +1 -1
  46. package/assets/{InviteFaqs-BkOvxqyN.js.map → InviteFaqs-CsVkWLzg.js.map} +1 -1
  47. package/assets/{InvitePage-D5lELZNP.js → InvitePage-BDekb47F.js} +2 -2
  48. package/assets/{InvitePage-D5lELZNP.js.map → InvitePage-BDekb47F.js.map} +1 -1
  49. package/assets/{JumpInIcon-bPOWl5ae.js → JumpInIcon-TFxEXFSr.js} +1 -1
  50. package/assets/{JumpInIcon-bPOWl5ae.js.map → JumpInIcon-TFxEXFSr.js.map} +1 -1
  51. package/assets/{LegalPageLayout-DeH35WpT.js → LegalPageLayout-DpJoq1IM.js} +1 -1
  52. package/assets/{LegalPageLayout-DeH35WpT.js.map → LegalPageLayout-DpJoq1IM.js.map} +1 -1
  53. package/assets/{Link-C3GGl2C6.js → Link-Knt-Kosk.js} +1 -1
  54. package/assets/{Link-C3GGl2C6.js.map → Link-Knt-Kosk.js.map} +1 -1
  55. package/assets/{MenuItem-B0piwgTa.js → MenuItem-ibmHV6zy.js} +1 -1
  56. package/assets/{MenuItem-B0piwgTa.js.map → MenuItem-ibmHV6zy.js.map} +1 -1
  57. package/assets/{Paper-BfSYUoim.js → Paper-DQs--rBO.js} +1 -1
  58. package/assets/{Paper-BfSYUoim.js.map → Paper-DQs--rBO.js.map} +1 -1
  59. package/assets/{PostCard-Zsk0_WYz.js → PostCard-BbfzA3Qx.js} +1 -1
  60. package/assets/{PostCard-Zsk0_WYz.js.map → PostCard-BbfzA3Qx.js.map} +1 -1
  61. package/assets/{PostPage-FBb63V37.js → PostPage-CosfC1Na.js} +1 -1
  62. package/assets/{PostPage-FBb63V37.js.map → PostPage-CosfC1Na.js.map} +1 -1
  63. package/assets/{PostPage.styled-B7Xofl3c.js → PostPage.styled-Dd-3Ce5F.js} +3 -3
  64. package/assets/{PostPage.styled-B7Xofl3c.js.map → PostPage.styled-Dd-3Ce5F.js.map} +1 -1
  65. package/assets/{PreviewPage-Dla6vQZW.js → PreviewPage-Dcx8YtgK.js} +1 -1
  66. package/assets/{PreviewPage-Dla6vQZW.js.map → PreviewPage-Dcx8YtgK.js.map} +1 -1
  67. package/assets/{SEO-CGGKu_zm.js → SEO-CwFoEftO.js} +1 -1
  68. package/assets/{SEO-CGGKu_zm.js.map → SEO-CwFoEftO.js.map} +1 -1
  69. package/assets/{SearchPage-ByMcz1c8.js → SearchPage-BUTdqyzo.js} +1 -1
  70. package/assets/{SearchPage-ByMcz1c8.js.map → SearchPage-BUTdqyzo.js.map} +1 -1
  71. package/assets/{SignInRedirect-BNwfxyGB.js → SignInRedirect-C-ss1k0l.js} +1 -1
  72. package/assets/{SignInRedirect-BNwfxyGB.js.map → SignInRedirect-C-ss1k0l.js.map} +1 -1
  73. package/assets/{SignInRedirect-Bxl1dwag.js → SignInRedirect-CsLtxSTb.js} +1 -1
  74. package/assets/{SignInRedirect-Bxl1dwag.js.map → SignInRedirect-CsLtxSTb.js.map} +1 -1
  75. package/assets/{Skeleton-BP1Os8gY.js → Skeleton-yDn4B-G5.js} +1 -1
  76. package/assets/{Skeleton-BP1Os8gY.js.map → Skeleton-yDn4B-G5.js.map} +1 -1
  77. package/assets/{TwitterEmbed-BbSYYog-.js → TwitterEmbed-CD3AmHIQ.js} +1 -1
  78. package/assets/{TwitterEmbed-BbSYYog-.js.map → TwitterEmbed-CD3AmHIQ.js.map} +1 -1
  79. package/assets/{Video--A0fBGqz.js → Video-phAvQnqc.js} +1 -1
  80. package/assets/{Video--A0fBGqz.js.map → Video-phAvQnqc.js.map} +1 -1
  81. package/assets/{WearablePreview-KunRQByO.js → WearablePreview-DJQBWbVv.js} +1 -1
  82. package/assets/{WearablePreview-KunRQByO.js.map → WearablePreview-DJQBWbVv.js.map} +1 -1
  83. package/assets/{auto-track-DJw7KsLA.js → auto-track-b36iF1aP.js} +1 -1
  84. package/assets/{auto-track-DJw7KsLA.js.map → auto-track-b36iF1aP.js.map} +1 -1
  85. package/assets/{ccip-EHA4QwVS.js → ccip-C--_xcyn.js} +1 -1
  86. package/assets/{ccip-EHA4QwVS.js.map → ccip-C--_xcyn.js.map} +1 -1
  87. package/assets/{createSvgIcon-CnAtXIjx.js → createSvgIcon-Ck-nYodG.js} +1 -1
  88. package/assets/{createSvgIcon-CnAtXIjx.js.map → createSvgIcon-Ck-nYodG.js.map} +1 -1
  89. package/assets/{download-Csh0UAX4.js → download-DdWNey2d.js} +2 -2
  90. package/assets/{download-Csh0UAX4.js.map → download-DdWNey2d.js.map} +1 -1
  91. package/assets/{downloadWithIdentity-imzC-1Iy.js → downloadWithIdentity-BySK_Bjg.js} +1 -1
  92. package/assets/{downloadWithIdentity-imzC-1Iy.js.map → downloadWithIdentity-BySK_Bjg.js.map} +1 -1
  93. package/assets/{events.client-BypQp_hx.js → events.client-CWWGjxi9.js} +1 -1
  94. package/assets/events.client-CWWGjxi9.js.map +1 -0
  95. package/assets/host_avatar-Gho9W3pF.webp +0 -0
  96. package/assets/host_scene-BStngEfA.webp +0 -0
  97. package/assets/{index-DwKCx_Fj.js → index-4Rn0RKA3.js} +17 -17
  98. package/assets/{index-DwKCx_Fj.js.map → index-4Rn0RKA3.js.map} +1 -1
  99. package/assets/{index-Hs2OtJ7_.js → index-AQyj9O_P.js} +1 -1
  100. package/assets/{index-Hs2OtJ7_.js.map → index-AQyj9O_P.js.map} +1 -1
  101. package/assets/{index-BtL1Whr6.js → index-BD4zd6ws.js} +1 -1
  102. package/assets/{index-BtL1Whr6.js.map → index-BD4zd6ws.js.map} +1 -1
  103. package/assets/{index-CqU_IKja.js → index-BJ7TnoEw.js} +1 -1
  104. package/assets/{index-CqU_IKja.js.map → index-BJ7TnoEw.js.map} +1 -1
  105. package/assets/{index-Bfn0rTR9.js → index-Bdgec4Ls.js} +1 -1
  106. package/assets/{index-Bfn0rTR9.js.map → index-Bdgec4Ls.js.map} +1 -1
  107. package/assets/{index-DV8UooZK.js → index-BjIVdBT0.js} +1 -1
  108. package/assets/{index-DV8UooZK.js.map → index-BjIVdBT0.js.map} +1 -1
  109. package/assets/{index-fmnLygLZ.js → index-BnaCJ0sp.js} +1 -1
  110. package/assets/{index-fmnLygLZ.js.map → index-BnaCJ0sp.js.map} +1 -1
  111. package/assets/{index-BO6ciUn8.js → index-C5c9wKGi.js} +1 -1
  112. package/assets/{index-BO6ciUn8.js.map → index-C5c9wKGi.js.map} +1 -1
  113. package/assets/{index-Bq7PojkE.js → index-CLRzSdDs.js} +1 -1
  114. package/assets/{index-Bq7PojkE.js.map → index-CLRzSdDs.js.map} +1 -1
  115. package/assets/{index-B-PLjKpI.js → index-CM1y4MwR.js} +1 -1
  116. package/assets/{index-B-PLjKpI.js.map → index-CM1y4MwR.js.map} +1 -1
  117. package/assets/{index-FcfsIuei.js → index-CSbcajOU.js} +1 -1
  118. package/assets/{index-FcfsIuei.js.map → index-CSbcajOU.js.map} +1 -1
  119. package/assets/{index-CC8b5SLA.js → index-CWHKL6N8.js} +1 -1
  120. package/assets/{index-CC8b5SLA.js.map → index-CWHKL6N8.js.map} +1 -1
  121. package/assets/index-CaN3aesa.js +1 -0
  122. package/assets/{index-DJdpP3iF.js.map → index-CaN3aesa.js.map} +1 -1
  123. package/assets/{index-CJ9b6HdV.js → index-CeX_Loqr.js} +1 -1
  124. package/assets/{index-CJ9b6HdV.js.map → index-CeX_Loqr.js.map} +1 -1
  125. package/assets/{index-BKY10VNY.js → index-Cjz0nm3N.js} +1 -1
  126. package/assets/{index-BKY10VNY.js.map → index-Cjz0nm3N.js.map} +1 -1
  127. package/assets/{index-pguZ7Pr7.js → index-CkaRi2_3.js} +2 -2
  128. package/assets/{index-pguZ7Pr7.js.map → index-CkaRi2_3.js.map} +1 -1
  129. package/assets/{index-XwRFjo-F.js → index-D6yjbNdZ.js} +3 -3
  130. package/assets/{index-XwRFjo-F.js.map → index-D6yjbNdZ.js.map} +1 -1
  131. package/assets/{index-0VgKmd34.js → index-DGs_qCuq.js} +1 -1
  132. package/assets/{index-0VgKmd34.js.map → index-DGs_qCuq.js.map} +1 -1
  133. package/assets/{index-DIU7xr_7.js → index-DHJSVI3a.js} +1 -1
  134. package/assets/{index-DIU7xr_7.js.map → index-DHJSVI3a.js.map} +1 -1
  135. package/assets/{index-KkMZZ6nz.js → index-DMpXTyjU.js} +1 -1
  136. package/assets/{index-KkMZZ6nz.js.map → index-DMpXTyjU.js.map} +1 -1
  137. package/assets/{index-iTL2dY0l.js → index-DXcPgEVs.js} +1 -1
  138. package/assets/{index-iTL2dY0l.js.map → index-DXcPgEVs.js.map} +1 -1
  139. package/assets/{index-BaEE4ZXP.js → index-D_URcwLX.js} +1 -1
  140. package/assets/{index-BaEE4ZXP.js.map → index-D_URcwLX.js.map} +1 -1
  141. package/assets/index-DckfeXPH.js +1 -0
  142. package/assets/index-DckfeXPH.js.map +1 -0
  143. package/assets/{index-CsY_wahP.js → index-Dg-O6Pur.js} +1 -1
  144. package/assets/{index-CsY_wahP.js.map → index-Dg-O6Pur.js.map} +1 -1
  145. package/assets/{index-CXMTgMUj.js → index-DhwtUY1f.js} +1 -1
  146. package/assets/{index-CXMTgMUj.js.map → index-DhwtUY1f.js.map} +1 -1
  147. package/assets/{index-Dx9lzInm.js → index-DrayNXRb.js} +1 -1
  148. package/assets/{index-Dx9lzInm.js.map → index-DrayNXRb.js.map} +1 -1
  149. package/assets/{index-CfKiEnnb.js → index-UYb7Po3h.js} +1 -1
  150. package/assets/{index-CfKiEnnb.js.map → index-UYb7Po3h.js.map} +1 -1
  151. package/assets/{index-Bd63106P.js → index-XKJmyO_p.js} +1 -1
  152. package/assets/{index-Bd63106P.js.map → index-XKJmyO_p.js.map} +1 -1
  153. package/assets/{index-BVu5N7d0.js → index-ZgulVRiq.js} +1 -1
  154. package/assets/{index-BVu5N7d0.js.map → index-ZgulVRiq.js.map} +1 -1
  155. package/assets/{index-DUmIu2EK.js → index-_DB-noma.js} +29 -29
  156. package/assets/{index-DUmIu2EK.js.map → index-_DB-noma.js.map} +1 -1
  157. package/assets/{index-DW87VeBc.js → index-mEd8fX0_.js} +1 -1
  158. package/assets/{index-DW87VeBc.js.map → index-mEd8fX0_.js.map} +1 -1
  159. package/assets/{index-BzmWmDt2.js → index-niWFQNCe.js} +1 -1
  160. package/assets/{index-BzmWmDt2.js.map → index-niWFQNCe.js.map} +1 -1
  161. package/assets/{profile.client-BtZZbgxj.js → profile.client-CmNJLNox.js} +1 -1
  162. package/assets/{profile.client-BtZZbgxj.js.map → profile.client-CmNJLNox.js.map} +1 -1
  163. package/assets/{shared.styled-D8qloAmp.js → shared.styled-8JiXG0YJ.js} +1 -1
  164. package/assets/{shared.styled-D8qloAmp.js.map → shared.styled-8JiXG0YJ.js.map} +1 -1
  165. package/assets/{store-OyTPwmKI.js → store-ChFhVM4L.js} +1 -1
  166. package/assets/{store-OyTPwmKI.js.map → store-ChFhVM4L.js.map} +1 -1
  167. package/assets/{url-BHzlJYXC.js → url-DaZlsYoU.js} +1 -1
  168. package/assets/{url-BHzlJYXC.js.map → url-DaZlsYoU.js.map} +1 -1
  169. package/assets/{useAuthIdentity-D2zQ3q5X.js → useAuthIdentity-CvL2aq09.js} +1 -1
  170. package/assets/{useAuthIdentity-D2zQ3q5X.js.map → useAuthIdentity-CvL2aq09.js.map} +1 -1
  171. package/assets/{useCreatorHubDownload-Dp_zMaiv.js → useCreatorHubDownload-EAoN-CCw.js} +1 -1
  172. package/assets/{useCreatorHubDownload-Dp_zMaiv.js.map → useCreatorHubDownload-EAoN-CCw.js.map} +1 -1
  173. package/assets/{useInfiniteBlogPosts-B9Mv_Fup.js → useInfiniteBlogPosts-Bp1S1sH2.js} +1 -1
  174. package/assets/{useInfiniteBlogPosts-B9Mv_Fup.js.map → useInfiniteBlogPosts-Bp1S1sH2.js.map} +1 -1
  175. package/assets/{useSlot-DM_UQPu8.js → useSlot-Cy5UGC7c.js} +1 -1
  176. package/assets/{useSlot-DM_UQPu8.js.map → useSlot-Cy5UGC7c.js.map} +1 -1
  177. package/assets/{utils-CJGePSnj.js → utils-Ci8rWaIt.js} +1 -1
  178. package/assets/{utils-CJGePSnj.js.map → utils-Ci8rWaIt.js.map} +1 -1
  179. package/index.html +15 -15
  180. package/package.json +3 -3
  181. package/assets/CreateEventPage-NcQUT47j.js.map +0 -1
  182. package/assets/HomePage-CZwkfB5G.js +0 -3
  183. package/assets/HomePage-CZwkfB5G.js.map +0 -1
  184. package/assets/events.client-BypQp_hx.js.map +0 -1
  185. package/assets/index-C1apFG92.js +0 -1
  186. package/assets/index-C1apFG92.js.map +0 -1
  187. package/assets/index-DJdpP3iF.js +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index-KkMZZ6nz.js","sources":["../../node_modules/@segment/analytics-next/dist/pkg/core/query-string/pickPrefix.js","../../node_modules/@segment/analytics-next/dist/pkg/core/query-string/index.js"],"sourcesContent":["/**\n * Returns an object containing only the properties prefixed by the input\n * string.\n * Ex: prefix('ajs_traits_', { ajs_traits_address: '123 St' })\n * will return { address: '123 St' }\n **/\nexport function pickPrefix(prefix, object) {\n return Object.keys(object).reduce(function (acc, key) {\n if (key.startsWith(prefix)) {\n var field = key.substr(prefix.length);\n acc[field] = object[key];\n }\n return acc;\n }, {});\n}\n//# sourceMappingURL=pickPrefix.js.map","import { pickPrefix } from './pickPrefix';\nimport { gracefulDecodeURIComponent } from './gracefulDecodeURIComponent';\nimport { isPlainObject } from '@segment/analytics-core';\nexport function queryString(analytics, query) {\n var a = document.createElement('a');\n a.href = query;\n var parsed = a.search.slice(1);\n var params = parsed.split('&').reduce(function (acc, str) {\n var _a = str.split('='), k = _a[0], v = _a[1];\n acc[k] = gracefulDecodeURIComponent(v);\n return acc;\n }, {});\n var calls = [];\n var ajs_uid = params.ajs_uid, ajs_event = params.ajs_event, ajs_aid = params.ajs_aid;\n var _a = isPlainObject(analytics.options.useQueryString)\n ? analytics.options.useQueryString\n : {}, _b = _a.aid, aidPattern = _b === void 0 ? /.+/ : _b, _c = _a.uid, uidPattern = _c === void 0 ? /.+/ : _c;\n if (ajs_aid) {\n var anonId = Array.isArray(params.ajs_aid)\n ? params.ajs_aid[0]\n : params.ajs_aid;\n if (aidPattern.test(anonId)) {\n analytics.setAnonymousId(anonId);\n }\n }\n if (ajs_uid) {\n var uid = Array.isArray(params.ajs_uid)\n ? params.ajs_uid[0]\n : params.ajs_uid;\n if (uidPattern.test(uid)) {\n var traits = pickPrefix('ajs_trait_', params);\n calls.push(analytics.identify(uid, traits));\n }\n }\n if (ajs_event) {\n var event_1 = Array.isArray(params.ajs_event)\n ? params.ajs_event[0]\n : params.ajs_event;\n var props = pickPrefix('ajs_prop_', params);\n calls.push(analytics.track(event_1, props));\n }\n return Promise.all(calls);\n}\n//# sourceMappingURL=index.js.map"],"names":["pickPrefix","prefix","object","acc","key","field","queryString","analytics","query","a","parsed","params","str","_a","k","v","gracefulDecodeURIComponent","calls","ajs_uid","ajs_event","ajs_aid","isPlainObject","_b","aidPattern","_c","uidPattern","anonId","uid","traits","event_1","props"],"mappings":"8RAMO,SAASA,EAAWC,EAAQC,EAAQ,CACvC,OAAO,OAAO,KAAKA,CAAM,EAAE,OAAO,SAAUC,EAAKC,EAAK,CAClD,GAAIA,EAAI,WAAWH,CAAM,EAAG,CACxB,IAAII,EAAQD,EAAI,OAAOH,EAAO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,EAAO,UACTmB,EAAQ9B,EAAW,YAAaW,CAAM,EAC1CM,EAAM,KAAKV,EAAU,MAAMsB,EAASC,CAAK,CAAC,CAC9C,CACA,OAAO,QAAQ,IAAIb,CAAK,CAC5B","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"index-DMpXTyjU.js","sources":["../../node_modules/@segment/analytics-next/dist/pkg/core/query-string/pickPrefix.js","../../node_modules/@segment/analytics-next/dist/pkg/core/query-string/index.js"],"sourcesContent":["/**\n * Returns an object containing only the properties prefixed by the input\n * string.\n * Ex: prefix('ajs_traits_', { ajs_traits_address: '123 St' })\n * will return { address: '123 St' }\n **/\nexport function pickPrefix(prefix, object) {\n return Object.keys(object).reduce(function (acc, key) {\n if (key.startsWith(prefix)) {\n var field = key.substr(prefix.length);\n acc[field] = object[key];\n }\n return acc;\n }, {});\n}\n//# sourceMappingURL=pickPrefix.js.map","import { pickPrefix } from './pickPrefix';\nimport { gracefulDecodeURIComponent } from './gracefulDecodeURIComponent';\nimport { isPlainObject } from '@segment/analytics-core';\nexport function queryString(analytics, query) {\n var a = document.createElement('a');\n a.href = query;\n var parsed = a.search.slice(1);\n var params = parsed.split('&').reduce(function (acc, str) {\n var _a = str.split('='), k = _a[0], v = _a[1];\n acc[k] = gracefulDecodeURIComponent(v);\n return acc;\n }, {});\n var calls = [];\n var ajs_uid = params.ajs_uid, ajs_event = params.ajs_event, ajs_aid = params.ajs_aid;\n var _a = isPlainObject(analytics.options.useQueryString)\n ? analytics.options.useQueryString\n : {}, _b = _a.aid, aidPattern = _b === void 0 ? /.+/ : _b, _c = _a.uid, uidPattern = _c === void 0 ? /.+/ : _c;\n if (ajs_aid) {\n var anonId = Array.isArray(params.ajs_aid)\n ? params.ajs_aid[0]\n : params.ajs_aid;\n if (aidPattern.test(anonId)) {\n analytics.setAnonymousId(anonId);\n }\n }\n if (ajs_uid) {\n var uid = Array.isArray(params.ajs_uid)\n ? params.ajs_uid[0]\n : params.ajs_uid;\n if (uidPattern.test(uid)) {\n var traits = pickPrefix('ajs_trait_', params);\n calls.push(analytics.identify(uid, traits));\n }\n }\n if (ajs_event) {\n var event_1 = Array.isArray(params.ajs_event)\n ? params.ajs_event[0]\n : params.ajs_event;\n var props = pickPrefix('ajs_prop_', params);\n calls.push(analytics.track(event_1, props));\n }\n return Promise.all(calls);\n}\n//# sourceMappingURL=index.js.map"],"names":["pickPrefix","prefix","object","acc","key","field","queryString","analytics","query","a","parsed","params","str","_a","k","v","gracefulDecodeURIComponent","calls","ajs_uid","ajs_event","ajs_aid","isPlainObject","_b","aidPattern","_c","uidPattern","anonId","uid","traits","event_1","props"],"mappings":"8RAMO,SAASA,EAAWC,EAAQC,EAAQ,CACvC,OAAO,OAAO,KAAKA,CAAM,EAAE,OAAO,SAAUC,EAAKC,EAAK,CAClD,GAAIA,EAAI,WAAWH,CAAM,EAAG,CACxB,IAAII,EAAQD,EAAI,OAAOH,EAAO,MAAM,EACpCE,EAAIE,CAAK,EAAIH,EAAOE,CAAG,CAC3B,CACA,OAAOD,CACX,EAAG,CAAA,CAAE,CACT,CCXO,SAASG,EAAYC,EAAWC,EAAO,CAC1C,IAAIC,EAAI,SAAS,cAAc,GAAG,EAClCA,EAAE,KAAOD,EACT,IAAIE,EAASD,EAAE,OAAO,MAAM,CAAC,EACzBE,EAASD,EAAO,MAAM,GAAG,EAAE,OAAO,SAAUP,EAAKS,EAAK,CACtD,IAAIC,EAAKD,EAAI,MAAM,GAAG,EAAGE,EAAID,EAAG,CAAC,EAAGE,EAAIF,EAAG,CAAC,EAC5C,OAAAV,EAAIW,CAAC,EAAIE,EAA2BD,CAAC,EAC9BZ,CACX,EAAG,CAAA,CAAE,EACDc,EAAQ,CAAA,EACRC,EAAUP,EAAO,QAASQ,EAAYR,EAAO,UAAWS,EAAUT,EAAO,QACzEE,EAAKQ,EAAcd,EAAU,QAAQ,cAAc,EACjDA,EAAU,QAAQ,eAClB,CAAA,EAAIe,EAAKT,EAAG,IAAKU,EAAaD,IAAO,OAAS,KAAOA,EAAIE,EAAKX,EAAG,IAAKY,EAAaD,IAAO,OAAS,KAAOA,EAChH,GAAIJ,EAAS,CACT,IAAIM,EAAS,MAAM,QAAQf,EAAO,OAAO,EACnCA,EAAO,QAAQ,CAAC,EAChBA,EAAO,QACTY,EAAW,KAAKG,CAAM,GACtBnB,EAAU,eAAemB,CAAM,CAEvC,CACA,GAAIR,EAAS,CACT,IAAIS,EAAM,MAAM,QAAQhB,EAAO,OAAO,EAChCA,EAAO,QAAQ,CAAC,EAChBA,EAAO,QACb,GAAIc,EAAW,KAAKE,CAAG,EAAG,CACtB,IAAIC,EAAS5B,EAAW,aAAcW,CAAM,EAC5CM,EAAM,KAAKV,EAAU,SAASoB,EAAKC,CAAM,CAAC,CAC9C,CACJ,CACA,GAAIT,EAAW,CACX,IAAIU,EAAU,MAAM,QAAQlB,EAAO,SAAS,EACtCA,EAAO,UAAU,CAAC,EAClBA,EAAO,UACTmB,EAAQ9B,EAAW,YAAaW,CAAM,EAC1CM,EAAM,KAAKV,EAAU,MAAMsB,EAASC,CAAK,CAAC,CAC9C,CACA,OAAO,QAAQ,IAAIb,CAAK,CAC5B","x_google_ignoreList":[0,1]}
@@ -1 +1 @@
1
- import{j as e}from"./index-DUmIu2EK.js";import{r as t}from"./vendor-router-D_36sTKu.js";import{L as s,P as r,S as i,a,B as n}from"./LegalPageLayout-DeH35WpT.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const o=[{id:"general-provisions",label:"1. General Provisions"},{id:"how-it-works",label:"2. How It Works"},{id:"rewards-structure",label:"3. Rewards Structure"},{id:"reward-distribution",label:"4. Reward Distribution and Delivery"},{id:"program-abuse",label:"5. Program Abuse and Disqualification"},{id:"email-notifications",label:"6. Email Notifications"},{id:"changes-and-termination",label:"7. Changes and Termination"},{id:"miscellaneous",label:"8. Miscellaneous"}],l=t.memo(()=>e.jsxs(s,{title:"Referral",activeSlug:"/referral-terms",tableOfContents:o,children:[e.jsx(r,{children:"Referral Program – Terms and Conditions"}),e.jsxs(i,{id:"general-provisions",children:[e.jsx(a,{children:"1. General Provisions"}),e.jsx(r,{children:'1.1. This Referral Program ("Program") is open to all registered users of Decentraland platform who are in good standing and comply with our general Terms of Service.'}),e.jsx(r,{children:"1.2. Participation in the Program constitutes acceptance of these Terms and Conditions, as well as the Decentraland Terms of Use, Privacy Policy, and Content Policy."}),e.jsx(r,{children:"1.3. The Decentraland Foundation reserves the right to modify, suspend, or terminate the Program at its discretion."})]}),e.jsxs(i,{id:"how-it-works",children:[e.jsx(a,{children:"2. How It Works"}),e.jsx(r,{children:'2.1. To refer a new user, share your unique referral link. A referred user ("Referee") will be considered valid if the following conditions are met:'}),e.jsxs(n,{children:[e.jsx("li",{children:"The Referee successfully creates an account on our platform using a referral link."}),e.jsx("li",{children:"The Referee downloads and installs Decentraland's desktop client."}),e.jsx("li",{children:"The Referee jumps into Genesis City via the desktop client three (3) different days."})]}),e.jsx(r,{children:"2.2. Only referrals meeting those criteria will count towards your reward tally."}),e.jsx(r,{children:'2.3. Every successful referral should count and be displayed in a counter under the "Referral Rewards" section.'})]}),e.jsxs(i,{id:"rewards-structure",children:[e.jsx(a,{children:"3. Rewards Structure"}),e.jsx(r,{children:'Rewards are granted based on the number of valid referrals you accumulate in the "Referral Rewards" section. Each reward tier is cumulative and unlocks sequentially:'}),e.jsxs(n,{children:[e.jsx("li",{children:"5 Friends Joined: EPIC Bottoms Wearable + Starter Community Recruiter Badge"}),e.jsx("li",{children:"10 Friends Joined: EPIC Jacket Wearable + Bronze Community Recruiter Badge"}),e.jsx("li",{children:"20 Friends Joined: LEGENDARY Handwear Wearable"}),e.jsx("li",{children:"25 Friends Joined: LEGENDARY Emote + Silver Community Recruiter Badge"}),e.jsx("li",{children:"30 Friends Joined: EXOTIC Shoes Wearable"}),e.jsx("li",{children:"50 Friends Joined: EXOTIC Hair Wearable + Gold Community Recruiter Badge"}),e.jsx("li",{children:'60 Friends Joined: MYTHIC "Companion-style" Wearable'}),e.jsx("li",{children:"75 Friends Joined: MYTHIC Looping Emote+ Platinum Community Recruiter Badge"}),e.jsx("li",{children:"100 Friends Joined: IRL Swag Pack + Digital Twin Wearable + Diamond Community Recruiter Badge"})]})]}),e.jsxs(i,{id:"reward-distribution",children:[e.jsx(a,{children:"4. Reward Distribution and Delivery"}),e.jsx(r,{children:"4.1. Digital rewards (Wearables, Emotes, badges, and Credits) will be automatically credited to your account within 3 business days of reaching a reward tier."}),e.jsx(r,{children:"4.2. IRL rewards require contact through the designated email or the email address you share for such purpose."}),e.jsx(r,{children:"4.3. We commit to delivering the Rewards in accordance with the rarity levels of the Wearables as stated in the Program. However, we do not guarantee the delivery of a specific Wearable within a given rarity category, as each Wearable is subject to availability and are traded on the Marketplace."})]}),e.jsxs(i,{id:"program-abuse",children:[e.jsx(a,{children:"5. Program Abuse and Disqualification"}),e.jsx(r,{children:"We reserve the right to disqualify participants who attempt to game, abuse, or manipulate the referral system, including but not limited to creating fake accounts, using bots, or violating the platform's Terms of Service."})]}),e.jsxs(i,{id:"email-notifications",children:[e.jsx(a,{children:"6. Email Notifications"}),e.jsx(r,{children:'6.1. By participating in the Program, you consent to receive email notifications related to "Referral Program."'}),e.jsx(r,{children:"6.2. The Decentraland Foundation may add additional email notification categories in the future."})]}),e.jsxs(i,{id:"changes-and-termination",children:[e.jsx(a,{children:"7. Changes and Termination"}),e.jsx(r,{children:"We reserve the right to modify or terminate this Program at any time without prior notice. Any changes will be effective immediately upon posting an updated version of these Terms and Conditions."})]}),e.jsxs(i,{id:"miscellaneous",children:[e.jsx(a,{children:"8. Miscellaneous"}),e.jsx(r,{children:"7.1. The Decentraland Foundation is not responsible for any technical malfunctions, errors, or issues that may affect participation in the Program."}),e.jsx(r,{children:"7.2. Any disputes regarding the Program shall be resolved at the sole discretion of the Decentraland Foundation."}),e.jsxs(r,{children:["7.3. For any questions regarding the Referral Program, please contact our support team via the platform or at"," ",e.jsx("a",{href:"mailto:support@decentraland.org",children:"support@decentraland.org"}),"."]}),e.jsx(r,{children:"Updated August 18, 2025"})]})]}));l.displayName="ReferralTerms";export{l as ReferralTerms};
1
+ import{j as e}from"./index-_DB-noma.js";import{r as t}from"./vendor-router-D_36sTKu.js";import{L as s,P as r,S as i,a,B as n}from"./LegalPageLayout-DpJoq1IM.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const o=[{id:"general-provisions",label:"1. General Provisions"},{id:"how-it-works",label:"2. How It Works"},{id:"rewards-structure",label:"3. Rewards Structure"},{id:"reward-distribution",label:"4. Reward Distribution and Delivery"},{id:"program-abuse",label:"5. Program Abuse and Disqualification"},{id:"email-notifications",label:"6. Email Notifications"},{id:"changes-and-termination",label:"7. Changes and Termination"},{id:"miscellaneous",label:"8. Miscellaneous"}],l=t.memo(()=>e.jsxs(s,{title:"Referral",activeSlug:"/referral-terms",tableOfContents:o,children:[e.jsx(r,{children:"Referral Program – Terms and Conditions"}),e.jsxs(i,{id:"general-provisions",children:[e.jsx(a,{children:"1. General Provisions"}),e.jsx(r,{children:'1.1. This Referral Program ("Program") is open to all registered users of Decentraland platform who are in good standing and comply with our general Terms of Service.'}),e.jsx(r,{children:"1.2. Participation in the Program constitutes acceptance of these Terms and Conditions, as well as the Decentraland Terms of Use, Privacy Policy, and Content Policy."}),e.jsx(r,{children:"1.3. The Decentraland Foundation reserves the right to modify, suspend, or terminate the Program at its discretion."})]}),e.jsxs(i,{id:"how-it-works",children:[e.jsx(a,{children:"2. How It Works"}),e.jsx(r,{children:'2.1. To refer a new user, share your unique referral link. A referred user ("Referee") will be considered valid if the following conditions are met:'}),e.jsxs(n,{children:[e.jsx("li",{children:"The Referee successfully creates an account on our platform using a referral link."}),e.jsx("li",{children:"The Referee downloads and installs Decentraland's desktop client."}),e.jsx("li",{children:"The Referee jumps into Genesis City via the desktop client three (3) different days."})]}),e.jsx(r,{children:"2.2. Only referrals meeting those criteria will count towards your reward tally."}),e.jsx(r,{children:'2.3. Every successful referral should count and be displayed in a counter under the "Referral Rewards" section.'})]}),e.jsxs(i,{id:"rewards-structure",children:[e.jsx(a,{children:"3. Rewards Structure"}),e.jsx(r,{children:'Rewards are granted based on the number of valid referrals you accumulate in the "Referral Rewards" section. Each reward tier is cumulative and unlocks sequentially:'}),e.jsxs(n,{children:[e.jsx("li",{children:"5 Friends Joined: EPIC Bottoms Wearable + Starter Community Recruiter Badge"}),e.jsx("li",{children:"10 Friends Joined: EPIC Jacket Wearable + Bronze Community Recruiter Badge"}),e.jsx("li",{children:"20 Friends Joined: LEGENDARY Handwear Wearable"}),e.jsx("li",{children:"25 Friends Joined: LEGENDARY Emote + Silver Community Recruiter Badge"}),e.jsx("li",{children:"30 Friends Joined: EXOTIC Shoes Wearable"}),e.jsx("li",{children:"50 Friends Joined: EXOTIC Hair Wearable + Gold Community Recruiter Badge"}),e.jsx("li",{children:'60 Friends Joined: MYTHIC "Companion-style" Wearable'}),e.jsx("li",{children:"75 Friends Joined: MYTHIC Looping Emote+ Platinum Community Recruiter Badge"}),e.jsx("li",{children:"100 Friends Joined: IRL Swag Pack + Digital Twin Wearable + Diamond Community Recruiter Badge"})]})]}),e.jsxs(i,{id:"reward-distribution",children:[e.jsx(a,{children:"4. Reward Distribution and Delivery"}),e.jsx(r,{children:"4.1. Digital rewards (Wearables, Emotes, badges, and Credits) will be automatically credited to your account within 3 business days of reaching a reward tier."}),e.jsx(r,{children:"4.2. IRL rewards require contact through the designated email or the email address you share for such purpose."}),e.jsx(r,{children:"4.3. We commit to delivering the Rewards in accordance with the rarity levels of the Wearables as stated in the Program. However, we do not guarantee the delivery of a specific Wearable within a given rarity category, as each Wearable is subject to availability and are traded on the Marketplace."})]}),e.jsxs(i,{id:"program-abuse",children:[e.jsx(a,{children:"5. Program Abuse and Disqualification"}),e.jsx(r,{children:"We reserve the right to disqualify participants who attempt to game, abuse, or manipulate the referral system, including but not limited to creating fake accounts, using bots, or violating the platform's Terms of Service."})]}),e.jsxs(i,{id:"email-notifications",children:[e.jsx(a,{children:"6. Email Notifications"}),e.jsx(r,{children:'6.1. By participating in the Program, you consent to receive email notifications related to "Referral Program."'}),e.jsx(r,{children:"6.2. The Decentraland Foundation may add additional email notification categories in the future."})]}),e.jsxs(i,{id:"changes-and-termination",children:[e.jsx(a,{children:"7. Changes and Termination"}),e.jsx(r,{children:"We reserve the right to modify or terminate this Program at any time without prior notice. Any changes will be effective immediately upon posting an updated version of these Terms and Conditions."})]}),e.jsxs(i,{id:"miscellaneous",children:[e.jsx(a,{children:"8. Miscellaneous"}),e.jsx(r,{children:"7.1. The Decentraland Foundation is not responsible for any technical malfunctions, errors, or issues that may affect participation in the Program."}),e.jsx(r,{children:"7.2. Any disputes regarding the Program shall be resolved at the sole discretion of the Decentraland Foundation."}),e.jsxs(r,{children:["7.3. For any questions regarding the Referral Program, please contact our support team via the platform or at"," ",e.jsx("a",{href:"mailto:support@decentraland.org",children:"support@decentraland.org"}),"."]}),e.jsx(r,{children:"Updated August 18, 2025"})]})]}));l.displayName="ReferralTerms";export{l as ReferralTerms};
@@ -1 +1 @@
1
- {"version":3,"file":"index-iTL2dY0l.js","sources":["../../src/pages/referral-terms/ReferralTerms.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { BulletList, LegalPageLayout, Paragraph, Section, SectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'general-provisions', label: '1. General Provisions' },\n { id: 'how-it-works', label: '2. How It Works' },\n { id: 'rewards-structure', label: '3. Rewards Structure' },\n { id: 'reward-distribution', label: '4. Reward Distribution and Delivery' },\n { id: 'program-abuse', label: '5. Program Abuse and Disqualification' },\n { id: 'email-notifications', label: '6. Email Notifications' },\n { id: 'changes-and-termination', label: '7. Changes and Termination' },\n { id: 'miscellaneous', label: '8. Miscellaneous' }\n]\n\nconst ReferralTerms = memo(() => (\n <LegalPageLayout title=\"Referral\" activeSlug=\"/referral-terms\" tableOfContents={TABLE_OF_CONTENTS}>\n <Paragraph>Referral Program &ndash; Terms and Conditions</Paragraph>\n\n <Section id=\"general-provisions\">\n <SectionTitle>1. General Provisions</SectionTitle>\n <Paragraph>\n 1.1. This Referral Program (&quot;Program&quot;) is open to all registered users of Decentraland platform who are in good standing\n and comply with our general Terms of Service.\n </Paragraph>\n <Paragraph>\n 1.2. Participation in the Program constitutes acceptance of these Terms and Conditions, as well as the Decentraland Terms of Use,\n Privacy Policy, and Content Policy.\n </Paragraph>\n <Paragraph>\n 1.3. The Decentraland Foundation reserves the right to modify, suspend, or terminate the Program at its discretion.\n </Paragraph>\n </Section>\n\n <Section id=\"how-it-works\">\n <SectionTitle>2. How It Works</SectionTitle>\n <Paragraph>\n 2.1. To refer a new user, share your unique referral link. A referred user (&quot;Referee&quot;) will be considered valid if the\n following conditions are met:\n </Paragraph>\n <BulletList>\n <li>The Referee successfully creates an account on our platform using a referral link.</li>\n <li>The Referee downloads and installs Decentraland&apos;s desktop client.</li>\n <li>The Referee jumps into Genesis City via the desktop client three (3) different days.</li>\n </BulletList>\n <Paragraph>2.2. Only referrals meeting those criteria will count towards your reward tally.</Paragraph>\n <Paragraph>\n 2.3. Every successful referral should count and be displayed in a counter under the &quot;Referral Rewards&quot; section.\n </Paragraph>\n </Section>\n\n <Section id=\"rewards-structure\">\n <SectionTitle>3. Rewards Structure</SectionTitle>\n <Paragraph>\n Rewards are granted based on the number of valid referrals you accumulate in the &quot;Referral Rewards&quot; section. Each reward\n tier is cumulative and unlocks sequentially:\n </Paragraph>\n <BulletList>\n <li>5 Friends Joined: EPIC Bottoms Wearable + Starter Community Recruiter Badge</li>\n <li>10 Friends Joined: EPIC Jacket Wearable + Bronze Community Recruiter Badge</li>\n <li>20 Friends Joined: LEGENDARY Handwear Wearable</li>\n <li>25 Friends Joined: LEGENDARY Emote + Silver Community Recruiter Badge</li>\n <li>30 Friends Joined: EXOTIC Shoes Wearable</li>\n <li>50 Friends Joined: EXOTIC Hair Wearable + Gold Community Recruiter Badge</li>\n <li>60 Friends Joined: MYTHIC &quot;Companion-style&quot; Wearable</li>\n <li>75 Friends Joined: MYTHIC Looping Emote+ Platinum Community Recruiter Badge</li>\n <li>100 Friends Joined: IRL Swag Pack + Digital Twin Wearable + Diamond Community Recruiter Badge</li>\n </BulletList>\n </Section>\n\n <Section id=\"reward-distribution\">\n <SectionTitle>4. Reward Distribution and Delivery</SectionTitle>\n <Paragraph>\n 4.1. Digital rewards (Wearables, Emotes, badges, and Credits) will be automatically credited to your account within 3 business days\n of reaching a reward tier.\n </Paragraph>\n <Paragraph>4.2. IRL rewards require contact through the designated email or the email address you share for such purpose.</Paragraph>\n <Paragraph>\n 4.3. We commit to delivering the Rewards in accordance with the rarity levels of the Wearables as stated in the Program. However, we\n do not guarantee the delivery of a specific Wearable within a given rarity category, as each Wearable is subject to availability and\n are traded on the Marketplace.\n </Paragraph>\n </Section>\n\n <Section id=\"program-abuse\">\n <SectionTitle>5. Program Abuse and Disqualification</SectionTitle>\n <Paragraph>\n We reserve the right to disqualify participants who attempt to game, abuse, or manipulate the referral system, including but not\n limited to creating fake accounts, using bots, or violating the platform&apos;s Terms of Service.\n </Paragraph>\n </Section>\n\n <Section id=\"email-notifications\">\n <SectionTitle>6. Email Notifications</SectionTitle>\n <Paragraph>\n 6.1. By participating in the Program, you consent to receive email notifications related to &quot;Referral Program.&quot;\n </Paragraph>\n <Paragraph>6.2. The Decentraland Foundation may add additional email notification categories in the future.</Paragraph>\n </Section>\n\n <Section id=\"changes-and-termination\">\n <SectionTitle>7. Changes and Termination</SectionTitle>\n <Paragraph>\n We reserve the right to modify or terminate this Program at any time without prior notice. Any changes will be effective immediately\n upon posting an updated version of these Terms and Conditions.\n </Paragraph>\n </Section>\n\n <Section id=\"miscellaneous\">\n <SectionTitle>8. Miscellaneous</SectionTitle>\n <Paragraph>\n 7.1. The Decentraland Foundation is not responsible for any technical malfunctions, errors, or issues that may affect participation\n in the Program.\n </Paragraph>\n <Paragraph>\n 7.2. Any disputes regarding the Program shall be resolved at the sole discretion of the Decentraland Foundation.\n </Paragraph>\n <Paragraph>\n 7.3. For any questions regarding the Referral Program, please contact our support team via the platform or at{' '}\n <a href=\"mailto:support@decentraland.org\">support@decentraland.org</a>.\n </Paragraph>\n <Paragraph>Updated August 18, 2025</Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nReferralTerms.displayName = 'ReferralTerms'\n\nexport { ReferralTerms }\n"],"names":["TABLE_OF_CONTENTS","ReferralTerms","memo","jsxs","LegalPageLayout","jsx","Paragraph","Section","SectionTitle","BulletList"],"mappings":"gVAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,qBAAsB,MAAO,uBAAA,EACnC,CAAE,GAAI,eAAgB,MAAO,iBAAA,EAC7B,CAAE,GAAI,oBAAqB,MAAO,sBAAA,EAClC,CAAE,GAAI,sBAAuB,MAAO,qCAAA,EACpC,CAAE,GAAI,gBAAiB,MAAO,uCAAA,EAC9B,CAAE,GAAI,sBAAuB,MAAO,wBAAA,EACpC,CAAE,GAAI,0BAA2B,MAAO,4BAAA,EACxC,CAAE,GAAI,gBAAiB,MAAO,kBAAA,CAChC,EAEMC,EAAgBC,EAAAA,KAAK,IACzBC,EAAAA,KAACC,EAAA,CAAgB,MAAM,WAAW,WAAW,kBAAkB,gBAAiBJ,EAC9E,SAAA,CAAAK,EAAAA,IAACC,GAAU,SAAA,yCAAA,CAA6C,EAExDH,EAAAA,KAACI,EAAA,CAAQ,GAAG,qBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,uBAAA,CAAqB,EACnCH,EAAAA,IAACC,GAAU,SAAA,wKAAA,CAGX,EACAD,EAAAA,IAACC,GAAU,SAAA,uKAAA,CAGX,EACAD,EAAAA,IAACC,GAAU,SAAA,qHAAA,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GAAU,SAAA,gHAAA,CAA8G,EACzHD,EAAAA,IAACC,GAAU,SAAA,0SAAA,CAIX,CAAA,EACF,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,gBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,uCAAA,CAAqC,EACnDH,EAAAA,IAACC,GAAU,SAAA,+NAAA,CAGX,CAAA,EACF,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,sBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,wBAAA,CAAsB,EACpCH,EAAAA,IAACC,GAAU,SAAA,iHAAA,CAEX,EACAD,EAAAA,IAACC,GAAU,SAAA,kGAAA,CAAgG,CAAA,EAC7G,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,0BACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,4BAAA,CAA0B,EACxCH,EAAAA,IAACC,GAAU,SAAA,qMAAA,CAGX,CAAA,EACF,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,gBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,kBAAA,CAAgB,EAC9BH,EAAAA,IAACC,GAAU,SAAA,qJAAA,CAGX,EACAD,EAAAA,IAACC,GAAU,SAAA,kHAAA,CAEX,SACCA,EAAA,CAAU,SAAA,CAAA,gHACqG,IAC9GD,EAAAA,IAAC,IAAA,CAAE,KAAK,kCAAkC,SAAA,2BAAwB,EAAI,GAAA,EACxE,EACAA,EAAAA,IAACC,GAAU,SAAA,yBAAA,CAAuB,CAAA,CAAA,CACpC,CAAA,EACF,CACD,EAEDL,EAAc,YAAc"}
1
+ {"version":3,"file":"index-DXcPgEVs.js","sources":["../../src/pages/referral-terms/ReferralTerms.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { BulletList, LegalPageLayout, Paragraph, Section, SectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'general-provisions', label: '1. General Provisions' },\n { id: 'how-it-works', label: '2. How It Works' },\n { id: 'rewards-structure', label: '3. Rewards Structure' },\n { id: 'reward-distribution', label: '4. Reward Distribution and Delivery' },\n { id: 'program-abuse', label: '5. Program Abuse and Disqualification' },\n { id: 'email-notifications', label: '6. Email Notifications' },\n { id: 'changes-and-termination', label: '7. Changes and Termination' },\n { id: 'miscellaneous', label: '8. Miscellaneous' }\n]\n\nconst ReferralTerms = memo(() => (\n <LegalPageLayout title=\"Referral\" activeSlug=\"/referral-terms\" tableOfContents={TABLE_OF_CONTENTS}>\n <Paragraph>Referral Program &ndash; Terms and Conditions</Paragraph>\n\n <Section id=\"general-provisions\">\n <SectionTitle>1. General Provisions</SectionTitle>\n <Paragraph>\n 1.1. This Referral Program (&quot;Program&quot;) is open to all registered users of Decentraland platform who are in good standing\n and comply with our general Terms of Service.\n </Paragraph>\n <Paragraph>\n 1.2. Participation in the Program constitutes acceptance of these Terms and Conditions, as well as the Decentraland Terms of Use,\n Privacy Policy, and Content Policy.\n </Paragraph>\n <Paragraph>\n 1.3. The Decentraland Foundation reserves the right to modify, suspend, or terminate the Program at its discretion.\n </Paragraph>\n </Section>\n\n <Section id=\"how-it-works\">\n <SectionTitle>2. How It Works</SectionTitle>\n <Paragraph>\n 2.1. To refer a new user, share your unique referral link. A referred user (&quot;Referee&quot;) will be considered valid if the\n following conditions are met:\n </Paragraph>\n <BulletList>\n <li>The Referee successfully creates an account on our platform using a referral link.</li>\n <li>The Referee downloads and installs Decentraland&apos;s desktop client.</li>\n <li>The Referee jumps into Genesis City via the desktop client three (3) different days.</li>\n </BulletList>\n <Paragraph>2.2. Only referrals meeting those criteria will count towards your reward tally.</Paragraph>\n <Paragraph>\n 2.3. Every successful referral should count and be displayed in a counter under the &quot;Referral Rewards&quot; section.\n </Paragraph>\n </Section>\n\n <Section id=\"rewards-structure\">\n <SectionTitle>3. Rewards Structure</SectionTitle>\n <Paragraph>\n Rewards are granted based on the number of valid referrals you accumulate in the &quot;Referral Rewards&quot; section. Each reward\n tier is cumulative and unlocks sequentially:\n </Paragraph>\n <BulletList>\n <li>5 Friends Joined: EPIC Bottoms Wearable + Starter Community Recruiter Badge</li>\n <li>10 Friends Joined: EPIC Jacket Wearable + Bronze Community Recruiter Badge</li>\n <li>20 Friends Joined: LEGENDARY Handwear Wearable</li>\n <li>25 Friends Joined: LEGENDARY Emote + Silver Community Recruiter Badge</li>\n <li>30 Friends Joined: EXOTIC Shoes Wearable</li>\n <li>50 Friends Joined: EXOTIC Hair Wearable + Gold Community Recruiter Badge</li>\n <li>60 Friends Joined: MYTHIC &quot;Companion-style&quot; Wearable</li>\n <li>75 Friends Joined: MYTHIC Looping Emote+ Platinum Community Recruiter Badge</li>\n <li>100 Friends Joined: IRL Swag Pack + Digital Twin Wearable + Diamond Community Recruiter Badge</li>\n </BulletList>\n </Section>\n\n <Section id=\"reward-distribution\">\n <SectionTitle>4. Reward Distribution and Delivery</SectionTitle>\n <Paragraph>\n 4.1. Digital rewards (Wearables, Emotes, badges, and Credits) will be automatically credited to your account within 3 business days\n of reaching a reward tier.\n </Paragraph>\n <Paragraph>4.2. IRL rewards require contact through the designated email or the email address you share for such purpose.</Paragraph>\n <Paragraph>\n 4.3. We commit to delivering the Rewards in accordance with the rarity levels of the Wearables as stated in the Program. However, we\n do not guarantee the delivery of a specific Wearable within a given rarity category, as each Wearable is subject to availability and\n are traded on the Marketplace.\n </Paragraph>\n </Section>\n\n <Section id=\"program-abuse\">\n <SectionTitle>5. Program Abuse and Disqualification</SectionTitle>\n <Paragraph>\n We reserve the right to disqualify participants who attempt to game, abuse, or manipulate the referral system, including but not\n limited to creating fake accounts, using bots, or violating the platform&apos;s Terms of Service.\n </Paragraph>\n </Section>\n\n <Section id=\"email-notifications\">\n <SectionTitle>6. Email Notifications</SectionTitle>\n <Paragraph>\n 6.1. By participating in the Program, you consent to receive email notifications related to &quot;Referral Program.&quot;\n </Paragraph>\n <Paragraph>6.2. The Decentraland Foundation may add additional email notification categories in the future.</Paragraph>\n </Section>\n\n <Section id=\"changes-and-termination\">\n <SectionTitle>7. Changes and Termination</SectionTitle>\n <Paragraph>\n We reserve the right to modify or terminate this Program at any time without prior notice. Any changes will be effective immediately\n upon posting an updated version of these Terms and Conditions.\n </Paragraph>\n </Section>\n\n <Section id=\"miscellaneous\">\n <SectionTitle>8. Miscellaneous</SectionTitle>\n <Paragraph>\n 7.1. The Decentraland Foundation is not responsible for any technical malfunctions, errors, or issues that may affect participation\n in the Program.\n </Paragraph>\n <Paragraph>\n 7.2. Any disputes regarding the Program shall be resolved at the sole discretion of the Decentraland Foundation.\n </Paragraph>\n <Paragraph>\n 7.3. For any questions regarding the Referral Program, please contact our support team via the platform or at{' '}\n <a href=\"mailto:support@decentraland.org\">support@decentraland.org</a>.\n </Paragraph>\n <Paragraph>Updated August 18, 2025</Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nReferralTerms.displayName = 'ReferralTerms'\n\nexport { ReferralTerms }\n"],"names":["TABLE_OF_CONTENTS","ReferralTerms","memo","jsxs","LegalPageLayout","jsx","Paragraph","Section","SectionTitle","BulletList"],"mappings":"gVAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,qBAAsB,MAAO,uBAAA,EACnC,CAAE,GAAI,eAAgB,MAAO,iBAAA,EAC7B,CAAE,GAAI,oBAAqB,MAAO,sBAAA,EAClC,CAAE,GAAI,sBAAuB,MAAO,qCAAA,EACpC,CAAE,GAAI,gBAAiB,MAAO,uCAAA,EAC9B,CAAE,GAAI,sBAAuB,MAAO,wBAAA,EACpC,CAAE,GAAI,0BAA2B,MAAO,4BAAA,EACxC,CAAE,GAAI,gBAAiB,MAAO,kBAAA,CAChC,EAEMC,EAAgBC,EAAAA,KAAK,IACzBC,EAAAA,KAACC,EAAA,CAAgB,MAAM,WAAW,WAAW,kBAAkB,gBAAiBJ,EAC9E,SAAA,CAAAK,EAAAA,IAACC,GAAU,SAAA,yCAAA,CAA6C,EAExDH,EAAAA,KAACI,EAAA,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,ac as t}from"./index-DUmIu2EK.js";const _="https://wearable-preview.decentraland.zone",e="https://decentraland.zone/account",R="https://decentraland.zone/profile",a="https://decentraland.zone/marketplace",L="https://decentraland.zone/builder",o="https://decentraland.zone/dao",c="https://decentraland.zone/governance",s="https://decentraland.zone/events",d="https://decentraland.zone/places",E="https://decentraland.org/create/",U="https://docs.decentraland.org/player/",r="https://decentraland.zone/download/creator-hub/",O="https://decentraland.zone/download/",A="https://decentraland.zone/download_success/",T="ea2ybdmmn1kv",N="master",l="18g1DzIyBxvu0steSwKyQr",S="https://cms.decentraland.org",C="https://decentraland.zone/marketplace/names/claim",p="https://decentraland.zone/marketplace/lands",D="https://decentraland.zone/marketplace/account",I="https://decentraland.zone/create/",h="https://studios.decentraland.zone/",g="https://decentraland.zone/builder/collections",P="https://decentraland.zone/builder/names",$="https://decentraland.zone/builder/worlds?tab=dcl",i="https://decentraland.zone/builder/land",B="https://decentraland.zone/events/me/",m="https://decentraland.zone/places/favorites/",M="https://docs.decentraland.org/player/",V="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",y="https://docs.decentraland.org/contributor/",F="https://decentraland.zone/governance/transparency/",u="https://decentraland.zone/governance/proposals/",K="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",b="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",v="https://decentraland.zone/marketplace/settings",z="https://dcl.gg/discord",f="https://reddit.com/r/decentraland",W="https://github.com/decentraland",w="https://x.com/decentraland",H="https://instagram.com/decentraland_foundation/",k="https://youtube.com/@decentraland_foundation",x="https://tiktok.com/@decentraland_fdn",j="https://linkedin.com/company/decentralandorg",Q="https://decentraland.zone/privacy",J="https://decentraland.zone/terms",X="https://decentraland.zone/content",q="https://decentraland.zone/ethics",Z="https://decentraland.org/help",tt="mailto:hello@decentraland.org",nt="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",et="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",Rt="https://download-gateway.decentraland.zone",at="https://decentraland.zone/top-scenes",Lt="https://testflight.apple.com/join/KF4r3jlU",ot="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",ct={WEARABLE_PREVIEW_URL:_,ACCOUNT_URL:e,PROFILE_URL:R,MARKETPLACE_URL:a,BUILDER_URL:L,DAO_URL:o,GOVERNANCE_URL:c,EVENTS_URL:s,PLACES_URL:d,CREATE_URL:E,LEARN_URL:U,CREATOR_HUB_URL:r,DOWNLOAD_URL:O,DOWNLOAD_SUCCESS_URL:A,CONTENTFUL_SPACE_ID:T,CONTENTFUL_ENV:N,CONTENTFUL_NAVBAR_ENTRY_ID:l,CONTENTFUL_CONTENTFUL_CDN_URL:S,MARKETPLACE_NAMES_URL:C,MARKETPLACE_LANDS_URL:p,MARKETPLACE_MY_ASSETS_URL:D,LANDING_CREATORS_URL:I,STUDIOS_URL:h,BUILDER_WEARABLE_EMOTES_URL:g,BUILDER_NAMES_URL:P,BUILDER_WORLDS_URL:$,BUILDER_LAND_URL:i,EVENTS_MY_EVENTS:B,PLACES_MY_FAVORITE_URL:m,DOCS_ABOUT_URL:M,DOCS_CREATORS_URL:V,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:y,GOVERNANCE_TRANSPARENCY_URL:F,GOVERNANCE_PROPOSALS_URL:u,DAO_GRANTS_URL:K,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:b,MARKETPLACE_SETTINGS_URL:v,DISCORD_URL:z,REDDIT_URL:f,GITHUB_URL:W,X_URL:w,INSTAGRAM_URL:H,YOUTUBE_URL:k,TIKTOK_URL:x,LINKEDIN_URL:j,PRIVACY_POLICY_URL:Q,TERMS_OF_USE_URL:J,CONTENT_POLICY_URL:X,CODE_OF_ETHICS_URL:q,SUPPORT_URL:Z,EMAIL_HELLO_URL:tt,FAQ_URL:nt,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:et,AUTO_SIGNING_BASE_URL:Rt,TOP_SCENES_URL:at,IOS_STORE_URL:Lt,ANDROID_STORE_URL:ot},st="https://wearable-preview.decentraland.org",dt="https://decentraland.org/account",Et="https://decentraland.org/profile",Ut="https://decentraland.org/marketplace",rt="https://decentraland.org/builder",Ot="https://decentraland.org/dao",At="https://decentraland.org/governance",Tt="https://decentraland.org/events",Nt="https://decentraland.org/places",lt="https://decentraland.org/create/",St="https://docs.decentraland.org/player/",Ct="https://decentraland.org/download/creator-hub/",pt="https://decentraland.org/download/",Dt="https://decentraland.org/download_success/",It="ea2ybdmmn1kv",ht="master",gt="18g1DzIyBxvu0steSwKyQr",Pt="https://cms.decentraland.org",$t="https://decentraland.org/marketplace/names/claim",it="https://decentraland.org/marketplace/lands",Bt="https://decentraland.org/marketplace/account",mt="https://decentraland.org/create/",Mt="https://studios.decentraland.org/",Vt="https://decentraland.org/builder/collections",Gt="https://decentraland.org/builder/names",yt="https://decentraland.org/builder/worlds?tab=dcl",Ft="https://decentraland.org/builder/land",ut="https://decentraland.org/events/me/",Kt="https://decentraland.org/places/favorites/",Yt="https://docs.decentraland.org/player/",bt="https://docs.decentraland.org/creator/",vt="https://decentraland.org/blog/",zt="https://docs.decentraland.org/contributor/",ft="https://decentraland.org/governance/transparency/",Wt="https://decentraland.org/governance/proposals/",wt="https://decentraland.org/dao/grants/",Ht="https://decentraland.org/governance/projects/",kt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",xt="https://decentraland.org/marketplace/settings",jt="https://dcl.gg/discord",Qt="https://reddit.com/r/decentraland",Jt="https://github.com/decentraland",Xt="https://x.com/decentraland",qt="https://instagram.com/decentraland_foundation/",Zt="https://youtube.com/@decentraland_foundation",tn="https://tiktok.com/@decentraland_fdn",nn="https://linkedin.com/company/decentralandorg",_n="https://decentraland.org/privacy",en="https://decentraland.org/terms",Rn="https://decentraland.org/content",an="https://decentraland.org/ethics",Ln="https://decentraland.org/help",on="mailto:hello@decentraland.org",cn="https://docs.decentraland.org/faqs/decentraland-101",sn="https://docs.decentraland.org",dn="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",En="https://download-gateway.decentraland.org",Un="https://decentraland.org/top-scenes",rn="https://testflight.apple.com/join/KF4r3jlU",On="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",An={WEARABLE_PREVIEW_URL:st,ACCOUNT_URL:dt,PROFILE_URL:Et,MARKETPLACE_URL:Ut,BUILDER_URL:rt,DAO_URL:Ot,GOVERNANCE_URL:At,EVENTS_URL:Tt,PLACES_URL:Nt,CREATE_URL:lt,LEARN_URL:St,CREATOR_HUB_URL:Ct,DOWNLOAD_URL:pt,DOWNLOAD_SUCCESS_URL:Dt,CONTENTFUL_SPACE_ID:It,CONTENTFUL_ENV:ht,CONTENTFUL_NAVBAR_ENTRY_ID:gt,CONTENTFUL_CONTENTFUL_CDN_URL:Pt,MARKETPLACE_NAMES_URL:$t,MARKETPLACE_LANDS_URL:it,MARKETPLACE_MY_ASSETS_URL:Bt,LANDING_CREATORS_URL:mt,STUDIOS_URL:Mt,BUILDER_WEARABLE_EMOTES_URL:Vt,BUILDER_NAMES_URL:Gt,BUILDER_WORLDS_URL:yt,BUILDER_LAND_URL:Ft,EVENTS_MY_EVENTS:ut,PLACES_MY_FAVORITE_URL:Kt,DOCS_ABOUT_URL:Yt,DOCS_CREATORS_URL:bt,BLOG_URL:vt,DOCS_CONTRIBUTOR_URL:zt,GOVERNANCE_TRANSPARENCY_URL:ft,GOVERNANCE_PROPOSALS_URL:Wt,DAO_GRANTS_URL:wt,GOVERNANCE_PROJECTS_URL:Ht,DOCS_DAO_URL:kt,MARKETPLACE_SETTINGS_URL:xt,DISCORD_URL:jt,REDDIT_URL:Qt,GITHUB_URL:Jt,X_URL:Xt,INSTAGRAM_URL:qt,YOUTUBE_URL:Zt,TIKTOK_URL:tn,LINKEDIN_URL:nn,PRIVACY_POLICY_URL:_n,TERMS_OF_USE_URL:en,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:an,SUPPORT_URL:Ln,EMAIL_HELLO_URL:on,FAQ_URL:cn,DOCS_URL:sn,BEEHIV_SUBSCRIPTION_URL:dn,AUTO_SIGNING_BASE_URL:En,TOP_SCENES_URL:Un,IOS_STORE_URL:rn,ANDROID_STORE_URL:On},Tn="https://wearable-preview.decentraland.today",Nn="https://decentraland.today/account",ln="https://decentraland.today/profile",Sn="https://decentraland.today/marketplace",Cn="https://decentraland.today/builder",pn="https://decentraland.today/dao",Dn="https://decentraland.today/governance",In="https://decentraland.zone/events",hn="https://decentraland.zone/places",gn="https://decentraland.today/create/",Pn="https://docs.decentraland.org/player/",$n="https://decentraland.today/download/creator-hub/",Bn="https://decentraland.today/download/",mn="https://decentraland.today/download_success/",Mn="ea2ybdmmn1kv",Vn="master",Gn="18g1DzIyBxvu0steSwKyQr",yn="https://cms.decentraland.org",Fn="https://decentraland.today/marketplace/names/claim",un="https://decentraland.today/marketplace/lands",Kn="https://decentraland.today/marketplace/account",Yn="https://decentraland.today/create/",bn="https://studios.decentraland.today/",vn="https://decentraland.today/builder/collections",zn="https://decentraland.today/builder/names",fn="https://decentraland.today/builder/worlds?tab=dcl",Wn="https://decentraland.today/builder/land",wn="https://decentraland.today/events/me/",Hn="https://decentraland.today/places/favorites/",kn="https://docs.decentraland.org/player/",xn="https://docs.decentraland.org/creator/",jn="https://decentraland.today/blog/",Qn="https://docs.decentraland.org/contributor/",Jn="https://decentraland.today/governance/transparency/",Xn="https://decentraland.today/governance/proposals/",qn="https://decentraland.today/dao/grants/",Zn="https://decentraland.today/governance/projects/",t_="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",n_="https://decentraland.today/marketplace/settings",__="https://dcl.gg/discord",e_="https://reddit.com/r/decentraland",R_="https://github.com/decentraland",a_="https://x.com/decentraland",L_="https://instagram.com/decentraland_foundation/",o_="https://youtube.com/@decentraland_foundation",c_="https://tiktok.com/@decentraland_fdn",s_="https://linkedin.com/company/decentralandorg",d_="https://decentraland.org/privacy",E_="https://decentraland.org/terms",U_="https://decentraland.org/content",r_="https://decentraland.org/ethics",O_="https://decentraland.org/help",A_="mailto:hello@decentraland.org",T_="https://docs.decentraland.org/faqs/decentraland-101",N_="https://docs.decentraland.org",l_="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",S_="https://download-gateway.decentraland.zone",C_="https://decentraland.zone/top-scenes",p_="https://testflight.apple.com/join/KF4r3jlU",D_="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",I_={WEARABLE_PREVIEW_URL:Tn,ACCOUNT_URL:Nn,PROFILE_URL:ln,MARKETPLACE_URL:Sn,BUILDER_URL:Cn,DAO_URL:pn,GOVERNANCE_URL:Dn,EVENTS_URL:In,PLACES_URL:hn,CREATE_URL:gn,LEARN_URL:Pn,CREATOR_HUB_URL:$n,DOWNLOAD_URL:Bn,DOWNLOAD_SUCCESS_URL:mn,CONTENTFUL_SPACE_ID:Mn,CONTENTFUL_ENV:Vn,CONTENTFUL_NAVBAR_ENTRY_ID:Gn,CONTENTFUL_CONTENTFUL_CDN_URL:yn,MARKETPLACE_NAMES_URL:Fn,MARKETPLACE_LANDS_URL:un,MARKETPLACE_MY_ASSETS_URL:Kn,LANDING_CREATORS_URL:Yn,STUDIOS_URL:bn,BUILDER_WEARABLE_EMOTES_URL:vn,BUILDER_NAMES_URL:zn,BUILDER_WORLDS_URL:fn,BUILDER_LAND_URL:Wn,EVENTS_MY_EVENTS:wn,PLACES_MY_FAVORITE_URL:Hn,DOCS_ABOUT_URL:kn,DOCS_CREATORS_URL:xn,BLOG_URL:jn,DOCS_CONTRIBUTOR_URL:Qn,GOVERNANCE_TRANSPARENCY_URL:Jn,GOVERNANCE_PROPOSALS_URL:Xn,DAO_GRANTS_URL:qn,GOVERNANCE_PROJECTS_URL:Zn,DOCS_DAO_URL:t_,MARKETPLACE_SETTINGS_URL:n_,DISCORD_URL:__,REDDIT_URL:e_,GITHUB_URL:R_,X_URL:a_,INSTAGRAM_URL:L_,YOUTUBE_URL:o_,TIKTOK_URL:c_,LINKEDIN_URL:s_,PRIVACY_POLICY_URL:d_,TERMS_OF_USE_URL:E_,CONTENT_POLICY_URL:U_,CODE_OF_ETHICS_URL:r_,SUPPORT_URL:O_,EMAIL_HELLO_URL:A_,FAQ_URL:T_,DOCS_URL:N_,BEEHIV_SUBSCRIPTION_URL:l_,AUTO_SIGNING_BASE_URL:S_,TOP_SCENES_URL:C_,IOS_STORE_URL:p_,ANDROID_STORE_URL:D_},g_=n({[t.DEVELOPMENT]:ct,[t.STAGING]:I_,[t.PRODUCTION]:An});export{g_ as c};
1
+ import{ap as n,ac as t}from"./index-_DB-noma.js";const _="https://wearable-preview.decentraland.zone",e="https://decentraland.zone/account",R="https://decentraland.zone/profile",a="https://decentraland.zone/marketplace",L="https://decentraland.zone/builder",o="https://decentraland.zone/dao",c="https://decentraland.zone/governance",s="https://decentraland.zone/events",d="https://decentraland.zone/places",E="https://decentraland.org/create/",U="https://docs.decentraland.org/player/",r="https://decentraland.zone/download/creator-hub/",O="https://decentraland.zone/download/",A="https://decentraland.zone/download_success/",T="ea2ybdmmn1kv",N="master",l="18g1DzIyBxvu0steSwKyQr",S="https://cms.decentraland.org",C="https://decentraland.zone/marketplace/names/claim",p="https://decentraland.zone/marketplace/lands",D="https://decentraland.zone/marketplace/account",I="https://decentraland.zone/create/",h="https://studios.decentraland.zone/",g="https://decentraland.zone/builder/collections",P="https://decentraland.zone/builder/names",$="https://decentraland.zone/builder/worlds?tab=dcl",i="https://decentraland.zone/builder/land",B="https://decentraland.zone/events/me/",m="https://decentraland.zone/places/favorites/",M="https://docs.decentraland.org/player/",V="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",y="https://docs.decentraland.org/contributor/",F="https://decentraland.zone/governance/transparency/",u="https://decentraland.zone/governance/proposals/",K="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",b="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",v="https://decentraland.zone/marketplace/settings",z="https://dcl.gg/discord",f="https://reddit.com/r/decentraland",W="https://github.com/decentraland",w="https://x.com/decentraland",H="https://instagram.com/decentraland_foundation/",k="https://youtube.com/@decentraland_foundation",x="https://tiktok.com/@decentraland_fdn",j="https://linkedin.com/company/decentralandorg",Q="https://decentraland.zone/privacy",J="https://decentraland.zone/terms",X="https://decentraland.zone/content",q="https://decentraland.zone/ethics",Z="https://decentraland.org/help",tt="mailto:hello@decentraland.org",nt="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",et="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",Rt="https://download-gateway.decentraland.zone",at="https://decentraland.zone/top-scenes",Lt="https://testflight.apple.com/join/KF4r3jlU",ot="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",ct={WEARABLE_PREVIEW_URL:_,ACCOUNT_URL:e,PROFILE_URL:R,MARKETPLACE_URL:a,BUILDER_URL:L,DAO_URL:o,GOVERNANCE_URL:c,EVENTS_URL:s,PLACES_URL:d,CREATE_URL:E,LEARN_URL:U,CREATOR_HUB_URL:r,DOWNLOAD_URL:O,DOWNLOAD_SUCCESS_URL:A,CONTENTFUL_SPACE_ID:T,CONTENTFUL_ENV:N,CONTENTFUL_NAVBAR_ENTRY_ID:l,CONTENTFUL_CONTENTFUL_CDN_URL:S,MARKETPLACE_NAMES_URL:C,MARKETPLACE_LANDS_URL:p,MARKETPLACE_MY_ASSETS_URL:D,LANDING_CREATORS_URL:I,STUDIOS_URL:h,BUILDER_WEARABLE_EMOTES_URL:g,BUILDER_NAMES_URL:P,BUILDER_WORLDS_URL:$,BUILDER_LAND_URL:i,EVENTS_MY_EVENTS:B,PLACES_MY_FAVORITE_URL:m,DOCS_ABOUT_URL:M,DOCS_CREATORS_URL:V,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:y,GOVERNANCE_TRANSPARENCY_URL:F,GOVERNANCE_PROPOSALS_URL:u,DAO_GRANTS_URL:K,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:b,MARKETPLACE_SETTINGS_URL:v,DISCORD_URL:z,REDDIT_URL:f,GITHUB_URL:W,X_URL:w,INSTAGRAM_URL:H,YOUTUBE_URL:k,TIKTOK_URL:x,LINKEDIN_URL:j,PRIVACY_POLICY_URL:Q,TERMS_OF_USE_URL:J,CONTENT_POLICY_URL:X,CODE_OF_ETHICS_URL:q,SUPPORT_URL:Z,EMAIL_HELLO_URL:tt,FAQ_URL:nt,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:et,AUTO_SIGNING_BASE_URL:Rt,TOP_SCENES_URL:at,IOS_STORE_URL:Lt,ANDROID_STORE_URL:ot},st="https://wearable-preview.decentraland.org",dt="https://decentraland.org/account",Et="https://decentraland.org/profile",Ut="https://decentraland.org/marketplace",rt="https://decentraland.org/builder",Ot="https://decentraland.org/dao",At="https://decentraland.org/governance",Tt="https://decentraland.org/events",Nt="https://decentraland.org/places",lt="https://decentraland.org/create/",St="https://docs.decentraland.org/player/",Ct="https://decentraland.org/download/creator-hub/",pt="https://decentraland.org/download/",Dt="https://decentraland.org/download_success/",It="ea2ybdmmn1kv",ht="master",gt="18g1DzIyBxvu0steSwKyQr",Pt="https://cms.decentraland.org",$t="https://decentraland.org/marketplace/names/claim",it="https://decentraland.org/marketplace/lands",Bt="https://decentraland.org/marketplace/account",mt="https://decentraland.org/create/",Mt="https://studios.decentraland.org/",Vt="https://decentraland.org/builder/collections",Gt="https://decentraland.org/builder/names",yt="https://decentraland.org/builder/worlds?tab=dcl",Ft="https://decentraland.org/builder/land",ut="https://decentraland.org/events/me/",Kt="https://decentraland.org/places/favorites/",Yt="https://docs.decentraland.org/player/",bt="https://docs.decentraland.org/creator/",vt="https://decentraland.org/blog/",zt="https://docs.decentraland.org/contributor/",ft="https://decentraland.org/governance/transparency/",Wt="https://decentraland.org/governance/proposals/",wt="https://decentraland.org/dao/grants/",Ht="https://decentraland.org/governance/projects/",kt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",xt="https://decentraland.org/marketplace/settings",jt="https://dcl.gg/discord",Qt="https://reddit.com/r/decentraland",Jt="https://github.com/decentraland",Xt="https://x.com/decentraland",qt="https://instagram.com/decentraland_foundation/",Zt="https://youtube.com/@decentraland_foundation",tn="https://tiktok.com/@decentraland_fdn",nn="https://linkedin.com/company/decentralandorg",_n="https://decentraland.org/privacy",en="https://decentraland.org/terms",Rn="https://decentraland.org/content",an="https://decentraland.org/ethics",Ln="https://decentraland.org/help",on="mailto:hello@decentraland.org",cn="https://docs.decentraland.org/faqs/decentraland-101",sn="https://docs.decentraland.org",dn="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",En="https://download-gateway.decentraland.org",Un="https://decentraland.org/top-scenes",rn="https://testflight.apple.com/join/KF4r3jlU",On="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",An={WEARABLE_PREVIEW_URL:st,ACCOUNT_URL:dt,PROFILE_URL:Et,MARKETPLACE_URL:Ut,BUILDER_URL:rt,DAO_URL:Ot,GOVERNANCE_URL:At,EVENTS_URL:Tt,PLACES_URL:Nt,CREATE_URL:lt,LEARN_URL:St,CREATOR_HUB_URL:Ct,DOWNLOAD_URL:pt,DOWNLOAD_SUCCESS_URL:Dt,CONTENTFUL_SPACE_ID:It,CONTENTFUL_ENV:ht,CONTENTFUL_NAVBAR_ENTRY_ID:gt,CONTENTFUL_CONTENTFUL_CDN_URL:Pt,MARKETPLACE_NAMES_URL:$t,MARKETPLACE_LANDS_URL:it,MARKETPLACE_MY_ASSETS_URL:Bt,LANDING_CREATORS_URL:mt,STUDIOS_URL:Mt,BUILDER_WEARABLE_EMOTES_URL:Vt,BUILDER_NAMES_URL:Gt,BUILDER_WORLDS_URL:yt,BUILDER_LAND_URL:Ft,EVENTS_MY_EVENTS:ut,PLACES_MY_FAVORITE_URL:Kt,DOCS_ABOUT_URL:Yt,DOCS_CREATORS_URL:bt,BLOG_URL:vt,DOCS_CONTRIBUTOR_URL:zt,GOVERNANCE_TRANSPARENCY_URL:ft,GOVERNANCE_PROPOSALS_URL:Wt,DAO_GRANTS_URL:wt,GOVERNANCE_PROJECTS_URL:Ht,DOCS_DAO_URL:kt,MARKETPLACE_SETTINGS_URL:xt,DISCORD_URL:jt,REDDIT_URL:Qt,GITHUB_URL:Jt,X_URL:Xt,INSTAGRAM_URL:qt,YOUTUBE_URL:Zt,TIKTOK_URL:tn,LINKEDIN_URL:nn,PRIVACY_POLICY_URL:_n,TERMS_OF_USE_URL:en,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:an,SUPPORT_URL:Ln,EMAIL_HELLO_URL:on,FAQ_URL:cn,DOCS_URL:sn,BEEHIV_SUBSCRIPTION_URL:dn,AUTO_SIGNING_BASE_URL:En,TOP_SCENES_URL:Un,IOS_STORE_URL:rn,ANDROID_STORE_URL:On},Tn="https://wearable-preview.decentraland.today",Nn="https://decentraland.today/account",ln="https://decentraland.today/profile",Sn="https://decentraland.today/marketplace",Cn="https://decentraland.today/builder",pn="https://decentraland.today/dao",Dn="https://decentraland.today/governance",In="https://decentraland.zone/events",hn="https://decentraland.zone/places",gn="https://decentraland.today/create/",Pn="https://docs.decentraland.org/player/",$n="https://decentraland.today/download/creator-hub/",Bn="https://decentraland.today/download/",mn="https://decentraland.today/download_success/",Mn="ea2ybdmmn1kv",Vn="master",Gn="18g1DzIyBxvu0steSwKyQr",yn="https://cms.decentraland.org",Fn="https://decentraland.today/marketplace/names/claim",un="https://decentraland.today/marketplace/lands",Kn="https://decentraland.today/marketplace/account",Yn="https://decentraland.today/create/",bn="https://studios.decentraland.today/",vn="https://decentraland.today/builder/collections",zn="https://decentraland.today/builder/names",fn="https://decentraland.today/builder/worlds?tab=dcl",Wn="https://decentraland.today/builder/land",wn="https://decentraland.today/events/me/",Hn="https://decentraland.today/places/favorites/",kn="https://docs.decentraland.org/player/",xn="https://docs.decentraland.org/creator/",jn="https://decentraland.today/blog/",Qn="https://docs.decentraland.org/contributor/",Jn="https://decentraland.today/governance/transparency/",Xn="https://decentraland.today/governance/proposals/",qn="https://decentraland.today/dao/grants/",Zn="https://decentraland.today/governance/projects/",t_="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",n_="https://decentraland.today/marketplace/settings",__="https://dcl.gg/discord",e_="https://reddit.com/r/decentraland",R_="https://github.com/decentraland",a_="https://x.com/decentraland",L_="https://instagram.com/decentraland_foundation/",o_="https://youtube.com/@decentraland_foundation",c_="https://tiktok.com/@decentraland_fdn",s_="https://linkedin.com/company/decentralandorg",d_="https://decentraland.org/privacy",E_="https://decentraland.org/terms",U_="https://decentraland.org/content",r_="https://decentraland.org/ethics",O_="https://decentraland.org/help",A_="mailto:hello@decentraland.org",T_="https://docs.decentraland.org/faqs/decentraland-101",N_="https://docs.decentraland.org",l_="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",S_="https://download-gateway.decentraland.zone",C_="https://decentraland.zone/top-scenes",p_="https://testflight.apple.com/join/KF4r3jlU",D_="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",I_={WEARABLE_PREVIEW_URL:Tn,ACCOUNT_URL:Nn,PROFILE_URL:ln,MARKETPLACE_URL:Sn,BUILDER_URL:Cn,DAO_URL:pn,GOVERNANCE_URL:Dn,EVENTS_URL:In,PLACES_URL:hn,CREATE_URL:gn,LEARN_URL:Pn,CREATOR_HUB_URL:$n,DOWNLOAD_URL:Bn,DOWNLOAD_SUCCESS_URL:mn,CONTENTFUL_SPACE_ID:Mn,CONTENTFUL_ENV:Vn,CONTENTFUL_NAVBAR_ENTRY_ID:Gn,CONTENTFUL_CONTENTFUL_CDN_URL:yn,MARKETPLACE_NAMES_URL:Fn,MARKETPLACE_LANDS_URL:un,MARKETPLACE_MY_ASSETS_URL:Kn,LANDING_CREATORS_URL:Yn,STUDIOS_URL:bn,BUILDER_WEARABLE_EMOTES_URL:vn,BUILDER_NAMES_URL:zn,BUILDER_WORLDS_URL:fn,BUILDER_LAND_URL:Wn,EVENTS_MY_EVENTS:wn,PLACES_MY_FAVORITE_URL:Hn,DOCS_ABOUT_URL:kn,DOCS_CREATORS_URL:xn,BLOG_URL:jn,DOCS_CONTRIBUTOR_URL:Qn,GOVERNANCE_TRANSPARENCY_URL:Jn,GOVERNANCE_PROPOSALS_URL:Xn,DAO_GRANTS_URL:qn,GOVERNANCE_PROJECTS_URL:Zn,DOCS_DAO_URL:t_,MARKETPLACE_SETTINGS_URL:n_,DISCORD_URL:__,REDDIT_URL:e_,GITHUB_URL:R_,X_URL:a_,INSTAGRAM_URL:L_,YOUTUBE_URL:o_,TIKTOK_URL:c_,LINKEDIN_URL:s_,PRIVACY_POLICY_URL:d_,TERMS_OF_USE_URL:E_,CONTENT_POLICY_URL:U_,CODE_OF_ETHICS_URL:r_,SUPPORT_URL:O_,EMAIL_HELLO_URL:A_,FAQ_URL:T_,DOCS_URL:N_,BEEHIV_SUBSCRIPTION_URL:l_,AUTO_SIGNING_BASE_URL:S_,TOP_SCENES_URL:C_,IOS_STORE_URL:p_,ANDROID_STORE_URL:D_},g_=n({[t.DEVELOPMENT]:ct,[t.STAGING]:I_,[t.PRODUCTION]:An});export{g_ as c};
@@ -1 +1 @@
1
- {"version":3,"file":"index-BaEE4ZXP.js","sources":["../../node_modules/decentraland-ui2/dist/config/index.js"],"sourcesContent":["import { Env, createConfig } from '@dcl/ui-env';\nimport dev from './env/dev.json';\nimport prod from './env/prod.json';\nimport stg from './env/stg.json';\nexport const config = createConfig({\n [Env.DEVELOPMENT]: dev,\n [Env.STAGING]: stg,\n [Env.PRODUCTION]: prod\n});\n//# sourceMappingURL=index.js.map"],"names":["config","createConfig","Env","dev","stg","prod"],"mappings":"mrWAIaA,GAASC,EAAa,CAC/B,CAACC,EAAI,WAAW,EAAGC,GACnB,CAACD,EAAI,OAAO,EAAGE,GACf,CAACF,EAAI,UAAU,EAAGG,EACtB,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index-D_URcwLX.js","sources":["../../node_modules/decentraland-ui2/dist/config/index.js"],"sourcesContent":["import { Env, createConfig } from '@dcl/ui-env';\nimport dev from './env/dev.json';\nimport prod from './env/prod.json';\nimport stg from './env/stg.json';\nexport const config = createConfig({\n [Env.DEVELOPMENT]: dev,\n [Env.STAGING]: stg,\n [Env.PRODUCTION]: prod\n});\n//# sourceMappingURL=index.js.map"],"names":["config","createConfig","Env","dev","stg","prod"],"mappings":"mrWAIaA,GAASC,EAAa,CAC/B,CAACC,EAAI,WAAW,EAAGC,GACnB,CAACD,EAAI,OAAO,EAAGE,GACf,CAACF,EAAI,UAAU,EAAGG,EACtB,CAAC","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ import{s as r,a as c,v as C,z as f,M as v,j as e,U as w,P as k,w as y,ae as M,u as j,N as A,V as W}from"./index-_DB-noma.js";import{r as l}from"./vendor-router-D_36sTKu.js";import{C as b}from"./Carousel-8PM_J7Qk.js";import{u as O}from"./profile.client-CmNJLNox.js";import{E as L,B as D,L as B,U as E}from"./Badges-MRoIfo36.js";import{A as N}from"./AnimatedBackground-ChAxvzpE.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./JumpInIcon-TFxEXFSr.js";import"./createSvgIcon-Ck-nYodG.js";import"./useSlot-Cy5UGC7c.js";import"./CardContent-C2Yp8bGg.js";import"./Paper-DQs--rBO.js";import"./Skeleton-yDn4B-G5.js";import"./CardMedia-B8io6l5d.js";import"./Link-Knt-Kosk.js";const G=r(c)(({theme:t})=>({width:"100%",padding:t.spacing(10,8),display:"flex",flexDirection:"column",alignItems:"center",gap:t.spacing(6),position:"relative",overflow:"hidden",[t.breakpoints.down("sm")]:{padding:t.spacing(6,2)}})),I=r(C)(({theme:t})=>({color:f.white,fontWeight:700,textAlign:"center",position:"relative",zIndex:10,fontSize:48,[t.breakpoints.down("sm")]:{fontSize:32}})),m=62,z=r(c)(({theme:t})=>({display:"flex",gap:t.spacing(3),justifyContent:"center",width:"100%",position:"relative",zIndex:10,"& > *":{flex:"1 1 0",minWidth:0,maxWidth:850,"&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *":{minHeight:427}},"& .MuiCard-root":{containerType:"inline-size",overflow:"hidden",height:"min(62.5cqw + 130px, 427px)"},"& .MuiCardActionArea-root":{height:"100%"},"&& .MuiCardMedia-root":{height:"min(62.5cqw, 297px)",transition:"height 0.3s ease"},"&& .MuiCardActionArea-root:hover .MuiCardMedia-root":{height:`min(calc(62.5cqw - ${m}px), ${297-m}px)`},"& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)":{maxWidth:"100%"},[t.breakpoints.down("sm")]:{display:"none"}})),P=r(c)(({theme:t})=>({display:"none",width:"100%",position:"relative",zIndex:10,[t.breakpoints.down("sm")]:{display:"block"}})),T=r("div")({borderRadius:16,overflow:"hidden",display:"flex",flexDirection:"column","&& .MuiCardContent-root":{backgroundColor:"rgba(0, 0, 0, 0.6)"},"&& .MuiCard-root":{minWidth:0,maxWidth:"100%"},"&& .MuiTypography-h6":{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",WebkitLineClamp:"unset",WebkitBoxOrient:"unset"}}),_=k("/dcl-logo.svg").replace(/^http:\/\//,"https://"),n=l.memo(({card:t,loading:a})=>{const i=v(),{data:d}=O(t?.creatorAddress,{skip:!t?.creatorAddress});let s=d?.avatars?.[0];return!s&&t?.creatorName&&(s={name:t.creatorName,ethAddress:"",...t.isGenesisPlaza&&{avatar:{snapshots:{face256:_,body:""}}}}),e.jsx(T,{"data-place":w.LANDING_EXPLORE,"data-event":"click","data-card":t?.title,onClick:i,children:e.jsx(L,{loading:a,image:t?.image??"",sceneName:t?.title??"",avatar:s,coordinates:t?.coordinates,leftBadgeTransparent:!0,hideLocation:!0,leftBadge:t?e.jsxs(D,{children:[e.jsx(B,{}),e.jsx(E,{count:t.users})]}):void 0})})});n.displayName="WhatsOnCard";const H=[0,1,2],S=l.memo(()=>{const t=y(),{data:a,isLoading:i}=M(),{isConnected:d}=j(),{handleClick:p,isDownloadModalOpen:s,closeDownloadModal:u,downloadModalProps:x}=A(),h=l.useCallback(o=>{d||(o.preventDefault(),o.stopPropagation(),p(o))},[d,p]);if(!i&&a.length===0)return null;const g=l.useMemo(()=>i?H.map(o=>e.jsx(n,{loading:!0},o)):a.map(o=>e.jsx(n,{card:o},o.id)),[i,a]);return e.jsxs(G,{children:[e.jsx(N,{variant:"absolute"}),e.jsx(I,{variant:"h3",children:t("page.home.whats_on.title")}),e.jsx(z,{onClickCapture:h,children:g}),e.jsx(P,{onClickCapture:h,children:i?e.jsx(n,{loading:!0}):a.length>0&&e.jsx(b,{items:a,renderItem:o=>e.jsx(n,{card:o}),keyExtractor:o=>o.id,autoplayDelay:5e3})}),e.jsx(W,{open:s,onClose:u,...x})]})});S.displayName="WhatsOn";export{S as WhatsOn};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-DckfeXPH.js","sources":["../../src/components/Home/WhatsOn/WhatsOn.styled.ts","../../src/components/Home/WhatsOn/WhatsOnCard.tsx","../../src/components/Home/WhatsOn/WhatsOn.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst WhatsOnContainer = styled(Box)(({ theme }) => ({\n width: '100%',\n padding: theme.spacing(10, 8),\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(6),\n position: 'relative',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: theme.spacing(6, 2)\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 700,\n textAlign: 'center',\n position: 'relative',\n zIndex: 10,\n fontSize: 48,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst JUMP_IN_HEIGHT = 62\n\nconst CardsGrid = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(3),\n justifyContent: 'center',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n /* eslint-disable @typescript-eslint/naming-convention */\n '& > *': {\n flex: '1 1 0',\n minWidth: 0,\n maxWidth: 850,\n '&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *': {\n minHeight: 427\n }\n },\n '& .MuiCard-root': {\n containerType: 'inline-size',\n overflow: 'hidden',\n height: 'min(62.5cqw + 130px, 427px)'\n },\n '& .MuiCardActionArea-root': {\n height: '100%'\n },\n '&& .MuiCardMedia-root': {\n height: 'min(62.5cqw, 297px)',\n transition: 'height 0.3s ease'\n },\n '&& .MuiCardActionArea-root:hover .MuiCardMedia-root': {\n height: `min(calc(62.5cqw - ${JUMP_IN_HEIGHT}px), ${297 - JUMP_IN_HEIGHT}px)`\n },\n // Expand avatar container so the \"by\" label is not truncated\n // (targets the inner Box wrapping the AvatarFace inside EventCard)\n '& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)': {\n maxWidth: '100%'\n },\n /* eslint-enable @typescript-eslint/naming-convention */\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst MobileCarousel = styled(Box)(({ theme }) => ({\n display: 'none',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n [theme.breakpoints.down('sm')]: {\n display: 'block'\n }\n}))\n\nconst CardWrapper = styled('div')({\n borderRadius: 16,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n // Override ui2's 0.4 opacity to 0.6\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCardContent-root': {\n backgroundColor: 'rgba(0, 0, 0, 0.6)'\n },\n // Force card to respect container width on small screens\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCard-root': {\n minWidth: 0,\n maxWidth: '100%'\n },\n /* eslint-disable @typescript-eslint/naming-convention */\n '&& .MuiTypography-h6': {\n display: 'block',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n WebkitLineClamp: 'unset',\n WebkitBoxOrient: 'unset'\n }\n /* eslint-enable @typescript-eslint/naming-convention */\n})\n\nexport { CardWrapper, CardsGrid, WhatsOnContainer, MobileCarousel, SectionTitle }\n","import { memo } from 'react'\nimport type { Avatar } from '@dcl/schemas'\nimport { BadgeGroup, EventCard, LiveBadge, UserCountBadge } from 'decentraland-ui2'\nimport type { ExploreItem } from '../../../features/events/events.types'\nimport { useGetProfileQuery } from '../../../features/profile/profile.client'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { CardWrapper } from './WhatsOn.styled'\n\n// AvatarFace only passes through URLs starting with https://, otherwise it\n// prepends peer.decentraland.org. In prod assetUrl gives https://cdn..., in\n// dev we force https by replacing the protocol.\nconst DCL_LOGO_URL = assetUrl('/dcl-logo.svg').replace(/^http:\\/\\//, 'https://')\n\nconst WhatsOnCard = memo(({ card, loading }: { card?: ExploreItem; loading?: boolean }) => {\n const onClickHandle = useTrackClick()\n const { data: profile } = useGetProfileQuery(card?.creatorAddress, { skip: !card?.creatorAddress })\n const fetchedAvatar = profile?.avatars?.[0]\n\n let avatar: Avatar | undefined = fetchedAvatar as Avatar | undefined\n if (!avatar && card?.creatorName) {\n avatar = {\n name: card.creatorName,\n ethAddress: '',\n ...(card.isGenesisPlaza && {\n avatar: { snapshots: { face256: DCL_LOGO_URL, body: '' } }\n })\n } as Avatar\n }\n\n return (\n <CardWrapper data-place={SectionViewedTrack.LANDING_EXPLORE} data-event=\"click\" data-card={card?.title} onClick={onClickHandle}>\n <EventCard\n loading={loading}\n image={card?.image ?? ''}\n sceneName={card?.title ?? ''}\n avatar={avatar}\n coordinates={card?.coordinates}\n leftBadgeTransparent\n hideLocation\n leftBadge={\n card ? (\n <BadgeGroup>\n <LiveBadge />\n <UserCountBadge count={card.users} />\n </BadgeGroup>\n ) : undefined\n }\n />\n </CardWrapper>\n )\n})\n\nWhatsOnCard.displayName = 'WhatsOnCard'\n\nexport { WhatsOnCard }\n","import { memo, useCallback, useMemo } from 'react'\nimport { AnimatedBackground, DownloadModal } from 'decentraland-ui2'\nimport { useGetWhatsOnDataQuery } from '../../../features/events/events.client'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport { useWalletAddress } from '../../../hooks/useWalletAddress'\nimport { Carousel } from '../../Carousel/Carousel'\nimport { WhatsOnCard } from './WhatsOnCard'\nimport { CardsGrid, MobileCarousel, SectionTitle, WhatsOnContainer } from './WhatsOn.styled'\n\nconst LOADING_PLACEHOLDERS = [0, 1, 2]\n\nconst WhatsOn = memo(() => {\n const l = useFormatMessage()\n const { data: cards, isLoading } = useGetWhatsOnDataQuery()\n const { isConnected } = useWalletAddress()\n const { handleClick, isDownloadModalOpen, closeDownloadModal, downloadModalProps } = useHangOutAction()\n\n // Intercept card clicks when not signed in → show download modal instead\n const handleCardClick = useCallback(\n (e: React.MouseEvent) => {\n if (!isConnected) {\n e.preventDefault()\n e.stopPropagation()\n handleClick(e)\n }\n },\n [isConnected, handleClick]\n )\n\n if (!isLoading && cards.length === 0) return null\n\n const cardElements = useMemo(\n () =>\n isLoading\n ? LOADING_PLACEHOLDERS.map(i => <WhatsOnCard key={i} loading />)\n : cards.map(card => <WhatsOnCard key={card.id} card={card} />),\n [isLoading, cards]\n )\n\n return (\n <WhatsOnContainer>\n <AnimatedBackground variant=\"absolute\" />\n <SectionTitle variant=\"h3\">{l('page.home.whats_on.title')}</SectionTitle>\n <CardsGrid onClickCapture={handleCardClick}>{cardElements}</CardsGrid>\n <MobileCarousel onClickCapture={handleCardClick}>\n {isLoading ? (\n <WhatsOnCard loading />\n ) : (\n cards.length > 0 && (\n <Carousel items={cards} renderItem={card => <WhatsOnCard card={card} />} keyExtractor={card => card.id} autoplayDelay={5000} />\n )\n )}\n </MobileCarousel>\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n </WhatsOnContainer>\n )\n})\n\nWhatsOn.displayName = 'WhatsOn'\n\nexport { WhatsOn }\n"],"names":["WhatsOnContainer","styled","Box","theme","SectionTitle","Typography","dclColors.neutral","JUMP_IN_HEIGHT","CardsGrid","MobileCarousel","CardWrapper","DCL_LOGO_URL","assetUrl","WhatsOnCard","memo","card","loading","onClickHandle","useTrackClick","profile","useGetProfileQuery","avatar","jsx","SectionViewedTrack","EventCard","jsxs","BadgeGroup","LiveBadge","UserCountBadge","LOADING_PLACEHOLDERS","WhatsOn","l","useFormatMessage","cards","isLoading","useGetWhatsOnDataQuery","isConnected","useWalletAddress","handleClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","useHangOutAction","handleCardClick","useCallback","e","cardElements","useMemo","i","AnimatedBackground","Carousel","DownloadModal"],"mappings":"syBAEA,MAAMA,EAAmBC,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACnD,MAAO,OACP,QAASA,EAAM,QAAQ,GAAI,CAAC,EAC5B,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,SAAU,WACV,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAASA,EAAM,QAAQ,EAAG,CAAC,CAAA,CAE/B,EAAE,EAEIC,EAAeH,EAAOI,CAAU,EAAE,CAAC,CAAE,MAAAF,MAAa,CACtD,MAAOG,EAAkB,MACzB,WAAY,IACZ,UAAW,SACX,SAAU,WACV,OAAQ,GACR,SAAU,GACV,CAACH,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,SAAU,EAAA,CAEd,EAAE,EAEII,EAAiB,GAEjBC,EAAYP,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CAC5C,QAAS,OACT,IAAKA,EAAM,QAAQ,CAAC,EACpB,eAAgB,SAChB,MAAO,OACP,SAAU,WACV,OAAQ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,EAAWD,CAAK,CAAA,EAGnB,cACGjC,EAAA,CACC,SAAA,CAAAsB,EAAAA,IAAC2B,EAAA,CAAmB,QAAQ,UAAA,CAAW,QACtC7C,EAAA,CAAa,QAAQ,KAAM,SAAA2B,EAAE,0BAA0B,EAAE,EAC1DT,EAAAA,IAACd,EAAA,CAAU,eAAgBmC,EAAkB,SAAAG,EAAa,EAC1DxB,EAAAA,IAACb,EAAA,CAAe,eAAgBkC,EAC7B,SAAAT,EACCZ,MAACT,EAAA,CAAY,QAAO,EAAA,CAAC,EAErBoB,EAAM,OAAS,GACbX,EAAAA,IAAC4B,EAAA,CAAS,MAAOjB,EAAO,WAAYlB,GAAQO,EAAAA,IAACT,EAAA,CAAY,KAAAE,CAAA,CAAY,EAAI,aAAcA,GAAQA,EAAK,GAAI,cAAe,IAAM,EAGnI,QACCoC,EAAA,CAAc,KAAMZ,EAAqB,QAASC,EAAqB,GAAGC,CAAA,CAAoB,CAAA,EACjG,CAEJ,CAAC,EAEDX,EAAQ,YAAc"}
@@ -1 +1 @@
1
- import{s as a,a as c,v as g,z as m,w as y,M as T,N as A,j as o,P as E,Q as x,R as N,U as V,V as $}from"./index-DUmIu2EK.js";import{r}from"./vendor-router-D_36sTKu.js";import{u as _}from"./profile.client-BtZZbgxj.js";import{C as D}from"./Carousel-DJd7E-wq.js";import{J as H,A as P}from"./JumpInIcon-bPOWl5ae.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./createSvgIcon-CnAtXIjx.js";import"./useSlot-DM_UQPu8.js";const U=a(c)(({theme:e})=>({position:"relative",display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(6),padding:`${e.spacing(10)} ${e.spacing(2.5)}`,width:"100%",backgroundColor:"#570F88",overflow:"hidden","& .desktop-only-ellipse":{[e.breakpoints.down("sm")]:{display:"none"}},[e.breakpoints.down("sm")]:{padding:`${e.spacing(6)} 0`,gap:e.spacing(4)}})),R=a(g)(({theme:e})=>({color:m.white,fontWeight:600,textAlign:"center",position:"relative",zIndex:1,[e.breakpoints.down("sm")]:{fontSize:32,padding:`0 ${e.spacing(3)}`}})),W=a(c)(({theme:e})=>({display:"flex",gap:e.spacing(3),width:"100%",justifyContent:"center",padding:`0 ${e.spacing(2.5)}`,zIndex:1,[e.breakpoints.down("sm")]:{display:"none"}})),L=a(c)(({theme:e})=>({position:"relative",flex:"1 1 0",minWidth:0,maxWidth:680,height:450,borderRadius:e.spacing(3),overflow:"hidden",backgroundColor:"rgba(0, 0, 0, 0.6)",boxShadow:"0px 2px 4px 0px rgba(0, 0, 0, 0.04)",cursor:"pointer",display:"flex",flexDirection:"column","&:hover .catch-vibe-video, &.playing .catch-vibe-video":{opacity:1},"&:hover .catch-vibe-image, &.playing .catch-vibe-image":{opacity:0},[e.breakpoints.down("lg")]:{height:380},[e.breakpoints.down("md")]:{height:320},[e.breakpoints.down("sm")]:{margin:"0 auto"}})),B=a(c)({position:"relative",flex:1,minHeight:0,borderRadius:"24px",overflow:"hidden"}),O=a("img")({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",transition:"opacity 0.4s ease",zIndex:1}),G=a("video")({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",opacity:0,transition:"opacity 0.4s ease"}),J=a(c)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"space-between",padding:`${e.spacing(2)} ${e.spacing(1.5)} ${e.spacing(2)} ${e.spacing(2)}`,flexShrink:0})),Q=a(c)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(1)})),q=a(g)({color:m.white,fontWeight:600,fontSize:14,lineHeight:1.57});a(g)({color:m.white,fontWeight:600,fontSize:14,lineHeight:1.57});const K=a(c)(({theme:e})=>({position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.3)",zIndex:2,cursor:"pointer",transition:"opacity 0.3s ease",[e.breakpoints.up("sm")]:{top:"auto",right:"auto",bottom:13,left:13,width:"auto",height:26,padding:"5.5px 6px",borderRadius:8,backgroundColor:"#161518"}})),X=a("button")({position:"absolute",top:12,right:12,width:32,height:32,borderRadius:8,border:"none",backgroundColor:"rgba(0, 0, 0, 0.6)",color:"#FCFCFC",fontSize:16,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",zIndex:3,transition:"background-color 0.2s ease","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.8)"}}),Y=a(c)(({theme:e})=>({width:0,height:0,borderStyle:"solid",borderColor:"transparent transparent transparent #FCFCFC",flexShrink:0,borderWidth:"20px 0 20px 34px",[e.breakpoints.up("sm")]:{borderWidth:"5px 0 5px 8px"}})),Z=a(g)(({theme:e})=>({color:"#FCFCFC",fontWeight:600,fontSize:14,lineHeight:"normal",whiteSpace:"nowrap",[e.breakpoints.down("sm")]:{display:"none"}}));a("img")(({theme:e})=>({position:"absolute",right:-20,bottom:-40,height:"110%",maxHeight:650,pointerEvents:"none",zIndex:0,[e.breakpoints.down("lg")]:{right:-60,opacity:.5},[e.breakpoints.down("md")]:{display:"none"}}));const ee=a(c)(({theme:e})=>({display:"none",width:"100%",zIndex:1,[e.breakpoints.down("sm")]:{display:"block"}}));function te(e){const p=Math.floor(e/60),i=Math.floor(e%60);return`${p}:${i.toString().padStart(2,"0")}`}const v=({item:e})=>{const p=y(),i=r.useRef(null),[d,l]=r.useState(!1),[h,n]=r.useState(!0),[b,C]=r.useState(null),{data:w}=_(e.userAddress,{skip:!e.userAddress}),f=w?.avatars?.[0],k=e.userAvatarUrl.startsWith("http")?e.userAvatarUrl:`${window.location.origin}${e.userAvatarUrl}`.replace(/^http:\/\//,"https://"),j=!!f?.avatar?.snapshots?.face256?f:{name:f?.name??e.userName,ethAddress:e.userAddress??"",avatar:{snapshots:{face256:k,body:""}}};r.useEffect(()=>{const t=i.current;if(!t)return;const s=()=>{t.duration&&isFinite(t.duration)&&C(te(t.duration))};return t.addEventListener("loadedmetadata",s),()=>t.removeEventListener("loadedmetadata",s)},[]);const u=typeof window<"u"&&!window.matchMedia("(hover: hover)").matches,I=r.useCallback(()=>{const t=i.current;t&&(d?(t.pause(),l(!1)):(t.muted=!1,n(!1),t.play().catch(()=>{t.muted=!0,n(!0),t.play().catch(s=>console.warn("Video playback failed:",s))}),l(!0)))},[d]);r.useEffect(()=>{const t=i.current;if(!t||!u)return;const s=new IntersectionObserver(([S])=>{!S.isIntersecting&&!t.paused&&(t.pause(),t.currentTime=0,l(!1),n(!0))},{threshold:.3});return s.observe(t),()=>s.disconnect()},[u]);const F=r.useCallback(()=>{const t=i.current;t&&t.play(),l(!0)},[]),M=r.useCallback(()=>{const t=i.current;t&&(t.pause(),t.currentTime=0,t.muted=!0),l(!1),n(!0)},[]),z=r.useCallback(t=>{t.stopPropagation();const s=i.current;s&&(s.muted=!s.muted,n(s.muted))},[]);return o.jsxs(L,{className:d?"playing":"",onMouseEnter:u?void 0:F,onMouseLeave:u?void 0:M,onClick:u?I:void 0,children:[o.jsxs(B,{children:[o.jsx(O,{className:"catch-vibe-image",src:e.imageUrl,alt:e.userName,loading:"lazy",width:680,height:382}),o.jsx(G,{className:"catch-vibe-video",ref:i,loop:!0,muted:!0,playsInline:!0,preload:"metadata",poster:e.imageUrl,src:e.videoUrl}),!d&&o.jsxs(K,{children:[o.jsx(Y,{}),o.jsx(Z,{children:b??"0:00"})]}),d&&o.jsx(X,{onClick:z,"aria-label":p(h?"page.home.catch_the_vibe.unmute":"page.home.catch_the_vibe.mute"),children:h?"🔇":"🔊"})]}),o.jsx(J,{children:o.jsxs(Q,{children:[o.jsx(P,{size:"small",avatar:j}),o.jsx(q,{children:e.userName})]})})]})},oe=r.memo(()=>{const e=y(),p=T(),{handleClick:i,isDownloadModalOpen:d,closeDownloadModal:l,downloadModalProps:h}=A();return o.jsxs(U,{children:[o.jsx("img",{src:E("/ellipse_gradient.webp"),alt:"",style:{position:"absolute",top:0,left:0,width:"60%",height:"100%",objectFit:"cover",objectPosition:"center left",pointerEvents:"none",zIndex:0},className:"desktop-only-ellipse"}),o.jsx(R,{variant:"h3",children:e("page.home.catch_the_vibe.title")}),o.jsx(W,{children:x.cards.map((n,b)=>o.jsx(v,{item:n},b))}),o.jsx(ee,{children:o.jsx(D,{items:x.cards,renderItem:n=>o.jsx(v,{item:n}),keyExtractor:n=>n.userName,autoplayDelay:0})}),o.jsx(N,{variant:"contained",onClick:n=>{p(n),i(n)},"data-place":V.LANDING_CATCH_THE_VIBE,"data-event":"click",endIcon:o.jsx(H,{}),children:e("page.home.hang_out_now")}),o.jsx($,{open:d,onClose:l,...h})]})});oe.displayName="CatchTheVibe";export{oe as CatchTheVibe};
1
+ import{s as a,a as c,v as g,z as m,w as y,M as T,N as A,j as o,P as E,Q as x,R as N,U as V,V as $}from"./index-_DB-noma.js";import{r}from"./vendor-router-D_36sTKu.js";import{u as _}from"./profile.client-CmNJLNox.js";import{C as D}from"./Carousel-8PM_J7Qk.js";import{J as H,A as P}from"./JumpInIcon-TFxEXFSr.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./createSvgIcon-Ck-nYodG.js";import"./useSlot-Cy5UGC7c.js";const U=a(c)(({theme:e})=>({position:"relative",display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(6),padding:`${e.spacing(10)} ${e.spacing(2.5)}`,width:"100%",backgroundColor:"#570F88",overflow:"hidden","& .desktop-only-ellipse":{[e.breakpoints.down("sm")]:{display:"none"}},[e.breakpoints.down("sm")]:{padding:`${e.spacing(6)} 0`,gap:e.spacing(4)}})),R=a(g)(({theme:e})=>({color:m.white,fontWeight:600,textAlign:"center",position:"relative",zIndex:1,[e.breakpoints.down("sm")]:{fontSize:32,padding:`0 ${e.spacing(3)}`}})),W=a(c)(({theme:e})=>({display:"flex",gap:e.spacing(3),width:"100%",justifyContent:"center",padding:`0 ${e.spacing(2.5)}`,zIndex:1,[e.breakpoints.down("sm")]:{display:"none"}})),L=a(c)(({theme:e})=>({position:"relative",flex:"1 1 0",minWidth:0,maxWidth:680,height:450,borderRadius:e.spacing(3),overflow:"hidden",backgroundColor:"rgba(0, 0, 0, 0.6)",boxShadow:"0px 2px 4px 0px rgba(0, 0, 0, 0.04)",cursor:"pointer",display:"flex",flexDirection:"column","&:hover .catch-vibe-video, &.playing .catch-vibe-video":{opacity:1},"&:hover .catch-vibe-image, &.playing .catch-vibe-image":{opacity:0},[e.breakpoints.down("lg")]:{height:380},[e.breakpoints.down("md")]:{height:320},[e.breakpoints.down("sm")]:{margin:"0 auto"}})),B=a(c)({position:"relative",flex:1,minHeight:0,borderRadius:"24px",overflow:"hidden"}),O=a("img")({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",transition:"opacity 0.4s ease",zIndex:1}),G=a("video")({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",opacity:0,transition:"opacity 0.4s ease"}),J=a(c)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"space-between",padding:`${e.spacing(2)} ${e.spacing(1.5)} ${e.spacing(2)} ${e.spacing(2)}`,flexShrink:0})),Q=a(c)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(1)})),q=a(g)({color:m.white,fontWeight:600,fontSize:14,lineHeight:1.57});a(g)({color:m.white,fontWeight:600,fontSize:14,lineHeight:1.57});const K=a(c)(({theme:e})=>({position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.3)",zIndex:2,cursor:"pointer",transition:"opacity 0.3s ease",[e.breakpoints.up("sm")]:{top:"auto",right:"auto",bottom:13,left:13,width:"auto",height:26,padding:"5.5px 6px",borderRadius:8,backgroundColor:"#161518"}})),X=a("button")({position:"absolute",top:12,right:12,width:32,height:32,borderRadius:8,border:"none",backgroundColor:"rgba(0, 0, 0, 0.6)",color:"#FCFCFC",fontSize:16,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",zIndex:3,transition:"background-color 0.2s ease","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.8)"}}),Y=a(c)(({theme:e})=>({width:0,height:0,borderStyle:"solid",borderColor:"transparent transparent transparent #FCFCFC",flexShrink:0,borderWidth:"20px 0 20px 34px",[e.breakpoints.up("sm")]:{borderWidth:"5px 0 5px 8px"}})),Z=a(g)(({theme:e})=>({color:"#FCFCFC",fontWeight:600,fontSize:14,lineHeight:"normal",whiteSpace:"nowrap",[e.breakpoints.down("sm")]:{display:"none"}}));a("img")(({theme:e})=>({position:"absolute",right:-20,bottom:-40,height:"110%",maxHeight:650,pointerEvents:"none",zIndex:0,[e.breakpoints.down("lg")]:{right:-60,opacity:.5},[e.breakpoints.down("md")]:{display:"none"}}));const ee=a(c)(({theme:e})=>({display:"none",width:"100%",zIndex:1,[e.breakpoints.down("sm")]:{display:"block"}}));function te(e){const p=Math.floor(e/60),i=Math.floor(e%60);return`${p}:${i.toString().padStart(2,"0")}`}const v=({item:e})=>{const p=y(),i=r.useRef(null),[d,l]=r.useState(!1),[h,n]=r.useState(!0),[b,C]=r.useState(null),{data:w}=_(e.userAddress,{skip:!e.userAddress}),f=w?.avatars?.[0],k=e.userAvatarUrl.startsWith("http")?e.userAvatarUrl:`${window.location.origin}${e.userAvatarUrl}`.replace(/^http:\/\//,"https://"),j=!!f?.avatar?.snapshots?.face256?f:{name:f?.name??e.userName,ethAddress:e.userAddress??"",avatar:{snapshots:{face256:k,body:""}}};r.useEffect(()=>{const t=i.current;if(!t)return;const s=()=>{t.duration&&isFinite(t.duration)&&C(te(t.duration))};return t.addEventListener("loadedmetadata",s),()=>t.removeEventListener("loadedmetadata",s)},[]);const u=typeof window<"u"&&!window.matchMedia("(hover: hover)").matches,I=r.useCallback(()=>{const t=i.current;t&&(d?(t.pause(),l(!1)):(t.muted=!1,n(!1),t.play().catch(()=>{t.muted=!0,n(!0),t.play().catch(s=>console.warn("Video playback failed:",s))}),l(!0)))},[d]);r.useEffect(()=>{const t=i.current;if(!t||!u)return;const s=new IntersectionObserver(([S])=>{!S.isIntersecting&&!t.paused&&(t.pause(),t.currentTime=0,l(!1),n(!0))},{threshold:.3});return s.observe(t),()=>s.disconnect()},[u]);const F=r.useCallback(()=>{const t=i.current;t&&t.play(),l(!0)},[]),M=r.useCallback(()=>{const t=i.current;t&&(t.pause(),t.currentTime=0,t.muted=!0),l(!1),n(!0)},[]),z=r.useCallback(t=>{t.stopPropagation();const s=i.current;s&&(s.muted=!s.muted,n(s.muted))},[]);return o.jsxs(L,{className:d?"playing":"",onMouseEnter:u?void 0:F,onMouseLeave:u?void 0:M,onClick:u?I:void 0,children:[o.jsxs(B,{children:[o.jsx(O,{className:"catch-vibe-image",src:e.imageUrl,alt:e.userName,loading:"lazy",width:680,height:382}),o.jsx(G,{className:"catch-vibe-video",ref:i,loop:!0,muted:!0,playsInline:!0,preload:"metadata",poster:e.imageUrl,src:e.videoUrl}),!d&&o.jsxs(K,{children:[o.jsx(Y,{}),o.jsx(Z,{children:b??"0:00"})]}),d&&o.jsx(X,{onClick:z,"aria-label":p(h?"page.home.catch_the_vibe.unmute":"page.home.catch_the_vibe.mute"),children:h?"🔇":"🔊"})]}),o.jsx(J,{children:o.jsxs(Q,{children:[o.jsx(P,{size:"small",avatar:j}),o.jsx(q,{children:e.userName})]})})]})},oe=r.memo(()=>{const e=y(),p=T(),{handleClick:i,isDownloadModalOpen:d,closeDownloadModal:l,downloadModalProps:h}=A();return o.jsxs(U,{children:[o.jsx("img",{src:E("/ellipse_gradient.webp"),alt:"",style:{position:"absolute",top:0,left:0,width:"60%",height:"100%",objectFit:"cover",objectPosition:"center left",pointerEvents:"none",zIndex:0},className:"desktop-only-ellipse"}),o.jsx(R,{variant:"h3",children:e("page.home.catch_the_vibe.title")}),o.jsx(W,{children:x.cards.map((n,b)=>o.jsx(v,{item:n},b))}),o.jsx(ee,{children:o.jsx(D,{items:x.cards,renderItem:n=>o.jsx(v,{item:n}),keyExtractor:n=>n.userName,autoplayDelay:0})}),o.jsx(N,{variant:"contained",onClick:n=>{p(n),i(n)},"data-place":V.LANDING_CATCH_THE_VIBE,"data-event":"click",endIcon:o.jsx(H,{}),children:e("page.home.hang_out_now")}),o.jsx($,{open:d,onClose:l,...h})]})});oe.displayName="CatchTheVibe";export{oe as CatchTheVibe};
@@ -1 +1 @@
1
- {"version":3,"file":"index-CsY_wahP.js","sources":["../../src/components/Home/CatchTheVibe/CatchTheVibe.styled.ts","../../src/components/Home/CatchTheVibe/CatchTheVibe.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst CatchTheVibeContainer = styled(Box)(({ theme }) => ({\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(6),\n padding: `${theme.spacing(10)} ${theme.spacing(2.5)}`,\n width: '100%',\n backgroundColor: '#570F88',\n overflow: 'hidden',\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& .desktop-only-ellipse': {\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n },\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} 0`,\n gap: theme.spacing(4)\n }\n}))\n\nconst CatchTheVibeTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 600,\n textAlign: 'center',\n position: 'relative',\n zIndex: 1,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32,\n padding: `0 ${theme.spacing(3)}`\n }\n}))\n\nconst CardsRow = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(3),\n width: '100%',\n justifyContent: 'center',\n padding: `0 ${theme.spacing(2.5)}`,\n zIndex: 1,\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst VideoCard = styled(Box)(({ theme }) => ({\n position: 'relative',\n flex: '1 1 0',\n minWidth: 0,\n maxWidth: 680,\n height: 450,\n borderRadius: theme.spacing(3),\n overflow: 'hidden',\n backgroundColor: 'rgba(0, 0, 0, 0.6)',\n boxShadow: '0px 2px 4px 0px rgba(0, 0, 0, 0.04)',\n cursor: 'pointer',\n display: 'flex',\n flexDirection: 'column',\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&:hover .catch-vibe-video, &.playing .catch-vibe-video': {\n opacity: 1\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&:hover .catch-vibe-image, &.playing .catch-vibe-image': {\n opacity: 0\n },\n [theme.breakpoints.down('lg')]: {\n height: 380\n },\n [theme.breakpoints.down('md')]: {\n height: 320\n },\n [theme.breakpoints.down('sm')]: {\n margin: '0 auto'\n }\n}))\n\nconst MediaContainer = styled(Box)({\n position: 'relative',\n flex: 1,\n minHeight: 0,\n borderRadius: '24px',\n overflow: 'hidden'\n})\n\nconst CardImage = styled('img')({\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n transition: 'opacity 0.4s ease',\n zIndex: 1\n})\n\nconst VideoElement = styled('video')({\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n opacity: 0,\n transition: 'opacity 0.4s ease'\n})\n\nconst VideoCardFooter = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n padding: `${theme.spacing(2)} ${theme.spacing(1.5)} ${theme.spacing(2)} ${theme.spacing(2)}`,\n flexShrink: 0\n}))\n\nconst UserInfo = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n gap: theme.spacing(1)\n}))\n\nconst UserName = styled(Typography)({\n color: dclColors.neutral.white,\n fontWeight: 600,\n fontSize: 14,\n lineHeight: 1.57\n})\n\nconst CommunityLabel = styled(Typography)({\n color: dclColors.neutral.white,\n fontWeight: 600,\n fontSize: 14,\n lineHeight: 1.57\n})\n\nconst PlayBadge = styled(Box)(({ theme }) => ({\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n backgroundColor: 'rgba(0, 0, 0, 0.3)',\n zIndex: 2,\n cursor: 'pointer',\n transition: 'opacity 0.3s ease',\n // Desktop: small badge at bottom-left\n [theme.breakpoints.up('sm')]: {\n top: 'auto',\n right: 'auto',\n bottom: 13,\n left: 13,\n width: 'auto',\n height: 26,\n padding: '5.5px 6px',\n borderRadius: 8,\n backgroundColor: '#161518'\n }\n}))\n\nconst MuteButton = styled('button')({\n position: 'absolute',\n top: 12,\n right: 12,\n width: 32,\n height: 32,\n borderRadius: 8,\n border: 'none',\n backgroundColor: 'rgba(0, 0, 0, 0.6)',\n color: '#FCFCFC',\n fontSize: 16,\n cursor: 'pointer',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n zIndex: 3,\n transition: 'background-color 0.2s ease',\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&:hover': {\n backgroundColor: 'rgba(0, 0, 0, 0.8)'\n }\n})\n\nconst PlayIcon = styled(Box)(({ theme }) => ({\n width: 0,\n height: 0,\n borderStyle: 'solid',\n borderColor: 'transparent transparent transparent #FCFCFC',\n flexShrink: 0,\n // Mobile: large centered play triangle\n borderWidth: '20px 0 20px 34px',\n // Desktop: small badge play triangle\n [theme.breakpoints.up('sm')]: {\n borderWidth: '5px 0 5px 8px'\n }\n}))\n\nconst DurationText = styled(Typography)(({ theme }) => ({\n color: '#FCFCFC',\n fontWeight: 600,\n fontSize: 14,\n lineHeight: 'normal',\n whiteSpace: 'nowrap',\n // Hide duration in mobile overlay — only show on desktop badge\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst PersonaImage = styled('img')(({ theme }) => ({\n position: 'absolute',\n right: -20,\n bottom: -40,\n height: '110%',\n maxHeight: 650,\n pointerEvents: 'none',\n zIndex: 0,\n [theme.breakpoints.down('lg')]: {\n right: -60,\n opacity: 0.5\n },\n [theme.breakpoints.down('md')]: {\n display: 'none'\n }\n}))\n\nconst MobileCarouselContainer = styled(Box)(({ theme }) => ({\n display: 'none',\n width: '100%',\n zIndex: 1,\n [theme.breakpoints.down('sm')]: {\n display: 'block'\n }\n}))\n\nexport {\n CardImage,\n CardsRow,\n MediaContainer,\n CatchTheVibeContainer,\n CatchTheVibeTitle,\n CommunityLabel,\n DurationText,\n MobileCarouselContainer,\n MuteButton,\n PersonaImage,\n PlayBadge,\n PlayIcon,\n UserInfo,\n UserName,\n VideoCard,\n VideoCardFooter,\n VideoElement\n}\n","import { memo, useCallback, useEffect, useRef, useState } from 'react'\nimport type { Avatar } from '@dcl/schemas'\nimport { AvatarFace, DownloadModal, JumpInIcon } from 'decentraland-ui2'\nimport { catchTheVibeContent } from '../../../data/static-content'\nimport { useGetProfileQuery } from '../../../features/profile/profile.client'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { Carousel } from '../../Carousel/Carousel'\nimport { HangOutButton } from '../shared/HangOutButton.styled'\nimport {\n CardImage,\n CardsRow,\n CatchTheVibeContainer,\n CatchTheVibeTitle,\n DurationText,\n MediaContainer,\n MobileCarouselContainer,\n MuteButton,\n PlayBadge,\n PlayIcon,\n UserInfo,\n UserName,\n VideoCard,\n VideoCardFooter,\n VideoElement\n} from './CatchTheVibe.styled'\n\ninterface CardItem {\n imageUrl: string\n videoUrl: string\n userName: string\n userAddress?: string\n userAvatarUrl: string\n}\n\nfunction formatDuration(seconds: number): string {\n const mins = Math.floor(seconds / 60)\n const secs = Math.floor(seconds % 60)\n return `${mins}:${secs.toString().padStart(2, '0')}`\n}\n\nconst VideoCardContent = ({ item }: { item: CardItem }) => {\n const l = useFormatMessage()\n const videoRef = useRef<HTMLVideoElement>(null)\n const [isPlaying, setIsPlaying] = useState(false)\n const [isMuted, setIsMuted] = useState(true)\n const [duration, setDuration] = useState<string | null>(null)\n const { data: profile } = useGetProfileQuery(item.userAddress, { skip: !item.userAddress })\n const fetchedAvatar = profile?.avatars?.[0] as Avatar | undefined\n // AvatarFace only passes through URLs starting with https://.\n const fallbackFace = item.userAvatarUrl.startsWith('http')\n ? item.userAvatarUrl\n : `${window.location.origin}${item.userAvatarUrl}`.replace(/^http:\\/\\//, 'https://')\n\n // Use fetched profile if it has a face256 snapshot, otherwise fall back to static image\n const hasFace = !!fetchedAvatar?.avatar?.snapshots?.face256\n const avatar: Avatar = hasFace\n ? fetchedAvatar\n : ({\n name: fetchedAvatar?.name ?? item.userName,\n ethAddress: item.userAddress ?? '',\n avatar: { snapshots: { face256: fallbackFace, body: '' } }\n } as Avatar)\n\n useEffect(() => {\n const video = videoRef.current\n if (!video) return\n const handleLoaded = () => {\n if (video.duration && isFinite(video.duration)) {\n setDuration(formatDuration(video.duration))\n }\n }\n video.addEventListener('loadedmetadata', handleLoaded)\n return () => video.removeEventListener('loadedmetadata', handleLoaded)\n }, [])\n\n const isTouchDevice = typeof window !== 'undefined' && !window.matchMedia('(hover: hover)').matches\n\n const handleMobilePlay = useCallback(() => {\n const video = videoRef.current\n if (!video) return\n if (isPlaying) {\n video.pause()\n setIsPlaying(false)\n } else {\n video.muted = false\n setIsMuted(false)\n video.play().catch(() => {\n // iOS fallback: if unmuted play fails, retry muted\n video.muted = true\n setIsMuted(true)\n video.play().catch(e => console.warn('Video playback failed:', e))\n })\n setIsPlaying(true)\n }\n }, [isPlaying])\n\n // Pause video when it scrolls out of view (e.g. swiper slide change)\n useEffect(() => {\n const video = videoRef.current\n if (!video || !isTouchDevice) return\n const observer = new IntersectionObserver(\n ([entry]) => {\n if (!entry.isIntersecting && !video.paused) {\n video.pause()\n video.currentTime = 0\n setIsPlaying(false)\n setIsMuted(true)\n }\n },\n { threshold: 0.3 }\n )\n observer.observe(video)\n return () => observer.disconnect()\n }, [isTouchDevice])\n\n const handleMouseEnter = useCallback(() => {\n const video = videoRef.current\n if (video) {\n video.play()\n }\n setIsPlaying(true)\n }, [])\n\n const handleMouseLeave = useCallback(() => {\n const video = videoRef.current\n if (video) {\n video.pause()\n video.currentTime = 0\n video.muted = true\n }\n setIsPlaying(false)\n setIsMuted(true)\n }, [])\n\n const toggleMute = useCallback((e: React.MouseEvent) => {\n e.stopPropagation()\n const video = videoRef.current\n if (video) {\n video.muted = !video.muted\n setIsMuted(video.muted)\n }\n }, [])\n\n return (\n <VideoCard\n className={isPlaying ? 'playing' : ''}\n onMouseEnter={isTouchDevice ? undefined : handleMouseEnter}\n onMouseLeave={isTouchDevice ? undefined : handleMouseLeave}\n onClick={isTouchDevice ? handleMobilePlay : undefined}\n >\n <MediaContainer>\n <CardImage className=\"catch-vibe-image\" src={item.imageUrl} alt={item.userName} loading=\"lazy\" width={680} height={382} />\n <VideoElement\n className=\"catch-vibe-video\"\n ref={videoRef}\n loop\n muted\n playsInline\n preload=\"metadata\"\n poster={item.imageUrl}\n src={item.videoUrl}\n />\n {!isPlaying && (\n <PlayBadge>\n <PlayIcon />\n <DurationText>{duration ?? '0:00'}</DurationText>\n </PlayBadge>\n )}\n {isPlaying && (\n <MuteButton onClick={toggleMute} aria-label={isMuted ? l('page.home.catch_the_vibe.unmute') : l('page.home.catch_the_vibe.mute')}>\n {isMuted ? '🔇' : '🔊'}\n </MuteButton>\n )}\n </MediaContainer>\n <VideoCardFooter>\n <UserInfo>\n <AvatarFace size=\"small\" avatar={avatar} />\n <UserName>{item.userName}</UserName>\n </UserInfo>\n </VideoCardFooter>\n </VideoCard>\n )\n}\n\nconst CatchTheVibe = memo(() => {\n const l = useFormatMessage()\n const onClickHandle = useTrackClick()\n const { handleClick, isDownloadModalOpen, closeDownloadModal, downloadModalProps } = useHangOutAction()\n\n return (\n <CatchTheVibeContainer>\n <img\n src={assetUrl('/ellipse_gradient.webp')}\n alt=\"\"\n style={{\n position: 'absolute',\n top: 0,\n left: 0,\n width: '60%',\n height: '100%',\n objectFit: 'cover',\n objectPosition: 'center left',\n pointerEvents: 'none',\n zIndex: 0\n }}\n className=\"desktop-only-ellipse\"\n />\n <CatchTheVibeTitle variant=\"h3\">{l('page.home.catch_the_vibe.title')}</CatchTheVibeTitle>\n <CardsRow>\n {catchTheVibeContent.cards.map((item, index) => (\n <VideoCardContent key={index} item={item} />\n ))}\n </CardsRow>\n <MobileCarouselContainer>\n <Carousel\n items={catchTheVibeContent.cards}\n renderItem={item => <VideoCardContent item={item} />}\n keyExtractor={item => item.userName}\n autoplayDelay={0}\n />\n </MobileCarouselContainer>\n <HangOutButton\n variant=\"contained\"\n onClick={e => {\n onClickHandle(e)\n handleClick(e)\n }}\n data-place={SectionViewedTrack.LANDING_CATCH_THE_VIBE}\n data-event=\"click\"\n endIcon={<JumpInIcon />}\n >\n {l('page.home.hang_out_now')}\n </HangOutButton>\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n </CatchTheVibeContainer>\n )\n})\n\nCatchTheVibe.displayName = 'CatchTheVibe'\n\nexport { CatchTheVibe }\n"],"names":["CatchTheVibeContainer","styled","Box","theme","CatchTheVibeTitle","Typography","dclColors.neutral","CardsRow","VideoCard","MediaContainer","CardImage","VideoElement","VideoCardFooter","UserInfo","UserName","PlayBadge","MuteButton","PlayIcon","DurationText","MobileCarouselContainer","formatDuration","seconds","mins","secs","VideoCardContent","item","l","useFormatMessage","videoRef","useRef","isPlaying","setIsPlaying","useState","isMuted","setIsMuted","duration","setDuration","profile","useGetProfileQuery","fetchedAvatar","fallbackFace","avatar","useEffect","video","handleLoaded","isTouchDevice","handleMobilePlay","useCallback","e","observer","entry","handleMouseEnter","handleMouseLeave","toggleMute","jsxs","jsx","AvatarFace","CatchTheVibe","memo","onClickHandle","useTrackClick","handleClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","useHangOutAction","assetUrl","catchTheVib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C,EAAqB,GAAGC,CAAA,CAAoB,CAAA,EACjG,CAEJ,CAAC,EAEDP,GAAa,YAAc"}
1
+ {"version":3,"file":"index-Dg-O6Pur.js","sources":["../../src/components/Home/CatchTheVibe/CatchTheVibe.styled.ts","../../src/components/Home/CatchTheVibe/CatchTheVibe.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst CatchTheVibeContainer = styled(Box)(({ theme }) => ({\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(6),\n padding: `${theme.spacing(10)} ${theme.spacing(2.5)}`,\n width: '100%',\n backgroundColor: '#570F88',\n overflow: 'hidden',\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '& .desktop-only-ellipse': {\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n },\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} 0`,\n gap: theme.spacing(4)\n }\n}))\n\nconst CatchTheVibeTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 600,\n textAlign: 'center',\n position: 'relative',\n zIndex: 1,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32,\n padding: `0 ${theme.spacing(3)}`\n }\n}))\n\nconst CardsRow = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(3),\n width: '100%',\n justifyContent: 'center',\n padding: `0 ${theme.spacing(2.5)}`,\n zIndex: 1,\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst VideoCard = styled(Box)(({ theme }) => ({\n position: 'relative',\n flex: '1 1 0',\n minWidth: 0,\n maxWidth: 680,\n height: 450,\n borderRadius: theme.spacing(3),\n overflow: 'hidden',\n backgroundColor: 'rgba(0, 0, 0, 0.6)',\n boxShadow: '0px 2px 4px 0px rgba(0, 0, 0, 0.04)',\n cursor: 'pointer',\n display: 'flex',\n flexDirection: 'column',\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&:hover .catch-vibe-video, &.playing .catch-vibe-video': {\n opacity: 1\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&:hover .catch-vibe-image, &.playing .catch-vibe-image': {\n opacity: 0\n },\n [theme.breakpoints.down('lg')]: {\n height: 380\n },\n [theme.breakpoints.down('md')]: {\n height: 320\n },\n [theme.breakpoints.down('sm')]: {\n margin: '0 auto'\n }\n}))\n\nconst MediaContainer = styled(Box)({\n position: 'relative',\n flex: 1,\n minHeight: 0,\n borderRadius: '24px',\n overflow: 'hidden'\n})\n\nconst CardImage = styled('img')({\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n transition: 'opacity 0.4s ease',\n zIndex: 1\n})\n\nconst VideoElement = styled('video')({\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n opacity: 0,\n transition: 'opacity 0.4s ease'\n})\n\nconst VideoCardFooter = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n padding: `${theme.spacing(2)} ${theme.spacing(1.5)} ${theme.spacing(2)} ${theme.spacing(2)}`,\n flexShrink: 0\n}))\n\nconst UserInfo = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n gap: theme.spacing(1)\n}))\n\nconst UserName = styled(Typography)({\n color: dclColors.neutral.white,\n fontWeight: 600,\n fontSize: 14,\n lineHeight: 1.57\n})\n\nconst CommunityLabel = styled(Typography)({\n color: dclColors.neutral.white,\n fontWeight: 600,\n fontSize: 14,\n lineHeight: 1.57\n})\n\nconst PlayBadge = styled(Box)(({ theme }) => ({\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n backgroundColor: 'rgba(0, 0, 0, 0.3)',\n zIndex: 2,\n cursor: 'pointer',\n transition: 'opacity 0.3s ease',\n // Desktop: small badge at bottom-left\n [theme.breakpoints.up('sm')]: {\n top: 'auto',\n right: 'auto',\n bottom: 13,\n left: 13,\n width: 'auto',\n height: 26,\n padding: '5.5px 6px',\n borderRadius: 8,\n backgroundColor: '#161518'\n }\n}))\n\nconst MuteButton = styled('button')({\n position: 'absolute',\n top: 12,\n right: 12,\n width: 32,\n height: 32,\n borderRadius: 8,\n border: 'none',\n backgroundColor: 'rgba(0, 0, 0, 0.6)',\n color: '#FCFCFC',\n fontSize: 16,\n cursor: 'pointer',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n zIndex: 3,\n transition: 'background-color 0.2s ease',\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&:hover': {\n backgroundColor: 'rgba(0, 0, 0, 0.8)'\n }\n})\n\nconst PlayIcon = styled(Box)(({ theme }) => ({\n width: 0,\n height: 0,\n borderStyle: 'solid',\n borderColor: 'transparent transparent transparent #FCFCFC',\n flexShrink: 0,\n // Mobile: large centered play triangle\n borderWidth: '20px 0 20px 34px',\n // Desktop: small badge play triangle\n [theme.breakpoints.up('sm')]: {\n borderWidth: '5px 0 5px 8px'\n }\n}))\n\nconst DurationText = styled(Typography)(({ theme }) => ({\n color: '#FCFCFC',\n fontWeight: 600,\n fontSize: 14,\n lineHeight: 'normal',\n whiteSpace: 'nowrap',\n // Hide duration in mobile overlay — only show on desktop badge\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst PersonaImage = styled('img')(({ theme }) => ({\n position: 'absolute',\n right: -20,\n bottom: -40,\n height: '110%',\n maxHeight: 650,\n pointerEvents: 'none',\n zIndex: 0,\n [theme.breakpoints.down('lg')]: {\n right: -60,\n opacity: 0.5\n },\n [theme.breakpoints.down('md')]: {\n display: 'none'\n }\n}))\n\nconst MobileCarouselContainer = styled(Box)(({ theme }) => ({\n display: 'none',\n width: '100%',\n zIndex: 1,\n [theme.breakpoints.down('sm')]: {\n display: 'block'\n }\n}))\n\nexport {\n CardImage,\n CardsRow,\n MediaContainer,\n CatchTheVibeContainer,\n CatchTheVibeTitle,\n CommunityLabel,\n DurationText,\n MobileCarouselContainer,\n MuteButton,\n PersonaImage,\n PlayBadge,\n PlayIcon,\n UserInfo,\n UserName,\n VideoCard,\n VideoCardFooter,\n VideoElement\n}\n","import { memo, useCallback, useEffect, useRef, useState } from 'react'\nimport type { Avatar } from '@dcl/schemas'\nimport { AvatarFace, DownloadModal, JumpInIcon } from 'decentraland-ui2'\nimport { catchTheVibeContent } from '../../../data/static-content'\nimport { useGetProfileQuery } from '../../../features/profile/profile.client'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { Carousel } from '../../Carousel/Carousel'\nimport { HangOutButton } from '../shared/HangOutButton.styled'\nimport {\n CardImage,\n CardsRow,\n CatchTheVibeContainer,\n CatchTheVibeTitle,\n DurationText,\n MediaContainer,\n MobileCarouselContainer,\n MuteButton,\n PlayBadge,\n PlayIcon,\n UserInfo,\n UserName,\n VideoCard,\n VideoCardFooter,\n VideoElement\n} from './CatchTheVibe.styled'\n\ninterface CardItem {\n imageUrl: string\n videoUrl: string\n userName: string\n userAddress?: string\n userAvatarUrl: string\n}\n\nfunction formatDuration(seconds: number): string {\n const mins = Math.floor(seconds / 60)\n const secs = Math.floor(seconds % 60)\n return `${mins}:${secs.toString().padStart(2, '0')}`\n}\n\nconst VideoCardContent = ({ item }: { item: CardItem }) => {\n const l = useFormatMessage()\n const videoRef = useRef<HTMLVideoElement>(null)\n const [isPlaying, setIsPlaying] = useState(false)\n const [isMuted, setIsMuted] = useState(true)\n const [duration, setDuration] = useState<string | null>(null)\n const { data: profile } = useGetProfileQuery(item.userAddress, { skip: !item.userAddress })\n const fetchedAvatar = profile?.avatars?.[0] as Avatar | undefined\n // AvatarFace only passes through URLs starting with https://.\n const fallbackFace = item.userAvatarUrl.startsWith('http')\n ? item.userAvatarUrl\n : `${window.location.origin}${item.userAvatarUrl}`.replace(/^http:\\/\\//, 'https://')\n\n // Use fetched profile if it has a face256 snapshot, otherwise fall back to static image\n const hasFace = !!fetchedAvatar?.avatar?.snapshots?.face256\n const avatar: Avatar = hasFace\n ? fetchedAvatar\n : ({\n name: fetchedAvatar?.name ?? item.userName,\n ethAddress: item.userAddress ?? '',\n avatar: { snapshots: { face256: fallbackFace, body: '' } }\n } as Avatar)\n\n useEffect(() => {\n const video = videoRef.current\n if (!video) return\n const handleLoaded = () => {\n if (video.duration && isFinite(video.duration)) {\n setDuration(formatDuration(video.duration))\n }\n }\n video.addEventListener('loadedmetadata', handleLoaded)\n return () => video.removeEventListener('loadedmetadata', handleLoaded)\n }, [])\n\n const isTouchDevice = typeof window !== 'undefined' && !window.matchMedia('(hover: hover)').matches\n\n const handleMobilePlay = useCallback(() => {\n const video = videoRef.current\n if (!video) return\n if (isPlaying) {\n video.pause()\n setIsPlaying(false)\n } else {\n video.muted = false\n setIsMuted(false)\n video.play().catch(() => {\n // iOS fallback: if unmuted play fails, retry muted\n video.muted = true\n setIsMuted(true)\n video.play().catch(e => console.warn('Video playback failed:', e))\n })\n setIsPlaying(true)\n }\n }, [isPlaying])\n\n // Pause video when it scrolls out of view (e.g. swiper slide change)\n useEffect(() => {\n const video = videoRef.current\n if (!video || !isTouchDevice) return\n const observer = new IntersectionObserver(\n ([entry]) => {\n if (!entry.isIntersecting && !video.paused) {\n video.pause()\n video.currentTime = 0\n setIsPlaying(false)\n setIsMuted(true)\n }\n },\n { threshold: 0.3 }\n )\n observer.observe(video)\n return () => observer.disconnect()\n }, [isTouchDevice])\n\n const handleMouseEnter = useCallback(() => {\n const video = videoRef.current\n if (video) {\n video.play()\n }\n setIsPlaying(true)\n }, [])\n\n const handleMouseLeave = useCallback(() => {\n const video = videoRef.current\n if (video) {\n video.pause()\n video.currentTime = 0\n video.muted = true\n }\n setIsPlaying(false)\n setIsMuted(true)\n }, [])\n\n const toggleMute = useCallback((e: React.MouseEvent) => {\n e.stopPropagation()\n const video = videoRef.current\n if (video) {\n video.muted = !video.muted\n setIsMuted(video.muted)\n }\n }, [])\n\n return (\n <VideoCard\n className={isPlaying ? 'playing' : ''}\n onMouseEnter={isTouchDevice ? undefined : handleMouseEnter}\n onMouseLeave={isTouchDevice ? undefined : handleMouseLeave}\n onClick={isTouchDevice ? handleMobilePlay : undefined}\n >\n <MediaContainer>\n <CardImage className=\"catch-vibe-image\" src={item.imageUrl} alt={item.userName} loading=\"lazy\" width={680} height={382} />\n <VideoElement\n className=\"catch-vibe-video\"\n ref={videoRef}\n loop\n muted\n playsInline\n preload=\"metadata\"\n poster={item.imageUrl}\n src={item.videoUrl}\n />\n {!isPlaying && (\n <PlayBadge>\n <PlayIcon />\n <DurationText>{duration ?? '0:00'}</DurationText>\n </PlayBadge>\n )}\n {isPlaying && (\n <MuteButton onClick={toggleMute} aria-label={isMuted ? l('page.home.catch_the_vibe.unmute') : l('page.home.catch_the_vibe.mute')}>\n {isMuted ? '🔇' : '🔊'}\n </MuteButton>\n )}\n </MediaContainer>\n <VideoCardFooter>\n <UserInfo>\n <AvatarFace size=\"small\" avatar={avatar} />\n <UserName>{item.userName}</UserName>\n </UserInfo>\n </VideoCardFooter>\n </VideoCard>\n )\n}\n\nconst CatchTheVibe = memo(() => {\n const l = useFormatMessage()\n const onClickHandle = useTrackClick()\n const { handleClick, isDownloadModalOpen, closeDownloadModal, downloadModalProps } = useHangOutAction()\n\n return (\n <CatchTheVibeContainer>\n <img\n src={assetUrl('/ellipse_gradient.webp')}\n alt=\"\"\n style={{\n position: 'absolute',\n top: 0,\n left: 0,\n width: '60%',\n height: '100%',\n objectFit: 'cover',\n objectPosition: 'center left',\n pointerEvents: 'none',\n zIndex: 0\n }}\n className=\"desktop-only-ellipse\"\n />\n <CatchTheVibeTitle variant=\"h3\">{l('page.home.catch_the_vibe.title')}</CatchTheVibeTitle>\n <CardsRow>\n {catchTheVibeContent.cards.map((item, index) => (\n <VideoCardContent key={index} item={item} />\n ))}\n </CardsRow>\n <MobileCarouselContainer>\n <Carousel\n items={catchTheVibeContent.cards}\n renderItem={item => <VideoCardContent item={item} />}\n keyExtractor={item => item.userName}\n autoplayDelay={0}\n />\n </MobileCarouselContainer>\n <HangOutButton\n variant=\"contained\"\n onClick={e => {\n onClickHandle(e)\n handleClick(e)\n }}\n data-place={SectionViewedTrack.LANDING_CATCH_THE_VIBE}\n data-event=\"click\"\n endIcon={<JumpInIcon />}\n >\n {l('page.home.hang_out_now')}\n </HangOutButton>\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n </CatchTheVibeContainer>\n )\n})\n\nCatchTheVibe.displayName = 'CatchTheVibe'\n\nexport { CatchTheVibe }\n"],"names":["CatchTheVibeContainer","styled","Box","theme","CatchTheVibeTitle","Typography","dclColors.neutral","CardsRow","VideoCard","MediaContainer","CardImage","VideoElement","VideoCardFooter","UserInfo","UserName","PlayBadge","MuteButton","PlayIcon","DurationText","MobileCarouselContainer","formatDuration","seconds","mins","secs","VideoCardContent","item","l","useFormatMessage","videoRef","useRef","isPlaying","setIsPlaying","useState","isMuted","setIsMuted","duration","setDuration","profile","useGetProfileQuery","fetchedAvatar","fallbackFace","avatar","useEffect","video","handleLoaded","isTouchDevice","handleMobilePlay","useCallback","e","observer","entry","handleMouseEnter","handleMouseLeave","toggleMute","jsxs","jsx","AvatarFace","CatchTheVibe","memo","onClickHandle","useTrackClick","handleClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","useHangOutAction","assetUrl","catchTheVibeContent","index","Carousel","HangOutButton","SectionViewedTrack","JumpInIcon","DownloadModal"],"mappings":"wiBAEA,MAAMA,EAAwBC,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACxD,SAAU,WACV,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,QAAS,GAAGA,EAAM,QAAQ,EAAE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JgC,EAAgBC,EAAA,EAChB,CAAE,YAAAC,EAAa,oBAAAC,EAAqB,mBAAAC,EAAoB,mBAAAC,CAAA,EAAuBC,EAAA,EAErF,cACGjE,EAAA,CACC,SAAA,CAAAuD,EAAAA,IAAC,MAAA,CACC,IAAKW,EAAS,wBAAwB,EACtC,IAAI,GACJ,MAAO,CACL,SAAU,WACV,IAAK,EACL,KAAM,EACN,MAAO,MACP,OAAQ,OACR,UAAW,QACX,eAAgB,cAChB,cAAe,OACf,OAAQ,CAAA,EAEV,UAAU,sBAAA,CAAA,QAEX9D,EAAA,CAAkB,QAAQ,KAAM,SAAAsB,EAAE,gCAAgC,EAAE,EACrE6B,EAAAA,IAAChD,EAAA,CACE,SAAA4D,EAAoB,MAAM,IAAI,CAAC1C,EAAM2C,IACpCb,EAAAA,IAAC/B,EAAA,CAA6B,KAAAC,CAAA,EAAP2C,CAAmB,CAC3C,EACH,QACCjD,GAAA,CACC,SAAAoC,EAAAA,IAACc,EAAA,CACC,MAAOF,EAAoB,MAC3B,WAAY1C,GAAQ8B,EAAAA,IAAC/B,EAAA,CAAiB,KAAAC,CAAA,CAAY,EAClD,gBAAsBA,EAAK,SAC3B,cAAe,CAAA,CAAA,EAEnB,EACA8B,EAAAA,IAACe,EAAA,CACC,QAAQ,YACR,QAAStB,GAAK,CACZW,EAAcX,CAAC,EACfa,EAAYb,CAAC,CACf,EACA,aAAYuB,EAAmB,uBAC/B,aAAW,QACX,cAAUC,EAAA,EAAW,EAEpB,WAAE,wBAAwB,CAAA,CAAA,QAE5BC,EAAA,CAAc,KAAMX,EAAqB,QAASC,EAAqB,GAAGC,CAAA,CAAoB,CAAA,EACjG,CAEJ,CAAC,EAEDP,GAAa,YAAc"}
@@ -1,4 +1,4 @@
1
- import{s as e,a as o,v as s,w as b,j as n}from"./index-DUmIu2EK.js";import{r}from"./vendor-router-D_36sTKu.js";import{C as $}from"./CircleAndArrow-DIeWRbH9.js";import{f as w}from"./index-XwRFjo-F.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./useCreatorHubDownload-Dp_zMaiv.js";import"./file-Cr_gl9BS.js";import"./url-BHzlJYXC.js";import"./index-BaEE4ZXP.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-D8_9d6Wu.js";import"./CircularProgress-AsNM1BvH.js";import"./Video--A0fBGqz.js";const k=e("section")(({theme:t})=>({width:"100%",position:"relative",margin:"auto",color:t.palette.text.primary,padding:`${t.spacing(10)} ${t.spacing(20)}`,[t.breakpoints.down("sm")]:{padding:`${t.spacing(6)} ${t.spacing(4)} ${t.spacing(10)}`}})),h=e(o)(({theme:t})=>({background:`
1
+ import{s as e,a as o,v as s,w as b,j as n}from"./index-_DB-noma.js";import{r}from"./vendor-router-D_36sTKu.js";import{C as $}from"./CircleAndArrow-DeiiAyu0.js";import{f as w}from"./index-D6yjbNdZ.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./useCreatorHubDownload-EAoN-CCw.js";import"./file-Cr_gl9BS.js";import"./url-DaZlsYoU.js";import"./index-D_URcwLX.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-dUbnAFrF.js";import"./CircularProgress-COCfVUkZ.js";import"./Video-phAvQnqc.js";const k=e("section")(({theme:t})=>({width:"100%",position:"relative",margin:"auto",color:t.palette.text.primary,padding:`${t.spacing(10)} ${t.spacing(20)}`,[t.breakpoints.down("sm")]:{padding:`${t.spacing(6)} ${t.spacing(4)} ${t.spacing(10)}`}})),h=e(o)(({theme:t})=>({background:`
2
2
  linear-gradient(to right, ${t.palette.text.primary} 4px, transparent 4px) 0 0,
3
3
  linear-gradient(to right, ${t.palette.text.primary} 4px, transparent 4px) 0 100%,
4
4
  linear-gradient(to left, ${t.palette.text.primary} 4px, transparent 4px) 100% 0,
@@ -1 +1 @@
1
- {"version":3,"file":"index-CXMTgMUj.js","sources":["../../src/components/Create/Faqs/Faqs.styled.ts","../../src/components/Create/Faqs/Faqs.tsx"],"sourcesContent":["import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst FaqsSection = styled('section')(({ theme }) => ({\n width: '100%',\n position: 'relative',\n margin: 'auto',\n color: theme.palette.text.primary,\n padding: `${theme.spacing(10)} ${theme.spacing(20)}`,\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} ${theme.spacing(4)} ${theme.spacing(10)}`\n }\n}))\n\nconst FaqsInnerBorder = styled(Box)(({ theme }) => ({\n background: `\n linear-gradient(to right, ${theme.palette.text.primary} 4px, transparent 4px) 0 0,\n linear-gradient(to right, ${theme.palette.text.primary} 4px, transparent 4px) 0 100%,\n linear-gradient(to left, ${theme.palette.text.primary} 4px, transparent 4px) 100% 0,\n linear-gradient(to left, ${theme.palette.text.primary} 4px, transparent 4px) 100% 100%,\n linear-gradient(to bottom, ${theme.palette.text.primary} 4px, transparent 4px) 0 0,\n linear-gradient(to bottom, ${theme.palette.text.primary} 4px, transparent 4px) 100% 0,\n linear-gradient(to top, ${theme.palette.text.primary} 4px, transparent 4px) 0 100%,\n linear-gradient(to top, ${theme.palette.text.primary} 4px, transparent 4px) 100% 100%\n `,\n backgroundRepeat: 'no-repeat',\n backgroundSize: '20px 20px',\n [theme.breakpoints.down('sm')]: {\n background: `\n linear-gradient(to right, ${theme.palette.text.primary} 2px, transparent 2px) 0 0,\n linear-gradient(to right, ${theme.palette.text.primary} 2px, transparent 2px) 0 100%,\n linear-gradient(to left, ${theme.palette.text.primary} 2px, transparent 2px) 100% 0,\n linear-gradient(to left, ${theme.palette.text.primary} 2px, transparent 2px) 100% 100%,\n linear-gradient(to bottom, ${theme.palette.text.primary} 2px, transparent 2px) 0 0,\n linear-gradient(to bottom, ${theme.palette.text.primary} 2px, transparent 2px) 100% 0,\n linear-gradient(to top, ${theme.palette.text.primary} 2px, transparent 2px) 0 100%,\n linear-gradient(to top, ${theme.palette.text.primary} 2px, transparent 2px) 100% 100%\n `,\n backgroundRepeat: 'no-repeat',\n backgroundSize: '10px 10px'\n }\n}))\n\nconst FaqsContainer = styled(Box)(({ theme }) => ({\n margin: 'auto',\n width: '100%',\n maxWidth: 1000,\n padding: `${theme.spacing(8)} 0 ${theme.spacing(10)}`,\n display: 'flex',\n flexDirection: 'column',\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} 0 ${theme.spacing(8)}`\n }\n}))\n\nconst FaqsSubtitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: theme.typography.body2.fontSize,\n lineHeight: '19px',\n fontWeight: 600,\n color: theme.palette.text.secondary,\n textTransform: 'uppercase',\n padding: 0,\n margin: 0\n}))\n\nconst FaqsTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 60,\n lineHeight: '72px',\n fontWeight: 700,\n letterSpacing: '-0.01em',\n paddingBottom: '0.5em',\n [theme.breakpoints.down('sm')]: {\n fontWeight: 700,\n fontSize: 36,\n lineHeight: '36px',\n textAlign: 'center',\n letterSpacing: '-0.01em'\n }\n}))\n\n/* eslint-disable @typescript-eslint/naming-convention */\nconst FaqAccordionItem = styled(Box, {\n shouldForwardProp: prop => prop !== 'isOpen'\n})<{ isOpen: boolean }>(({ theme }) => ({\n width: '100%',\n display: 'flex',\n flexDirection: 'column',\n borderRadius: 32,\n padding: `${theme.spacing(1.5)} ${theme.spacing(4)}`,\n position: 'relative',\n overflow: 'hidden',\n zIndex: 1,\n backgroundColor: '#242129',\n marginBottom: theme.spacing(1.5),\n cursor: 'pointer',\n outline: 'none',\n '&::after': {\n width: '100%',\n height: '100%',\n content: '\" \"',\n position: 'absolute',\n top: 0,\n left: 0,\n background: 'linear-gradient(90deg, #43404a 0%, #691fa9 100%), #242129',\n zIndex: -1,\n opacity: 0,\n transition: 'opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1)'\n },\n '&:hover::after': {\n opacity: 1\n },\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n '& svg.open, & svg.close': {\n width: 40,\n height: 40,\n minWidth: 40,\n minHeight: 40,\n transition: 'transform 350ms cubic-bezier(0.16, 1, 0.3, 1)'\n },\n '& svg.open': {\n transform: 'rotate(180deg)'\n },\n [theme.breakpoints.down('xs')]: {\n padding: `${theme.spacing(2)} ${theme.spacing(3)}`,\n marginBottom: theme.spacing(1),\n borderRadius: 24,\n '& svg.close, & svg.open': {\n width: 36,\n height: 36,\n minWidth: 36,\n minHeight: 36\n }\n }\n}))\n/* eslint-enable @typescript-eslint/naming-convention */\n\nconst FaqQuestionRow = styled(Box)({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center'\n})\n\nconst FaqQuestionText = styled(Typography)(({ theme }) => ({\n fontWeight: 300,\n fontSize: 28,\n lineHeight: '28px',\n letterSpacing: '-0.011em',\n color: theme.palette.text.secondary,\n margin: 0,\n [theme.breakpoints.down('sm')]: {\n fontWeight: 300,\n fontSize: theme.typography.body1.fontSize,\n lineHeight: '28px',\n letterSpacing: '-0.01em'\n }\n}))\n\nconst FaqAnswerContainer = styled(Box, {\n shouldForwardProp: prop => prop !== 'isOpen'\n})<{ isOpen: boolean }>(({ isOpen }) => ({\n display: 'grid',\n gridTemplateRows: isOpen ? '1fr' : '0fr',\n opacity: isOpen ? 1 : 0,\n marginTop: isOpen ? '8px' : 0,\n transition:\n 'grid-template-rows 350ms cubic-bezier(0.16, 1, 0.3, 1), opacity 350ms cubic-bezier(0.16, 1, 0.3, 1), margin-top 350ms cubic-bezier(0.16, 1, 0.3, 1)'\n}))\n\nconst FaqAnswerText = styled(Typography)(({ theme }) => ({\n overflow: 'hidden',\n minHeight: 0,\n padding: 0,\n fontWeight: 400,\n fontSize: theme.typography.body1.fontSize,\n lineHeight: '165%',\n whiteSpace: 'pre-line',\n color: theme.palette.text.primary\n}))\n\nconst FaqsCta = styled('a')(({ theme }) => ({\n marginTop: theme.spacing(5),\n width: 'fit-content',\n alignSelf: 'center',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n padding: `${theme.spacing(3)} ${theme.spacing(8)}`,\n borderRadius: theme.shape.borderRadius,\n border: `1px solid ${theme.palette.text.primary}`,\n color: theme.palette.text.primary,\n textDecoration: 'none',\n fontSize: 15,\n fontWeight: 600,\n textTransform: 'uppercase',\n cursor: 'pointer',\n transition: 'background-color 200ms ease',\n ['&:hover']: {\n backgroundColor: theme.palette.action.hover\n },\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n [theme.breakpoints.down('xs')]: {\n width: '100%'\n }\n}))\n\nexport {\n FaqAccordionItem,\n FaqAnswerContainer,\n FaqAnswerText,\n FaqQuestionRow,\n FaqQuestionText,\n FaqsContainer,\n FaqsCta,\n FaqsInnerBorder,\n FaqsSection,\n FaqsSubtitle,\n FaqsTitle\n}\n","import { type KeyboardEvent, memo, useCallback, useRef, useState } from 'react'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { CircleAndArrow } from '../../Icon/CircleAndArrow'\nimport { faqItems } from '../data'\nimport {\n FaqAccordionItem,\n FaqAnswerContainer,\n FaqAnswerText,\n FaqQuestionRow,\n FaqQuestionText,\n FaqsContainer,\n FaqsCta,\n FaqsInnerBorder,\n FaqsSection,\n FaqsSubtitle,\n FaqsTitle\n} from './Faqs.styled'\n\ntype FaqAccordionProps = {\n title: string\n children: React.ReactNode\n index: number\n expanded: number | false\n setExpanded: (value: number | false) => void\n}\n\nconst FaqAccordion = memo((props: FaqAccordionProps) => {\n const { title, children, index, expanded, setExpanded } = props\n const isOpen = index === expanded\n const contentRef = useRef<HTMLDivElement>(null)\n const questionId = `create-faq-question-${index}`\n const answerId = `create-faq-answer-${index}`\n\n const handleToggle = useCallback(() => {\n setExpanded(isOpen ? false : index)\n }, [isOpen, index, setExpanded])\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n handleToggle()\n }\n },\n [handleToggle]\n )\n\n return (\n <FaqAccordionItem\n isOpen={isOpen}\n onClick={handleToggle}\n onKeyDown={handleKeyDown}\n role=\"button\"\n aria-expanded={isOpen}\n aria-controls={answerId}\n tabIndex={0}\n >\n <FaqQuestionRow>\n <FaqQuestionText id={questionId}>{title}</FaqQuestionText>\n <CircleAndArrow isOpen={isOpen} aria-hidden=\"true\" />\n </FaqQuestionRow>\n <FaqAnswerContainer ref={contentRef} id={answerId} role=\"region\" aria-labelledby={questionId} aria-hidden={!isOpen} isOpen={isOpen}>\n <FaqAnswerText>{children}</FaqAnswerText>\n </FaqAnswerContainer>\n </FaqAccordionItem>\n )\n})\n\nconst CreatorsFaqs = memo(() => {\n const l = useFormatMessage()\n const [expanded, setExpanded] = useState<number | false>(false)\n\n return (\n <FaqsSection aria-label=\"Frequently Asked Questions\">\n <FaqsInnerBorder>\n <FaqsContainer>\n <FaqsSubtitle>{l('component.landing.faqs.subtitle')}</FaqsSubtitle>\n <FaqsTitle {...({ component: 'h2' } as Record<string, unknown>)}>{l('component.landing.faqs.title')}</FaqsTitle>\n {faqItems.map((faq, index) => (\n <FaqAccordion key={index} title={faq.question} index={index} expanded={expanded} setExpanded={setExpanded}>\n {faq.answer}\n </FaqAccordion>\n ))}\n <FaqsCta href={l('component.landing.faqs.cta.link')}>{l('component.landing.faqs.cta.label')}</FaqsCta>\n </FaqsContainer>\n </FaqsInnerBorder>\n </FaqsSection>\n )\n})\n\nexport { CreatorsFaqs }\n"],"names":["FaqsSection","styled","theme","FaqsInnerBorder","Box","FaqsContainer","FaqsSubtitle","Typography","FaqsTitle","FaqAccordionItem","prop","FaqQuestionRow","FaqQuestionText","FaqAnswerContainer","isOpen","FaqAnswerText","FaqsCta","FaqAccordion","memo","props","title","children","index","expanded","setExpanded","contentRef","useRef","questionId","answerId","handleToggle","useCallback","handleKeyDown","event","jsxs","jsx","CircleAndArrow","CreatorsFaqs","l","useFormatMessage","useState","faqItems","faq"],"mappings":"ooBAEA,MAAMA,EAAcC,EAAO,SAAS,EAAE,CAAC,CAAE,MAAAC,MAAa,CACpD,MAAO,OACP,SAAU,WACV,OAAQ,OACR,MAAOA,EAAM,QAAQ,KAAK,QAC1B,QAAS,GAAGA,EAAM,QAAQ,EAAE,CAAC,IAAIA,EAAM,QAAQ,EAAE,CAAC,GAClD,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAAS,GAAGA,EAAM,QAAQ,CAAC,CAAC,IAAIA,EAAM,QAAQ,CAAC,CAAC,IAAIA,EAAM,QAAQ,EAAE,CAAC,EAAA,CAEzE,EAAE,EAEIC,EAAkBF,EAAOG,CAAG,EAAE,CAAC,CAAE,MAAAF,MAAa,CAClD,WAAY;AAAA,gCACkBA,EAAM,QAAQ,KAAK,OAAO;AAAA,gCAC1BA,EAAM,QAAQ,KAAK,OAAO;AAAA,+BAC3BA,EAAM,QAAQ,KAAK,OAAO;AAAA,+BAC1BA,EAAM,QAAQ,KAAK,OAAO;AAAA,iCACxBA,EAAM,QAAQ,KAAK,OAAO;AAAA,iCAC1BA,EAAM,QAAQ,KAAK,OAAO;AAAA,8BAC7BA,EAAM,QAAQ,KAAK,OAAO;AAAA,8BAC1BA,EAAM,QAAQ,KAAK,OAAO;AAAA,IAEtD,iBAAkB,YAClB,eAAgB,YAChB,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,WAAY;AAAA,kCACkBA,EAAM,QAAQ,KAAK,OAAO;AAAA,kCAC1BA,EAAM,QAAQ,KAAK,OAAO;AAAA,iCAC3BA,EAAM,QAAQ,KAAK,OAAO;AAAA,iCAC1BA,EAAM,QAAQ,KAAK,OAAO;AAAA,mCACxBA,EAAM,QAAQ,KAAK,OAAO;AAAA,mCAC1BA,EAAM,QAAQ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","sources":["../../src/components/Create/Faqs/Faqs.styled.ts","../../src/components/Create/Faqs/Faqs.tsx"],"sourcesContent":["import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst FaqsSection = styled('section')(({ theme }) => ({\n width: '100%',\n position: 'relative',\n margin: 'auto',\n color: theme.palette.text.primary,\n padding: `${theme.spacing(10)} ${theme.spacing(20)}`,\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} ${theme.spacing(4)} ${theme.spacing(10)}`\n }\n}))\n\nconst FaqsInnerBorder = styled(Box)(({ theme }) => ({\n background: `\n linear-gradient(to right, ${theme.palette.text.primary} 4px, transparent 4px) 0 0,\n linear-gradient(to right, ${theme.palette.text.primary} 4px, transparent 4px) 0 100%,\n linear-gradient(to left, ${theme.palette.text.primary} 4px, transparent 4px) 100% 0,\n linear-gradient(to left, ${theme.palette.text.primary} 4px, transparent 4px) 100% 100%,\n linear-gradient(to bottom, ${theme.palette.text.primary} 4px, transparent 4px) 0 0,\n linear-gradient(to bottom, ${theme.palette.text.primary} 4px, transparent 4px) 100% 0,\n linear-gradient(to top, ${theme.palette.text.primary} 4px, transparent 4px) 0 100%,\n linear-gradient(to top, ${theme.palette.text.primary} 4px, transparent 4px) 100% 100%\n `,\n backgroundRepeat: 'no-repeat',\n backgroundSize: '20px 20px',\n [theme.breakpoints.down('sm')]: {\n background: `\n linear-gradient(to right, ${theme.palette.text.primary} 2px, transparent 2px) 0 0,\n linear-gradient(to right, ${theme.palette.text.primary} 2px, transparent 2px) 0 100%,\n linear-gradient(to left, ${theme.palette.text.primary} 2px, transparent 2px) 100% 0,\n linear-gradient(to left, ${theme.palette.text.primary} 2px, transparent 2px) 100% 100%,\n linear-gradient(to bottom, ${theme.palette.text.primary} 2px, transparent 2px) 0 0,\n linear-gradient(to bottom, ${theme.palette.text.primary} 2px, transparent 2px) 100% 0,\n linear-gradient(to top, ${theme.palette.text.primary} 2px, transparent 2px) 0 100%,\n linear-gradient(to top, ${theme.palette.text.primary} 2px, transparent 2px) 100% 100%\n `,\n backgroundRepeat: 'no-repeat',\n backgroundSize: '10px 10px'\n }\n}))\n\nconst FaqsContainer = styled(Box)(({ theme }) => ({\n margin: 'auto',\n width: '100%',\n maxWidth: 1000,\n padding: `${theme.spacing(8)} 0 ${theme.spacing(10)}`,\n display: 'flex',\n flexDirection: 'column',\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} 0 ${theme.spacing(8)}`\n }\n}))\n\nconst FaqsSubtitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: theme.typography.body2.fontSize,\n lineHeight: '19px',\n fontWeight: 600,\n color: theme.palette.text.secondary,\n textTransform: 'uppercase',\n padding: 0,\n margin: 0\n}))\n\nconst FaqsTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 60,\n lineHeight: '72px',\n fontWeight: 700,\n letterSpacing: '-0.01em',\n paddingBottom: '0.5em',\n [theme.breakpoints.down('sm')]: {\n fontWeight: 700,\n fontSize: 36,\n lineHeight: '36px',\n textAlign: 'center',\n letterSpacing: '-0.01em'\n }\n}))\n\n/* eslint-disable @typescript-eslint/naming-convention */\nconst FaqAccordionItem = styled(Box, {\n shouldForwardProp: prop => prop !== 'isOpen'\n})<{ isOpen: boolean }>(({ theme }) => ({\n width: '100%',\n display: 'flex',\n flexDirection: 'column',\n borderRadius: 32,\n padding: `${theme.spacing(1.5)} ${theme.spacing(4)}`,\n position: 'relative',\n overflow: 'hidden',\n zIndex: 1,\n backgroundColor: '#242129',\n marginBottom: theme.spacing(1.5),\n cursor: 'pointer',\n outline: 'none',\n '&::after': {\n width: '100%',\n height: '100%',\n content: '\" \"',\n position: 'absolute',\n top: 0,\n left: 0,\n background: 'linear-gradient(90deg, #43404a 0%, #691fa9 100%), #242129',\n zIndex: -1,\n opacity: 0,\n transition: 'opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1)'\n },\n '&:hover::after': {\n opacity: 1\n },\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n '& svg.open, & svg.close': {\n width: 40,\n height: 40,\n minWidth: 40,\n minHeight: 40,\n transition: 'transform 350ms cubic-bezier(0.16, 1, 0.3, 1)'\n },\n '& svg.open': {\n transform: 'rotate(180deg)'\n },\n [theme.breakpoints.down('xs')]: {\n padding: `${theme.spacing(2)} ${theme.spacing(3)}`,\n marginBottom: theme.spacing(1),\n borderRadius: 24,\n '& svg.close, & svg.open': {\n width: 36,\n height: 36,\n minWidth: 36,\n minHeight: 36\n }\n }\n}))\n/* eslint-enable @typescript-eslint/naming-convention */\n\nconst FaqQuestionRow = styled(Box)({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center'\n})\n\nconst FaqQuestionText = styled(Typography)(({ theme }) => ({\n fontWeight: 300,\n fontSize: 28,\n lineHeight: '28px',\n letterSpacing: '-0.011em',\n color: theme.palette.text.secondary,\n margin: 0,\n [theme.breakpoints.down('sm')]: {\n fontWeight: 300,\n fontSize: theme.typography.body1.fontSize,\n lineHeight: '28px',\n letterSpacing: '-0.01em'\n }\n}))\n\nconst FaqAnswerContainer = styled(Box, {\n shouldForwardProp: prop => prop !== 'isOpen'\n})<{ isOpen: boolean }>(({ isOpen }) => ({\n display: 'grid',\n gridTemplateRows: isOpen ? '1fr' : '0fr',\n opacity: isOpen ? 1 : 0,\n marginTop: isOpen ? '8px' : 0,\n transition:\n 'grid-template-rows 350ms cubic-bezier(0.16, 1, 0.3, 1), opacity 350ms cubic-bezier(0.16, 1, 0.3, 1), margin-top 350ms cubic-bezier(0.16, 1, 0.3, 1)'\n}))\n\nconst FaqAnswerText = styled(Typography)(({ theme }) => ({\n overflow: 'hidden',\n minHeight: 0,\n padding: 0,\n fontWeight: 400,\n fontSize: theme.typography.body1.fontSize,\n lineHeight: '165%',\n whiteSpace: 'pre-line',\n color: theme.palette.text.primary\n}))\n\nconst FaqsCta = styled('a')(({ theme }) => ({\n marginTop: theme.spacing(5),\n width: 'fit-content',\n alignSelf: 'center',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n padding: `${theme.spacing(3)} ${theme.spacing(8)}`,\n borderRadius: theme.shape.borderRadius,\n border: `1px solid ${theme.palette.text.primary}`,\n color: theme.palette.text.primary,\n textDecoration: 'none',\n fontSize: 15,\n fontWeight: 600,\n textTransform: 'uppercase',\n cursor: 'pointer',\n transition: 'background-color 200ms ease',\n ['&:hover']: {\n backgroundColor: theme.palette.action.hover\n },\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n [theme.breakpoints.down('xs')]: {\n width: '100%'\n }\n}))\n\nexport {\n FaqAccordionItem,\n FaqAnswerContainer,\n FaqAnswerText,\n FaqQuestionRow,\n FaqQuestionText,\n FaqsContainer,\n FaqsCta,\n FaqsInnerBorder,\n FaqsSection,\n FaqsSubtitle,\n FaqsTitle\n}\n","import { type KeyboardEvent, memo, useCallback, useRef, useState } from 'react'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { CircleAndArrow } from '../../Icon/CircleAndArrow'\nimport { faqItems } from '../data'\nimport {\n FaqAccordionItem,\n FaqAnswerContainer,\n FaqAnswerText,\n FaqQuestionRow,\n FaqQuestionText,\n FaqsContainer,\n FaqsCta,\n FaqsInnerBorder,\n FaqsSection,\n FaqsSubtitle,\n FaqsTitle\n} from './Faqs.styled'\n\ntype FaqAccordionProps = {\n title: string\n children: React.ReactNode\n index: number\n expanded: number | false\n setExpanded: (value: number | false) => void\n}\n\nconst FaqAccordion = memo((props: FaqAccordionProps) => {\n const { title, children, index, expanded, setExpanded } = props\n const isOpen = index === expanded\n const contentRef = useRef<HTMLDivElement>(null)\n const questionId = `create-faq-question-${index}`\n const answerId = `create-faq-answer-${index}`\n\n const handleToggle = useCallback(() => {\n setExpanded(isOpen ? false : index)\n }, [isOpen, index, setExpanded])\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n handleToggle()\n }\n },\n [handleToggle]\n )\n\n return (\n <FaqAccordionItem\n isOpen={isOpen}\n onClick={handleToggle}\n onKeyDown={handleKeyDown}\n role=\"button\"\n aria-expanded={isOpen}\n aria-controls={answerId}\n tabIndex={0}\n >\n <FaqQuestionRow>\n <FaqQuestionText id={questionId}>{title}</FaqQuestionText>\n <CircleAndArrow isOpen={isOpen} aria-hidden=\"true\" />\n </FaqQuestionRow>\n <FaqAnswerContainer ref={contentRef} id={answerId} role=\"region\" aria-labelledby={questionId} aria-hidden={!isOpen} isOpen={isOpen}>\n <FaqAnswerText>{children}</FaqAnswerText>\n </FaqAnswerContainer>\n </FaqAccordionItem>\n )\n})\n\nconst CreatorsFaqs = memo(() => {\n const l = useFormatMessage()\n const [expanded, setExpanded] = useState<number | false>(false)\n\n return (\n <FaqsSection aria-label=\"Frequently Asked Questions\">\n <FaqsInnerBorder>\n <FaqsContainer>\n <FaqsSubtitle>{l('component.landing.faqs.subtitle')}</FaqsSubtitle>\n <FaqsTitle {...({ component: 'h2' } as Record<string, unknown>)}>{l('component.landing.faqs.title')}</FaqsTitle>\n {faqItems.map((faq, index) => (\n <FaqAccordion key={index} title={faq.question} index={index} expanded={expanded} setExpanded={setExpanded}>\n {faq.answer}\n </FaqAccordion>\n ))}\n <FaqsCta href={l('component.landing.faqs.cta.link')}>{l('component.landing.faqs.cta.label')}</FaqsCta>\n </FaqsContainer>\n </FaqsInnerBorder>\n </FaqsSection>\n )\n})\n\nexport { CreatorsFaqs }\n"],"names":["FaqsSection","styled","theme","FaqsInnerBorder","Box","FaqsContainer","FaqsSubtitle","Typography","FaqsTitle","FaqAccordionItem","prop","FaqQuestionRow","FaqQuestionText","FaqAnswerContainer","isOpen","FaqAnswerText","FaqsCta","FaqAccordion","memo","props","title","children","index","expanded","setExpanded","contentRef","useRef","questionId","answerId","handleToggle","useCallback","handleKeyDown","event","jsxs","jsx","CircleAndArrow","CreatorsFaqs","l","useFormatMessage","useState","faqIt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AA,CACC,OAAAK,EACA,QAASe,EACT,UAAWE,EACX,KAAK,SACL,gBAAejB,EACf,gBAAec,EACf,SAAU,EAEV,SAAA,CAAAK,OAACtB,EAAA,CACC,SAAA,CAAAuB,EAAAA,IAACtB,EAAA,CAAgB,GAAIe,EAAa,SAAAP,EAAM,EACxCc,EAAAA,IAACC,EAAA,CAAe,OAAArB,EAAgB,cAAY,MAAA,CAAO,CAAA,EACrD,QACCD,EAAA,CAAmB,IAAKY,EAAY,GAAIG,EAAU,KAAK,SAAS,kBAAiBD,EAAY,cAAa,CAACb,EAAQ,OAAAA,EAClH,SAAAoB,EAAAA,IAACnB,EAAA,CAAe,SAAAM,EAAS,CAAA,CAC3B,CAAA,CAAA,CAAA,CAGN,CAAC,EAEKe,EAAelB,EAAAA,KAAK,IAAM,CAC9B,MAAMmB,EAAIC,EAAA,EACJ,CAACf,EAAUC,CAAW,EAAIe,EAAAA,SAAyB,EAAK,EAE9D,aACGvC,EAAA,CAAY,aAAW,6BACtB,SAAAkC,MAAC/B,EAAA,CACC,gBAACE,EAAA,CACC,SAAA,CAAA6B,EAAAA,IAAC5B,EAAA,CAAc,SAAA+B,EAAE,iCAAiC,CAAA,CAAE,EACpDH,MAAC1B,GAAiB,UAAW,KAAqC,SAAA6B,EAAE,8BAA8B,EAAE,EACnGG,EAAS,IAAI,CAACC,EAAKnB,UACjBL,EAAA,CAAyB,MAAOwB,EAAI,SAAU,MAAAnB,EAAc,SAAAC,EAAoB,YAAAC,EAC9E,SAAAiB,EAAI,MAAA,EADYnB,CAEnB,CACD,EACDY,MAAClB,GAAQ,KAAMqB,EAAE,iCAAiC,EAAI,SAAAA,EAAE,kCAAkC,CAAA,CAAE,CAAA,CAAA,CAC9F,EACF,EACF,CAEJ,CAAC"}
@@ -1 +1 @@
1
- import{_ as f,a as v}from"./vendor-intl-D2lXWsDp.js";import{i as b,g as M,l as _}from"./index-pguZ7Pr7.js";import"./index-DUmIu2EK.js";import"./vendor-router-D_36sTKu.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-ua-D7qqAxdq.js";function I(o,w,h){var i;return f(this,void 0,void 0,function(){var s,l,c,d,a,g=this;return v(this,function(m){switch(m.label){case 0:return b()?[2,[]]:(s=M(),l=(i=w.enabledMiddleware)!==null&&i!==void 0?i:{},c=Object.entries(l).filter(function(r){r[0];var e=r[1];return e}).map(function(r){var e=r[0];return e}),d=c.map(function(r){return f(g,void 0,void 0,function(){var e,n,u,p;return v(this,function(t){switch(t.label){case 0:e=r.replace("@segment/",""),n=e,h&&(n=btoa(e).replace(/=/g,"")),u="".concat(s,"/middleware/").concat(n,"/latest/").concat(n,".js.gz"),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,_(u)];case 2:return t.sent(),[2,window["".concat(e,"Middleware")]];case 3:return p=t.sent(),o.log("error",p),o.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(d)]);case 1:return a=m.sent(),a=a.filter(Boolean),[2,a]}})})}export{I as remoteMiddlewares};
1
+ import{_ as f,a as v}from"./vendor-intl-D2lXWsDp.js";import{i as b,g as M,l as _}from"./index-CkaRi2_3.js";import"./index-_DB-noma.js";import"./vendor-router-D_36sTKu.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-ua-D7qqAxdq.js";function I(o,w,h){var i;return f(this,void 0,void 0,function(){var s,l,c,d,a,g=this;return v(this,function(m){switch(m.label){case 0:return b()?[2,[]]:(s=M(),l=(i=w.enabledMiddleware)!==null&&i!==void 0?i:{},c=Object.entries(l).filter(function(r){r[0];var e=r[1];return e}).map(function(r){var e=r[0];return e}),d=c.map(function(r){return f(g,void 0,void 0,function(){var e,n,u,p;return v(this,function(t){switch(t.label){case 0:e=r.replace("@segment/",""),n=e,h&&(n=btoa(e).replace(/=/g,"")),u="".concat(s,"/middleware/").concat(n,"/latest/").concat(n,".js.gz"),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,_(u)];case 2:return t.sent(),[2,window["".concat(e,"Middleware")]];case 3:return p=t.sent(),o.log("error",p),o.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(d)]);case 1:return a=m.sent(),a=a.filter(Boolean),[2,a]}})})}export{I as remoteMiddlewares};
@@ -1 +1 @@
1
- {"version":3,"file":"index-Dx9lzInm.js","sources":["../../node_modules/@segment/analytics-next/dist/pkg/plugins/remote-middleware/index.js"],"sourcesContent":["import { __awaiter, __generator } from \"tslib\";\nimport { isServer } from '../../core/environment';\nimport { loadScript } from '../../lib/load-script';\nimport { getNextIntegrationsURL } from '../../lib/parse-cdn';\nexport function remoteMiddlewares(ctx, settings, obfuscate) {\n var _a;\n return __awaiter(this, void 0, void 0, function () {\n var path, remoteMiddleware, names, scripts, middleware;\n var _this = this;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (isServer()) {\n return [2 /*return*/, []];\n }\n path = getNextIntegrationsURL();\n remoteMiddleware = (_a = settings.enabledMiddleware) !== null && _a !== void 0 ? _a : {};\n names = Object.entries(remoteMiddleware)\n .filter(function (_a) {\n var _ = _a[0], enabled = _a[1];\n return enabled;\n })\n .map(function (_a) {\n var name = _a[0];\n return name;\n });\n scripts = names.map(function (name) { return __awaiter(_this, void 0, void 0, function () {\n var nonNamespaced, bundleName, fullPath, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n nonNamespaced = name.replace('@segment/', '');\n bundleName = nonNamespaced;\n if (obfuscate) {\n bundleName = btoa(nonNamespaced).replace(/=/g, '');\n }\n fullPath = \"\".concat(path, \"/middleware/\").concat(bundleName, \"/latest/\").concat(bundleName, \".js.gz\");\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, loadScript(fullPath)\n // @ts-ignore\n ];\n case 2:\n _a.sent();\n // @ts-ignore\n return [2 /*return*/, window[\"\".concat(nonNamespaced, \"Middleware\")]];\n case 3:\n error_1 = _a.sent();\n ctx.log('error', error_1);\n ctx.stats.increment('failed_remote_middleware');\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n }); });\n return [4 /*yield*/, Promise.all(scripts)];\n case 1:\n middleware = _b.sent();\n middleware = middleware.filter(Boolean);\n return [2 /*return*/, middleware];\n }\n });\n });\n}\n//# sourceMappingURL=index.js.map"],"names":["remoteMiddlewares","ctx","settings","obfuscate","_a","__awaiter","path","remoteMiddleware","names","scripts","middleware","_this","__generator","_b","isServer","getNextIntegrationsURL","enabled","name","nonNamespaced","bundleName","fullPath","error_1","loadScript"],"mappings":"wTAIO,SAASA,EAAkBC,EAAKC,EAAUC,EAAW,CACxD,IAAIC,EACJ,OAAOC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CAC/C,IAAIC,EAAMC,EAAkBC,EAAOC,EAASC,EACxCC,EAAQ,KACZ,OAAOC,EAAY,KAAM,SAAUC,EAAI,CACnC,OAAQA,EAAG,MAAK,CACZ,IAAK,GACD,OAAIC,EAAQ,EACD,CAAC,EAAc,EAAE,GAE5BR,EAAOS,EAAsB,EAC7BR,GAAoBH,EAAKF,EAAS,qBAAuB,MAAQE,IAAO,OAASA,EAAK,CAAA,EACtFI,EAAQ,OAAO,QAAQD,CAAgB,EAClC,OAAO,SAAUH,EAAI,CACdA,EAAG,CAAC,MAAGY,EAAUZ,EAAG,CAAC,EAC7B,OAAOY,CACX,CAAC,EACI,IAAI,SAAUZ,EAAI,CACnB,IAAIa,EAAOb,EAAG,CAAC,EACf,OAAOa,CACX,CAAC,EACDR,EAAUD,EAAM,IAAI,SAAUS,EAAM,CAAE,OAAOZ,EAAUM,EAAO,OAAQ,OAAQ,UAAY,CACtF,IAAIO,EAAeC,EAAYC,EAAUC,EACzC,OAAOT,EAAY,KAAM,SAAUR,EAAI,CACnC,OAAQA,EAAG,MAAK,CACZ,IAAK,GACDc,EAAgBD,EAAK,QAAQ,YAAa,EAAE,EAC5CE,EAAaD,EACTf,IACAgB,EAAa,KAAKD,CAAa,EAAE,QAAQ,KAAM,EAAE,GAErDE,EAAW,GAAG,OAAOd,EAAM,cAAc,EAAE,OAAOa,EAAY,UAAU,EAAE,OAAOA,EAAY,QAAQ,EACrGf,EAAG,MAAQ,EACf,IAAK,GACD,OAAAA,EAAG,KAAK,KAAK,CAAC,EAAG,EAAC,CAAI,CAAC,CAAC,EACjB,CAAC,EAAakB,EAAWF,CAAQ,CAE5E,EACgC,IAAK,GACD,OAAAhB,EAAG,KAAI,EAEA,CAAC,EAAc,OAAO,GAAG,OAAOc,EAAe,YAAY,CAAC,CAAC,EACxE,IAAK,GACD,OAAAG,EAAUjB,EAAG,KAAI,EACjBH,EAAI,IAAI,QAASoB,CAAO,EACxBpB,EAAI,MAAM,UAAU,0BAA0B,EACvC,CAAC,EAAa,CAAC,EAC1B,IAAK,GAAG,MAAO,CAAC,CAAC,CACjD,CACwB,CAAC,CACL,CAAC,CAAG,CAAC,EACE,CAAC,EAAa,QAAQ,IAAIQ,CAAO,CAAC,GAC7C,IAAK,GACD,OAAAC,EAAaG,EAAG,KAAI,EACpBH,EAAaA,EAAW,OAAO,OAAO,EAC/B,CAAC,EAAcA,CAAU,CACpD,CACQ,CAAC,CACL,CAAC,CACL","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index-DrayNXRb.js","sources":["../../node_modules/@segment/analytics-next/dist/pkg/plugins/remote-middleware/index.js"],"sourcesContent":["import { __awaiter, __generator } from \"tslib\";\nimport { isServer } from '../../core/environment';\nimport { loadScript } from '../../lib/load-script';\nimport { getNextIntegrationsURL } from '../../lib/parse-cdn';\nexport function remoteMiddlewares(ctx, settings, obfuscate) {\n var _a;\n return __awaiter(this, void 0, void 0, function () {\n var path, remoteMiddleware, names, scripts, middleware;\n var _this = this;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (isServer()) {\n return [2 /*return*/, []];\n }\n path = getNextIntegrationsURL();\n remoteMiddleware = (_a = settings.enabledMiddleware) !== null && _a !== void 0 ? _a : {};\n names = Object.entries(remoteMiddleware)\n .filter(function (_a) {\n var _ = _a[0], enabled = _a[1];\n return enabled;\n })\n .map(function (_a) {\n var name = _a[0];\n return name;\n });\n scripts = names.map(function (name) { return __awaiter(_this, void 0, void 0, function () {\n var nonNamespaced, bundleName, fullPath, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n nonNamespaced = name.replace('@segment/', '');\n bundleName = nonNamespaced;\n if (obfuscate) {\n bundleName = btoa(nonNamespaced).replace(/=/g, '');\n }\n fullPath = \"\".concat(path, \"/middleware/\").concat(bundleName, \"/latest/\").concat(bundleName, \".js.gz\");\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, loadScript(fullPath)\n // @ts-ignore\n ];\n case 2:\n _a.sent();\n // @ts-ignore\n return [2 /*return*/, window[\"\".concat(nonNamespaced, \"Middleware\")]];\n case 3:\n error_1 = _a.sent();\n ctx.log('error', error_1);\n ctx.stats.increment('failed_remote_middleware');\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n }); });\n return [4 /*yield*/, Promise.all(scripts)];\n case 1:\n middleware = _b.sent();\n middleware = middleware.filter(Boolean);\n return [2 /*return*/, middleware];\n }\n });\n });\n}\n//# sourceMappingURL=index.js.map"],"names":["remoteMiddlewares","ctx","settings","obfuscate","_a","__awaiter","path","remoteMiddleware","names","scripts","middleware","_this","__generator","_b","isServer","getNextIntegrationsURL","enabled","name","nonNamespaced","bundleName","fullPath","error_1","loadScript"],"mappings":"wTAIO,SAASA,EAAkBC,EAAKC,EAAUC,EAAW,CACxD,IAAIC,EACJ,OAAOC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CAC/C,IAAIC,EAAMC,EAAkBC,EAAOC,EAASC,EACxCC,EAAQ,KACZ,OAAOC,EAAY,KAAM,SAAUC,EAAI,CACnC,OAAQA,EAAG,MAAK,CACZ,IAAK,G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