@dcl/shop 1.0.2-31061952187.commit-8d8b09e → 1.0.2-31093320960.commit-a66fdac
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_assets/{Activity-D_fQdZon.js → Activity-BZYV865P.js} +29 -29
- package/_assets/{AnimatedBackground-C9W4RBcZ.js → AnimatedBackground-C_gdl0Ga.js} +1 -1
- package/_assets/Assets-D6xTxE6H.js +892 -0
- package/_assets/{Assets.styles-BBWJCcMx.js → Assets.styles-C2Y2OMju.js} +80 -72
- package/_assets/{Authorizations-DVwQ95Ww.js → Authorizations-Dyl-2_Wx.js} +1 -1
- package/_assets/Cart-q1C0b7B0.js +706 -0
- package/_assets/{CircularProgress-D09608yv.js → CircularProgress-DfC_DW6J.js} +1 -1
- package/_assets/{Collection-DllncUVv.js → Collection-CikwxEA2.js} +11 -11
- package/_assets/{CollectionCarousel-B9HmGuVb.js → CollectionCarousel-CW99ees-.js} +182 -126
- package/_assets/{Confetti-Dl6FT7nL.js → Confetti-D-f5Qezh.js} +1 -1
- package/_assets/Creator-sxuxQmmv.js +307 -0
- package/_assets/{ErrorNotice-OUNK486K.js → ErrorNotice-D_MmJHjd.js} +1 -1
- package/_assets/{ExchangeController-Cp3qbfAM.js → ExchangeController-5e1qfrC7.js} +1 -1
- package/_assets/{Faq-DXtTtsuA.js → Faq-CZWOMrti.js} +1 -1
- package/_assets/{GetCredits-BhRNCaTG.js → GetCredits-EPpLyZrC.js} +19 -12
- package/_assets/{Grow-DXdR0gI9.js → Grow-CJcrEIIk.js} +1 -1
- package/_assets/{HelpersUtil-rQp5uDAx.js → HelpersUtil-D4FO24BM.js} +1 -1
- package/_assets/ItemDetail-Daqpqudw.js +3552 -0
- package/_assets/JumpInIcon-CfzbSVBF.js +1 -0
- package/_assets/LazyEmoteControls-CynuOxLa.js +2 -0
- package/_assets/{LoadMore-jSNRJiwZ.js → LoadMore-BcR7LuW8.js} +1 -1
- package/_assets/{ManaPricingBanner.styles-vDUAKLLe.js → ManaPricingBanner.styles-b_tWuH2r.js} +2 -2
- package/_assets/MyAssets-CY3P4YpT.js +396 -0
- package/_assets/{MyFavorites-BLrz2vwY.js → MyFavorites-2J4ivx_A.js} +20 -17
- package/_assets/{NotFound-DP4nosOd.js → NotFound-B9SvSXoT.js} +1 -1
- package/_assets/{NotificationsBell-ARziPv8W.js → NotificationsBell-DDd4PHL_.js} +1 -1
- package/_assets/{OutfitDetail-CLmuEgB3.js → OutfitDetail-DfQD1uwS.js} +12 -9
- package/_assets/{OutfitPreview-PWdXvCaE.js → OutfitPreview-B8wqKe4G.js} +1 -1
- package/_assets/{OutfitStudio-Cx3Xm6ff.js → OutfitStudio-C8kgT_Q1.js} +46 -46
- package/_assets/{StoreSettings-BQtEgWRm.js → StoreSettings-BszakGpI.js} +21 -21
- package/_assets/Success-BlrhZwie.js +353 -0
- package/_assets/{SwapController-Bf58lQ6b.js → SwapController-CtdE4CSE.js} +1 -1
- package/_assets/{Tooltip-BDmKiALz.js → Tooltip-D92iGFCG.js} +1 -1
- package/_assets/{TradeService-Yecm1OxI.js → TradeService-CDrDGVbQ.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-BQyeyr-U.js → W3MFrameProviderSingleton-ChXXI6YZ.js} +3 -3
- package/_assets/{WebCryptoP256-Ou_F2OJp.js → WebCryptoP256-D8s1Qscb.js} +1 -1
- package/_assets/{authorizations-B3AvOvOm.js → authorizations-qnGN3xsk.js} +1 -1
- package/_assets/{basic-DTDRwam-.js → basic-DhSHVZRT.js} +1 -1
- package/_assets/{biconomy-DaLi1O64.js → biconomy-ClBW5VwG.js} +1 -1
- package/_assets/{builder-DxumJmKw.js → builder-CL5pdg21.js} +1 -1
- package/_assets/{buy-BHkfYJLe.js → buy-B-DDln2Y.js} +1 -1
- package/_assets/{buy-gasless-BfTEWjT9.js → buy-gasless-C_BmhnE7.js} +1 -1
- package/_assets/{categories-D23W_J-A.js → categories-B8yCTSzR.js} +73 -58
- package/_assets/{ccip-qhHiv1gU.js → ccip-CJEnBLGM.js} +1 -1
- package/_assets/{ccip-DGVhZCZ4.js → ccip-DQfkaCht.js} +1 -1
- package/_assets/collectionPage.styles-CcRhgEaw.js +32 -0
- package/_assets/{controller-DGtmLk4f.js → controller-JXbdlxZp.js} +2 -2
- package/_assets/{core-BAqS3vu7.js → core-BSxLBlxi.js} +4 -4
- package/_assets/{createSvgIcon-Bm9nxGqG.js → createSvgIcon-yVJuzYrn.js} +2 -2
- package/_assets/{custom-MaGTnz7S.js → custom-B3uMWhu7.js} +1 -1
- package/_assets/{data-capture-5Vi1cyBa.js → data-capture-B-nbrWqF.js} +1 -1
- package/_assets/{email-BG6hRXMo.js → email-CVdda8uU.js} +1 -1
- package/_assets/{embedded-wallet-CfnknCH8.js → embedded-wallet-Y6M29Es7.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-CoxAZUrJ.js → emotion-styled.browser.esm-BF1qb2R0.js} +1 -1
- package/_assets/{engine-nQGCV50K.js → engine-fjR5dIp4.js} +1 -1
- package/_assets/{errors-DZ_QWsza.js → errors-B_JuFrfU.js} +1 -1
- package/_assets/{estimate-l1-fee-CVpJ9ym5.js → estimate-l1-fee-B1LOd6k3.js} +1 -1
- package/_assets/{execute-DFvUDrLY.js → execute-BXynqqjh.js} +2 -2
- package/_assets/{features-BXUedULM.js → features-Czbv6jQA.js} +1 -1
- package/_assets/{fetchTokenMetadata-CkQcnzmO.js → fetchTokenMetadata-BuR7htwA.js} +2 -2
- package/_assets/{field.styles-PE4ZasC2.js → field.styles-DFDRX2tk.js} +1 -1
- package/_assets/{get-ecosystem-wallet-info-CRLH8I6C.js → get-ecosystem-wallet-info-C8Jcr_V9.js} +1 -1
- package/_assets/{getBalance-CiV48JsZ.js → getBalance-sCJcvWYJ.js} +1 -1
- package/_assets/{getNFT-CV3N9TTA.js → getNFT-Vt2rJ26d.js} +1 -1
- package/_assets/{getNFT-C3ucNb89.js → getNFT-mOXdmQiA.js} +1 -1
- package/_assets/{grid.styles-hOZTJ80g.js → grid.styles-CX_shgZ5.js} +1 -1
- package/_assets/{hashTypedData-BtF2J233.js → hashTypedData-CN02HuAO.js} +1 -1
- package/_assets/{hashTypedData-gTABcRB5.js → hashTypedData-LiZBeYpJ.js} +1 -1
- package/_assets/identity-icon-C8yAW_Gq.svg +8 -0
- package/_assets/{in-app-CSDr4Blb.js → in-app-Di-YguDK.js} +1 -1
- package/_assets/{in-app-wallet-calls-Crivl9zc.js → in-app-wallet-calls-DeaYPRmI.js} +1 -1
- package/_assets/{index-CvwosU6Y.js → index-8YFhojLT.js} +1 -1
- package/_assets/{index-BTDIKmoC.js → index-94LcKPqN.js} +1 -1
- package/_assets/{index-CHf7lsmp.js → index-B5pEWwvB.js} +1 -1
- package/_assets/{index-D5eMvKb_.js → index-BJXNRLkE.js} +1 -1
- package/_assets/{index-ItjVcw1b.js → index-BKaw3xHY.js} +1 -1
- package/_assets/{index-Bs4LvV4K.js → index-BKtPMRlC.js} +2 -2
- package/_assets/{index-S0X-BG2b.js → index-BKwIRP5b.js} +1 -1
- package/_assets/{index-C0pcaEQl.js → index-BPg5Mvmb.js} +1 -1
- package/_assets/{index-CwRTjZPC.js → index-BRQ9Wcma.js} +3 -3
- package/_assets/{index-DKHMu0o3.js → index-BVxFsPRO.js} +1 -1
- package/_assets/{index-CyRHowbs.js → index-BanfPpYD.js} +1 -1
- package/_assets/{index-KWEbYeSY.js → index-Bf_azgOs.js} +1 -1
- package/_assets/{index-HAEoS9R6.js → index-BgNzVgyj.js} +1 -1
- package/_assets/{index-BniGBCAO.js → index-Bk3rNDtD.js} +1 -1
- package/_assets/{index-Dp2641E3.js → index-BkZn7ynX.js} +1 -1
- package/_assets/{index-C5Evg5sh.js → index-Bl852CQj.js} +1 -1
- package/_assets/{index-DkV5TYom.js → index-Bm_zAXvq.js} +1 -1
- package/_assets/{index-CHolIX6U.js → index-BsJj67OU.js} +1 -1
- package/_assets/{index-hKv-BpxY.js → index-BuWzyRcz.js} +1 -1
- package/_assets/{index-CKUuopSw.js → index-BwmnMTdg.js} +526 -451
- package/_assets/{index-BBbwMaBz.js → index-Bz4Oae-5.js} +1 -1
- package/_assets/{index-DSuiX4WG.js → index-BzBhg1fo.js} +1 -1
- package/_assets/{index-DnJJn52L.js → index-C0C9VUse.js} +1 -1
- package/_assets/{index-CmY0V0eX.js → index-C3CEKm2j.js} +1 -1
- package/_assets/{index-DdmULNRk.js → index-C6AA1Xf7.js} +2 -2
- package/_assets/{index-CkGO7qOd.js → index-CBhJLill.js} +1 -1
- package/_assets/{index-DLFQdlEW.js → index-CF-t9R4v.js} +1 -1
- package/_assets/{index-BNBzDf6z.js → index-CahHjkxT.js} +1 -1
- package/_assets/{index-Cf-gi-Qq.js → index-CcCpGfgd.js} +1 -1
- package/_assets/{index-UyXkCiLs.js → index-CdZzuE8e.js} +1 -1
- package/_assets/{index-DjTNPtj2.js → index-CfP1fkI_.js} +1 -1
- package/_assets/{index-Dh85kccn.js → index-Cleyy_0q.js} +1 -1
- package/_assets/{index-DwX-9Zo4.js → index-CnCeem_J.js} +1 -1
- package/_assets/{index-ClUPCoEW.js → index-D6OOP-51.js} +1 -1
- package/_assets/{index-BYP7oMPZ.css → index-DB6GvbxL.css} +1 -1
- package/_assets/{index-DXRL-4ld.js → index-DDJ7sdXv.js} +1 -1
- package/_assets/{index-CS27am7J.js → index-DJpl6Nbn.js} +1 -1
- package/_assets/{index-DKdQUEzy.js → index-DNNPYfed.js} +1 -1
- package/_assets/{index-9x1mGBeU.js → index-DQzE_-yq.js} +1 -1
- package/_assets/{index-DgOiZShm.js → index-DULGD4d2.js} +1 -1
- package/_assets/{index-C7hpB9s1.js → index-DaSPxwNy.js} +3 -3
- package/_assets/{index-DoGz07sk.js → index-DjW0J8pD.js} +1 -1
- package/_assets/{index-9_4ZEs3N.js → index-DjYBUAnI.js} +1 -1
- package/_assets/{index-CGBg3yUz.js → index-DlFosNf0.js} +5 -5
- package/_assets/{index-D7LYoLo4.js → index-Dm6Y9ZbQ.js} +1 -1
- package/_assets/{index-EKmmXx1j.js → index-Dr4f9K-t.js} +1 -1
- package/_assets/{index-qGMuaBIs.js → index-FT6agMXk.js} +1 -1
- package/_assets/{index-1oceTWwb.js → index-IvNZzfoI.js} +3 -3
- package/_assets/{index-C23D_vyT.js → index-N1bohwEM.js} +1 -1
- package/_assets/{index-D769FdFr.js → index-OQab0-JQ.js} +1 -1
- package/_assets/{index-wRmEiTlP.js → index-rEZ_4IFC.js} +2 -2
- package/_assets/{index-Bg_gOSx_.js → index-sFhq_-vF.js} +1 -1
- package/_assets/{index-DY1xBku2.js → index-tLIN_GkS.js} +1 -1
- package/_assets/{index.es-g_bB-nFv.js → index.es-CAHIM3qD.js} +1 -1
- package/_assets/{index.es-DnMGDxtr.js → index.es-DAZuzUm7.js} +1 -1
- package/_assets/{index.es-wpL2Ycto.js → index.es-Dwz0IUN6.js} +4 -4
- package/_assets/invite-icon-Bz6lCTuB.svg +11 -0
- package/_assets/{localBatchGatewayRequest-DtELSHiE.js → localBatchGatewayRequest-CmvuTHFj.js} +1 -1
- package/_assets/{networks-ZmRqsvV6.js → networks-DxoGDzHE.js} +1 -1
- package/_assets/{onramp-Bffl3qa3.js → onramp-DUHkYtuW.js} +1 -1
- package/_assets/{openzeppelin-BmH-LNci.js → openzeppelin-sla19LMh.js} +1 -1
- package/_assets/{parseNft-PSjb4qKi.js → parseNft-UEsMFiqe.js} +2 -2
- package/_assets/{parseSignature-IigTmAp7.js → parseSignature-BhyKODlU.js} +1 -1
- package/_assets/{parseSignature-D947kFfv.js → parseSignature-CPQ4376G.js} +3 -3
- package/_assets/{passkeys-BsJVcpuM.js → passkeys-wDVu6yuN.js} +1 -1
- package/_assets/{pay-with-exchange-CU_HZd9F.js → pay-with-exchange-CWK-Ssp3.js} +1 -1
- package/_assets/{qr-overlay-EMShc5uE.js → qr-overlay-BNEHuGJ4.js} +1 -1
- package/_assets/{receive-CO6WElZa.js → receive-BWFbKioL.js} +1 -1
- package/_assets/{resolveImplementation-CUngPhAv.js → resolveImplementation-DgfhwMlM.js} +1 -1
- package/_assets/{rpc-BqH_VMy9.js → rpc-BqdwSpX8.js} +1 -1
- package/_assets/{secp256k1-D7kpLshE.js → secp256k1-BBK7GqHS.js} +1 -1
- package/_assets/{secp256k1-CTsmRKJj.js → secp256k1-C-W8I-Zy.js} +1 -1
- package/_assets/{secp256k1-DneM3aYG.js → secp256k1-DREcXm38.js} +1 -1
- package/_assets/{send-DnwW2LgN.js → send-CHzkLWPr.js} +1 -1
- package/_assets/{send-batch-transaction-BgJnfEM8.js → send-batch-transaction-5BgfAaSR.js} +1 -1
- package/_assets/{send-eip712-transaction-Cw3ykz5y.js → send-eip712-transaction-D_wCG6QA.js} +2 -2
- package/_assets/{send-gasless-transaction-BjGhnCwR.js → send-gasless-transaction-tLadnb9y.js} +2 -2
- package/_assets/{send-transaction-COKVeGfk.js → send-transaction-D3DYgONV.js} +2 -2
- package/_assets/{sendMetaTransaction-Bp3kwdLJ.js → sendMetaTransaction-Uawte2uP.js} +1 -1
- package/_assets/{sendRawTransaction-eVli2oE3.js → sendRawTransaction-yrJJjJuj.js} +3 -3
- package/_assets/{serializeTransaction-CIM9i_-w.js → serializeTransaction-DbAjRO35.js} +1 -1
- package/_assets/{session-proposal-KGl_Ah2b.js → session-proposal-tovuipdf.js} +1 -1
- package/_assets/{session-request-VAEXTksW.js → session-request-CJx8_Nqv.js} +2 -2
- package/_assets/{signing-Cgx49_1X.js → signing-DIdv4EGK.js} +3 -3
- package/_assets/{skeleton.styles-BXNXDWEi.js → skeleton.styles-JTH6hNy6.js} +1 -1
- package/_assets/{socials-oKAOeF-k.js → socials-BMAR0gR_.js} +1 -1
- package/_assets/{styled-pD_2hanx.js → styled-Dfg0i8eX.js} +1 -1
- package/_assets/{swaps-BcAY_D99.js → swaps-BGa4ySw5.js} +1 -1
- package/_assets/{thirdweb-ChAqWFCO.js → thirdweb-Bf4Axk_U.js} +3 -3
- package/_assets/{to-serializable-transaction-D9qGbcrS.js → to-serializable-transaction-DRJLaygN.js} +2 -2
- package/_assets/{transactionReceipt-BMw52z-f.js → transactionReceipt-Bhig9TGy.js} +1 -1
- package/_assets/{transactions-CeENvGIt.js → transactions-CCUXYIeH.js} +1 -1
- package/_assets/{useCreditPacks-BcavayJ3.js → useCreditPacks-D8rMiOb_.js} +1 -1
- package/_assets/{useImportable-CqnIvzif.js → useImportable-CNQfbBw8.js} +1 -1
- package/_assets/{useInfiniteGrid-BjEQAabI.js → useInfiniteGrid-BADHIu6F.js} +1 -1
- package/_assets/{useTheme-BnnteKI4.js → useTheme-DBV2Tqy3.js} +1 -1
- package/_assets/{verifyHash-CuRmy06R.js → verifyHash-Cdp-LdrE.js} +1 -1
- package/_assets/{w3m-modal-BvOCJx7k.js → w3m-modal-BxSlR5wP.js} +1 -1
- package/_assets/{w3m-modal-CkBFH4cA.js → w3m-modal-CIDOCqB8.js} +1 -1
- package/_assets/{wait-for-tx-receipt-B2KaPYJT.js → wait-for-tx-receipt-C9B0C6I6.js} +1 -1
- package/_assets/{wallets-CpXU08d2.js → wallets-wYcTf8sk.js} +5 -5
- package/_assets/{web-connector-BHRkWbB9.js → web-connector-DC2N7iZ9.js} +3 -3
- package/_assets/world-icon-6xQ-PmmW.svg +7 -0
- package/_assets/{writeContract-DNDGvg0r.js → writeContract-EKs-5iav.js} +1 -1
- package/_assets/{zoraTestnet-CCn01jlp.js → zoraTestnet-DPmpNXvV.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Assets-CvZql_4R.js +0 -866
- package/_assets/Cart-CBLHJRVj.js +0 -706
- package/_assets/Creator-BreBnKPX.js +0 -305
- package/_assets/ItemDetail-clRbfaLQ.js +0 -3551
- package/_assets/LazyEmoteControls-B7UYn8xk.js +0 -2
- package/_assets/MyAssets-CsWhc-qa.js +0 -381
- package/_assets/Success-BWfI3_Mu.js +0 -280
- package/_assets/collectionPage.styles-CoEdrsfq.js +0 -49
- package/_assets/governance-DnazlIjy.webp +0 -0
- package/_assets/identity-B4DXDuJP.webp +0 -0
- package/_assets/invite-BfwIhP2C.webp +0 -0
- package/_assets/world-B-9aPlxu.webp +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t}from"./react-BYHuwl8r.js";function r(i){return t.jsxs("svg",{viewBox:"0 0 32 32",width:"32",height:"32",fill:"none","aria-hidden":!0,...i,children:[t.jsx("rect",{width:"32.0012",height:"32.0012",rx:"8",fill:"#FF2D55"}),t.jsx("rect",{x:"1.2632",y:"1.2632",width:"29.4748",height:"29.4748",rx:"6.7368",stroke:"#FCFCFC",strokeOpacity:"0.5",strokeWidth:"2.52641"}),t.jsx("path",{d:"M27.3021 14.4254L19.4245 6.55186C18.0203 5.14831 15.657 6.14106 15.657 8.12658V10.7283C15.5885 10.7283 15.5543 10.7283 15.4858 10.7283H8.01351C6.74626 10.7283 5.71875 11.721 5.71875 12.9877V18.9784C5.71875 20.2451 6.74626 21.272 8.01351 21.272H15.4515C15.52 21.272 15.5543 21.272 15.6228 21.272V23.8738C15.6228 25.8593 18.0203 26.852 19.3903 25.4485L27.2678 17.5749C28.1583 16.6848 28.1583 15.2813 27.3021 14.4254Z",fill:"#FCFCFC"})]})}export{r as J};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-OQab0-JQ.js","_assets/react-BYHuwl8r.js","_assets/dcl-schemas-CmtP3U6y.js","_assets/index-BwmnMTdg.js","_assets/sentry-Dx-KuLV3.js","_assets/ethers-BDpbhgX6.js","_assets/intl-CBcMB1D2.js","_assets/index-DB6GvbxL.css","_assets/createSvgIcon-yVJuzYrn.js","_assets/clsx-WwvpwSg0.js","_assets/styled-Dfg0i8eX.js","_assets/emotion-styled.browser.esm-BF1qb2R0.js","_assets/CircularProgress-DfC_DW6J.js","_assets/index-BVxFsPRO.js","_assets/useTheme-DBV2Tqy3.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as e}from"./index-BwmnMTdg.js";import{j as t,r as s}from"./react-BYHuwl8r.js";const _=s.lazy(async()=>{const[{EmoteControls:o},{Experimental_CssVarsProvider:i},{light:n}]=await Promise.all([e(()=>import("./index-OQab0-JQ.js").then(r=>r.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])),e(()=>import("./index-BVxFsPRO.js"),__vite__mapDeps([13,3,1,2,4,5,6,7,14,10])),e(()=>import("./index-BwmnMTdg.js").then(r=>r.d9),__vite__mapDeps([3,1,2,4,5,6,7]))]);return{default:r=>t.jsx(i,{theme:n,children:t.jsx(o,{...r})})}});function m(o){return t.jsx(s.Suspense,{fallback:null,children:t.jsx(_,{...o})})}export{m as E};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as o,j as f}from"./react-BYHuwl8r.js";import{s as p,B as m,b as s}from"./index-
|
|
1
|
+
import{r as o,j as f}from"./react-BYHuwl8r.js";import{s as p,B as m,b as s}from"./index-BwmnMTdg.js";const j=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
padding: 28px 0 8px;
|
package/_assets/{ManaPricingBanner.styles-vDUAKLLe.js → ManaPricingBanner.styles-b_tWuH2r.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as g,j as t,L as u}from"./react-BYHuwl8r.js";import{t as s,s as e,
|
|
1
|
+
import{r as g,j as t,L as u}from"./react-BYHuwl8r.js";import{t as s,s as e,bi as C,C as m,bj as j,b as r}from"./index-BwmnMTdg.js";function b({size:o=17,...a}){const i=`credit-mark-${g.useId()}`;return t.jsxs("svg",{viewBox:"0 0 16.9985 16.9985",width:o,height:o,fill:"none","aria-hidden":!0,focusable:"false",...a,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:i,x1:"-0.513692",y1:"8.51179",x2:"29.4301",y2:"5.69069",gradientUnits:"userSpaceOnUse",children:[t.jsx("stop",{stopColor:s.colors.dclRed}),t.jsx("stop",{offset:"1",stopColor:s.colors.flareAmber})]})}),t.jsx("path",{d:"M11.866 0.605075L16.4734 5.29355L16.4148 11.8658L11.7253 16.4742L5.15405 16.4156L0.545653 11.7271L0.604247 5.1539L5.29175 0.546481L11.866 0.605075Z",fill:`url(#${i})`,stroke:`url(#${i})`,strokeWidth:"1.04738"}),t.jsx("path",{d:"M9.14405 10.9365C9.51965 10.9365 9.87384 10.8794 10.2067 10.7653C10.5395 10.6512 10.7938 10.5371 10.9697 10.423L11.4975 11.4749L12.0252 12.5268C11.8017 12.717 11.4166 12.9095 10.8699 13.1045C10.3279 13.2994 9.68605 13.3969 8.94437 13.3969C8.25023 13.3969 7.59651 13.2756 6.98319 13.0332C6.36988 12.7907 5.82551 12.4507 5.35007 12.0133C4.87939 11.5759 4.51093 11.0625 4.24468 10.4729C3.97844 9.87864 3.84532 9.23205 3.84532 8.53316C3.84532 7.83427 3.97844 7.18767 4.24468 6.59338C4.51093 5.99433 4.87939 5.4761 5.35007 5.0387C5.82075 4.59655 6.36275 4.25423 6.97606 4.01176C7.59413 3.76453 8.25023 3.64092 8.94437 3.64092C9.68605 3.64092 10.3279 3.73838 10.8699 3.93331C11.4166 4.12824 11.8017 4.32079 12.0252 4.51097L10.9697 6.61477C10.7938 6.50067 10.5395 6.38656 10.2067 6.27246C9.87384 6.15835 9.51965 6.1013 9.14405 6.1013C8.67812 6.1013 8.27876 6.17024 7.94595 6.30812C7.6179 6.44599 7.34928 6.63141 7.14009 6.86438C6.9309 7.09734 6.77638 7.35645 6.67654 7.64171C6.58145 7.92698 6.53391 8.21699 6.53391 8.51176C6.53391 8.81129 6.58145 9.10606 6.67654 9.39607C6.77638 9.68133 6.9309 9.94045 7.14009 10.1734C7.34928 10.4064 7.6179 10.5918 7.94595 10.7297C8.27876 10.8675 8.67812 10.9365 9.14405 10.9365Z",fill:s.colors.white})]})}const{colors:l,font:w}=s,$=e.p`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 4px;
|
|
@@ -31,7 +31,7 @@ import{r as g,j as t,L as u}from"./react-BYHuwl8r.js";import{t as s,s as e,b9 as
|
|
|
31
31
|
[data-tone='on-dark'] & {
|
|
32
32
|
color: inherit;
|
|
33
33
|
}
|
|
34
|
-
`;function S({align:o,tone:a,className:i}){const c=C(m.nameSingular),d=
|
|
34
|
+
`;function S({align:o,tone:a,className:i}){const c=C(m.nameSingular),d=j(1).toFixed(2),f=r("creditRate.usdLabel");return t.jsxs($,{className:i,"data-align":o,"data-tone":a,"data-testid":"credit-rate","aria-label":r("creditRate.aria",{unit:c,usd:d}),children:[t.jsx(b,{}),t.jsxs("span",{children:[t.jsx(h,{children:"1"})," ",t.jsx(p,{children:c})]}),t.jsx(y,{"aria-hidden":!0,children:r("creditRate.equals")}),t.jsxs("span",{children:[t.jsx(p,{children:f})," ",t.jsx(h,{children:d})]})]})}const{colors:n,font:L,media:k,radius:x}=s,R=e.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
gap: 8px;
|
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
import{r as d,j as t,L as nt,b as ot,u as rt}from"./react-BYHuwl8r.js";import{t as n,s as r,b as o,I as w,x as it,o as at,bi as me,v as Q,B as ct,ap as Z,aq as V,H as lt,c as Ae,bD as dt,bE as pt}from"./index-BwmnMTdg.js";import{a as mt}from"./builder-CL5pdg21.js";import{L as ut}from"./LoadMore-BcR7LuW8.js";import{u as ft,R as X,C as xt,a as ht,F as gt,e as ue}from"./categories-B8yCTSzR.js";import{D as fe,F as xe,R as yt,a as bt,b as wt,c as jt,d as $t,S as St,e as kt,f as vt,g as Ct,h as It,i as At,j as Pt,k as Et,C as Rt,l as Tt,m as Ot,n as Ft,M as _t}from"./Assets.styles-C2Y2OMju.js";import{u as zt}from"./useInfiniteGrid-BADHIu6F.js";import{u as Bt}from"./useImportable-CNQfbBw8.js";import{E as he}from"./ErrorNotice-D_MmJHjd.js";import{C as Nt,R as Lt,B as Mt,T as Kt,A as Wt,a as Gt}from"./ManaPricingBanner.styles-b_tWuH2r.js";import{C as qt}from"./field.styles-DFDRX2tk.js";import{n as Pe}from"./Tooltip-D92iGFCG.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./skeleton.styles-JTH6hNy6.js";import"./buy-B-DDln2Y.js";import"./authorizations-qnGN3xsk.js";import"./sendMetaTransaction-Uawte2uP.js";const{colors:m,font:Ee,radius:te,z:Dt}=n,Ht=r.div`
|
|
2
|
+
position: fixed;
|
|
3
|
+
inset: 0;
|
|
4
|
+
z-index: ${Dt.overlay};
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
overflow-y: auto;
|
|
9
|
+
padding: 16px;
|
|
10
|
+
background: rgba(22, 21, 24, 0.55);
|
|
11
|
+
`,Ut=r.div`
|
|
12
|
+
width: 560px;
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
max-height: 100%;
|
|
15
|
+
overflow-y: auto;
|
|
16
|
+
padding: 12px 16px 16px;
|
|
17
|
+
border-radius: ${te.modal};
|
|
18
|
+
background: ${m.white};
|
|
19
|
+
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
gap: 24px;
|
|
23
|
+
font-family: ${Ee.sans};
|
|
24
|
+
|
|
25
|
+
/* Focused on mount for screen readers; it is not tab-reachable, so it never needs a visible ring. */
|
|
26
|
+
&:focus {
|
|
27
|
+
outline: none;
|
|
28
|
+
}
|
|
29
|
+
`,Yt=r.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
gap: 8px;
|
|
34
|
+
padding-bottom: 16px;
|
|
35
|
+
border-bottom: 1px solid ${m.gray4};
|
|
36
|
+
`,Jt=r.h2`
|
|
37
|
+
margin: 0;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
font-size: 20px;
|
|
40
|
+
line-height: 1.6;
|
|
41
|
+
color: ${m.text};
|
|
42
|
+
`,Qt=r.button`
|
|
43
|
+
position: relative;
|
|
44
|
+
flex: none;
|
|
45
|
+
display: grid;
|
|
46
|
+
place-items: center;
|
|
47
|
+
width: 18.535px;
|
|
48
|
+
height: 18.535px;
|
|
49
|
+
padding: 0;
|
|
50
|
+
border: 0;
|
|
51
|
+
background: none;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
color: ${m.text};
|
|
54
|
+
|
|
55
|
+
.ico {
|
|
56
|
+
width: 100%;
|
|
57
|
+
height: 100%;
|
|
58
|
+
}
|
|
59
|
+
/* Keeps the glyph exactly where the design puts it while giving it a tappable hit area. */
|
|
60
|
+
&::after {
|
|
61
|
+
content: '';
|
|
62
|
+
position: absolute;
|
|
63
|
+
inset: -11px;
|
|
64
|
+
}
|
|
65
|
+
&:focus-visible {
|
|
66
|
+
outline: 2px solid ${m.accent};
|
|
67
|
+
outline-offset: 2px;
|
|
68
|
+
}
|
|
69
|
+
`,Zt=r.div`
|
|
70
|
+
padding: 16px;
|
|
71
|
+
border-radius: ${te.modal};
|
|
72
|
+
background: ${m.infoGreen};
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
gap: 12px;
|
|
76
|
+
`,Vt=r.h3`
|
|
77
|
+
margin: 0;
|
|
78
|
+
font-weight: 600;
|
|
79
|
+
font-size: 20px;
|
|
80
|
+
line-height: 1.57;
|
|
81
|
+
color: ${m.text};
|
|
82
|
+
`,Xt=r.p`
|
|
83
|
+
margin: 0;
|
|
84
|
+
font-weight: 500;
|
|
85
|
+
font-size: 14px;
|
|
86
|
+
line-height: 1.334;
|
|
87
|
+
color: ${m.text2};
|
|
88
|
+
`,es=r.div`
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
gap: 8px;
|
|
92
|
+
`,ts=r.div`
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
gap: 12px;
|
|
96
|
+
`,Re=`
|
|
97
|
+
flex: 1 1 0;
|
|
98
|
+
min-width: 0;
|
|
99
|
+
display: inline-flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
gap: 8px;
|
|
103
|
+
height: 46px;
|
|
104
|
+
padding: 0 12px;
|
|
105
|
+
border-radius: ${te.card};
|
|
106
|
+
font-family: ${Ee.sans};
|
|
107
|
+
font-weight: 600;
|
|
108
|
+
font-size: 13px;
|
|
109
|
+
line-height: 24px;
|
|
110
|
+
letter-spacing: 0.46px;
|
|
111
|
+
text-transform: uppercase;
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
transition:
|
|
114
|
+
background 0.15s ease,
|
|
115
|
+
color 0.15s ease;
|
|
116
|
+
|
|
117
|
+
&:focus-visible {
|
|
118
|
+
outline: 2px solid ${m.accent};
|
|
119
|
+
outline-offset: 2px;
|
|
120
|
+
}
|
|
121
|
+
`,ss=r.button`
|
|
122
|
+
${Re};
|
|
123
|
+
border: 0.5px solid ${m.text};
|
|
124
|
+
background: ${m.white};
|
|
125
|
+
color: ${m.text2};
|
|
126
|
+
|
|
127
|
+
&:hover {
|
|
128
|
+
background: ${m.panel};
|
|
129
|
+
}
|
|
130
|
+
`,ns=r.button`
|
|
131
|
+
${Re};
|
|
132
|
+
border: 0;
|
|
133
|
+
background: ${m.accent};
|
|
134
|
+
color: ${m.softWhite};
|
|
135
|
+
|
|
136
|
+
&:hover {
|
|
137
|
+
background: ${m.accentHover};
|
|
138
|
+
}
|
|
139
|
+
&:active {
|
|
140
|
+
background: ${m.accentActive};
|
|
141
|
+
}
|
|
142
|
+
`,os=r.label`
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
146
|
+
font-size: 14.049px;
|
|
147
|
+
line-height: normal;
|
|
148
|
+
color: ${m.text};
|
|
149
|
+
cursor: pointer;
|
|
150
|
+
`,rs=r.span`
|
|
151
|
+
flex: none;
|
|
152
|
+
display: grid;
|
|
153
|
+
place-items: center;
|
|
154
|
+
width: 32px;
|
|
155
|
+
height: 32px;
|
|
156
|
+
|
|
157
|
+
& input {
|
|
158
|
+
--box: 13.714px;
|
|
159
|
+
}
|
|
160
|
+
`;function is({onClose:s,onConfirm:l}){const[p,x]=d.useState(!1),b=d.useRef(null),E=d.useRef(p);return E.current=p,d.useEffect(()=>{var C;(C=b.current)==null||C.focus();function y(a){a.key==="Escape"&&s(E.current)}return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[s]),t.jsx(Ht,{role:"presentation",onClick:()=>s(p),children:t.jsxs(Ut,{ref:b,tabIndex:-1,role:"dialog","aria-modal":"true","aria-label":o("newPricing.title"),"data-testid":"new-pricing-modal",onClick:y=>y.stopPropagation(),children:[t.jsxs(Yt,{children:[t.jsx(Jt,{children:o("newPricing.title")}),t.jsx(Qt,{onClick:()=>s(p),"aria-label":o("newPricing.close"),children:t.jsx(w,{name:"close",className:"ico"})})]}),t.jsxs(Zt,{children:[t.jsx(Vt,{children:o("newPricing.infoTitle")}),t.jsx(Xt,{children:o("newPricing.infoBody")})]}),t.jsx(Nt,{align:"center"}),t.jsxs(es,{children:[t.jsxs(ts,{children:[t.jsx(ss,{onClick:()=>s(p),"data-testid":"new-pricing-later",children:o("newPricing.later")}),t.jsx(ns,{onClick:()=>l(p),"data-testid":"new-pricing-confirm",children:o("newPricing.confirm")})]}),t.jsxs(os,{children:[t.jsx(rs,{children:t.jsx(qt,{type:"checkbox",checked:p,onChange:y=>x(y.target.checked),"data-testid":"new-pricing-opt-out"})}),o("newPricing.optOut")]})]})]})})}const Te="shop:dismissed-prompts",ge="mana-pricing";function Oe(){try{const s=localStorage.getItem(Te);if(!s)return{};const l=JSON.parse(s);return!l||typeof l!="object"||Array.isArray(l)?{}:l}catch{return{}}}function as(s){try{localStorage.setItem(Te,JSON.stringify(s))}catch{}}function Fe(s){return s?s.toLowerCase():null}function cs(s,l){const p=Fe(l);if(!p)return!1;const x=Oe()[p];return Array.isArray(x)&&x.includes(s)}function ls(s,l){const p=Fe(l);if(!p)return;const x=Oe(),b=Array.isArray(x[p])?x[p]:[];b.includes(s)||as({...x,[p]:[...b,s]})}function ds({count:s,to:l="/import",className:p}){return t.jsxs(Lt,{className:p,"data-testid":"mana-pricing-banner",children:[t.jsxs(Mt,{children:[t.jsx(w,{name:"refresh",size:24}),t.jsxs(Kt,{children:[o("manaPricingBanner.lead",{count:s})," ",t.jsx(Wt,{children:o("manaPricingBanner.accent")})," ",o("manaPricingBanner.trail")]})]}),t.jsx(Gt,{to:l,"data-testid":"mana-pricing-banner-cta",children:o("manaPricingBanner.cta")})]})}r.div`
|
|
161
|
+
display: flex;
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
gap: 4px;
|
|
164
|
+
width: 100%;
|
|
165
|
+
`;r.h2`
|
|
166
|
+
margin: 0;
|
|
167
|
+
padding: 4px 4px 2px;
|
|
168
|
+
font-family: ${n.font.sans};
|
|
169
|
+
font-weight: 700;
|
|
170
|
+
font-size: 12px;
|
|
171
|
+
letter-spacing: 0.46px;
|
|
172
|
+
text-transform: uppercase;
|
|
173
|
+
color: ${n.colors.muted};
|
|
174
|
+
`;r("button",Pe("selected"))`
|
|
175
|
+
display: flex;
|
|
176
|
+
align-items: center;
|
|
177
|
+
gap: 10px;
|
|
178
|
+
width: 100%;
|
|
179
|
+
height: 40px;
|
|
180
|
+
padding: 4px 12px;
|
|
181
|
+
border: 0;
|
|
182
|
+
border-radius: 8px;
|
|
183
|
+
background: ${({selected:s})=>s?n.colors.media:"transparent"};
|
|
184
|
+
color: ${n.colors.text};
|
|
185
|
+
font-family: ${n.font.sans};
|
|
186
|
+
font-weight: ${({selected:s})=>s?600:400};
|
|
187
|
+
font-size: 14px;
|
|
188
|
+
text-align: left;
|
|
189
|
+
cursor: pointer;
|
|
190
|
+
|
|
191
|
+
@media (hover: hover) {
|
|
192
|
+
&:hover {
|
|
193
|
+
background: ${n.colors.media};
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
&:focus-visible {
|
|
197
|
+
outline: 2px solid ${n.colors.accent};
|
|
198
|
+
outline-offset: 2px;
|
|
199
|
+
}
|
|
200
|
+
`;r(w)`
|
|
201
|
+
width: 18px;
|
|
202
|
+
height: 18px;
|
|
203
|
+
flex: none;
|
|
204
|
+
color: ${n.colors.muted};
|
|
205
|
+
`;r.div`
|
|
206
|
+
display: flex;
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
gap: 8px;
|
|
209
|
+
width: 100%;
|
|
210
|
+
`;r.span`
|
|
211
|
+
font-family: ${n.font.sans};
|
|
212
|
+
font-weight: 600;
|
|
213
|
+
font-size: 14px;
|
|
214
|
+
line-height: 1.43;
|
|
215
|
+
color: ${n.colors.text};
|
|
216
|
+
padding: 0 4px;
|
|
217
|
+
`;r.div`
|
|
218
|
+
display: flex;
|
|
219
|
+
flex-wrap: wrap;
|
|
220
|
+
gap: 8px;
|
|
221
|
+
padding: 4px;
|
|
222
|
+
`;r("button",Pe("selected"))`
|
|
223
|
+
display: inline-flex;
|
|
224
|
+
align-items: center;
|
|
225
|
+
gap: 4px;
|
|
226
|
+
padding: 4px 10px;
|
|
227
|
+
border-radius: 6px;
|
|
228
|
+
background: ${({selected:s})=>s?n.colors.text:n.colors.softWhite};
|
|
229
|
+
border: ${({selected:s})=>s?`1px solid ${n.colors.text}`:`0.5px solid ${n.colors.gray4}`};
|
|
230
|
+
color: ${({selected:s})=>s?n.colors.white:n.colors.gray0};
|
|
231
|
+
font-family: ${n.font.sans};
|
|
232
|
+
font-weight: ${({selected:s})=>s?600:400};
|
|
233
|
+
font-size: 12px;
|
|
234
|
+
cursor: pointer;
|
|
235
|
+
|
|
236
|
+
&:hover {
|
|
237
|
+
border-color: ${n.colors.text};
|
|
238
|
+
}
|
|
239
|
+
&:focus-visible {
|
|
240
|
+
outline: 2px solid ${n.colors.accent};
|
|
241
|
+
outline-offset: 2px;
|
|
242
|
+
}
|
|
243
|
+
`;const ps=r.div`
|
|
244
|
+
display: flex;
|
|
245
|
+
align-items: center;
|
|
246
|
+
gap: 8px;
|
|
247
|
+
width: 100%;
|
|
248
|
+
height: 40px;
|
|
249
|
+
padding: 0 12px;
|
|
250
|
+
border: 1px solid rgba(252, 252, 252, 0.6);
|
|
251
|
+
border-radius: ${n.radius.card};
|
|
252
|
+
background: ${n.colors.glassFaint};
|
|
253
|
+
|
|
254
|
+
&:focus-within {
|
|
255
|
+
border-color: ${n.colors.softWhite};
|
|
256
|
+
}
|
|
257
|
+
`,ms=r(w)`
|
|
258
|
+
width: 18px;
|
|
259
|
+
height: 18px;
|
|
260
|
+
flex: none;
|
|
261
|
+
color: ${n.colors.softWhite};
|
|
262
|
+
`,us=r.input`
|
|
263
|
+
flex: 1;
|
|
264
|
+
min-width: 0;
|
|
265
|
+
border: 0;
|
|
266
|
+
background: none;
|
|
267
|
+
padding: 0;
|
|
268
|
+
font-family: ${n.font.sans};
|
|
269
|
+
font-size: 14px;
|
|
270
|
+
color: ${n.colors.softWhite};
|
|
271
|
+
|
|
272
|
+
&::placeholder {
|
|
273
|
+
color: rgba(252, 252, 252, 0.7);
|
|
274
|
+
}
|
|
275
|
+
&:focus {
|
|
276
|
+
outline: 0;
|
|
277
|
+
}
|
|
278
|
+
`,fs=r.button`
|
|
279
|
+
display: grid;
|
|
280
|
+
place-items: center;
|
|
281
|
+
width: 24px;
|
|
282
|
+
height: 24px;
|
|
283
|
+
border: 0;
|
|
284
|
+
border-radius: 50%;
|
|
285
|
+
background: ${n.colors.glass};
|
|
286
|
+
color: ${n.colors.softWhite};
|
|
287
|
+
cursor: pointer;
|
|
288
|
+
flex: none;
|
|
289
|
+
|
|
290
|
+
&:hover {
|
|
291
|
+
background: ${n.colors.glassHover};
|
|
292
|
+
}
|
|
293
|
+
&:focus-visible {
|
|
294
|
+
outline: 2px solid ${n.colors.softWhite};
|
|
295
|
+
outline-offset: 2px;
|
|
296
|
+
}
|
|
297
|
+
`,xs=r(w)`
|
|
298
|
+
width: 12px;
|
|
299
|
+
height: 12px;
|
|
300
|
+
`,ye=r.div`
|
|
301
|
+
display: grid;
|
|
302
|
+
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
|
|
303
|
+
gap: 20px;
|
|
304
|
+
|
|
305
|
+
${n.media.maxWidth("sm")} {
|
|
306
|
+
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
307
|
+
gap: 12px;
|
|
308
|
+
}
|
|
309
|
+
`;r.p`
|
|
310
|
+
margin: 24px 0;
|
|
311
|
+
font-family: ${n.font.sans};
|
|
312
|
+
font-size: 14px;
|
|
313
|
+
color: ${n.colors.muted};
|
|
314
|
+
`;const be=r.div`
|
|
315
|
+
display: flex;
|
|
316
|
+
flex-direction: column;
|
|
317
|
+
align-items: center;
|
|
318
|
+
justify-content: center;
|
|
319
|
+
gap: 24px;
|
|
320
|
+
padding: 48px 16px;
|
|
321
|
+
border-radius: 16px;
|
|
322
|
+
background: ${n.colors.overlayLight};
|
|
323
|
+
text-align: center;
|
|
324
|
+
color: ${n.colors.softWhite};
|
|
325
|
+
`,we=r.div`
|
|
326
|
+
display: flex;
|
|
327
|
+
align-items: center;
|
|
328
|
+
justify-content: center;
|
|
329
|
+
width: 138px;
|
|
330
|
+
height: 138px;
|
|
331
|
+
color: ${n.colors.dclRed};
|
|
332
|
+
`,je=r.div`
|
|
333
|
+
display: flex;
|
|
334
|
+
flex-direction: column;
|
|
335
|
+
align-items: center;
|
|
336
|
+
gap: 12px;
|
|
337
|
+
padding-bottom: 16px;
|
|
338
|
+
`,$e=r.p`
|
|
339
|
+
margin: 0;
|
|
340
|
+
font-family: ${n.font.sans};
|
|
341
|
+
font-size: 20px;
|
|
342
|
+
font-weight: 700;
|
|
343
|
+
line-height: 1.6;
|
|
344
|
+
`,Se=r.p`
|
|
345
|
+
margin: 0;
|
|
346
|
+
max-width: 520px;
|
|
347
|
+
font-family: ${n.font.sans};
|
|
348
|
+
font-size: 16px;
|
|
349
|
+
font-weight: 400;
|
|
350
|
+
line-height: 1.6;
|
|
351
|
+
`,hs=r(nt)`
|
|
352
|
+
display: inline-flex;
|
|
353
|
+
align-items: center;
|
|
354
|
+
justify-content: center;
|
|
355
|
+
width: 310px;
|
|
356
|
+
max-width: 100%;
|
|
357
|
+
height: 52px;
|
|
358
|
+
padding: 0 12px;
|
|
359
|
+
border-radius: 12px;
|
|
360
|
+
background: ${n.colors.overlay};
|
|
361
|
+
color: ${n.colors.softWhite};
|
|
362
|
+
font-family: ${n.font.sans};
|
|
363
|
+
font-size: 15px;
|
|
364
|
+
font-weight: 600;
|
|
365
|
+
line-height: 24px;
|
|
366
|
+
letter-spacing: 0.46px;
|
|
367
|
+
text-transform: uppercase;
|
|
368
|
+
text-decoration: none;
|
|
369
|
+
cursor: pointer;
|
|
370
|
+
transition: background 0.15s ease;
|
|
371
|
+
|
|
372
|
+
&:hover {
|
|
373
|
+
background: ${n.colors.overlayHover};
|
|
374
|
+
}
|
|
375
|
+
`,gs=r.section`
|
|
376
|
+
max-width: 520px;
|
|
377
|
+
margin: 48px auto;
|
|
378
|
+
text-align: center;
|
|
379
|
+
display: flex;
|
|
380
|
+
flex-direction: column;
|
|
381
|
+
gap: 16px;
|
|
382
|
+
align-items: center;
|
|
383
|
+
`,ys=r.h1`
|
|
384
|
+
margin: 0;
|
|
385
|
+
font-family: ${n.font.sans};
|
|
386
|
+
font-weight: 700;
|
|
387
|
+
font-size: 24px;
|
|
388
|
+
color: ${n.colors.softWhite};
|
|
389
|
+
`,bs=r.p`
|
|
390
|
+
margin: 0;
|
|
391
|
+
font-family: ${n.font.sans};
|
|
392
|
+
font-size: 15px;
|
|
393
|
+
color: ${n.colors.gray4};
|
|
394
|
+
`,ws=r(ds)`
|
|
395
|
+
margin-bottom: 16px;
|
|
396
|
+
`,js=48,ke=[{key:"wearables",labelKey:"myAssets.sectionWearables",category:"wearable"},{key:"emotes",labelKey:"myAssets.sectionEmotes",category:"emote"},{key:"names",labelKey:"myAssets.sectionNames",category:"ens"},{key:"creations",labelKey:"myAssets.sectionCreations"}],ee=[{key:"newest",label:"filterBar.sortNewest",server:"newest"},{key:"name",label:"filterBar.sortName",server:"name"},{key:"cheapest",label:"filterBar.sortCheapest",server:"cheapest"}];function ve(s){return s==="wearables"||s==="emotes"}const Ce={wearables:"wearable",emotes:"emote",names:"names",creations:""},$s={wearable:"wearables",emote:"emotes",names:"names"};function Ss(s){return`${Ae.builderUrl}/names/${encodeURIComponent(s)}`}function Ie(s,l){return{id:s.id,name:s.name,creator:"",contractAddress:s.contractAddress,itemId:s.itemId,category:s.category,rarity:s.rarity??"common",network:s.network,chainId:s.chainId,thumbnail:s.image,priceCredits:(l==null?void 0:l.priceCredits)??s.listingPrice??0,gender:null,isSmart:!1,tokenId:s.tokenId,issuedId:s.issuedId,tradeId:(l==null?void 0:l.tradeId)??s.tradeId}}function ks(s,l,p){return{id:`${s.contractAddress}-${s.blockchainItemId}`,name:s.name,creator:p,contractAddress:s.contractAddress,itemId:s.blockchainItemId,category:s.category,rarity:s.rarity,network:"MATIC",chainId:Ae.chainId,thumbnail:s.thumbnail,priceCredits:l,gender:null,isSmart:!1}}function Ds(){var de,pe;it({title:o("nav.myAssets"),noindex:!0});const{session:s,error:l,signIn:p,restore:x}=at(),b=ot(),[E,y]=rt(),C=E.get("section"),a=ke.some(e=>e.key===C)?C:"wearables",[f,M]=d.useState("all"),[j,K]=d.useState([]),[h,R]=d.useState(null);ft(`${a}:${h??""}`);const[I,_e]=d.useState("newest"),[T,se]=d.useState(""),[$,ze]=d.useState(""),[O,S]=d.useState(!1),[Be,Ne]=d.useState(!0),[Le,Me]=d.useState(!1),[W,ne]=d.useState("idle");d.useEffect(()=>{x()},[x]),d.useEffect(()=>{const e=setTimeout(()=>ze(T.trim()),300);return()=>clearTimeout(e)},[T]),d.useEffect(()=>{if(!O)return;const e=c=>{c.key==="Escape"&&S(!1)};document.addEventListener("keydown",e);const i=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=i}},[O]);const g=s==null?void 0:s.address,Ke=ke.find(e=>e.key===a),F=ve(a),oe=(ee.find(e=>e.key===I)??ee[0]).server,We=f==="on_sale"?o("filter.onSale"):f==="not_for_sale"?o("filter.notForSale"):"",Ge=X.filter(e=>j.includes(e)).map(me).join(", ");function re(e){y(i=>{const c=new URLSearchParams(i);return c.set("section",e),c},{replace:!0}),R(null),ve(e)||K([]),S(!1)}function ie(e){K(i=>i.includes(e)?i.filter(c=>c!==e):[...i,e])}function qe(e){const i=$s[e];i&&re(i)}const{items:A,total:De,isLoading:G,isPlaceholderData:q,error:He,hasNextPage:Ue,isFetchingNextPage:ae,isFetchNextPageError:Ye,fetchNextPage:Je}=zt(["my-assets",g,a,f,j,h,$,oe],e=>lt(g,{category:Ke.category,first:js,skip:e,search:$||void 0,rarities:F&&j.length?j:void 0,wearableCategories:a==="wearables"&&h?ue[h]:void 0,emoteCategories:a==="emotes"&&h?ue[h]:void 0,onlyOnSale:f==="on_sale"||void 0,sortBy:oe}).then(i=>({items:i.assets,total:i.total})),{enabled:!!g&&a!=="creations"}),D=d.useMemo(()=>a==="wearables"||a==="emotes"?[...new Set(A.map(e=>e.contractAddress))]:[],[A,a]),{data:_}=Q({queryKey:["secondary-sale-state",D],enabled:D.length>0,queryFn:async()=>{const e=await Promise.all(D.map(async c=>[c,await dt(c)])),i={};for(const[c,u]of e)for(const[k,v]of Object.entries(u))i[`${c}-${k}`]=v;return i}}),ce=e=>_==null?void 0:_[`${e.contractAddress}-${e.tokenId}`],Qe=e=>!!ce(e)||e.isOnSale,H=d.useMemo(()=>f==="not_for_sale"?A.filter(e=>!Qe(e)):A,[A,f,_]),{data:z,isLoading:U,isError:Ze}=Q({queryKey:["publishable-items",g],queryFn:()=>mt(g,s.identity),enabled:!!s&&a==="creations",retry:!1}),Y=d.useMemo(()=>[...new Set((z??[]).map(e=>e.contractAddress))],[z]),{data:B}=Q({queryKey:["collection-sale-state",g,Y],enabled:Y.length>0,queryFn:async()=>{const e=await Promise.all(Y.map(async c=>[c,await pt(c)])),i={};for(const[c,u]of e)for(const[k,v]of Object.entries(u))i[`${c}-${k}`]=v;return i}}),P=e=>B==null?void 0:B[`${e.contractAddress}-${e.blockchainItemId}`],J=d.useMemo(()=>{let e=z??[];if(f==="on_sale"?e=e.filter(c=>{var u;return(u=P(c))==null?void 0:u.isOnSale}):f==="not_for_sale"&&(e=e.filter(c=>{var u;return!((u=P(c))!=null&&u.isOnSale)})),$){const c=$.toLowerCase();e=e.filter(u=>u.name.toLowerCase().includes(c))}const i=[...e];return I==="name"?i.sort((c,u)=>c.name.localeCompare(u.name)):I==="cheapest"&&i.sort((c,u)=>{var k,v;return(((k=P(c))==null?void 0:k.priceCredits)??0)-(((v=P(u))==null?void 0:v.priceCredits)??0)}),i},[z,B,f,$,I]),{count:Ve}=Bt(),N=Ve??0;d.useEffect(()=>{W!=="idle"||N===0||cs(ge,g)||ne("open")},[W,N,g]);function le(e){e&&ls(ge,g),ne("closed")}if(!s)return t.jsxs(gs,{children:[t.jsx(ys,{children:o("nav.myAssets")}),t.jsx(bs,{children:o("myAssets.signInPrompt")}),t.jsx(ct,{variant:"white",onClick:()=>p(),children:o("storeSettings.signIn")}),t.jsx(he,{message:l})]});const Xe=a==="creations"?U:G||q,et=a==="creations"?J.length:f==="not_for_sale"?H.length:De,L=[];if(f!=="all"&&L.push({key:"status",label:f==="on_sale"?o("filter.onSale"):o("filter.notForSale"),onRemove:()=>M("all")}),F)for(const e of X)j.includes(e)&&L.push({key:`rarity-${e}`,label:me(e),onRemove:()=>ie(e)});if(F&&h){const e=(pe=(de=xt.find(i=>i.key===Ce[a]))==null?void 0:de.subs)==null?void 0:pe.find(i=>i.key===h);L.push({key:"sub",label:e?o(e.labelKey):h,onRemove:()=>R(null)})}function tt(){M("all"),K([]),R(null)}const st=t.jsxs(t.Fragment,{children:[t.jsx(ht,{title:o("myAssets.assetsHeading"),category:Ce[a],subCategory:h,onCategory:qe,onSub:R,onCollections:()=>re("creations"),collections:a==="creations",extraLabelKey:"myAssets.sectionCreations",hideAll:!0}),F?t.jsxs(t.Fragment,{children:[t.jsx(fe,{}),t.jsx(xe,{title:o("assets.rarity"),open:Le,onToggle:()=>Me(e=>!e),summary:Ge,headerTestId:"sidebar-section-toggle",children:t.jsx(yt,{"data-testid":"rarity-filter",children:X.map(e=>{const i=j.includes(e);return t.jsxs(bt,{type:"button",selected:i,"aria-pressed":i,onClick:()=>ie(e),"data-testid":"rarity-filter-check",children:[t.jsx(wt,{color:n.rarities[e],children:i?t.jsx(jt,{name:"check","aria-hidden":!0}):null}),t.jsx($t,{selected:i,children:e})]},e)})})})]}):null,t.jsx(fe,{}),t.jsx(xe,{title:o("filter.status"),open:Be,onToggle:()=>Ne(e=>!e),summary:We,children:[["all",o("filter.statusAll")],["on_sale",o("filter.onSale")],["not_for_sale",o("filter.notForSale")]].map(([e,i])=>t.jsxs(St,{children:[t.jsx(kt,{type:"radio",name:"myassets-status",checked:f===e,onChange:()=>M(e)}),t.jsx(vt,{children:i})]},e))})]});return t.jsxs(Ct,{"data-testid":"my-assets",children:[O?t.jsx(It,{onClick:()=>S(!1),"aria-hidden":!0}):null,t.jsxs(At,{"data-open":O||void 0,"data-testid":"my-assets-sidebar",children:[t.jsxs(Pt,{children:[t.jsx(Et,{children:o("assets.filters")}),t.jsx(Rt,{onClick:()=>S(!1),"aria-label":o("assets.closeFilters"),children:"✕"})]}),t.jsx(Tt,{children:st}),t.jsx(Ot,{children:t.jsx(Ft,{type:"button",onClick:()=>S(!1),children:o("assets.showItems")})})]}),t.jsxs(_t,{children:[N>0?t.jsx(ws,{count:N}):null,t.jsx(gt,{sort:I,onSort:_e,sortOptions:ee,total:et,loading:Xe,query:$,onOpenFilters:()=>S(!0),chips:L,onClearChips:tt,search:t.jsxs(ps,{children:[t.jsx(ms,{name:"search","aria-hidden":!0}),t.jsx(us,{type:"search",value:T,placeholder:o("myAssets.searchPlaceholder"),"aria-label":o("myAssets.searchPlaceholder"),onChange:e=>se(e.target.value)}),T?t.jsx(fs,{type:"button","aria-label":o("myAssets.clearSearch"),onClick:()=>se(""),children:t.jsx(xs,{name:"close","aria-hidden":!0})}):null]})}),(a==="creations"?Ze:He)?t.jsx(he,{message:o("myAssets.ownedError"),testId:"my-assets-error"}):null,a==="creations"?t.jsxs(t.Fragment,{children:[t.jsx(ye,{"data-testid":"grid",children:U?t.jsx(Z,{count:12}):J.map(e=>{const i=P(e);return t.jsx(V,{item:ks(e,(i==null?void 0:i.priceCredits)??0,g??""),mode:"manage-link"},`${e.contractAddress}-${e.blockchainItemId}`)})}),!U&&J.length===0?t.jsxs(be,{children:[t.jsx(we,{children:t.jsx(w,{name:"pen",size:96,"aria-hidden":!0})}),t.jsxs(je,{children:[t.jsx($e,{children:o("myAssets.emptyCreationsTitle")}),t.jsx(Se,{children:o("myAssets.nothingToPublish")})]})]}):null]}):t.jsxs(t.Fragment,{children:[t.jsxs(ye,{"data-testid":"grid",children:[G||q?t.jsx(Z,{count:12}):H.map(e=>a==="names"?t.jsx(V,{item:{...Ie(e),category:"ens"},mode:"manage-link",manageHref:Ss(e.name)},e.id):t.jsx(V,{item:Ie(e,ce(e)),mode:"manage-link"},e.id)),ae?t.jsx(Z,{count:6}):null]}),f!=="not_for_sale"?t.jsx(ut,{hasNextPage:Ue,isFetching:ae,isError:Ye,onLoadMore:()=>void Je()}):null,!G&&!q&&H.length===0?t.jsxs(be,{children:[t.jsx(we,{children:t.jsx(w,{name:a==="names"?"website":a==="emotes"?"emote-dance":"cat-upper",size:96,"aria-hidden":!0})}),t.jsxs(je,{children:[t.jsx($e,{children:a==="names"?o("myAssets.emptyNamesTitle"):o("myAssets.emptyOwnedTitle")}),t.jsx(Se,{children:a==="names"?o("myAssets.namesEmpty"):o("myAssets.ownedEmpty")})]}),a!=="names"?t.jsx(hs,{to:"/items",children:o("myAssets.emptyBrowse")}):null]}):null]})]}),W==="open"?t.jsx(is,{onClose:le,onConfirm:e=>{le(e),b("/import")}}):null]})}export{Ds as MyAssets};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import{L as C,r as m,j as t}from"./react-BYHuwl8r.js";import{s,t as b,x as j,b as o,am as
|
|
1
|
+
import{L as C,r as m,j as t}from"./react-BYHuwl8r.js";import{s,t as b,x as j,b as o,am as l,an as k,ao as w,ap as F,aq as E}from"./index-BwmnMTdg.js";import{L as $}from"./LoadMore-BcR7LuW8.js";import{E as L}from"./ErrorNotice-D_MmJHjd.js";import{G as M}from"./grid.styles-CX_shgZ5.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";const{colors:i,radius:h}=b,B=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: baseline;
|
|
4
4
|
gap: 12px;
|
|
5
5
|
margin-bottom: 20px;
|
|
6
|
-
`,
|
|
6
|
+
`,W=s.h1`
|
|
7
7
|
margin: 0;
|
|
8
8
|
color: ${i.softWhite};
|
|
9
|
-
`,
|
|
9
|
+
`,_=s.span`
|
|
10
10
|
color: ${i.gray4};
|
|
11
11
|
font-size: 14px;
|
|
12
|
-
`,
|
|
12
|
+
`,z=s.p`
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
gap: 10px;
|
|
@@ -20,12 +20,12 @@ import{L as C,r as m,j as t}from"./react-BYHuwl8r.js";import{s,t as b,x as j,b a
|
|
|
20
20
|
margin-bottom: 14px;
|
|
21
21
|
font-weight: 600;
|
|
22
22
|
font-size: 14px;
|
|
23
|
-
`,
|
|
23
|
+
`,H=s.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
align-items: flex-start;
|
|
27
27
|
gap: 16px;
|
|
28
|
-
`,
|
|
28
|
+
`,T=s.button`
|
|
29
29
|
display: inline-flex;
|
|
30
30
|
align-items: center;
|
|
31
31
|
justify-content: center;
|
|
@@ -47,7 +47,7 @@ import{L as C,r as m,j as t}from"./react-BYHuwl8r.js";import{s,t as b,x as j,b a
|
|
|
47
47
|
outline: 2px solid ${i.accent};
|
|
48
48
|
outline-offset: 2px;
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
50
|
+
`,G=s.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
53
|
align-items: center;
|
|
@@ -55,38 +55,41 @@ import{L as C,r as m,j as t}from"./react-BYHuwl8r.js";import{s,t as b,x as j,b a
|
|
|
55
55
|
gap: 24px;
|
|
56
56
|
min-height: 50vh;
|
|
57
57
|
padding: 48px 16px;
|
|
58
|
+
border-radius: 16px;
|
|
59
|
+
background: ${i.overlayLight};
|
|
58
60
|
text-align: center;
|
|
59
61
|
color: ${i.softWhite};
|
|
60
|
-
`,
|
|
62
|
+
`,S=s.img`
|
|
61
63
|
width: 138px;
|
|
62
64
|
height: 138px;
|
|
63
|
-
`,
|
|
65
|
+
`,A=s.div`
|
|
64
66
|
display: flex;
|
|
65
67
|
flex-direction: column;
|
|
66
68
|
align-items: center;
|
|
67
69
|
gap: 12px;
|
|
68
70
|
padding-bottom: 16px;
|
|
69
|
-
`,
|
|
71
|
+
`,I=s.p`
|
|
70
72
|
margin: 0;
|
|
71
73
|
font-size: 20px;
|
|
72
74
|
font-weight: 700;
|
|
73
75
|
line-height: 1.6;
|
|
74
|
-
`,
|
|
76
|
+
`,P=s.p`
|
|
75
77
|
margin: 0;
|
|
76
78
|
max-width: 520px;
|
|
77
79
|
font-size: 16px;
|
|
78
80
|
font-weight: 400;
|
|
79
81
|
line-height: 1.6;
|
|
80
|
-
`,
|
|
82
|
+
`,R=s(C)`
|
|
81
83
|
display: inline-flex;
|
|
82
84
|
align-items: center;
|
|
83
85
|
justify-content: center;
|
|
84
86
|
width: 310px;
|
|
85
87
|
max-width: 100%;
|
|
86
|
-
height:
|
|
88
|
+
height: 52px;
|
|
87
89
|
padding: 0 12px;
|
|
88
90
|
border-radius: ${h.card};
|
|
89
|
-
|
|
91
|
+
/* The panel's own CTA is a deeper translucent black, not a solid purple (Figma 2103:414709). */
|
|
92
|
+
background: ${i.overlay};
|
|
90
93
|
color: ${i.softWhite};
|
|
91
94
|
font-size: 15px;
|
|
92
95
|
font-weight: 600;
|
|
@@ -97,10 +100,10 @@ import{L as C,r as m,j as t}from"./react-BYHuwl8r.js";import{s,t as b,x as j,b a
|
|
|
97
100
|
transition: background 0.15s ease;
|
|
98
101
|
|
|
99
102
|
&:hover {
|
|
100
|
-
background: ${i.
|
|
103
|
+
background: ${i.overlayHover};
|
|
101
104
|
}
|
|
102
105
|
&:focus-visible {
|
|
103
|
-
outline: 2px solid ${i.
|
|
106
|
+
outline: 2px solid ${i.softWhite};
|
|
104
107
|
outline-offset: 2px;
|
|
105
108
|
}
|
|
106
|
-
`,
|
|
109
|
+
`,V="data:image/svg+xml,%3csvg%20width='138'%20height='138'%20viewBox='0%200%20138%20138'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M92.7188%2021.5625V34.5'%20stroke='%23FF7158'%20stroke-width='4.3125'%20stroke-linecap='round'/%3e%3cpath%20d='M86.25%2028.0312H99.1875'%20stroke='%23FF7158'%20stroke-width='4.3125'%20stroke-linecap='round'/%3e%3cpath%20d='M24.7324%2065.5C24.732%2062.8042%2025.2665%2060.1361%2026.3037%2057.6514C27.341%2055.1665%2028.8602%2052.9151%2030.7715%2051.0293C32.6826%2049.1438%2034.9471%2047.6604%2037.4326%2046.666C39.9183%2045.6716%2042.5762%2045.1856%2045.25%2045.2354L45.3008%2045.2363H45.3516C48.581%2045.2192%2051.7779%2045.8923%2054.7305%2047.2109C56.1717%2047.8547%2057.539%2048.6448%2058.8115%2049.5674C60.1459%2050.5348%2061.3766%2051.6478%2062.4795%2052.8887L65.6426%2056.4473L68.8057%2052.8887C69.9086%2051.6478%2071.1392%2050.5348%2072.4736%2049.5674C73.7464%2048.6446%2075.1142%2047.8547%2076.5557%2047.2109C79.5083%2045.8922%2082.705%2045.2191%2085.9346%2045.2363H85.9854L86.0361%2045.2354C88.7097%2045.1856%2091.367%2045.6717%2093.8525%2046.666C96.3383%2047.6604%2098.6034%2049.1436%20100.515%2051.0293C102.426%2052.9151%20103.945%2055.1665%20104.982%2057.6514C106.02%2060.1361%20106.554%2062.8043%20106.554%2065.5V65.501C106.554%2074.0645%20102.382%2082.1039%2095.8086%2089.877C89.2296%2097.6565%2080.6704%20104.682%2072.6035%20111.289C71.1421%20112.486%2069.6963%20113.67%2068.2959%20114.832C66.7887%20116.083%2064.5293%20116.081%2063.0176%20114.818C61.4894%20113.542%2059.9072%20112.242%2058.3076%20110.928C50.2836%20104.335%2041.8192%2097.3643%2035.3242%2089.6553C28.8376%2081.9561%2024.7324%2073.9982%2024.7324%2065.501V65.5Z'%20stroke='url(%23paint0_linear_favorites_empty)'%20stroke-width='8.46429'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_favorites_empty'%20x1='17.6552'%20y1='80.505'%20x2='176.469'%20y2='63.4051'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",g=24;function X(){j({title:o("nav.myFavorites"),noindex:!0});const a=l(e=>Object.values(e.items)),c=l(e=>e.status),f=l(e=>e.retry),[d,u]=m.useState(g),{data:p,isPending:y,isError:v}=k(),x=a.some(e=>!!e.manaWei),r=m.useMemo(()=>a.map(e=>({...e,priceCredits:w(e,p)})),[a,p]);if(c==="error")return t.jsxs(H,{"data-testid":"favorites-error",children:[t.jsx(L,{message:o("myFavorites.loadError")}),t.jsx(T,{type:"button",onClick:f,children:o("myFavorites.tryAgain")})]});if(c==="ready"&&r.length===0)return t.jsxs(G,{"data-testid":"favorites-empty",children:[t.jsx(S,{src:V,alt:"",width:138,height:138}),t.jsxs(A,{children:[t.jsx(I,{children:o("myFavorites.emptyTitle")}),t.jsx(P,{children:o("myFavorites.emptyBody")})]}),t.jsx(R,{to:"/items",children:o("myFavorites.emptyCta")})]});const n=c==="loading"||y&&x;return t.jsxs("section",{children:[t.jsxs(B,{children:[t.jsx(W,{children:o("nav.myFavorites")}),n?null:t.jsx(_,{children:o("myFavorites.itemCount",{count:r.length})})]}),v&&x?t.jsx(z,{children:o("assets.marketUnavailable")}):null,t.jsx(M,{"data-testid":n?"favorites-loading":void 0,children:n?t.jsx(F,{count:8}):r.slice(0,d).map(e=>t.jsx(E,{item:e},e.id))}),t.jsx($,{hasNextPage:!n&&d<r.length,isFetching:!1,onLoadMore:()=>u(e=>e+g)})]})}export{X as MyFavorites};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,L as i}from"./react-BYHuwl8r.js";import{t as e,s as n,I as s,x as r,b as o,B as a}from"./index-
|
|
1
|
+
import{j as t,L as i}from"./react-BYHuwl8r.js";import{t as e,s as n,I as s,x as r,b as o,B as a}from"./index-BwmnMTdg.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";const c=n.div`
|
|
2
2
|
min-height: 52vh;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|