@dcl/shop 0.3.0 → 0.4.0
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-CysvRMDH.js → Activity-CSDWiFkq.js} +1 -1
- package/_assets/{AnimatedBackground-1KvWirPP.js → AnimatedBackground-vKrEOHA5.js} +1 -1
- package/_assets/{Assets-CmA7g8ft.js → Assets-Cogahyqe.js} +3 -3
- package/_assets/{Assets.styles-BwMj4485.js → Assets.styles-B2EWL6JB.js} +1 -1
- package/_assets/{Authorizations-CfvVeEJl.js → Authorizations-BrKYlkZG.js} +1 -1
- package/_assets/{Cart-CYHKPPD-.js → Cart-W8w3sCuV.js} +5 -5
- package/_assets/{CircularProgress-oGg4qqHc.js → CircularProgress--GC-6I6k.js} +1 -1
- package/_assets/{Collection-Dmap3sR_.js → Collection-D16pjJSe.js} +1 -1
- package/_assets/{CollectionCarousel-DiADjTg-.js → CollectionCarousel-BeuBL17J.js} +77 -77
- package/_assets/{Creator-DB4BIeTa.js → Creator-BLsHzXRL.js} +1 -1
- package/_assets/{ErrorNotice-CBx78pQu.js → ErrorNotice-Cvc0nTjw.js} +1 -1
- package/_assets/{ExchangeController-DOvKzvyb.js → ExchangeController-DoFEzXko.js} +1 -1
- package/_assets/{GetCredits-Ch_OO41P.js → GetCredits-bxJh6m8F.js} +94 -130
- package/_assets/{HelpersUtil-CFCkU-g3.js → HelpersUtil-BFgierZ-.js} +1 -1
- package/_assets/{ImportListings-BGmtSIDb.js → ImportListings-BwORJ3CC.js} +13 -13
- package/_assets/{ItemDetail-ramYOGDR.js → ItemDetail-PoeIzOPp.js} +194 -194
- package/_assets/{ItemPreview.styles-D8aGYVBK.js → ItemPreview.styles-DtAUND9N.js} +1 -1
- package/_assets/{LoadMore-BSE8BKwI.js → LoadMore-DsWSQHxD.js} +1 -1
- package/_assets/ManaPricingBanner.styles-CF0iOeeS.js +74 -0
- package/_assets/{MenuList-qnDzTtfz.js → MenuList-DNOqfxHx.js} +1 -1
- package/_assets/{MyAssets-CgneL-KA.js → MyAssets-2XwaE-SE.js} +4 -4
- package/_assets/{MyFavorites-DrPT--am.js → MyFavorites-DIi3ztNe.js} +1 -1
- package/_assets/{NotFound-4IJj-QH6.js → NotFound-jHtQUp44.js} +1 -1
- package/_assets/{NotificationsBell-BOg2j5-7.js → NotificationsBell-By0uu4SI.js} +1 -1
- package/_assets/{OutfitDetail-DAfw3jDe.js → OutfitDetail-BQr6vhnT.js} +1 -1
- package/_assets/{OutfitPreview-DMQpfBpS.js → OutfitPreview-D6Z7-XEK.js} +1 -1
- package/_assets/{OutfitStudio-qASOqFO4.js → OutfitStudio-BFWU775v.js} +1 -1
- package/_assets/{StoreSettings-CjbyuHVf.js → StoreSettings-BJTpsKoX.js} +1 -1
- package/_assets/{Success-Ba2GyRY_.js → Success-CIQKaiOo.js} +1 -1
- package/_assets/{SwapController-B823Ep4J.js → SwapController-XcLKHFDT.js} +1 -1
- package/_assets/{Tooltip-2XcUkoOj.js → Tooltip-fS4VCxQs.js} +1 -1
- package/_assets/{TradeService-lYuRlk4v.js → TradeService-BgfeT0JQ.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-B8ZAc5Tp.js → W3MFrameProviderSingleton-BJE-tnmd.js} +3 -3
- package/_assets/{WebCryptoP256-CrjjL3U7.js → WebCryptoP256-P_MkVOZf.js} +1 -1
- package/_assets/authorizations-Bm65kFBw.js +1 -0
- package/_assets/{basic-3OIT7lDP.js → basic-BzdDurZu.js} +1 -1
- package/_assets/{biconomy-CLvfOfCg.js → biconomy-BHLIxKXm.js} +1 -1
- package/_assets/{browseLayout.styles-DCwE16ZG.js → browseLayout.styles-D_JQHeMK.js} +4 -4
- package/_assets/{builder-CoZ9B86k.js → builder-CPpn-LV6.js} +1 -1
- package/_assets/buy-CfVy6xwA.js +1 -0
- package/_assets/{buy-gasless-uIQiLsX8.js → buy-gasless-DmFIjDH7.js} +1 -1
- package/_assets/categories-D2JgaepG.js +448 -0
- package/_assets/{ccip-C8TW-3ey.js → ccip-BGuL2CTW.js} +1 -1
- package/_assets/{ccip-C4f9EXfY.js → ccip-japHsC-d.js} +1 -1
- package/_assets/{clsx-BsYHeX03.js → clsx-DY37pDvc.js} +1 -1
- package/_assets/{controller-ASkKeRkX.js → controller-CEuTNpMI.js} +2 -2
- package/_assets/{core-X_wu6_Dy.js → core-DFTtNj6Y.js} +4 -4
- package/_assets/{createSvgIcon-D4cpIqvx.js → createSvgIcon-BFo-10ds.js} +3 -3
- package/_assets/{custom-BVAi4D5H.js → custom-DyS8vC8K.js} +1 -1
- package/_assets/{data-capture-C23iRBhs.js → data-capture-CpqP5gpO.js} +1 -1
- package/_assets/{email-CB03fcCQ.js → email-DOkwtMrW.js} +1 -1
- package/_assets/{embedded-wallet-CnMDk9db.js → embedded-wallet-BI0I-FyI.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-CNluusdx.js → emotion-styled.browser.esm-nmKSs9QV.js} +1 -1
- package/_assets/{engine-DaJGLPH7.js → engine-BsCDGGhp.js} +1 -1
- package/_assets/{errors-CJ4NHTPm.js → errors-CVWX9epA.js} +1 -1
- package/_assets/{estimate-l1-fee-DC2eYWPQ.js → estimate-l1-fee-BwVQYvPZ.js} +1 -1
- package/_assets/{execute-vh_I47EG.js → execute-DCjeHtk2.js} +2 -2
- package/_assets/{features-i2gsSk7q.js → features-DmQF08Nd.js} +1 -1
- package/_assets/{fetchTokenMetadata-DpicXKCe.js → fetchTokenMetadata-DtvlyEpN.js} +2 -2
- package/_assets/{field.styles-DPC95Ntd.js → field.styles-ZqzDOrCY.js} +1 -1
- package/_assets/{get-ecosystem-wallet-info-B8_se1pi.js → get-ecosystem-wallet-info-glXHSBBX.js} +1 -1
- package/_assets/{getBalance-Cee2d5fc.js → getBalance-D4uOuyXp.js} +1 -1
- package/_assets/{getNFT-CUD-atXT.js → getNFT-D9u1poHS.js} +1 -1
- package/_assets/{getNFT-BjnrEAq8.js → getNFT-VYQvQv4K.js} +1 -1
- package/_assets/{getThemeProps-B71MHgCC.js → getThemeProps-BOJ8W9dy.js} +1 -1
- package/_assets/{grid.styles-q_RkLJKv.js → grid.styles-C92STzz7.js} +1 -1
- package/_assets/{hashTypedData-Bclxfb96.js → hashTypedData-CU4XEihs.js} +1 -1
- package/_assets/{hashTypedData-CiuZE5MB.js → hashTypedData-Cmk_4l7W.js} +1 -1
- package/_assets/hero-credits-outfits-DeMMQYZj.webp +0 -0
- package/_assets/{in-app-DoTVgkA7.js → in-app-n2C_GYjN.js} +1 -1
- package/_assets/{in-app-wallet-calls-aTpQmtYp.js → in-app-wallet-calls-BH4EHvoE.js} +1 -1
- package/_assets/{index-DJ0Ox_g6.js → index-1DlQc04C.js} +1 -1
- package/_assets/{index-oYINO7Gh.js → index-1E3TZOEp.js} +3 -3
- package/_assets/{index-ZtNObKUx.js → index-3G1ZZRHy.js} +1 -1
- package/_assets/{index-C_quGuYS.js → index-5ZQ75r5A.js} +2 -2
- package/_assets/{index-BOqO3K08.js → index-5oJAYQpS.js} +1 -1
- package/_assets/{index-DnUnGNK1.js → index-8ahFN9pV.js} +1 -1
- package/_assets/{index-BLIOngWK.js → index-9ZSFZyk5.js} +1 -1
- package/_assets/{index-CkdrAVd7.js → index-B-0owZIE.js} +1 -1
- package/_assets/{index-KhxRGpab.js → index-B-2A_xJK.js} +1 -1
- package/_assets/index-B0wrSWVL.js +3467 -0
- package/_assets/{index-DxbeSgwP.js → index-B33pX4sx.js} +1 -1
- package/_assets/{index-CnAxZm7a.js → index-B6HLteu2.js} +1 -1
- package/_assets/{index-C-ZPerkC.js → index-B95j5ECm.js} +1 -1
- package/_assets/{index-D2Hh-irJ.js → index-BAGHoKjd.js} +1 -1
- package/_assets/{index-BdZJNMhf.js → index-BAKuuHpY.js} +1 -1
- package/_assets/{index-Br-QxSL4.js → index-BBLwTza9.js} +1 -1
- package/_assets/{index-CLm5_lcW.js → index-BFbvmloZ.js} +1 -1
- package/_assets/{index-DREmVGyP.js → index-BKB9eVo_.js} +1 -1
- package/_assets/{index-CShk5nTD.js → index-Bdk6ierZ.js} +1 -1
- package/_assets/{index-pDIZRYxP.js → index-BmtMJnoP.js} +2 -2
- package/_assets/{index-DzoYWAIJ.js → index-Bnnl1_Pn.js} +1 -1
- package/_assets/{index-CHLJVbwu.js → index-BpfebiBi.js} +1 -1
- package/_assets/{index-Dqt4TaYh.js → index-BvzZi8lQ.js} +1 -1
- package/_assets/{index-BnVjsoyV.js → index-C1Zza7kR.js} +3 -3
- package/_assets/{index-LbRdNAf3.js → index-C75VmoUV.js} +1 -1
- package/_assets/{index-CiqC5vqm.js → index-CCQWBULG.js} +1 -1
- package/_assets/{index-DAKpmmlR.js → index-CDzrsoju.js} +1 -1
- package/_assets/{index-DpAZRpHS.js → index-CFJ4759x.js} +1 -1
- package/_assets/{index-DmmqNlbI.js → index-CMiDANew.js} +1 -1
- package/_assets/{index-6U0_groo.js → index-CNek90qs.js} +1 -1
- package/_assets/{index-BIMSqj0E.js → index-CS26D5br.js} +1 -1
- package/_assets/index-D-NhBWWr.css +1 -0
- package/_assets/{index-Da9c_8XH.js → index-DCJFwzag.js} +1 -1
- package/_assets/{index-B8WxnCSZ.js → index-DCkPd79h.js} +1 -1
- package/_assets/{index-AvMVq3p5.js → index-DO-41U6s.js} +1 -1
- package/_assets/{index-Zni41xRh.js → index-DU7iVDBh.js} +3 -3
- package/_assets/{index-X-5FVXow.js → index-DUOePrjP.js} +1 -1
- package/_assets/{index-BmR9lQvd.js → index-DWyeO73d.js} +1 -1
- package/_assets/{index-CqqbmEIM.js → index-Das01MWO.js} +2 -2
- package/_assets/{index-CKgjOb17.js → index-DcW0aOo_.js} +1 -1
- package/_assets/{index-D2cHV9P4.js → index-Dg3cba8i.js} +1 -1
- package/_assets/{index-umhEn8if.js → index-DgIUvj1u.js} +1 -1
- package/_assets/{index-B-yk4_og.js → index-Drzr7GIe.js} +1 -1
- package/_assets/{index-DhW6Eiq4.js → index-DuYquyJk.js} +1 -1
- package/_assets/{index-grey-Hql.js → index-Dyb9tM0L.js} +1 -1
- package/_assets/{index-CQd88f4P.js → index-S5ytn1G_.js} +1 -1
- package/_assets/{index-pkIYUyEs.js → index-X1g5-mc1.js} +2 -2
- package/_assets/{index-Bm4qVnUT.js → index-YlEZ0MB-.js} +1 -1
- package/_assets/{index-Dk_Ivei2.js → index-gO1p5U4e.js} +1 -1
- package/_assets/{index-BMHjpFTY.js → index-iVhRHvGC.js} +1 -1
- package/_assets/{index-5tjsFjOD.js → index-lc1BgLRJ.js} +1 -1
- package/_assets/{index-tvenjK5z.js → index-x_f1XpFN.js} +1 -1
- package/_assets/{index.es-C5-qOo53.js → index.es-CYrm9JiK.js} +4 -4
- package/_assets/{index.es-C4q67lvL.js → index.es-D-Hj-yaE.js} +1 -1
- package/_assets/{index.es-gI39JHkd.js → index.es-DlCKcYQh.js} +1 -1
- package/_assets/{localBatchGatewayRequest-CYWicxBl.js → localBatchGatewayRequest-D-M3uJjn.js} +1 -1
- package/_assets/{mana-convert-C239nuRR.js → mana-convert-XtWFaGCt.js} +1 -1
- package/_assets/{mana-rate-CWXyJ6Qt.js → mana-rate-CLS7fjKR.js} +1 -1
- package/_assets/{networks-CdC9lKkb.js → networks-DLkt_HOu.js} +1 -1
- package/_assets/{onramp-B6zv6owZ.js → onramp-B9C9zg8X.js} +1 -1
- package/_assets/{openzeppelin-fBZEbwFp.js → openzeppelin-Czmq9Q8z.js} +1 -1
- package/_assets/{parseNft-Dn6QDQHN.js → parseNft-Df0bG2_u.js} +2 -2
- package/_assets/{parseSignature-DecBV3iH.js → parseSignature-Cu3sQgfL.js} +1 -1
- package/_assets/{parseSignature-DAHrPk4v.js → parseSignature-nbJG9PDg.js} +3 -3
- package/_assets/{passkeys-KiBei2LX.js → passkeys-UkbavCkH.js} +1 -1
- package/_assets/{pay-with-exchange-D9SNWmjx.js → pay-with-exchange-BZkWaWxT.js} +1 -1
- package/_assets/{qr-overlay-2zAa6fld.js → qr-overlay-BE8jnAiO.js} +1 -1
- package/_assets/{receive-ChxNL97S.js → receive-B2e1QRi3.js} +1 -1
- package/_assets/{resolveImplementation-BNaLKkof.js → resolveImplementation-BBe0akeh.js} +1 -1
- package/_assets/{rpc-DBHsoP5N.js → rpc-iEVF2nz4.js} +1 -1
- package/_assets/{secp256k1-C8JTXBnF.js → secp256k1-Ba2kPpNf.js} +1 -1
- package/_assets/{secp256k1-C2pLUi5w.js → secp256k1-ClQ_G_RL.js} +1 -1
- package/_assets/{secp256k1-xOB6yMRi.js → secp256k1-e7mCjC3J.js} +1 -1
- package/_assets/{send-BLmLJ3eA.js → send-BOmHA5ER.js} +1 -1
- package/_assets/{send-batch-transaction-120lF45D.js → send-batch-transaction-C1STwRsa.js} +1 -1
- package/_assets/{send-eip712-transaction-B2w1ZAOY.js → send-eip712-transaction-Dy9FgG1n.js} +2 -2
- package/_assets/{send-gasless-transaction-oH9WEYVY.js → send-gasless-transaction-C66wRlKz.js} +2 -2
- package/_assets/{send-transaction-CLaO8DmY.js → send-transaction-CLuOLZ7t.js} +2 -2
- package/_assets/{sendMetaTransaction-OKd_ifNL.js → sendMetaTransaction-DvDr2bCi.js} +1 -1
- package/_assets/{sendRawTransaction-BP5hNXP6.js → sendRawTransaction-DqkFhazS.js} +3 -3
- package/_assets/{serializeTransaction--Dr7RtAU.js → serializeTransaction-BEOUomEz.js} +1 -1
- package/_assets/{session-proposal-CiYz-jZC.js → session-proposal-UXG0f185.js} +1 -1
- package/_assets/{session-request-Clv9A0oy.js → session-request-DIqK3WRK.js} +2 -2
- package/_assets/{signing-CJ5kWk7o.js → signing-DReJZKDs.js} +3 -3
- package/_assets/{socials-CeLfiCF9.js → socials-CdGrw0ok.js} +1 -1
- package/_assets/{swaps-DkDPQf9R.js → swaps-CycOd3sO.js} +1 -1
- package/_assets/{thirdweb-BcTKOQfU.js → thirdweb-D5w8-dkS.js} +3 -3
- package/_assets/{to-serializable-transaction-CVgEJJoF.js → to-serializable-transaction-C1TwC6Ti.js} +2 -2
- package/_assets/{trade-encoding-COAHYjJi.js → trade-encoding-Mw7kNWLf.js} +1 -1
- package/_assets/{transactionReceipt-dayojTpn.js → transactionReceipt-DyOMk-YN.js} +1 -1
- package/_assets/{transactions-BqxmWzZz.js → transactions-VmU1Fomk.js} +1 -1
- package/_assets/{useCreditPacks-CHpQ4LEN.js → useCreditPacks-D1yz9_D9.js} +1 -1
- package/_assets/{useInfiniteGrid-sc2vmuxU.js → useInfiniteGrid-C-7TbIWI.js} +1 -1
- package/_assets/useManaRate-6JYRR5Sm.js +1 -0
- package/_assets/{useSecondarySales-C8BuUV_s.js → useSecondarySales-BhfHOcZl.js} +1 -1
- package/_assets/{useStore-D3ONm_sP.js → useStore-DCWOq5iS.js} +1 -1
- package/_assets/{useTheme-D8ClSCiJ.js → useTheme-DoVQgCCM.js} +1 -1
- package/_assets/{verifyHash-tNHFcENz.js → verifyHash-B-nszbU3.js} +1 -1
- package/_assets/{w3m-modal-D0qE5VS7.js → w3m-modal-C9EOWDq3.js} +1 -1
- package/_assets/{w3m-modal-BYIDrkH-.js → w3m-modal-y9ZrKukQ.js} +1 -1
- package/_assets/{wait-for-tx-receipt-C3lxZWQH.js → wait-for-tx-receipt-DL1snjgl.js} +1 -1
- package/_assets/{wallets-BlFrUv2a.js → wallets-CExmmU6y.js} +5 -5
- package/_assets/{web-connector-DzEBomI8.js → web-connector-vE0RE6CB.js} +3 -3
- package/_assets/{writeContract-CaaID3Lc.js → writeContract-B0sDSczf.js} +1 -1
- package/_assets/{zoraTestnet-Da9dTQUp.js → zoraTestnet-B_NFi9S-.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/ManaPricingBanner.styles-bQxgJp4R.js +0 -74
- package/_assets/authorizations-BeJcD0Ty.js +0 -1
- package/_assets/buy-5BIPC7Eq.js +0 -1
- package/_assets/categories-CmiNaFHh.js +0 -427
- package/_assets/hero-fashion-week-B9LOzkde.png +0 -0
- package/_assets/index-9_8O7Lhc.js +0 -3488
- package/_assets/index-BMzstP-8.css +0 -1
- package/_assets/promo-best-rated-emotes-C6kNvB-a.png +0 -0
- package/_assets/promo-week-selected-outfits-BBmkZYZx.png +0 -0
- package/_assets/useManaRate-Ceh_R3VR.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.
|
|
20
|
-
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.
|
|
19
|
+
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.4.0/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.4.0/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.
|
|
22
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.4.0/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.
|
|
51
|
+
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.4.0/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.
|
|
64
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.
|
|
65
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.
|
|
66
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.
|
|
67
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.
|
|
68
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.
|
|
69
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.
|
|
63
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.4.0/_assets/index-B0wrSWVL.js"></script>
|
|
64
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.4.0/_assets/react-DehiWSvs.js">
|
|
65
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.4.0/_assets/sentry-973sfbO9.js">
|
|
66
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.4.0/_assets/dcl-schemas-Dr9BTjb7.js">
|
|
67
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.4.0/_assets/ethers-CtNGBird.js">
|
|
68
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.4.0/_assets/intl-CBcMB1D2.js">
|
|
69
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.4.0/_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.
|
|
3
|
+
"version": "0.4.0",
|
|
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": "742d29eadce19bb8d249f8054dc8ffcaa44a03a2"
|
|
12
12
|
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
var j=Object.defineProperty;var $=(t,a,e)=>a in t?j(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e;var g=(t,a,e)=>$(t,typeof a!="symbol"?a+"":a,e);import{g as R,aV as A,aW as I,c as x,t as p,s as r,aa as S,f as T,aX as v,e as h}from"./index-9_8O7Lhc.js";import{c as E}from"./buy-5BIPC7Eq.js";import{r as k}from"./mana-rate-CWXyJ6Qt.js";import{e as M,d as U,f as O,h as W}from"./trade-encoding-COAHYjJi.js";import{a as P}from"./mana-convert-C239nuRR.js";import{r as _,j as s,L as z}from"./react-DehiWSvs.js";const u=1e3*60*60*24*182;async function et(t){const a=await fetch(`${x.marketplaceServerUrl}/v3/catalog/importable?seller=${t.toLowerCase()}`);if(!a.ok)throw new Error(`fetchImportable ${a.status}`);const{data:e}=await a.json(),n=e??[];if(n.length===0)return{creations:[],owned:[]};const d=n[0].chainId||x.chainId,c=await k(d),l=n.map(i=>({...i,suggestedCredits:P(i.manaWei,c)??1}));return{creations:l.filter(i=>i.listingType==="primary"),owned:l.filter(i=>i.listingType==="secondary")}}const m=[3e3,3e3,4e3,5e3,6e3,8e3,8e3];async function w(t,a){for(let e=0;;e++)try{await I(t,a);return}catch(n){if(!/already an open order/i.test((n==null?void 0:n.message)??"")||e>=m.length)throw n;await new Promise(c=>setTimeout(c,m[e]))}}class F extends Error{constructor(e){super("Your old listing was removed, but re-listing in the Shop failed — re-list it from My Assets.");g(this,"original");this.name="RelistFailedError",this.original=e}}async function at(t,a,e,n={}){const d=a/10,c=t.chainId,l=t.network;if(t.listingType==="secondary"&&!await R())throw new Error("The Shop does not offer secondary sales; this listing cannot be migrated.");let i=!1;if(n.cancelOld!==!1){const o=await A(t.oldTradeId).catch(()=>null);o&&(await E({trade:o,signer:e.signer}),i=!0)}try{if(t.listingType==="primary"){await M({signer:e.signer,contractAddress:t.contractAddress,chainId:c});const o=await U({signer:e.signer,item:{contractAddress:t.contractAddress,itemId:t.itemId??"",network:l,chainId:c},usdPrice:d,uses:t.available,expiresAtMs:Date.now()+u});await w(o,e.identity)}else{await O({signer:e.signer,contractAddress:t.contractAddress,chainId:c});const o=await W({signer:e.signer,nft:{contractAddress:t.contractAddress,tokenId:t.tokenId??"",network:l,chainId:c},usdPrice:d,expiresAtMs:Date.now()+u});await w(o,e.identity)}}catch(o){throw i?new F(o):o}}function Y({size:t=17,...a}){const e=`credit-mark-${_.useId()}`;return s.jsxs("svg",{viewBox:"0 0 16.9985 16.9985",width:t,height:t,fill:"none","aria-hidden":!0,focusable:"false",...a,children:[s.jsx("defs",{children:s.jsxs("linearGradient",{id:e,x1:"-0.513692",y1:"8.51179",x2:"29.4301",y2:"5.69069",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:p.colors.dclRed}),s.jsx("stop",{offset:"1",stopColor:p.colors.flareAmber})]})}),s.jsx("path",{d:"M11.866 0.605075L16.4734 5.29355L16.4148 11.8658L11.7253 16.4742L5.15405 16.4156L0.545653 11.7271L0.604247 5.1539L5.29175 0.546481L11.866 0.605075Z",fill:`url(#${e})`,stroke:`url(#${e})`,strokeWidth:"1.04738"}),s.jsx("path",{d:"M9.14405 10.9365C9.51965 10.9365 9.87384 10.8794 10.2067 10.7653C10.5395 10.6512 10.7938 10.5371 10.9697 10.423L11.4975 11.4749L12.0252 12.5268C11.8017 12.717 11.4166 12.9095 10.8699 13.1045C10.3279 13.2994 9.68605 13.3969 8.94437 13.3969C8.25023 13.3969 7.59651 13.2756 6.98319 13.0332C6.36988 12.7907 5.82551 12.4507 5.35007 12.0133C4.87939 11.5759 4.51093 11.0625 4.24468 10.4729C3.97844 9.87864 3.84532 9.23205 3.84532 8.53316C3.84532 7.83427 3.97844 7.18767 4.24468 6.59338C4.51093 5.99433 4.87939 5.4761 5.35007 5.0387C5.82075 4.59655 6.36275 4.25423 6.97606 4.01176C7.59413 3.76453 8.25023 3.64092 8.94437 3.64092C9.68605 3.64092 10.3279 3.73838 10.8699 3.93331C11.4166 4.12824 11.8017 4.32079 12.0252 4.51097L10.9697 6.61477C10.7938 6.50067 10.5395 6.38656 10.2067 6.27246C9.87384 6.15835 9.51965 6.1013 9.14405 6.1013C8.67812 6.1013 8.27876 6.17024 7.94595 6.30812C7.6179 6.44599 7.34928 6.63141 7.14009 6.86438C6.9309 7.09734 6.77638 7.35645 6.67654 7.64171C6.58145 7.92698 6.53391 8.21699 6.53391 8.51176C6.53391 8.81129 6.58145 9.10606 6.67654 9.39607C6.77638 9.68133 6.9309 9.94045 7.14009 10.1734C7.34928 10.4064 7.6179 10.5918 7.94595 10.7297C8.27876 10.8675 8.67812 10.9365 9.14405 10.9365Z",fill:p.colors.white})]})}const{colors:L,font:B}=p,D=r.p`
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
gap: 4px;
|
|
5
|
-
margin: 0;
|
|
6
|
-
font-family: ${B.sans};
|
|
7
|
-
font-size: 16px;
|
|
8
|
-
line-height: normal;
|
|
9
|
-
color: ${L.text};
|
|
10
|
-
|
|
11
|
-
&[data-align='center'] {
|
|
12
|
-
justify-content: center;
|
|
13
|
-
}
|
|
14
|
-
`,C=r.span`
|
|
15
|
-
font-weight: 600;
|
|
16
|
-
`,y=r.span`
|
|
17
|
-
font-weight: 400;
|
|
18
|
-
`,q=r.span`
|
|
19
|
-
font-size: 14px;
|
|
20
|
-
font-weight: 600;
|
|
21
|
-
line-height: 1.57;
|
|
22
|
-
color: ${L.muted1};
|
|
23
|
-
`;function st({align:t,className:a}){const e=S(T.nameSingular),n=v(1).toFixed(2),d=h("creditRate.usdLabel");return s.jsxs(D,{className:a,"data-align":t,"data-testid":"credit-rate","aria-label":h("creditRate.aria",{unit:e,usd:n}),children:[s.jsx(Y,{}),s.jsxs("span",{children:[s.jsx(C,{children:"1"})," ",s.jsx(y,{children:e})]}),s.jsx(q,{"aria-hidden":!0,children:h("creditRate.equals")}),s.jsxs("span",{children:[s.jsx(y,{children:d})," ",s.jsx(C,{children:n})]})]})}const{colors:f,font:H,media:N,radius:b}=p,V=r.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
gap: 8px;
|
|
27
|
-
padding: 12px 8px 12px 16px;
|
|
28
|
-
border-radius: ${b.btn};
|
|
29
|
-
background: ${f.promptLilac};
|
|
30
|
-
font-family: ${H.sans};
|
|
31
|
-
`,nt=r(V)`
|
|
32
|
-
justify-content: space-between;
|
|
33
|
-
|
|
34
|
-
/* Side by side the sentence and the cta can't both fit a phone, so the cta drops to its own line. */
|
|
35
|
-
${N.maxWidth("mobile")} {
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
align-items: flex-start;
|
|
38
|
-
}
|
|
39
|
-
`,rt=r.div`
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
gap: 8px;
|
|
43
|
-
`,it=r.p`
|
|
44
|
-
margin: 0;
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
font-weight: 400;
|
|
47
|
-
line-height: 1.334;
|
|
48
|
-
color: ${f.text2};
|
|
49
|
-
`,ot=r.strong`
|
|
50
|
-
font-weight: 700;
|
|
51
|
-
`,ct=r(z)`
|
|
52
|
-
flex: none;
|
|
53
|
-
display: inline-flex;
|
|
54
|
-
align-items: center;
|
|
55
|
-
justify-content: center;
|
|
56
|
-
height: 40px;
|
|
57
|
-
padding: 0 12px;
|
|
58
|
-
border-radius: ${b.card};
|
|
59
|
-
font-size: 13px;
|
|
60
|
-
font-weight: 600;
|
|
61
|
-
line-height: 24px;
|
|
62
|
-
letter-spacing: 0.46px;
|
|
63
|
-
text-transform: uppercase;
|
|
64
|
-
text-decoration: underline;
|
|
65
|
-
color: ${f.accent};
|
|
66
|
-
|
|
67
|
-
&:hover {
|
|
68
|
-
color: ${f.accentHover};
|
|
69
|
-
}
|
|
70
|
-
&:focus-visible {
|
|
71
|
-
outline: 2px solid ${f.accent};
|
|
72
|
-
outline-offset: 2px;
|
|
73
|
-
}
|
|
74
|
-
`;export{ot as A,rt as B,st as C,nt as R,V as S,it as T,ct as a,F as b,Y as c,et as f,at as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as A,a as s,C as o,o as v}from"./index-9_8O7Lhc.js";import{M,E as k,s as y}from"./sendMetaTransaction-OKd_ifNL.js";import{c as _,C as i,M as E,Z as f,J as b,I as x}from"./ethers-CtNGBird.js";const w="".trim().toLowerCase(),d={enabled:w!=="0"&&w!=="false",relayerUrl:A.relayerUrl};function B(){return d.enabled}var T=(e=>(e.Allowance="allowance",e.Approval="approval",e.Minter="minter",e))(T||{});const l=["function allowance(address owner, address spender) view returns (uint256)","function approve(address spender, uint256 amount) returns (bool)"],p=["function isApprovedForAll(address owner, address operator) view returns (bool)","function setApprovalForAll(address operator, bool approved)"],u=["function globalMinters(address minter) view returns (bool)","function setMinters(address[] minters, bool[] values)"],g=E;function m(){return new b(A.rpcUrl)}const D={chainId:"0x13882",chainName:"Polygon Amoy",nativeCurrency:{name:"POL",symbol:"POL",decimals:18},rpcUrls:["https://rpc-amoy.polygon.technology"],blockExplorerUrls:["https://amoy.polygonscan.com"]};async function L(e,n){if((await e.getNetwork()).chainId===n)return;const r=_(n);try{await e.send("wallet_switchEthereumChain",[{chainId:r}])}catch(t){if(t.code===4902&&n===80002)await e.send("wallet_addEthereumChain",[D]);else throw t}}async function N(e,n){const a=m();switch(e.kind){case"allowance":return(await new i(e.contractAddress,l,a).allowance(n,e.spenderAddress)).gt(0);case"approval":return new i(e.contractAddress,p,a).isApprovedForAll(n,e.spenderAddress);case"minter":{const r=new i(e.contractAddress,u,a);try{return await r.globalMinters(e.spenderAddress)}catch{return!1}}}}function z(e){return e.kind==="allowance"?s(o.MANAToken,e.chainId):{...s(o.ERC721CollectionV2,e.chainId),address:e.contractAddress}}function O(e,n){const a=new x(e.kind==="allowance"?l:e.kind==="approval"?p:u);switch(e.kind){case"allowance":return a.encodeFunctionData("approve",[e.spenderAddress,n?g:f]);case"approval":return a.encodeFunctionData("setApprovalForAll",[e.spenderAddress,n]);case"minter":return a.encodeFunctionData("setMinters",[[e.spenderAddress],[n]])}}const F=new Set(["eth_signTypedData_v4","eth_signTypedData","eth_sign","personal_sign","eth_requestAccounts","eth_accounts","eth_chainId"]);function R(e,n){return{send:(a,r=[])=>F.has(a)?e.send(a,r):n.send(a,r)}}async function S(e,n,a){const r=O(e,a),t=z(e),c=m(),C=R(n.provider,c),h=await y(C,c,r,t,{serverURL:d.relayerUrl});await c.waitForTransaction(h,1,12e4)}async function U(e){const{auth:n,signer:a,active:r}=e;if(d.enabled)try{await S(n,a,r);return}catch(t){if(t instanceof M&&t.code===k.USER_DENIED)throw t;console.warn("[authorizations] gasless meta-tx failed, falling back to a direct tx:",t)}switch(await L(a.provider,n.chainId),n.kind){case"allowance":{await(await new i(n.contractAddress,l,a).approve(n.spenderAddress,r?g:f)).wait();return}case"approval":{await(await new i(n.contractAddress,p,a).setApprovalForAll(n.spenderAddress,r)).wait();return}case"minter":{await(await new i(n.contractAddress,u,a).setMinters([n.spenderAddress],[r])).wait();return}}}async function W(e){const n=await e.signer.getAddress();await N(e.auth,n)||await U({auth:e.auth,signer:e.signer,active:!0})}function H(e,n){return v(e)&&!n}function J(e,n){return{kind:"allowance",contractAddress:s(o.MANAToken,e).address,spenderAddress:n,chainId:e}}function Z(e){const n=s(o.MANAToken,e),a=s(o.CreditsManager,e);return{id:"credits",group:"buying",kind:"allowance",contractAddress:n.address,spenderAddress:a.address,chainId:e}}function $(e){const n=s(o.MANAToken,e),a=s(o.OffChainMarketplaceV2,e);return{id:"mana-marketplace",group:"buying",kind:"allowance",contractAddress:n.address,spenderAddress:a.address,chainId:e}}function j(e,n){const a=s(o.OffChainMarketplaceV2,n);return{id:`selling:${e.toLowerCase()}`,group:"selling",kind:"approval",contractAddress:e,spenderAddress:a.address,chainId:n}}function q(e,n){const a=s(o.OffChainMarketplaceV2,n);return{id:`minting:${e.toLowerCase()}`,group:"minting",kind:"minter",contractAddress:e,spenderAddress:a.address,chainId:n}}export{T as A,Z as a,$ as b,j as c,q as d,L as e,N as f,d as g,W as h,B as i,J as j,R as m,H as n,m as r,U as s};
|
package/_assets/buy-5BIPC7Eq.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as S}from"./dcl-schemas-Dr9BTjb7.js";import{a as f,b as m,c as W,C as g}from"./index-9_8O7Lhc.js";import{g as C,e as x,r as v,m as E}from"./authorizations-BeJcD0Ty.js";import{g as T,a as y,b as A,c as _}from"./trade-encoding-COAHYjJi.js";import{M as U,E as D,s as M}from"./sendMetaTransaction-OKd_ifNL.js";import{C as p,I as N,J as $,B as w}from"./ethers-CtNGBird.js";function G(a){const t=new Map;for(const e of R(a)){if(e.kind==="store"){const o=`store:${e.chainId}`,i=t.get(o);i&&i.kind==="store"?i.purchases.push(e):t.set(o,{kind:"store",chainId:e.chainId,purchases:[e]});continue}const s=e.trade.contract.toLowerCase(),c=`trade:${e.trade.chainId}:${s}`,n=t.get(c);n&&n.kind==="trade"?n.purchases.push(e):t.set(c,{kind:"trade",chainId:e.trade.chainId,marketplace:s,purchases:[e]})}return[...t.values()]}function R(a){return a.map(t=>"kind"in t?t:{kind:"trade",...t})}function J(a){return a.reduce((t,e)=>t.add(w.from(e.maxCreditedValue)),w.from(0)).toString()}async function O(a){const t=a.received[0],e=t.amount??"0";if(t.assetType!==Number(S.TradeAssetType.USD_PEGGED_MANA))return e;const s=f(m(a.contract),a.chainId),c=new $(W.rpcUrl),o=await new p(s.address,["function manaUsdAggregator() view returns (address)"],c).manaUsdAggregator(),i=new p(o,["function decimals() view returns (uint8)","function latestRoundData() view returns (uint80,int256,uint256,uint256,uint80)"],c),u=await i.decimals(),d=await i.latestRoundData(),r=w.from(d[1]);return w.from(e).mul(w.from(10).pow(u)).div(r).mul(102).div(100).toString()}async function H(a,t,e,s){const c=e.provider;await x(c,a);const n=await c.getNetwork();if(n.chainId!==a)throw new Error(`Wrong network: wallet is on chain ${n.chainId}, expected ${a}. Switch networks and try again.`);const o=f(g.CreditsManager,a),u=await new p(o.address,o.abi,e).useCredits(t,y(a));return s==null||s(u.hash),(await u.wait()).transactionHash}async function z(a,t,e){const s=f(m(a.contract),a.chainId),c=T(a,e),n=new N(s.abi).encodeFunctionData("cancelSignature",[[c]]),o=v(),i=E(t.provider,o),u=await M(i,o,n,s,{serverURL:C.relayerUrl});return await o.waitForTransaction(u,1,12e4),u}const F=["function transferFrom(address from, address to, uint256 tokenId)"];async function B(a){const{contractAddress:t,chainId:e,from:s,to:c,tokenId:n,signer:o}=a,i={...f(g.ERC721CollectionV2,e),address:t},u=new N(F).encodeFunctionData("transferFrom",[s,c,n]),d=v(),r=E(o.provider,d),l=await M(r,d,u,i,{serverURL:C.relayerUrl});return await d.waitForTransaction(l,1,12e4),l}async function tt(a){const{contractAddress:t,chainId:e,tokenId:s,to:c,signer:n}=a,o=(await n.getAddress()).toLowerCase();if(C.enabled)try{return await B({contractAddress:t,chainId:e,from:o,to:c,tokenId:s,signer:n})}catch(r){if(r instanceof U&&r.code===D.USER_DENIED)throw r;console.warn("[transferItem] gasless meta-tx failed, falling back to a direct tx:",r)}return await x(n.provider,e),(await(await new p(t,F,n).transferFrom(o,c,s,y(e))).wait()).transactionHash}async function at(a){const{trade:t,signer:e}=a,s=(await e.getAddress()).toLowerCase();if(C.enabled)try{return await z(t,e,s)}catch(d){if(d instanceof U&&d.code===D.USER_DENIED)throw d;console.warn("[cancelListing] gasless meta-tx failed, falling back to a direct tx:",d)}await x(e.provider,t.chainId);const c=f(m(t.contract),t.chainId),n=T(t,s);return(await(await new p(c.address,c.abi,e).cancelSignature([n],y(t.chainId))).wait()).transactionHash}async function et(a){const{trade:t,buyer:e,signer:s,credits:c,onBroadcast:n,onReverted:o}=a;if(c.length===0)throw new Error("No credits to spend");const i=f(m(t.contract),t.chainId),u=a.maxCreditedValue??await O(t),d=A(i.address,i.abi,[t],e,c,u);try{return await H(t.chainId,d,s,r=>n==null?void 0:n({txHash:r}))}catch(r){throw V(r)&&(o==null||o({txHash:j(r)})),r}}function V(a){var t;return((t=L(a))==null?void 0:t.status)===0}function j(a){var t;return((t=L(a))==null?void 0:t.transactionHash)??null}function L(a){return a==null?void 0:a.receipt}async function rt(a){const{buyer:t,signer:e,onSigned:s,onBroadcast:c,onSettled:n,onReverted:o}=a,i=R(a.purchases);if(i.length===0)throw new Error("No items to buy");const u=G(i),d=[];for(const r of u){const l=r.purchases.flatMap(h=>h.credits),b=J(r.purchases),P=r.kind==="store"?_(f(g.CollectionStore,r.chainId).address,f(g.CollectionStore,r.chainId).abi,r.purchases.map(h=>h.item),t,l,b):A(f(m(r.marketplace),r.chainId).address,f(m(r.marketplace),r.chainId).abi,r.purchases.map(h=>h.trade),t,l,b),I=l.map(h=>h.id);let k;try{k=await H(r.chainId,P,e,h=>{s==null||s(d.length+1,u.length),c==null||c({txHash:h,salts:I})})}catch(h){throw V(h)&&(o==null||o({salts:I})),h}d.push(k),n==null||n({txHash:k,salts:I})}return d}export{et as a,rt as b,at as c,G as g,H as s,tt as t};
|
|
@@ -1,427 +0,0 @@
|
|
|
1
|
-
import{j as e,r as $}from"./react-DehiWSvs.js";import{s as t,I as R,t as j,a9 as M,e as d}from"./index-9_8O7Lhc.js";const G=t(R)`
|
|
2
|
-
transition: transform 0.15s ease;
|
|
3
|
-
|
|
4
|
-
&[data-up='true'] {
|
|
5
|
-
transform: rotate(180deg);
|
|
6
|
-
}
|
|
7
|
-
`;function A({up:p=!1,...x}){return e.jsx(G,{name:"chevron-down","data-up":p||void 0,...x})}const{colors:S,font:I}=j,D=t.div`
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
gap: 2px;
|
|
11
|
-
|
|
12
|
-
&[data-flat] {
|
|
13
|
-
background: none;
|
|
14
|
-
padding: 0;
|
|
15
|
-
width: auto;
|
|
16
|
-
}
|
|
17
|
-
&[data-flat] [data-cat]:hover,
|
|
18
|
-
&[data-flat] [data-sub]:hover {
|
|
19
|
-
background: rgba(0, 0, 0, 0.04);
|
|
20
|
-
}
|
|
21
|
-
&[data-flat] [data-cat][data-selected],
|
|
22
|
-
&[data-flat] [data-sub][data-active] {
|
|
23
|
-
background: #ececec;
|
|
24
|
-
}
|
|
25
|
-
`,H=t.div`
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
gap: 2px;
|
|
29
|
-
`,N=t.div`
|
|
30
|
-
display: grid;
|
|
31
|
-
grid-template-rows: 0fr;
|
|
32
|
-
transition: grid-template-rows 0.22s ease;
|
|
33
|
-
|
|
34
|
-
&[data-open] {
|
|
35
|
-
grid-template-rows: 1fr;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@media (prefers-reduced-motion: reduce) {
|
|
39
|
-
transition: none;
|
|
40
|
-
}
|
|
41
|
-
`,U=t.div`
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
min-height: 0;
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
gap: 2px;
|
|
47
|
-
`,_=M`
|
|
48
|
-
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
|
-
justify-content: space-between;
|
|
51
|
-
gap: 8px;
|
|
52
|
-
height: 40px;
|
|
53
|
-
padding: 4px 8px;
|
|
54
|
-
border: 0;
|
|
55
|
-
border-radius: 8px;
|
|
56
|
-
background: none;
|
|
57
|
-
width: 100%;
|
|
58
|
-
text-align: left;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
|
|
61
|
-
&:hover {
|
|
62
|
-
background: #f5f4f7;
|
|
63
|
-
}
|
|
64
|
-
`,L=t.button`
|
|
65
|
-
${_};
|
|
66
|
-
|
|
67
|
-
&[data-selected],
|
|
68
|
-
&[data-expanded] {
|
|
69
|
-
background: ${S.media};
|
|
70
|
-
}
|
|
71
|
-
`,T=t.button`
|
|
72
|
-
${_};
|
|
73
|
-
padding-left: 24px;
|
|
74
|
-
|
|
75
|
-
&[data-active] {
|
|
76
|
-
background: ${S.rarityBg};
|
|
77
|
-
}
|
|
78
|
-
&[data-active] [data-sub-label] {
|
|
79
|
-
color: ${S.rarity};
|
|
80
|
-
font-weight: 600;
|
|
81
|
-
}
|
|
82
|
-
`,O=t.span`
|
|
83
|
-
font-family: ${I.sans};
|
|
84
|
-
font-weight: 600;
|
|
85
|
-
font-size: 14px;
|
|
86
|
-
line-height: 1.57;
|
|
87
|
-
color: ${S.text};
|
|
88
|
-
`,Q=t.span`
|
|
89
|
-
display: flex;
|
|
90
|
-
align-items: center;
|
|
91
|
-
gap: 8px;
|
|
92
|
-
min-width: 0;
|
|
93
|
-
`,q=t(R)`
|
|
94
|
-
width: 24px;
|
|
95
|
-
height: 24px;
|
|
96
|
-
color: ${S.gray0};
|
|
97
|
-
`,J=t.span`
|
|
98
|
-
font-family: ${I.sans};
|
|
99
|
-
font-weight: 400;
|
|
100
|
-
font-size: 14px;
|
|
101
|
-
line-height: 1.5;
|
|
102
|
-
color: ${S.gray0};
|
|
103
|
-
`,V=t.p`
|
|
104
|
-
font-family: ${I.sans};
|
|
105
|
-
font-weight: 600;
|
|
106
|
-
font-size: 13px;
|
|
107
|
-
letter-spacing: 0.08em;
|
|
108
|
-
text-transform: uppercase;
|
|
109
|
-
color: #6a6a6a;
|
|
110
|
-
margin: 0 0 4px;
|
|
111
|
-
padding: 8px 16px 0;
|
|
112
|
-
`,X=[{key:"all",labelKey:"categories.shopAll"},{key:"wearable",labelKey:"categories.wearables",expandable:!0,subs:[{key:"Head",labelKey:"categories.head",icon:"cat-head"},{key:"Upper Body",labelKey:"categories.upperBody",icon:"cat-upper"},{key:"Handwear",labelKey:"categories.handwear",icon:"cat-handwear"},{key:"Lower Body",labelKey:"categories.lowerBody",icon:"cat-lower"},{key:"Feet",labelKey:"categories.feet",icon:"cat-feet"},{key:"Accessories",labelKey:"categories.accessories",icon:"cat-accessories"},{key:"Skins",labelKey:"categories.skins",icon:"cat-skins"}]},{key:"emote",labelKey:"categories.emotes",expandable:!0,subs:[{key:"Dance",labelKey:"categories.dance",icon:"emote-dance"},{key:"Stunt",labelKey:"categories.stunt",icon:"emote-stunt"},{key:"Greetings",labelKey:"categories.greetings",icon:"emote-greetings"},{key:"Fun",labelKey:"categories.fun",icon:"emote-fun"},{key:"Poses",labelKey:"categories.poses",icon:"emote-poses"},{key:"Reactions",labelKey:"categories.reactions",icon:"emote-reactions"},{key:"Horror",labelKey:"categories.horror",icon:"emote-horror"},{key:"Miscellaneous",labelKey:"categories.miscellaneous",icon:"emote-misc"}]},{key:"names",labelKey:"categories.names"}];function Be({category:p,subCategory:x,onCategory:b,onSub:y,title:g,flat:m=!1,collections:u=!1,onCollections:w,hideAll:f=!1,extraLabelKey:s="categories.collections"}){const[v,B]=$.useState(()=>p==="wearable"?"wearable":null);function E(o){o.subs?B(l=>{const c=l!==o.key;return c&&b(o.key),c?o.key:null}):(b(o.key),B(null))}return e.jsxs(D,{"data-flat":m||void 0,children:[g?e.jsx(V,{children:g}):null,X.filter(o=>!(f&&o.key==="all")).map(o=>{const l=v===o.key&&!!o.subs,c=!u&&o.key===p;return e.jsxs(H,{children:[e.jsxs(L,{type:"button","data-cat":!0,"data-expanded":l||void 0,"data-selected":c||void 0,onClick:()=>E(o),children:[e.jsx(O,{children:d(o.labelKey)}),o.expandable?e.jsx(A,{up:l,size:24,color:j.colors.text}):null]}),o.subs?e.jsx(N,{"data-open":l||void 0,children:e.jsx(U,{children:o.subs.map(i=>e.jsx(T,{type:"button","data-sub":!0,"data-active":x===i.key||void 0,onClick:()=>y(x===i.key?null:i.key),children:e.jsxs(Q,{children:[e.jsx(q,{name:i.icon,"aria-hidden":!0}),e.jsx(J,{"data-sub-label":!0,children:d(i.labelKey)})]})},i.key))})}):null]},o.key)}),w?e.jsx(H,{children:e.jsx(L,{type:"button","data-cat":!0,"data-selected":u||void 0,onClick:w,children:e.jsx(O,{children:d(s)})})}):null]})}const{colors:k,radius:W}=j,Y=t.div`
|
|
113
|
-
position: relative;
|
|
114
|
-
display: inline-block;
|
|
115
|
-
`,Z=t.button`
|
|
116
|
-
display: inline-flex;
|
|
117
|
-
align-items: center;
|
|
118
|
-
justify-content: space-between;
|
|
119
|
-
gap: 24px;
|
|
120
|
-
padding: 4px 4px 4px 12px;
|
|
121
|
-
background: ${k.softWhite};
|
|
122
|
-
border: 1px solid ${k.text2};
|
|
123
|
-
border-radius: ${W.btn};
|
|
124
|
-
color: ${k.text2};
|
|
125
|
-
font-weight: 600;
|
|
126
|
-
font-size: 12px;
|
|
127
|
-
line-height: 1.43;
|
|
128
|
-
text-transform: uppercase;
|
|
129
|
-
white-space: nowrap;
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
transition: border-color 0.15s ease;
|
|
132
|
-
|
|
133
|
-
&:hover {
|
|
134
|
-
border-color: #000;
|
|
135
|
-
}
|
|
136
|
-
&:focus-visible {
|
|
137
|
-
outline: 0;
|
|
138
|
-
border-color: ${k.accent};
|
|
139
|
-
}
|
|
140
|
-
`,ee=t.span`
|
|
141
|
-
overflow: hidden;
|
|
142
|
-
text-overflow: ellipsis;
|
|
143
|
-
`,te=t.ul`
|
|
144
|
-
position: absolute;
|
|
145
|
-
top: calc(100% + 8px);
|
|
146
|
-
z-index: 40;
|
|
147
|
-
min-width: 174px;
|
|
148
|
-
list-style: none;
|
|
149
|
-
margin: 0;
|
|
150
|
-
padding: 0;
|
|
151
|
-
overflow: hidden;
|
|
152
|
-
background: ${k.white};
|
|
153
|
-
border-radius: ${W.btn};
|
|
154
|
-
box-shadow: 0 4px 25px 5px rgba(0, 0, 0, 0.25);
|
|
155
|
-
animation: cart-pop-in 0.16s ease;
|
|
156
|
-
|
|
157
|
-
&[data-align='left'] {
|
|
158
|
-
left: 0;
|
|
159
|
-
}
|
|
160
|
-
&[data-align='right'] {
|
|
161
|
-
right: 0;
|
|
162
|
-
}
|
|
163
|
-
`,oe=t.button`
|
|
164
|
-
display: flex;
|
|
165
|
-
align-items: center;
|
|
166
|
-
width: 100%;
|
|
167
|
-
height: 40px;
|
|
168
|
-
text-align: left;
|
|
169
|
-
background: ${k.white};
|
|
170
|
-
border: 0;
|
|
171
|
-
padding: 4px 4px 4px 8px;
|
|
172
|
-
font-weight: 400;
|
|
173
|
-
font-size: 14px;
|
|
174
|
-
line-height: 1.43;
|
|
175
|
-
color: ${k.gray0};
|
|
176
|
-
white-space: nowrap;
|
|
177
|
-
cursor: pointer;
|
|
178
|
-
|
|
179
|
-
&:hover {
|
|
180
|
-
background: #f5f4f7;
|
|
181
|
-
}
|
|
182
|
-
&[data-active] {
|
|
183
|
-
background: ${k.media};
|
|
184
|
-
}
|
|
185
|
-
`;function ne({options:p,value:x,onChange:b,label:y,placeholder:g,align:m="left",className:u="",ariaLabel:w,open:f,onOpenChange:s}){const[v,B]=$.useState(!1),o=f!==void 0?f:v,l=$.useRef(null),c=$.useRef(s);c.current=s;const i=$.useCallback(r=>{var n;f!==void 0?(n=c.current)==null||n.call(c,r):B(r)},[f]),K=p.find(r=>r.value===x),h=y??(K==null?void 0:K.label)??g;return $.useEffect(()=>{if(!o)return;function r(C){l.current&&!l.current.contains(C.target)&&i(!1)}function n(C){C.key==="Escape"&&i(!1)}return document.addEventListener("pointerdown",r),document.addEventListener("keydown",n),()=>{document.removeEventListener("pointerdown",r),document.removeEventListener("keydown",n)}},[o,i]),e.jsxs(Y,{className:u||void 0,ref:l,children:[e.jsxs(Z,{type:"button","data-dropdown-trigger":!0,"data-open":o||void 0,"aria-haspopup":"listbox","aria-expanded":o,"aria-label":w,onClick:()=>i(!o),children:[e.jsx(ee,{children:h}),e.jsx(A,{up:o,size:24,color:j.colors.text2})]}),o?e.jsx(te,{"data-align":m,role:"listbox",children:p.map(r=>e.jsx("li",{role:"none",children:e.jsx(oe,{type:"button",role:"option","aria-selected":r.value===x,"data-active":r.value===x||void 0,onClick:()=>{b(r.value),i(!1)},children:r.label})},r.value))}):null]})}const{colors:z}=j,ae=t.div`
|
|
186
|
-
position: absolute;
|
|
187
|
-
top: calc(100% + 8px);
|
|
188
|
-
left: 0;
|
|
189
|
-
z-index: 36;
|
|
190
|
-
background: ${z.white};
|
|
191
|
-
border: 1px solid ${z.line};
|
|
192
|
-
border-radius: 12px;
|
|
193
|
-
box-shadow: 0 12px 32px rgba(22, 21, 24, 0.12);
|
|
194
|
-
padding: 8px;
|
|
195
|
-
animation: cart-pop-in 0.16s ease;
|
|
196
|
-
|
|
197
|
-
&[data-variant='rarity'] {
|
|
198
|
-
display: grid;
|
|
199
|
-
grid-template-columns: 1fr 1fr;
|
|
200
|
-
gap: 2px;
|
|
201
|
-
min-width: 250px;
|
|
202
|
-
}
|
|
203
|
-
&[data-variant='price'] {
|
|
204
|
-
min-width: 240px;
|
|
205
|
-
padding: 12px;
|
|
206
|
-
}
|
|
207
|
-
`,ie=t.label`
|
|
208
|
-
display: flex;
|
|
209
|
-
align-items: center;
|
|
210
|
-
gap: 8px;
|
|
211
|
-
padding: 8px 10px;
|
|
212
|
-
border-radius: 8px;
|
|
213
|
-
font-size: 14px;
|
|
214
|
-
text-transform: capitalize;
|
|
215
|
-
cursor: pointer;
|
|
216
|
-
|
|
217
|
-
&:hover {
|
|
218
|
-
background: #f5f4f7;
|
|
219
|
-
}
|
|
220
|
-
& input {
|
|
221
|
-
accent-color: ${z.accent};
|
|
222
|
-
width: 15px;
|
|
223
|
-
height: 15px;
|
|
224
|
-
}
|
|
225
|
-
`,Ke=t.div`
|
|
226
|
-
display: flex;
|
|
227
|
-
align-items: center;
|
|
228
|
-
gap: 8px;
|
|
229
|
-
|
|
230
|
-
& input {
|
|
231
|
-
width: 100%;
|
|
232
|
-
border: 1px solid ${z.lineStrong};
|
|
233
|
-
border-radius: 10px;
|
|
234
|
-
padding: 8px 10px;
|
|
235
|
-
font-size: 14px;
|
|
236
|
-
}
|
|
237
|
-
& input:focus {
|
|
238
|
-
outline: 0;
|
|
239
|
-
border-color: ${z.accent};
|
|
240
|
-
}
|
|
241
|
-
& input::-webkit-outer-spin-button,
|
|
242
|
-
& input::-webkit-inner-spin-button {
|
|
243
|
-
-webkit-appearance: none;
|
|
244
|
-
margin: 0;
|
|
245
|
-
}
|
|
246
|
-
`,Se=t.p`
|
|
247
|
-
margin: 8px 2px 0;
|
|
248
|
-
color: ${z.muted};
|
|
249
|
-
font-size: 12px;
|
|
250
|
-
`,{colors:a,media:F,radius:re}=j,se=t.div`
|
|
251
|
-
display: flex;
|
|
252
|
-
flex-wrap: wrap;
|
|
253
|
-
align-items: center;
|
|
254
|
-
gap: 8px 12px;
|
|
255
|
-
margin-bottom: 20px;
|
|
256
|
-
`,le=t.span`
|
|
257
|
-
order: 1;
|
|
258
|
-
color: ${a.muted};
|
|
259
|
-
font-weight: 400;
|
|
260
|
-
font-size: 14px;
|
|
261
|
-
line-height: 1.43;
|
|
262
|
-
white-space: nowrap;
|
|
263
|
-
|
|
264
|
-
${F.maxWidth("lg")} {
|
|
265
|
-
font-size: 12px;
|
|
266
|
-
line-height: 1;
|
|
267
|
-
}
|
|
268
|
-
`,ce=t.div`
|
|
269
|
-
order: 2;
|
|
270
|
-
display: flex;
|
|
271
|
-
flex-wrap: wrap;
|
|
272
|
-
align-items: center;
|
|
273
|
-
gap: 8px;
|
|
274
|
-
|
|
275
|
-
${F.maxWidth("lg")} {
|
|
276
|
-
order: 3;
|
|
277
|
-
flex-basis: 100%;
|
|
278
|
-
gap: 4px;
|
|
279
|
-
}
|
|
280
|
-
`,de=t.button`
|
|
281
|
-
display: inline-flex;
|
|
282
|
-
align-items: center;
|
|
283
|
-
gap: 4px;
|
|
284
|
-
padding: 2px 4px 2px 8px;
|
|
285
|
-
border: 0;
|
|
286
|
-
border-radius: ${re.pill};
|
|
287
|
-
background: ${a.gray0};
|
|
288
|
-
color: ${a.white};
|
|
289
|
-
font-weight: 400;
|
|
290
|
-
font-size: 12px;
|
|
291
|
-
line-height: 1.43;
|
|
292
|
-
white-space: nowrap;
|
|
293
|
-
cursor: pointer;
|
|
294
|
-
|
|
295
|
-
${F.maxWidth("lg")} {
|
|
296
|
-
font-size: 10px;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
&:hover {
|
|
300
|
-
background: ${a.text};
|
|
301
|
-
}
|
|
302
|
-
&:focus-visible {
|
|
303
|
-
outline: 2px solid ${a.accent};
|
|
304
|
-
outline-offset: 2px;
|
|
305
|
-
}
|
|
306
|
-
`,pe=t(R)`
|
|
307
|
-
width: 14px;
|
|
308
|
-
height: 14px;
|
|
309
|
-
color: ${a.white};
|
|
310
|
-
`,P=t.button`
|
|
311
|
-
padding: 0 4px;
|
|
312
|
-
background: none;
|
|
313
|
-
border: 0;
|
|
314
|
-
color: ${a.text2};
|
|
315
|
-
font-weight: 500;
|
|
316
|
-
font-size: 12px;
|
|
317
|
-
line-height: 1.43;
|
|
318
|
-
text-decoration: underline;
|
|
319
|
-
white-space: nowrap;
|
|
320
|
-
cursor: pointer;
|
|
321
|
-
|
|
322
|
-
&:focus-visible {
|
|
323
|
-
outline: 2px solid ${a.accent};
|
|
324
|
-
outline-offset: 2px;
|
|
325
|
-
}
|
|
326
|
-
`,xe=t.div`
|
|
327
|
-
order: 4;
|
|
328
|
-
display: flex;
|
|
329
|
-
align-items: center;
|
|
330
|
-
gap: 8px;
|
|
331
|
-
margin-left: auto;
|
|
332
|
-
|
|
333
|
-
${F.maxWidth("lg")} {
|
|
334
|
-
/* Keep the count + Sort/Filters pills on the first row; chips (order 3) wrap below. */
|
|
335
|
-
order: 2;
|
|
336
|
-
|
|
337
|
-
/* On mobile the Sort By dropdown is a pill matching the Filters pill (Figma 1304-310201): fully
|
|
338
|
-
rounded, 0.5px gray-3 hairline, title-case (not the desktop uppercase), same 28px height. */
|
|
339
|
-
& [data-dropdown-trigger] {
|
|
340
|
-
height: 28px;
|
|
341
|
-
padding: 4px 4px 4px 12px;
|
|
342
|
-
border-radius: 32px;
|
|
343
|
-
border-width: 0.5px;
|
|
344
|
-
font-weight: 500;
|
|
345
|
-
text-transform: none;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
`,ue=t.button`
|
|
349
|
-
display: inline-flex;
|
|
350
|
-
align-items: center;
|
|
351
|
-
gap: 4px;
|
|
352
|
-
height: 28px;
|
|
353
|
-
padding: 4px 8px 4px 12px;
|
|
354
|
-
background: ${a.white};
|
|
355
|
-
border: 0.5px solid ${a.muted2};
|
|
356
|
-
border-radius: 32px;
|
|
357
|
-
color: ${a.text2};
|
|
358
|
-
font-weight: 500;
|
|
359
|
-
font-size: 12px;
|
|
360
|
-
line-height: 1.43;
|
|
361
|
-
white-space: nowrap;
|
|
362
|
-
cursor: pointer;
|
|
363
|
-
|
|
364
|
-
${F.minWidth("lg")} {
|
|
365
|
-
display: none;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
&:hover {
|
|
369
|
-
background: ${a.chip};
|
|
370
|
-
}
|
|
371
|
-
&:focus-visible {
|
|
372
|
-
outline: 2px solid ${a.accent};
|
|
373
|
-
outline-offset: 2px;
|
|
374
|
-
}
|
|
375
|
-
`,he=t(R)`
|
|
376
|
-
width: 20px;
|
|
377
|
-
height: 20px;
|
|
378
|
-
color: ${a.text2};
|
|
379
|
-
`,ge=t.div`
|
|
380
|
-
order: 2;
|
|
381
|
-
display: flex;
|
|
382
|
-
align-items: center;
|
|
383
|
-
gap: 8px;
|
|
384
|
-
`,fe=t.div`
|
|
385
|
-
position: relative;
|
|
386
|
-
`,be=t.button`
|
|
387
|
-
display: inline-flex;
|
|
388
|
-
align-items: center;
|
|
389
|
-
gap: 6px;
|
|
390
|
-
background: none;
|
|
391
|
-
border: 0;
|
|
392
|
-
padding: 8px 10px;
|
|
393
|
-
border-radius: 8px;
|
|
394
|
-
color: #6b6873;
|
|
395
|
-
font-weight: 600;
|
|
396
|
-
font-size: 14px;
|
|
397
|
-
white-space: nowrap;
|
|
398
|
-
cursor: pointer;
|
|
399
|
-
|
|
400
|
-
&:hover {
|
|
401
|
-
background: #f5f4f7;
|
|
402
|
-
color: #3f3c47;
|
|
403
|
-
}
|
|
404
|
-
&[data-open],
|
|
405
|
-
&[data-active] {
|
|
406
|
-
color: #3f3c47;
|
|
407
|
-
}
|
|
408
|
-
&:focus-visible {
|
|
409
|
-
outline: 2px solid ${a.accent};
|
|
410
|
-
outline-offset: 2px;
|
|
411
|
-
}
|
|
412
|
-
`,ye=t.span`
|
|
413
|
-
display: inline-grid;
|
|
414
|
-
place-items: center;
|
|
415
|
-
min-width: 18px;
|
|
416
|
-
height: 18px;
|
|
417
|
-
padding: 0 5px;
|
|
418
|
-
border-radius: 999px;
|
|
419
|
-
background: ${a.accent};
|
|
420
|
-
color: ${a.white};
|
|
421
|
-
font-size: 11px;
|
|
422
|
-
font-weight: 700;
|
|
423
|
-
`,me=t.div`
|
|
424
|
-
position: fixed;
|
|
425
|
-
inset: 0;
|
|
426
|
-
z-index: 34;
|
|
427
|
-
`,we=["common","uncommon","epic","rare","legendary","exotic","mythic","unique"],ke=[{key:"newest",label:"filterBar.sortNewest",server:"newest"},{key:"price-asc",label:"filterBar.sortCheapest",server:"cheapest"},{key:"price-desc",label:"filterBar.sortMostExpensive",server:"most_expensive"},{key:"name",label:"filterBar.sortName",server:"name"}];function ve({panelKey:p,label:x,active:b,badge:y,panel:g,children:m}){const u=g.open===p;return e.jsxs(fe,{children:[e.jsxs(be,{type:"button","data-open":u||void 0,"data-active":b||void 0,onClick:()=>g.toggle(p),children:[x," ",y?e.jsx(ye,{children:y}):null," ",e.jsx(A,{up:u,size:24,color:j.colors.text2})]}),u?m:null]})}function ze({sort:p,onSort:x,sortOptions:b=ke,total:y,loading:g,query:m,onOpenFilters:u,chips:w,onClearChips:f,rarities:s,onToggleRarity:v,rarityOptions:B=we,anyActive:E,onClear:o,renderLeading:l,renderTrailing:c}){const[i,K]=$.useState(null),h={open:i,toggle:n=>K(C=>C===n?null:n),close:()=>K(null)},r=!!v||!!l||!!c;return e.jsxs(e.Fragment,{children:[i?e.jsx(me,{onClick:h.close,"aria-hidden":!0}):null,e.jsxs(se,{"data-testid":"browse-toolbar",children:[e.jsxs(le,{"data-testid":"browse-count",children:[g?"…":d("filterBar.count",{count:y}),m?` ${d("filterBar.forQuery",{query:m})}`:""]}),w&&w.length?e.jsxs(ce,{"data-testid":"filter-chips",children:[w.map(n=>e.jsxs(de,{type:"button",onClick:n.onRemove,"aria-label":d("filterBar.removeFilter",{filter:n.label}),children:[e.jsx("span",{children:n.label}),e.jsx(pe,{name:"close","aria-hidden":!0})]},n.key)),f?e.jsx(P,{type:"button",onClick:f,children:d("filterBar.clearAll")}):null]}):null,r?e.jsxs(ge,{children:[l==null?void 0:l(h),v?e.jsx(ve,{panelKey:"rarity",label:d("filterBar.rarity"),active:((s==null?void 0:s.length)??0)>0,badge:(s==null?void 0:s.length)||void 0,panel:h,children:e.jsx(ae,{"data-variant":"rarity",children:B.map(n=>e.jsxs(ie,{children:[e.jsx("input",{type:"checkbox",checked:(s==null?void 0:s.includes(n))??!1,onChange:()=>v(n)}),e.jsx("span",{children:n})]},n))})}):null,c==null?void 0:c(h),E?e.jsx(P,{type:"button",onClick:()=>{o==null||o(),h.close()},children:d("filterBar.clearAll")}):null]}):null,e.jsxs(xe,{children:[e.jsx(ne,{label:d("filterBar.sortBy"),ariaLabel:d("filterBar.sortBy"),value:p,options:b.map(n=>({value:n.key,label:d(n.label)})),onChange:x,align:"right",open:h.open==="sort",onOpenChange:n=>n?h.toggle("sort"):h.close()}),u?e.jsxs(ue,{type:"button",onClick:u,children:[d("filterBar.filters"),e.jsx(he,{name:"filter","aria-hidden":!0})]}):null]})]})]})}const Ce={Head:["head","hat","hair","facial_hair","eyes","eyebrows","mouth","mask","helmet","tiara","top_head"],"Upper Body":["upper_body"],Handwear:["hands_wear"],"Lower Body":["lower_body"],Feet:["feet"],Accessories:["earring","eyewear"],Skins:["skin"],Dance:["dance"],Stunt:["stunt"],Greetings:["greetings"],Fun:["fun"],Poses:["poses"],Reactions:["reactions"],Horror:["horror"],Miscellaneous:["miscellaneous"]};export{Be as C,ze as F,Se as H,ae as P,we as R,ke as S,X as a,A as b,ve as c,Ke as d,Ce as e};
|
|
Binary file
|