@dcl/shop 0.1.0-29819311586.commit-3ce85a5 → 0.1.0-29820201061.commit-6e93aab
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/{AnimatedBackground-C6HDued7.js → AnimatedBackground-DAWtZAKT.js} +3 -3
- package/assets/{Assets-7uXLSoNw.js → Assets-BfwpVa8T.js} +1 -1
- package/assets/Cart-BMcaDkFj.js +3 -0
- package/assets/{Cart-C75800mc.css → Cart-BU0ex2lY.css} +1 -1
- package/assets/{CircularProgress-hz1p9NKk.js → CircularProgress-DbOPAlwJ.js} +1 -1
- package/assets/{Collection-DRmm6o7-.js → Collection-D9pgNA_k.js} +1 -1
- package/assets/{CollectionCarousel-FF2VKnCi.css → CollectionCarousel-BRpR9AB4.css} +1 -1
- package/assets/{CollectionCarousel-Do5ix6VD.js → CollectionCarousel-Bv4JmxDk.js} +1 -1
- package/assets/{Creator-CwCVOEmJ.js → Creator-BUh9bTpd.js} +1 -1
- package/assets/{CssVarsProvider-C7DqQE-t.js → CssVarsProvider-w2c1yhxv.js} +1 -1
- package/assets/{ExchangeController-Zq_jjUSk.js → ExchangeController-SpKxAxin.js} +1 -1
- package/assets/{GetCredits-C-iII2L9.js → GetCredits-N_TH5qjR.js} +1 -1
- package/assets/{HelpersUtil-eRiM9Nak.js → HelpersUtil-Dk0fX2VO.js} +1 -1
- package/assets/{ImportListings-Bgk2Mmaj.js → ImportListings-DeGUWpef.js} +1 -1
- package/assets/ItemDetail-oeRcJNYq.js +29 -0
- package/assets/{LoadMore-CS8RGFW1.js → LoadMore-CG-U1l6R.js} +1 -1
- package/assets/{MarketCheckout-XY4qv1OO.js → MarketCheckout-ok-4xTbs.js} +1 -1
- package/assets/{MyAssets-C8b7YCwJ.js → MyAssets-CvtYfSpu.js} +1 -1
- package/assets/{MyFavorites-BYEWRbKE.js → MyFavorites-Dd22LHHj.js} +1 -1
- package/assets/{MyPurchases-wqVy_Bkw.js → MyPurchases-V1RhxGky.js} +1 -1
- package/assets/{NotFound-D4BypoGj.js → NotFound-DiPtPjNv.js} +1 -1
- package/assets/{StoreSettings-D9EJPHZI.js → StoreSettings-DnT3y2OO.js} +1 -1
- package/assets/{Success-ZazAxkkG.js → Success-Cty_2pyi.js} +1 -1
- package/assets/{SwapController-BjW71vDF.js → SwapController-DaN0jm-H.js} +1 -1
- package/assets/{TradeService-DKtrXol_.js → TradeService-BvnZvZgd.js} +1 -1
- package/assets/{W3MFrameProviderSingleton-B7VYZoUb.js → W3MFrameProviderSingleton-0X-5xnm-.js} +3 -3
- package/assets/{WebCryptoP256-pJWLp366.js → WebCryptoP256-CTN3luLA.js} +1 -1
- package/assets/{basic-T4VH8T7G.js → basic-QSXc4V2D.js} +1 -1
- package/assets/{biconomy-PGFwwGtI.js → biconomy-CqIIitTh.js} +1 -1
- package/assets/{buy-CEPUtw6l.js → buy-BB1nNoHF.js} +1 -1
- package/assets/{buy-gasless-DFUBpeub.js → buy-gasless-Dk-vGVaA.js} +1 -1
- package/assets/cart-checkout-Dq_IfS2V.js +1 -0
- package/assets/{categories-CzHfYX4r.js → categories-B5rMzFhG.js} +1 -1
- package/assets/{ccip-D39Yw1id.js → ccip-CwgUOIwr.js} +1 -1
- package/assets/{ccip-CysEx_-e.js → ccip-DgWVV-Cq.js} +1 -1
- package/assets/{collection-ZVT8nPpy.js → collection-Cx_FbJvw.js} +1 -1
- package/assets/{controller-BjiC4vCa.js → controller-C-XHoEvy.js} +2 -2
- package/assets/{core-Bbl8k9ou.js → core-CfiWie_R.js} +4 -4
- package/assets/{custom-BjXRzXnf.js → custom-DKVEEouT.js} +1 -1
- package/assets/{data-capture-CPbUe_Mu.js → data-capture-DRU0RrJn.js} +1 -1
- package/assets/{decimals-dZROqPVx.js → decimals-ClpY8V96.js} +1 -1
- package/assets/{decimals-COagLS8Q.js → decimals-DonBY3ph.js} +1 -1
- package/assets/{detectExtension-BXF9RLPM.js → detectExtension-B_mnipYI.js} +1 -1
- package/assets/{email-BdCU2aT5.js → email-Du5ktVIv.js} +1 -1
- package/assets/{embedded-wallet-DeV-AfMB.js → embedded-wallet-D8702brY.js} +1 -1
- package/assets/{emotion-styled.browser.esm-DsmsDcnn.js → emotion-styled.browser.esm-D4okznSw.js} +1 -1
- package/assets/{engine-Dyy7i-EK.js → engine-CjhboEJw.js} +1 -1
- package/assets/{errors-toZUiz_8.js → errors-DLCfzexO.js} +1 -1
- package/assets/{estimate-l1-fee-BnAfP2IW.js → estimate-l1-fee-D65JAyU_.js} +1 -1
- package/assets/{eth_estimateGas-Dk2BHGEx.js → eth_estimateGas-Dx8A0rQf.js} +1 -1
- package/assets/{eth_getStorageAt-LWy_aLD2.js → eth_getStorageAt-Dn97nH7-.js} +1 -1
- package/assets/{eth_getTransactionCount-CQEhUg0n.js → eth_getTransactionCount-BsbZubbz.js} +1 -1
- package/assets/{extractIPFS-BjekE5Dx.js → extractIPFS-3p5_lVI2.js} +1 -1
- package/assets/{features-BUOntu-v.js → features-CEnnVGh1.js} +1 -1
- package/assets/{fetchTokenMetadata-CvhQV09t.js → fetchTokenMetadata-BBl6hFMA.js} +2 -2
- package/assets/{get-ecosystem-wallet-info-CHjCFyrH.js → get-ecosystem-wallet-info-DJRhUKR8.js} +1 -1
- package/assets/{getBalance-B9mjM7Q1.js → getBalance-BjOc81GX.js} +1 -1
- package/assets/{getInstalledModules-Dokr0wx4.js → getInstalledModules-B5lc4vdM.js} +1 -1
- package/assets/{getNFT-CBnBQM9G.js → getNFT-CL_MHRMI.js} +2 -2
- package/assets/{getNFT-DZMkxOcW.js → getNFT-DzSkkUED.js} +1 -1
- package/assets/{getOverlayAlpha-CRsCtRg_.js → getOverlayAlpha-CMi-RtY0.js} +1 -1
- package/assets/{hashTypedData-BSaySpON.js → hashTypedData-CtS-a__q.js} +1 -1
- package/assets/{hashTypedData-CrkyuxIw.js → hashTypedData-DgGGaq3_.js} +1 -1
- package/assets/{import-BJhskE6v.js → import-dApKnRUE.js} +1 -1
- package/assets/{in-app-wallet-calls-cZgP0Nkb.js → in-app-wallet-calls-DXDKPfo-.js} +1 -1
- package/assets/{index-GthN7FEd.js → index-1iy3MjeD.js} +1 -1
- package/assets/{index-0MtqGpF_.js → index-9RhtGjkQ.js} +1 -1
- package/assets/{index-CNuVc9dE.js → index-9TPYgQJV.js} +1 -1
- package/assets/{index-D4wZsAhr.js → index-AXY2OKOi.js} +1 -1
- package/assets/{index-DJHCemxt.js → index-B0dfVx8-.js} +1 -1
- package/assets/{index-DZRRiKcW.js → index-BEP5YEOP.js} +1 -1
- package/assets/{index-D-jlJbT0.js → index-BKHArmb8.js} +1 -1
- package/assets/{index-CaWVq5F1.js → index-BTrFeJpK.js} +1 -1
- package/assets/{index-02y48U_Y.js → index-BZrziql9.js} +1 -1
- package/assets/{index-Bocj8EP1.js → index-B_gop-2P.js} +2 -2
- package/assets/index-BbQ0ahsR.css +1 -0
- package/assets/{index-FilzlBF3.js → index-Bdviiw0D.js} +1 -1
- package/assets/{index-C6soE2Qj.js → index-BeeqvCzC.js} +1 -1
- package/assets/{index-g3oU79Zi.js → index-BfjvLXhz.js} +1 -1
- package/assets/{index-DWk32FEl.js → index-Bi5nB_Xd.js} +1 -1
- package/assets/{index-CVXefuAq.js → index-BtHD2PwE.js} +1 -1
- package/assets/{index-DL5oTXPj.js → index-BtWvPi-C.js} +3 -3
- package/assets/{index-CYbVfCP4.js → index-C2ou7t9Z.js} +1 -1
- package/assets/{index-DO5JrBgZ.js → index-CC9ohYjq.js} +1 -1
- package/assets/{index-Bl2L1ibn.js → index-CDOVd3Or.js} +1 -1
- package/assets/{index-kb4PCO3h.js → index-CF8dJQWx.js} +2 -2
- package/assets/{index-9ixRbsWW.js → index-COYa4blu.js} +1 -1
- package/assets/{index-CS10YTx8.js → index-CTL73XUb.js} +1 -1
- package/assets/{index-f5Ry7NJF.js → index-CXCPKgIL.js} +1 -1
- package/assets/{index-IcU2Nzi-.js → index-ClOq-XK_.js} +1 -1
- package/assets/{index-Cp_NOfvB.js → index-Cldj-HLd.js} +1 -1
- package/assets/{index-CBJisr2I.js → index-Ct3-b-XG.js} +1 -1
- package/assets/{index-CUs2Ik9f.js → index-D-0UbgZb.js} +1 -1
- package/assets/{index-D_TT1IA_.js → index-D-FlYCrT.js} +1 -1
- package/assets/{index-D2jE21o9.js → index-D2MCniIy.js} +30 -30
- package/assets/{index-BNszBPTr.js → index-D4haZmAC.js} +1 -1
- package/assets/{index-B208UX4c.js → index-D82p0tCN.js} +1 -1
- package/assets/{index-CbQd59c3.js → index-DAotFwIM.js} +1 -1
- package/assets/{index-TnwTqyFy.js → index-DFvNyoxW.js} +1 -1
- package/assets/{index-CdZ89joC.js → index-DNyAB5T9.js} +2 -2
- package/assets/{index-iTvBkd0G.js → index-DQcdNd4L.js} +1 -1
- package/assets/{index-DSJK_i26.js → index-DSMcEg86.js} +1 -1
- package/assets/{index-DS3xrgMW.js → index-DW6hvVBk.js} +1 -1
- package/assets/{index-DpoNV2HN.js → index-Dd1qZUR_.js} +1 -1
- package/assets/{index-Oi6ZR4tM.js → index-Dl878bh3.js} +3 -3
- package/assets/{index-kdbM7BPm.js → index-DvCxAuAV.js} +1 -1
- package/assets/{index-CKy8YgNe.js → index-E3u-0qkh.js} +1 -1
- package/assets/{index-DVNqwg2d.js → index-EpjNSbck.js} +1 -1
- package/assets/{index-D7oaM2vZ.js → index-F3bWVhlW.js} +1 -1
- package/assets/{index-B89Xjz4I.js → index-LsWSCTxf.js} +1 -1
- package/assets/{index-BcGrOhJR.js → index-NmO7Zc6p.js} +1 -1
- package/assets/{index-CiNrKxR0.js → index-Nzz-X3JR.js} +1 -1
- package/assets/{index-D6hOS3tx.js → index-VljTVp5r.js} +1 -1
- package/assets/{index-CkW3JF4B.js → index-kj576VV8.js} +1 -1
- package/assets/{index-DYoplOYj.js → index-m3ikjlZ9.js} +1 -1
- package/assets/{index-CFiqakvv.js → index-mQ3fD2pW.js} +1 -1
- package/assets/{index-CM_3ac_C.js → index-rIXEHCUI.js} +1 -1
- package/assets/{index.es-nxWF9ZiM.js → index.es-BKvDPMdj.js} +4 -4
- package/assets/{index.es-Ch6S2Gk2.js → index.es-D4zORoHW.js} +1 -1
- package/assets/{index.es-axXv0ESL.js → index.es-jAGAALqM.js} +1 -1
- package/assets/{localBatchGatewayRequest-Bs3nE-X-.js → localBatchGatewayRequest-DSTbEhrP.js} +1 -1
- package/assets/{mana-rate-VLUqXwj8.js → mana-rate-8umEj7_T.js} +1 -1
- package/assets/{networks-wkZMvAoy.js → networks-cttqYPBD.js} +1 -1
- package/assets/{onramp-SXq1C0nL.js → onramp-O3BTWx9-.js} +1 -1
- package/assets/{openzeppelin-DJfYdul8.js → openzeppelin-CQac0BGV.js} +1 -1
- package/assets/{ownerOf-Caz8dkdv.js → ownerOf-BNp_oN81.js} +1 -1
- package/assets/{parseNft-CAi7ylrV.js → parseNft-CaODLwGA.js} +2 -2
- package/assets/{parseSignature-DOZQ4r_s.js → parseSignature-BUlJFwOG.js} +3 -3
- package/assets/{parseSignature-CkfsQZjR.js → parseSignature-Bx6QTnH6.js} +1 -1
- package/assets/{pay-with-exchange-D6Jfa9dm.js → pay-with-exchange-3gqLKVFv.js} +1 -1
- package/assets/{payments-Bqo0NGsO.js → payments-DpS98zAJ.js} +1 -1
- package/assets/{qr-overlay-ThBPC7Uy.js → qr-overlay-BTYTNs3e.js} +1 -1
- package/assets/{receive-CNeZjKOR.js → receive-GjDfyQpR.js} +1 -1
- package/assets/{resolveImplementation-CDlVaAuZ.js → resolveImplementation-C6kQvPP-.js} +1 -1
- package/assets/{rpc-CcS3GZe6.js → rpc-DuJlT0HH.js} +1 -1
- package/assets/{secp256k1-BHgXbBWD.js → secp256k1-BWbqqT7z.js} +1 -1
- package/assets/{secp256k1-BBvPIPwC.js → secp256k1-BmaDbfrn.js} +1 -1
- package/assets/{secp256k1-BUjQGvG0.js → secp256k1-CPZ3QzZL.js} +1 -1
- package/assets/{send-idVogVYW.js → send-CO-2udGX.js} +1 -1
- package/assets/{send-batch-transaction-C3jcqsNl.js → send-batch-transaction-D2YAYdks.js} +1 -1
- package/assets/{send-eip712-transaction-Bfjz7Iz2.js → send-eip712-transaction-CcIzmXkO.js} +2 -2
- package/assets/{send-gasless-transaction-Dr5uJ-Wj.js → send-gasless-transaction-B_Vu9cKC.js} +2 -2
- package/assets/{sendRawTransaction-C1KYrfUQ.js → sendRawTransaction-zZ1gmwwW.js} +3 -3
- package/assets/{serializeTransaction-CvcgsI4m.js → serializeTransaction-BLhvSCIg.js} +1 -1
- package/assets/{session-proposal-k0vYn6DB.js → session-proposal-CMJwwypi.js} +1 -1
- package/assets/{session-request-BSoj00bs.js → session-request-Bnr_sX_J.js} +2 -2
- package/assets/{sha256-GGf28ILw.js → sha256-Cz0lQzvl.js} +1 -1
- package/assets/{signing-BruyzTll.js → signing-CvokIB4x.js} +4 -4
- package/assets/{socials-DgnpFB9X.js → socials-D4DuECHq.js} +1 -1
- package/assets/{swaps-D7rw8rzk.js → swaps-D_hLEEKg.js} +1 -1
- package/assets/{thirdweb-BrverVav.js → thirdweb-C_WUiq8w.js} +3 -3
- package/assets/{totalSupply-CjOtH9Yt.js → totalSupply-V6l7KoX8.js} +1 -1
- package/assets/{trade-encoding-BRf1PROY.js → trade-encoding-CxOU66Zo.js} +1 -1
- package/assets/{transactionReceipt-tGNKu9ON.js → transactionReceipt-DxcBIxbU.js} +1 -1
- package/assets/{transactions-Cm3JbhyS.js → transactions-CT0Iato6.js} +1 -1
- package/assets/{useInfiniteGrid-Bi-bhby3.js → useInfiniteGrid-_2151jJs.js} +1 -1
- package/assets/{useStore-B3LU4tKp.js → useStore-_juYfQlk.js} +1 -1
- package/assets/{useTheme-DTIK1i5i.js → useTheme-CvQWZTyO.js} +1 -1
- package/assets/{useTheme-Dz_KHO78.js → useTheme-hl4D5Ddl.js} +1 -1
- package/assets/{verifyHash-Bn5i4mdO.js → verifyHash-Ch4HpC7b.js} +1 -1
- package/assets/{w3m-modal-D3vDgcvO.js → w3m-modal-CqER6RMY.js} +1 -1
- package/assets/{w3m-modal-BCLI7fp2.js → w3m-modal-s_TWH6MQ.js} +1 -1
- package/assets/{wait-for-tx-receipt-C8Go00i1.js → wait-for-tx-receipt-CuxFpJ4i.js} +1 -1
- package/assets/{wallets-C4pAW_0w.js → wallets-Pcb-CnJi.js} +6 -6
- package/assets/{web-connector-BgaCPDbI.js → web-connector-D2Rc0Q2d.js} +3 -3
- package/assets/{writeContract-dqxuoVL6.js → writeContract-6OJ2j59X.js} +1 -1
- package/assets/{zoraTestnet-DWM_8Oul.js → zoraTestnet-DWGOJRav.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/assets/Cart-pnGNGkP-.js +0 -3
- package/assets/ItemDetail-DGdTMP6D.js +0 -29
- package/assets/cart-checkout-CeO81KZq.js +0 -1
- package/assets/index-Cc7yK5VV.css +0 -1
package/index.html
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
<link rel="canonical" href="https://shop.decentraland.org/" />
|
|
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.1.0-
|
|
20
|
-
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
19
|
+
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/apple-touch-icon.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.1.0-
|
|
22
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/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.1.0-
|
|
51
|
+
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/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.1.0-
|
|
64
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
65
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
66
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
67
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
68
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
69
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
63
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/assets/index-D2MCniIy.js"></script>
|
|
64
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/assets/react-yytiy0wi.js">
|
|
65
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/assets/dcl-schemas-BICTSpB5.js">
|
|
66
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/assets/sentry-BPJvc5GU.js">
|
|
67
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/assets/ethers-w2AslR0v.js">
|
|
68
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/assets/intl-CBcMB1D2.js">
|
|
69
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-29820201061.commit-6e93aab/assets/index-BbQ0ahsR.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.1.0-
|
|
3
|
+
"version": "0.1.0-29820201061.commit-6e93aab",
|
|
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": "6e93aabc1ef01ba32f3f2065dee2f378f443a137"
|
|
12
12
|
}
|
package/assets/Cart-pnGNGkP-.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{j as e,a as ge,b as ve,r as x,L as V}from"./react-yytiy0wi.js";import{t as a,C as N,a8 as A,a as Ne,a9 as v,c as ce,d as Ce,g as we,o as Me,u as Se,I,aa as Ie,b as K,ab as re,ac as Pe,D as R,s as Te,B as Ee,j as Le,k as Be,w as Fe,q as ne,ad as Re,y as le,x as Ae,ae as We}from"./index-D2jE21o9.js";import{a as oe}from"./buy-CEPUtw6l.js";import{g as ze,a as Ue,w as qe,S as Ke,G as $e}from"./buy-gasless-DFUBpeub.js";import{R as $,r as Qe}from"./cart-checkout-CeO81KZq.js";import{C as Oe,c as De}from"./payments-Bqo0NGsO.js";import{E as de}from"./ErrorNotice-CKeOu_Oi.js";import{i as Ge,a as Je}from"./errors-toZUiz_8.js";import{C as Ve}from"./CollectionCarousel-Do5ix6VD.js";import"./dcl-schemas-BICTSpB5.js";import"./sentry-BPJvc5GU.js";import"./ethers-w2AslR0v.js";import"./intl-CBcMB1D2.js";import"./trade-encoding-BRf1PROY.js";import"./index-HN6Rk25C.js";function Ye(t){const{phase:r,balanceCredits:j,onClose:o}=t,C=r==="processing",P=r!=="complete",T=r==="nofunds"?a("cartCheckout.titleNoFunds"):a("cartCheckout.titleBuy"),n=r==="processing";return e.jsxs("div",{className:"buy-modal",role:"dialog","aria-modal":"true","aria-label":a("cartCheckout.dialogAria"),children:[e.jsx("div",{className:"buy-modal__scrim",onClick:C?void 0:o,"aria-hidden":!0}),e.jsxs("div",{className:`buy-modal__card${n?" buy-modal__card--tall":""}`,children:[P&&e.jsxs("div",{className:"buy-modal__head",children:[e.jsxs("div",{className:"buy-modal__head-row",children:[e.jsx("h2",{className:"buy-modal__title",children:T}),!C&&e.jsx("button",{className:"buy-modal__x",onClick:o,"aria-label":a("buyModal.close"),children:e.jsx("svg",{viewBox:"0 0 18 18",width:"18",height:"18","aria-hidden":!0,children:e.jsx("path",{d:"M4 4l10 10M14 4L4 14",stroke:"#161518",strokeWidth:"1.8",strokeLinecap:"round"})})})]}),e.jsxs("div",{className:"buy-modal__balance",children:[e.jsx("span",{className:"buy-modal__balance-label",children:r==="nofunds"?a("buyModal.dclBalance"):a("buyModal.myCreditsBalance")}),e.jsx(N,{className:"buy-modal__balance-ico"}),e.jsx("span",{className:"buy-modal__balance-value",children:A(j)})]})]}),r==="processing"&&e.jsx(He,{step:t.step??1,total:t.total??1}),r==="nofunds"&&e.jsx(Xe,{lines:t.lines??[],shortfallCredits:t.shortfallCredits??0,packs:t.packs??[],selectedPack:t.selectedPack??"",onSelectPack:t.onSelectPack??(()=>{}),onBuyPacks:t.onBuyPacks??(()=>{}),onCancel:o}),r==="complete"&&e.jsx(Ze,{purchased:t.purchased??[],onMyAssets:t.onMyAssets??o,onTryInWorld:t.onTryInWorld??o}),r==="error"&&e.jsxs("div",{className:"buy-modal__body",children:[e.jsx(de,{message:t.message}),e.jsx("div",{className:"buy-modal__ctas",children:e.jsx("button",{className:"buy-modal__btn buy-modal__btn--gradient",onClick:o,children:a("buyModal.close")})})]})]})]})}function He({step:t,total:r}){return e.jsxs("div",{className:"buy-modal__body buy-modal__processing",children:[e.jsx("img",{className:"buy-modal__logo",src:"/icon-192.png",alt:"",width:61,height:61}),e.jsx("div",{className:"buy-modal__processing-text",children:a("buyModal.completingTransaction")}),e.jsxs("div",{className:"cart-checkout__progress-row",children:[e.jsx("div",{className:"buy-modal__progress","aria-hidden":!0,children:e.jsx("span",{className:"buy-modal__progress-fill"})}),e.jsxs("span",{className:"cart-checkout__step",children:[t,"/",r]})]})]})}function Xe({lines:t,shortfallCredits:r,packs:j,selectedPack:o,onSelectPack:C,onBuyPacks:P,onCancel:T}){const n=j.find(i=>i.id===o);return e.jsxs("div",{className:"buy-modal__body",children:[e.jsxs("div",{className:"buy-modal__warning",children:[e.jsxs("svg",{viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":!0,className:"buy-modal__warning-ico",children:[e.jsx("path",{d:"M12 3L2 20h20L12 3z",fill:"none",stroke:"#691fa9",strokeWidth:"1.8",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 9v5",stroke:"#691fa9",strokeWidth:"1.8",strokeLinecap:"round"}),e.jsx("circle",{cx:"12",cy:"17",r:"1.1",fill:"#691fa9"})]}),e.jsxs("p",{className:"buy-modal__warning-text",children:[e.jsx("b",{children:a("buyModal.insufficientFunds")})," ",a("buyModal.warningNeedToBuy")," ",e.jsx("b",{children:a("buyModal.warningCreditsAmount",{count:Math.max(0,r)})})," ",a("buyModal.warningToPurchase",{count:t.length})]})]}),e.jsx("div",{className:"cart-checkout__scroll",children:t.map(i=>e.jsxs("div",{className:"buy-modal__asset",children:[e.jsx("div",{className:"buy-modal__asset-thumb",children:i.item.thumbnail?e.jsx("img",{src:i.item.thumbnail,alt:""}):null}),e.jsxs("div",{className:"buy-modal__asset-info",children:[e.jsxs("div",{children:[e.jsx("div",{className:"buy-modal__asset-name",title:i.item.name,children:i.item.name||a("buyModal.itemFallback")}),i.item.creator?e.jsx("div",{className:"buy-modal__asset-creator",children:a("search.byCreator",{name:i.item.creator})}):null]}),e.jsxs("div",{className:"buy-modal__asset-price",children:[e.jsx(N,{className:"buy-modal__asset-price-ico"}),e.jsx("span",{children:A(i.priceCredits)})]})]})]},i.item.id))}),e.jsx("div",{className:"buy-modal__packs",children:j.map(i=>{const E=i.id===o;return e.jsxs("button",{className:`buy-modal__pack${E?" buy-modal__pack--on":""}`,onClick:()=>C(i.id),children:[e.jsx(N,{className:"buy-modal__pack-ico"}),e.jsx("span",{className:"buy-modal__pack-amount",children:A(i.credits)}),e.jsxs("span",{className:"buy-modal__pack-usd",children:["($",i.usd.toFixed(2),")"]})]},i.id)})}),e.jsxs("div",{className:"buy-modal__total",children:[e.jsxs("div",{className:"buy-modal__total-credits",children:[e.jsx(N,{className:"buy-modal__total-ico"}),e.jsx("span",{children:A((n==null?void 0:n.credits)??0)})]}),e.jsxs("span",{className:"buy-modal__total-usd",children:["$",((n==null?void 0:n.usd)??0).toFixed(2)]})]}),e.jsxs("div",{className:"buy-modal__ctas",children:[e.jsx("button",{className:"buy-modal__btn buy-modal__btn--outline",onClick:T,children:a("buyModal.cancel")}),e.jsx("button",{className:"buy-modal__btn buy-modal__btn--gradient",onClick:P,children:a("buyModal.buy")})]})]})}function Ze({purchased:t,onMyAssets:r,onTryInWorld:j}){return e.jsxs("div",{className:"buy-modal__body cart-checkout__done-body",children:[e.jsxs("div",{className:"buy-modal__success",children:[e.jsxs("svg",{viewBox:"0 0 64 64",width:"60",height:"60","aria-hidden":!0,children:[e.jsx("circle",{cx:"32",cy:"32",r:"32",fill:"#34ce77"}),e.jsx("path",{d:"M20 33l8 8 16-18",fill:"none",stroke:"#fff",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"})]}),e.jsxs("p",{className:"buy-modal__success-text",children:[e.jsx("b",{children:a("getCredits.successTitle")})," ",a("buyModal.successBody")]})]}),e.jsx("div",{className:"cart-checkout__done",children:e.jsx("div",{className:"cart-checkout__done-scroll",children:t.map(o=>e.jsxs("div",{className:"cart-checkout__done-row",children:[e.jsxs("div",{className:"cart-checkout__done-thumb",children:[o.thumbnail?e.jsx("img",{src:o.thumbnail,alt:""}):null,e.jsx("span",{className:"cart-checkout__done-check","aria-hidden":!0,children:e.jsx("svg",{viewBox:"0 0 18 18",width:"12",height:"12",children:e.jsx("path",{d:"M4 9l3.5 3.5L14 5",fill:"none",stroke:"#fff",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),e.jsxs("div",{className:"cart-checkout__done-info",children:[e.jsx("div",{className:"cart-checkout__done-name",title:o.name,children:o.name||a("buyModal.itemFallback")}),o.creator?e.jsx("div",{className:"cart-checkout__done-creator",children:a("search.byCreator",{name:o.creator})}):null]}),e.jsxs("div",{className:"cart-checkout__done-price",children:[e.jsx(N,{className:"cart-checkout__done-price-ico"}),e.jsx("span",{children:A(o.priceCredits)})]})]},o.id))})}),e.jsxs("div",{className:"buy-modal__ctas",children:[e.jsx("button",{className:"buy-modal__btn buy-modal__btn--outline",onClick:r,children:a("buyModal.myAssets")}),e.jsxs("button",{className:"buy-modal__btn buy-modal__btn--ruby",onClick:j,children:[a("buyModal.tryInWorld"),e.jsx("svg",{viewBox:"0 0 24 24",width:"20",height:"20","aria-hidden":!0,children:e.jsx("path",{d:"M5 12h12M13 7l5 5-5 5",fill:"none",stroke:"#fcfcfc",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})}const es=Te(Ee)`
|
|
2
|
-
margin-top: 12px;
|
|
3
|
-
`;function ie(t){if(Ge(t))return a("errors.rejected");const r=(t.message??"").toLowerCase();return r.includes("insufficient")?a("cart.error.insufficient",{currency:Be.name}):r.includes("no active listing")||r.includes("your own listing")?a("cart.error.listingChanged"):a("marketCheckout.error.generic")}const ss=12e4,Q=Oe.slice(0,3),as=Le.chainId===80002?"https://decentraland.zone/jump":"https://decentraland.org/jump";function ts(t){const r=[];return t.unavailable.length&&r.push(a("cart.drop.unavailable",{count:t.unavailable.length})),t.own.length&&r.push(a("cart.drop.own",{count:t.own.length})),a("cart.drop.removed",{items:r.join(` ${a("cart.drop.and")} `)})}function js(){Ne({title:a("nav.cart"),noindex:!0});const t=v(s=>s.items),r=v(s=>s.remove),j=v(s=>s.clear),o=v(s=>s.restore),C=v(s=>s.setFittingOpen),P=ce(s=>s.items),T=ce(s=>s.toggle),{session:n}=Ce(),i=t.some(s=>s.category!=="emote"),{data:E}=we({queryKey:["upsell-listings"],queryFn:()=>We({first:40}),staleTime:6e4}),{data:L}=Me(n),W=Se(),z=ge(),{state:w}=ve(),[Y,B]=x.useState(null),[ue,k]=x.useState(null),[H,U]=x.useState(null),[he,M]=x.useState(!1),[y,F]=x.useState(null),X=x.useRef(0),[d,f]=x.useState(null),[O,Z]=x.useState(""),me=t.reduce((s,c)=>s+c.priceCredits,0),_e=y?y.liveTotalCredits:me,be=new Set(t.map(s=>s.id)),ee=((E==null?void 0:E.items)??[]).filter(s=>!be.has(s.id)).slice(0,12),pe=new Map(y==null?void 0:y.buyable.map(s=>[s.item.id,s])),q=(L==null?void 0:L.credits)??0,ye=Pe;function D(s){s(),F(null),U(null),k(null)}function xe(){f(null),M(!1)}function se(s){const c=s.reduce((h,u)=>h+u.priceCredits,0),l=Math.max(0,c-q),p=Q.find(h=>h.credits>=l)??Q[Q.length-1];Z(p.id),K("Shop Buy Credits Prompted",{from:"cart_checkout",credits_needed:c,credits_balance:q,shortfall:l}),f({phase:"nofunds",lines:s.map(h=>({item:h.item,priceCredits:h.priceCredits})),shortfall:l}),M(!1)}async function je(s){if(!n||s.length===0)return;const c=s.map(u=>({...u.item,priceCredits:u.priceCredits})),l=[];let p="authorize",h=!1;f({phase:"processing",step:1,total:s.length});try{const u=[];for(let _=0;_<s.length;_++){const g=s[_];f({phase:"processing",step:_+1,total:s.length});try{const{credit:b,maxCreditedValue:J}=await Fe(n.identity,g.usdCents,g.trade.id);l.push(b.id),u.push({trade:g.trade,credits:[b],maxCreditedValue:J})}catch(b){if(Je(b)){if(l.length){try{await ne(n.identity,l)}catch(J){R(J,{flow:"cart_checkout",step:"release"})}W.invalidateQueries({queryKey:["usd-balance"]})}se(s);return}throw b}}p="submit";let m=[];if(ze())try{m=await Ue({purchases:u,buyer:n.address,signer:n.signer});const g=(await Promise.allSettled(m.map(b=>qe(b)))).flatMap(b=>b.status==="rejected"?[b.reason]:[]);if(g.length&&!g.some(b=>b instanceof Ke))throw g[0];h=!0}catch(_){if(!(_ instanceof $e))throw _;m=await oe({purchases:u,buyer:n.address,signer:n.signer})}else m=await oe({purchases:u,buyer:n.address,signer:n.signer});s.forEach(_=>r(_.item.id)),F(null),K("Shop Completed Purchase",{...Re(c),payment_type:"credits",no_crypto_step:h,transaction_hash:m[0]??null}),W.invalidateQueries({queryKey:["usd-balance"]}),f({phase:"complete",purchased:c})}catch(u){if(le(u)||R(u,{flow:"cart_checkout",step:p,cart_size:s.length}),K(le(u)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:p,error_code:Ae(u),value_usd:re(c.reduce((m,_)=>m+_.priceCredits,0)),cart_size:s.length}),l.length){try{await ne(n.identity,l)}catch(m){R(m,{flow:"cart_checkout",step:"release"})}W.invalidateQueries({queryKey:["usd-balance"]})}f({phase:"error",message:ie(u)})}}function ae(s){const c=s.reduce((l,p)=>l+p.priceCredits,0);if(L!=null&&L.credits<c){se(s);return}je(s)}async function G(){if(!n){k(a("buyModal.signInToCheckout"));return}const s=v.getState().items;if(s.length!==0){k(null),U(null),M(!0),K("Shop Started Checkout",{cart_size:s.length,cart_value_credits:s.reduce((c,l)=>c+l.priceCredits,0),cart_value_usd:re(s.reduce((c,l)=>c+l.priceCredits,0)),has_sufficient_credits:q>=s.reduce((c,l)=>c+l.priceCredits,0)});try{B(a("cart.status.reviewing"));const c=await Qe(s,n.address,ye),l=[...c.unavailable,...c.own];if(l.length&&(l.forEach(p=>r(p.id)),U(ts(c))),c.buyable.length===0){k(a("cart.error.noneAvailable")),F(null),B(null);return}if(c.orderChanged){F(c),X.current=Date.now(),B(null);return}B(null),ae(c.buyable)}catch(c){R(c,{flow:"cart_checkout",step:"review",cart_size:s.length}),k(ie(c)),B(null)}finally{M(!1)}}}async function ke(){if(y){if(!n){k(a("buyModal.signInToCheckout"));return}if(Date.now()-X.current>ss){F(null),U(null),await G();return}k(null),ae(y.buyable)}}async function fe(){if(O){try{sessionStorage.setItem($,JSON.stringify(v.getState().items))}catch{}M(!0);try{const s=await De(O,n?{address:n.address,identity:n.identity}:void 0);if(s.url){window.location.href=s.url;return}z("/credits")}catch(s){try{sessionStorage.removeItem($)}catch{}R(s,{flow:"cart_buy_credits"}),f({phase:"error",message:a("buyModal.error.creditsCheckout")})}finally{M(!1)}}}const te=x.useRef(!1);x.useEffect(()=>{if(!(w!=null&&w.resumeCheckout)||te.current)return;te.current=!0;try{const c=sessionStorage.getItem($);if(c){sessionStorage.removeItem($);const l=JSON.parse(c);Array.isArray(l)&&l.length&&o(l)}}catch{}W.invalidateQueries({queryKey:["usd-balance"]});const s=setTimeout(()=>void G(),0);return()=>clearTimeout(s)},[w==null?void 0:w.resumeCheckout]);const S=he||(d==null?void 0:d.phase)==="processing";return t.length===0&&!d?e.jsxs("div",{className:"cart cart--empty",children:[e.jsx(I,{name:"cart",size:44,color:"var(--muted-2)"}),e.jsx("p",{className:"cart-empty__title",children:a("cart.empty.title")}),e.jsx("p",{className:"muted",children:a("cart.empty.body")}),e.jsx(es,{as:V,to:"/assets",variant:"purple",children:a("cart.empty.cta")})]}):e.jsxs("div",{className:"checkout",children:[e.jsxs("button",{className:"checkout__back",onClick:()=>z(-1),type:"button",children:[e.jsx(I,{name:"arrow-left"}),a("nav.cart")]}),e.jsxs("div",{className:"checkout__body",children:[e.jsxs("section",{className:"checkout__panel",children:[e.jsxs("div",{className:"checkout__panel-head",children:[e.jsx("button",{className:"checkout__panel-back",onClick:()=>z(-1),type:"button","aria-label":a("cart.goBack"),children:e.jsx(I,{name:"arrow-left"})}),e.jsx("h1",{className:"checkout__panel-title",children:a("cart.panelTitle",{count:t.length})}),i?e.jsxs("button",{className:"checkout__fitting",onClick:()=>C(!0),disabled:S,children:[e.jsx(I,{name:"fitting-room"}),a("cart.fittingRoom")]}):null]}),e.jsx("div",{className:"checkout__list",children:t.map(s=>{const c=pe.get(s.id),l=c?c.priceCredits:s.priceCredits,p=!!c&&c.priceCredits!==s.priceCredits,h=!!P[s.id],u=s.tokenId??s.itemId,m=s.contractAddress&&u?`/item/${s.contractAddress}/${u}`:null;return e.jsxs("div",{className:"checkout__card",children:[e.jsxs("div",{className:"checkout__thumb",children:[m?e.jsx(V,{className:"checkout__thumb-link",to:m,state:{item:s,tradeId:s.tradeId},"aria-label":s.name,children:s.thumbnail?e.jsx("img",{src:s.thumbnail,alt:s.name}):null}):s.thumbnail?e.jsx("img",{src:s.thumbnail,alt:s.name}):null,e.jsx("span",{className:"checkout__thumb-check","aria-hidden":!0,children:e.jsx("svg",{viewBox:"0 0 20 20",width:"12",height:"12",children:e.jsx("path",{d:"M5 10.5l3 3 7-7.5",fill:"none",stroke:"#fff",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),e.jsxs("div",{className:"checkout__info",children:[e.jsxs("div",{className:"checkout__desc",children:[m?e.jsx(V,{className:"checkout__name",to:m,state:{item:s,tradeId:s.tradeId},title:s.name,children:s.name}):e.jsx("div",{className:"checkout__name",title:s.name,children:s.name}),s.creator?e.jsx(Ie,{address:s.creator,className:"checkout__creator",linkToProfile:!0}):null]}),e.jsxs("div",{className:"checkout__foot",children:[e.jsxs("div",{className:"checkout__stepper",children:[e.jsx("button",{className:"checkout__step",onClick:()=>D(()=>r(s.id)),disabled:S,"aria-label":a("cart.removeFromCart",{name:s.name}),children:e.jsx("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,focusable:"false",children:e.jsx("path",{d:"M3.5 8h9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),e.jsx("span",{className:"checkout__qty",children:"1"}),e.jsx("button",{className:"checkout__step",disabled:!0,"aria-label":a("cart.increaseQuantity"),children:e.jsx("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,focusable:"false",children:e.jsx("path",{d:"M8 3.5v9M3.5 8h9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]}),e.jsxs("div",{className:"checkout__price",children:[e.jsx(N,{className:"checkout__price-ico"})," ",l,p?e.jsx("span",{className:"checkout__price-was",children:s.priceCredits}):null]})]})]}),e.jsxs("div",{className:"checkout__actions",children:[e.jsx("button",{className:`checkout__fav${h?" is-on":""}`,onClick:()=>T(s),"aria-label":h?a("cart.removeFromFavorites",{name:s.name}):a("cart.addToFavorites",{name:s.name}),title:h?a("assetCard.removeFromFavorites"):a("assetCard.addToFavorites"),children:e.jsx(I,{name:h?"heart-solid":"heart"})}),e.jsx("button",{className:"checkout__remove",onClick:()=>D(()=>r(s.id)),disabled:S,"aria-label":a("cart.remove",{name:s.name}),title:a("cart.removeTitle"),children:e.jsx(I,{name:"trash",size:24})})]})]},s.id)})}),e.jsxs("div",{className:"checkout__utils",children:[e.jsx("button",{className:"link",onClick:()=>D(j),disabled:S,children:a("cart.clearCart")}),null]})]}),e.jsxs("aside",{className:"checkout__summary",children:[e.jsx("h2",{className:"checkout__summary-title",children:a("cart.purchaseSummary")}),e.jsxs("div",{className:"checkout__summary-body",children:[e.jsxs("div",{className:"checkout__total-line",children:[e.jsx("span",{className:"checkout__total-label",children:a("cart.totalItems",{count:t.length})}),e.jsxs("span",{className:"checkout__total-value",children:[e.jsx(N,{className:"checkout__total-ico"})," ",_e]})]}),e.jsx("button",{className:"checkout__cta",onClick:()=>void(y?ke():G()),disabled:S,children:S?a("cart.working"):y?a("marketCheckout.confirmPurchase"):a("assetCard.buyNow")}),y?e.jsx("p",{className:"muted checkout__msg",children:a("cart.priceChanged")}):null,H?e.jsx("p",{className:"muted checkout__msg",children:H}):null,Y?e.jsx("p",{className:"muted checkout__msg",children:Y}):null,e.jsx(de,{message:ue,className:"checkout__msg"})]})]})]}),ee.length>0?e.jsx("div",{className:"cart-upsell",children:e.jsx(Ve,{title:a("cart.youMightAlsoLike"),items:ee})}):null,d?e.jsx(Ye,{phase:d.phase,balanceCredits:q,onClose:xe,step:d.phase==="processing"?d.step:void 0,total:d.phase==="processing"?d.total:void 0,lines:d.phase==="nofunds"?d.lines:void 0,shortfallCredits:d.phase==="nofunds"?d.shortfall:void 0,packs:Q,selectedPack:O,onSelectPack:Z,onBuyPacks:()=>void fe(),purchased:d.phase==="complete"?d.purchased:void 0,onMyAssets:()=>z("/assets?tab=mine"),onTryInWorld:()=>window.open(as,"_blank","noopener"),message:d.phase==="error"?d.message:void 0}):null]})}export{js as Cart};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DYoplOYj.js","assets/react-yytiy0wi.js","assets/dcl-schemas-BICTSpB5.js","assets/index-D2jE21o9.js","assets/sentry-BPJvc5GU.js","assets/ethers-w2AslR0v.js","assets/intl-CBcMB1D2.js","assets/index-Cc7yK5VV.css","assets/emotion-styled.browser.esm-DsmsDcnn.js","assets/useTheme-DTIK1i5i.js","assets/CircularProgress-hz1p9NKk.js","assets/index-TnwTqyFy.js","assets/useTheme-Dz_KHO78.js","assets/CssVarsProvider-C7DqQE-t.js","assets/getOverlayAlpha-CRsCtRg_.js","assets/index-iTvBkd0G.js","assets/colors-LINLm1ux.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{a as te,r as m,j as e,d as De,b as Te,L as Be}from"./react-yytiy0wi.js";import{d as ie,o as Re,u as $e,t as s,ac as Ve,l as We,m as qe,w as ze,q as Z,b as K,x as _e,y as ae,ad as Oe,D as he,C as M,a8 as X,_ as se,ag as Ke,aj as Ue,ai as Ge,az as Qe,am as He,j as we,aA as Ye,af as Ce,s as re,aB as Je,aC as Ze,aD as Xe,aE as ea,a9 as pe,c as be,g as O,aF as aa,aG as sa,aH as ta,aI as ia,aJ as ra,ao as la,a as da,I as R,aK as na,aL as ca,aM as oa,aa as ma,aN as xe,aO as ua,B as ke,ar as _a,aP as ha,aQ as pa,as as ba,aR as xa}from"./index-D2jE21o9.js";import{d as V}from"./dcl-schemas-BICTSpB5.js";import{b as ye}from"./buy-CEPUtw6l.js";import{g as ya,b as va,w as ja,S as fa,G as ga}from"./buy-gasless-DFUBpeub.js";import{C as Na,c as wa}from"./payments-Bqo0NGsO.js";import{R as ve}from"./resume-buy-Bf0zIH7y.js";import{a as Ca,f as je}from"./errors-toZUiz_8.js";import{E as ka}from"./ErrorNotice-CKeOu_Oi.js";import{C as Ia}from"./CircularProgress-hz1p9NKk.js";import{u as Aa,M as Ma}from"./MarketCheckout-XY4qv1OO.js";import{s as Sa}from"./address-DrURAr9O.js";import{C as Pa}from"./CollectionCarousel-Do5ix6VD.js";import"./sentry-BPJvc5GU.js";import"./ethers-w2AslR0v.js";import"./intl-CBcMB1D2.js";import"./trade-encoding-BRf1PROY.js";import"./index-HN6Rk25C.js";import"./mana-rate-VLUqXwj8.js";const $=Na.slice(0,3);function Ea({item:r,onClose:c,resume:t=!1}){var I,H;const{session:o}=ie(),{data:d}=Re(o),p=$e(),y=te(),[_,l]=m.useState("loading"),[v,a]=m.useState(null),[j,P]=m.useState(""),[f,L]=m.useState(r.priceCredits),[C,N]=m.useState(null),g=m.useRef(null),W=(C==null?void 0:C.credits)??f,k=(d==null?void 0:d.credits)??0;m.useEffect(()=>{let n=!1;if(!o){l("error"),a(s("buyModal.signInToCheckout"));return}const x=u=>{const h=u-((d==null?void 0:d.credits)??0),b=$.find(A=>A.credits>=h)??$[$.length-1];P(b.id),K("Shop Buy Credits Prompted",{from:"item_checkout",credits_needed:u,credits_balance:(d==null?void 0:d.credits)??0,shortfall:Math.max(0,h)}),l("nofunds")};return(async()=>{var u,h;try{const b=await Ve(r);if(!b)throw new Error("not for sale");if(We(b,o.address))throw new Error("You can't buy your own listing.");const A=qe((h=(u=b.received)==null?void 0:u[0])==null?void 0:h.amount);if(!Number.isFinite(A)||A<=0)throw new Error("price unavailable");const T=Math.ceil(A/10);if(n)return;if(L(T),d!=null&&d.credits<T){x(T);return}try{const{credit:E,maxCreditedValue:q,usdCents:B}=await ze(o.identity,A,b.id);if(n){Z(o.identity,[E.id]).catch(()=>{});return}g.current=E.id;const w=Math.ceil(B/10);L(w);const z={trade:b,credit:E,maxCreditedValue:q,usdCents:B,credits:w};N(z),t?U(z):l("ready")}catch(E){if(n)return;if(Ca(E)){x(T);return}throw E}}catch(b){if(n)return;K(ae(b)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"authorize",error_code:_e(b)}),l("error"),a(je(b,s("buyModal.error.generic"),{sale:!0}))}})(),()=>{n=!0,g.current&&o&&(Z(o.identity,[g.current]).catch(()=>{}),g.current=null)}},[]);async function U(n=C){if(!o||!n)return;l("processing"),a(null);let x=!1;try{const u={trade:n.trade,buyer:o.address,signer:o.signer,credits:[n.credit],maxCreditedValue:n.maxCreditedValue};let h;if(ya())try{h=await va(u),await ja(h),x=!0}catch(b){if(b instanceof fa)x=!0;else if(b instanceof ga)h=await ye(u);else throw b}else h=await ye(u);g.current=null,K("Shop Completed Purchase",{...Oe([r]),payment_type:"credits",no_crypto_step:x,transaction_hash:h??null}),p.invalidateQueries({queryKey:["usd-balance"]}),l("complete")}catch(u){ae(u)||he(u,{flow:"buy",step:"submit",gasless:x}),Z(o.identity,[n.credit.id]).catch(()=>{}),g.current=null,K(ae(u)?"Shop Purchase Cancelled":"Shop Purchase Failed",{step:"submit",error_code:_e(u)}),p.invalidateQueries({queryKey:["usd-balance"]}),a(je(u,s("buyModal.error.generic"),{sale:!0})),l("error")}}async function G(){if(!(!j||!o)){try{sessionStorage.setItem(ve,JSON.stringify(r))}catch{}C&&Z(o.identity,[C.credit.id]).catch(()=>{}),g.current=null,l("loading");try{const n=await wa(j,{address:o.address,identity:o.identity});if(n.url){window.location.href=n.url;return}y("/credits")}catch(n){he(n,{flow:"buy_credits_and_item"});try{sessionStorage.removeItem(ve)}catch{}a(s("buyModal.error.creditsCheckout")),l("error")}}}const Q=_==="processing",D=_==="complete"?s("buyModal.titleComplete"):_==="nofunds"?s("buyModal.titleNoFunds"):s("buyModal.titleBuy");return e.jsxs("div",{className:"buy-modal",role:"dialog","aria-modal":"true","aria-label":s("buyModal.dialogAria",{name:r.name}),children:[e.jsx("div",{className:"buy-modal__scrim",onClick:Q?void 0:c,"aria-hidden":!0}),e.jsxs("div",{className:`buy-modal__card${_==="processing"||_==="loading"?" buy-modal__card--tall":""}`,children:[e.jsxs("div",{className:"buy-modal__head",children:[e.jsxs("div",{className:"buy-modal__head-row",children:[e.jsx("h2",{className:"buy-modal__title",children:D}),!Q&&e.jsx("button",{className:"buy-modal__x",onClick:c,"aria-label":s("buyModal.close"),children:e.jsx("svg",{viewBox:"0 0 18 18",width:"18",height:"18","aria-hidden":!0,children:e.jsx("path",{d:"M4 4l10 10M14 4L4 14",stroke:"#161518",strokeWidth:"1.8",strokeLinecap:"round"})})})]}),e.jsxs("div",{className:"buy-modal__balance",children:[e.jsx("span",{className:"buy-modal__balance-label",children:_==="nofunds"?s("buyModal.dclBalance"):s("buyModal.myCreditsBalance")}),e.jsx(M,{className:"buy-modal__balance-ico"}),e.jsx("span",{className:"buy-modal__balance-value",children:X(k)})]})]}),_==="loading"&&e.jsx("div",{className:"buy-modal__body buy-modal__processing",children:e.jsx(Ia,{size:44})}),_==="error"&&e.jsxs("div",{className:"buy-modal__body",children:[e.jsx(ka,{message:v}),e.jsx("div",{className:"buy-modal__ctas",children:e.jsx("button",{className:"buy-modal__btn buy-modal__btn--gradient",onClick:c,children:s("buyModal.close")})})]}),_==="nofunds"&&e.jsxs("div",{className:"buy-modal__body",children:[e.jsxs("div",{className:"buy-modal__warning",children:[e.jsxs("svg",{viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":!0,className:"buy-modal__warning-ico",children:[e.jsx("path",{d:"M12 3L2 20h20L12 3z",fill:"none",stroke:"#691fa9",strokeWidth:"1.8",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 9v5",stroke:"#691fa9",strokeWidth:"1.8",strokeLinecap:"round"}),e.jsx("circle",{cx:"12",cy:"17",r:"1.1",fill:"#691fa9"})]}),e.jsxs("p",{className:"buy-modal__warning-text",children:[e.jsx("b",{children:s("buyModal.insufficientFunds")})," ",s("buyModal.warningNeedToBuy")," ",e.jsx("b",{children:s("buyModal.warningCreditsAmount",{count:Math.max(0,W-k)})})," ",s("buyModal.warningToPurchase",{count:1})]})]}),e.jsx(fe,{item:r,priceCredits:W}),e.jsx("div",{className:"buy-modal__packs",children:$.map(n=>{const x=n.credits,u=n.id===j;return e.jsxs("button",{className:`buy-modal__pack${u?" buy-modal__pack--on":""}`,onClick:()=>P(n.id),children:[e.jsx(M,{className:"buy-modal__pack-ico"}),e.jsx("span",{className:"buy-modal__pack-amount",children:X(x)}),e.jsxs("span",{className:"buy-modal__pack-usd",children:["($",n.usd.toFixed(2),")"]})]},n.id)})}),e.jsxs("div",{className:"buy-modal__total",children:[e.jsxs("div",{className:"buy-modal__total-credits",children:[e.jsx(M,{className:"buy-modal__total-ico"}),e.jsx("span",{children:X(((I=$.find(n=>n.id===j))==null?void 0:I.credits)??0)})]}),e.jsxs("span",{className:"buy-modal__total-usd",children:["$",(((H=$.find(n=>n.id===j))==null?void 0:H.usd)??0).toFixed(2)]})]}),e.jsxs("div",{className:"buy-modal__ctas",children:[e.jsx("button",{className:"buy-modal__btn buy-modal__btn--outline",onClick:c,children:s("buyModal.cancel")}),e.jsx("button",{className:"buy-modal__btn buy-modal__btn--gradient",onClick:()=>void G(),children:s("buyModal.buy")})]})]}),_==="ready"&&e.jsxs("div",{className:"buy-modal__body",children:[e.jsx(fe,{item:r,priceCredits:W}),e.jsx("div",{className:"buy-modal__ctas",children:e.jsx("button",{className:"buy-modal__btn buy-modal__btn--gradient buy-modal__btn--full",onClick:()=>void U(),children:s("buyModal.buy")})})]}),_==="processing"&&e.jsxs("div",{className:"buy-modal__body buy-modal__processing",children:[e.jsx("img",{className:"buy-modal__logo",src:"/icon-192.png",alt:"",width:61,height:61}),e.jsx("div",{className:"buy-modal__processing-text",children:t?s("buyModal.completingPurchase"):s("buyModal.completingTransaction")}),e.jsx("div",{className:"buy-modal__progress","aria-hidden":!0,children:e.jsx("span",{className:"buy-modal__progress-fill"})})]}),_==="complete"&&e.jsxs("div",{className:"buy-modal__body",children:[e.jsxs("div",{className:"buy-modal__success",children:[e.jsxs("svg",{viewBox:"0 0 64 64",width:"64",height:"64","aria-hidden":!0,children:[e.jsx("circle",{cx:"32",cy:"32",r:"32",fill:"#34ce74"}),e.jsx("path",{d:"M20 33l8 8 16-18",fill:"none",stroke:"#fff",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"})]}),e.jsxs("p",{className:"buy-modal__success-text",children:[e.jsx("b",{children:s("getCredits.successTitle")})," ",s("buyModal.successBody")]})]}),e.jsxs("div",{className:"buy-modal__ctas",children:[e.jsx("button",{className:"buy-modal__btn buy-modal__btn--outline",onClick:()=>y("/assets?tab=mine"),children:s("buyModal.myAssets")}),e.jsxs("button",{className:"buy-modal__btn buy-modal__btn--ruby",onClick:c,children:[s("buyModal.tryInWorld"),e.jsx("svg",{viewBox:"0 0 24 24",width:"20",height:"20","aria-hidden":!0,children:e.jsx("path",{d:"M5 12h12M13 7l5 5-5 5",fill:"none",stroke:"#fcfcfc",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})]})]})}function fe({item:r,priceCredits:c}){return e.jsxs("div",{className:"buy-modal__asset",children:[e.jsx("div",{className:"buy-modal__asset-thumb",children:r.thumbnail?e.jsx("img",{src:r.thumbnail,alt:""}):null}),e.jsxs("div",{className:"buy-modal__asset-info",children:[e.jsxs("div",{children:[e.jsx("div",{className:"buy-modal__asset-name",title:r.name,children:r.name||s("buyModal.itemFallback")}),r.creator?e.jsx("div",{className:"buy-modal__asset-creator",children:s("search.byCreator",{name:r.creator})}):null]}),e.jsxs("div",{className:"buy-modal__asset-price",children:[e.jsx(M,{className:"buy-modal__asset-price-ico"}),e.jsx("span",{children:X(c)})]})]})]})}const Fa=m.lazy(async()=>{const[{EmoteControls:r},{Experimental_CssVarsProvider:c},{light:t}]=await Promise.all([se(()=>import("./index-DYoplOYj.js").then(o=>o.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])),se(()=>import("./index-TnwTqyFy.js"),__vite__mapDeps([11,3,1,2,4,5,6,7,12,9,13,14])),se(()=>import("./index-iTvBkd0G.js"),__vite__mapDeps([15,3,1,2,4,5,6,7,16,14,13,9]))]);return{default:o=>e.jsx(c,{theme:t,children:e.jsx(r,{...o})})}});function La(r){return e.jsx(m.Suspense,{fallback:null,children:e.jsx(Fa,{...r})})}function Da({item:r}){const c=ie(N=>{var g;return(g=N.session)==null?void 0:g.address}),{data:t,isLoading:o}=Ke(c),d=c&&t?c:"default",p=r.category==="emote",[y,_]=m.useState("item"),l=!p&&y==="item",v=l||!o,[a,j]=m.useState(!0);m.useEffect(()=>{j(!0)},[r.id,l]);const P=!!c&&!!t,f=P&&Ue(r,Ge(t)),L=Qe(r)[0],C=P&&!f&&!p;return e.jsxs(e.Fragment,{children:[v?e.jsx(He,{id:"shop-item-preview",contractAddress:r.contractAddress,tokenId:r.tokenId??void 0,itemId:r.tokenId?void 0:r.itemId??void 0,profile:l?void 0:f?d:"default",bodyShape:l||f?void 0:L,type:p?void 0:l?V.PreviewType.WEARABLE:V.PreviewType.AVATAR,emote:p||l?void 0:V.PreviewEmote.FASHION,disableBackground:!0,wheelZoom:p?1.5:void 0,wheelStart:p?100:void 0,dev:we.chainId===80002,onLoad:()=>j(!1)}):null,!v||a?e.jsx("div",{className:"item-preview__loading","aria-busy":"true","aria-label":s("itemPreview.loading"),children:e.jsx("span",{className:"item-preview__spinner","aria-hidden":!0})}):null,C&&!l?e.jsx("p",{className:"item-preview__note",children:s("itemPreview.shownOnBody",{shape:Ye(L)})}):null,p?e.jsx("div",{className:"item-preview__emote-controls","data-testid":"emote-controls",children:e.jsx(La,{wearablePreviewId:"shop-item-preview",hideFrameInput:!0})}):e.jsxs("div",{className:"item-preview__toggle",role:"group","aria-label":s("itemPreview.previewMode"),children:[e.jsxs("button",{type:"button",className:y==="avatar"?"is-active":"","aria-pressed":y==="avatar","aria-label":s("itemPreview.onAvatar"),onClick:()=>_("avatar"),children:[e.jsxs("svg",{className:"item-preview__toggle-ico",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,children:[e.jsx("circle",{cx:"12",cy:"7.5",r:"4"}),e.jsx("path",{d:"M4 20c0-4.2 3.6-6.5 8-6.5s8 2.3 8 6.5v.5H4z"})]}),e.jsx("span",{className:"item-preview__toggle-label",children:s("itemPreview.onAvatar")})]}),e.jsxs("button",{type:"button",className:y==="item"?"is-active":"","aria-pressed":y==="item","aria-label":s("itemPreview.item"),onClick:()=>_("item"),children:[e.jsx("svg",{className:"item-preview__toggle-ico",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,children:e.jsx("path",{d:"M8.5 3 3 6l1.8 3.8 2.2-1V21h10V8.8l2.2 1L22 6l-5.5-3a2.6 2.6 0 0 1-4.5 1.4A2.6 2.6 0 0 1 8.5 3z"})}),e.jsx("span",{className:"item-preview__toggle-label",children:s("itemPreview.item")})]})]})]})}const Ta=re(Je)`
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
gap: 1px;
|
|
7
|
-
background: ${Ce.colors.lineStrong};
|
|
8
|
-
`;function Ba({contractAddress:r,name:c,items:t,className:o}){const d=te();if(!r||!c)return null;const p=(t??[]).map(l=>l.thumbnail).filter(l=>!!l).slice(0,4),y=p.slice(0,2),_=p.slice(2,4);return e.jsxs(Ze,{as:"button","data-link":!0,className:o,"data-testid":"creator",onClick:l=>{l.stopPropagation(),d(`/collection/${r}`)},children:[p.length>0?e.jsxs(Ta,{as:"span","data-avatar":!0,"data-testid":"creator-ava","aria-hidden":!0,children:[e.jsx("span",{className:`collection-collage__row${_.length===0?" collection-collage__row--full":""}`,children:y.map((l,v)=>e.jsx("img",{src:l,alt:""},v))}),_.length>0?e.jsx("span",{className:"collection-collage__row",children:_.map((l,v)=>e.jsx("img",{src:l,alt:""},v))}):null]}):null,e.jsx(Xe,{"data-testid":"creator-name",children:ea(c)})]})}const Ra=re(ke)`
|
|
9
|
-
margin-top: 6px;
|
|
10
|
-
`,ge=re(ke)`
|
|
11
|
-
&& {
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 48px;
|
|
14
|
-
font-size: 15px;
|
|
15
|
-
font-weight: 600;
|
|
16
|
-
letter-spacing: 0.46px;
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
gap: 8px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
${Ce.media.down("lg")} {
|
|
24
|
-
.item-detail__ctas--dual && {
|
|
25
|
-
flex: 1 1 auto;
|
|
26
|
-
width: auto;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
`;function $a(r){return Object.values(V.Rarity).includes(r)}function Va(r){return r==="male"?s("itemDetail.genderMale"):r==="female"?s("itemDetail.genderFemale"):r==="unisex"?s("itemDetail.genderUnisex"):null}function Ne(r){return r.wearableCategory?r.wearableCategory.replace(/_/g," "):r.category==="emote"?s("itemDetail.categoryEmote"):s("itemDetail.categoryWearable")}function ds(){const{contractAddress:r,tokenId:c}=De(),{state:t}=Te(),o=te(),d=!!(t!=null&&t.market),p=(t==null?void 0:t.marketPriceCredits)??null,y=pe(i=>i.add),_=pe(i=>i.items),l=be(i=>i.toggle),{session:v}=ie(),[a,j]=m.useState(()=>t!=null&&t.item?{...t.item,tradeId:t.tradeId??t.item.tradeId}:{id:`${r}-${c}`,name:"",creator:"",contractAddress:r??"",itemId:null,category:"wearable",rarity:"common",network:"MATIC",chainId:we.chainId,thumbnail:"",priceCredits:0,gender:null,isSmart:!1,tokenId:c??void 0,tradeId:t==null?void 0:t.tradeId}),[P,f]=m.useState(!1),[L,C]=m.useState(!!(t!=null&&t.resumeBuy));m.useEffect(()=>{t!=null&&t.resumeBuy&&f(!0)},[t==null?void 0:t.resumeBuy]);const{data:N=[],isFetched:g}=O({queryKey:["collection-items",a.contractAddress],enabled:!!a.contractAddress,queryFn:()=>_a(a.contractAddress,{first:20}).then(i=>i.items)}),W=a.available==null&&!a.tokenId,{data:k,isLoading:U}=O({queryKey:["shop-item",a.contractAddress,c],enabled:!d&&!!a.contractAddress&&!!c&&(!(t!=null&&t.item)||W),queryFn:()=>ha(a.contractAddress,c)});m.useEffect(()=>{k&&j(i=>i.tradeId?i.available!=null&&i.wearableCategory?i:{...i,available:i.available??k.available,wearableCategory:i.wearableCategory??k.wearableCategory}:{...k})},[k]);const[G,Q]=m.useState(!1),{data:D=""}=O({queryKey:["item-desc",a.contractAddress,a.itemId],enabled:!!a.contractAddress&&!!a.itemId,staleTime:5*6e4,queryFn:()=>pa(a.contractAddress,a.itemId)}),{data:I}=O({queryKey:["collection-meta",a.contractAddress],enabled:!!a.contractAddress,staleTime:5*6e4,queryFn:()=>ba(a.contractAddress)});m.useEffect(()=>{if(a.name||k||N.length===0)return;const i=c&&N.find(S=>S.tokenId===c||S.itemId===c)||N.find(S=>S.contractAddress===a.contractAddress);i&&j(S=>({...i,tradeId:S.tradeId??i.tradeId}))},[N,k]);const H=m.useMemo(()=>{const i=new Set,S=[];for(const F of N){if(F.id===a.id||a.itemId&&F.itemId===a.itemId||a.tokenId&&F.tokenId===a.tokenId)continue;const ue=`${F.contractAddress}-${F.itemId??F.tokenId??F.id}`;i.has(ue)||(i.add(ue),S.push(F))}return S},[N,a.id,a.itemId,a.tokenId]),{data:n,isLoading:x}=O({queryKey:["detail-trade",a.id,a.tradeId,a.contractAddress,a.itemId],enabled:!!a.contractAddress,queryFn:async()=>{if(a.tradeId)return a.tradeId;if(a.itemId){const i=await xa(a.contractAddress,a.itemId);return(i==null?void 0:i.id)??null}return null}}),u=a.tradeId??n??void 0,h=!!u,{data:b}=Aa(d),A=m.useMemo(()=>{if(!d||!(t!=null&&t.item))return null;const i=t.item;return i.manaWei?{tradeId:i.tradeId??i.id,listingType:"primary",contractAddress:i.contractAddress,itemId:i.itemId??"",name:i.name,thumbnail:i.thumbnail,rarity:i.rarity,category:i.category,wearableCategory:i.wearableCategory??null,creator:i.creator,manaWei:i.manaWei,available:1,network:i.network,chainId:i.chainId,createdAt:0}:null},[d,t==null?void 0:t.item]),T=d&&p!=null&&!!b&&!!A,E=aa({priceCredits:a.priceCredits,compareAtCredits:a.compareAtCredits,saleEndsAt:a.saleEndsAt}),q=m.useMemo(()=>({...a,tradeId:u,id:u??a.id}),[a,u]),B=_.some(i=>i.id===q.id),w=be(i=>!!i.items[a.id]),z=m.useRef(null);m.useEffect(()=>{!a.name||x||z.current===a.id||(z.current=a.id,K("Shop Viewed Item",{...sa(a),for_sale:h}),ta(a))},[a.id,a.name,x,h]);const Y=`${r}/${c}`,le=m.useRef(Y);m.useEffect(()=>{le.current!==Y&&(le.current=Y,t!=null&&t.item&&j({...t.item,tradeId:t.tradeId??t.item.tradeId}),typeof window<"u"&&window.scrollTo({top:0,behavior:"smooth"}))},[Y]);function Ie(){!h||B||J||y(q,"item_detail")}const ee=$a(a.rarity)?a.rarity:V.Rarity.COMMON,de=Va(a.gender),ne=ia(a),ce=ra(a.gender),Ae=h&&E,Me=s("itemDetail.moreFromCollection"),J=la(a,v==null?void 0:v.address),oe=h?B?s("assetCard.inCart"):x?s("itemDetail.checking"):s("assetCard.addToCart"):s("itemDetail.notForSale"),Se=typeof a.available=="number"&&a.available>0&&!a.tokenId&&!d,Pe=!J&&h&&!d,Ee=d||!J,Fe=U||!!a.contractAddress&&!g,me=!a.name&&!Fe,Le=/^https?:\/\//i.test(a.thumbnail);return da(me?{title:s("seo.item.notFoundTitle"),noindex:!0}:a.name?{title:a.name,description:D||s("seo.item.fallbackDescription",{name:a.name,rarity:a.rarity,category:Ne(a),creator:Sa(a.creator)}),image:Le?a.thumbnail:void 0,type:"product"}:{}),me?e.jsxs("div",{className:"item-detail item-detail--notfound",children:[e.jsx(R,{name:"cart",className:"item-detail__notfound-ico"}),e.jsx("h1",{className:"item-detail__notfound-title",children:s("itemDetail.notAvailableTitle")}),e.jsx("p",{className:"muted",children:s("itemDetail.notAvailableBody")}),e.jsx(Ra,{variant:"purple",onClick:()=>o("/assets"),children:s("notFound.cta")})]}):e.jsxs("div",{className:"item-detail",children:[e.jsxs("nav",{className:"item-detail__crumbs","aria-label":s("itemDetail.breadcrumbAria"),children:[e.jsx("button",{className:"item-detail__crumb-link",onClick:()=>o("/assets"),children:s("nav.collectibles")}),e.jsx("span",{className:"item-detail__crumb-sep",children:"/"}),e.jsx("span",{className:"item-detail__crumb-current",children:a.name||s("itemDetail.itemFallback")})]}),e.jsxs("div",{className:"item-detail__main",children:[e.jsxs("div",{className:"item-detail__preview","data-testid":"item-preview",children:[a.name?e.jsx(Da,{item:a}):e.jsx("div",{className:"item-preview__loading","aria-busy":"true","aria-label":s("itemPreview.loading"),children:e.jsx("span",{className:"skeleton item-preview__skeleton","aria-hidden":!0})}),e.jsx("button",{className:`item-detail__fav item-detail__fav--preview${w?" is-on":""}`,onClick:()=>l(a),"aria-pressed":w,"aria-label":w?s("assetCard.removeFromFavorites"):s("assetCard.addToFavorites"),children:e.jsx(R,{name:w?"heart-solid":"heart",size:18})})]}),e.jsx("div",{className:"item-detail__info",children:a.name?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"item-detail__info-head",children:[e.jsx("h1",{className:"item-detail__title",children:a.name}),e.jsx("button",{className:`item-detail__fav${w?" is-on":""}`,onClick:()=>l(a),"aria-pressed":w,"aria-label":w?s("assetCard.removeFromFavorites"):s("assetCard.addToFavorites"),children:e.jsx(R,{name:w?"heart-solid":"heart",size:18})})]}),e.jsxs("div",{className:"item-detail__chips",children:[e.jsx("span",{className:"chip chip--rarity",style:{background:oa(ee),color:ca(ee)},title:na(a.rarity),children:a.rarity}),e.jsxs("span",{className:"chip item-detail__chip",children:[ne?e.jsx(R,{name:ne,size:18,color:"var(--text-2)"}):null,Ne(a)]}),de?e.jsxs("span",{className:"chip item-detail__chip",children:[ce?e.jsx(R,{name:ce,size:18,color:"var(--text-2)"}):null,de]}):null]}),D?e.jsxs("div",{className:"item-detail__section item-detail__description",children:[e.jsx("div",{className:"item-detail__label",children:s("itemDetail.description")}),e.jsx("p",{className:`item-detail__desc-text${G?" is-expanded":""}`,children:D}),D.length>140?e.jsx("button",{className:"link item-detail__desc-toggle",onClick:()=>Q(i=>!i),children:G?s("itemDetail.showLess"):s("itemDetail.readMore")}):null]}):null,a.creator||I!=null&&I.name?e.jsxs("div",{className:"item-detail__meta",children:[a.creator?e.jsxs("div",{className:"item-detail__meta-col",children:[e.jsx("div",{className:"item-detail__label",children:s("itemDetail.creator")}),e.jsx(ma,{address:a.creator,className:"item-detail__creator",linkToProfile:!0,hidePrefix:!0})]}):null,I!=null&&I.name?e.jsxs("div",{className:"item-detail__meta-col item-detail__meta-col--collection",children:[e.jsx("div",{className:"item-detail__label",children:s("itemDetail.collection")}),e.jsx(Ba,{contractAddress:a.contractAddress,name:I.name,items:N,className:"item-detail__creator"})]}):null]}):null,e.jsx("hr",{className:"item-detail__divider"}),e.jsx("div",{className:"item-detail__price-block",children:e.jsxs("div",{className:"item-detail__price-row",children:[e.jsxs("div",{className:"item-detail__price-col",children:[e.jsx("div",{className:"item-detail__price-label",children:s("itemDetail.price")}),d?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"item-detail__price item-detail__price--market",children:p==null?e.jsx("span",{className:"item-detail__price-value",children:"—"}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"item-detail__approx","aria-hidden":!0,children:"≈"}),e.jsx(M,{className:"item-detail__diamond"}),e.jsx("span",{className:"item-detail__price-value",children:p})]})}),e.jsx("div",{className:"item-detail__market-note muted",children:s("assetCard.marketPrice")})]}):h?Ae?e.jsxs("div",{className:"item-detail__price item-detail__price--sale",children:[e.jsxs("span",{className:"item-detail__price",children:[e.jsx(M,{className:"item-detail__diamond"}),e.jsx("span",{className:"item-detail__price-value",children:a.priceCredits})]}),e.jsxs("span",{className:"item-detail__price-was",children:[e.jsx(M,{className:"item-detail__diamond item-detail__diamond--was"}),a.compareAtCredits]}),xe(a.compareAtCredits,a.priceCredits)>0?e.jsx("span",{className:"item-detail__sale-badge",children:s("assetCard.saleWithDiscount",{pct:xe(a.compareAtCredits,a.priceCredits)})}):null,e.jsx(ua,{endsAt:a.saleEndsAt,className:"item-detail__countdown"})]}):e.jsxs("div",{className:"item-detail__price",children:[e.jsx(M,{className:"item-detail__diamond"}),e.jsx("span",{className:"item-detail__price-value",children:a.priceCredits})]}):e.jsx("div",{className:"item-detail__price item-detail__price--none",children:s("itemDetail.notForSale")})]}),Se?e.jsxs("div",{className:"item-detail__stock-col",children:[e.jsx("div",{className:"item-detail__price-label",children:s("itemDetail.stock")}),e.jsxs("div",{className:"item-detail__stock-value",children:[(a.available??0).toLocaleString(),"/",V.Rarity.getMaxSupply(ee).toLocaleString()]})]}):null]})}),e.jsx("div",{className:`item-detail__ctas${Ee?" item-detail__ctas--buttons":""}${Pe?" item-detail__ctas--dual":""}`,children:d?e.jsxs(ge,{variant:"purple",onClick:()=>f(!0),disabled:!T,children:[e.jsx("span",{className:"item-detail__cta-label",children:s("assetCard.buyNow")}),p!=null?e.jsxs("span",{className:"item-detail__cta-price","aria-hidden":!0,children:[e.jsx(M,{className:"item-detail__cta-diamond"}),p]}):null]}):J?e.jsxs("p",{className:"item-detail__own-note muted",children:[s("itemDetail.ownItemPrefix")," ",e.jsx(Be,{to:"/my-assets",children:s("nav.myAssets")}),s("itemDetail.ownItemSuffix")]}):e.jsxs(e.Fragment,{children:[h?e.jsxs(ge,{variant:"purple",onClick:()=>f(!0),disabled:x,children:[e.jsx("span",{className:"item-detail__cta-label",children:s("assetCard.buyNow")}),e.jsxs("span",{className:"item-detail__cta-price","aria-hidden":!0,children:[e.jsx(M,{className:"item-detail__cta-diamond"}),a.priceCredits]})]}):null,e.jsxs("button",{className:"item-detail__addcart",onClick:Ie,disabled:!h||B||x,"aria-label":oe,children:[e.jsx(R,{name:"cart-solid"}),e.jsx("span",{className:"item-detail__addcart-label",children:oe})]})]})})]}):e.jsx(Wa,{})})]}),e.jsx(Pa,{title:Me,items:H,onViewAll:a.contractAddress?()=>o(`/collection/${a.contractAddress}`):void 0}),P&&d&&A&&b?e.jsx(Ma,{listing:A,rate:b,onClose:()=>f(!1),onSold:()=>f(!1)}):P&&!d?e.jsx(Ea,{item:q,resume:L,onClose:()=>{f(!1),C(!1)}}):null]})}function Wa(){return e.jsxs("div",{className:"item-detail__info-skel","aria-hidden":!0,children:[e.jsx("span",{className:"skeleton id-skel__title"}),e.jsxs("div",{className:"id-skel__chips",children:[e.jsx("span",{className:"skeleton id-skel__chip"}),e.jsx("span",{className:"skeleton id-skel__chip"})]}),e.jsx("span",{className:"skeleton id-skel__line"}),e.jsx("span",{className:"skeleton id-skel__line id-skel__line--short"}),e.jsx("hr",{className:"item-detail__divider"}),e.jsx("span",{className:"skeleton id-skel__price"}),e.jsx("span",{className:"skeleton id-skel__btn"})]})}export{ds as ItemDetail,ds as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as h,m as C}from"./index-D2jE21o9.js";const f="dcl_shop_resume_cart";function l(r){return Math.ceil(r/10)}async function T(r,a,u){var o;const n=[],s=[],c=[];for(const e of r)try{const t=await u(e);if(!t){s.push(e);continue}if(h(t,a)){c.push(e);continue}const i=C((o=t.received[0])==null?void 0:o.amount);if(!Number.isFinite(i)||i<=0){s.push(e);continue}n.push({item:e,trade:t,usdCents:i,priceCredits:l(i)})}catch{s.push(e)}const d=n.reduce((e,t)=>e+t.priceCredits,0),p=s.length>0||c.length>0||n.some(e=>e.priceCredits!==e.item.priceCredits);return{buyable:n,unavailable:s,own:c,liveTotalCredits:d,orderChanged:p}}export{f as R,T as r};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ico{display:inline-block;width:20px;height:20px;flex:none;background-color:currentColor;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.ccy-mark{width:1em;height:1em;vertical-align:-.125em}.cartd{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:flex;justify-content:flex-end}.cartd__scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#16151880;animation:cartd-fade .16s ease}.cartd__panel{position:relative;z-index:1;display:flex;flex-direction:column;width:min(480px,100vw);height:100%;background:#fff;box-shadow:-8px 0 32px #1615182e;animation:cartd-slide .22s ease;font-family:var(--sans)}@keyframes cartd-fade{0%{opacity:0}to{opacity:1}}@keyframes cartd-slide{0%{transform:translate(24px);opacity:.4}to{transform:none;opacity:1}}.cartd__head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px;border-bottom:1px solid #cfcdd4}.cartd__title{margin:0;font-size:20px;font-weight:600;line-height:1.6;color:#161518}.cartd__close{flex:none;display:grid;place-items:center;width:31px;height:31px;border:0;background:none;color:#161518;cursor:pointer;border-radius:8px}.cartd__close:hover{background:#ecebed}.cartd__close svg{width:18px;height:18px}.cartd__body{flex:1 1 auto;overflow-y:auto;display:flex;flex-direction:column;gap:24px;padding:16px 16px 24px}.cartd__banner{display:flex;align-items:flex-start;gap:16px;padding:12px;border-radius:16px;background:#c1eecf80}.cartd__banner-check{flex:none;width:20px;height:20px}.cartd__banner p{margin:0;font-size:16px;line-height:1.5;font-weight:400;color:#242129}.cartd__banner strong{font-weight:600}.cartd__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.cartd__card{position:relative;display:flex;gap:12px;align-items:stretch;border:1px solid #cfcdd4;border-radius:12px;overflow:hidden;background:#fff}.cartd__thumb{position:relative;flex:none;display:grid;place-items:center;width:128px;align-self:stretch;background:#ecebed;border-radius:12px}.cartd__thumb img{width:82%;height:82%;object-fit:contain;filter:drop-shadow(.6px 2.2px 2.8px rgba(0,0,0,.1))}.cartd__thumb-check{position:absolute;top:8px;left:8px;width:20px;height:20px}.cartd__info{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:16px 8px}.cartd__name{font-size:16px;font-weight:600;line-height:1.2;color:#161518;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:28px}.cartd__by{margin-top:4px;font-size:10px;color:#716b7c}.cartd__by [data-avatar]{display:none}.cartd__by [data-testid=creator-name]{font-size:10px;line-height:1.43}.cartd__rowbottom{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-right:8px}.cartd__stepper{display:flex;align-items:center;gap:8px;padding:6px;border:.5px solid #a09ba8;border-radius:50px}.cartd__step{display:grid;place-items:center;width:16px;height:16px;padding:0;border:0;background:none;color:#161518;cursor:pointer}.cartd__step:disabled{color:#a09ba8;cursor:default}.cartd__step svg{width:16px;height:16px}.cartd__qty{min-width:12px;text-align:center;font-size:14px;font-weight:500;line-height:1.2;color:#161518}.cartd__price{display:flex;align-items:center;gap:4px;font-size:24px;font-weight:600;line-height:1;color:#242129;white-space:nowrap}.cartd__diamond{width:22px;height:22px;color:#a14bf3}.cartd__del{position:absolute;top:9px;right:9px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;background:none;color:#716b7c;cursor:pointer}.cartd__del:hover{color:#d33}.cartd__foot{flex:none;display:flex;flex-direction:column;gap:12px;padding:16px;background:#fff;border-top:1px solid #cfcdd4;box-shadow:0 -4px 12px 2px #0000001f}.cartd__totalrow{display:flex;align-items:center;justify-content:space-between;gap:8px}.cartd__total-label{font-size:14px;font-weight:600;line-height:1.57;color:#5e5b67}.cartd__total-val{display:flex;align-items:center;gap:8px;font-size:24px;font-weight:700;line-height:1;color:#161518}.cartd__total-diamond{width:28px;height:28px;color:#a14bf3}.cartd__ctas{display:flex;flex-direction:column;gap:12px}.cartd__cta{display:flex;align-items:center;justify-content:center;height:46px;border-radius:8px;font-family:var(--sans);font-size:15px;font-weight:600;line-height:24px;letter-spacing:.46px;text-transform:uppercase;text-decoration:none;cursor:pointer}.cartd__cta--primary{border:0;background:#691fa9;color:#fcfcfc}.cartd__cta--primary:hover{background:#58198c}.cartd__cta--secondary{border:2px solid #c640cd;background:#fff;color:#691fa9}.cartd__cta--secondary:hover{background:#c640cd0f}button.subnav__cart{border:0;padding:0;font:inherit;cursor:pointer}.coll-thumb{display:grid;width:100%;height:100%;gap:1px;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;background:var(--line)}.coll-thumb[data-count="1"]{grid-template-columns:1fr}.coll-thumb[data-count="2"]{grid-template-rows:1fr}.coll-thumb[data-count="3"] .coll-thumb__cell:first-child{grid-column:span 2}.coll-thumb__cell{display:grid;place-items:center;overflow:hidden;background-size:cover;background-position:center}.coll-thumb__cell img{width:100%;height:100%;object-fit:cover;display:block}.dcl-footer{width:100%}.dcl-footer__main{width:100%;display:flex;justify-content:space-between;align-items:stretch;padding:32px 80px;background:radial-gradient(ellipse at 0% 0%,#792f9e99,#4a1766cc,#330c4ae6,#1b002e 75%)}.dcl-footer__left{display:flex;flex-direction:column;gap:40px;padding:40px 0;max-width:450px}.dcl-footer__wordmark{font-weight:700;font-size:40px;line-height:1;color:#fcfcfc;letter-spacing:-.02em}.dcl-footer__news{display:flex;flex-direction:column;gap:12px}.dcl-footer__news-title{margin:0;font-weight:500;font-size:20px;line-height:1.6;color:#fcfcfc}.dcl-footer__news-frame{width:100%;max-width:450px;border:none;border-radius:6px}.dcl-footer__connect{display:flex;flex-direction:column;gap:16px}.dcl-footer__connect--mobile{display:none}.dcl-footer__label{margin:0;font-weight:400;font-size:16px;line-height:1.5;color:#cfcdd4;text-transform:uppercase}.dcl-footer__social{display:flex;align-items:center;gap:28px;color:#fff}.dcl-footer__social a{color:inherit;display:flex;transition:opacity .2s ease}.dcl-footer__social a:hover{opacity:.7}.dcl-footer__right{display:flex;gap:80px;padding:40px 0}.dcl-footer__col{display:flex;flex-direction:column;gap:16px}.dcl-footer__link{font-weight:600;font-size:16px;line-height:1.5;color:#fff;text-decoration:none;white-space:nowrap}.dcl-footer__link:hover{text-decoration:underline}.dcl-footer__mobile-menu{display:none;flex-direction:column;width:100%}.dcl-footer__menu-label{margin:0;padding:12px 0;border-bottom:.5px solid rgba(255,255,255,.1);font-weight:400;font-size:14px;line-height:1.75;color:#cfcdd4;text-transform:uppercase}.dcl-footer__dropdown{display:flex;justify-content:space-between;align-items:center;width:100%;padding:24px 0;border:none;border-bottom:.5px solid rgba(255,255,255,.1);background:none;cursor:pointer;font-weight:600;font-size:16px;line-height:1.75;color:#fff;text-align:left}.dcl-footer__chev{display:inline-flex;color:#fff;transition:transform .3s ease}.dcl-footer__chev.is-open{transform:rotate(180deg)}.dcl-footer__dropdown-content{display:flex;flex-direction:column;gap:16px;overflow:hidden;max-height:0;opacity:0;padding:0;transition:max-height .3s ease,opacity .3s ease,padding .3s ease}.dcl-footer__dropdown-content.is-open{max-height:400px;opacity:1;padding:16px 0 8px}.dcl-footer__mlink{font-weight:400;font-size:15px;line-height:1.5;color:#fcfcfc;text-decoration:none;padding-left:8px}.dcl-footer__mlink:hover{text-decoration:underline}.dcl-footer__bottom{width:100%;background:#161518;box-shadow:inset 0 1px #43404a;display:flex;align-items:center;justify-content:space-between;padding:16px 24px}.dcl-footer__bottom-left{display:flex;align-items:center;gap:16px}.dcl-footer__lang{position:relative}.dcl-footer__lang-btn{display:flex;align-items:center;gap:8px;background:none;border:none;cursor:pointer;padding:0;font-weight:600;font-size:15px;line-height:24px;color:#fff}.dcl-footer__lang-menu{position:absolute;bottom:100%;left:0;margin-bottom:8px;background:#242129;border-radius:8px;border:1px solid #43404a;padding:4px 0;min-width:140px;z-index:10}.dcl-footer__lang-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:8px 16px;background:none;border:none;cursor:pointer;font-size:14px;color:#cfcdd4;white-space:nowrap}.dcl-footer__lang-menu button:hover{background:#ffffff14}.dcl-footer__lang-menu button.is-active{color:#fff;font-weight:600}.dcl-footer__legal{display:flex;align-items:center;gap:16px}.dcl-footer__legal-link{font-weight:400;font-size:14px;line-height:1.43;color:#a09ba8;text-decoration:none;white-space:nowrap}.dcl-footer__legal-link:hover{color:#cfcdd4}.dcl-footer__copy{font-weight:400;font-size:15px;line-height:24px;color:#a09ba8;white-space:nowrap}@media(max-width:768px){.dcl-footer__main{flex-direction:column;align-items:center;gap:32px;padding:48px 16px;background:radial-gradient(ellipse at 0% 0%,#6d2297,#591a7d 12%,#451263 25%,#300948,#1c012e 75%)}.dcl-footer__left{padding:0;width:100%;align-items:center;max-width:100%}.dcl-footer__news{width:100%;align-items:center}.dcl-footer__news-title{text-align:center}.dcl-footer__connect--desktop{display:none}.dcl-footer__connect--mobile{display:flex;width:100%;padding-top:12px}.dcl-footer__right{display:none}.dcl-footer__mobile-menu{display:flex}.dcl-footer__bottom{flex-direction:column;align-items:flex-start;gap:16px}.dcl-footer__bottom-left{flex-direction:column;align-items:flex-start;gap:16px;width:100%}.dcl-footer__legal{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;width:100%}.dcl-footer__copy{display:none}}.ov-hero{position:relative;display:flex;align-items:center;aspect-ratio:1721 / 304;max-height:340px;margin-bottom:40px;overflow:hidden;border-radius:var(--radius-banner);background:#14161b}.ov-hero__bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center right}.ov-hero__scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:linear-gradient(90deg,#0a0b0ec7,#0a0b0e73 38%,#0a0b0e00 68%)}.ov-hero__inner{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding:0 64px}.ov-hero__title{margin:0;color:#fff;font-size:clamp(24px,3.2vw,36px);font-weight:700;line-height:1.235;text-transform:uppercase}@media(max-width:768px){.ov-hero{aspect-ratio:auto;min-height:200px;max-height:none}.ov-hero__inner{padding:0 24px}}.ov-carousel{position:relative;margin-bottom:40px}.ov-carousel__viewport{position:relative}.ov-carousel__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 64px)/5);gap:16px;overflow-x:auto;overflow-y:hidden;padding:12px 0;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}.ov-carousel__track::-webkit-scrollbar{width:0;height:0;display:none}.ov-carousel__track>*{scroll-snap-align:start}@media(max-width:1200px){.ov-carousel__track{grid-auto-columns:calc((100% - 48px)/4)}}@media(max-width:900px){.ov-carousel__track{grid-auto-columns:calc((100% - 32px) / 3)}}@media(max-width:720px){.ov-carousel__track{grid-auto-columns:calc((100% - 16px)/2)}}.overview .row__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 64px)/5);padding:12px 0;margin:0}@media(max-width:1200px){.overview .row__track{grid-auto-columns:calc((100% - 48px)/4)}}@media(max-width:900px){.overview .row__track{grid-auto-columns:calc((100% - 32px) / 3)}}@media(max-width:720px){.overview .row__track{grid-auto-columns:calc((100% - 16px)/2)}}.ov-arrow{position:absolute;top:var(--ov-arrow-top, 110px);transform:translateY(-50%);z-index:5;width:53px;height:53px;padding:0;border:0;background:transparent;cursor:pointer;filter:drop-shadow(0 2px 6px rgba(0,0,0,.18));transition:transform .15s ease,filter .15s ease,opacity .15s ease}.ov-arrow img{display:block;width:100%;height:100%}.ov-arrow--right{right:-40px}.ov-arrow--left{left:-40px}.ov-arrow--left img{transform:scaleX(-1)}.ov-arrow:hover:not(:disabled){transform:translateY(-50%) scale(1.07)}.ov-arrow:disabled{opacity:0;pointer-events:none}@media(max-width:900px){.ov-arrow{display:none}}.ov-carousel__dots{display:flex;justify-content:center;gap:8px;margin-top:12px}.ov-dot{width:12px;height:12px;padding:0;border:0;border-radius:50%;background:#d9d6de;transition:background .15s ease}.ov-dot.is-active{background:var(--accent)}.ov-promos{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0 0 40px}.ov-promo{display:block;border-radius:var(--radius-banner);overflow:hidden;filter:drop-shadow(0 2.5px 6.875px rgba(0,0,0,.25))}.ov-promo img{display:block;width:100%;height:auto;aspect-ratio:867 / 386;object-fit:cover}@media(max-width:768px){.ov-promos{grid-template-columns:1fr}}.ov-creators{margin:0 0 48px}.ov-creators__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:16px}.ov-creators__title{margin:0;color:var(--text);font-size:20px;font-weight:600;line-height:1.6}.ov-creators__period{color:var(--text-2);font-size:14px;font-weight:600}.ov-creators__scroll{overflow-x:auto}.ov-creators__table{width:100%;min-width:640px;border-collapse:separate;border-spacing:0 8px}.ov-creators__th{background:var(--amethyst);color:#fff;font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;text-align:left;white-space:nowrap;padding:12px 24px}.ov-creators__th:first-child{border-radius:8px 0 0 8px}.ov-creators__th:last-child{border-radius:0 8px 8px 0}.ov-creators__th--rank{text-align:center}.ov-creators__th--num{text-align:right}.ov-creators__row td{background:#f5f5f5cc;padding:12px 24px;vertical-align:middle;height:64px}.ov-creators__row td:first-child{border-radius:8px 0 0 8px}.ov-creators__row td:last-child{border-radius:0 8px 8px 0}.ov-creators__rank-cell{text-align:center;width:96px}.ov-creators__rank{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:40px;padding:0 14px;border-radius:8px;background:var(--amethyst);color:#fff;font-size:18px;font-weight:500;line-height:1}.ov-creators__rank--skeleton{background:#d9d6de;animation:ov-creators-pulse 1.2s ease-in-out infinite}.ov-creators__creator-cell{min-width:200px}.ov-creators__creator{font-size:16px}.ov-creators__creator [data-avatar]{width:32px;height:32px}.ov-creators__creator [data-testid=creator-name]{color:var(--accent);font-weight:600}.ov-creators__creator[data-link]:hover [data-testid=creator-name]{color:var(--accent)}.ov-creators__num{text-align:right;color:var(--text);font-size:16px;font-weight:500;font-variant-numeric:tabular-nums}.ov-creators__volume{white-space:nowrap}.ov-creators__coin{width:16px;height:16px;margin-right:6px;vertical-align:-2px;background-color:var(--accent)}.ov-creators__skeleton{display:inline-block;width:40px;height:14px;border-radius:6px;background:#d9d6de;animation:ov-creators-pulse 1.2s ease-in-out infinite}.ov-creators__num .ov-creators__skeleton{margin-left:auto}.ov-creators__skeleton--creator{width:140px;height:20px}@keyframes ov-creators-pulse{0%,to{opacity:1}50%{opacity:.45}}@media(max-width:768px){.ov-creators__th,.ov-creators__row td{padding:10px 16px}}.card{height:300px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(var(--line),var(--line)) border-box;border-radius:var(--radius-card);overflow:hidden;position:relative;border:2px solid transparent;display:flex;flex-direction:column;transition:background .15s ease,box-shadow .15s ease}.card__link{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3}@media(hover:hover){.card:hover,.card:focus-within{background:linear-gradient(#fff,#fff) padding-box,var(--cerise) border-box;box-shadow:0 0 8px 0 var(--brand-violet)}}.card__media{position:relative;isolation:isolate;flex:1;min-height:0;background:var(--media);overflow:hidden}.card__img{width:100%;height:100%;object-fit:contain;display:block;transition:opacity .25s ease}.card__img--hidden{opacity:0}.card__preview{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.card__preview iframe{width:100%;height:100%;border:0;display:block;opacity:0;transition:opacity .3s ease}.card__preview.is-ready iframe{opacity:1}@media(prefers-reduced-motion:reduce){.card__preview iframe{transition:none}}.card__preview-shield{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;cursor:pointer}.card__skeleton{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background:linear-gradient(100deg,#fff0 30%,#fff9,#fff0 70%);background-repeat:no-repeat;background-size:220% 100%;animation:card-skeleton 1.3s infinite ease-in-out}@keyframes card-skeleton{0%{background-position:180% 0}to{background-position:-80% 0}}@media(prefers-reduced-motion:reduce){.card__skeleton{animation:none;opacity:.5}}.hover-preview iframe{width:100%;height:100%;border:0;display:block;background:transparent}.card__fav{position:absolute;top:10px;right:10px;z-index:4;width:32px;height:32px;border-radius:50%;border:0;background:#ffffffd9;display:grid;place-items:center;color:var(--text)}.card__fav.is-on{color:var(--dcl-red)}.card__body{flex:0 0 96px;height:96px;padding:8px;display:flex;flex-direction:column;justify-content:space-between;gap:4px}.card__top{display:flex;align-items:flex-start;gap:10px}.card__desc{flex:1;min-width:0;display:flex;flex-direction:column}.card__name{font-weight:600;font-size:14px;line-height:1.35;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card__creator{position:relative;z-index:4;color:var(--muted);font-size:10px;margin-bottom:0}.card__creator [data-avatar]{display:none}.card__price{flex-shrink:0;display:flex;align-items:center;gap:6px;font-weight:600;font-size:16px;color:var(--text-2);white-space:nowrap}.card__diamond{width:15px;height:15px;color:var(--text-2)}.card__action{min-height:40px;display:flex;align-items:center}.card__chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.card__chips .chip{height:18px;font-size:10px;line-height:1;font-weight:600;padding:0 6.5px;letter-spacing:.01em;border-radius:4px}.card__chips .chip--icon{padding:0 5px}.card__chips .chip--icon .ico{width:14.6px;height:14.6px}.card__chips .chip--smart{gap:2px;padding:4px 4px 4px 2px;background:var(--chip);color:var(--text-2);text-transform:uppercase;letter-spacing:.02em}.card__add-round{display:none}.card__cart{position:relative;z-index:4;width:100%;display:none;align-items:center;justify-content:center;gap:8px;background:var(--black-btn);color:var(--soft-white);border:0;border-radius:var(--radius-btn);height:40px;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.046em;transition:background .15s ease}@media(hover:hover){.card:hover .card__cart,.card__body:focus-within .card__cart{display:flex}.card:hover .card__chips,.card__body:focus-within .card__chips{display:none}}@media(hover:none)and (min-width:721px){.card__cart{display:flex}}.card__cart:hover:not(:disabled){background:#43404a}.card__cart.is-in,.card__cart:disabled{background:#43404a;opacity:1;cursor:default}.card__sale-badge{position:absolute;top:10px;left:10px;z-index:4;display:inline-flex;align-items:center;background:var(--dcl-red);color:#fff;font-weight:800;font-size:11px;letter-spacing:.03em;text-transform:uppercase;border-radius:6px;padding:4px 8px;box-shadow:0 1px 3px #00000040}.card__price--sale{white-space:normal;flex-wrap:wrap;justify-content:flex-end;max-width:58%}.card__price--sale{gap:6px 10px}.card__price-now{display:inline-flex;align-items:center;gap:6px;color:var(--dcl-red);font-weight:700}.card__price-now .card__diamond{color:var(--dcl-red)}.card__price-was{display:inline-flex;align-items:center;gap:4px;color:var(--muted);text-decoration:line-through;font-weight:600;font-size:14px}.card__diamond--was{width:13px;height:13px;color:var(--muted)}.card__countdown{display:inline-flex;align-items:center;gap:4px;background:var(--rarity-bg);color:var(--accent);font-size:11px;font-weight:700;border-radius:6px;padding:2px 8px;white-space:nowrap}.card__price--market{gap:4px}.card__approx{font-weight:700;color:var(--muted)}.card__chips .chip--market{background:var(--rarity-bg);color:var(--accent);text-transform:uppercase;letter-spacing:.02em}.card__preview-spin{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;z-index:2}:root{--bg: #ffffff;--text: #161518;--text-2: #242129;--muted: #716b7c;--muted-2: #a09ba8;--line: #e6e4ea;--line-strong: #a09ba8;--media: #ecebed;--panel: #f5f5f5;--chip: #ecebed;--accent: #691fa9;--brand-violet: #a524b3;--rarity: #a14bf3;--rarity-bg: rgba(161, 75, 243, .3);--black-btn: #242129;--soft-white: #fcfcfc;--dcl-red: #ff2d55;--ok: #1ea672;--err: #d33;--amethyst: linear-gradient(180deg, #c640cd 0%, #691fa9 100%);--cerise: linear-gradient(135deg, #ff2d55 0%, #c640cd 100%);--radius-card: 12px;--radius-chip: 4px;--radius-btn: 8px;--radius-pill: 50px;--radius-banner: 24px;--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}*{box-sizing:border-box}body{margin:0;padding-top:92px;background:var(--bg);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased}@media(max-width:768px){body{padding-top:64px}}#root{display:flex;flex-direction:column;min-height:calc(100vh - 92px)}@media(max-width:768px){#root{min-height:calc(100vh - 64px)}}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer}h1,h2{margin:0}.muted{color:var(--muted)}.small{font-size:13px}.error{color:var(--err)}.error-notice{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border:1px solid rgba(221,51,51,.25);border-radius:var(--radius-btn);background:#dd333314;color:var(--err);font-size:14px;line-height:1.4;text-align:left}.error-notice__ico{flex:none;width:18px;height:18px}.error-notice__msg{color:var(--text-2)}.link{background:none;border:0;color:var(--accent);cursor:pointer;padding:0;font:inherit;font-weight:600}.subnav{position:sticky;top:92px;z-index:40;display:flex;align-items:center;gap:24px;height:66px;padding:0 40px;background:#fff;border-bottom:1px solid var(--line)}.subnav__tabs{display:flex;gap:40px;height:100%}.subnav__tabs a{display:flex;align-items:center;height:100%;white-space:nowrap;text-transform:uppercase;letter-spacing:.03em;font-size:15px;font-weight:600;color:var(--muted-2);border-bottom:4px solid transparent}.subnav__tabs a:hover{color:var(--text)}.subnav__tabs a.active{color:var(--text);border-bottom-color:var(--text)}.subnav__search{position:relative;margin-left:auto;flex:0 1 496px;display:flex;align-items:center;gap:10px;background:#0000000d;border:1px solid var(--line-strong);border-radius:var(--radius-pill);padding:0 16px;height:40px}.subnav__search input{border:0;outline:0;width:100%;font-size:15px;background:transparent;color:var(--text)}.subnav__search input::placeholder{color:var(--muted)}@media(max-width:768px){.subnav{top:64px;height:auto;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px 0}.subnav__credits{order:1;margin-right:auto}.subnav__balance{order:2}.subnav__fav{order:3}.subnav__cart-wrap{order:4}.subnav__search{order:5;flex:1 0 100%;margin-left:0;height:34px}.subnav__search input{font-size:14px}.subnav__tabs{order:6;flex:1 0 100%;height:auto;gap:16px;overflow-x:auto;scrollbar-width:none}.subnav__tabs::-webkit-scrollbar{display:none}.subnav__tabs a{height:auto;font-size:12px;letter-spacing:.038em;font-weight:600;border-bottom-width:4px;padding:8px 0 6px}}.subnav__cart{position:relative;display:grid;place-items:center;width:40px;height:40px;background:var(--media);border-radius:var(--radius-btn);color:var(--text-2)}.subnav__cart-badge{position:absolute;top:-4px;right:-4px;background:var(--brand-violet);color:#fff;font-size:12px;font-weight:600;border-radius:999px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 5px;border:2px solid #fff}.subnav__fav{display:grid;place-items:center;width:40px;height:40px;border-radius:var(--radius-btn);color:var(--text-2);transition:background .12s ease,color .12s ease}.subnav__fav:hover{background:var(--media)}.subnav__fav.active{color:var(--brand-violet)}.subnav__fav .ico{width:28px;height:28px}.page{padding:28px 40px 80px;max-width:1760px;margin:0 auto;width:100%;flex:1 0 auto}@media(max-width:768px){.page{padding:16px 16px 56px}}.placeholder{color:var(--muted);font-size:18px;padding:40px 0}.page-loading{display:grid;place-items:center;min-height:46vh}.hero{border-radius:var(--radius-banner);overflow:hidden;margin-bottom:40px;min-height:304px;display:flex;align-items:center;background:radial-gradient(120% 120% at 85% 20%,rgba(163,255,60,.35),transparent 45%),linear-gradient(120deg,#14161b,#23262e 60%,#14161b)}.hero__inner{padding:0 56px}.hero__title{color:#fff;font-size:clamp(28px,4vw,36px);font-weight:700;text-transform:uppercase;line-height:1.235;margin-bottom:22px}.row{margin-bottom:40px}.row__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.row__title{font-size:20px;font-weight:600;color:var(--text)}.row__viewall{display:inline-flex;align-items:center;gap:4px;color:var(--accent);font-weight:600;font-size:15px;letter-spacing:.046em;text-transform:uppercase}.row__track{display:flex;gap:16px;overflow-x:auto;padding:12px 10px;margin:0 -10px;scroll-snap-type:x proximity}.row__track>*{flex:0 0 281px;scroll-snap-align:start}@media(max-width:720px){.row__track>*{flex:0 0 44vw}}.assets{display:grid;grid-template-columns:244px 1fr;gap:28px}@media(max-width:900px){.assets{grid-template-columns:1fr}}.filters{display:flex;flex-direction:column;gap:14px}.filters__panel{background:var(--panel);border-radius:var(--radius-lg, 14px);padding:16px 14px}.filters__all{background:none;border:0;font-weight:700;font-size:16px;padding:6px 8px}.filters__group{border-top:1px solid #ededed}.filters__group:first-of-type{border-top:0}.filters__group-head{width:100%;display:flex;align-items:center;justify-content:space-between;background:none;border:0;padding:12px 8px;font-weight:600;font-size:15px;color:var(--text)}.filters__group-head.is-active{color:var(--accent)}.filters__chev{color:var(--muted);font-size:12px}.filters__sub{list-style:none;margin:0 0 8px;padding:0 8px}.filters__sub li{padding:8px 6px;color:#555;font-size:14px}.filters__price{display:flex;align-items:center;justify-content:space-between;font-weight:600}.filters__credits{display:flex;align-items:center;justify-content:space-between;background:var(--rarity-bg);color:var(--accent);border-radius:12px;padding:12px 14px;font-weight:600}.toggle{width:34px;height:20px;border-radius:999px;background:#cbb8f2;position:relative}.toggle:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff}.assets__bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.assets__count{color:var(--muted);font-weight:600}.sortby{background:#fff;border:1px solid var(--line-strong);border-radius:var(--radius-btn);padding:10px 16px;font-weight:700;text-transform:uppercase;font-size:13px;letter-spacing:.03em}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}@media(max-width:720px){.grid{grid-template-columns:1fr 1fr;gap:16px}}.browse{position:relative}.browse__toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}@media(max-width:768px){.browse__toolbar{flex-wrap:wrap}}.browse__count{color:var(--muted);font-weight:400;font-size:14px;line-height:1.43;white-space:nowrap}.browse__dropdowns{display:flex;align-items:center;gap:8px}.filterbar__item{position:relative}.filterbar__trigger{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:8px 10px;border-radius:8px;color:#6b6873;font-weight:600;font-size:14px;white-space:nowrap}.filterbar__trigger:hover{background:#f5f4f7;color:#3f3c47}.filterbar__trigger.is-open,.filterbar__trigger.is-active{color:#3f3c47}.filterbar__sort{display:inline-flex;align-items:center;justify-content:space-between;gap:6px;background:#fff;border:.5px solid var(--muted-2);border-radius:32px;height:40px;padding:4px 8px 4px 12px;min-width:120px;color:var(--text-2);font-weight:500;font-size:12px;white-space:nowrap;text-transform:uppercase}.filterbar__sort:hover{background:#f5f4f7}.filterbar__sort.is-open{background:var(--chip);border-color:var(--muted-2)}.filterbar__badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:700}.filterbar__scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:34}.browse__dropdowns .filter-pop{right:0;left:auto}.filter-pop{position:absolute;top:calc(100% + 8px);left:0;z-index:36;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #1615181f;padding:8px;animation:cart-pop-in .16s ease}.filter-pop--section{display:flex;gap:4px;min-width:340px}.filter-pop__cats,.filter-pop__subs{list-style:none;margin:0;padding:0;flex:1}.filter-pop__subs{border-left:1px solid var(--line);padding-left:4px;max-height:300px;overflow-y:auto}.filter-pop__cat,.filter-pop__sub{width:100%;text-align:left;background:none;border:0;padding:9px 12px;border-radius:8px;font-size:14px;color:var(--text);cursor:pointer}.filter-pop__cat:hover,.filter-pop__sub:hover{background:#f5f4f7}.filter-pop__cat.is-active,.filter-pop__sub.is-active{color:var(--accent);font-weight:700;background:var(--rarity-bg)}.filter-pop--rarity{display:grid;grid-template-columns:1fr 1fr;gap:2px;min-width:250px}.filter-pop__check{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;font-size:14px;text-transform:capitalize;cursor:pointer}.filter-pop__check:hover{background:#f5f4f7}.filter-pop__check input{accent-color:var(--accent);width:15px;height:15px}.filter-pop--price{min-width:240px;padding:12px}.filter-pop__price-row{display:flex;align-items:center;gap:8px}.filter-pop__price-row input{width:100%;border:1px solid var(--line-strong);border-radius:10px;padding:8px 10px;font-size:14px}.filter-pop__price-row input:focus{outline:0;border-color:var(--accent)}.filter-pop__price-row input::-webkit-outer-spin-button,.filter-pop__price-row input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.filter-pop__hint{margin:8px 2px 0;color:var(--muted);font-size:12px}.filter-pop--sort{right:0;left:auto;min-width:174px;padding:4px 0;border:0;border-radius:8px;box-shadow:0 4px 25px 5px #00000040}.filter-pop--sort .filter-pop__sort{height:40px;display:flex;align-items:center;padding:0 8px;border-radius:0;font-size:14px;color:#43404a}.filter-pop--sort .filter-pop__sort:hover{background:var(--chip)}.filter-pop--sort .filter-pop__sort.is-active{color:var(--accent);font-weight:600;background:transparent}.card--skeleton,.asset-card--skeleton{min-height:300px;border:1px solid var(--line);border-radius:var(--radius-card);background:linear-gradient(100deg,#efeef2 30%,#e2e0e7,#efeef2 70%);background-size:200% 100%;animation:shimmer 1.4s infinite linear}.asset-card--skeleton{min-height:260px;border-radius:12px}@keyframes shimmer{to{background-position:-200% 0}}.spinner{width:30px;height:30px;margin-top:14px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.card--skeleton,.asset-card--skeleton{animation:none}.spinner{animation-duration:2s}}.chip{display:inline-flex;align-items:center;font-size:11px;font-weight:700;border-radius:var(--radius-chip);padding:3px 8px;background:var(--chip);color:#555}.chip--rarity{background:var(--rarity-bg);color:var(--rarity);text-transform:uppercase}.chip--icon{padding:3px 6px;font-size:13px}.chip--icon .ico{width:14px;height:14px;color:#444}@media(max-width:720px){.card__media{aspect-ratio:201 / 213}.card__name{font-size:12px}.card__body{display:grid;height:auto;grid-template-columns:1fr auto;grid-template-areas:"desc desc" "price add";align-items:center;row-gap:10px;padding:8px}.card__top{display:contents}.card__desc{grid-area:desc;min-width:0}.card__chips,.card__cart{display:none}.card__price{grid-area:price;align-self:center;justify-self:start}.card__action{grid-area:add;align-self:center;justify-self:end;min-height:0}.card__add-round{align-self:center;justify-self:end;z-index:4;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:0;padding:0;background:var(--accent);color:#fff;cursor:pointer}.card__add-round .ico{width:18px;height:18px}.card__add-round:disabled{opacity:.5;cursor:default}}.price-was{color:var(--muted);text-decoration:line-through;font-weight:600}.save-badge{display:inline-flex;align-items:center;background:#1a8f4c1f;color:#1a8f4c;font-weight:700;font-size:12px;border-radius:6px;padding:2px 8px;white-space:nowrap}.sale-countdown{display:inline-flex;align-items:center;gap:4px;background:var(--rarity-bg);color:var(--accent);font-size:11px;font-weight:700;border-radius:6px;padding:2px 8px;white-space:nowrap}.market-banner{display:flex;align-items:center;gap:10px;background:var(--rarity-bg);color:var(--accent);border-radius:12px;padding:12px 16px;margin-bottom:14px;font-weight:600;font-size:14px}.market-banner__ico{font-size:15px}.market-banner--warn{background:#d333331a;color:var(--err)}.mkt-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:20px}.mkt-modal__scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#16151873}.mkt-modal__card{position:relative;z-index:1;width:100%;max-width:420px;background:#fff;border-radius:var(--radius-banner);padding:24px;box-shadow:0 24px 60px #16151847;animation:cart-pop-in .16s ease}.mkt-modal__head{display:flex;align-items:center;gap:14px;margin-bottom:18px}.mkt-modal__thumb{width:64px;height:64px;flex:none;border-radius:12px;overflow:hidden;background:var(--media)}.mkt-modal__thumb img{width:100%;height:100%;object-fit:contain}.mkt-modal__name{font-weight:700;font-size:16px;color:var(--text);margin-bottom:6px}.mkt-modal__price{background:var(--panel);border-radius:14px;padding:16px;margin-bottom:14px}.mkt-modal__price-label{color:var(--muted);font-size:13px;font-weight:600;margin-bottom:6px}.mkt-modal__price-value{display:flex;align-items:center;gap:8px;font-weight:700;font-size:24px;color:var(--text)}.mkt-modal__price-value--approx{color:var(--text-2)}.mkt-modal__approx{color:var(--muted)}.mkt-modal__diamond{width:20px;height:20px;color:var(--accent)}.mkt-modal__price-sub{margin-top:6px;font-size:13px}.mkt-modal__balance{font-size:13px;margin-bottom:6px}.mkt-modal__note{margin:6px 0 0;font-size:13px}.mkt-modal__actions{display:flex;gap:10px;margin-top:18px}.myassets__head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:16px}.connect-row{display:flex;gap:12px;margin-top:12px}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,281px);gap:16px;margin-top:20px;justify-content:start}@media(max-width:640px){.asset-grid{grid-template-columns:repeat(auto-fill,minmax(0,1fr))}}.asset-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px}.asset-card__img{aspect-ratio:1;background:var(--media);border-radius:8px;display:grid;place-items:center;overflow:hidden}.asset-card__img img{width:100%;height:100%;object-fit:contain}.asset-card__name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{font-size:12px;color:var(--ok);border:1px solid var(--ok);border-radius:999px;padding:3px 10px}.asset-card__listed{display:flex;align-items:center;justify-content:space-between;gap:8px}.asset-card__price{font-weight:800;font-size:16px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:grid;place-items:center;z-index:100}.modal{background:#fff;border-radius:var(--radius-card);padding:24px;width:min(420px,92vw);display:flex;flex-direction:column;gap:12px}.modal__title{font-size:20px}.modal__img{width:140px;height:140px;object-fit:contain;align-self:center;background:var(--media);border-radius:10px}.field{display:flex;flex-direction:column;gap:6px;font-size:14px}.field input{background:#fff;border:1px solid var(--line-strong);border-radius:8px;padding:10px 12px;color:var(--text);font:inherit}.modal__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.cart{max-width:1120px}.cart--empty{color:var(--muted);font-size:18px;padding:60px 0}.cart__body{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start;margin:20px 0}.cart__main{min-width:0}.cart__list{display:flex;flex-direction:column;gap:12px;margin:0 0 14px}.cart__row{display:grid;grid-template-columns:64px 1fr auto auto;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px}.cart__thumb{width:64px;height:64px;background:var(--media);border-radius:8px;overflow:hidden}.cart__thumb img{width:100%;height:100%;object-fit:contain}.cart__name{font-weight:700}.cart__price{font-weight:800}.cart__summary{position:sticky;top:88px;display:flex;flex-direction:column;gap:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.cart__summary-title{margin:0;font-size:18px;font-weight:800}.cart__total{display:flex;flex-direction:column;gap:4px;font-size:16px}.cart__total-line{display:flex;align-items:center;justify-content:space-between}.cart__total strong{font-size:22px}.cart__actions{display:flex;flex-direction:column;gap:10px}.cart__msg{margin:0;font-size:13px}.subnav__credits{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:var(--radius-btn);background:linear-gradient(180deg,#c640cd,#691fa9);color:#fcfcfc;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.046em;white-space:nowrap;transition:filter .15s ease}.subnav__credits:hover{filter:brightness(1.08)}.subnav__credits:active{filter:brightness(.95)}.subnav__credits-ico{width:20px;height:20px}.subnav__balance{display:inline-flex;align-items:center;gap:4px;height:40px;padding:0 4px;border-radius:4px;background:transparent;color:#242129;font-weight:600;font-size:16px;letter-spacing:-.03em;white-space:nowrap}.subnav__balance-ico{width:20px;height:20px;color:var(--accent)}.subnav__balance-skel{display:inline-block;width:26px;height:16px;border-radius:5px}.cart__balance{margin-top:4px}.cart__info{min-width:0}.cart__creator{margin-top:3px}.cart__remove{border:0;background:none;color:var(--muted-2);cursor:pointer;padding:8px;border-radius:8px;display:grid;place-items:center;transition:color .12s ease,background .12s ease}.cart__remove:hover:not(:disabled){color:var(--dcl-red);background:#ff2d551a}.cart__remove:disabled{opacity:.5;cursor:default}.cart__utils{display:flex;gap:20px;margin-top:14px}@media(max-width:880px){.cart__body{grid-template-columns:1fr}.cart__summary{position:static}}.cart__utils .link{font-size:13px;color:var(--muted);font-weight:600}.cart__utils .link:hover:not(:disabled){color:var(--text)}.getcredits{max-width:1320px;margin:0 auto}.getcredits__head{margin-bottom:32px;max-width:560px}.getcredits__title{font-size:36px;line-height:1.235;font-weight:700;color:#171717;text-transform:capitalize;margin-bottom:12px}.getcredits__sub{margin:0;font-size:16px;line-height:30px;color:var(--text-2)}.getcredits__learn{display:inline-flex;align-items:center;gap:2px;color:var(--accent);font-size:14px;font-weight:500;text-decoration:underline}.getcredits__learn:hover{color:var(--brand-violet)}.getcredits__learn-ico{width:13px;height:13px}.getcredits__note{margin:-8px 0 20px}.packs{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}@media(max-width:980px){.packs{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.packs{grid-template-columns:1fr}}.pack{position:relative;display:block;padding:4px;border:0;background:transparent;border-radius:24px;cursor:pointer;text-align:center;transition:transform .15s ease}.pack:hover{transform:translateY(-4px)}.pack:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.pack__inner{display:flex;flex-direction:column;align-items:center;background:#0c0223;border-radius:20px;overflow:hidden;transition:box-shadow .15s ease}.pack:hover .pack__inner{box-shadow:0 18px 40px #691fa966}.pack--best .pack__inner{box-shadow:0 0 0 1px #c640cd80}.pack__badge{position:absolute;top:-8px;left:50%;transform:translate(-50%);z-index:2;background:linear-gradient(180deg,#ff2d55,#c640cd);color:#fff;font-size:15px;font-weight:500;line-height:1;padding:9px 16px;border-radius:50px;white-space:nowrap;box-shadow:0 8px 18px #ff2d5559}.pack__label{padding:40px 16px 4px;font-size:24px;font-weight:700;color:#fff;text-transform:capitalize}.pack__art{width:100%;padding:4px 12px 0}.pack__art img{display:block;width:100%;height:auto;border-radius:16px;filter:drop-shadow(6px 8px 16px rgba(0,0,0,.45))}.pack__cta-wrap{width:100%;padding:20px 24px 40px}.pack__cta{display:flex;align-items:center;justify-content:center;height:48px;border-radius:8px;background:linear-gradient(180deg,#c640cd,#691fa9);color:var(--soft-white);font-size:15px;font-weight:600;letter-spacing:.046em;text-transform:uppercase;transition:filter .15s ease}.pack:hover .pack__cta{filter:brightness(1.08)}.getcredits__status{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:48px 24px}.getcredits__status-title{font-size:20px;font-weight:700;margin:6px 0 0}.getcredits__status-actions{display:flex;gap:12px;margin-top:16px}.getcredits__confetti{font-size:48px;line-height:1}.getcredits__status--ok strong{color:var(--accent);font-size:20px}.gc-processing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px;padding:64px 24px;min-height:42vh}.gc-processing__logo{width:61px;height:61px;animation:gc-pulse 1.2s ease-in-out infinite}.gc-processing__body{display:flex;flex-direction:column;align-items:center;gap:8px}.gc-processing__title{margin:0;font-size:20px;line-height:1.6;color:var(--text-2)}.gc-processing__title strong{font-weight:700}.gc-progress{display:flex;align-items:center;gap:8px}.gc-progress__track{position:relative;width:456px;max-width:60vw;height:12px;border-radius:100px;background:var(--chip);overflow:hidden}.gc-progress__fill{position:absolute;top:0;left:-40%;height:100%;width:40%;border-radius:100px;background:linear-gradient(180deg,#c640cd,#691fa9);animation:gc-indeterminate 1.4s ease-in-out infinite}.gc-progress__count{font-size:16px;line-height:22px;color:var(--text-2)}@keyframes gc-indeterminate{0%{left:-40%}to{left:100%}}@keyframes gc-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.88);opacity:.7}}@media(prefers-reduced-motion:reduce){.gc-processing__logo{animation:none}.gc-progress__fill{left:0;width:30%;animation:none}}.gc-success{display:flex;flex-direction:column;gap:12px;max-width:895px;margin:0 auto}.gc-banner{display:flex;align-items:center;gap:16px;padding:24px 16px;border-radius:16px;background:#e0f7e7;border:1px solid #34ce77}.gc-banner__icon{flex:none;width:60px;height:60px}.gc-banner__text{flex:1;margin:0;text-align:center;font-size:20px;line-height:1.334;color:var(--text-2)}.gc-banner__text strong{font-weight:700}.gc-credits{padding:24px;border-radius:16px;background:#fff;border:1px solid #cfcdd4}.gc-credits__row{position:relative;display:flex;align-items:center;justify-content:center;min-height:109px;padding:8px 24px 8px 150px;border-radius:8px;background:#f4e9ff}.gc-credits__coin{position:absolute;left:35px;top:50%;transform:translateY(-50%);width:93px;height:93px;filter:drop-shadow(5px 7px 14px rgba(0,0,0,.17))}.gc-credits__text{display:inline-flex;align-items:center;gap:8px;margin:0;color:var(--text)}.gc-credits__diamond{width:30px;height:30px;color:var(--accent)}.gc-credits__amount{font-size:24px;font-weight:700;text-transform:capitalize}.gc-credits__added{font-size:14px;font-weight:400;color:var(--text)}.gc-actions{display:flex;gap:12px}.gc-actions__btn{flex:1;display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 12px;border-radius:8px;font-size:15px;font-weight:600;letter-spacing:.046em;text-transform:uppercase;transition:background .15s ease,filter .15s ease}.gc-actions__btn--solid{border:0;background:var(--accent);color:var(--soft-white)}.gc-actions__btn--solid:hover{filter:brightness(1.08)}.gc-actions__btn--outline{background:#fff;border:2px solid var(--accent);color:var(--accent)}.gc-actions__btn--outline:hover{background:#691fa90f}@media(max-width:560px){.gc-banner{flex-direction:column;text-align:center}.gc-credits__row{flex-direction:column;gap:10px;padding:120px 16px 16px}.gc-credits__coin{left:50%;top:16px;transform:translate(-50%)}.gc-actions{flex-direction:column}}.gc-status{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:560px;margin:0 auto;padding:48px 24px;text-align:center}.gc-status__title{margin:0;font-size:20px;font-weight:700}.gc-status__actions{display:flex;gap:12px;margin-top:16px}.gc-status--err .gc-status__title{color:var(--err)}.skeleton{border-radius:6px;background:linear-gradient(100deg,#efeef2 30%,#e2e0e7,#efeef2 70%);background-size:200% 100%;animation:shimmer 1.4s infinite linear}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}.success{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;max-width:1080px;margin:0 auto;padding:32px 24px;min-height:72vh}.success__preview{height:min(560px,68vh);background:var(--media, #ecebed);border-radius:var(--radius-card, 16px);overflow:hidden;position:relative}.success__preview iframe,.success__preview>*{width:100%;height:100%;border:0;display:block}.success__spinner{margin:4px auto 8px;width:40px;height:40px}.success__title{font-size:clamp(30px,4vw,42px);font-weight:800;letter-spacing:-.02em;margin:20px 0 8px}.success__sub{font-size:18px;color:#4b4b57;margin:0 0 22px}.success__list{margin:0 0 22px;padding-left:18px;color:#4b4b57;line-height:1.7}.success__links{display:flex;gap:18px;justify-content:center;margin:0 0 20px}.success__receipt{display:inline-block;margin:0;color:var(--accent);font-weight:600;font-size:14px;background:none;border:0;padding:0;cursor:pointer;text-decoration:none}.notfound{min-height:52vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px}.notfound__ico{width:44px;height:44px;opacity:.4}.notfound__title{font-size:24px}.success__actions{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:820px){.success{grid-template-columns:1fr;gap:24px;text-align:center}.success__actions{justify-content:center}}.subnav__cart-wrap{position:relative}.cart-pop{position:absolute;top:calc(100% + 12px);right:0;z-index:60;width:320px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card, 12px);box-shadow:0 14px 36px #14141e2e;padding:14px;animation:cart-pop-in .18s ease}.cart-pop:before{content:"";position:absolute;top:-6px;right:14px;width:12px;height:12px;background:#fff;border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}@keyframes cart-pop-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.cart-pop__head{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;margin-bottom:12px}.cart-pop__list{display:flex;flex-direction:column;gap:10px;max-height:264px;overflow-y:auto}.cart-pop__row{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center}.cart-pop__thumb{width:40px;height:40px;border-radius:8px;background:var(--media);overflow:hidden}.cart-pop__thumb img{width:100%;height:100%;object-fit:cover}.cart-pop__name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-pop__price{font-size:13px;font-weight:700}.cart-pop__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.cart-pop__total{font-size:13px;color:var(--muted)}.subnav__search-clear{display:grid;place-items:center;width:20px;height:20px;flex:0 0 auto;border:0;border-radius:50%;background:#00000014;color:var(--muted);font-size:15px;line-height:1;cursor:pointer}.subnav__search-clear:hover{background:#00000029;color:var(--text)}.search-pop{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:60;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card, 12px);box-shadow:0 14px 36px #14141e2e;padding:8px;animation:cart-pop-in .16s ease;max-height:min(70vh,560px);overflow-y:auto}@media(max-width:768px){.search-pop{left:auto;right:0;width:calc(100vw - 24px);max-height:min(70vh,480px)}}.search-pop__section-head{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 4px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.search-pop__clear{background:none;border:0;color:var(--accent);font-weight:600;font-size:12px;cursor:pointer}.search-pop__list{list-style:none;margin:0;padding:0}.search-pop__row{width:100%;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;background:none;border:0;padding:8px 10px;border-radius:10px;text-align:left;cursor:pointer}.search-pop__row:hover{background:#f5f4f7}.search-pop__thumb{width:40px;height:40px;border-radius:8px;background:var(--media);overflow:hidden}.search-pop__thumb img{width:100%;height:100%;object-fit:cover}.search-pop__thumb--round,.search-pop__thumb--round img{border-radius:50%}.search-pop__thumb--icon{display:grid;place-items:center}.search-pop__thumb--icon .ico{width:18px;height:18px;color:var(--muted)}.search-pop__collthumb{width:40px;height:40px;border-radius:8px;overflow:hidden;flex:none}.search-pop__thumb--mosaic{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:1px;background:var(--line)}.search-pop__thumb--mosaic[data-count="1"]{grid-template-columns:1fr}.search-pop__thumb--mosaic[data-count="2"]{grid-template-rows:1fr}.search-pop__text{min-width:0;display:flex;flex-direction:column;gap:1px}.search-pop__name{min-width:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-pop__sub{min-width:0;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-pop__price{font-size:13px;font-weight:700;white-space:nowrap}.search-pop__seeall{width:100%;margin-top:4px;padding:10px;border:0;border-top:1px solid var(--line);background:none;color:var(--accent);font-weight:700;font-size:13px;text-align:center;cursor:pointer}.search-pop__seeall:hover{background:#f5f4f7}.search-pop__empty{padding:16px 10px;color:var(--muted);font-size:14px;text-align:center}.search-pop__recent{display:flex;align-items:center}.search-pop__recent-btn{flex:1;min-width:0;display:flex;align-items:center;gap:10px;background:none;border:0;padding:9px 10px;border-radius:10px;text-align:left;font-size:14px;color:var(--text);cursor:pointer;overflow:hidden}.search-pop__recent-btn:hover{background:#f5f4f7}.search-pop__recent-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-pop__recent-remove{flex:0 0 auto;background:none;border:0;color:var(--muted);font-size:16px;line-height:1;padding:6px 10px;cursor:pointer}.search-pop__recent-remove:hover{color:var(--text)}.cart-upsell{margin-top:44px}.cart-upsell__title{font-size:18px;font-weight:700;margin-bottom:14px}.cart-upsell__row{display:flex;gap:14px;overflow-x:auto;padding-bottom:6px}.cart-upsell__card{flex:0 0 150px;border:1px solid var(--line);border-radius:var(--radius-card, 12px);padding:10px}.cart-upsell__thumb{aspect-ratio:1 / 1;background:var(--media);border-radius:8px;overflow:hidden;margin-bottom:8px}.cart-upsell__thumb img{width:100%;height:100%;object-fit:cover}.cart-upsell__name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-upsell__price{font-size:14px;font-weight:700;margin:4px 0 8px}.cart-upsell__add{width:100%}.overview__empty{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:80px 20px}.overview__empty-title{font-size:22px;font-weight:700;margin:0}.cart--empty{max-width:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:90px 20px;min-height:50vh}.cart-empty__title{font-size:22px;font-weight:700;margin:6px 0 0}.filters__panel-title{font-weight:700;font-size:14px;margin:0 2px 10px}.filters__sub{list-style:none;margin:0 0 8px;padding:0 4px}.filters__sub-item{background:none;border:0;padding:7px 8px;color:#555;font-size:14px;text-align:left;width:100%;border-radius:6px;cursor:pointer}.filters__sub-item:hover{background:#0000000a}.filters__sub-item.is-active{color:var(--accent);font-weight:700;background:var(--rarity-bg)}.filters__rarities{display:flex;flex-wrap:wrap;gap:6px}.rarity-pill{text-transform:capitalize;font-size:12px;font-weight:600;padding:5px 11px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer}.rarity-pill.is-on{background:var(--rarity-bg);color:var(--accent);border-color:transparent}.filters__price-inputs{display:flex;align-items:center;gap:8px}.filters__price-inputs input{width:100%;border:1px solid var(--line-strong);border-radius:8px;padding:8px 10px;font-size:14px}.filters__price-inputs input::-webkit-outer-spin-button,.filters__price-inputs input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.toggle.is-on{background:var(--accent)}.sortby-wrap{position:relative}.sortby-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:30;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 28px #14141e24;padding:6px;min-width:200px}.sortby-menu button{display:block;width:100%;text-align:left;background:none;border:0;padding:9px 12px;border-radius:7px;font-size:14px;color:var(--text);cursor:pointer}.sortby-menu button:hover{background:#0000000d}.sortby-menu button.is-active{color:var(--accent);font-weight:700}.favorites__head{display:flex;align-items:baseline;gap:12px;margin-bottom:20px}.favorites__count{color:var(--muted);font-size:14px}.favorites-empty{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:90px 20px;min-height:50vh}.favorites-empty__title{font-size:22px;font-weight:700;margin:6px 0 0}.purchases__head{display:flex;align-items:baseline;gap:12px;margin-bottom:20px}.purchases__count{color:var(--muted);font-size:14px}.purchases__list{display:flex;flex-direction:column;gap:10px;max-width:760px}.purchase{display:grid;grid-template-columns:56px 1fr auto auto;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 16px;text-decoration:none;color:var(--text);transition:box-shadow .15s,transform .15s}a.purchase:hover{box-shadow:0 8px 22px #14141e1a;transform:translateY(-1px)}.purchase__thumb{width:56px;height:56px;border-radius:10px;background:var(--media, #f2f0f7);overflow:hidden;display:flex;align-items:center;justify-content:center}.purchase__thumb img{width:100%;height:100%;object-fit:contain}.purchase__info{min-width:0}.purchase__name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.purchase__date{font-size:13px;margin-top:2px}.purchase__badge{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;padding:4px 10px;border-radius:999px;white-space:nowrap}.purchase__badge--done{background:#2ea05a24;color:#1f8a4c}.purchase__badge--pending{background:#f5a62329;color:#b5790a}.purchase__price{font-weight:800;white-space:nowrap}.purchase--skeleton{display:block;height:82px;border-color:transparent;background:linear-gradient(100deg,#ededed 30%,#f7f7f7,#ededed 70%);background-size:200% 100%;animation:shimmer 1.3s infinite linear}.purchases-empty{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:90px 20px;min-height:50vh}.purchases-empty__title{font-size:22px;font-weight:700;margin:6px 0 0}.modal--success{text-align:center;align-items:center}.modal-success__check{width:56px;height:56px;border-radius:50%;background:#1f8a4c;color:#fff;font-size:30px;font-weight:800;display:grid;place-items:center;margin:4px auto 2px;animation:pop-in .32s cubic-bezier(.2,.9,.3,1.4)}.modal-success__name{font-weight:700;font-size:16px;margin:2px 0 0}.modal--success .modal__actions{justify-content:center;width:100%}@keyframes pop-in{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.modal-success__check{animation:none}}.card__creator[data-testid=creator]{margin-bottom:2px}.card__creator [data-avatar]{width:16px;height:16px}.cart-pop__actions{display:flex;gap:8px}.fitting{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;place-items:center;padding:20px}.fitting__scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#16151880;animation:fade-in .16s ease}.fitting__panel{position:relative;z-index:1;display:flex;width:100%;max-width:1000px;height:min(88vh,720px);background:#fff;border-radius:var(--radius-banner);overflow:hidden;box-shadow:0 24px 60px #1615184d;animation:cart-pop-in .18s ease}.fitting__close{position:absolute;top:12px;right:14px;z-index:3;width:34px;height:34px;border:0;border-radius:50%;background:#ffffffe6;color:var(--text);font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center;box-shadow:0 1px 4px #00000026}.fitting__stage{position:relative;flex:1;min-width:0;background:radial-gradient(circle at 50% 45%,#bf00ff,#510884 78%)}.fitting__stage iframe{position:relative;z-index:1;width:100%;height:100%;border:0;display:block}.fitting__empty-stage{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;padding:20px;color:#fff}.fitting__empty-stage .muted{color:#ffffffbf}.fitting__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-items:center;pointer-events:none}.fitting__spinner{width:34px;height:34px;border-radius:50%;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;animation:spin .8s linear infinite}.fitting__side{width:380px;flex:none;display:flex;flex-direction:column;border-left:1px solid var(--line)}.fitting__head{padding:20px 20px 12px}.fitting__title{font-size:20px;font-weight:800;margin:0 0 4px}.fitting__sub{font-size:13px;margin:0}.fitting__items{flex:1;overflow-y:auto;padding:8px 14px;display:flex;flex-direction:column;gap:8px}.fitting-row{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px;border:1px solid transparent}.fitting-row.is-on{background:var(--rarity-bg);border-color:transparent}.fitting-row__toggle{flex:none;cursor:pointer;display:grid;place-items:center}.fitting-row__toggle input{position:absolute;opacity:0;width:0;height:0}.fitting-row__box{width:22px;height:22px;border-radius:6px;border:2px solid var(--line-strong);background:#fff;display:grid;place-items:center;transition:background .12s ease,border-color .12s ease}.fitting-row__box:after{content:"✓";color:#fff;font-size:14px;font-weight:800;opacity:0}.fitting-row__toggle input:checked+.fitting-row__box{background:var(--accent);border-color:var(--accent)}.fitting-row__toggle input:checked+.fitting-row__box:after{opacity:1}.fitting-row__toggle input:disabled+.fitting-row__box{opacity:.4;cursor:not-allowed}.fitting-row__thumb{width:48px;height:48px;flex:none;border-radius:10px;overflow:hidden;background:var(--media)}.fitting-row__thumb img{width:100%;height:100%;object-fit:contain}.fitting-row__info{flex:1;min-width:0}.fitting-row__name{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fitting-row__meta{display:flex;align-items:center;gap:6px;margin-top:3px}.fitting-row__conflict{font-size:10px;font-weight:700;color:var(--accent);background:#691fa91f;border-radius:5px;padding:1px 6px;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap}.fitting-row.is-incompatible{opacity:.5}.fitting-row__incompat{font-size:10px;font-weight:700;color:#9a6100;background:#d69e2e2e;border-radius:5px;padding:1px 6px;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap}.fitting-row__price{display:inline-flex;align-items:center;gap:4px;font-weight:700;font-size:14px;color:var(--text-2);flex:none}.fitting-row__diamond{width:13px;height:13px;color:var(--text-2)}.fitting-row__remove{flex:none;border:0;background:none;color:var(--muted-2);cursor:pointer;padding:6px;border-radius:8px;display:grid;place-items:center;transition:color .12s ease,background .12s ease}.fitting-row__remove:hover{color:var(--dcl-red);background:#ff2d551a}.fitting__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid var(--line)}.fitting__total{font-size:14px;color:var(--text-2)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.fitting__scrim,.fitting__panel{animation:none}.fitting__spinner{animation-duration:2s}}@media(max-width:820px){.fitting__panel{flex-direction:column;height:min(92vh,860px)}.fitting__stage{height:44vh;flex:none}.fitting__side{width:100%;border-left:0;border-top:1px solid var(--line);min-height:0}}.sidebar__section-label{font-family:var(--sans);font-weight:400;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--text);margin:0 4px 12px}.sidebar__divider{height:1px;background:var(--media);margin:20px 0}.sidebar__section-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;background:none;border:0;padding:0;cursor:pointer;margin-bottom:12px}.sidebar__section-toggle .sidebar__section-label{margin:0}.rarity-filter{display:flex;flex-direction:column;gap:2px;padding:0 4px}.rarity-filter__check{display:flex;align-items:center;gap:8px;padding:7px 6px;border-radius:8px;font-size:14px;color:var(--text);text-transform:capitalize;cursor:pointer}.rarity-filter__check:hover{background:#f5f4f7}.rarity-filter__check.is-on{color:var(--accent);font-weight:600}.rarity-filter__check input{accent-color:var(--accent);width:15px;height:15px;flex:none}.catfilter,.catfilter__group{display:flex;flex-direction:column;gap:2px}.catfilter__subs{display:grid;grid-template-rows:0fr;transition:grid-template-rows .22s ease}.catfilter__subs.is-open{grid-template-rows:1fr}.catfilter__subs-inner{overflow:hidden;min-height:0;display:flex;flex-direction:column;gap:2px}@media(prefers-reduced-motion:reduce){.catfilter__subs{transition:none}}.catfilter__cat,.catfilter__sub{display:flex;align-items:center;justify-content:space-between;gap:8px;height:40px;padding:4px 8px;border:0;border-radius:8px;background:none;width:100%;text-align:left;cursor:pointer}.catfilter__cat-label{font-family:var(--sans);font-weight:600;font-size:14px;line-height:1.57;color:var(--text)}.catfilter__cat:hover,.catfilter__sub:hover{background:#f5f4f7}.catfilter__cat.is-selected,.catfilter__cat.is-expanded{background:var(--media)}.catfilter__sub.is-active{background:var(--rarity-bg)}.catfilter__sub.is-active .catfilter__sub-label{color:var(--rarity);font-weight:600}.catfilter__sub-left{display:flex;align-items:center;gap:8px;min-width:0}.catfilter__sub-label{font-family:var(--sans);font-weight:400;font-size:14px;line-height:1.5;color:#43404a}.catfilter__title{font-family:var(--sans);font-weight:600;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#6a6a6a;margin:0 0 4px;padding:8px 16px 0}.catfilter--flat{background:none;padding:0;width:auto}.catfilter--flat .catfilter__cat:hover,.catfilter--flat .catfilter__sub:hover{background:#0000000a}.catfilter--flat .catfilter__cat.is-selected,.catfilter--flat .catfilter__sub.is-active{background:#ececec}.price-filter{display:flex;flex-direction:column;gap:16px;padding:0 4px}.price-filter__inputs{display:flex;align-items:flex-end;gap:8px}.price-filter__field{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.price-filter__field-label{font-family:var(--sans);font-weight:400;font-size:12px;color:var(--muted)}.price-filter__box{display:flex;align-items:center;gap:6px;height:42px;padding:8px;border:.5px solid #000;border-radius:8px;background:#fff}.price-filter__box:focus-within{border-color:var(--rarity)}.price-filter__coin{width:15px;height:15px;color:var(--rarity);flex:none}.price-filter__box input{width:100%;min-width:0;border:0;background:none;padding:0;font-family:var(--sans);font-size:13px;color:var(--text)}.price-filter__box input:focus{outline:0}.price-filter__box input::-webkit-outer-spin-button,.price-filter__box input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.price-filter__to{padding-bottom:12px;color:var(--muted);font-size:13px}.price-filter__slider{position:relative;height:20px}.price-filter__track{position:absolute;top:50%;left:0;right:0;height:3px;transform:translateY(-50%);background:var(--media);border-radius:3px}.price-filter__fill{position:absolute;top:50%;height:3px;transform:translateY(-50%);left:var(--min-pct, 0%);right:calc(100% - var(--max-pct, 100%));background:var(--rarity);border-radius:3px}.price-filter__slider input[type=range]{position:absolute;top:0;left:0;width:100%;height:20px;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;pointer-events:none}.price-filter__slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid var(--rarity);box-shadow:0 1px 3px #16151840;cursor:pointer}.price-filter__slider input[type=range]::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid var(--rarity);box-shadow:0 1px 3px #16151840;cursor:pointer}.price-filter__range{display:flex;align-items:center;justify-content:space-between}.price-filter__range-val{display:inline-flex;align-items:center;gap:4px;font-family:var(--sans);font-size:13px;color:var(--text)}.browse--sidebar{display:flex;gap:32px;align-items:flex-start}.browse__sidebar{flex:none;width:265px}.browse__main{flex:1;min-width:0}.browse__sidebar-head,.browse__sidebar-foot,.browse__filters-btn{display:none}@media(max-width:900px){.browse--sidebar{display:block}.browse__main{width:100%}.browse__sidebar{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:9999;width:100%;max-height:88vh;border-radius:16px 16px 0 0;background:#fff;padding:0 16px;overflow-y:auto;box-shadow:0 -4px 24px #0000002e;transform:translateY(100%);transition:transform .26s ease;visibility:hidden}.browse__sidebar.is-open{transform:translateY(0);visibility:visible}.browse__scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9998;background:#0006}.browse__sidebar-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;background:#fff;margin:0 -16px 8px;padding:16px 16px 12px;border-radius:16px 16px 0 0}.browse__sidebar-title{font-weight:700;font-size:18px;color:var(--text)}.browse__sidebar-close{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--chip);border:0;font-size:15px;line-height:1;cursor:pointer;color:var(--text)}.browse__sidebar-foot{display:flex;align-items:center;gap:12px;position:sticky;bottom:0;margin:8px -16px 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4px 12px #00000040;z-index:1}.browse__clear{flex:1;height:40px;background:none;border:0;border-radius:var(--radius-btn);color:var(--accent);font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.035em;text-decoration:underline;cursor:pointer;white-space:nowrap}.browse__apply{flex:1;height:40px;border:0;border-radius:var(--radius-btn);background:var(--accent);color:#fff;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.035em;cursor:pointer}.browse__filters-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:4px;background:#fff;border:.5px solid var(--line-strong);border-radius:4px;color:var(--text-2);cursor:pointer}}.buy-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:20px}.buy-modal__scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#16151873}.buy-modal__card{position:relative;z-index:1;width:100%;max-width:560px;min-width:0;background:#fff;border-radius:16px;padding:12px 16px 16px;box-shadow:0 24px 60px #16151847;animation:cart-pop-in .16s ease;display:flex;flex-direction:column;gap:24px}.buy-modal__card--tall{min-height:379px;justify-content:space-between}.buy-modal__head{display:flex;flex-direction:column;gap:4px;padding-bottom:16px;border-bottom:1px solid #cfcdd4}.buy-modal__head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.buy-modal__title{margin:0;font-size:20px;font-weight:600;line-height:1.6;color:#161518}.buy-modal__x{flex-shrink:0;border:0;background:transparent;cursor:pointer;padding:2px;line-height:0}.buy-modal__balance{display:flex;align-items:center;gap:4px}.buy-modal__balance-label{font-size:14px;font-weight:600;color:#5e5b67}.buy-modal__balance-ico{width:14px;height:14px;background:#161518}.buy-modal__balance-value{font-size:14px;color:#161518}.buy-modal__body{display:flex;flex-direction:column;gap:24px}.buy-modal__loading{padding:32px 0;text-align:center;color:#716b7c}.buy-modal__error{margin:0;color:#d64550;font-size:15px}.buy-modal__asset{display:flex;gap:12px;align-items:center}.buy-modal__asset-thumb{flex-shrink:0;width:180px;height:180px;background:#ecebed;border:1px solid #a09ba8;border-radius:16px;display:grid;place-items:center;overflow:hidden}.buy-modal__asset-thumb img{width:83%;height:83%;object-fit:contain;filter:drop-shadow(.7px 2.9px 3.7px rgba(0,0,0,.1))}.buy-modal__asset-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:32px;padding:8px}.buy-modal__asset-name{font-size:20px;font-weight:600;line-height:1.57;color:#161518;overflow:hidden;text-overflow:ellipsis}.buy-modal__asset-creator{font-size:10px;line-height:1.43;color:#716b7c}.buy-modal__asset-price{display:flex;align-items:center;gap:4px}.buy-modal__asset-price-ico{width:24px;height:24px;background:#242129}.buy-modal__asset-price span{font-size:24px;font-weight:600;color:#242129}.buy-modal__warning{display:flex;align-items:center;gap:8px;justify-content:center;background:#f0dfff;border-radius:8px;padding:12px 8px}.buy-modal__warning-ico{flex-shrink:0}.buy-modal__warning-text{margin:0;font-size:14px;line-height:1.334;color:#242129;text-align:center}.buy-modal__warning-text b{font-weight:700}.buy-modal__packs{display:flex;gap:12px}.buy-modal__pack{flex:1;height:109px;border:1px solid #a09ba8;background:#ecebed;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:border-color .12s ease}.buy-modal__pack--on{border:4px solid #c640cd}.buy-modal__pack-ico{width:24px;height:24px;background:#161518}.buy-modal__pack-amount{font-size:24px;font-weight:500;color:#161518}.buy-modal__pack-usd{font-size:14px;color:#161518}.buy-modal__total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #cfcdd4;padding-top:12px}.buy-modal__total-credits{display:flex;align-items:center;gap:8px;font-size:24px;font-weight:700;color:#161518}.buy-modal__total-ico{width:30px;height:30px;background:#161518}.buy-modal__total-usd{font-size:14px;font-weight:600;color:#5e5b67}.buy-modal__ctas{display:flex;gap:12px}.buy-modal__btn{flex:1;height:46px;border-radius:8px;border:0;cursor:pointer;font-size:15px;font-weight:600;letter-spacing:.46px;text-transform:uppercase;display:inline-flex;align-items:center;justify-content:center;gap:8px}.buy-modal__btn--full{width:100%}.buy-modal__btn--gradient{background:linear-gradient(180deg,#c640cd,#691fa9);color:#fcfcfc}.buy-modal__btn--outline{background:transparent;border:2px solid #691fa9;color:#691fa9;font-size:13px}.buy-modal__btn--ruby{background:#ff2d55;color:#fcfcfc;font-size:13px;letter-spacing:.61px}.buy-modal__btn:disabled{opacity:.6;cursor:default}.buy-modal__processing{flex:1;align-items:center;justify-content:center;gap:32px;padding:24px 0}.buy-modal__logo{width:61px;height:61px}.buy-modal__processing-text{font-size:20px;font-weight:700;color:#242129;text-align:center}.buy-modal__progress{width:100%;max-width:456px;height:12px;background:#ecebed;border-radius:100px;overflow:hidden}.buy-modal__progress-fill{display:block;height:100%;width:40%;border-radius:100px;background:linear-gradient(180deg,#c640cd,#691fa9);animation:buy-modal-progress 1.1s ease-in-out infinite}@keyframes buy-modal-progress{0%{transform:translate(-120%)}to{transform:translate(320%)}}.buy-modal__success{display:flex;flex-direction:column;align-items:center;gap:16px;background:#c1eecf80;border-radius:16px;padding:24px 16px}.buy-modal__success-text{margin:0;font-size:20px;line-height:1.334;color:#242129;text-align:center}.buy-modal__success-text b{font-weight:700}.buy-modal__spinner{width:44px;height:44px;border-radius:50%;border:4px solid #ecebed;border-top-color:#691fa9;border-right-color:#c640cd;animation:buy-modal-spin .8s linear infinite}@keyframes buy-modal-spin{to{transform:rotate(360deg)}}.item-detail__own-note{margin:0;padding:16px;border:1px solid var(--line);border-radius:var(--radius-card, 12px);background:var(--surface, #fff);color:var(--muted)}.item-detail__own-note a{color:var(--accent, #691fa9);font-weight:600}
|