@dcl/shop 0.10.1-31029565525.commit-8eeaa8f → 0.10.1-31032606668.commit-30914a5

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 (180) hide show
  1. package/_assets/{Activity-BnUTRccC.js → Activity-CBQ0_5Gp.js} +3 -3
  2. package/_assets/{AnimatedBackground-CFxGJrvr.js → AnimatedBackground-DzU3vjuD.js} +1 -1
  3. package/_assets/{Assets-DKArlsdV.js → Assets-Bm8xT-wK.js} +48 -48
  4. package/_assets/{Assets.styles-Crxo5ZgZ.js → Assets.styles-D_DUFdKV.js} +56 -56
  5. package/_assets/{Authorizations-BVsBhVRE.js → Authorizations-YCl9mcd9.js} +1 -1
  6. package/_assets/{Cart-DGWIQa7u.js → Cart-BRPkkQw3.js} +13 -13
  7. package/_assets/{CircularProgress-C2EMA-WY.js → CircularProgress-BvMoYOvy.js} +1 -1
  8. package/_assets/Collection-D7bUo9dI.js +162 -0
  9. package/_assets/{CollectionCarousel-BfWdU9TS.js → CollectionCarousel-Bs4fBuN6.js} +18 -18
  10. package/_assets/{Confetti-2clep845.js → Confetti-Bf7aP0NE.js} +1 -1
  11. package/_assets/Creator-DctbYEDT.js +306 -0
  12. package/_assets/{ErrorNotice-DuUZx_7m.js → ErrorNotice-BU7FyT1W.js} +1 -1
  13. package/_assets/{ExchangeController-d78CG8uk.js → ExchangeController-D7v6FLdb.js} +1 -1
  14. package/_assets/{Faq-CD5Cn1w0.js → Faq-DBZpkL9P.js} +1 -1
  15. package/_assets/{GetCredits-DByVocxz.js → GetCredits-DEsgS54C.js} +14 -14
  16. package/_assets/{Grow-pVAVq4p8.js → Grow-GSOfEN2l.js} +1 -1
  17. package/_assets/{HelpersUtil-OmexlG_i.js → HelpersUtil-CkBhbL_r.js} +1 -1
  18. package/_assets/{ItemDetail-BB7--DmF.js → ItemDetail-B3yupLtb.js} +209 -209
  19. package/_assets/LazyEmoteControls-DLcKgwgu.js +2 -0
  20. package/_assets/{LoadMore-Bka3px9r.js → LoadMore-i3u3Pyt6.js} +1 -1
  21. package/_assets/{ManaPricingBanner.styles-05aOeHWK.js → ManaPricingBanner.styles-C18BesFl.js} +1 -1
  22. package/_assets/MyAssets-C-lv91w7.js +381 -0
  23. package/_assets/{MyFavorites-CdmRx3i0.js → MyFavorites-U-UxHb-o.js} +2 -2
  24. package/_assets/{NotFound-Cv_WsqDu.js → NotFound-DkcTAlkz.js} +1 -1
  25. package/_assets/{NotificationsBell-B_4w5VLE.js → NotificationsBell-DDCAY3l-.js} +1 -1
  26. package/_assets/{OutfitDetail-BlE4dNxL.js → OutfitDetail-BFmRzzjx.js} +4 -4
  27. package/_assets/{OutfitPreview-BjiO0VsO.js → OutfitPreview-DPS3H3_3.js} +2 -2
  28. package/_assets/{OutfitStudio-D9LQ_WGt.js → OutfitStudio-CrgVuCXP.js} +59 -59
  29. package/_assets/{StoreSettings-DpevQbL3.js → StoreSettings-BLndphwX.js} +43 -43
  30. package/_assets/Success-BY9OhkKm.js +280 -0
  31. package/_assets/{SwapController-BCq8cczu.js → SwapController-DXYjEOyv.js} +1 -1
  32. package/_assets/{Tooltip-BSg8PAuJ.js → Tooltip-BajbwTea.js} +1 -1
  33. package/_assets/{TradeService-DnRblc5X.js → TradeService-Cv02JkEQ.js} +1 -1
  34. package/_assets/{W3MFrameProviderSingleton-BkgMeT5j.js → W3MFrameProviderSingleton-A5mBxhYF.js} +3 -3
  35. package/_assets/{WebCryptoP256-5hLL6y4k.js → WebCryptoP256-CnQALEMv.js} +1 -1
  36. package/_assets/{authorizations-BZabD414.js → authorizations-Xqbnmu9x.js} +1 -1
  37. package/_assets/{basic-CID-Qs3b.js → basic-CvPWviGS.js} +1 -1
  38. package/_assets/{biconomy-BWK8rG_e.js → biconomy-glo4y4ek.js} +1 -1
  39. package/_assets/{builder-C0HXHDnK.js → builder-BqnhdDxo.js} +1 -1
  40. package/_assets/{buy-DMMwBXQK.js → buy-Cq5r6s_d.js} +1 -1
  41. package/_assets/{buy-gasless-DkT1GvmP.js → buy-gasless-CaSmt8Rn.js} +1 -1
  42. package/_assets/{categories-LpPpJwMX.js → categories-Cc9LF1R4.js} +44 -50
  43. package/_assets/{ccip-CmVA7LRy.js → ccip-DtPCxwhK.js} +1 -1
  44. package/_assets/{ccip-CTHaF-0F.js → ccip-HLzoBWhd.js} +1 -1
  45. package/_assets/{collectionPage.styles-C0OU97Vl.js → collectionPage.styles-rLItNGdu.js} +2 -2
  46. package/_assets/{controller-BSCAkC53.js → controller-DLVCl98j.js} +2 -2
  47. package/_assets/{core-BY58gAaC.js → core-BoCM39Dc.js} +4 -4
  48. package/_assets/{createSvgIcon-Co2I3KNE.js → createSvgIcon-CF6VIRxG.js} +1 -1
  49. package/_assets/{custom-BFUJnR6C.js → custom-BQJpm4NP.js} +1 -1
  50. package/_assets/{data-capture-BcT9TYL5.js → data-capture-CPxjWW7W.js} +1 -1
  51. package/_assets/{email-zKJhfKOQ.js → email-DglJsBXd.js} +1 -1
  52. package/_assets/{embedded-wallet-DZzfkRu7.js → embedded-wallet-CRWhciW5.js} +1 -1
  53. package/_assets/{emotion-styled.browser.esm-dvplhB66.js → emotion-styled.browser.esm-BATaYRNB.js} +1 -1
  54. package/_assets/{engine-B3Mf1brx.js → engine-CRPW7FqE.js} +1 -1
  55. package/_assets/{errors-BGVCQOMz.js → errors-D4C9kv7B.js} +1 -1
  56. package/_assets/{estimate-l1-fee-DMFrbofF.js → estimate-l1-fee-aOXZ8ihZ.js} +1 -1
  57. package/_assets/{execute-DCGV6tDo.js → execute-k2RZ2hTw.js} +2 -2
  58. package/_assets/{features-DqHFEBDx.js → features-BmdkdPP-.js} +1 -1
  59. package/_assets/{fetchTokenMetadata-D6K4KP_4.js → fetchTokenMetadata-Bmcczr66.js} +2 -2
  60. package/_assets/{field.styles-DcKQ_iNz.js → field.styles-DQVBZTuq.js} +1 -1
  61. package/_assets/{get-ecosystem-wallet-info-D6HzrmoJ.js → get-ecosystem-wallet-info-BbJRcc1t.js} +1 -1
  62. package/_assets/{getBalance-LGdYuyxa.js → getBalance-DC-t3UhM.js} +1 -1
  63. package/_assets/{getNFT-Cw0O3Ml9.js → getNFT-BlzNSmnK.js} +1 -1
  64. package/_assets/{getNFT-CuZyZceA.js → getNFT-DwruUWap.js} +1 -1
  65. package/_assets/{grid.styles-BoDTH9-L.js → grid.styles-2-Lphh1_.js} +1 -1
  66. package/_assets/{hashTypedData-CM__DDH2.js → hashTypedData-BLMgL5Vz.js} +1 -1
  67. package/_assets/{hashTypedData-qqC1Tbni.js → hashTypedData-D6ew3JpS.js} +1 -1
  68. package/_assets/{in-app-BwohLVFE.js → in-app-BRl8aLUS.js} +1 -1
  69. package/_assets/{in-app-wallet-calls-DkQZMb0p.js → in-app-wallet-calls-Cf8UnG06.js} +1 -1
  70. package/_assets/{index-D8uSGtoz.js → index-B2N5oNn8.js} +1 -1
  71. package/_assets/{index-DplFHsVz.js → index-BBOn5orP.js} +1 -1
  72. package/_assets/{index-CRUz-lFa.js → index-BD25cQD4.js} +1 -1
  73. package/_assets/{index-C4OULSnf.js → index-BDzGigH2.js} +1 -1
  74. package/_assets/{index-txSbIXUX.js → index-BISFLA3c.js} +1 -1
  75. package/_assets/{index-DY-CJBBw.js → index-BJovGEvB.js} +1 -1
  76. package/_assets/{index-CwEAusBk.js → index-BKj0f9wi.js} +1 -1
  77. package/_assets/{index-BeHXNx4l.js → index-BTkQgQDi.js} +1 -1
  78. package/_assets/{index-BHs8Nm1v.js → index-BXzvQW0o.js} +1 -1
  79. package/_assets/{index-jQ98hJsI.js → index-BZL5qpA4.js} +2 -2
  80. package/_assets/{index-BOCGS4MY.js → index-B_PIYV8c.js} +2 -2
  81. package/_assets/{index-BDKp6O92.js → index-BelRIVeb.js} +1 -1
  82. package/_assets/{index-BSioXpnp.js → index-BkspOCIc.js} +1 -1
  83. package/_assets/{index-unjRyi-x.js → index-Bq_9XM9n.js} +1 -1
  84. package/_assets/{index-CVEw6hKC.js → index-C-WOsJGb.js} +1 -1
  85. package/_assets/{index-CvJmHkgv.js → index-C0tIouBf.js} +3 -3
  86. package/_assets/{index-DVP9mmy0.js → index-C6G5Ojpz.js} +1 -1
  87. package/_assets/{index-MhPhsWP8.js → index-C7hGN0lI.js} +1 -1
  88. package/_assets/{index-CFjdvXcL.js → index-CBe4gtAt.js} +2 -2
  89. package/_assets/{index-DOmua37r.js → index-CFypPkBr.js} +1 -1
  90. package/_assets/{index-dguKxdA7.js → index-CHb52k2r.js} +2 -2
  91. package/_assets/{index-DnafkRIs.js → index-CN8WHGrH.js} +1 -1
  92. package/_assets/{index-CDV3IoQm.js → index-COY9dHV9.js} +1 -1
  93. package/_assets/{index-DqogjYMl.js → index-CPTPmsi2.js} +1 -1
  94. package/_assets/{index-CM4gYpZ8.js → index-CPhcLOEq.js} +1 -1
  95. package/_assets/{index-Dg22Nieo.js → index-Ch87wzNg.js} +1 -1
  96. package/_assets/index-CqRUWZDq.js +1 -0
  97. package/_assets/{index-Dij6LJf6.js → index-CuSvjeNM.js} +1 -1
  98. package/_assets/{index-BLKe1fxG.js → index-CwFxxSc1.js} +299 -299
  99. package/_assets/{index-CRd1XuYs.js → index-CwKi0BcO.js} +1 -1
  100. package/_assets/{index-B9zvMdI0.js → index-CxTgEmAp.js} +1 -1
  101. package/_assets/{index-BPqobsB6.js → index-CyQd3Dif.js} +1 -1
  102. package/_assets/{index-BRZA_fuK.js → index-D7TrWXvV.js} +1 -1
  103. package/_assets/{index-BSFFapHO.js → index-DCZ36akI.js} +1 -1
  104. package/_assets/{index-CCenxE7k.js → index-DFNARVN7.js} +1 -1
  105. package/_assets/{index-Bo-edPJM.js → index-DGXzZsJb.js} +1 -1
  106. package/_assets/{index-CSHbp-r-.js → index-DKKo0LoX.js} +11 -11
  107. package/_assets/{index-MuXfi5UE.js → index-DOGInGKk.js} +1 -1
  108. package/_assets/{index-BsgL3ujL.js → index-DQ1Y3Whz.js} +1 -1
  109. package/_assets/{index-BzVWz4Tj.js → index-DRKYu1B3.js} +1 -1
  110. package/_assets/{index-DlhJ9Qox.js → index-DRyHPso7.js} +1 -1
  111. package/_assets/{index-UR9Qpju9.js → index-DSJJjIyM.js} +3 -3
  112. package/_assets/{index-B-2CvxPO.js → index-DSQSVjLs.js} +1 -1
  113. package/_assets/{index-CVIbA-VT.js → index-DdL-MVH6.js} +1 -1
  114. package/_assets/{index-CTenZZ8l.js → index-DgkGEui6.js} +1 -1
  115. package/_assets/{index-LP5Of-SX.js → index-Sn4izkWE.js} +1 -1
  116. package/_assets/index-UdM3HuhV.js +1 -0
  117. package/_assets/{index-CWhL4zBo.js → index-e3mxlGeM.js} +1 -1
  118. package/_assets/{index-Bo5HGYUE.js → index-fRwny2zx.js} +1 -1
  119. package/_assets/{index-0DS7nWrl.js → index-fvtPPVdt.js} +1 -1
  120. package/_assets/{index-ShFdgjrK.js → index-j8jUDLYS.js} +1 -1
  121. package/_assets/{index-BBrm4kwZ.js → index-rj2Zyfmj.js} +3 -3
  122. package/_assets/{index.es-WFmF4El-.js → index.es-C7evsiQb.js} +4 -4
  123. package/_assets/{index.es-CM1g4yN5.js → index.es-DF_rXR3Q.js} +1 -1
  124. package/_assets/{index.es-C61rbBYw.js → index.es-DYP1_xK_.js} +1 -1
  125. package/_assets/{localBatchGatewayRequest-DGjQ1weV.js → localBatchGatewayRequest-BXykDIjc.js} +1 -1
  126. package/_assets/{networks-C1UzX1Sm.js → networks-DKlZyT-L.js} +1 -1
  127. package/_assets/{onramp-Fd2Cj3wL.js → onramp-ByQtA-xO.js} +1 -1
  128. package/_assets/{openzeppelin-BYo8OyKm.js → openzeppelin-CroDtw4s.js} +1 -1
  129. package/_assets/{parseNft-Gein49L0.js → parseNft-BH0wDTt0.js} +2 -2
  130. package/_assets/{parseSignature-k67zYFy4.js → parseSignature-DgaK7Nqy.js} +1 -1
  131. package/_assets/{parseSignature-DaGe9UWu.js → parseSignature-VSsiOnpe.js} +3 -3
  132. package/_assets/{passkeys-D3J4DzgH.js → passkeys-C1oIb99i.js} +1 -1
  133. package/_assets/{pay-with-exchange-CbWF1HDJ.js → pay-with-exchange-CttWQzQs.js} +1 -1
  134. package/_assets/{qr-overlay-nWKGC2_v.js → qr-overlay-DHUyjo36.js} +1 -1
  135. package/_assets/{receive-bg6fMaP3.js → receive-BKxXWv2t.js} +1 -1
  136. package/_assets/{resolveImplementation-3oaoK01c.js → resolveImplementation-X7KhKw3S.js} +1 -1
  137. package/_assets/{rpc-BohETOPd.js → rpc-CLJ9sbD8.js} +1 -1
  138. package/_assets/{secp256k1-DDb2NhqN.js → secp256k1-Cbp19gqh.js} +1 -1
  139. package/_assets/{secp256k1-DTNpVYCz.js → secp256k1-DPi4cvKJ.js} +1 -1
  140. package/_assets/{secp256k1-C-hoA_Tn.js → secp256k1-DxA18vH5.js} +1 -1
  141. package/_assets/{send-CmaFLfs9.js → send-EgTowmAZ.js} +1 -1
  142. package/_assets/{send-batch-transaction-BGvy0zyD.js → send-batch-transaction-wEk0AI7v.js} +1 -1
  143. package/_assets/{send-eip712-transaction-hYvHM7vZ.js → send-eip712-transaction-BBM2idYc.js} +2 -2
  144. package/_assets/{send-gasless-transaction-QyhmnHZB.js → send-gasless-transaction-UdxWKrE2.js} +2 -2
  145. package/_assets/{send-transaction-CtZe85mL.js → send-transaction-DEvt9fmJ.js} +2 -2
  146. package/_assets/{sendMetaTransaction-C5SAvbei.js → sendMetaTransaction-BYbBPih_.js} +1 -1
  147. package/_assets/{sendRawTransaction-B2WHhB1D.js → sendRawTransaction-D5OSt6IO.js} +3 -3
  148. package/_assets/{serializeTransaction-BwuobXgs.js → serializeTransaction-Blc5JuIS.js} +1 -1
  149. package/_assets/{session-proposal-pdBgnfq3.js → session-proposal-BOLRFjK9.js} +1 -1
  150. package/_assets/{session-request-DVhv1Cj8.js → session-request-CRjXklwV.js} +2 -2
  151. package/_assets/{signing-BRSDIb8-.js → signing-B3rrMiJs.js} +3 -3
  152. package/_assets/skeleton.styles-D3iPDKdT.js +7 -0
  153. package/_assets/{socials-D7ScJClR.js → socials-QIa2OQ6D.js} +1 -1
  154. package/_assets/{styled-CrSAMFFb.js → styled-CMJUrQY2.js} +1 -1
  155. package/_assets/{swaps-wmzxaVLP.js → swaps-DIftYDvd.js} +1 -1
  156. package/_assets/{thirdweb-WdIIt1R4.js → thirdweb-C0YKMkrc.js} +3 -3
  157. package/_assets/{to-serializable-transaction-Dcp4UJq5.js → to-serializable-transaction-Cjnw6yJ0.js} +2 -2
  158. package/_assets/{transactionReceipt-CX5pZ3y-.js → transactionReceipt-BCryC1fM.js} +1 -1
  159. package/_assets/{transactions-CP64yjJv.js → transactions-p19NlOdG.js} +1 -1
  160. package/_assets/{useCreditPacks-BtlA3bsY.js → useCreditPacks-DL0joeDc.js} +1 -1
  161. package/_assets/{useImportable-30ssdgwW.js → useImportable-CXGXlKVj.js} +1 -1
  162. package/_assets/{useInfiniteGrid-DwOzTLpA.js → useInfiniteGrid-DCnfT2gg.js} +1 -1
  163. package/_assets/{useTheme-BTDb7mvT.js → useTheme-vYv6two9.js} +1 -1
  164. package/_assets/{verifyHash-C6FN0xpS.js → verifyHash-Dnb3FmXs.js} +1 -1
  165. package/_assets/{w3m-modal-Bq0A97y3.js → w3m-modal-BPKpwX5-.js} +1 -1
  166. package/_assets/{w3m-modal-DoKC93v3.js → w3m-modal-CQfqosvf.js} +1 -1
  167. package/_assets/{wait-for-tx-receipt-25yHA4Ha.js → wait-for-tx-receipt-H6RTv4Cw.js} +1 -1
  168. package/_assets/{wallets-CLLcXEAl.js → wallets-C2vtueR8.js} +5 -5
  169. package/_assets/{web-connector-CXNgxhSL.js → web-connector-Cc4ShgT6.js} +3 -3
  170. package/_assets/{writeContract-78bJpqls.js → writeContract-B_DvmCjk.js} +1 -1
  171. package/_assets/{zoraTestnet-CNk9bURD.js → zoraTestnet-TFaEQBOe.js} +1 -1
  172. package/index.html +11 -11
  173. package/package.json +2 -2
  174. package/_assets/Collection-D6DIMkEd.js +0 -162
  175. package/_assets/Creator-k4PUSiKV.js +0 -306
  176. package/_assets/LazyEmoteControls-CtiNE6Cc.js +0 -2
  177. package/_assets/MyAssets-_v0xxc8e.js +0 -381
  178. package/_assets/Success-rROJaYNs.js +0 -280
  179. package/_assets/index-CLm02-HM.js +0 -1
  180. package/_assets/index-zCa2boac.js +0 -1
package/index.html CHANGED
@@ -16,10 +16,10 @@
16
16
  <link rel="canonical" href="https://decentraland.org/shop/" />
17
17
 
18
18
  <!-- Favicon: the Decentraland mark (same as the marketplace). -->
19
- <link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/favicon.ico" sizes="16x16 32x32 48x48" />
20
- <link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/dcl-mark.png" />
19
+ <link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/favicon.ico" sizes="16x16 32x32 48x48" />
20
+ <link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/dcl-mark.png" />
21
21
  <meta name="apple-mobile-web-app-title" content="DCL Shop" />
22
- <link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/site.webmanifest" />
22
+ <link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/site.webmanifest" />
23
23
 
24
24
  <!-- Open Graph.
25
25
 
@@ -58,7 +58,7 @@
58
58
  <meta name="twitter:image:alt" content="Decentraland Shop — wearables and emotes for your avatar" />
59
59
 
60
60
  <!-- Sitemap -->
61
- <link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/sitemap.xml" />
61
+ <link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/sitemap.xml" />
62
62
 
63
63
  <!-- Warm the 3D preview / fonts -->
64
64
  <link rel="preconnect" href="https://fonts.googleapis.com" />
@@ -70,13 +70,13 @@
70
70
  <link rel="preconnect" href="https://wearable-preview.decentraland.org" />
71
71
  <link rel="preconnect" href="https://peer.decentraland.zone" crossorigin />
72
72
  <link rel="preconnect" href="https://peer.decentraland.org" crossorigin />
73
- <script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/_assets/index-BLKe1fxG.js"></script>
74
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/_assets/react-BYHuwl8r.js">
75
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/_assets/dcl-schemas-CmtP3U6y.js">
76
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/_assets/sentry-Dx-KuLV3.js">
77
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/_assets/ethers-BDpbhgX6.js">
78
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/_assets/intl-CBcMB1D2.js">
79
- <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31029565525.commit-8eeaa8f/_assets/index-D-NhBWWr.css">
73
+ <script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/_assets/index-CwFxxSc1.js"></script>
74
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/_assets/react-BYHuwl8r.js">
75
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/_assets/dcl-schemas-CmtP3U6y.js">
76
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/_assets/sentry-Dx-KuLV3.js">
77
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/_assets/ethers-BDpbhgX6.js">
78
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/_assets/intl-CBcMB1D2.js">
79
+ <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.10.1-31032606668.commit-30914a5/_assets/index-D-NhBWWr.css">
80
80
  </head>
81
81
  <body>
82
82
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/shop",
3
- "version": "0.10.1-31029565525.commit-8eeaa8f",
3
+ "version": "0.10.1-31032606668.commit-30914a5",
4
4
  "main": "index.js",
5
5
  "author": "Decentraland",
6
6
  "license": "Apache-2.0",
@@ -8,5 +8,5 @@
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/decentraland/shop.git"
10
10
  },
11
- "commit": "8eeaa8ff86578c862c4007a2b662043a48cf18f3"
11
+ "commit": "30914a5e30d4e33832d15c1afa01ffa4af12116b"
12
12
  }
@@ -1,162 +0,0 @@
1
- import{j as e,r as h,d as J,b as X}from"./react-BYHuwl8r.js";import{t as b,s,bs as ee,a1 as te,D as T,bt as ae,bu as oe,I as ie,b as a,c as re,F as se,v as ne,x as ce,C as le,ap as z,aq as de,bv as pe,bw as xe}from"./index-BLKe1fxG.js";import{E as me}from"./ErrorNotice-DuUZx_7m.js";import{d as he,P as ue,C as ge,a as be,b as fe,A as ve}from"./collectionPage.styles-C0OU97Vl.js";import{S as L,C as je,F as ye,c as we,P as Ce,d as $e,H as ke,e as Ne}from"./categories-LpPpJwMX.js";import{L as Pe}from"./LoadMore-Bka3px9r.js";import{u as Se}from"./useInfiniteGrid-DwOzTLpA.js";import{G as Ae}from"./grid.styles-BoDTH9-L.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";const Me=s.section`
2
- position: relative;
3
- border-radius: ${b.radius.card};
4
- overflow: hidden;
5
- margin-bottom: 24px;
6
- min-height: 200px;
7
- display: flex;
8
- align-items: center;
9
- justify-content: center;
10
-
11
- ${b.media.maxWidth("mobile")} {
12
- min-height: 140px;
13
- }
14
- `,Ee=s.div`
15
- position: absolute;
16
- inset: 0;
17
- z-index: 0;
18
- `,Fe=s.img`
19
- width: 100%;
20
- height: 100%;
21
- object-fit: cover;
22
- display: block;
23
- `,Re=s.div`
24
- position: absolute;
25
- inset: 0;
26
- background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
27
- `,Te=s.h1`
28
- position: relative;
29
- z-index: 1;
30
- margin: 0;
31
- padding: 32px 24px;
32
- text-align: center;
33
- color: ${b.colors.white};
34
- font-size: 40px;
35
- font-weight: 800;
36
- line-height: 1.2;
37
- letter-spacing: 0.02em;
38
- text-transform: uppercase;
39
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
40
-
41
- ${b.media.maxWidth("mobile")} {
42
- padding: 24px 16px;
43
- font-size: 26px;
44
- }
45
- `;function ze({name:o,creator:t}){const{data:n}=ee(t),d=(n==null?void 0:n.cover)||he;return e.jsxs(Me,{"data-testid":"collection-hero","aria-label":o,children:[e.jsxs(Ee,{children:[e.jsx(Fe,{src:d,alt:"",loading:"eager"}),e.jsx(Re,{"aria-hidden":!0})]}),e.jsx(Te,{"data-testid":"collection-hero-title",children:o})]})}const{colors:c,radius:I}=b,Le=s.div`
46
- display: flex;
47
- flex-direction: column;
48
- align-items: center;
49
- text-align: center;
50
- gap: 12px;
51
- padding-bottom: 24px;
52
- /* Lift so the avatar half-overlaps the 24px-below cover hero (24px + half the 110px avatar). */
53
- margin-top: -79px;
54
- margin-bottom: 8px;
55
- border-bottom: 1px solid ${c.line};
56
- `,B=s.img`
57
- display: block;
58
- width: 110px;
59
- height: 110px;
60
- border-radius: 50%;
61
- object-fit: cover;
62
- border: 5px solid ${c.white};
63
- box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
64
- background: #ff4bed;
65
- `,Be=s.h2`
66
- margin: 0;
67
- font-size: 20px;
68
- font-weight: 700;
69
- line-height: 1.3;
70
- color: ${c.text};
71
- max-width: 100%;
72
- overflow: hidden;
73
- text-overflow: ellipsis;
74
- white-space: nowrap;
75
- `,Ie=s.button`
76
- display: inline-flex;
77
- align-items: center;
78
- gap: 8px;
79
- padding: 4px 8px;
80
- border: 0;
81
- border-radius: ${I.btn};
82
- background: none;
83
- color: ${c.muted};
84
- font: inherit;
85
- font-size: 14px;
86
- cursor: pointer;
87
- transition:
88
- color 0.15s ease,
89
- background 0.15s ease;
90
-
91
- &:hover {
92
- color: ${c.text};
93
- background: ${c.media};
94
- }
95
- `,We=s.a`
96
- display: inline-flex;
97
- align-items: center;
98
- justify-content: center;
99
- width: 100%;
100
- height: 44px;
101
- padding: 0 20px;
102
- border: 2px solid ${c.accent};
103
- border-radius: ${I.btn};
104
- background: transparent;
105
- color: ${c.accent};
106
- font-weight: 600;
107
- font-size: 13px;
108
- text-transform: uppercase;
109
- letter-spacing: 0.046em;
110
- text-decoration: none;
111
- transition:
112
- background 0.15s ease,
113
- color 0.15s ease;
114
-
115
- &:hover {
116
- background: ${c.accent};
117
- color: ${c.white};
118
- }
119
- `;function _e({address:o}){var v,l;const{data:t}=te(o),[n,d]=h.useState(!1);if(!o)return null;const p=(t==null?void 0:t.name)||T(o),u=(l=(v=t==null?void 0:t.avatar)==null?void 0:v.snapshots)==null?void 0:l.face256,g=`${re.profileUrl}/${o}`,f=ae(oe({name:t==null?void 0:t.name,hasClaimedName:t==null?void 0:t.hasClaimedName,ethAddress:(t==null?void 0:t.ethAddress)??o}));async function x(){try{await navigator.clipboard.writeText(o),d(!0),window.setTimeout(()=>d(!1),1500)}catch(y){se(y,{flow:"copy_creator_address"})}}return e.jsxs(Le,{"data-testid":"creator-card",children:[u?e.jsx(B,{src:u,alt:"",loading:"eager",style:{backgroundColor:f}}):e.jsx(B,{as:"span","aria-hidden":!0,style:{backgroundColor:f}}),e.jsx(Be,{title:p,children:p}),e.jsxs(Ie,{type:"button",onClick:()=>void x(),title:n?a("collection.copied"):a("collection.copyAddress"),"aria-label":n?a("collection.copied"):a("collection.copyAddress"),children:[e.jsx("span",{children:T(o)}),e.jsx(ie,{name:"copy",size:16})]}),e.jsx(We,{"data-testid":"creator-card-view",href:g,target:"_blank",rel:"noopener noreferrer",children:a("collection.viewProfile")})]})}const{colors:Ge,media:$}=b,He=s.div`
120
- position: relative;
121
- display: flex;
122
- gap: 32px;
123
- align-items: flex-start;
124
-
125
- ${$.maxWidth("lg")} {
126
- display: block;
127
- }
128
- `,Ue=s.div`
129
- flex: 1;
130
- min-width: 0;
131
-
132
- ${$.maxWidth("lg")} {
133
- width: 100%;
134
- }
135
- `,qe=s.aside`
136
- flex: none;
137
- width: 265px;
138
-
139
- ${$.maxWidth("lg")} {
140
- position: fixed;
141
- left: 0;
142
- right: 0;
143
- bottom: 0;
144
- top: auto;
145
- z-index: 9999;
146
- width: 100%;
147
- max-height: 88vh;
148
- border-radius: 16px 16px 0 0;
149
- background: ${Ge.white};
150
- padding: 0 16px;
151
- overflow-y: auto;
152
- box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
153
- transform: translateY(100%);
154
- transition: transform 0.26s ease;
155
- visibility: hidden;
156
-
157
- &[data-open] {
158
- transform: translateY(0);
159
- visibility: visible;
160
- }
161
- }
162
- `,Ye=48;function it(){var R;const{contractAddress:o}=J(),t=X(),[n,d]=h.useState("wearable"),[p,u]=h.useState(null),[g,f]=h.useState([]),[x,v]=h.useState(""),[l,y]=h.useState(""),[k,W]=h.useState("newest"),N=x&&!Number.isNaN(Number(x))?Number(x):void 0,P=l&&!Number.isNaN(Number(l))?Number(l):void 0,_=p?Ne[p]:void 0,G=(L.find(i=>i.key===k)??L[0]).server,S={category:n,rarities:g.length?g:void 0,wearableCategories:_,minPriceCredits:N,maxPriceCredits:P,sortBy:G},{items:j,total:H,isLoading:w,error:A,hasNextPage:U,isFetchingNextPage:M,isFetchNextPageError:q,fetchNextPage:Y}=Se(["collection-page",o,S],i=>pe(o,{...S,first:Ye,skip:i}),{enabled:!!o}),{data:r}=ne({queryKey:["collection-meta",o],queryFn:()=>xe(o),enabled:!!o,staleTime:5*6e4}),E=(r==null?void 0:r.name)||a("collection.fallbackTitle");ce({title:r==null?void 0:r.name,description:r!=null&&r.name?a("seo.collection.description",{name:r.name}):void 0});const F=(r==null?void 0:r.creator)||((R=j[0])==null?void 0:R.creator);function D(i){d(i),u(null)}function K(i){f(m=>m.includes(i)?m.filter(Z=>Z!==i):[...m,i])}function O(){d("wearable"),u(null),f([]),v(""),y("")}const C=!!(N||P),Q=C?`${x||"0"}–${l||"∞"}`:a("filter.price"),V=n!=="wearable"||!!p||g.length>0||C;return e.jsxs(ue,{"data-testid":"collection-page",children:[e.jsxs(ge,{"aria-label":a("collection.breadcrumbAria"),children:[e.jsx(be,{onClick:()=>t("/items"),children:a("collection.breadcrumb")}),e.jsx("span",{children:"/"}),e.jsx(fe,{children:E})]}),e.jsx(ze,{name:E,creator:F}),e.jsxs(He,{"data-testid":"browse",children:[e.jsxs(qe,{"data-testid":"browse-sidebar",children:[e.jsx(_e,{address:F}),e.jsx(je,{category:n,subCategory:p,onCategory:D,onSub:u,title:a("collection.category"),flat:!0})]}),e.jsxs(Ue,{children:[!w&&j.length>0?e.jsx(ve,{items:j,source:"collection"}):null,e.jsx(ye,{rarities:g,onToggleRarity:K,sort:k,onSort:W,total:H,loading:w,anyActive:V,onClear:O,renderTrailing:i=>e.jsx(we,{panelKey:"price",label:Q,active:C,panel:i,children:e.jsxs(Ce,{"data-variant":"price",children:[e.jsxs($e,{children:[e.jsx("input",{type:"number",min:"0","aria-label":a("collection.priceMin"),placeholder:a("collection.priceMinPlaceholder"),value:x,onChange:m=>v(m.target.value)}),e.jsx("span",{children:"–"}),e.jsx("input",{type:"number",min:"0","aria-label":a("collection.priceMax"),placeholder:a("collection.priceMaxPlaceholder"),value:l,onChange:m=>y(m.target.value)})]}),e.jsx(ke,{children:a("collection.priceHint",{currency:le.name})})]})})}),A?e.jsx(me,{message:a("collection.error")}):null,e.jsx(Ae,{"data-testid":"grid",children:w?e.jsx(z,{count:15}):e.jsxs(e.Fragment,{children:[j.map(i=>e.jsx(de,{item:i},i.id)),M?e.jsx(z,{count:6}):null]})}),e.jsx(Pe,{hasNextPage:U,isFetching:M,isError:q,onLoadMore:()=>void Y()}),!w&&!A&&j.length===0?e.jsx("p",{className:"muted",children:a("collection.empty")}):null]})]})]})}export{it as Collection,it as default};
@@ -1,306 +0,0 @@
1
- import{b as de,j as e,L as Fe,d as Le,u as Me,r as L}from"./react-BYHuwl8r.js";import{u as Ae}from"./useUrlFilters-DH-gxdfV.js";import{t as he,N as Ie,P as Z,O as X,s as i,bF as Re,J as _e,bG as ze,b as o,bH as Be,bI as ee,B as Te,K as me,a1 as pe,bs as We,o as De,D as ue,bz as Oe,bt as Ge,bu as Ke,I as te,c as Ue,x as He,v as qe,al as Ve,an as Je,ao as Qe,ap as M,aq as oe,bJ as re,bK as Ye}from"./index-BLKe1fxG.js";import{d as Ze,P as Xe,C as et,a as tt,b as ot,A as rt,c as st,e as it}from"./collectionPage.styles-C0OU97Vl.js";import{g as at,h as nt,i as lt,j as ct,k as dt,C as ht,l as mt,o as pt,m as ut,n as xt,M as gt,E as ft,p as bt,q as wt,r as vt,s as yt,t as jt}from"./Assets.styles-Crxo5ZgZ.js";import{S as se,R as Ct,F as kt,e as $t}from"./categories-LpPpJwMX.js";import{L as ie}from"./LoadMore-Bka3px9r.js";import{u as ae}from"./useInfiniteGrid-DwOzTLpA.js";import{E as _}from"./ErrorNotice-DuUZx_7m.js";import{G as ne}from"./grid.styles-BoDTH9-L.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./Tooltip-BSg8PAuJ.js";function St(r){const{gridLoading:s,gridError:a,gridCount:l,baselinePending:c,baselineError:d,baselineCount:g}=r;return s?"skeletons":a?"error":l>0?"items":c?"skeletons":d?"error":g===0?"no-creations":"filters"}const{colors:b,radius:xe,media:Nt}=he,Et=i.article`
2
- height: 300px;
3
- background: ${b.bg};
4
- border-radius: ${xe.card};
5
- overflow: hidden;
6
- position: relative;
7
- isolation: isolate;
8
- display: flex;
9
- flex-direction: column;
10
- cursor: pointer;
11
- transition: box-shadow 0.15s ease;
12
-
13
- &::after {
14
- ${Ie};
15
- }
16
-
17
- &:focus-visible {
18
- ${Z};
19
- }
20
- &:focus-visible::after {
21
- ${X};
22
- }
23
-
24
- // The swap is a pointer affordance only: keyboard focus must not hide the creator row, whose profile
25
- // link is focusable (visibility: hidden would drop it from the tab order). Enter/Space on the card
26
- // already opens the collection.
27
- @media (hover: hover) {
28
- &:hover {
29
- ${Z};
30
- }
31
- &:hover::after {
32
- ${X};
33
- }
34
- &:hover [data-view] {
35
- visibility: visible;
36
- }
37
- &:hover [data-meta] {
38
- visibility: hidden;
39
- }
40
- }
41
- `,Pt=i.div`
42
- position: relative;
43
- flex: 1;
44
- min-height: 0;
45
- background: ${b.media};
46
- overflow: hidden;
47
- `,Ft=i.img`
48
- width: 100%;
49
- height: 100%;
50
- object-fit: cover;
51
- display: block;
52
- `,Lt=i(Re)`
53
- & [data-testid='coll-thumb-cell'] img {
54
- object-fit: contain;
55
- padding: 10px;
56
- }
57
- `,Mt=i.div`
58
- flex: 0 0 102px;
59
- height: 102px;
60
- padding: 12px 14px;
61
- display: flex;
62
- flex-direction: column;
63
- gap: 8px;
64
- `,At=i.h3`
65
- margin: 0;
66
- font-weight: 700;
67
- font-size: 18px;
68
- line-height: 1.3;
69
- color: ${b.text};
70
- white-space: nowrap;
71
- overflow: hidden;
72
- text-overflow: ellipsis;
73
-
74
- ${Nt.maxWidth("mobile")} {
75
- font-size: 16px;
76
- }
77
- `,It=i.div`
78
- flex: 1;
79
- min-height: 0;
80
- display: grid;
81
- grid-template-areas: 'stack';
82
- align-items: center;
83
-
84
- & > * {
85
- grid-area: stack;
86
- }
87
- `,Rt=i.div`
88
- display: flex;
89
- align-items: center;
90
- justify-content: space-between;
91
- gap: 10px;
92
- `,_t=i(_e)`
93
- min-width: 0;
94
- color: ${b.muted};
95
-
96
- & [data-avatar] {
97
- width: 24px;
98
- height: 24px;
99
- }
100
- & [data-testid='creator-name'] {
101
- font-size: 14px;
102
- }
103
- & [data-testid='creator-display'] {
104
- color: ${b.dclRed};
105
- font-weight: 700;
106
- }
107
- `,zt=i.span`
108
- min-width: 0;
109
- `,Bt=i.span`
110
- flex: none;
111
- color: ${b.text};
112
- font-weight: 600;
113
- font-size: 14px;
114
- white-space: nowrap;
115
- `,Tt=i.button`
116
- visibility: hidden;
117
- width: 100%;
118
- height: 44px;
119
- display: flex;
120
- align-items: center;
121
- justify-content: center;
122
- background: ${b.accent};
123
- color: ${b.softWhite};
124
- border: 0;
125
- border-radius: ${xe.btn};
126
- font-weight: 700;
127
- font-size: 13px;
128
- text-transform: uppercase;
129
- letter-spacing: 0.046em;
130
- transition: background 0.15s ease;
131
-
132
- &:hover {
133
- background: ${b.accentHover};
134
- }
135
- &:active {
136
- background: ${b.accentActive};
137
- }
138
- `;function Wt({collection:r,cover:s,itemCount:a}){const l=de(),{contractAddress:c,name:d,creator:g}=r,y=s==null||a==null,{data:n}=ze(c,y),f=s==null?(n==null?void 0:n.items)??[]:[],w=a??(n==null?void 0:n.total);function h(){l(`/collection/${c}`)}return e.jsxs(Et,{"data-testid":"coll-card",role:"link",tabIndex:0,onClick:h,onKeyDown:m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),h())},children:[e.jsx(Pt,{children:s?e.jsx(Ft,{"data-testid":"coll-card-img",src:s,alt:"",loading:"lazy"}):f.length>0?e.jsx(Lt,{items:f,tinted:!1}):null}),e.jsxs(Mt,{children:[e.jsx(At,{title:d,children:d}),e.jsxs(It,{children:[e.jsxs(Rt,{"data-meta":!0,"data-testid":"coll-card-meta",children:[g?e.jsx(_t,{address:g,linkToProfile:!0}):e.jsx(zt,{children:" "}),e.jsx(Bt,{children:w==null?"…":o("collectionCard.itemCount",{count:w})})]}),e.jsx(Tt,{"data-view":!0,"data-testid":"coll-card-view",onClick:m=>{m.stopPropagation(),h()},tabIndex:-1,children:o("collectionCard.viewCollection")})]})]})]})}function Dt({address:r,className:s=""}){const a=Be(),l=ee(d=>d.followed.includes(r.toLowerCase())),c=ee(d=>d.toggle);return!a||!r?null:e.jsx(Te,{type:"button",size:"sm",variant:l?"ghost":"outline",className:s||void 0,"data-testid":"follow-button","aria-pressed":l,title:l?o("creator.unfollowTitle"):o("creator.followTitle"),onClick:()=>c(r),children:l?o("creator.following"):o("creator.follow")})}const{colors:C,radius:ge,media:v}=he,fe=me`
139
- display: inline-flex;
140
- align-items: center;
141
- justify-content: center;
142
- height: 44px;
143
- padding: 0 28px;
144
- border: 2px solid ${C.white};
145
- border-radius: ${ge.btn};
146
- background: transparent;
147
- color: ${C.white};
148
- font-weight: 600;
149
- font-size: 13px;
150
- text-transform: uppercase;
151
- letter-spacing: 0.046em;
152
- text-decoration: none;
153
- `,Ot=i.section`
154
- position: relative;
155
- border-radius: ${ge.card};
156
- overflow: hidden;
157
- margin-bottom: 24px;
158
- min-height: 360px;
159
- display: flex;
160
- align-items: center;
161
- justify-content: center;
162
-
163
- && .creator-hero__follow {
164
- ${fe};
165
- }
166
- && .creator-hero__follow:hover:not(:disabled) {
167
- background: rgba(255, 255, 255, 0.14);
168
- }
169
-
170
- ${v.maxWidth("mobile")} {
171
- min-height: 260px;
172
- }
173
- `,Gt=i.div`
174
- position: absolute;
175
- inset: 0;
176
- z-index: 0;
177
- `,Kt=i.img`
178
- width: 100%;
179
- height: 100%;
180
- object-fit: cover;
181
- display: block;
182
- `,Ut=i.div`
183
- position: absolute;
184
- inset: 0;
185
- background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
186
- `,Ht=i.div`
187
- position: absolute;
188
- top: 16px;
189
- right: 16px;
190
- z-index: 2;
191
- display: flex;
192
- align-items: center;
193
- gap: 8px;
194
-
195
- ${v.maxWidth("mobile")} {
196
- top: 12px;
197
- right: 12px;
198
- gap: 6px;
199
- }
200
- `,be=me`
201
- display: flex;
202
- align-items: center;
203
- justify-content: center;
204
- color: ${C.white};
205
- transition: opacity 0.15s linear;
206
-
207
- &:hover {
208
- opacity: 0.8;
209
- }
210
- & .ico {
211
- width: 36px;
212
- height: 36px;
213
- }
214
- ${v.maxWidth("mobile")} {
215
- & .ico {
216
- width: 30px;
217
- height: 30px;
218
- }
219
- }
220
- `,qt=i.a`
221
- ${be};
222
- `,Vt=i(Fe)`
223
- ${be};
224
- width: 32px;
225
- height: 32px;
226
- border-radius: 50%;
227
- border: 2px solid ${C.white};
228
- transition: background-color 0.15s linear;
229
-
230
- &:hover {
231
- opacity: 1;
232
- background: rgba(255, 255, 255, 0.24);
233
- }
234
- & .ico {
235
- width: 16px;
236
- height: 16px;
237
- }
238
- ${v.maxWidth("mobile")} {
239
- width: 28px;
240
- height: 28px;
241
- & .ico {
242
- width: 14px;
243
- height: 14px;
244
- }
245
- }
246
- `,Jt=i.div`
247
- position: relative;
248
- z-index: 1;
249
- display: flex;
250
- flex-direction: column;
251
- align-items: center;
252
- text-align: center;
253
- gap: 24px;
254
- padding: 32px 20px;
255
-
256
- ${v.maxWidth("mobile")} {
257
- padding: 56px 16px 24px;
258
- }
259
- `,le=i.img`
260
- display: block;
261
- width: 112px;
262
- height: 112px;
263
- border-radius: 50%;
264
- object-fit: cover;
265
- border: 4px solid ${C.white};
266
- box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
267
- background: #ff4bed;
268
-
269
- ${v.maxWidth("mobile")} {
270
- width: 88px;
271
- height: 88px;
272
- }
273
- `,Qt=i.h2`
274
- margin: 0;
275
- font-size: 18px;
276
- font-weight: 700;
277
- color: ${C.white};
278
- line-height: 1.6;
279
-
280
- ${v.maxWidth("mobile")} {
281
- font-size: 16px;
282
- }
283
- `,Yt=i.p`
284
- margin: 0;
285
- font-size: 15px;
286
- color: ${C.white};
287
- line-height: 1.6;
288
- max-width: 520px;
289
-
290
- ${v.maxWidth("mobile")} {
291
- font-size: 14px;
292
- }
293
- `,Zt=i.div`
294
- display: flex;
295
- align-items: center;
296
- gap: 12px;
297
- flex-wrap: wrap;
298
- justify-content: center;
299
- `,Xt=i.a`
300
- ${fe};
301
- transition: background 0.15s ease;
302
-
303
- &:hover {
304
- background: rgba(255, 255, 255, 0.14);
305
- }
306
- `,eo={website:"website",twitter:"twitter",discord:"discord",facebook:"facebook"};function to({address:r}){var m,j;const{data:s}=pe(r),{data:a}=We(r),l=De(p=>{var $;return($=p.session)==null?void 0:$.address}),c=!!l&&l.toLowerCase()===r.toLowerCase(),d=(s==null?void 0:s.name)||ue(r),g=(j=(m=s==null?void 0:s.avatar)==null?void 0:m.snapshots)==null?void 0:j.face256,y=(a==null?void 0:a.cover)||Ze,n=a==null?void 0:a.description,f=`${Ue.profileUrl}/${r}`,w=Oe.filter(p=>a==null?void 0:a.links[p]),h=Ge(Ke({name:s==null?void 0:s.name,hasClaimedName:s==null?void 0:s.hasClaimedName,ethAddress:(s==null?void 0:s.ethAddress)??r}));return e.jsxs(Ot,{"aria-label":`${d} storefront`,children:[e.jsxs(Gt,{children:[e.jsx(Kt,{src:y,alt:"",loading:"eager"}),e.jsx(Ut,{"aria-hidden":!0})]}),(w.length>0||c)&&e.jsxs(Ht,{children:[w.map(p=>e.jsx(qt,{"data-testid":"creator-hero-link",href:(a==null?void 0:a.links[p])??"",target:"_blank",rel:"noopener noreferrer",title:o(`creator.link.${p}`),"aria-label":o(`creator.link.${p}`),children:e.jsx(te,{name:eo[p]})},p)),c&&e.jsx(Vt,{to:"/store-settings",title:o("creator.editStore"),"aria-label":o("creator.editStore"),children:e.jsx(te,{name:"pen"})})]}),e.jsxs(Jt,{children:[g?e.jsx(le,{src:g,alt:"",loading:"eager",style:{backgroundColor:h}}):e.jsx(le,{as:"span","aria-hidden":!0,style:{backgroundColor:h}}),e.jsxs("div",{children:[e.jsx(Qt,{children:d}),n?e.jsx(Yt,{children:n}):null]}),e.jsxs(Zt,{children:[e.jsx(Xt,{"data-testid":"creator-hero-view",href:f,target:"_blank",rel:"noopener noreferrer",children:o("creator.viewProfile")}),e.jsx(Dt,{address:r,className:"creator-hero__follow"})]})]})]})}const oo=["all","on_sale","not_for_sale"],ce=48;function wo(){var Q,Y;const{address:r}=Le(),s=de(),[a]=Me(),l=a.has("collections"),{data:c}=pe(r),d=(c==null?void 0:c.name)||(r?ue(r):o("creator.fallbackName"));He({title:d,description:o("seo.creator.description",{name:d}),image:(Y=(Q=c==null?void 0:c.avatar)==null?void 0:Q.snapshots)==null?void 0:Y.face256});const g=L.useMemo(()=>({category:"all",status:"all",subCategory:null,rarities:[],priceMin:"",priceMax:"",smart:!1,sort:"newest"}),[]),[y,n]=Ae(g),{category:f,subCategory:w,rarities:h,priceMin:m,priceMax:j,smart:p,sort:$}=y,S=oo.includes(y.status)?y.status:"all",z=t=>n({status:t}),[E,N]=L.useState(!1);L.useEffect(()=>{if(!E)return;const t=Pe=>{Pe.key==="Escape"&&N(!1)};document.addEventListener("keydown",t);const x=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=x}},[E]);const B=m&&!Number.isNaN(Number(m))?Number(m):void 0,T=j&&!Number.isNaN(Number(j))?Number(j):void 0,we=w?$t[w]:void 0,ve=(se.find(t=>t.key===$)??se[0]).server,W={creator:r,category:f,rarities:h.length?h:void 0,wearableCategories:we,minPriceCredits:B,maxPriceCredits:T,isWearableSmart:p||void 0,isOnSale:S==="all"?void 0:S==="on_sale",sortBy:ve},{items:A,total:ye,isLoading:je,isPlaceholderData:Ce,error:D,hasNextPage:ke,isFetchingNextPage:O,isFetchNextPageError:$e,fetchNextPage:Se}=ae(["creator-items",W],t=>re({...W,first:ce,skip:t}),{enabled:!!r&&!l}),P=qe({queryKey:["creator-item-count",r],queryFn:()=>re({creator:r,first:1}).then(t=>t.total),enabled:!!r}),u=ae(["creator-collections",r],t=>Ye(r,{first:ce,skip:t}).then(x=>({items:x.collections,total:x.total})),{enabled:!!r&&l});function G(t){n({category:t,subCategory:null},{drop:l?["collections"]:void 0})}function Ne(){const t=new URLSearchParams(a);t.delete("collections");const x=t.toString();s({search:x?`?${x}`:""},{replace:!0})}function Ee(){if(l){Ne();return}const t=new URLSearchParams(a);t.delete("collections");const x=t.toString();s({search:x?`?${x}&collections`:"?collections"},{replace:!0})}function K(t){n({rarities:h.includes(t)?h.filter(x=>x!==t):[...h,t]})}function U(){n(g)}const k=[];(f==="wearable"||f==="emote")&&k.push({key:"category",label:o(f==="emote"?"categories.emotes":"categories.wearables"),onRemove:()=>G("all")}),(B!=null||T!=null)&&k.push({key:"price",label:o("filter.price"),onRemove:()=>{n({priceMin:"",priceMax:""})}});for(const t of Ct)h.includes(t)&&k.push({key:`rarity-${t}`,label:Ve(t),onRemove:()=>K(t)});p&&k.push({key:"smart",label:o("filter.smart"),onRemove:()=>n({smart:!1})}),S!=="all"&&k.push({key:"status",label:S==="on_sale"?o("filter.onSale"):o("filter.notForSale"),onRemove:()=>z("all")});const F=St({gridLoading:je||Ce,gridError:!!D,gridCount:A.length,baselinePending:P.isPending,baselineError:P.isError,baselineCount:P.data}),I=F==="skeletons",{data:H}=Je(),q=L.useMemo(()=>A.map(t=>({...t,priceCredits:Qe(t,H)})),[A,H]),V=t=>t.priceCredits>0||!!t.manaWei,J=q.filter(V),R=F==="items"||F==="skeletons"?null:F;return e.jsxs(Xe,{children:[e.jsxs(et,{"aria-label":o("creator.breadcrumbAria"),children:[e.jsx(tt,{onClick:()=>s("/items"),children:o("creator.breadcrumb")}),e.jsx("span",{children:"/"}),e.jsx(ot,{children:d})]}),r?e.jsx(to,{address:r}):null,!l&&!I&&J.length>0?e.jsx(rt,{items:J,source:"creator"}):null,e.jsxs(at,{children:[E?e.jsx(nt,{onClick:()=>N(!1),"aria-hidden":!0}):null,e.jsxs(lt,{"data-open":E||void 0,"data-testid":"creator-sidebar",children:[e.jsxs(ct,{children:[e.jsx(dt,{children:o("assets.filters")}),e.jsx(ht,{onClick:()=>N(!1),"aria-label":o("assets.closeFilters"),children:"✕"})]}),e.jsx(mt,{children:e.jsx(pt,{category:f,subCategory:w,onCategory:G,onSub:t=>n({subCategory:t}),priceMin:m,priceMax:j,onPriceMin:t=>n({priceMin:t}),onPriceMax:t=>n({priceMax:t}),rarities:h,onToggleRarity:K,status:S,onStatus:z,smart:p,onSmart:t=>n({smart:t}),hideNames:!0,collections:l,onCollections:Ee})}),e.jsx(ut,{children:e.jsx(xt,{type:"button",onClick:()=>N(!1),children:o("assets.showItems")})})]}),e.jsx(gt,{children:l?e.jsxs(e.Fragment,{children:[e.jsx(st,{children:e.jsx(it,{children:u.isLoading?"…":o("creator.collectionsCount",{count:u.total})})}),u.error?e.jsx(_,{message:o("creator.error")}):null,e.jsx(ne,{"data-variant":"collections",children:u.isLoading?e.jsx(M,{count:9}):e.jsxs(e.Fragment,{children:[u.items.map(t=>e.jsx(Wt,{collection:t,itemCount:t.itemCount},t.contractAddress)),u.isFetchingNextPage?e.jsx(M,{count:6}):null]})}),e.jsx(ie,{hasNextPage:u.hasNextPage,isFetching:u.isFetchingNextPage,isError:u.isFetchNextPageError,onLoadMore:()=>void u.fetchNextPage()}),!u.isLoading&&!u.error&&u.items.length===0?e.jsx("p",{className:"muted",children:o("creator.collectionsEmpty")}):null]}):e.jsxs(e.Fragment,{children:[e.jsx(kt,{sort:$,onSort:t=>n({sort:t}),total:ye,loading:I,onOpenFilters:()=>N(!0),chips:k,onClearChips:U}),D?e.jsx(_,{message:o("creator.error"),testId:"creator-error"}):null,e.jsx(ne,{"data-testid":"creator-grid",children:I?e.jsx(M,{count:15}):e.jsxs(e.Fragment,{children:[q.map(t=>V(t)?e.jsx(oe,{item:t},t.id):e.jsx(oe,{item:t,mode:"view"},t.id)),O?e.jsx(M,{count:6}):null]})}),e.jsx(ie,{hasNextPage:ke,isFetching:O,isError:$e,onLoadMore:()=>void Se()}),R==="error"?e.jsx(_,{message:o("creator.error"),testId:"creator-empty-error"}):R==="no-creations"?e.jsx("p",{className:"muted","data-testid":"creator-empty-none",children:o("creator.emptyNoCreations")}):R==="filters"?e.jsxs(ft,{"data-testid":"creator-empty-filters",children:[e.jsxs(bt,{children:[e.jsx(wt,{children:o("creator.emptyFilters.title")}),e.jsx(vt,{children:o("creator.emptyFilters.body",{count:P.data??0})})]}),e.jsx(yt,{children:e.jsx(jt,{type:"button",onClick:U,children:o("filterBar.clearAll")})})]}):null]})})]})]})}export{wo as Creator,wo as default};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-DVP9mmy0.js","_assets/react-BYHuwl8r.js","_assets/dcl-schemas-CmtP3U6y.js","_assets/index-BLKe1fxG.js","_assets/sentry-Dx-KuLV3.js","_assets/ethers-BDpbhgX6.js","_assets/intl-CBcMB1D2.js","_assets/index-D-NhBWWr.css","_assets/createSvgIcon-Co2I3KNE.js","_assets/clsx-WwvpwSg0.js","_assets/styled-CrSAMFFb.js","_assets/emotion-styled.browser.esm-dvplhB66.js","_assets/CircularProgress-C2EMA-WY.js","_assets/index-CFjdvXcL.js","_assets/useTheme-BTDb7mvT.js"])))=>i.map(i=>d[i]);
2
- import{_ as e}from"./index-BLKe1fxG.js";import{j as t,r as s}from"./react-BYHuwl8r.js";const _=s.lazy(async()=>{const[{EmoteControls:o},{Experimental_CssVarsProvider:i},{light:n}]=await Promise.all([e(()=>import("./index-DVP9mmy0.js").then(r=>r.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])),e(()=>import("./index-CFjdvXcL.js"),__vite__mapDeps([13,3,1,2,4,5,6,7,14,10])),e(()=>import("./index-BLKe1fxG.js").then(r=>r.d3),__vite__mapDeps([3,1,2,4,5,6,7]))]);return{default:r=>t.jsx(i,{theme:n,children:t.jsx(o,{...r})})}});function m(o){return t.jsx(s.Suspense,{fallback:null,children:t.jsx(_,{...o})})}export{m as E};