@dcl/shop 0.5.1-30941423866.commit-16bb43e → 0.5.1-30942936446.commit-2065145
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.
- package/_assets/{Activity-D6HGEkBY.js → Activity-DKyyVjF3.js} +3 -3
- package/_assets/{AnimatedBackground-Bz6-eXM-.js → AnimatedBackground-D_NOZUsv.js} +2 -2
- package/_assets/{Assets-91-VU1Yf.js → Assets-B-QxXzVp.js} +7 -7
- package/_assets/{Assets.styles-nkCcUHhi.js → Assets.styles-Dwkb-T-5.js} +56 -56
- package/_assets/{Authorizations-CEIgVod3.js → Authorizations-CwdWUCCN.js} +3 -3
- package/_assets/{Cart-bL5VUwar.js → Cart-DJd7mRPw.js} +15 -15
- package/_assets/{CircularProgress-t5C2xMSa.js → CircularProgress-QCFQ5Q0T.js} +3 -3
- package/_assets/Collection-Du05-cah.js +162 -0
- package/_assets/{CollectionCarousel-BofN3PUd.js → CollectionCarousel-CzK6Sr6O.js} +15 -15
- package/_assets/Creator-9YR9zS8U.js +306 -0
- package/_assets/{ErrorNotice-SoCdrSmZ.js → ErrorNotice-B-k-8lgH.js} +1 -1
- package/_assets/{ExchangeController-CfUvjqK_.js → ExchangeController-CgsMU6Of.js} +1 -1
- package/_assets/{GetCredits-DoaG2_0N.js → GetCredits-BWKjSlQH.js} +7 -7
- package/_assets/{HelpersUtil-BMGSbn7T.js → HelpersUtil-C9JEsHd1.js} +1 -1
- package/_assets/{ItemDetail-DgqMo17C.js → ItemDetail-ByJH66Dr.js} +3 -3
- package/_assets/{LoadMore-QZxbtyl3.js → LoadMore-CDsECC_S.js} +1 -1
- package/_assets/{ManaPricingBanner.styles-CfeNfvcw.js → ManaPricingBanner.styles-CBM3_pCR.js} +3 -3
- package/_assets/{MenuList-3Ove0Kax.js → MenuList-DniyjKZf.js} +1 -1
- package/_assets/{MyAssets-Dfi9GJY7.js → MyAssets-Cn5OcKcq.js} +1 -1
- package/_assets/{MyFavorites-4NZPS72p.js → MyFavorites-Dh3ERS1g.js} +1 -1
- package/_assets/NotFound-BLRVVTj-.js +13 -0
- package/_assets/{NotificationsBell-C3ZVZms3.js → NotificationsBell-BWFTNvfH.js} +1 -1
- package/_assets/{OutfitDetail-BnpYR8Sn.js → OutfitDetail-C-O6ZG_T.js} +4 -4
- package/_assets/{OutfitPreview-Ds73Fyio.js → OutfitPreview-3ZYOvLqd.js} +2 -2
- package/_assets/{OutfitStudio-BcZDs5Sw.js → OutfitStudio-CdH7v1-f.js} +13 -13
- package/_assets/{StoreSettings-DgkB-s8z.js → StoreSettings-ZBAETVqr.js} +11 -11
- package/_assets/{Success-CFrayKii.js → Success-Dcdg4j1H.js} +4 -4
- package/_assets/{SwapController-B0I2SBMi.js → SwapController-CJCQ0dFg.js} +1 -1
- package/_assets/{Tooltip-DrwaXxlg.js → Tooltip-POp1BJ4y.js} +1 -1
- package/_assets/{TradeService-wTgWWF_f.js → TradeService-CQMOkya7.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-DmUcIZ1-.js → W3MFrameProviderSingleton-kdy7Kyep.js} +3 -3
- package/_assets/{WebCryptoP256-Bh90kMb3.js → WebCryptoP256-CmT290Aw.js} +1 -1
- package/_assets/{authorizations-LULzuipv.js → authorizations-CWm7pvjk.js} +1 -1
- package/_assets/{basic-BJTMzaq4.js → basic-2wXayEjj.js} +1 -1
- package/_assets/{biconomy-DwCfSXz5.js → biconomy-CrUwmLLN.js} +1 -1
- package/_assets/{builder-CsWf7X7a.js → builder-D3s6Xcg_.js} +1 -1
- package/_assets/{buy-Cs1e8dwt.js → buy-DH_c8xtw.js} +1 -1
- package/_assets/{buy-gasless-nMph8utE.js → buy-gasless-D2u0Cuie.js} +1 -1
- package/_assets/{categories-Al7TFiZ3.js → categories-CD0l2-IJ.js} +32 -32
- package/_assets/{ccip-D1z2vDZ1.js → ccip-Bq7op_u4.js} +1 -1
- package/_assets/{ccip-BwXOtHnt.js → ccip-Dt-VmUCH.js} +1 -1
- package/_assets/{clsx-CF2rJgou.js → clsx-BZmZfIZ7.js} +2 -2
- package/_assets/collectionPage.styles-DnFAUb4Q.js +48 -0
- package/_assets/{controller-Dd98YdMj.js → controller-DAvNn45R.js} +2 -2
- package/_assets/{core-D1SojbPa.js → core-UWabPMJx.js} +4 -4
- package/_assets/{createSvgIcon-BD9EM61r.js → createSvgIcon-B4LAM6aP.js} +3 -3
- package/_assets/{custom-COzYkjQL.js → custom-BjZ8TeJA.js} +1 -1
- package/_assets/{data-capture-BjEF_GLG.js → data-capture-CJaTah4x.js} +1 -1
- package/_assets/{email-ps4Ivz5i.js → email-nvRgEzbl.js} +1 -1
- package/_assets/{embedded-wallet-CVLG0kXZ.js → embedded-wallet-m5nVefBN.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-CDuZD50Q.js → emotion-styled.browser.esm-SPt1g8r5.js} +1 -1
- package/_assets/{engine-pr6_tb_z.js → engine-BQ30rMc_.js} +1 -1
- package/_assets/{errors-5vlAB2Zg.js → errors-sEfj_aGG.js} +1 -1
- package/_assets/{estimate-l1-fee-B3g-FnFs.js → estimate-l1-fee-D55ttM53.js} +1 -1
- package/_assets/{execute-Cel7d92K.js → execute-20WfUFta.js} +2 -2
- package/_assets/{features-D5rLpDoE.js → features-B3g5o6I9.js} +1 -1
- package/_assets/{fetchTokenMetadata-DryrCOLG.js → fetchTokenMetadata-C3taocSg.js} +2 -2
- package/_assets/{field.styles-C90By0S4.js → field.styles-Cv8EF1LN.js} +1 -1
- package/_assets/{get-ecosystem-wallet-info-DS2uBDFK.js → get-ecosystem-wallet-info-C87cJBZ0.js} +1 -1
- package/_assets/{getBalance-DzSIaYv8.js → getBalance-DJFj4nll.js} +1 -1
- package/_assets/{getNFT-B_38vu3d.js → getNFT-Db40YAe5.js} +1 -1
- package/_assets/{getNFT-BYs-Lc0M.js → getNFT-n1rLq0y8.js} +1 -1
- package/_assets/{getThemeProps-CMN_iN9O.js → getThemeProps-qixq943T.js} +1 -1
- package/_assets/{grid.styles-_dq0Z7zy.js → grid.styles-V4B-yWuT.js} +1 -1
- package/_assets/{hashTypedData-U2WpRL9J.js → hashTypedData-Cph7l-wN.js} +1 -1
- package/_assets/{hashTypedData-nZ5SahOR.js → hashTypedData-DmKA2WyG.js} +1 -1
- package/_assets/{in-app-CrkxD8Cc.js → in-app-BrwiASGV.js} +1 -1
- package/_assets/{in-app-wallet-calls-Li6zp_GH.js → in-app-wallet-calls-Cdw4VCOK.js} +1 -1
- package/_assets/{index-BZWjyqNw.js → index-B0GXKjok.js} +1 -1
- package/_assets/{index-Bie49yv7.js → index-B1ZZ9eYb.js} +2 -2
- package/_assets/{index-ChlDHmTZ.js → index-B3dN6jXl.js} +1 -1
- package/_assets/{index-Z5BMZOu5.js → index-BEHNdwPO.js} +11 -11
- package/_assets/{index-BXLMe2R7.js → index-BG81Ew07.js} +1 -1
- package/_assets/{index-DptqVcuN.js → index-BKV20Nhl.js} +2 -2
- package/_assets/{index-BfJ9y_zu.js → index-BN6xB09s.js} +1 -1
- package/_assets/{index-3swvxeAv.js → index-BSYdl9Ph.js} +1 -1
- package/_assets/{index-T4DelPen.js → index-BZJRlKJd.js} +1 -1
- package/_assets/{index-C9YePsjK.js → index-BfbRuC2a.js} +1 -1
- package/_assets/index-BmdBaCyf.js +3315 -0
- package/_assets/{index-BpktVBiY.js → index-BqZsCXiJ.js} +1 -1
- package/_assets/{index-DNQcT8i8.js → index-BuxC7_jg.js} +3 -3
- package/_assets/{index-DI5MJwtI.js → index-Bvu9JQbk.js} +1 -1
- package/_assets/{index-DfH6m-Ar.js → index-BvvXUkGO.js} +1 -1
- package/_assets/{index-CycLf6t0.js → index-BwJOXIY2.js} +1 -1
- package/_assets/{index-YQoU1Oij.js → index-BzlgQIWc.js} +1 -1
- package/_assets/{index-CPEW56oC.js → index-CMIeiz8J.js} +1 -1
- package/_assets/{index-B-cFSgSm.js → index-C_tTx02v.js} +1 -1
- package/_assets/{index-BRUTO6r3.js → index-CfQEZ4_J.js} +1 -1
- package/_assets/{index-CIJrlsx5.js → index-CoJ4w6mI.js} +1 -1
- package/_assets/{index-uA72jFdu.js → index-CpvNbkCX.js} +1 -1
- package/_assets/{index-DhVlJ1ll.js → index-CuRsH7Jr.js} +1 -1
- package/_assets/{index-BB2cIvLa.js → index-CwkhI0tX.js} +1 -1
- package/_assets/{index-CkDVG_a0.js → index-D8CMDKuk.js} +1 -1
- package/_assets/{index-DqDSn6aV.js → index-D90TiSbn.js} +1 -1
- package/_assets/{index-CtSdDkYg.js → index-DHvFGs-V.js} +2 -2
- package/_assets/{index-CroRq_48.js → index-DI6lxGl3.js} +1 -1
- package/_assets/{index-Crfc7kEB.js → index-DQzoGDIO.js} +2 -2
- package/_assets/{index-3p-1HM0o.js → index-DSgPAG74.js} +1 -1
- package/_assets/{index-BzJy8rqx.js → index-Db25kjW1.js} +1 -1
- package/_assets/{index-Cl61ltQF.js → index-DfEcY6V7.js} +1 -1
- package/_assets/{index-onFl5MgF.js → index-Dfq9MSrW.js} +3 -3
- package/_assets/{index-C6vWyFJn.js → index-DjwAceSs.js} +2 -2
- package/_assets/{index-Ccc-pGrt.js → index-DmqmHJz0.js} +1 -1
- package/_assets/{index-Dy8SH7iw.js → index-DtXZOCTH.js} +1 -1
- package/_assets/{index-CZ-oyr8d.js → index-DtpiUbDD.js} +1 -1
- package/_assets/{index-voVSpMmf.js → index-Dvh_4N8m.js} +1 -1
- package/_assets/{index-CVaetlkF.js → index-DxNuVfUW.js} +1 -1
- package/_assets/{index-BjGq2FUA.js → index-NZryii06.js} +1 -1
- package/_assets/{index-B7jpRyRq.js → index-OIDpRQ7d.js} +1 -1
- package/_assets/{index-EbRcCO2e.js → index-Pc_h8OVk.js} +1 -1
- package/_assets/{index-18uEK4oZ.js → index-TLObYCeZ.js} +1 -1
- package/_assets/{index-Dl3xGhv0.js → index-aOM-5o2s.js} +1 -1
- package/_assets/{index-BzjKhN7Z.js → index-dV4DRjLe.js} +1 -1
- package/_assets/{index-1geQS8z5.js → index-fLV7Ojeb.js} +1 -1
- package/_assets/{index-B5d3bUu8.js → index-fTx5OxT5.js} +3 -3
- package/_assets/{index-AnVlYA8W.js → index-gMS2owiI.js} +1 -1
- package/_assets/{index-DxPgc0KP.js → index-jUw3qf0Z.js} +1 -1
- package/_assets/{index-C23YPWAe.js → index-qh5KEihJ.js} +1 -1
- package/_assets/{index-CbbOEMBd.js → index-sBdhGti_.js} +1 -1
- package/_assets/{index-Cnjifnkg.js → index-tRBG96tO.js} +1 -1
- package/_assets/{index.es-CvbAgxyC.js → index.es-CX9AxHdS.js} +1 -1
- package/_assets/{index.es-CToxxyBw.js → index.es-J0I60DQn.js} +1 -1
- package/_assets/{index.es-DRByKX1-.js → index.es-Pw8SRe4y.js} +4 -4
- package/_assets/{localBatchGatewayRequest-DTJgI3xj.js → localBatchGatewayRequest-CprCDfDl.js} +1 -1
- package/_assets/{mana-convert-BvzeO7sG.js → mana-convert-DjCFeoQ3.js} +1 -1
- package/_assets/{networks-CFK3bJYy.js → networks-BR41WM8b.js} +1 -1
- package/_assets/{onramp-okVUuWV0.js → onramp-BHoU1j8h.js} +1 -1
- package/_assets/{openzeppelin-De_HqqIc.js → openzeppelin-C3R3Ow9P.js} +1 -1
- package/_assets/{parseNft-q8FmdH8G.js → parseNft-HXsYyGMT.js} +2 -2
- package/_assets/{parseSignature-CqPrGTDR.js → parseSignature-B55K-BHw.js} +3 -3
- package/_assets/{parseSignature-B5R6ASNp.js → parseSignature-CfegJHxn.js} +1 -1
- package/_assets/{passkeys-DSnfSnMU.js → passkeys-BLEVv9is.js} +1 -1
- package/_assets/{pay-with-exchange-W6o_xhiT.js → pay-with-exchange-BDPb0fmB.js} +1 -1
- package/_assets/{qr-overlay-yLQ0IoEW.js → qr-overlay-Bn5u1TXh.js} +1 -1
- package/_assets/{receive-B1if_96A.js → receive-DdEXjtdG.js} +1 -1
- package/_assets/{resolveImplementation-DO2_Regw.js → resolveImplementation-BTny85ZN.js} +1 -1
- package/_assets/{rpc-Byx0dACz.js → rpc-C1vRekft.js} +1 -1
- package/_assets/{secp256k1-DZugY34I.js → secp256k1-BS_DtXn_.js} +1 -1
- package/_assets/{secp256k1-qgQXh0MJ.js → secp256k1-DSewH7p4.js} +1 -1
- package/_assets/{secp256k1-DdXA0G93.js → secp256k1-DjcGt-hf.js} +1 -1
- package/_assets/{send-DtosPy0k.js → send-D36Kc8ar.js} +1 -1
- package/_assets/{send-batch-transaction-_L7mjvMY.js → send-batch-transaction-9UPtmXhF.js} +1 -1
- package/_assets/{send-eip712-transaction-DurwgWTK.js → send-eip712-transaction-C-DlyYI4.js} +2 -2
- package/_assets/{send-gasless-transaction-B3bmXUxJ.js → send-gasless-transaction-Clkbkp81.js} +2 -2
- package/_assets/{send-transaction-CZKkuF5l.js → send-transaction-ac0pElET.js} +2 -2
- package/_assets/{sendMetaTransaction-4my7kZiF.js → sendMetaTransaction-3Orn7mPE.js} +1 -1
- package/_assets/{sendRawTransaction-BwVANbYg.js → sendRawTransaction-Bd_d0DGd.js} +3 -3
- package/_assets/{serializeTransaction-cVp_FJox.js → serializeTransaction-tReIGWJj.js} +1 -1
- package/_assets/{session-proposal-CYvptxU7.js → session-proposal-BGjlVk7r.js} +1 -1
- package/_assets/{session-request-Bn37Dem4.js → session-request-BAHn4jIb.js} +2 -2
- package/_assets/{signing-DEItZ-F3.js → signing-BO2fbGm6.js} +3 -3
- package/_assets/{socials-CdpDKKrQ.js → socials-rfvGwJ98.js} +1 -1
- package/_assets/{swaps-DnenFD5w.js → swaps-D7QVUfQw.js} +1 -1
- package/_assets/{thirdweb-Bp130Dcj.js → thirdweb-BdoDApEi.js} +3 -3
- package/_assets/{to-serializable-transaction-CcF0iJ96.js → to-serializable-transaction-DJoSj0cy.js} +2 -2
- package/_assets/{trade-encoding-BRe43PSw.js → trade-encoding-CitD9riU.js} +1 -1
- package/_assets/{transactionReceipt-lMu7BRwr.js → transactionReceipt-CFvIhGab.js} +1 -1
- package/_assets/{transactions-B14lINkM.js → transactions-BCaw00-L.js} +1 -1
- package/_assets/{useCreditPacks-C5VR3CBS.js → useCreditPacks-DI0sJyEs.js} +1 -1
- package/_assets/{useImportable-B5bQ22LQ.js → useImportable-B6LfqPpp.js} +1 -1
- package/_assets/{useInfiniteGrid-eJ_aRWUt.js → useInfiniteGrid-Crt1jGuz.js} +1 -1
- package/_assets/useManaRate-CVF6TzHy.js +1 -0
- package/_assets/{useTheme--KekSHIk.js → useTheme-DDT9I-Gr.js} +1 -1
- package/_assets/{verifyHash-Bt7jFOSN.js → verifyHash-CONBvy81.js} +1 -1
- package/_assets/{w3m-modal-Dn7of9MZ.js → w3m-modal-CmgRQ0lu.js} +1 -1
- package/_assets/{w3m-modal-CDIk6daa.js → w3m-modal-DTboZx41.js} +1 -1
- package/_assets/{wait-for-tx-receipt-BUw9UtP4.js → wait-for-tx-receipt-IG8mDnzG.js} +1 -1
- package/_assets/{wallets-A7pRwPiu.js → wallets-YFeaNJbJ.js} +5 -5
- package/_assets/{web-connector-P4z47D9H.js → web-connector-CnAC5kme.js} +3 -3
- package/_assets/{writeContract-Bx4xVEvO.js → writeContract-C-4vi3wG.js} +1 -1
- package/_assets/{zoraTestnet-CuzBONzv.js → zoraTestnet-BAdd9yw6.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Collection-B3QlNwPP.js +0 -119
- package/_assets/Creator-BvEpySRn.js +0 -306
- package/_assets/NotFound-BJON5Kwq.js +0 -13
- package/_assets/browseLayout.styles-Cb1bSjYL.js +0 -91
- package/_assets/index-CqLzAYYu.js +0 -3482
- package/_assets/useManaRate-CEsFS4D7.js +0 -1
- package/_assets/useStore-BZhz06Vz.js +0 -2
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.5.1-
|
|
20
|
-
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.5.1-
|
|
19
|
+
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/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.5.1-
|
|
22
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/site.webmanifest" />
|
|
23
23
|
|
|
24
24
|
<!-- Open Graph -->
|
|
25
25
|
<meta property="og:type" content="website" />
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<meta name="twitter:image:alt" content="Decentraland Shop — wearables and emotes for your avatar" />
|
|
49
49
|
|
|
50
50
|
<!-- Sitemap -->
|
|
51
|
-
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.5.1-
|
|
51
|
+
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/sitemap.xml" />
|
|
52
52
|
|
|
53
53
|
<!-- Warm the 3D preview / fonts -->
|
|
54
54
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
<link rel="preconnect" href="https://wearable-preview.decentraland.org" />
|
|
61
61
|
<link rel="preconnect" href="https://peer.decentraland.zone" crossorigin />
|
|
62
62
|
<link rel="preconnect" href="https://peer.decentraland.org" crossorigin />
|
|
63
|
-
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.5.1-
|
|
64
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-
|
|
65
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-
|
|
66
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-
|
|
67
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-
|
|
68
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-
|
|
69
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-
|
|
63
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/_assets/index-BmdBaCyf.js"></script>
|
|
64
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/_assets/react-DehiWSvs.js">
|
|
65
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/_assets/sentry-973sfbO9.js">
|
|
66
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/_assets/dcl-schemas-Dr9BTjb7.js">
|
|
67
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/_assets/ethers-CtNGBird.js">
|
|
68
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/_assets/intl-CBcMB1D2.js">
|
|
69
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30942936446.commit-2065145/_assets/index-D-NhBWWr.css">
|
|
70
70
|
</head>
|
|
71
71
|
<body>
|
|
72
72
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/shop",
|
|
3
|
-
"version": "0.5.1-
|
|
3
|
+
"version": "0.5.1-30942936446.commit-2065145",
|
|
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": "
|
|
11
|
+
"commit": "2065145a08a844ae7ee0c47a2f59af269a366910"
|
|
12
12
|
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import{j as e,r as m,u as V,d as J}from"./react-DehiWSvs.js";import{t as v,s as c,W as X,y as T,I as ee,b as a,c as te,j as ae,u as re,q as oe,C as ie,af as F,ag as se,aY as ne,aZ as ce}from"./index-CqLzAYYu.js";import{E as le}from"./ErrorNotice-SoCdrSmZ.js";import{d as de,g as pe,a as xe,P as ue,C as me,b as ge,c as he,B as be,S as fe,M as je,A as ve}from"./browseLayout.styles-Cb1bSjYL.js";import{u as ye}from"./useStore-BZhz06Vz.js";import{S as z,C as Ce,F as we,c as Ne,P as Se,d as ke,H as Pe,e as $e}from"./categories-Al7TFiZ3.js";import{L as Ae}from"./LoadMore-QZxbtyl3.js";import{u as Me}from"./useInfiniteGrid-eJ_aRWUt.js";import{G as Ee}from"./grid.styles-_dq0Z7zy.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";const Re=c.section`
|
|
2
|
-
position: relative;
|
|
3
|
-
border-radius: ${v.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
|
-
${v.media.maxWidth("mobile")} {
|
|
12
|
-
min-height: 140px;
|
|
13
|
-
}
|
|
14
|
-
`,Te=c.div`
|
|
15
|
-
position: absolute;
|
|
16
|
-
inset: 0;
|
|
17
|
-
z-index: 0;
|
|
18
|
-
`,Fe=c.img`
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
object-fit: cover;
|
|
22
|
-
display: block;
|
|
23
|
-
`,ze=c.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
|
-
`,Be=c.h1`
|
|
28
|
-
position: relative;
|
|
29
|
-
z-index: 1;
|
|
30
|
-
margin: 0;
|
|
31
|
-
padding: 32px 24px;
|
|
32
|
-
text-align: center;
|
|
33
|
-
color: ${v.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
|
-
${v.media.maxWidth("mobile")} {
|
|
42
|
-
padding: 24px 16px;
|
|
43
|
-
font-size: 26px;
|
|
44
|
-
}
|
|
45
|
-
`;function Le({name:r,creator:t}){const{data:s}=ye(t),d=(s==null?void 0:s.cover)||de;return e.jsxs(Re,{"data-testid":"collection-hero","aria-label":r,children:[e.jsxs(Te,{children:[e.jsx(Fe,{src:d,alt:"",loading:"eager"}),e.jsx(ze,{"aria-hidden":!0})]}),e.jsx(Be,{"data-testid":"collection-hero-title",children:r})]})}const{colors:n,radius:L}=v,Ie=c.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 ${n.line};
|
|
56
|
-
`,B=c.img`
|
|
57
|
-
display: block;
|
|
58
|
-
width: 110px;
|
|
59
|
-
height: 110px;
|
|
60
|
-
border-radius: 50%;
|
|
61
|
-
object-fit: cover;
|
|
62
|
-
border: 5px solid ${n.white};
|
|
63
|
-
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
|
|
64
|
-
background: #ff4bed;
|
|
65
|
-
`,_e=c.h2`
|
|
66
|
-
margin: 0;
|
|
67
|
-
font-size: 20px;
|
|
68
|
-
font-weight: 700;
|
|
69
|
-
line-height: 1.3;
|
|
70
|
-
color: ${n.text};
|
|
71
|
-
max-width: 100%;
|
|
72
|
-
overflow: hidden;
|
|
73
|
-
text-overflow: ellipsis;
|
|
74
|
-
white-space: nowrap;
|
|
75
|
-
`,Ge=c.button`
|
|
76
|
-
display: inline-flex;
|
|
77
|
-
align-items: center;
|
|
78
|
-
gap: 8px;
|
|
79
|
-
padding: 4px 8px;
|
|
80
|
-
border: 0;
|
|
81
|
-
border-radius: ${L.btn};
|
|
82
|
-
background: none;
|
|
83
|
-
color: ${n.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: ${n.text};
|
|
93
|
-
background: ${n.media};
|
|
94
|
-
}
|
|
95
|
-
`,He=c.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 ${n.accent};
|
|
103
|
-
border-radius: ${L.btn};
|
|
104
|
-
background: transparent;
|
|
105
|
-
color: ${n.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: ${n.accent};
|
|
117
|
-
color: ${n.white};
|
|
118
|
-
}
|
|
119
|
-
`;function Ue({address:r}){var f,l;const{data:t}=X(r),[s,d]=m.useState(!1);if(!r)return null;const p=(t==null?void 0:t.name)||T(r),g=(l=(f=t==null?void 0:t.avatar)==null?void 0:f.snapshots)==null?void 0:l.face256,h=`${te.profileUrl}/${r}`,b=pe(xe({name:t==null?void 0:t.name,hasClaimedName:t==null?void 0:t.hasClaimedName,ethAddress:(t==null?void 0:t.ethAddress)??r}));async function x(){try{await navigator.clipboard.writeText(r),d(!0),window.setTimeout(()=>d(!1),1500)}catch(y){ae(y,{flow:"copy_creator_address"})}}return e.jsxs(Ie,{"data-testid":"creator-card",children:[g?e.jsx(B,{src:g,alt:"",loading:"eager",style:{backgroundColor:b}}):e.jsx(B,{as:"span","aria-hidden":!0,style:{backgroundColor:b}}),e.jsx(_e,{title:p,children:p}),e.jsxs(Ge,{type:"button",onClick:()=>void x(),title:s?a("collection.copied"):a("collection.copyAddress"),"aria-label":s?a("collection.copied"):a("collection.copyAddress"),children:[e.jsx("span",{children:T(r)}),e.jsx(ee,{name:"copy",size:16})]}),e.jsx(He,{"data-testid":"creator-card-view",href:h,target:"_blank",rel:"noopener noreferrer",children:a("collection.viewProfile")})]})}const qe=48;function rt(){var R;const{contractAddress:r}=V(),t=J(),[s,d]=m.useState("wearable"),[p,g]=m.useState(null),[h,b]=m.useState([]),[x,f]=m.useState(""),[l,y]=m.useState(""),[N,I]=m.useState("newest"),S=x&&!Number.isNaN(Number(x))?Number(x):void 0,k=l&&!Number.isNaN(Number(l))?Number(l):void 0,_=p?$e[p]:void 0,G=(z.find(o=>o.key===N)??z[0]).server,P={category:s,rarities:h.length?h:void 0,wearableCategories:_,minPriceCredits:S,maxPriceCredits:k,sortBy:G},{items:j,total:H,isLoading:C,error:$,hasNextPage:U,isFetchingNextPage:A,isFetchNextPageError:q,fetchNextPage:W}=Me(["collection-page",r,P],o=>ne(r,{...P,first:qe,skip:o}),{enabled:!!r}),{data:i}=re({queryKey:["collection-meta",r],queryFn:()=>ce(r),enabled:!!r,staleTime:5*6e4}),M=(i==null?void 0:i.name)||a("collection.fallbackTitle");oe({title:i==null?void 0:i.name,description:i!=null&&i.name?a("seo.collection.description",{name:i.name}):void 0});const E=(i==null?void 0:i.creator)||((R=j[0])==null?void 0:R.creator);function K(o){d(o),g(null)}function Y(o){b(u=>u.includes(o)?u.filter(Q=>Q!==o):[...u,o])}function Z(){d("wearable"),g(null),b([]),f(""),y("")}const w=!!(S||k),D=w?`${x||"0"}–${l||"∞"}`:a("filter.price"),O=s!=="wearable"||!!p||h.length>0||w;return e.jsxs(ue,{"data-testid":"collection-page",children:[e.jsxs(me,{"aria-label":a("collection.breadcrumbAria"),children:[e.jsx(ge,{onClick:()=>t("/items"),children:a("collection.breadcrumb")}),e.jsx("span",{children:"/"}),e.jsx(he,{children:M})]}),e.jsx(Le,{name:M,creator:E}),e.jsxs(be,{"data-testid":"browse",children:[e.jsxs(fe,{"data-testid":"browse-sidebar",children:[e.jsx(Ue,{address:E}),e.jsx(Ce,{category:s,subCategory:p,onCategory:K,onSub:g,title:a("collection.category"),flat:!0})]}),e.jsxs(je,{children:[!C&&j.length>0?e.jsx(ve,{items:j,source:"collection"}):null,e.jsx(we,{rarities:h,onToggleRarity:Y,sort:N,onSort:I,total:H,loading:C,anyActive:O,onClear:Z,renderTrailing:o=>e.jsx(Ne,{panelKey:"price",label:D,active:w,panel:o,children:e.jsxs(Se,{"data-variant":"price",children:[e.jsxs(ke,{children:[e.jsx("input",{type:"number",min:"0","aria-label":a("collection.priceMin"),placeholder:a("collection.priceMinPlaceholder"),value:x,onChange:u=>f(u.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:u=>y(u.target.value)})]}),e.jsx(Pe,{children:a("collection.priceHint",{currency:ie.name})})]})})}),$?e.jsx(le,{message:a("collection.error")}):null,e.jsx(Ee,{"data-testid":"grid",children:C?e.jsx(F,{count:15}):e.jsxs(e.Fragment,{children:[j.map(o=>e.jsx(se,{item:o},o.id)),A?e.jsx(F,{count:6}):null]})}),e.jsx(Ae,{hasNextPage:U,isFetching:A,isError:q,onLoadMore:()=>void W()}),!C&&!$&&j.length===0?e.jsx("p",{className:"muted",children:a("collection.empty")}):null]})]})]})}export{rt as Collection,rt as default};
|
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
import{d as V,j as e,L as be,u as fe,e as we,r as y}from"./react-DehiWSvs.js";import{t as Y,F as je,H as R,G as W,s as r,be as ve,aq as Ce,bf as ye,b as t,bg as $e,bh as _,B as ke,ac as Z,W as J,n as Ne,y as Q,I as T,c as Pe,q as Se,af as S,C as Le,ag as Ae,bd as Fe,bi as Ee}from"./index-CqLzAYYu.js";import{d as Me,g as ze,a as Be,P as Ie,C as Re,b as We,c as _e,A as Te,B as He,S as Ge,M as Ue,e as De,f as Ke}from"./browseLayout.styles-Cb1bSjYL.js";import{u as Oe,L as qe}from"./useStore-BZhz06Vz.js";import{S as H,C as Ve,F as Ye,c as Ze,P as Je,d as Qe,H as Xe,e as et}from"./categories-Al7TFiZ3.js";import{L as G}from"./LoadMore-QZxbtyl3.js";import{u as U}from"./useInfiniteGrid-eJ_aRWUt.js";import{E as D}from"./ErrorNotice-SoCdrSmZ.js";import{G as K}from"./grid.styles-_dq0Z7zy.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";const{colors:u,radius:X,media:tt}=Y,it=r.article`
|
|
2
|
-
height: 300px;
|
|
3
|
-
background: ${u.bg};
|
|
4
|
-
border-radius: ${X.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
|
-
${je};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&:focus-visible {
|
|
18
|
-
${R};
|
|
19
|
-
}
|
|
20
|
-
&:focus-visible::after {
|
|
21
|
-
${W};
|
|
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
|
-
${R};
|
|
30
|
-
}
|
|
31
|
-
&:hover::after {
|
|
32
|
-
${W};
|
|
33
|
-
}
|
|
34
|
-
&:hover [data-view] {
|
|
35
|
-
visibility: visible;
|
|
36
|
-
}
|
|
37
|
-
&:hover [data-meta] {
|
|
38
|
-
visibility: hidden;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
`,ot=r.div`
|
|
42
|
-
position: relative;
|
|
43
|
-
flex: 1;
|
|
44
|
-
min-height: 0;
|
|
45
|
-
background: ${u.media};
|
|
46
|
-
overflow: hidden;
|
|
47
|
-
`,rt=r.img`
|
|
48
|
-
width: 100%;
|
|
49
|
-
height: 100%;
|
|
50
|
-
object-fit: cover;
|
|
51
|
-
display: block;
|
|
52
|
-
`,at=r(ve)`
|
|
53
|
-
& [data-testid='coll-thumb-cell'] img {
|
|
54
|
-
object-fit: contain;
|
|
55
|
-
padding: 10px;
|
|
56
|
-
}
|
|
57
|
-
`,st=r.div`
|
|
58
|
-
flex: 0 0 102px;
|
|
59
|
-
height: 102px;
|
|
60
|
-
padding: 12px 14px;
|
|
61
|
-
display: flex;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
gap: 8px;
|
|
64
|
-
`,nt=r.h3`
|
|
65
|
-
margin: 0;
|
|
66
|
-
font-weight: 700;
|
|
67
|
-
font-size: 18px;
|
|
68
|
-
line-height: 1.3;
|
|
69
|
-
color: ${u.text};
|
|
70
|
-
white-space: nowrap;
|
|
71
|
-
overflow: hidden;
|
|
72
|
-
text-overflow: ellipsis;
|
|
73
|
-
|
|
74
|
-
${tt.maxWidth("mobile")} {
|
|
75
|
-
font-size: 16px;
|
|
76
|
-
}
|
|
77
|
-
`,ct=r.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
|
-
`,lt=r.div`
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
justify-content: space-between;
|
|
91
|
-
gap: 10px;
|
|
92
|
-
`,dt=r(Ce)`
|
|
93
|
-
min-width: 0;
|
|
94
|
-
color: ${u.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: ${u.dclRed};
|
|
105
|
-
font-weight: 700;
|
|
106
|
-
}
|
|
107
|
-
`,ht=r.span`
|
|
108
|
-
min-width: 0;
|
|
109
|
-
`,xt=r.span`
|
|
110
|
-
flex: none;
|
|
111
|
-
color: ${u.text};
|
|
112
|
-
font-weight: 600;
|
|
113
|
-
font-size: 14px;
|
|
114
|
-
white-space: nowrap;
|
|
115
|
-
`,gt=r.button`
|
|
116
|
-
visibility: hidden;
|
|
117
|
-
width: 100%;
|
|
118
|
-
height: 44px;
|
|
119
|
-
display: flex;
|
|
120
|
-
align-items: center;
|
|
121
|
-
justify-content: center;
|
|
122
|
-
background: ${u.accent};
|
|
123
|
-
color: ${u.softWhite};
|
|
124
|
-
border: 0;
|
|
125
|
-
border-radius: ${X.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: ${u.accentHover};
|
|
134
|
-
}
|
|
135
|
-
&:active {
|
|
136
|
-
background: ${u.accentActive};
|
|
137
|
-
}
|
|
138
|
-
`;function pt({collection:a,cover:i,itemCount:s}){const n=V(),{contractAddress:p,name:x,creator:b}=a,C=i==null||s==null,{data:d}=ye(p,C),w=i==null?(d==null?void 0:d.items)??[]:[],m=s??(d==null?void 0:d.total);function f(){n(`/collection/${p}`)}return e.jsxs(it,{"data-testid":"coll-card",role:"link",tabIndex:0,onClick:f,onKeyDown:h=>{(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),f())},children:[e.jsx(ot,{children:i?e.jsx(rt,{"data-testid":"coll-card-img",src:i,alt:"",loading:"lazy"}):w.length>0?e.jsx(at,{items:w,tinted:!1}):null}),e.jsxs(st,{children:[e.jsx(nt,{title:x,children:x}),e.jsxs(ct,{children:[e.jsxs(lt,{"data-meta":!0,"data-testid":"coll-card-meta",children:[b?e.jsx(dt,{address:b,linkToProfile:!0}):e.jsx(ht,{children:" "}),e.jsx(xt,{children:m==null?"…":t("collectionCard.itemCount",{count:m})})]}),e.jsx(gt,{"data-view":!0,"data-testid":"coll-card-view",onClick:h=>{h.stopPropagation(),f()},tabIndex:-1,children:t("collectionCard.viewCollection")})]})]})]})}function mt({address:a,className:i=""}){const s=$e(),n=_(x=>x.followed.includes(a.toLowerCase())),p=_(x=>x.toggle);return!s||!a?null:e.jsx(ke,{type:"button",size:"sm",variant:n?"ghost":"outline",className:i||void 0,"aria-pressed":n,title:n?t("creator.unfollowTitle"):t("creator.followTitle"),onClick:()=>p(a),children:n?t("creator.following"):t("creator.follow")})}const{colors:v,radius:ee,media:j}=Y,te=Z`
|
|
139
|
-
display: inline-flex;
|
|
140
|
-
align-items: center;
|
|
141
|
-
justify-content: center;
|
|
142
|
-
height: 44px;
|
|
143
|
-
padding: 0 28px;
|
|
144
|
-
border: 2px solid ${v.white};
|
|
145
|
-
border-radius: ${ee.btn};
|
|
146
|
-
background: transparent;
|
|
147
|
-
color: ${v.white};
|
|
148
|
-
font-weight: 600;
|
|
149
|
-
font-size: 13px;
|
|
150
|
-
text-transform: uppercase;
|
|
151
|
-
letter-spacing: 0.046em;
|
|
152
|
-
text-decoration: none;
|
|
153
|
-
`,ut=r.section`
|
|
154
|
-
position: relative;
|
|
155
|
-
border-radius: ${ee.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
|
-
${te};
|
|
165
|
-
}
|
|
166
|
-
&& .creator-hero__follow:hover:not(:disabled) {
|
|
167
|
-
background: rgba(255, 255, 255, 0.14);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
${j.maxWidth("mobile")} {
|
|
171
|
-
min-height: 260px;
|
|
172
|
-
}
|
|
173
|
-
`,bt=r.div`
|
|
174
|
-
position: absolute;
|
|
175
|
-
inset: 0;
|
|
176
|
-
z-index: 0;
|
|
177
|
-
`,ft=r.img`
|
|
178
|
-
width: 100%;
|
|
179
|
-
height: 100%;
|
|
180
|
-
object-fit: cover;
|
|
181
|
-
display: block;
|
|
182
|
-
`,wt=r.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
|
-
`,jt=r.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
|
-
${j.maxWidth("mobile")} {
|
|
196
|
-
top: 12px;
|
|
197
|
-
right: 12px;
|
|
198
|
-
gap: 6px;
|
|
199
|
-
}
|
|
200
|
-
`,ie=Z`
|
|
201
|
-
display: flex;
|
|
202
|
-
align-items: center;
|
|
203
|
-
justify-content: center;
|
|
204
|
-
color: ${v.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
|
-
${j.maxWidth("mobile")} {
|
|
215
|
-
& .ico {
|
|
216
|
-
width: 30px;
|
|
217
|
-
height: 30px;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
`,vt=r.a`
|
|
221
|
-
${ie};
|
|
222
|
-
`,Ct=r(be)`
|
|
223
|
-
${ie};
|
|
224
|
-
width: 32px;
|
|
225
|
-
height: 32px;
|
|
226
|
-
border-radius: 50%;
|
|
227
|
-
border: 2px solid ${v.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
|
-
${j.maxWidth("mobile")} {
|
|
239
|
-
width: 28px;
|
|
240
|
-
height: 28px;
|
|
241
|
-
& .ico {
|
|
242
|
-
width: 14px;
|
|
243
|
-
height: 14px;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
`,yt=r.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
|
-
${j.maxWidth("mobile")} {
|
|
257
|
-
padding: 56px 16px 24px;
|
|
258
|
-
}
|
|
259
|
-
`,O=r.img`
|
|
260
|
-
display: block;
|
|
261
|
-
width: 112px;
|
|
262
|
-
height: 112px;
|
|
263
|
-
border-radius: 50%;
|
|
264
|
-
object-fit: cover;
|
|
265
|
-
border: 4px solid ${v.white};
|
|
266
|
-
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
|
|
267
|
-
background: #ff4bed;
|
|
268
|
-
|
|
269
|
-
${j.maxWidth("mobile")} {
|
|
270
|
-
width: 88px;
|
|
271
|
-
height: 88px;
|
|
272
|
-
}
|
|
273
|
-
`,$t=r.h2`
|
|
274
|
-
margin: 0;
|
|
275
|
-
font-size: 18px;
|
|
276
|
-
font-weight: 700;
|
|
277
|
-
color: ${v.white};
|
|
278
|
-
line-height: 1.6;
|
|
279
|
-
|
|
280
|
-
${j.maxWidth("mobile")} {
|
|
281
|
-
font-size: 16px;
|
|
282
|
-
}
|
|
283
|
-
`,kt=r.p`
|
|
284
|
-
margin: 0;
|
|
285
|
-
font-size: 15px;
|
|
286
|
-
color: ${v.white};
|
|
287
|
-
line-height: 1.6;
|
|
288
|
-
max-width: 520px;
|
|
289
|
-
|
|
290
|
-
${j.maxWidth("mobile")} {
|
|
291
|
-
font-size: 14px;
|
|
292
|
-
}
|
|
293
|
-
`,Nt=r.div`
|
|
294
|
-
display: flex;
|
|
295
|
-
align-items: center;
|
|
296
|
-
gap: 12px;
|
|
297
|
-
flex-wrap: wrap;
|
|
298
|
-
justify-content: center;
|
|
299
|
-
`,Pt=r.a`
|
|
300
|
-
${te};
|
|
301
|
-
transition: background 0.15s ease;
|
|
302
|
-
|
|
303
|
-
&:hover {
|
|
304
|
-
background: rgba(255, 255, 255, 0.14);
|
|
305
|
-
}
|
|
306
|
-
`,St={website:"website",twitter:"twitter",discord:"discord",facebook:"facebook"};function Lt({address:a}){var h,$;const{data:i}=J(a),{data:s}=Oe(a),n=Ne(l=>{var k;return(k=l.session)==null?void 0:k.address}),p=!!n&&n.toLowerCase()===a.toLowerCase(),x=(i==null?void 0:i.name)||Q(a),b=($=(h=i==null?void 0:i.avatar)==null?void 0:h.snapshots)==null?void 0:$.face256,C=(s==null?void 0:s.cover)||Me,d=s==null?void 0:s.description,w=`${Pe.profileUrl}/${a}`,m=qe.filter(l=>s==null?void 0:s.links[l]),f=ze(Be({name:i==null?void 0:i.name,hasClaimedName:i==null?void 0:i.hasClaimedName,ethAddress:(i==null?void 0:i.ethAddress)??a}));return e.jsxs(ut,{"aria-label":`${x} storefront`,children:[e.jsxs(bt,{children:[e.jsx(ft,{src:C,alt:"",loading:"eager"}),e.jsx(wt,{"aria-hidden":!0})]}),(m.length>0||p)&&e.jsxs(jt,{children:[m.map(l=>e.jsx(vt,{"data-testid":"creator-hero-link",href:(s==null?void 0:s.links[l])??"",target:"_blank",rel:"noopener noreferrer",title:t(`creator.link.${l}`),"aria-label":t(`creator.link.${l}`),children:e.jsx(T,{name:St[l]})},l)),p&&e.jsx(Ct,{to:"/store-settings",title:t("creator.editStore"),"aria-label":t("creator.editStore"),children:e.jsx(T,{name:"pen"})})]}),e.jsxs(yt,{children:[b?e.jsx(O,{src:b,alt:"",loading:"eager",style:{backgroundColor:f}}):e.jsx(O,{as:"span","aria-hidden":!0,style:{backgroundColor:f}}),e.jsxs("div",{children:[e.jsx($t,{children:x}),d?e.jsx(kt,{children:d}):null]}),e.jsxs(Nt,{children:[e.jsx(Pt,{"data-testid":"creator-hero-view",href:w,target:"_blank",rel:"noopener noreferrer",children:t("creator.viewProfile")}),e.jsx(mt,{address:a,className:"creator-hero__follow"})]})]})]})}const q=48;function Ut(){const{address:a}=fe(),i=V(),[s]=we(),n=s.has("collections"),{data:p}=J(a),x=(p==null?void 0:p.name)||(a?Q(a):t("creator.fallbackName"));Se({title:x,description:t("seo.creator.description",{name:x})});const[b,C]=y.useState("wearable"),[d,w]=y.useState(null),[m,f]=y.useState([]),[h,$]=y.useState(""),[l,k]=y.useState(""),[A,oe]=y.useState("newest"),F=h&&!Number.isNaN(Number(h))?Number(h):void 0,E=l&&!Number.isNaN(Number(l))?Number(l):void 0,re=d?et[d]:void 0,ae=(H.find(o=>o.key===A)??H[0]).server,M={creator:a,category:b,rarities:m.length?m:void 0,wearableCategories:re,minPriceCredits:F,maxPriceCredits:E,sortBy:ae},{items:N,total:se,isLoading:P,error:z,hasNextPage:ne,isFetchingNextPage:B,isFetchNextPageError:ce,fetchNextPage:le}=U(["creator-listings",M],o=>Fe({...M,first:q,skip:o}),{enabled:!!a&&!n}),g=U(["creator-collections",a],o=>Ee(a,{first:q,skip:o}).then(c=>({items:c.collections,total:c.total})),{enabled:!!a&&n});function de(o){C(o),w(null),n&&I()}function I(){const o=new URLSearchParams(s);o.delete("collections");const c=o.toString();i({search:c?`?${c}`:""},{replace:!0})}function he(){if(n){I();return}const o=new URLSearchParams(s);o.delete("collections");const c=o.toString();i({search:c?`?${c}&collections`:"?collections"},{replace:!0})}function xe(o){f(c=>c.includes(o)?c.filter(ue=>ue!==o):[...c,o])}function ge(){C("wearable"),w(null),f([]),$(""),k("")}const L=!!(F||E),pe=L?`${h||"0"}–${l||"∞"}`:t("filter.price"),me=b!=="wearable"||!!d||m.length>0||L;return e.jsxs(Ie,{children:[e.jsxs(Re,{"aria-label":t("creator.breadcrumbAria"),children:[e.jsx(We,{onClick:()=>i("/items"),children:t("creator.breadcrumb")}),e.jsx("span",{children:"/"}),e.jsx(_e,{children:x})]}),a?e.jsx(Lt,{address:a}):null,!n&&!P&&N.length>0?e.jsx(Te,{items:N,source:"creator"}):null,e.jsxs(He,{children:[e.jsx(Ge,{children:e.jsx(Ve,{category:b,subCategory:d,onCategory:de,onSub:w,title:t("creator.category"),flat:!0,collections:n,onCollections:he})}),e.jsx(Ue,{children:n?e.jsxs(e.Fragment,{children:[e.jsx(De,{children:e.jsx(Ke,{children:g.isLoading?"…":t("creator.collectionsCount",{count:g.total})})}),g.error?e.jsx(D,{message:t("creator.error")}):null,e.jsx(K,{"data-variant":"collections",children:g.isLoading?e.jsx(S,{count:9}):e.jsxs(e.Fragment,{children:[g.items.map(o=>e.jsx(pt,{collection:o,itemCount:o.itemCount},o.contractAddress)),g.isFetchingNextPage?e.jsx(S,{count:6}):null]})}),e.jsx(G,{hasNextPage:g.hasNextPage,isFetching:g.isFetchingNextPage,isError:g.isFetchNextPageError,onLoadMore:()=>void g.fetchNextPage()}),!g.isLoading&&!g.error&&g.items.length===0?e.jsx("p",{className:"muted",children:t("creator.collectionsEmpty")}):null]}):e.jsxs(e.Fragment,{children:[e.jsx(Ye,{rarities:m,onToggleRarity:xe,sort:A,onSort:oe,total:se,loading:P,anyActive:me,onClear:ge,renderTrailing:o=>e.jsx(Ze,{panelKey:"price",label:pe,active:L,panel:o,children:e.jsxs(Je,{"data-variant":"price",children:[e.jsxs(Qe,{children:[e.jsx("input",{type:"number",min:"0","aria-label":t("creator.priceMin"),placeholder:t("creator.priceMinPlaceholder"),value:h,onChange:c=>$(c.target.value)}),e.jsx("span",{children:"–"}),e.jsx("input",{type:"number",min:"0","aria-label":t("creator.priceMax"),placeholder:t("creator.priceMaxPlaceholder"),value:l,onChange:c=>k(c.target.value)})]}),e.jsx(Xe,{children:t("creator.priceHint",{currency:Le.name})})]})})}),z?e.jsx(D,{message:t("creator.error")}):null,e.jsx(K,{children:P?e.jsx(S,{count:15}):e.jsxs(e.Fragment,{children:[N.map(o=>e.jsx(Ae,{item:o},o.id)),B?e.jsx(S,{count:6}):null]})}),e.jsx(G,{hasNextPage:ne,isFetching:B,isError:ce,onLoadMore:()=>void le()}),!P&&!z&&N.length===0?e.jsx("p",{className:"muted",children:t("creator.empty")}):null]})})]})]})}export{Ut as Creator,Ut as default};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{j as t,L as e}from"./react-DehiWSvs.js";import{s as n,I as i,q as s,b as o,B as a}from"./index-CqLzAYYu.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-Dr9BTjb7.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";const r=n.div`
|
|
2
|
-
min-height: 52vh;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
text-align: center;
|
|
8
|
-
gap: 14px;
|
|
9
|
-
`,c=n(i)`
|
|
10
|
-
opacity: 0.4;
|
|
11
|
-
`,d=n.h1`
|
|
12
|
-
font-size: 24px;
|
|
13
|
-
`;function h(){return s({title:o("seo.notFound.title"),noindex:!0}),t.jsxs(r,{"data-testid":"notfound",children:[t.jsx(c,{name:"cart",size:44}),t.jsx(d,{children:o("notFound.title")}),t.jsx("p",{className:"muted",children:o("notFound.body")}),t.jsx(a,{as:e,to:"/items",variant:"purple",children:o("notFound.cta")})]})}export{h as NotFound,h as default};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import{j as g}from"./react-DehiWSvs.js";import{t as m,s as a,O as C,n as A,bj as w,bk as v,b as u,w as y,B as S,z as M}from"./index-CqLzAYYu.js";const W="https://cdn.decentraland.org/@dcl/shop/0.5.1-30941423866.commit-16bb43e/_assets/default-cover-7vUE644d.jpeg",E=2166136261,j=16777619,L=4294967295,k=.75,I=1,R="#ffffff",T=/[\p{L}\p{N}]/u;function B(n){let o=E>>>0;for(let t=0;t<n.length;t++)o^=n.charCodeAt(t),o=Math.imul(o,j)>>>0;return o>>>0}function U(n,o,t){const e=n>=1?n-Math.floor(n):n,f=Math.floor(e*6),c=e*6-f,i=t*(1-o),r=t*(1-o*c),l=t*(1-o*(1-c));switch(f%6){case 0:return{r:t,g:l,b:i};case 1:return{r,g:t,b:i};case 2:return{r:i,g:t,b:l};case 3:return{r:i,g:r,b:t};case 4:return{r:l,g:i,b:t};default:return{r:t,g:i,b:r}}}function x(n){return Math.max(0,Math.min(255,Math.round(n*255))).toString(16).padStart(2,"0")}function _({r:n,g:o,b:t}){return`#${x(n)}${x(o)}${x(t)}`}function O(n){if(!n)return"";let o="";for(let t=0;t<n.length;t++){const e=n[t];T.test(e)&&(o+=e)}return o}function D({name:n,hasClaimedName:o,ethAddress:t}){const e=O(n);return e?o||!t||t.length<=4?e:`${e}#${t.slice(-4)}`:""}function X(n){if(!n)return R;const t=B(n)/L;return _(U(t,k,I))}const{colors:h,radius:z}=m,F=a.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
gap: 16px;
|
|
6
|
-
flex-wrap: wrap;
|
|
7
|
-
padding: 12px 16px;
|
|
8
|
-
margin-bottom: 20px;
|
|
9
|
-
border: 1px solid ${h.line};
|
|
10
|
-
border-radius: ${z.card};
|
|
11
|
-
background: ${h.media};
|
|
12
|
-
`,N=a.span`
|
|
13
|
-
display: inline-flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
gap: 6px;
|
|
16
|
-
font-weight: 600;
|
|
17
|
-
color: ${h.text};
|
|
18
|
-
`;function Y({items:n,source:o}){const t=C(s=>s.add),e=C(s=>s.items.map(d=>d.id)),f=A(s=>{var d;return(d=s.session)==null?void 0:d.address}),c=n.filter(s=>!w(s)&&!v(s,f));if(c.length===0)return null;const i=new Set(e),r=c.filter(s=>!i.has(s.id)),l=c.reduce((s,d)=>s+d.priceCredits,0);function $(){r.forEach(s=>t(s,o)),M.success(u("addAll.added",{count:r.length}))}return g.jsxs(F,{children:[g.jsxs(N,{children:[u("addAll.forSale",{count:c.length})," · ",g.jsx(y,{size:16})," ",l.toLocaleString()]}),g.jsx(S,{variant:"purple",size:"sm",onClick:$,disabled:r.length===0,children:r.length===0?u("addAll.allInCart"):u("addAll.addAll",{count:r.length})})]})}const{colors:p}=m,q=a.div`
|
|
19
|
-
max-width: 1721px;
|
|
20
|
-
margin: 0 auto;
|
|
21
|
-
`,G=a.nav`
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
gap: 8px;
|
|
25
|
-
font-size: 13px;
|
|
26
|
-
color: ${p.muted};
|
|
27
|
-
margin-bottom: 18px;
|
|
28
|
-
`,J=a.button`
|
|
29
|
-
background: none;
|
|
30
|
-
border: 0;
|
|
31
|
-
padding: 0;
|
|
32
|
-
color: ${p.muted};
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
|
|
35
|
-
&:hover {
|
|
36
|
-
color: ${p.text};
|
|
37
|
-
}
|
|
38
|
-
`,K=a.span`
|
|
39
|
-
color: ${p.text};
|
|
40
|
-
`,Q=a.div`
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
min-height: 44px;
|
|
44
|
-
margin-bottom: 16px;
|
|
45
|
-
`,Z=a.span`
|
|
46
|
-
color: ${p.muted};
|
|
47
|
-
font-weight: 600;
|
|
48
|
-
`,{colors:H,media:b}=m,tt=a.div`
|
|
49
|
-
position: relative;
|
|
50
|
-
display: flex;
|
|
51
|
-
gap: 32px;
|
|
52
|
-
align-items: flex-start;
|
|
53
|
-
|
|
54
|
-
${b.maxWidth("lg")} {
|
|
55
|
-
display: block;
|
|
56
|
-
}
|
|
57
|
-
`,nt=a.div`
|
|
58
|
-
flex: 1;
|
|
59
|
-
min-width: 0;
|
|
60
|
-
|
|
61
|
-
${b.maxWidth("lg")} {
|
|
62
|
-
width: 100%;
|
|
63
|
-
}
|
|
64
|
-
`,ot=a.aside`
|
|
65
|
-
flex: none;
|
|
66
|
-
width: 265px;
|
|
67
|
-
|
|
68
|
-
${b.maxWidth("lg")} {
|
|
69
|
-
position: fixed;
|
|
70
|
-
left: 0;
|
|
71
|
-
right: 0;
|
|
72
|
-
bottom: 0;
|
|
73
|
-
top: auto;
|
|
74
|
-
z-index: 9999;
|
|
75
|
-
width: 100%;
|
|
76
|
-
max-height: 88vh;
|
|
77
|
-
border-radius: 16px 16px 0 0;
|
|
78
|
-
background: ${H.white};
|
|
79
|
-
padding: 0 16px;
|
|
80
|
-
overflow-y: auto;
|
|
81
|
-
box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
|
|
82
|
-
transform: translateY(100%);
|
|
83
|
-
transition: transform 0.26s ease;
|
|
84
|
-
visibility: hidden;
|
|
85
|
-
|
|
86
|
-
&[data-open] {
|
|
87
|
-
transform: translateY(0);
|
|
88
|
-
visibility: visible;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
`;export{Y as A,tt as B,G as C,nt as M,q as P,ot as S,D as a,J as b,K as c,W as d,Q as e,Z as f,X as g};
|