@dcl/shop 1.17.2-36152359068.commit-47bab5a → 1.17.2-36416043832.commit-4089d5e
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-B-tcMJAJ.js → Activity-D2jmtwsW.js} +4 -4
- package/_assets/{AnimatedBackground-DK3QLOJ2.js → AnimatedBackground-CyVXNYJv.js} +6 -6
- package/_assets/{Assets-Dn9STriB.js → Assets-DEOBSoh8.js} +7 -7
- package/_assets/{Cart-CII8Xe0D.js → Cart-BSksnt0Q.js} +2 -2
- package/_assets/{Collection-B5VerJez.js → Collection-DO9HR41Y.js} +2 -2
- package/_assets/{CollectionCarousel-UPeRXz9b.js → CollectionCarousel-DdFcTb7z.js} +6 -6
- package/_assets/{Confetti-Cw8f6Wn9.js → Confetti-X0aTW69R.js} +4 -4
- package/_assets/{ConstantsUtil-BMmlkMBY.js → ConstantsUtil-CrUStMSy.js} +2 -2
- package/_assets/{ContentClient-WoaFsbEW.js → ContentClient-BxaoIUGr.js} +2 -2
- package/_assets/{Creator-DFNZWETP.js → Creator-CbBX7kJx.js} +2 -2
- package/_assets/{CreditPackPicker-BqGavVgR.js → CreditPackPicker-BALe7jq2.js} +2 -2
- package/_assets/{CreditRate-vLOKKh_P.js → CreditRate-Dgl8uo5R.js} +2 -2
- package/_assets/{DeploymentBuilder-CWlRoHld.js → DeploymentBuilder-CIr18K2s.js} +2 -2
- package/_assets/{EmotePlaybackBar-q13HrLFU.js → EmotePlaybackBar-Dqg6QoF7.js} +5 -5
- package/_assets/{ErrorNotice-CbW4Q2ZV.js → ErrorNotice-CgXteyOw.js} +2 -2
- package/_assets/{Event-X3zYhRwD.js → Event-Bu6MjDZe.js} +2 -2
- package/_assets/{ExchangeController-cIXkyf4H.js → ExchangeController-BDER0L5X.js} +2 -2
- package/_assets/{Faq-iPufE4Ki.js → Faq-CCtG3Rr9.js} +2 -2
- package/_assets/{Filters-rmYRG9Xu.js → Filters-DXQU2YoP.js} +2 -2
- package/_assets/{GetCredits-CwEq6zsX.js → GetCredits-Cu3nigEF.js} +2 -2
- package/_assets/{Grow-BuqjElXH.js → Grow-D-UUprye.js} +2 -2
- package/_assets/{HelpersUtil-CS8EBJH9.js → HelpersUtil-BUPeqAJq.js} +2 -2
- package/_assets/{IssueModal-C8pY_CjA.js → IssueModal-By9a682X.js} +2 -2
- package/_assets/{ItemDetail-BcjDWr54.js → ItemDetail-qx_k1gKc.js} +46 -46
- package/_assets/{LoadMore-BOdt5RfM.js → LoadMore-CUMtmZ4i.js} +2 -2
- package/_assets/{ManaPricingBanner-CaOs1iNT.js → ManaPricingBanner-D6sLeIKP.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-DLFrScDr.js → ManaPricingBanner.styles-BPXSeSwH.js} +2 -2
- package/_assets/{MyAssets-C5JLt3AZ.js → MyAssets-Dx9CFsGZ.js} +2 -2
- package/_assets/{MyFavorites-BUNoJkIc.js → MyFavorites-Dk6jc13z.js} +2 -2
- package/_assets/MyStore-Dn05R_CU.js +1989 -0
- package/_assets/{NetworkUtil-r4ZB1Agx.js → NetworkUtil-BZR5q4yD.js} +2 -2
- package/_assets/{NotFound-BlzZI2Ql.js → NotFound-BibpgVDq.js} +2 -2
- package/_assets/{NotificationsBell-vli38TDJ.js → NotificationsBell-CFpA7baU.js} +13 -13
- package/_assets/{OutfitDetail-1jGClsB_.js → OutfitDetail-Dv__EioU.js} +2 -2
- package/_assets/{OutfitPreview-VgWQZ9ov.js → OutfitPreview-CmnGW78C.js} +2 -2
- package/_assets/{OutfitStudio-BkgXlCW4.js → OutfitStudio-VPWg-ruj.js} +2 -2
- package/_assets/{PaymentMethodStep-BDIZKceq.js → PaymentMethodStep-1idNWCrZ.js} +5 -5
- package/_assets/{SaleCountdown-BT87OARJ.js → SaleCountdown-Cd-0KaVZ.js} +2 -2
- package/_assets/{Spinner-BZ99cc63.js → Spinner-DPxiNxFf.js} +2 -2
- package/_assets/{StoreSettings-Di1kFuez.js → StoreSettings-OqE6YfkE.js} +2 -2
- package/_assets/{Success-mbqlFMRP.js → Success-BNlDSaP4.js} +2 -2
- package/_assets/{SwapController-Bv1KjKr6.js → SwapController-De2TQUy-.js} +2 -2
- package/_assets/{Tooltip-BqY8lGhV.js → Tooltip-DoHbcrYg.js} +2 -2
- package/_assets/{TradeService-BSb4oEbA.js → TradeService-ByDZQglZ.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-C3uUAOnI.js → W3MFrameProviderSingleton-Be7CMAhr.js} +4 -4
- package/_assets/{WebCryptoP256-ChnBIYNz.js → WebCryptoP256-CKWB_r1E.js} +2 -2
- package/_assets/{basic-Dc-yAZgS.js → basic-Do26-Vqu.js} +2 -2
- package/_assets/{biconomy-Ch2E1lll.js → biconomy-CMTWn4Q4.js} +2 -2
- package/_assets/{browseLayout.styles-BKTAmYSq.js → browseLayout.styles-BvcKB1tB.js} +2 -2
- package/_assets/{browser-CKALJXh2.js → browser-B-ANoDXe.js} +2 -2
- package/_assets/{browser-tP08e2Rq.js → browser-Cife5Xfc.js} +2 -2
- package/_assets/{browser-ponyfill-CmmcfAMi.js → browser-ponyfill-vRYXBue4.js} +2 -2
- package/_assets/{buy-RnCuARVP.js → buy-BMZZrTA1.js} +2 -2
- package/_assets/{buy-gasless-COdNSlBG.js → buy-gasless-lVOYjhRS.js} +2 -2
- package/_assets/{ccip-D181-o00.js → ccip-BKS-j5xv.js} +2 -2
- package/_assets/{ccip-nOGc-ELR.js → ccip-Cvqcd4ZR.js} +2 -2
- package/_assets/{chains-luYqMGzb.js → chains-DfIzFf1h.js} +2 -2
- package/_assets/collectionPage.styles-CPLOrSxB.js +41 -0
- package/_assets/{common-lEsyNCa8.js → common-CHgnpu7g.js} +2 -2
- package/_assets/{controller-D3EAwj-f.js → controller-CRQd0tg4.js} +3 -3
- package/_assets/{core-BU0HPg4r.js → core-BwctNYgH.js} +5 -5
- package/_assets/{createSvgIcon-DObsJOah.js → createSvgIcon-ykh7lo_E.js} +2 -2
- package/_assets/{crumbs.styles-C5oFtMBh.js → crumbs.styles-CXii36cN.js} +2 -2
- package/_assets/{custom-DIXVsLc6.js → custom-Dke-UC3h.js} +2 -2
- package/_assets/{data-capture-CZGhq5a0.js → data-capture-BSERz3xn.js} +2 -2
- package/_assets/{dcl-schemas-B4SkwUm_.js → dcl-schemas-CWaHH-ed.js} +2 -2
- package/_assets/{decimals-DnkGmF3V.js → decimals-CTlRSm2y.js} +2 -2
- package/_assets/{decimals-U5WJsdzD.js → decimals-CU-xpoLM.js} +2 -2
- package/_assets/{detectExtension-6eiVpI1A.js → detectExtension-B1ikZpZB.js} +2 -2
- package/_assets/{disposePreview-DeEtkKLL.js → disposePreview-WoKkUUQK.js} +2 -2
- package/_assets/{email-Bwii9MB_.js → email-D7eYakyt.js} +2 -2
- package/_assets/{embedded-wallet-COJK5B-H.js → embedded-wallet-DaorIptX.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-CcSLWrGe.js → emotion-styled.browser.esm-CtAj_Bzj.js} +2 -2
- package/_assets/{engine-B6ScaRDB.js → engine-DVKQpKux.js} +2 -2
- package/_assets/{errors-CynPossx.js → errors-ont-HITy.js} +2 -2
- package/_assets/{estimate-l1-fee-CDcG2dYD.js → estimate-l1-fee-D5MpCTg7.js} +2 -2
- package/_assets/{eth_estimateGas-DcFq4Lf0.js → eth_estimateGas-wOtkyGtY.js} +2 -2
- package/_assets/{eth_getStorageAt-fF-ctFOy.js → eth_getStorageAt-BRGeMj7x.js} +2 -2
- package/_assets/{eth_getTransactionCount-DMT5yGEb.js → eth_getTransactionCount-CsWuvcRz.js} +2 -2
- package/_assets/{ethereum-DHKKDLpc.js → ethereum-BwXM5mdW.js} +2 -2
- package/_assets/{ethers-H2EHHmSo.js → ethers-xBnicGGT.js} +2 -2
- package/_assets/{events-D1Ro3cjz.js → events-DcwFFZPv.js} +2 -2
- package/_assets/{execute-BWiqZ7j-.js → execute-_7dD_VNa.js} +3 -3
- package/_assets/{extractIPFS-DiV8zmbD.js → extractIPFS-BWzKoZad.js} +2 -2
- package/_assets/{features-wQa_8a20.js → features-Du2LNKLc.js} +2 -2
- package/_assets/{fetchTokenMetadata-C73jMrgi.js → fetchTokenMetadata-DwZKOWAU.js} +3 -3
- package/_assets/{field.styles-CTapCSQr.js → field.styles-C60upe5f.js} +2 -2
- package/_assets/{fortmatic-d8l6VsHl.js → fortmatic-8a2vw26K.js} +2 -2
- package/_assets/{get-bytecode-6IPPs1XH.js → get-bytecode-e2_Kn8Mo.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-CiagQo6x.js → get-ecosystem-wallet-info-DNfhM-EJ.js} +2 -2
- package/_assets/{getBalance-DFlqMK0q.js → getBalance-ruTqGWj2.js} +3 -3
- package/_assets/{getInstalledModules-DviNZAnD.js → getInstalledModules-CwyhzLIg.js} +2 -2
- package/_assets/{getNFT-BKd5-jIK.js → getNFT-C9rBe7DY.js} +3 -3
- package/_assets/{getNFT-CZsKZDOy.js → getNFT-DsArQnIc.js} +2 -2
- package/_assets/{grid.styles-Cnszd1mK.js → grid.styles-r8VX_-Hx.js} +2 -2
- package/_assets/{hashTypedData-CIOnYjgW.js → hashTypedData-BumM0k5l.js} +2 -2
- package/_assets/{hashTypedData-Cx4RHD4_.js → hashTypedData-gmjxPsfy.js} +2 -2
- package/_assets/{import-DopjtwQm.js → import-4kws6rCP.js} +2 -2
- package/_assets/{in-app-BZPTqZxK.js → in-app-Cx_Nj8q7.js} +2 -2
- package/_assets/{in-app-wallet-calls-C-84b8TZ.js → in-app-wallet-calls-DDLwZe9X.js} +2 -2
- package/_assets/{index-DaOnNrHB.js → index--QZmWmnq.js} +2 -2
- package/_assets/{index-IxfADe_K.js → index-502bLdut.js} +2 -2
- package/_assets/{index-CDDdRbfE.js → index-75UOmaNa.js} +4 -4
- package/_assets/{index-BHxfAJlD.js → index-9ZMsFQ6f.js} +2 -2
- package/_assets/{index-Ig7GQRBz.js → index-B2jV-Y4K.js} +2 -2
- package/_assets/{index-BNj1ZZ--.js → index-B3hhASQ2.js} +2 -2
- package/_assets/{index-DODo43nM.js → index-B4ROt7bC.js} +2 -2
- package/_assets/{index-BnzJAKB0.js → index-BDB9exbO.js} +2 -2
- package/_assets/{index-BpRttMPE.js → index-BE5Y0isb.js} +3 -3
- package/_assets/{index-Dp2nuRFm.js → index-BKCO2ehs.js} +2 -2
- package/_assets/{index--yhvP7PG.js → index-BKEPJpub.js} +2 -2
- package/_assets/{index-C6smoo2I.js → index-BWECOJLV.js} +2 -2
- package/_assets/{index-C5RpZfZH.js → index-BarU4A52.js} +2 -2
- package/_assets/{index-IGrNlyyE.js → index-BbvDvuMh.js} +2 -2
- package/_assets/{index-CUuXRIl8.js → index-Bdxrgxmn.js} +2 -2
- package/_assets/{index-adwnBCwD.js → index-BfG9mwyv.js} +2 -2
- package/_assets/{index-CtwEP07d.js → index-BgLJFLhQ.js} +2 -2
- package/_assets/{index-DrQfAZJ9.js → index-Bhf4PcaM.js} +2 -2
- package/_assets/{index-ZUZuPwuP.js → index-BnlssS6_.js} +2 -2
- package/_assets/{index-DNdO4V15.js → index-Bt58rNEN.js} +2 -2
- package/_assets/{index-CmsSxMTc.js → index-BwgdsrWa.js} +2 -2
- package/_assets/{index-CsvrK0LK.js → index-C3WZBISb.js} +2 -2
- package/_assets/{index-CuX2uyRY.js → index-CNxv2KyX.js} +2 -2
- package/_assets/{index-DxSv83QK.js → index-CVMOv7um.js} +2 -2
- package/_assets/{index-C1tknmhO.js → index-CYKsZC-R.js} +2 -2
- package/_assets/{index-D60SUbcu.js → index-C_ZlNmIV.js} +2 -2
- package/_assets/{index-coLYaVXs.js → index-CbXbmUBf.js} +2 -2
- package/_assets/{index-DCAgazge.js → index-Cfe-K44R.js} +2 -2
- package/_assets/{index-CkM-4uyE.js → index-Cmm4Q8wh.js} +3 -3
- package/_assets/{index-CvUNPW6U.js → index-CmvzNK9L.js} +2 -2
- package/_assets/{index-D5kcKxQR.js → index-CpxCT_0c.js} +2 -2
- package/_assets/{index-D1B0oznd.js → index-CvZ99tCA.js} +2 -2
- package/_assets/{index-CkVXAK71.js → index-CwaEKfu0.js} +2 -2
- package/_assets/{index-Cu2K-ul5.js → index-D4MXrDfg.js} +2 -2
- package/_assets/{index-Bx5DSXb8.js → index-D4bTcewY.js} +2 -2
- package/_assets/{index-DIGWYt9H.js → index-D6wgh7LX.js} +2 -2
- package/_assets/{index-UqcTfdvK.js → index-D7XyFvXx.js} +2 -2
- package/_assets/index-DA7THmYT.css +1 -0
- package/_assets/{index-BtqsHqnl.js → index-DATnLB9X.js} +3 -3
- package/_assets/{index-BCftkVti.js → index-DBQ0zCO1.js} +4 -4
- package/_assets/{index-8mQ7T2Cm.js → index-DBkXw96p.js} +2 -2
- package/_assets/{index-BjzJFAq2.js → index-DEeb7iRk.js} +2 -2
- package/_assets/{index-DQkrf2tI.js → index-DJGK297W.js} +2 -2
- package/_assets/{index-C23wZyXv.js → index-DK5m4CPc.js} +2 -2
- package/_assets/{index-DcCTZVkB.js → index-DPx2Ho9m.js} +2 -2
- package/_assets/{index-DHNDuiPp.js → index-DRJYQL9y.js} +2 -2
- package/_assets/{index-BV3gmkVY.js → index-DS66RmK4.js} +2 -2
- package/_assets/{index--6KpZcM5.js → index-D_jLRyxs.js} +71 -71
- package/_assets/{index-XJGYkd5x.js → index-D_nCxTyd.js} +2 -2
- package/_assets/{index-CQQK7Wf_.js → index-D_vUvsz6.js} +2 -2
- package/_assets/{index-zDN0L5qZ.js → index-Dcp_E5z1.js} +4 -4
- package/_assets/{index-DXYDN3uA.js → index-DdGX8KW4.js} +2 -2
- package/_assets/{index-DJFoGEzf.js → index-DfFUxog2.js} +2 -2
- package/_assets/{index-DkGljAs5.js → index-DtH1-bkp.js} +2 -2
- package/_assets/{index-B2A1Uxrw.js → index-Dvb8RfHC.js} +2 -2
- package/_assets/{index-BoqnusFA.js → index-DxhUNC6t.js} +2 -2
- package/_assets/{index--cLbSkQZ.js → index-FJbB1PZb.js} +2 -2
- package/_assets/{index-CjSQXOIE.js → index-KyKJiOaG.js} +2 -2
- package/_assets/{index-D-n00PMZ.js → index-LUJrA09I.js} +2 -2
- package/_assets/{index-BCNLwPSG.js → index-T2p5paMv.js} +2 -2
- package/_assets/{index-IwTnA1f-.js → index-astNn3oS.js} +3 -3
- package/_assets/{index-CbyazhYc.js → index-i1IgoU7J.js} +2 -2
- package/_assets/{index-BNch3CfU.js → index-i1hoKcZq.js} +2 -2
- package/_assets/{index-C487fNvu.js → index-nK2g2Vsv.js} +2 -2
- package/_assets/{index-D2f20T2C.js → index-nPQOM6ie.js} +3 -3
- package/_assets/{index-B2AN1fh7.js → index-qIchLmAr.js} +2 -2
- package/_assets/{index-D2RG773v.js → index-vRDF6KuL.js} +2 -2
- package/_assets/{index-DlLuroj0.js → index-zrKCT9Vt.js} +2 -2
- package/_assets/{index.es-BQ9Yf2_C.js → index.es-BMRFPFQv.js} +2 -2
- package/_assets/{index.es-BoNqoCkO.js → index.es-BjTNr0NB.js} +5 -5
- package/_assets/{index.es-DGiBui8a.js → index.es-COzAFhEJ.js} +2 -2
- package/_assets/{index.es-CqE1KZqr.js → index.es-GiYTR66D.js} +2 -2
- package/_assets/{items-empty-D0vQ1z0B.js → items-empty-DQqomtZi.js} +2 -2
- package/_assets/{jump-CY3aYSfg.js → jump-COLmr7Zc.js} +2 -2
- package/_assets/{linkAccount-CL_IGmZW.js → linkAccount-CC7SKFAU.js} +2 -2
- package/_assets/{loader-logo-DwchSnaT.js → loader-logo-Bxbmp8cS.js} +2 -2
- package/_assets/{localBatchGatewayRequest-C3nw9KHu.js → localBatchGatewayRequest-D1MnWtvu.js} +2 -2
- package/_assets/{modal.styles-p865gbX9.js → modal.styles-DhYlu50I.js} +2 -2
- package/_assets/{native-C_fLLHo4.js → native-BLd6iYd3.js} +2 -2
- package/_assets/{networks-BbuCuFCo.js → networks-B4GPT2ji.js} +2 -2
- package/_assets/{onramp-DXI3NZWk.js → onramp-BhiYriJo.js} +2 -2
- package/_assets/{openzeppelin-BKn4h6Is.js → openzeppelin-DRXcatT-.js} +2 -2
- package/_assets/{ownerOf-CYEbPuOg.js → ownerOf-BXMDbjk4.js} +2 -2
- package/_assets/{parseNft-XQGPcr5x.js → parseNft-D93XiymC.js} +3 -3
- package/_assets/{parseSignature-QQOXClNK.js → parseSignature-C_VKzJdL.js} +2 -2
- package/_assets/{parseSignature-CKkAUdfE.js → parseSignature-iJ3NBtuj.js} +4 -4
- package/_assets/{passkeys-By-QTPM-.js → passkeys-ywfy6rRC.js} +2 -2
- package/_assets/{pay-with-exchange-B7QyDuNm.js → pay-with-exchange-CmeXaxVs.js} +2 -2
- package/_assets/{prepare-contract-call-xvjqspvL.js → prepare-contract-call-DXBU5ZM7.js} +2 -2
- package/_assets/{qr-overlay--8v3aIgN.js → qr-overlay-BBXequRC.js} +4 -4
- package/_assets/{react-CIPIqkKp.js → react-61J1DhOg.js} +2 -2
- package/_assets/{receive-BcaxP6Oo.js → receive-CXmUmT57.js} +2 -2
- package/_assets/{resolveImplementation-BFZodAYW.js → resolveImplementation-Cg_Q0YTT.js} +2 -2
- package/_assets/{resume-buy-C79TtH21.js → resume-buy-DPAJJ3BD.js} +2 -2
- package/_assets/{resume-name-CsOmF5Ph.js → resume-name-BT1cJKkg.js} +2 -2
- package/_assets/{rpc-CeovO04W.js → rpc-DdBJkfcw.js} +2 -2
- package/_assets/{sales-empty-CAD7aHI0.js → sales-empty-DSXqKTr_.js} +2 -2
- package/_assets/{search-empty-Cv5NFb5G.js → search-empty-zXBwgimZ.js} +2 -2
- package/_assets/{secp256k1-CoRZ8Aa8.js → secp256k1-CBlBmu4w.js} +2 -2
- package/_assets/{secp256k1-gqyuB-DJ.js → secp256k1-CCqvF_RO.js} +2 -2
- package/_assets/{secp256k1-Cme7EMNW.js → secp256k1-qAuNuFms.js} +2 -2
- package/_assets/{send-toFejhMG.js → send-CSCC0uPt.js} +2 -2
- package/_assets/{send-batch-transaction-NWdGtXxM.js → send-batch-transaction-BRgu8Uxq.js} +2 -2
- package/_assets/{send-eip712-transaction-FWTan1RG.js → send-eip712-transaction-88OJZW1K.js} +3 -3
- package/_assets/{send-gasless-transaction-BBtI35U4.js → send-gasless-transaction-D3xf0STL.js} +3 -3
- package/_assets/{send-transaction-DJjiFn47.js → send-transaction-BZlpKeec.js} +3 -3
- package/_assets/{sendMetaTransaction-8HXF7dJf.js → sendMetaTransaction-DaB-26gT.js} +2 -2
- package/_assets/{sendRawTransaction-Bf1KTrkg.js → sendRawTransaction-DUtIbZKW.js} +4 -4
- package/_assets/{sentry-AydgbXDV.js → sentry-QPJ31WyA.js} +3 -3
- package/_assets/{serializeTransaction-CVEcFYFq.js → serializeTransaction-DQAEm0yE.js} +2 -2
- package/_assets/{session-proposal-B4ZiV2qA.js → session-proposal-Phd1wXbC.js} +2 -2
- package/_assets/{session-request-BxJY_bcT.js → session-request-8VMRPqjl.js} +3 -3
- package/_assets/{sha256-DYvqSbJq.js → sha256-DCWwKEKb.js} +2 -2
- package/_assets/{sha3-DcfuznSG.js → sha3-D0i8WAru.js} +2 -2
- package/_assets/signin-empty-DwpZ5LQf.js +2 -0
- package/_assets/{signing-Dn59-PD3.js → signing-CsbhWLXl.js} +4 -4
- package/_assets/{skeleton.styles-D1L_fgt7.js → skeleton.styles-Drz3FBfh.js} +2 -2
- package/_assets/{socials-CFfwCfjO.js → socials-DJzAJ3_p.js} +2 -2
- package/_assets/{styled-kGVW2rf5.js → styled-CPZkviys.js} +3 -3
- package/_assets/{swaps-ADlq2hm1.js → swaps-DXiwhILN.js} +2 -2
- package/_assets/{thirdweb-BOGAnjHo.js → thirdweb-5QAl9mKe.js} +4 -4
- package/_assets/{to-serializable-transaction-BT9KSpfF.js → to-serializable-transaction-qnBlso0-.js} +3 -3
- package/_assets/{totalSupply-C9rpV1_Y.js → totalSupply-CB3-3pkx.js} +2 -2
- package/_assets/{trade-encoding-Cv_E0sn5.js → trade-encoding-ComPweJZ.js} +2 -2
- package/_assets/{transaction-CspsFtgm.js → transaction-DDU6rKhC.js} +2 -2
- package/_assets/{transactionReceipt-PeijM3Xl.js → transactionReceipt-DLKoI1d2.js} +2 -2
- package/_assets/{transactions-BW7ABGiD.js → transactions-c_FO9gby.js} +2 -2
- package/_assets/{useInfiniteGrid-BcjCt1yK.js → useInfiniteGrid-Dad0Y9fx.js} +2 -2
- package/_assets/{useStore-CRUsupmX.js → useStore-Bof_I4Xu.js} +3 -3
- package/_assets/{useTheme-t2n6dkX3.js → useTheme-DEf47FWl.js} +2 -2
- package/_assets/{utils-DpDbfelx.js → utils-DQ5sDZqs.js} +2 -2
- package/_assets/{verifyHash-CVdgHUqA.js → verifyHash-BRKDc10J.js} +2 -2
- package/_assets/{w3m-modal-eNc_hJY-.js → w3m-modal-BBxaxEiI.js} +2 -2
- package/_assets/{w3m-modal-DtFKAby2.js → w3m-modal-D7rXk28g.js} +2 -2
- package/_assets/{wait-for-tx-receipt-svBuZEDO.js → wait-for-tx-receipt-CV2SWf_L.js} +2 -2
- package/_assets/{wallets-BjNKPNM7.js → wallets-C7P9MRTb.js} +6 -6
- package/_assets/{web-connector-DYX5vphE.js → web-connector-CqF6IaVN.js} +4 -4
- package/_assets/{writeContract-abMSghPl.js → writeContract-BStxqfVR.js} +2 -2
- package/_assets/{zora-sepolia-CZDfay8A.js → zora-sepolia-BXPZwhNs.js} +2 -2
- package/_assets/{zoraTestnet-Nzf8iZon.js → zoraTestnet-Dyu5OT5Q.js} +2 -2
- package/index.html +12 -12
- package/package.json +2 -2
- package/_assets/MyStore-D-R3YVGj.js +0 -1691
- package/_assets/collectionPage.styles-D9hflc85.js +0 -41
- package/_assets/index-CzaDIeJ0.css +0 -1
- package/_assets/signin-empty-DePdilQ4.js +0 -2
|
@@ -1,1691 +0,0 @@
|
|
|
1
|
-
import{r as j,j as e,L as me,u as us,f as ms,N as xs}from"./react-CIPIqkKp.js";import{c as Y,bU as fs,w as q,l as gs,cx as ys,cy as bs,s as l,t as r,z as ws,a as s,I as O,ca as Ss,H as Rt,B as js,x as ks,X as $s,cc as vs,cz as Cs,a6 as As,aH as qt,aK as Is,a2 as Ms,cA as Ye,cB as Ht,O as Ws,c9 as Ls,ay as Ts,az as Ps,aA as zs,av as _s,bO as Fs,cC as Es}from"./index--6KpZcM5.js";import{f as Ns,S as Os}from"./SaleCountdown-BT87OARJ.js";import{d as Bs}from"./dcl-schemas-B4SkwUm_.js";import{t as Ds,u as Rs,C as qs,M as Hs,i as Us}from"./ManaPricingBanner-CaOs1iNT.js";import{T as ke}from"./Tooltip-BqY8lGhV.js";import{m as Ks}from"./mana-matic-CEqvSwrJ.js";import{E as yt}from"./ErrorNotice-CbW4Q2ZV.js";import{I as Vs}from"./IssueModal-C8pY_CjA.js";import{f as Gs,g as Ys,R as Qs,M as Js}from"./browseLayout.styles-BKTAmYSq.js";import{u as Xs,L as Zs}from"./useStore-CRUsupmX.js";import{s as en}from"./signin-empty-DePdilQ4.js";import"./sentry-AydgbXDV.js";import"./ethers-H2EHHmSo.js";import"./intl-AKLEHPeO.js";import"./errors-CynPossx.js";import"./sha3-DcfuznSG.js";import"./browser-CKALJXh2.js";import"./trade-encoding-Cv_E0sn5.js";import"./sendMetaTransaction-8HXF7dJf.js";import"./ManaPricingBanner.styles-DLFrScDr.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="8bc2f0d7-7053-4b04-ad63-fd566583f527",t._sentryDebugIdIdentifier="sentry-dbid-8bc2f0d7-7053-4b04-ad63-fd566583f527")}catch{}})();function B(t){try{return BigInt(t||"0")}catch{return 0n}}async function bt(t){var a;const n=new URLSearchParams({seller:t.seller});t.from!=null&&n.set("from",String(t.from)),t.to!=null&&n.set("to",String(t.to));const o=await fetch(`${Y.marketplaceServerUrl}/v1/sales/summary?${n.toString()}`);if(!o.ok)throw await((a=o.body)==null?void 0:a.cancel()),new Error(`fetchSalesSummary ${o.status}`);const{data:d}=await o.json();return d}function tn(t){const n=new URLSearchParams;return t.seller&&n.set("seller",t.seller),t.contractAddress&&n.set("contractAddress",t.contractAddress),t.itemId!=null&&n.set("itemId",t.itemId),t.type&&n.set("type",t.type),t.from!=null&&n.set("from",String(t.from)),t.to!=null&&n.set("to",String(t.to)),n.set("first",String(t.first??100)),t.skip&&n.set("skip",String(t.skip)),n.set("sortBy","recently_sold"),n}async function Je(t){var d;const n=await fetch(`${Y.marketplaceServerUrl}/v1/sales?${tn(t).toString()}`);if(!n.ok)throw await((d=n.body)==null?void 0:d.cancel()),new Error(`fetchSales ${n.status}`);const o=await n.json();return{data:o.data??[],total:o.total??0}}async function sn(t){const{total:n}=await Je({...t,first:1});return n}async function nn(t,{first:n,skip:o}){const{data:d,total:a}=await Je({...t,first:n,skip:o});return{rows:d,total:a}}async function on(t,{cap:n=5e3}={}){const d=[];let a=0;for(let h=0;h<n;h+=1e3){const m=Math.min(1e3,n-h),p=await Je({...t,first:m,skip:h});if(a=p.total,d.push(...p.data),p.data.length<m||d.length>=a)break}return{rows:d,total:a,truncated:a>d.length}}const an=864e5;function wt(t,n){return{current:t,previous:n,pct:n===0?null:(t-n)/n*100}}function rn(t,n){const o=n===0n?null:Number((t-n)*10000n/n)/100;return{current:Number(t),previous:Number(n),pct:o}}function ln(t,n=3){var m;const o=t.filter(Ut),d=new Map;for(const p of o){const w=p.buyer.toLowerCase();d.set(w,(d.get(w)??0)+1)}const a=[...d.entries()].sort((p,w)=>w[1]-p[1]||p[0].localeCompare(w[0])),h=a.filter(([,p])=>p>1).length;return{total:a.length,repeat:h,repeatPct:a.length===0?0:h/a.length*100,topSharePct:o.length===0?0:(((m=a[0])==null?void 0:m[1])??0)/o.length*100,top:a.slice(0,n).map(([p,w])=>({address:p,bought:w}))}}function Ut(t){return t.type==="mint"&&t.itemId!=null}function dn(t,n){const o=t.filter(Ut),d=new Map;for(const a of o){const h=a.buyer.toLowerCase(),m=a.contractAddress.toLowerCase(),p=d.get(h)??{bought:0,items:new Set,collections:new Set,spentWei:0n,lastAt:0};p.bought+=1,p.items.add(`${m}-${a.itemId}`),p.collections.add(m),p.spentWei+=B(a.price),a.timestamp>p.lastAt&&(p.lastAt=a.timestamp),d.set(h,p)}return[...d.entries()].map(([a,h])=>({address:a,bought:h.bought,items:h.items.size,collections:h.collections.size,spentWei:h.spentWei,lastAt:h.lastAt})).sort((a,h)=>h.spentWei>a.spentWei?1:h.spentWei<a.spentWei?-1:h.bought-a.bought).slice(0,n)}function cn(t,n){if(t.length===0)return null;const o=t.reduce((d,a)=>a.timestamp>d?a.timestamp:d,0);return Math.max(0,Math.floor((n-o)/an))}function hn(t,n=5){return t.flatMap(o=>o.items.filter(d=>d.sold>0).map(d=>({key:d.key,contractAddress:o.contractAddress,itemId:d.itemId,name:d.name,thumbnail:d.thumbnail,rarity:d.rarity,collectionName:o.name,sold:d.sold,earnedWei:d.earnedWei}))).sort((o,d)=>d.sold-o.sold||(d.earnedWei>o.earnedWei?1:d.earnedWei<o.earnedWei?-1:0)||o.name.localeCompare(d.name)).slice(0,n)}const $e=100;async function pn(t){const[{collections:n},o]=await Promise.all([fs(t,{first:$e}),xn(t)]),d=new Map(n.map(a=>[a.contractAddress.toLowerCase(),a.name]));return o.map(a=>{const h=a.contractAddress.toLowerCase(),m=(a.rarity??"common").toLowerCase(),p=mn(m),w=Number(a.available??0);return{id:a.id,collectionId:"",collectionName:d.get(h)??a.name,contractAddress:h,blockchainItemId:String(a.itemId??""),name:a.name,category:a.category,rarity:m,thumbnail:a.thumbnail??"",type:a.category==="emote"?"emote":"wearable",isPublished:!0,isApproved:!0,totalSupply:Math.max(0,p-w),maxSupply:p,remainingSupply:w,createdAt:a.createdAt?a.createdAt*1e3:void 0,minters:[]}})}function un(t,n){const o=new Set(t.map(d=>d.contractAddress.toLowerCase()));return[...t,...n.filter(d=>!o.has(d.contractAddress.toLowerCase()))]}function mn(t){try{return Bs.Rarity.getMaxSupply(t)}catch{return 0}}async function xn(t){var o;const n=[];for(let d=0;;d+=$e){const a=new URLSearchParams({creator:t,first:String($e),skip:String(d),includeSocialEmotes:"false"}),h=await fetch(`${Y.marketplaceServerUrl}/v3/catalog/items?${a.toString()}`);if(!h.ok)throw await((o=h.body)==null?void 0:o.cancel()),new Error(`fetchPublicCatalogue ${h.status}`);const{data:m}=await h.json(),p=m??[];if(n.push(...p),p.length<$e)return n}}const Qe=864e5,ve=14;function fn(t,n,o){const d=new Array(ve).fill(0),a=o-n*Qe,h=n*Qe/ve;for(const m of t)m.timestamp<a||m.timestamp>o||(d[Math.min(ve-1,Math.floor((m.timestamp-a)/h))]+=1);return d}function gn({rows:t,total:n,truncated:o,mints:d,summary:a,catalogue:h,saleState:m,unreadable:p,days:w,now:P}){const z=new Map,u=new Map,W=new Map;for(const c of t){if(c.type!=="mint"||c.itemId==null)continue;const g=c.contractAddress.toLowerCase(),k=`${g}-${c.itemId}`;z.set(k,(z.get(k)??0)+1),u.set(k,(u.get(k)??0n)+B(c.price));const $=W.get(g)??[];$.push(c),W.set(g,$)}const F=t.reduce((c,g)=>g.timestamp<c?g.timestamp:c,P),_=Math.max(1,Math.ceil((P-F)/Qe)),D=w!=null&&!o?w:Math.max(w==null?ve:1,_),U=new Map(((a==null?void 0:a.byItem)??[]).map(c=>[`${c.contractAddress.toLowerCase()}-${c.itemId}`,c.soldLifetime])),ee=new Map(((a==null?void 0:a.byCollection)??[]).map(c=>[c.contractAddress.toLowerCase(),c])),L=new Map;let Q=0,I=0,te=0,S=0,T=0;for(const c of h){const g=c.contractAddress.toLowerCase(),k=m[`${c.contractAddress}-${c.blockchainItemId}`],$=c.remainingSupply<=0?"soldout":p!=null&&p.has(g)?"unknown":k!=null&&k.isOnSale?k.manaWei?"classic":"discounted":"unlisted";$==="soldout"?S+=1:$==="unlisted"?T+=1:$==="classic"?te+=1:$==="discounted"&&(I+=1);const v=L.get(g)??{contractAddress:g,collectionId:c.collectionId,name:c.collectionName,items:[],listed:0,classic:0,soldOut:0,sold:0,earningsWei:0n,createdAt:null,trend:[],claimed:0,runTotal:0,exhausted:!1},R=z.get(`${g}-${c.blockchainItemId}`)??0;v.items.push({key:`${g}-${c.blockchainItemId}`,itemId:c.blockchainItemId,name:c.name,thumbnail:c.thumbnail,rarity:c.rarity,left:c.remainingSupply,minted:c.totalSupply,sold:R,earnedWei:u.get(`${g}-${c.blockchainItemId}`)??0n,lifetimeSold:U.get(`${g}-${c.blockchainItemId}`)??null,priceCredits:(k==null?void 0:k.priceCredits)??null,manaWei:(k==null?void 0:k.manaWei)??null,createdAt:c.createdAt??null,state:$}),v.sold+=R,v.claimed+=c.totalSupply,v.runTotal+=c.totalSupply+c.remainingSupply,Q+=R,c.createdAt&&(v.createdAt==null||c.createdAt>v.createdAt)&&(v.createdAt=c.createdAt),$==="soldout"?v.soldOut+=1:$==="classic"?v.classic+=1:$==="discounted"&&(v.listed+=1),L.set(g,v)}for(const[c,g]of L){const k=W.get(c)??[],$=ee.get(c);g.earningsWei=$?B($.earnedWei):k.reduce((v,R)=>v+B(R.price),0n),$&&(g.sold=$.sold),g.trend=fn(k,D,P),g.exhausted=g.items.length>0&&g.soldOut===g.items.length,g.items.sort((v,R)=>R.sold-v.sold||v.name.localeCompare(R.name))}const A=[...L.values()].reduce((c,g)=>c+g.sold,0);return{collections:[...L.values()].sort((c,g)=>g.sold-c.sold||c.name.localeCompare(g.name)),sold:(a==null?void 0:a.total)??n,mints:(a==null?void 0:a.mints)??d,resales:a?a.resales:n-d,earningsWei:a?B(a.earnedWei):t.reduce((c,g)=>c+B(g.price),0n),partial:a?!1:o,breakdownPartial:o,fetched:t.length,unattributed:a?a.total-A:t.length-Q,trendDays:D,unknownCollections:[...L.keys()].filter(c=>p==null?void 0:p.has(c)).length,royalties:a?{resales:a.royalties.resales,volumeWei:B(a.royalties.volumeWei)}:null,listed:I,neverListed:T,classic:te,soldOut:S}}const yn=new Map,oe=864e5,bn=6e3,wn={"7d":7,"30d":30,all:null};function Sn(t,n){const o=t==null?void 0:t.address,d=wn[n],a=j.useMemo(()=>Math.floor(Date.now()/oe)*oe+oe-1,[]),h=d?a-d*oe:void 0,m=q({queryKey:["store-sales",o,n],enabled:!!o,queryFn:()=>on({seller:o,from:h})}),p=q({queryKey:["store-summary",o,n],enabled:!!o,queryFn:()=>bt({seller:o,from:h})}),w=d!=null?a-2*d*oe:void 0,P=d!=null?a-d*oe:void 0,z=q({queryKey:["store-summary-previous",o,n],enabled:!!o&&w!==void 0,queryFn:()=>bt({seller:o,from:w,to:P})}),u=q({queryKey:["store-mints",o,n],enabled:!!o,queryFn:()=>sn({seller:o,from:h,type:"mint"})}),W=q({queryKey:["store-catalogue",o],enabled:!!o&&!!t,queryFn:()=>Ns(o,t.identity,{includeSoldOut:!0})}),F=q({queryKey:["store-public-catalogue",o],enabled:!!o&&!!t,queryFn:()=>Promise.race([pn(o),new Promise((S,T)=>setTimeout(()=>T(new Error("public catalogue timed out")),bn))]).catch(S=>(gs(S,{flow:"my_store",step:"public_catalogue"}),[]))}),_=j.useMemo(()=>W.data?F.isPending?{data:void 0}:{data:un(W.data,F.data??[])}:{data:void 0},[W.data,F.isPending,F.data]),D=j.useMemo(()=>[...new Set((_.data??[]).map(S=>S.contractAddress))],[_.data]),U=q({queryKey:["store-sale-state",o,D],enabled:D.length>0,queryFn:async()=>{const S=await Promise.allSettled(D.map(c=>ys(c))),T={},A=new Set;return S.forEach((c,g)=>{const k=D[g];if(c.status==="rejected"){A.add(k.toLowerCase());return}for(const[$,v]of Object.entries(c.value))T[`${k}-${$}`]=v}),{states:T,unreadable:A}}}),ee=q({queryKey:["store-saves",D,(_.data??[]).length],enabled:(_.data??[]).length>0,queryFn:async()=>{const S=(_.data??[]).map(c=>`${c.contractAddress.toLowerCase()}-${c.blockchainItemId}`),T=await Promise.allSettled(S.map(async c=>[c,(await bs(c)).count])),A=new Map;for(const c of T)c.status==="fulfilled"&&A.set(c.value[0],c.value[1]);return A}}),L=j.useMemo(()=>{var S,T,A,c,g;return _.data?gn({rows:((S=m.data)==null?void 0:S.rows)??[],total:((T=m.data)==null?void 0:T.total)??0,truncated:!!((A=m.data)!=null&&A.truncated),mints:u.data??0,summary:p.data??null,catalogue:_.data,saleState:((c=U.data)==null?void 0:c.states)??{},unreadable:(g=U.data)==null?void 0:g.unreadable,days:d,now:a}):null},[_.data,m.data,u.data,p.data,U.data,d,a]),Q=j.useMemo(()=>{var S;return Ds(W.data??[],(S=U.data)==null?void 0:S.states)},[W.data,U.data]),I=j.useMemo(()=>{var g,k,$;const S=ln(((g=m.data)==null?void 0:g.rows)??[]),T=dn(((k=m.data)==null?void 0:k.rows)??[]),A=cn((($=m.data)==null?void 0:$.rows)??[],a),c=z.data;return{collectors:S,buyers:T,quietDays:A,sold:c&&p.data?wt(p.data.total,c.total):null,earnings:c&&p.data?rn(B(p.data.earnedWei),B(c.earnedWei)):null,royalties:c&&p.data?wt(p.data.royalties.resales,c.royalties.resales):null}},[m.data,p.data,z.data,a]),te=ee.data??yn;return{stats:L,trend:I,savesByKey:te,saleable:Q,isLoading:W.isLoading||F.isLoading||m.isLoading||p.isLoading,error:W.error??m.error??null}}const jn=l.span`
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
cursor: help;
|
|
5
|
-
/* The glyph sits tight against its own box, so the figure beside it needs the gap from here. */
|
|
6
|
-
margin-right: 3px;
|
|
7
|
-
|
|
8
|
-
img {
|
|
9
|
-
width: 1em;
|
|
10
|
-
height: 1em;
|
|
11
|
-
vertical-align: -0.125em;
|
|
12
|
-
}
|
|
13
|
-
`;function H({kind:t,className:n}){const o=t==="mana"?r("currency.polygonMana"):r("currency.credits");return e.jsx(ke,{content:o,children:e.jsx(jn,{className:n,"aria-label":o,role:"img","data-kind":t,children:t==="mana"?e.jsx("img",{src:Ks,alt:"","aria-hidden":!0}):e.jsx(ws,{className:"ccy-mark"})})})}const kn=l.button`
|
|
14
|
-
display: inline-flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
gap: 4px;
|
|
17
|
-
max-width: 100%;
|
|
18
|
-
padding: 0;
|
|
19
|
-
white-space: normal;
|
|
20
|
-
text-align: inherit;
|
|
21
|
-
border: 0;
|
|
22
|
-
background: none;
|
|
23
|
-
color: inherit;
|
|
24
|
-
font: inherit;
|
|
25
|
-
letter-spacing: inherit;
|
|
26
|
-
text-transform: inherit;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
|
|
29
|
-
&[data-align='right'] {
|
|
30
|
-
flex-direction: row-reverse;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&:focus-visible {
|
|
34
|
-
outline: 2px solid currentColor;
|
|
35
|
-
outline-offset: 2px;
|
|
36
|
-
border-radius: 4px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
[data-testid='sort-header-chevron'] {
|
|
40
|
-
flex: none;
|
|
41
|
-
opacity: 0.35;
|
|
42
|
-
transition: opacity 0.15s;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&[data-dir] [data-testid='sort-header-chevron'],
|
|
46
|
-
&:hover [data-testid='sort-header-chevron'] {
|
|
47
|
-
opacity: 1;
|
|
48
|
-
}
|
|
49
|
-
`;function ae({label:t,dir:n,onSort:o,align:d="left",testId:a}){return e.jsxs(kn,{type:"button",onClick:o,"data-dir":n,"data-align":d,"data-testid":a,"aria-label":typeof t=="string"?r(n==="asc"?"common.sortedAsc":n==="desc"?"common.sortedDesc":"common.sortColumn",{column:t}):void 0,children:[t,e.jsx(Gs,{up:n==="asc",size:12,"aria-hidden":!0,"data-testid":"sort-header-chevron"})]})}function De(t,n,o){return(t==null?void 0:t.key)===n?{key:n,dir:t.dir==="asc"?"desc":"asc"}:{key:n,dir:o}}function Ce(t,n,o){const d=o==="asc"?1:-1;return t.map((a,h)=>({row:a,index:h,v:n(a)})).sort((a,h)=>{const m=a.v==null,p=h.v==null;return m||p?m===p?a.index-h.index:m?1:-1:d*$n(a.v,h.v)||a.index-h.index}).map(a=>a.row)}function $n(t,n){return typeof t=="string"&&typeof n=="string"?t.localeCompare(n,void 0,{sensitivity:"base"}):t===n?0:t<n?-1:1}const ue=864e5,G=Date.now(),vn=(t,n,o,d,a)=>({key:`0xmock${t}-${t}`,itemId:String(t),name:n,thumbnail:"",rarity:["epic","legendary","rare","mythic","unique"][t%5],left:d-o,minted:o,sold:Math.round(o/6),earnedWei:BigInt(Math.round(o/6)*(3+t%5))*10n**18n,lifetimeSold:o,priceCredits:a==="classic"?null:20+t*5,manaWei:a==="classic"?"5000000000000000000":null,createdAt:G-t*11*ue,state:a}),Cn=[[0,1,1,2,3,3,5,6,8,9,11,13,16,21],[2,9,1,0,7,2,11,1,0,6,14,2,8,3],[18,16,14,11,9,8,6,5,3,2,2,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0]],An=[{name:"Neon Runners",items:[["Neon Runner Boots",340,1e3,"discounted"],["Neon Runner Jacket",210,1e3,"discounted"],["Neon Runner Visor",95,1e3,"discounted"]],trend:0,earnings:1840,sold:128},{name:"Founders Edition",items:[["Founders Cloak",1,1,"soldout"],["Founders Crown",1,1,"soldout"]],trend:3,earnings:0,sold:0},{name:"Midnight Capsule",items:[["Midnight Scarf",0,500,"unlisted"],["Midnight Mittens",0,500,"unlisted"],["Midnight Parka",0,500,"unlisted"]],trend:3,earnings:0,sold:0},{name:"Classic Collection",items:[["Classic Tee",60,200,"classic"],["Classic Cap",44,200,"classic"]],trend:2,earnings:310,sold:12},{name:"Summer Drop",items:[["Summer Shades",480,1e3,"discounted"],["Summer Sandals",300,1e3,"discounted"]],trend:1,earnings:920,sold:71},{name:"Studio Basics",items:[["Studio Hoodie",12,100,"unknown"]],trend:3,earnings:0,sold:0}];function In(t,n){const o=t.items.map(([a,h,m,p],w)=>vn(n*10+w,a,h,m,p)),d=o.reduce((a,h)=>a+h.minted,0);return{contractAddress:`0xmock${n.toString().padStart(36,"0")}`,collectionId:`mock-${n}`,name:t.name,items:o,listed:o.filter(a=>a.state==="discounted").length,classic:o.filter(a=>a.state==="classic").length,soldOut:o.filter(a=>a.state==="soldout").length,sold:t.sold,earningsWei:BigInt(t.earnings)*10n**18n,createdAt:G-n*30*ue,trend:Cn[t.trend],claimed:d,runTotal:o.reduce((a,h)=>a+h.minted+h.left,0),exhausted:o.length>0&&o.every(a=>a.state==="soldout")}}const Xe=(()=>{const t=An.map(In);return{collections:t,sold:211,mints:198,resales:13,earningsWei:3070n*10n**18n,partial:!1,breakdownPartial:!1,fetched:211,unattributed:6,trendDays:30,unknownCollections:1,royalties:{resales:41,volumeWei:2140n*10n**18n},listed:t.reduce((n,o)=>n+o.listed,0),neverListed:t.reduce((n,o)=>n+o.items.filter(d=>d.state==="unlisted").length,0),classic:t.reduce((n,o)=>n+o.classic,0),soldOut:t.reduce((n,o)=>n+o.soldOut,0)}})(),Mn={total:74,repeat:29,repeatPct:39.19,topSharePct:21.3},Wn=Array.from({length:12},(t,n)=>({address:`0x${(n+1).toString(16).repeat(40).slice(0,40)}`,bought:12-n,items:Math.max(1,8-n),collections:Math.max(1,5-Math.floor(n/2)),spentWei:BigInt(900-n*62)*10n**18n,lastAt:G-(n+1)*9*36e5})),St=(t,n,o,d,a,h)=>({id:`mock-coupon-${t}`,signer:"0xmockcreator0000000000000000000000000001",chainId:137,network:"MATIC",checks:{uses:50,expiration:G+a,effective:G-d,salt:`0x${t.toString().repeat(64).slice(0,64)}`,contractSignatureIndex:0,signerSignatureIndex:0,allowedRoot:"0x",externalChecks:[],allowedProof:[]},couponManager:"0x6c956587d9fe70032781edcdc626310648575382",couponAddress:"0x4ee8f6b87f4917a3bbc7c8bb3a06db8555f83db9",discountType:1,discount:o*1e4,root:`0x${"44".repeat(32)}`,collections:[n],signature:`0x${"cd".repeat(65)}`,proof:[],createdAt:G-d,state:{uses:h,cancelled:!1,revoked:!1,checkedAt:G},status:"active"}),Ln=[St(1,`0xmock${"0".repeat(36)}`,25,3*ue,3*ue,18),St(2,`0xmock${"1".padStart(36,"0")}`,15,12*36e5,9*ue,0)],Tn=new Map(Xe.collections.flatMap(t=>t.items.map((n,o)=>[n.key,[41,3,128,0,17,6,92,1][o%8]]))),Pn=Xe.collections.flatMap(t=>t.items.map(n=>[t.contractAddress,n])),zn=Pn.slice(0,5).map(([t,n],o)=>({id:`mock-sale-${o}`,itemId:o===3?null:n.itemId,contractAddress:t,buyer:`0x${(o+3).toString(16).repeat(40).slice(0,40)}`,seller:"0xmockcreator0000000000000000000000000001",price:String(BigInt(40+o*17)*10n**18n),timestamp:G-(o===0?8*6e4:o*19*36e5),type:o===3?"order":"mint",network:"MATIC",tokenId:o===3?"1042":null})),_n=l.div`
|
|
50
|
-
display: flex;
|
|
51
|
-
flex-direction: column;
|
|
52
|
-
gap: 22px;
|
|
53
|
-
|
|
54
|
-
/* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. Every
|
|
55
|
-
surface on this page is dark, so the whole page opts out once rather than each panel in turn. */
|
|
56
|
-
.ccy-mark,
|
|
57
|
-
.ccy {
|
|
58
|
-
color: ${s.colors.softWhite};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/* MANA's mark is an image, not a masked glyph, so no colour reaches it: the token's own artwork is dark
|
|
62
|
-
and vanished into every panel on this page. Driven to white instead. */
|
|
63
|
-
[data-kind='mana'] img {
|
|
64
|
-
filter: brightness(0) invert(1);
|
|
65
|
-
}
|
|
66
|
-
`,Fn=l.header`
|
|
67
|
-
display: flex;
|
|
68
|
-
align-items: flex-start;
|
|
69
|
-
justify-content: space-between;
|
|
70
|
-
gap: 20px;
|
|
71
|
-
flex-wrap: wrap;
|
|
72
|
-
/* The rule that closes the identity block off from the figures under it. */
|
|
73
|
-
padding-bottom: 24px;
|
|
74
|
-
border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
|
|
75
|
-
`,En=l.div`
|
|
76
|
-
display: flex;
|
|
77
|
-
align-items: center;
|
|
78
|
-
gap: 12px;
|
|
79
|
-
min-width: 0;
|
|
80
|
-
`,Nn=l.div`
|
|
81
|
-
display: flex;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
align-items: flex-start;
|
|
84
|
-
justify-content: center;
|
|
85
|
-
gap: 4px;
|
|
86
|
-
padding-bottom: 8px;
|
|
87
|
-
min-width: 0;
|
|
88
|
-
`,On=l.span`
|
|
89
|
-
flex: none;
|
|
90
|
-
display: block;
|
|
91
|
-
width: 84px;
|
|
92
|
-
height: 84px;
|
|
93
|
-
border-radius: 50%;
|
|
94
|
-
background-color: rgba(0, 0, 0, 0.22);
|
|
95
|
-
background-size: cover;
|
|
96
|
-
background-position: center top;
|
|
97
|
-
border: 2px solid rgba(252, 252, 252, 0.22);
|
|
98
|
-
|
|
99
|
-
${s.media.maxWidth("mobile")} {
|
|
100
|
-
width: 56px;
|
|
101
|
-
height: 56px;
|
|
102
|
-
}
|
|
103
|
-
`,Bn=l.p`
|
|
104
|
-
margin: 0;
|
|
105
|
-
font-family: ${s.font.sans};
|
|
106
|
-
font-size: 14px;
|
|
107
|
-
font-weight: 600;
|
|
108
|
-
line-height: 1.6;
|
|
109
|
-
color: ${s.colors.softWhite};
|
|
110
|
-
overflow: hidden;
|
|
111
|
-
text-overflow: ellipsis;
|
|
112
|
-
white-space: nowrap;
|
|
113
|
-
max-width: 100%;
|
|
114
|
-
`,Dn=l.h1`
|
|
115
|
-
margin: 0;
|
|
116
|
-
font-family: ${s.font.sans};
|
|
117
|
-
font-size: 32px;
|
|
118
|
-
font-weight: 700;
|
|
119
|
-
line-height: 1.2;
|
|
120
|
-
letter-spacing: 0.46px;
|
|
121
|
-
color: ${s.colors.white};
|
|
122
|
-
|
|
123
|
-
${s.media.maxWidth("mobile")} {
|
|
124
|
-
font-size: 26px;
|
|
125
|
-
}
|
|
126
|
-
`,Rn=l.div`
|
|
127
|
-
display: flex;
|
|
128
|
-
flex-direction: column;
|
|
129
|
-
align-items: flex-start;
|
|
130
|
-
gap: 8px;
|
|
131
|
-
min-width: 0;
|
|
132
|
-
`,jt=l.p`
|
|
133
|
-
margin: 0;
|
|
134
|
-
display: flex;
|
|
135
|
-
align-items: center;
|
|
136
|
-
gap: 12px;
|
|
137
|
-
font-family: ${s.font.sans};
|
|
138
|
-
font-size: 12px;
|
|
139
|
-
line-height: 1;
|
|
140
|
-
color: ${s.colors.softWhite};
|
|
141
|
-
`,qn=l.div`
|
|
142
|
-
display: flex;
|
|
143
|
-
align-items: center;
|
|
144
|
-
justify-content: flex-end;
|
|
145
|
-
flex-wrap: wrap;
|
|
146
|
-
gap: 12px;
|
|
147
|
-
|
|
148
|
-
/* Two uppercase buttons that cannot shrink below their labels. On a phone they fit side by side in
|
|
149
|
-
Inter with a few pixels to spare, and in any wider fallback font they did not: the second one ran
|
|
150
|
-
15px off a 390px screen. Wrapping puts it on its own line instead. */
|
|
151
|
-
${s.media.maxWidth("mobile")} {
|
|
152
|
-
justify-content: flex-start;
|
|
153
|
-
width: 100%;
|
|
154
|
-
}
|
|
155
|
-
`,Hn=l.a`
|
|
156
|
-
display: inline-flex;
|
|
157
|
-
align-items: center;
|
|
158
|
-
justify-content: center;
|
|
159
|
-
gap: 8px;
|
|
160
|
-
height: 46px;
|
|
161
|
-
padding: 0 12px;
|
|
162
|
-
border-radius: ${s.radius.card};
|
|
163
|
-
color: ${s.colors.white};
|
|
164
|
-
font-family: ${s.font.sans};
|
|
165
|
-
font-size: 13px;
|
|
166
|
-
font-weight: 600;
|
|
167
|
-
line-height: 24px;
|
|
168
|
-
letter-spacing: 0.46px;
|
|
169
|
-
text-transform: uppercase;
|
|
170
|
-
text-decoration: underline;
|
|
171
|
-
white-space: nowrap;
|
|
172
|
-
|
|
173
|
-
&:hover {
|
|
174
|
-
color: ${s.colors.navViolet};
|
|
175
|
-
}
|
|
176
|
-
.ico {
|
|
177
|
-
width: 22px;
|
|
178
|
-
height: 22px;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
${s.media.maxWidth("mobile")} {
|
|
182
|
-
padding: 0 8px;
|
|
183
|
-
}
|
|
184
|
-
`,Un=l(me)`
|
|
185
|
-
display: inline-flex;
|
|
186
|
-
align-items: center;
|
|
187
|
-
justify-content: center;
|
|
188
|
-
gap: 8px;
|
|
189
|
-
height: 46px;
|
|
190
|
-
padding: 0 24px;
|
|
191
|
-
border-radius: ${s.radius.card};
|
|
192
|
-
background: ${s.colors.overlay};
|
|
193
|
-
color: ${s.colors.white};
|
|
194
|
-
font-family: ${s.font.sans};
|
|
195
|
-
font-size: 13px;
|
|
196
|
-
font-weight: 600;
|
|
197
|
-
line-height: 24px;
|
|
198
|
-
letter-spacing: 0.46px;
|
|
199
|
-
text-transform: uppercase;
|
|
200
|
-
text-decoration: none;
|
|
201
|
-
white-space: nowrap;
|
|
202
|
-
transition: background 0.15s ease;
|
|
203
|
-
|
|
204
|
-
&:hover {
|
|
205
|
-
background: ${s.colors.overlayHover};
|
|
206
|
-
}
|
|
207
|
-
&:focus-visible {
|
|
208
|
-
outline: 2px solid ${s.colors.softWhite};
|
|
209
|
-
outline-offset: 2px;
|
|
210
|
-
}
|
|
211
|
-
.ico {
|
|
212
|
-
width: 20px;
|
|
213
|
-
height: 20px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
${s.media.maxWidth("mobile")} {
|
|
217
|
-
padding: 0 16px;
|
|
218
|
-
}
|
|
219
|
-
`,Kn=l.span`
|
|
220
|
-
display: inline-flex;
|
|
221
|
-
align-items: center;
|
|
222
|
-
gap: 8px;
|
|
223
|
-
margin-left: 12px;
|
|
224
|
-
padding-left: 12px;
|
|
225
|
-
border-left: 1px solid rgba(255, 255, 255, 0.3);
|
|
226
|
-
`,Vn=l.a`
|
|
227
|
-
display: inline-flex;
|
|
228
|
-
align-items: center;
|
|
229
|
-
justify-content: center;
|
|
230
|
-
color: ${s.colors.softWhite};
|
|
231
|
-
transition: color 0.15s ease;
|
|
232
|
-
|
|
233
|
-
&:hover {
|
|
234
|
-
color: ${s.colors.navViolet};
|
|
235
|
-
}
|
|
236
|
-
.ico {
|
|
237
|
-
width: 15px;
|
|
238
|
-
height: 15px;
|
|
239
|
-
}
|
|
240
|
-
`,Gn=l.div`
|
|
241
|
-
display: flex;
|
|
242
|
-
align-items: center;
|
|
243
|
-
justify-content: space-between;
|
|
244
|
-
gap: 16px;
|
|
245
|
-
flex-wrap: wrap;
|
|
246
|
-
`,Yn=l.h2`
|
|
247
|
-
margin: 0;
|
|
248
|
-
font-family: ${s.font.sans};
|
|
249
|
-
font-size: 24px;
|
|
250
|
-
font-weight: 700;
|
|
251
|
-
line-height: 1.2;
|
|
252
|
-
color: ${s.colors.white};
|
|
253
|
-
`,Qn=l.div`
|
|
254
|
-
display: flex;
|
|
255
|
-
gap: 4px;
|
|
256
|
-
padding: 4px;
|
|
257
|
-
border-radius: ${s.radius.pill};
|
|
258
|
-
background: rgba(0, 0, 0, 0.22);
|
|
259
|
-
`,Jn=l.button`
|
|
260
|
-
border: 0;
|
|
261
|
-
cursor: pointer;
|
|
262
|
-
font-family: ${s.font.sans};
|
|
263
|
-
padding: 7px 15px;
|
|
264
|
-
border-radius: ${s.radius.pill};
|
|
265
|
-
font-size: 13px;
|
|
266
|
-
font-weight: 600;
|
|
267
|
-
color: rgba(252, 252, 252, 0.62);
|
|
268
|
-
background: transparent;
|
|
269
|
-
transition:
|
|
270
|
-
color 0.15s ease,
|
|
271
|
-
background 0.15s ease;
|
|
272
|
-
|
|
273
|
-
&:hover {
|
|
274
|
-
color: ${s.colors.softWhite};
|
|
275
|
-
}
|
|
276
|
-
&[aria-pressed='true'] {
|
|
277
|
-
background: ${s.colors.softWhite};
|
|
278
|
-
color: ${s.colors.text};
|
|
279
|
-
}
|
|
280
|
-
&:focus-visible {
|
|
281
|
-
outline: 2px solid ${s.colors.softWhite};
|
|
282
|
-
outline-offset: 2px;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
@media (prefers-reduced-motion: reduce) {
|
|
286
|
-
transition: none;
|
|
287
|
-
}
|
|
288
|
-
`,Kt=l.section`
|
|
289
|
-
display: grid;
|
|
290
|
-
/* Five tiles when the store has resales to report, four when it does not — auto-fit rather than a fixed
|
|
291
|
-
count so neither case leaves a hole. */
|
|
292
|
-
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
|
|
293
|
-
gap: 14px;
|
|
294
|
-
|
|
295
|
-
${s.media.maxWidth("lg")} {
|
|
296
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
297
|
-
}
|
|
298
|
-
${s.media.maxWidth("mobile")} {
|
|
299
|
-
grid-template-columns: minmax(0, 1fr);
|
|
300
|
-
}
|
|
301
|
-
`,X=l.div`
|
|
302
|
-
background: ${s.colors.overlay};
|
|
303
|
-
color: ${s.colors.softWhite};
|
|
304
|
-
border-radius: ${s.radius.modal};
|
|
305
|
-
padding: 12px 24px;
|
|
306
|
-
display: flex;
|
|
307
|
-
flex-direction: column;
|
|
308
|
-
gap: 12px;
|
|
309
|
-
min-width: 0;
|
|
310
|
-
/* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. That
|
|
311
|
-
was chosen for a white card and disappears into this one. */
|
|
312
|
-
.ccy-mark,
|
|
313
|
-
.ccy {
|
|
314
|
-
color: ${s.colors.softWhite};
|
|
315
|
-
}
|
|
316
|
-
`,ie=l.span`
|
|
317
|
-
display: flex;
|
|
318
|
-
align-items: center;
|
|
319
|
-
justify-content: flex-start;
|
|
320
|
-
gap: 8px;
|
|
321
|
-
/* The tiles carrying a tooltip button stand 3px taller than the rest, and in a grid that is 3px of dead
|
|
322
|
-
space under every other card. Held to the taller of the two. */
|
|
323
|
-
min-height: 18px;
|
|
324
|
-
font-family: ${s.font.sans};
|
|
325
|
-
font-size: 12px;
|
|
326
|
-
font-weight: 400;
|
|
327
|
-
line-height: 1;
|
|
328
|
-
letter-spacing: 1px;
|
|
329
|
-
text-transform: uppercase;
|
|
330
|
-
color: ${s.colors.gray4};
|
|
331
|
-
`,re=l.span`
|
|
332
|
-
/* Ahead of the label, as the design has it. Ordered rather than moved in the markup, because the mark is
|
|
333
|
-
the last child in every tile and reordering five sets of markup would buy nothing. */
|
|
334
|
-
order: -1;
|
|
335
|
-
font-size: 16px;
|
|
336
|
-
line-height: 1;
|
|
337
|
-
filter: saturate(0.9);
|
|
338
|
-
`,le=l.span`
|
|
339
|
-
display: flex;
|
|
340
|
-
align-items: baseline;
|
|
341
|
-
gap: 8px;
|
|
342
|
-
|
|
343
|
-
/* The currency mark is a box, not a glyph with a baseline: sized to the digits' cap height and centred
|
|
344
|
-
against them, rather than left to sit on the line's bottom edge. */
|
|
345
|
-
[data-kind] {
|
|
346
|
-
align-self: center;
|
|
347
|
-
margin-right: 6px;
|
|
348
|
-
}
|
|
349
|
-
[data-kind] img,
|
|
350
|
-
[data-kind] .ico {
|
|
351
|
-
width: 0.74em;
|
|
352
|
-
height: 0.74em;
|
|
353
|
-
vertical-align: baseline;
|
|
354
|
-
}
|
|
355
|
-
font-family: ${s.font.sans};
|
|
356
|
-
font-size: 32px;
|
|
357
|
-
font-weight: 600;
|
|
358
|
-
line-height: 1.235;
|
|
359
|
-
letter-spacing: -0.02em;
|
|
360
|
-
font-variant-numeric: tabular-nums;
|
|
361
|
-
`,Xn=l.span`
|
|
362
|
-
font-size: 20px;
|
|
363
|
-
font-weight: 600;
|
|
364
|
-
color: ${s.colors.gray4};
|
|
365
|
-
margin-right: -2px;
|
|
366
|
-
`,kt=l.span`
|
|
367
|
-
font-size: 15px;
|
|
368
|
-
font-weight: 600;
|
|
369
|
-
letter-spacing: 0;
|
|
370
|
-
color: ${s.colors.gray4};
|
|
371
|
-
`,de=l.span`
|
|
372
|
-
display: flex;
|
|
373
|
-
align-items: center;
|
|
374
|
-
flex-wrap: wrap;
|
|
375
|
-
gap: 4px 6px;
|
|
376
|
-
min-width: 0;
|
|
377
|
-
min-height: 16px;
|
|
378
|
-
font-family: ${s.font.sans};
|
|
379
|
-
font-size: 12px;
|
|
380
|
-
line-height: 1.35;
|
|
381
|
-
color: ${s.colors.gray4};
|
|
382
|
-
`,$t=l.span`
|
|
383
|
-
display: inline-flex;
|
|
384
|
-
align-items: center;
|
|
385
|
-
gap: 4px;
|
|
386
|
-
font-size: 11px;
|
|
387
|
-
font-weight: 600;
|
|
388
|
-
text-transform: uppercase;
|
|
389
|
-
letter-spacing: 0.04em;
|
|
390
|
-
color: ${s.colors.gray4};
|
|
391
|
-
border: 1px dashed ${s.colors.cardLine};
|
|
392
|
-
border-radius: ${s.radius.chip};
|
|
393
|
-
padding: 1px 5px;
|
|
394
|
-
`,Z=l.section`
|
|
395
|
-
display: flex;
|
|
396
|
-
flex-direction: column;
|
|
397
|
-
gap: 12px;
|
|
398
|
-
padding: 16px;
|
|
399
|
-
background: ${s.colors.overlayLight};
|
|
400
|
-
color: ${s.colors.softWhite};
|
|
401
|
-
border-radius: ${s.radius.banner};
|
|
402
|
-
min-width: 0;
|
|
403
|
-
/* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. That
|
|
404
|
-
was chosen for a white card and disappears into this one. */
|
|
405
|
-
.ccy-mark,
|
|
406
|
-
.ccy {
|
|
407
|
-
color: ${s.colors.softWhite};
|
|
408
|
-
}
|
|
409
|
-
`,Ae=l.div`
|
|
410
|
-
display: flex;
|
|
411
|
-
align-items: baseline;
|
|
412
|
-
justify-content: space-between;
|
|
413
|
-
gap: 12px;
|
|
414
|
-
`,Se=l.h2`
|
|
415
|
-
margin: 0;
|
|
416
|
-
font-family: ${s.font.sans};
|
|
417
|
-
font-size: 15px;
|
|
418
|
-
font-weight: 700;
|
|
419
|
-
letter-spacing: -0.01em;
|
|
420
|
-
`;l.div`
|
|
421
|
-
display: flex;
|
|
422
|
-
align-items: center;
|
|
423
|
-
gap: 12px;
|
|
424
|
-
`;const Zn=l(Ys)`
|
|
425
|
-
/* Direct child only: the menu's options are buttons as well, and a descendant rule turned them white
|
|
426
|
-
on the white menu, which is a menu you cannot read. */
|
|
427
|
-
> button {
|
|
428
|
-
gap: 24px;
|
|
429
|
-
height: 40px;
|
|
430
|
-
padding: 4px 4px 4px 12px;
|
|
431
|
-
background: transparent;
|
|
432
|
-
border: 0.5px solid ${s.colors.white};
|
|
433
|
-
border-radius: ${s.radius.btn};
|
|
434
|
-
color: ${s.colors.white};
|
|
435
|
-
font-size: 12px;
|
|
436
|
-
font-weight: 500;
|
|
437
|
-
text-transform: uppercase;
|
|
438
|
-
letter-spacing: 0;
|
|
439
|
-
}
|
|
440
|
-
> button:hover {
|
|
441
|
-
border-color: ${s.colors.softWhite};
|
|
442
|
-
background: ${s.colors.glassFaint};
|
|
443
|
-
color: ${s.colors.softWhite};
|
|
444
|
-
}
|
|
445
|
-
/* The chevron's colour is an inline style on the shared component, so a class cannot reach it — this
|
|
446
|
-
is the one place that has to shout. */
|
|
447
|
-
> button .ico {
|
|
448
|
-
color: ${s.colors.softWhite} !important;
|
|
449
|
-
}
|
|
450
|
-
`,eo=l.span`
|
|
451
|
-
font-family: ${s.font.sans};
|
|
452
|
-
font-size: 12px;
|
|
453
|
-
color: ${s.colors.gray4};
|
|
454
|
-
`,Vt="24px 56px minmax(170px, 1fr) minmax(236px, 1.34fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(150px, 1fr) 158px",Gt=l.div`
|
|
455
|
-
display: grid;
|
|
456
|
-
grid-template-columns: ${Vt};
|
|
457
|
-
align-items: center;
|
|
458
|
-
gap: 12px;
|
|
459
|
-
padding: 12px 24px 12px 12px;
|
|
460
|
-
min-width: min-content;
|
|
461
|
-
background: ${s.colors.overlayStrong};
|
|
462
|
-
border-radius: ${s.radius.card} ${s.radius.card} 0 0;
|
|
463
|
-
font-family: ${s.font.sans};
|
|
464
|
-
font-size: 14px;
|
|
465
|
-
color: ${s.colors.softWhite};
|
|
466
|
-
|
|
467
|
-
/* Each label sits the way its column's content sits, so a header never points at the wrong figure. */
|
|
468
|
-
> *:nth-child(4),
|
|
469
|
-
> *:nth-child(5),
|
|
470
|
-
> *:nth-child(6),
|
|
471
|
-
> *:nth-child(7) {
|
|
472
|
-
text-align: center;
|
|
473
|
-
}
|
|
474
|
-
/* The label sits over the middle of the action, not over its right edge: in the design both occupy the
|
|
475
|
-
same box, so the header stretches across the track and centres inside it. */
|
|
476
|
-
> *:last-child {
|
|
477
|
-
justify-self: stretch;
|
|
478
|
-
text-align: center;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
${s.media.maxWidth("mobile")} {
|
|
482
|
-
display: none;
|
|
483
|
-
}
|
|
484
|
-
`,Yt=l.div`
|
|
485
|
-
display: flex;
|
|
486
|
-
flex-direction: column;
|
|
487
|
-
gap: 2px;
|
|
488
|
-
min-width: 0;
|
|
489
|
-
/*
|
|
490
|
-
* The run scrolls sideways rather than crushing its own columns.
|
|
491
|
-
*
|
|
492
|
-
* The tracks need 1158px before the grid starts taking room from them, and the panel used to clip what
|
|
493
|
-
* did not fit. It does not any more, and a clipped row is worse than a scrolling one: the action is the
|
|
494
|
-
* last column, so on a 1024px tablet "Manage" simply left the screen with no way to reach it.
|
|
495
|
-
*/
|
|
496
|
-
overflow-x: auto;
|
|
497
|
-
|
|
498
|
-
> *:last-child {
|
|
499
|
-
border-radius: 0 0 ${s.radius.card} ${s.radius.card};
|
|
500
|
-
}
|
|
501
|
-
`,Qt=l.div`
|
|
502
|
-
display: grid;
|
|
503
|
-
grid-template-columns: ${Vt};
|
|
504
|
-
align-items: center;
|
|
505
|
-
gap: 12px;
|
|
506
|
-
padding: 12px 24px 12px 12px;
|
|
507
|
-
min-width: min-content;
|
|
508
|
-
background: ${s.colors.overlay};
|
|
509
|
-
|
|
510
|
-
/* A fixed track keeps every row's action in the same place, centred under its column's label. */
|
|
511
|
-
> *:last-child {
|
|
512
|
-
justify-self: center;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* A collection with no copies left, set back from the ones that still have something to sell.
|
|
517
|
-
*
|
|
518
|
-
* Muted rather than faded: opacity would take the row's one action down with it, and a creator who wants
|
|
519
|
-
* to look at a finished run should not have to fight the styling to click into it. The thumbnail loses
|
|
520
|
-
* its colour, the figures lose their weight, and the row still reads.
|
|
521
|
-
*/
|
|
522
|
-
&[data-exhausted] {
|
|
523
|
-
background: rgba(0, 0, 0, 0.55);
|
|
524
|
-
color: ${s.colors.gray4};
|
|
525
|
-
|
|
526
|
-
[data-testid='store-collection-thumb'] img {
|
|
527
|
-
filter: grayscale(0.75);
|
|
528
|
-
opacity: 0.72;
|
|
529
|
-
}
|
|
530
|
-
/* The collection's own name follows the row; the action at the end keeps its colour, because a
|
|
531
|
-
finished run is still one a creator opens, and a button that reads disabled invites nobody. */
|
|
532
|
-
[data-testid='store-collection-name'] {
|
|
533
|
-
color: inherit;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* On a phone the seven columns become two rows: identity and figure on the first, the discount and the
|
|
539
|
-
* action on the second. Placed explicitly rather than left to auto-flow, which dropped both of them
|
|
540
|
-
* into the first two narrow tracks on top of each other.
|
|
541
|
-
*/
|
|
542
|
-
/*
|
|
543
|
-
* Three lines on a phone: who it is and what to do about it, then the two figures, then the discount.
|
|
544
|
-
*
|
|
545
|
-
* Every cell is placed explicitly rather than left to auto-flow, because the columns changed order once
|
|
546
|
-
* already and an auto-placed grid answers that by putting a sparkline where a button used to be.
|
|
547
|
-
*/
|
|
548
|
-
${s.media.maxWidth("mobile")} {
|
|
549
|
-
grid-template-columns: 24px 56px minmax(0, 1fr) auto;
|
|
550
|
-
row-gap: 12px;
|
|
551
|
-
|
|
552
|
-
> *:nth-child(1) {
|
|
553
|
-
grid-area: 1 / 1;
|
|
554
|
-
}
|
|
555
|
-
> *:nth-child(2) {
|
|
556
|
-
grid-area: 1 / 2;
|
|
557
|
-
}
|
|
558
|
-
/* The name takes the whole of its line. Sharing it with the action left "Founders Edition" as an
|
|
559
|
-
ellipsis and a chip, which is the one cell on the row that has to be readable. */
|
|
560
|
-
> *:nth-child(3) {
|
|
561
|
-
grid-area: 1 / 3 / 1 / 5;
|
|
562
|
-
}
|
|
563
|
-
> *:nth-child(5) {
|
|
564
|
-
grid-area: 2 / 1 / 2 / 3;
|
|
565
|
-
justify-self: start;
|
|
566
|
-
}
|
|
567
|
-
> *:nth-child(6) {
|
|
568
|
-
grid-area: 2 / 3;
|
|
569
|
-
justify-self: start;
|
|
570
|
-
}
|
|
571
|
-
> *:nth-child(8) {
|
|
572
|
-
grid-area: 2 / 4;
|
|
573
|
-
justify-self: end;
|
|
574
|
-
}
|
|
575
|
-
> *:nth-child(4) {
|
|
576
|
-
grid-area: 3 / 1 / 3 / 5;
|
|
577
|
-
justify-self: start;
|
|
578
|
-
align-items: flex-start;
|
|
579
|
-
text-align: left;
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
`,to=l.button`
|
|
583
|
-
position: relative;
|
|
584
|
-
display: grid;
|
|
585
|
-
place-items: center;
|
|
586
|
-
width: 24px;
|
|
587
|
-
height: 24px;
|
|
588
|
-
padding: 0;
|
|
589
|
-
border: 0;
|
|
590
|
-
border-radius: ${s.radius.btn};
|
|
591
|
-
background: none;
|
|
592
|
-
cursor: pointer;
|
|
593
|
-
color: ${s.colors.gray4};
|
|
594
|
-
|
|
595
|
-
&:hover {
|
|
596
|
-
background: ${s.colors.glassFaint};
|
|
597
|
-
color: ${s.colors.softWhite};
|
|
598
|
-
}
|
|
599
|
-
&:focus-visible {
|
|
600
|
-
outline: 2px solid ${s.colors.navViolet};
|
|
601
|
-
outline-offset: 2px;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
/* A finger needs more than the 24px the glyph occupies, and the row has that much clear space around it. */
|
|
605
|
-
&::after {
|
|
606
|
-
content: '';
|
|
607
|
-
position: absolute;
|
|
608
|
-
inset: -10px;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
.ico {
|
|
612
|
-
width: 16px;
|
|
613
|
-
height: 16px;
|
|
614
|
-
transition: transform 0.18s ease;
|
|
615
|
-
}
|
|
616
|
-
&[aria-expanded='true'] .ico {
|
|
617
|
-
transform: rotate(180deg);
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
@media (prefers-reduced-motion: reduce) {
|
|
621
|
-
.ico {
|
|
622
|
-
transition: none;
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
`,so=l.span`
|
|
626
|
-
width: 56px;
|
|
627
|
-
height: 56px;
|
|
628
|
-
border-radius: ${s.radius.btn};
|
|
629
|
-
overflow: hidden;
|
|
630
|
-
background: ${s.colors.overlayLight};
|
|
631
|
-
`,no=l.span`
|
|
632
|
-
flex: none;
|
|
633
|
-
display: inline-flex;
|
|
634
|
-
align-items: center;
|
|
635
|
-
font-family: ${s.font.sans};
|
|
636
|
-
font-size: 10px;
|
|
637
|
-
font-weight: 700;
|
|
638
|
-
letter-spacing: 0.06em;
|
|
639
|
-
text-transform: uppercase;
|
|
640
|
-
padding: 3px 7px;
|
|
641
|
-
border-radius: ${s.radius.pill};
|
|
642
|
-
color: ${s.colors.gray4};
|
|
643
|
-
background: ${s.colors.glassFaint};
|
|
644
|
-
`,oo=l.span`
|
|
645
|
-
display: flex;
|
|
646
|
-
align-items: center;
|
|
647
|
-
flex-wrap: wrap;
|
|
648
|
-
gap: 4px 8px;
|
|
649
|
-
min-width: 0;
|
|
650
|
-
|
|
651
|
-
/*
|
|
652
|
-
* The chip yields before the name does, which is the opposite of what it used to do.
|
|
653
|
-
*
|
|
654
|
-
* With a wide name column the name could ellipsise and keep "sold out" beside it. The columns are even
|
|
655
|
-
* now, so that column is 176px, and yielding the name first left "Founders Ed…" next to a chip: the row
|
|
656
|
-
* lost the one thing it has to say to save the one thing that repeats on every sold-out row.
|
|
657
|
-
*/
|
|
658
|
-
a {
|
|
659
|
-
min-width: 0;
|
|
660
|
-
flex: 0 1 auto;
|
|
661
|
-
}
|
|
662
|
-
`,ao=l.span`
|
|
663
|
-
min-width: 0;
|
|
664
|
-
|
|
665
|
-
a {
|
|
666
|
-
display: block;
|
|
667
|
-
color: inherit;
|
|
668
|
-
text-decoration: none;
|
|
669
|
-
font-family: ${s.font.sans};
|
|
670
|
-
font-size: 14px;
|
|
671
|
-
font-weight: 600;
|
|
672
|
-
overflow: hidden;
|
|
673
|
-
text-overflow: ellipsis;
|
|
674
|
-
white-space: nowrap;
|
|
675
|
-
}
|
|
676
|
-
a:hover,
|
|
677
|
-
a:focus-visible {
|
|
678
|
-
text-decoration: underline;
|
|
679
|
-
}
|
|
680
|
-
`,io=l.span`
|
|
681
|
-
display: block;
|
|
682
|
-
font-family: ${s.font.sans};
|
|
683
|
-
font-size: 12px;
|
|
684
|
-
color: ${s.colors.gray4};
|
|
685
|
-
overflow: hidden;
|
|
686
|
-
text-overflow: ellipsis;
|
|
687
|
-
white-space: nowrap;
|
|
688
|
-
`;l.span`
|
|
689
|
-
font-family: ${s.font.sans};
|
|
690
|
-
font-size: 15px;
|
|
691
|
-
font-weight: 700;
|
|
692
|
-
font-variant-numeric: tabular-nums;
|
|
693
|
-
text-align: right;
|
|
694
|
-
|
|
695
|
-
small {
|
|
696
|
-
display: block;
|
|
697
|
-
font-size: 11px;
|
|
698
|
-
font-weight: 500;
|
|
699
|
-
color: ${s.colors.gray4};
|
|
700
|
-
text-transform: uppercase;
|
|
701
|
-
letter-spacing: 0.04em;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
${s.media.maxWidth("mobile")} {
|
|
705
|
-
display: none;
|
|
706
|
-
}
|
|
707
|
-
`;const ro=l.span`
|
|
708
|
-
min-width: 0;
|
|
709
|
-
|
|
710
|
-
${s.media.maxWidth("mobile")} {
|
|
711
|
-
display: none;
|
|
712
|
-
}
|
|
713
|
-
`,vt=l.svg`
|
|
714
|
-
display: block;
|
|
715
|
-
width: 100%;
|
|
716
|
-
height: 34px;
|
|
717
|
-
`,lo=l.div`
|
|
718
|
-
/* A shade deeper than the row it belongs to, not lighter. The rows carry their own dark fill now, and a
|
|
719
|
-
translucent white panel between them read as a different surface breaking the run in half. */
|
|
720
|
-
background: ${s.colors.overlayStrong};
|
|
721
|
-
padding: 4px 24px 10px 48px;
|
|
722
|
-
|
|
723
|
-
${s.media.maxWidth("mobile")} {
|
|
724
|
-
padding-left: 32px;
|
|
725
|
-
}
|
|
726
|
-
`,co=l.div`
|
|
727
|
-
display: flex;
|
|
728
|
-
flex-wrap: wrap;
|
|
729
|
-
gap: 8px 26px;
|
|
730
|
-
padding: 12px 0 13px;
|
|
731
|
-
border-bottom: 1px solid ${s.colors.cardLine};
|
|
732
|
-
|
|
733
|
-
span {
|
|
734
|
-
display: flex;
|
|
735
|
-
align-items: baseline;
|
|
736
|
-
gap: 6px;
|
|
737
|
-
font-family: ${s.font.sans};
|
|
738
|
-
font-size: 11px;
|
|
739
|
-
font-weight: 600;
|
|
740
|
-
letter-spacing: 0.04em;
|
|
741
|
-
text-transform: uppercase;
|
|
742
|
-
color: ${s.colors.gray4};
|
|
743
|
-
}
|
|
744
|
-
b {
|
|
745
|
-
/* The currency mark is its own inline-flex element, so the figure needs a row of its own or the two
|
|
746
|
-
break onto separate lines. */
|
|
747
|
-
display: inline-flex;
|
|
748
|
-
align-items: center;
|
|
749
|
-
gap: 3px;
|
|
750
|
-
white-space: nowrap;
|
|
751
|
-
font-size: 15px;
|
|
752
|
-
font-weight: 700;
|
|
753
|
-
letter-spacing: 0;
|
|
754
|
-
text-transform: none;
|
|
755
|
-
color: ${s.colors.softWhite};
|
|
756
|
-
font-variant-numeric: tabular-nums;
|
|
757
|
-
}
|
|
758
|
-
`,ho=l.div`
|
|
759
|
-
display: grid;
|
|
760
|
-
/* The stock track is fixed rather than max-content: each row is its own grid, so a content-sized last
|
|
761
|
-
track let every row measure itself and none of them lined up. 124px clears the widest figure the page
|
|
762
|
-
renders (105px) with room to spare, without leaving a hand's width between the bar and the number. */
|
|
763
|
-
grid-template-columns: 40px minmax(0, 1fr) 72px 64px 152px 124px;
|
|
764
|
-
align-items: center;
|
|
765
|
-
gap: 22px;
|
|
766
|
-
padding: 13px 0;
|
|
767
|
-
|
|
768
|
-
> *:last-child {
|
|
769
|
-
justify-self: end;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
& + & {
|
|
773
|
-
border-top: 1px solid ${s.colors.cardLine};
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
/*
|
|
777
|
-
* Two lines on a phone: the item, then its figures under the name.
|
|
778
|
-
*
|
|
779
|
-
* Placed explicitly. With three tracks and six cells the browser auto-flowed the stock figure into the
|
|
780
|
-
* 40px thumbnail track on the second row, where justify-self: end right-aligned 105px of text inside
|
|
781
|
-
* 40px of column and pushed its left edge a pixel off the card.
|
|
782
|
-
*/
|
|
783
|
-
${s.media.maxWidth("mobile")} {
|
|
784
|
-
grid-template-columns: 40px minmax(0, 1fr) auto;
|
|
785
|
-
column-gap: 12px;
|
|
786
|
-
row-gap: 8px;
|
|
787
|
-
|
|
788
|
-
> *:nth-child(3) {
|
|
789
|
-
grid-area: 2 / 2;
|
|
790
|
-
justify-self: start;
|
|
791
|
-
}
|
|
792
|
-
> *:last-child {
|
|
793
|
-
grid-area: 2 / 3;
|
|
794
|
-
justify-self: end;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
`,po=l.span`
|
|
798
|
-
display: block;
|
|
799
|
-
width: 40px;
|
|
800
|
-
height: 40px;
|
|
801
|
-
border-radius: ${s.radius.btn};
|
|
802
|
-
overflow: hidden;
|
|
803
|
-
/* The rarity wash is a gradient of ALPHAS, drawn for a white card. Composited over a dark panel instead
|
|
804
|
-
it turns muddy, so the base it was measured against is put back under it. */
|
|
805
|
-
background-color: ${s.colors.white};
|
|
806
|
-
|
|
807
|
-
img {
|
|
808
|
-
width: 100%;
|
|
809
|
-
height: 100%;
|
|
810
|
-
object-fit: contain;
|
|
811
|
-
}
|
|
812
|
-
`,uo=l.span`
|
|
813
|
-
min-width: 0;
|
|
814
|
-
display: flex;
|
|
815
|
-
flex-direction: column;
|
|
816
|
-
gap: 2px;
|
|
817
|
-
`,mo=l.span`
|
|
818
|
-
display: flex;
|
|
819
|
-
flex-wrap: wrap;
|
|
820
|
-
align-items: center;
|
|
821
|
-
gap: 6px;
|
|
822
|
-
min-width: 0;
|
|
823
|
-
`,xo=l.button`
|
|
824
|
-
flex: none;
|
|
825
|
-
margin: -8px 0;
|
|
826
|
-
padding: 8px 4px;
|
|
827
|
-
border: 0;
|
|
828
|
-
background: none;
|
|
829
|
-
color: ${s.colors.white};
|
|
830
|
-
font-family: ${s.font.sans};
|
|
831
|
-
font-size: 11px;
|
|
832
|
-
font-weight: 600;
|
|
833
|
-
letter-spacing: 0.04em;
|
|
834
|
-
text-transform: uppercase;
|
|
835
|
-
text-decoration: underline;
|
|
836
|
-
cursor: pointer;
|
|
837
|
-
|
|
838
|
-
&:hover {
|
|
839
|
-
color: ${s.colors.navViolet};
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
&:focus-visible {
|
|
843
|
-
outline: 2px solid currentColor;
|
|
844
|
-
outline-offset: -2px;
|
|
845
|
-
border-radius: 4px;
|
|
846
|
-
}
|
|
847
|
-
`,fo=l.span`
|
|
848
|
-
flex: none;
|
|
849
|
-
display: inline-flex;
|
|
850
|
-
align-items: center;
|
|
851
|
-
height: 15px;
|
|
852
|
-
padding: 0 6px;
|
|
853
|
-
border-radius: 5px;
|
|
854
|
-
font-family: ${s.font.sans};
|
|
855
|
-
font-size: 9px;
|
|
856
|
-
font-weight: 700;
|
|
857
|
-
letter-spacing: 0.02em;
|
|
858
|
-
text-transform: uppercase;
|
|
859
|
-
color: ${s.colors.softWhite};
|
|
860
|
-
`,go=l(me)`
|
|
861
|
-
font-family: ${s.font.sans};
|
|
862
|
-
font-size: 13px;
|
|
863
|
-
color: inherit;
|
|
864
|
-
text-decoration: none;
|
|
865
|
-
overflow: hidden;
|
|
866
|
-
text-overflow: ellipsis;
|
|
867
|
-
white-space: nowrap;
|
|
868
|
-
|
|
869
|
-
&:hover,
|
|
870
|
-
&:focus-visible {
|
|
871
|
-
text-decoration: underline;
|
|
872
|
-
}
|
|
873
|
-
`,yo=l.span`
|
|
874
|
-
font-family: ${s.font.sans};
|
|
875
|
-
font-size: 13px;
|
|
876
|
-
white-space: nowrap;
|
|
877
|
-
font-weight: 600;
|
|
878
|
-
font-variant-numeric: tabular-nums;
|
|
879
|
-
text-align: right;
|
|
880
|
-
color: ${s.colors.softWhite};
|
|
881
|
-
|
|
882
|
-
small {
|
|
883
|
-
color: ${s.colors.gray4};
|
|
884
|
-
font-weight: 500;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
${s.media.maxWidth("mobile")} {
|
|
888
|
-
text-align: left;
|
|
889
|
-
}
|
|
890
|
-
`,bo=l.span`
|
|
891
|
-
display: block;
|
|
892
|
-
width: 96px;
|
|
893
|
-
height: 6px;
|
|
894
|
-
border-radius: 100px;
|
|
895
|
-
/* White, not the near-black this started as: the track was a 10% dark fill chosen for a white card, and
|
|
896
|
-
on the row's own dark surface it was the same colour as the row. */
|
|
897
|
-
background: rgba(255, 255, 255, 0.1);
|
|
898
|
-
overflow: hidden;
|
|
899
|
-
/* Pushed to the end of its track, so it sits with the stock figure it measures rather than crowding the
|
|
900
|
-
saves count next to it. */
|
|
901
|
-
margin-left: auto;
|
|
902
|
-
|
|
903
|
-
i {
|
|
904
|
-
display: block;
|
|
905
|
-
height: 6px;
|
|
906
|
-
border-radius: 100px;
|
|
907
|
-
background: ${s.colors.navViolet};
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
${s.media.maxWidth("mobile")} {
|
|
911
|
-
display: none;
|
|
912
|
-
}
|
|
913
|
-
`,wo=l.span`
|
|
914
|
-
font-family: ${s.font.sans};
|
|
915
|
-
font-size: 11px;
|
|
916
|
-
font-weight: 600;
|
|
917
|
-
letter-spacing: 0.04em;
|
|
918
|
-
text-transform: uppercase;
|
|
919
|
-
white-space: nowrap;
|
|
920
|
-
color: ${s.colors.gray4};
|
|
921
|
-
|
|
922
|
-
&[data-state='soldout'] {
|
|
923
|
-
color: ${s.colors.navViolet};
|
|
924
|
-
}
|
|
925
|
-
/* A listed item shows its price rather than a label, so it takes the ink prices take. */
|
|
926
|
-
&[data-state='classic'],
|
|
927
|
-
&[data-state='discounted'] {
|
|
928
|
-
display: inline-flex;
|
|
929
|
-
align-items: center;
|
|
930
|
-
gap: 2px;
|
|
931
|
-
font-size: 12px;
|
|
932
|
-
letter-spacing: 0;
|
|
933
|
-
text-transform: none;
|
|
934
|
-
color: ${s.colors.softWhite};
|
|
935
|
-
}
|
|
936
|
-
`,So=l.span`
|
|
937
|
-
display: flex;
|
|
938
|
-
flex-direction: column;
|
|
939
|
-
align-items: flex-end;
|
|
940
|
-
gap: 4px;
|
|
941
|
-
line-height: 1.25;
|
|
942
|
-
`,jo=l.span`
|
|
943
|
-
font-size: 10px;
|
|
944
|
-
font-weight: 600;
|
|
945
|
-
letter-spacing: 0.04em;
|
|
946
|
-
text-transform: uppercase;
|
|
947
|
-
color: ${s.colors.gray4};
|
|
948
|
-
margin-right: 4px;
|
|
949
|
-
`,ko=l.span`
|
|
950
|
-
font-family: ${s.font.sans};
|
|
951
|
-
font-size: 10px;
|
|
952
|
-
opacity: 0.85;
|
|
953
|
-
font-weight: 600;
|
|
954
|
-
letter-spacing: 0.03em;
|
|
955
|
-
text-transform: uppercase;
|
|
956
|
-
white-space: nowrap;
|
|
957
|
-
color: ${s.colors.gray4};
|
|
958
|
-
`,$o=l.span`
|
|
959
|
-
font-family: ${s.font.sans};
|
|
960
|
-
font-size: 11px;
|
|
961
|
-
font-weight: 600;
|
|
962
|
-
letter-spacing: 0.04em;
|
|
963
|
-
text-transform: uppercase;
|
|
964
|
-
white-space: nowrap;
|
|
965
|
-
text-align: right;
|
|
966
|
-
color: ${s.colors.gray4};
|
|
967
|
-
font-variant-numeric: tabular-nums;
|
|
968
|
-
|
|
969
|
-
b {
|
|
970
|
-
color: ${s.colors.softWhite};
|
|
971
|
-
font-weight: 700;
|
|
972
|
-
}
|
|
973
|
-
&[data-out='true'] {
|
|
974
|
-
color: ${s.colors.navViolet};
|
|
975
|
-
}
|
|
976
|
-
`;l.div`
|
|
977
|
-
display: grid;
|
|
978
|
-
grid-template-columns: 3px minmax(0, 1fr) auto;
|
|
979
|
-
gap: 12px;
|
|
980
|
-
align-items: center;
|
|
981
|
-
padding: 13px 18px;
|
|
982
|
-
border-top: 1px solid ${s.colors.cardLine};
|
|
983
|
-
`;l.span`
|
|
984
|
-
align-self: stretch;
|
|
985
|
-
border-radius: 2px;
|
|
986
|
-
background: ${s.colors.cardLine};
|
|
987
|
-
|
|
988
|
-
&[data-sev='act'] {
|
|
989
|
-
background: ${s.colors.dclRed};
|
|
990
|
-
}
|
|
991
|
-
&[data-sev='soon'] {
|
|
992
|
-
background: ${s.colors.flareAmber};
|
|
993
|
-
}
|
|
994
|
-
`;const Ct=l.button`
|
|
995
|
-
display: inline-grid;
|
|
996
|
-
place-items: center;
|
|
997
|
-
width: 16px;
|
|
998
|
-
height: 16px;
|
|
999
|
-
margin-left: 5px;
|
|
1000
|
-
padding: 0;
|
|
1001
|
-
border: 0;
|
|
1002
|
-
background: none;
|
|
1003
|
-
cursor: help;
|
|
1004
|
-
color: ${s.colors.gray4};
|
|
1005
|
-
|
|
1006
|
-
&:hover,
|
|
1007
|
-
&:focus-visible {
|
|
1008
|
-
color: ${s.colors.softWhite};
|
|
1009
|
-
}
|
|
1010
|
-
.ico {
|
|
1011
|
-
width: 14px;
|
|
1012
|
-
height: 14px;
|
|
1013
|
-
}
|
|
1014
|
-
`;l.span`
|
|
1015
|
-
b {
|
|
1016
|
-
display: flex;
|
|
1017
|
-
align-items: center;
|
|
1018
|
-
font-family: ${s.font.sans};
|
|
1019
|
-
font-size: 13px;
|
|
1020
|
-
font-weight: 600;
|
|
1021
|
-
}
|
|
1022
|
-
span {
|
|
1023
|
-
display: block;
|
|
1024
|
-
margin-top: 2px;
|
|
1025
|
-
font-family: ${s.font.sans};
|
|
1026
|
-
font-size: 12px;
|
|
1027
|
-
color: ${s.colors.gray4};
|
|
1028
|
-
}
|
|
1029
|
-
`;l(me)`
|
|
1030
|
-
display: inline-block;
|
|
1031
|
-
margin-top: 4px;
|
|
1032
|
-
font-family: ${s.font.sans};
|
|
1033
|
-
font-size: 12px;
|
|
1034
|
-
font-weight: 600;
|
|
1035
|
-
color: ${s.colors.navViolet};
|
|
1036
|
-
text-decoration: none;
|
|
1037
|
-
|
|
1038
|
-
&:hover,
|
|
1039
|
-
&:focus-visible {
|
|
1040
|
-
text-decoration: underline;
|
|
1041
|
-
}
|
|
1042
|
-
`;l.span`
|
|
1043
|
-
font-family: ${s.font.sans};
|
|
1044
|
-
font-size: 18px;
|
|
1045
|
-
font-weight: 700;
|
|
1046
|
-
font-variant-numeric: tabular-nums;
|
|
1047
|
-
`;const Re=l.div`
|
|
1048
|
-
overflow-x: auto;
|
|
1049
|
-
`,Ze=l.table`
|
|
1050
|
-
width: 100%;
|
|
1051
|
-
/* Fixed, so a page of short names and one of long ones lay their columns out identically — the widths
|
|
1052
|
-
come from the header row rather than from whatever this page happens to hold. */
|
|
1053
|
-
table-layout: fixed;
|
|
1054
|
-
|
|
1055
|
-
thead th:nth-of-type(1) {
|
|
1056
|
-
width: 36%;
|
|
1057
|
-
}
|
|
1058
|
-
thead th:nth-of-type(2) {
|
|
1059
|
-
width: 24%;
|
|
1060
|
-
}
|
|
1061
|
-
thead th:nth-of-type(3) {
|
|
1062
|
-
width: 120px;
|
|
1063
|
-
}
|
|
1064
|
-
thead th:nth-of-type(4) {
|
|
1065
|
-
width: 14%;
|
|
1066
|
-
}
|
|
1067
|
-
thead th:nth-of-type(5) {
|
|
1068
|
-
width: 110px;
|
|
1069
|
-
}
|
|
1070
|
-
tbody td {
|
|
1071
|
-
overflow: hidden;
|
|
1072
|
-
text-overflow: ellipsis;
|
|
1073
|
-
}
|
|
1074
|
-
font-family: ${s.font.sans};
|
|
1075
|
-
font-size: 13px;
|
|
1076
|
-
min-width: 520px;
|
|
1077
|
-
|
|
1078
|
-
/* The same band and the same separated rows the collections table wears, so the three tables on this
|
|
1079
|
-
page read as siblings rather than as one design and two others. The 2px gap is a transparent border
|
|
1080
|
-
over a clipped background, which is how a table draws the design's gaps without losing its columns. */
|
|
1081
|
-
border-collapse: separate;
|
|
1082
|
-
border-spacing: 0;
|
|
1083
|
-
|
|
1084
|
-
thead th {
|
|
1085
|
-
text-align: left;
|
|
1086
|
-
padding: 12px 18px;
|
|
1087
|
-
background: ${s.colors.overlayStrong};
|
|
1088
|
-
font-size: 14px;
|
|
1089
|
-
font-weight: 400;
|
|
1090
|
-
color: ${s.colors.softWhite};
|
|
1091
|
-
white-space: nowrap;
|
|
1092
|
-
}
|
|
1093
|
-
thead th:first-of-type {
|
|
1094
|
-
border-radius: ${s.radius.card} 0 0 0;
|
|
1095
|
-
}
|
|
1096
|
-
thead th:last-of-type {
|
|
1097
|
-
border-radius: 0 ${s.radius.card} 0 0;
|
|
1098
|
-
}
|
|
1099
|
-
tbody td {
|
|
1100
|
-
padding: 12px 18px;
|
|
1101
|
-
background: ${s.colors.overlay};
|
|
1102
|
-
border-top: 2px solid transparent;
|
|
1103
|
-
background-clip: padding-box;
|
|
1104
|
-
vertical-align: middle;
|
|
1105
|
-
}
|
|
1106
|
-
tbody tr:last-of-type td:first-of-type {
|
|
1107
|
-
border-radius: 0 0 0 ${s.radius.card};
|
|
1108
|
-
}
|
|
1109
|
-
tbody tr:last-of-type td:last-of-type {
|
|
1110
|
-
border-radius: 0 0 ${s.radius.card} 0;
|
|
1111
|
-
}
|
|
1112
|
-
tbody tr:hover td {
|
|
1113
|
-
background: ${s.colors.overlayHover};
|
|
1114
|
-
}
|
|
1115
|
-
td[data-money] {
|
|
1116
|
-
text-align: right;
|
|
1117
|
-
font-weight: 700;
|
|
1118
|
-
font-variant-numeric: tabular-nums;
|
|
1119
|
-
white-space: nowrap;
|
|
1120
|
-
}
|
|
1121
|
-
td[data-dim] {
|
|
1122
|
-
color: ${s.colors.gray4};
|
|
1123
|
-
font-variant-numeric: tabular-nums;
|
|
1124
|
-
white-space: nowrap;
|
|
1125
|
-
}
|
|
1126
|
-
`,At=l.span`
|
|
1127
|
-
display: flex;
|
|
1128
|
-
align-items: center;
|
|
1129
|
-
gap: 10px;
|
|
1130
|
-
min-width: 0;
|
|
1131
|
-
color: inherit;
|
|
1132
|
-
text-decoration: none;
|
|
1133
|
-
|
|
1134
|
-
span {
|
|
1135
|
-
overflow: hidden;
|
|
1136
|
-
text-overflow: ellipsis;
|
|
1137
|
-
white-space: nowrap;
|
|
1138
|
-
}
|
|
1139
|
-
&:hover span,
|
|
1140
|
-
&:focus-visible span {
|
|
1141
|
-
text-decoration: underline;
|
|
1142
|
-
}
|
|
1143
|
-
`,It=l.span`
|
|
1144
|
-
flex: none;
|
|
1145
|
-
display: block;
|
|
1146
|
-
width: 32px;
|
|
1147
|
-
height: 32px;
|
|
1148
|
-
border-radius: ${s.radius.chip};
|
|
1149
|
-
overflow: hidden;
|
|
1150
|
-
/* Same rarity wash, same reason it needs a white base under it — see ItemThumb. */
|
|
1151
|
-
background-color: ${s.colors.white};
|
|
1152
|
-
|
|
1153
|
-
img {
|
|
1154
|
-
width: 100%;
|
|
1155
|
-
height: 100%;
|
|
1156
|
-
object-fit: contain;
|
|
1157
|
-
}
|
|
1158
|
-
`,Mt=l.a`
|
|
1159
|
-
max-width: 100%;
|
|
1160
|
-
white-space: nowrap;
|
|
1161
|
-
display: inline-flex;
|
|
1162
|
-
align-items: center;
|
|
1163
|
-
gap: 8px;
|
|
1164
|
-
color: inherit;
|
|
1165
|
-
text-decoration: none;
|
|
1166
|
-
|
|
1167
|
-
&:hover,
|
|
1168
|
-
&:focus-visible {
|
|
1169
|
-
text-decoration: underline;
|
|
1170
|
-
}
|
|
1171
|
-
`,vo=l.span`
|
|
1172
|
-
display: inline-flex;
|
|
1173
|
-
align-items: center;
|
|
1174
|
-
gap: 8px;
|
|
1175
|
-
|
|
1176
|
-
i {
|
|
1177
|
-
display: block;
|
|
1178
|
-
width: 24px;
|
|
1179
|
-
height: 24px;
|
|
1180
|
-
border-radius: 50%;
|
|
1181
|
-
background: #ededed;
|
|
1182
|
-
}
|
|
1183
|
-
b {
|
|
1184
|
-
display: block;
|
|
1185
|
-
width: 84px;
|
|
1186
|
-
height: 10px;
|
|
1187
|
-
border-radius: 100px;
|
|
1188
|
-
background: #ededed;
|
|
1189
|
-
}
|
|
1190
|
-
`,Wt=l.span`
|
|
1191
|
-
flex: none;
|
|
1192
|
-
display: block;
|
|
1193
|
-
width: 24px;
|
|
1194
|
-
height: 24px;
|
|
1195
|
-
border-radius: 50%;
|
|
1196
|
-
background-color: ${s.colors.overlayLight};
|
|
1197
|
-
background-size: cover;
|
|
1198
|
-
background-position: center top;
|
|
1199
|
-
`,Co=l.nav`
|
|
1200
|
-
display: flex;
|
|
1201
|
-
flex-wrap: wrap;
|
|
1202
|
-
align-items: center;
|
|
1203
|
-
justify-content: flex-end;
|
|
1204
|
-
gap: 12px;
|
|
1205
|
-
font-variant-numeric: tabular-nums;
|
|
1206
|
-
`,Jt=`
|
|
1207
|
-
display: inline-flex;
|
|
1208
|
-
align-items: center;
|
|
1209
|
-
justify-content: center;
|
|
1210
|
-
width: 32px;
|
|
1211
|
-
height: 32px;
|
|
1212
|
-
padding: 0;
|
|
1213
|
-
border: 0.5px solid rgba(255, 255, 255, 0.5);
|
|
1214
|
-
border-radius: ${s.radius.btn};
|
|
1215
|
-
background: transparent;
|
|
1216
|
-
font-family: ${s.font.sans};
|
|
1217
|
-
font-size: 13px;
|
|
1218
|
-
font-weight: 600;
|
|
1219
|
-
letter-spacing: 0.46px;
|
|
1220
|
-
color: ${s.colors.softWhite};
|
|
1221
|
-
cursor: pointer;
|
|
1222
|
-
|
|
1223
|
-
&:hover:not(:disabled) {
|
|
1224
|
-
border-color: ${s.colors.softWhite};
|
|
1225
|
-
background: ${s.colors.glassFaint};
|
|
1226
|
-
}
|
|
1227
|
-
&:focus-visible {
|
|
1228
|
-
outline: 2px solid ${s.colors.softWhite};
|
|
1229
|
-
outline-offset: 2px;
|
|
1230
|
-
}
|
|
1231
|
-
&:disabled {
|
|
1232
|
-
opacity: 0.35;
|
|
1233
|
-
cursor: default;
|
|
1234
|
-
}
|
|
1235
|
-
`,Lt=l.button`
|
|
1236
|
-
${Jt}
|
|
1237
|
-
`,Ao=l.button`
|
|
1238
|
-
${Jt}
|
|
1239
|
-
|
|
1240
|
-
/* The page you are on is the one solid control in the row, which is how the design marks it. */
|
|
1241
|
-
&[aria-current='page'] {
|
|
1242
|
-
background: ${s.colors.softWhite};
|
|
1243
|
-
border-color: ${s.colors.softWhite};
|
|
1244
|
-
color: ${s.colors.text};
|
|
1245
|
-
cursor: default;
|
|
1246
|
-
}
|
|
1247
|
-
&[aria-current='page']:hover {
|
|
1248
|
-
background: ${s.colors.softWhite};
|
|
1249
|
-
color: ${s.colors.text};
|
|
1250
|
-
}
|
|
1251
|
-
`,Io=l.span`
|
|
1252
|
-
padding: 0 2px;
|
|
1253
|
-
font-family: ${s.font.sans};
|
|
1254
|
-
font-size: 12px;
|
|
1255
|
-
color: ${s.colors.gray4};
|
|
1256
|
-
`;l.span`
|
|
1257
|
-
display: inline-flex;
|
|
1258
|
-
align-items: center;
|
|
1259
|
-
gap: 2px;
|
|
1260
|
-
`;const Mo=l.span`
|
|
1261
|
-
font-size: 11px;
|
|
1262
|
-
font-weight: 700;
|
|
1263
|
-
letter-spacing: 0.04em;
|
|
1264
|
-
text-transform: uppercase;
|
|
1265
|
-
border-radius: ${s.radius.chip};
|
|
1266
|
-
padding: 2px 7px;
|
|
1267
|
-
white-space: nowrap;
|
|
1268
|
-
color: ${s.colors.gray4};
|
|
1269
|
-
background: ${s.colors.overlayLight};
|
|
1270
|
-
|
|
1271
|
-
&[data-kind='mint'] {
|
|
1272
|
-
color: ${s.colors.navViolet};
|
|
1273
|
-
background: rgba(105, 31, 169, 0.1);
|
|
1274
|
-
}
|
|
1275
|
-
`;l.img`
|
|
1276
|
-
width: 1em;
|
|
1277
|
-
height: 1em;
|
|
1278
|
-
vertical-align: -0.125em;
|
|
1279
|
-
margin-right: 3px;
|
|
1280
|
-
`;const Wo=l.button`
|
|
1281
|
-
display: block;
|
|
1282
|
-
width: 100%;
|
|
1283
|
-
padding: 13px 18px;
|
|
1284
|
-
border: 0;
|
|
1285
|
-
border-top: 1px solid ${s.colors.cardLine};
|
|
1286
|
-
background: none;
|
|
1287
|
-
cursor: pointer;
|
|
1288
|
-
font-family: ${s.font.sans};
|
|
1289
|
-
font-size: 13px;
|
|
1290
|
-
font-weight: 600;
|
|
1291
|
-
color: ${s.colors.navViolet};
|
|
1292
|
-
|
|
1293
|
-
&:hover {
|
|
1294
|
-
background: ${s.colors.glassFaint};
|
|
1295
|
-
}
|
|
1296
|
-
&:focus-visible {
|
|
1297
|
-
outline: 2px solid ${s.colors.navViolet};
|
|
1298
|
-
outline-offset: -2px;
|
|
1299
|
-
}
|
|
1300
|
-
`;l.div`
|
|
1301
|
-
display: flex;
|
|
1302
|
-
flex-direction: column;
|
|
1303
|
-
gap: 4px;
|
|
1304
|
-
padding: 10px 18px 14px;
|
|
1305
|
-
border-top: 1px solid ${s.colors.cardLine};
|
|
1306
|
-
`;l.p`
|
|
1307
|
-
margin: 0;
|
|
1308
|
-
font-family: ${s.font.sans};
|
|
1309
|
-
font-size: 11px;
|
|
1310
|
-
line-height: 1.45;
|
|
1311
|
-
color: ${s.colors.muted2};
|
|
1312
|
-
`;const Xt=`
|
|
1313
|
-
background: linear-gradient(100deg, var(--skeleton-lo) 30%, var(--skeleton-hi) 50%, var(--skeleton-lo) 70%);
|
|
1314
|
-
background-size: 200% 100%;
|
|
1315
|
-
animation: shimmer 1.3s infinite linear;
|
|
1316
|
-
|
|
1317
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1318
|
-
animation: none;
|
|
1319
|
-
}
|
|
1320
|
-
`,b=l.span`
|
|
1321
|
-
display: block;
|
|
1322
|
-
height: 12px;
|
|
1323
|
-
border-radius: 100px;
|
|
1324
|
-
${Xt}
|
|
1325
|
-
`,Lo=l.span`
|
|
1326
|
-
display: block;
|
|
1327
|
-
width: 40px;
|
|
1328
|
-
height: 40px;
|
|
1329
|
-
border-radius: ${s.radius.btn};
|
|
1330
|
-
${Xt}
|
|
1331
|
-
`,Tt=l.div`
|
|
1332
|
-
display: grid;
|
|
1333
|
-
grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 100px minmax(0, 0.5fr) 70px;
|
|
1334
|
-
align-items: center;
|
|
1335
|
-
gap: 12px;
|
|
1336
|
-
padding: 0 18px 10px;
|
|
1337
|
-
|
|
1338
|
-
> *:last-child {
|
|
1339
|
-
justify-self: end;
|
|
1340
|
-
}
|
|
1341
|
-
background: ${s.colors.overlayStrong};
|
|
1342
|
-
border-radius: ${s.radius.card} ${s.radius.card} 0 0;
|
|
1343
|
-
`,Pt=l.div`
|
|
1344
|
-
display: grid;
|
|
1345
|
-
grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 100px minmax(0, 0.5fr) 70px;
|
|
1346
|
-
align-items: center;
|
|
1347
|
-
gap: 12px;
|
|
1348
|
-
height: 57px;
|
|
1349
|
-
padding: 0 18px;
|
|
1350
|
-
background: ${s.colors.overlay};
|
|
1351
|
-
border-top: 2px solid transparent;
|
|
1352
|
-
background-clip: padding-box;
|
|
1353
|
-
|
|
1354
|
-
> *:last-child {
|
|
1355
|
-
justify-self: end;
|
|
1356
|
-
}
|
|
1357
|
-
`,je=l.p`
|
|
1358
|
-
margin: 0;
|
|
1359
|
-
font-family: ${s.font.sans};
|
|
1360
|
-
font-size: 13px;
|
|
1361
|
-
color: ${s.colors.gray4};
|
|
1362
|
-
`,To=l(O)`
|
|
1363
|
-
width: 16px;
|
|
1364
|
-
height: 16px;
|
|
1365
|
-
`,qe=l.span`
|
|
1366
|
-
display: inline-flex;
|
|
1367
|
-
align-items: center;
|
|
1368
|
-
gap: 4px;
|
|
1369
|
-
font-family: ${s.font.sans};
|
|
1370
|
-
font-size: 12px;
|
|
1371
|
-
font-weight: 600;
|
|
1372
|
-
line-height: 1.3;
|
|
1373
|
-
flex-wrap: wrap;
|
|
1374
|
-
color: ${s.colors.gray4};
|
|
1375
|
-
|
|
1376
|
-
&[data-dir='up'] {
|
|
1377
|
-
color: ${s.colors.successBorder};
|
|
1378
|
-
}
|
|
1379
|
-
&[data-dir='down'] {
|
|
1380
|
-
color: #ff6b6b;
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
/* Grey whichever way the figure went: it is the label, not the reading. */
|
|
1384
|
-
.delta__against {
|
|
1385
|
-
font-size: 10px;
|
|
1386
|
-
font-weight: 400;
|
|
1387
|
-
color: ${s.colors.gray4};
|
|
1388
|
-
}
|
|
1389
|
-
.delta__arrow {
|
|
1390
|
-
font-size: 10px;
|
|
1391
|
-
line-height: 1;
|
|
1392
|
-
}
|
|
1393
|
-
`,Po=l.div`
|
|
1394
|
-
margin: 10px 0 -4px;
|
|
1395
|
-
`,zo=l.h2`
|
|
1396
|
-
margin: 0;
|
|
1397
|
-
font-family: ${s.font.sans};
|
|
1398
|
-
font-size: 19px;
|
|
1399
|
-
font-weight: 700;
|
|
1400
|
-
letter-spacing: -0.01em;
|
|
1401
|
-
color: ${s.colors.softWhite};
|
|
1402
|
-
`,_o=l.p`
|
|
1403
|
-
margin: 4px 0 0;
|
|
1404
|
-
font-family: ${s.font.sans};
|
|
1405
|
-
font-size: 13px;
|
|
1406
|
-
color: rgba(252, 252, 252, 0.62);
|
|
1407
|
-
`,Fo=l.div`
|
|
1408
|
-
display: grid;
|
|
1409
|
-
grid-template-columns: repeat(auto-fit, minmax(210px, 300px));
|
|
1410
|
-
gap: 14px;
|
|
1411
|
-
align-items: start;
|
|
1412
|
-
|
|
1413
|
-
${s.media.maxWidth("mobile")} {
|
|
1414
|
-
grid-template-columns: minmax(0, 1fr);
|
|
1415
|
-
}
|
|
1416
|
-
`,Eo=l(Ze)`
|
|
1417
|
-
thead th:nth-of-type(1) {
|
|
1418
|
-
width: 40%;
|
|
1419
|
-
}
|
|
1420
|
-
thead th:nth-of-type(2) {
|
|
1421
|
-
width: 16%;
|
|
1422
|
-
}
|
|
1423
|
-
thead th:nth-of-type(3) {
|
|
1424
|
-
width: 20%;
|
|
1425
|
-
}
|
|
1426
|
-
thead th:nth-of-type(4) {
|
|
1427
|
-
width: 12%;
|
|
1428
|
-
}
|
|
1429
|
-
thead th:nth-of-type(5) {
|
|
1430
|
-
width: 12%;
|
|
1431
|
-
}
|
|
1432
|
-
`;l.div`
|
|
1433
|
-
display: grid;
|
|
1434
|
-
grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
|
|
1435
|
-
gap: 14px;
|
|
1436
|
-
align-items: start;
|
|
1437
|
-
|
|
1438
|
-
${s.media.maxWidth("lg")} {
|
|
1439
|
-
grid-template-columns: minmax(0, 1fr);
|
|
1440
|
-
}
|
|
1441
|
-
`;l.div`
|
|
1442
|
-
display: flex;
|
|
1443
|
-
flex-direction: column;
|
|
1444
|
-
gap: 14px;
|
|
1445
|
-
`;const He=l.span`
|
|
1446
|
-
display: inline-flex;
|
|
1447
|
-
align-items: center;
|
|
1448
|
-
justify-content: flex-end;
|
|
1449
|
-
|
|
1450
|
-
[data-kind] img,
|
|
1451
|
-
[data-kind] .ico {
|
|
1452
|
-
vertical-align: baseline;
|
|
1453
|
-
}
|
|
1454
|
-
`,No=l.span`
|
|
1455
|
-
font-family: ${s.font.sans};
|
|
1456
|
-
font-size: 14px;
|
|
1457
|
-
font-weight: 600;
|
|
1458
|
-
font-variant-numeric: tabular-nums;
|
|
1459
|
-
white-space: nowrap;
|
|
1460
|
-
text-align: center;
|
|
1461
|
-
|
|
1462
|
-
/* One weight and one colour, as the design draws it: the pair is a single reading ("80 of 250"), and
|
|
1463
|
-
dimming the denominator made the two halves look like different figures. */
|
|
1464
|
-
small {
|
|
1465
|
-
font-size: inherit;
|
|
1466
|
-
font-weight: inherit;
|
|
1467
|
-
}
|
|
1468
|
-
`,Oo=l.span`
|
|
1469
|
-
display: flex;
|
|
1470
|
-
flex-direction: column;
|
|
1471
|
-
align-items: center;
|
|
1472
|
-
justify-content: center;
|
|
1473
|
-
gap: 4px;
|
|
1474
|
-
min-width: 0;
|
|
1475
|
-
font-family: ${s.font.sans};
|
|
1476
|
-
font-size: 12px;
|
|
1477
|
-
color: ${s.colors.gray4};
|
|
1478
|
-
text-align: center;
|
|
1479
|
-
`,Bo=l.span`
|
|
1480
|
-
display: inline-flex;
|
|
1481
|
-
flex-wrap: wrap;
|
|
1482
|
-
justify-content: center;
|
|
1483
|
-
gap: 8px;
|
|
1484
|
-
`,Do=l(Ss)`
|
|
1485
|
-
align-self: center;
|
|
1486
|
-
gap: 4px;
|
|
1487
|
-
padding: 2px 4px;
|
|
1488
|
-
border: 0;
|
|
1489
|
-
border-radius: 6px;
|
|
1490
|
-
background: ${s.colors.saleTag};
|
|
1491
|
-
line-height: 20px;
|
|
1492
|
-
|
|
1493
|
-
b,
|
|
1494
|
-
span {
|
|
1495
|
-
font-size: 14px;
|
|
1496
|
-
line-height: 20px;
|
|
1497
|
-
}
|
|
1498
|
-
`,Ro=l(Os)`
|
|
1499
|
-
align-self: center;
|
|
1500
|
-
gap: 4px;
|
|
1501
|
-
padding: 4px 8px;
|
|
1502
|
-
border-radius: 6px;
|
|
1503
|
-
background: ${s.colors.glass};
|
|
1504
|
-
color: ${s.colors.white};
|
|
1505
|
-
|
|
1506
|
-
b {
|
|
1507
|
-
color: ${s.colors.white};
|
|
1508
|
-
font-size: 12px;
|
|
1509
|
-
line-height: 16px;
|
|
1510
|
-
}
|
|
1511
|
-
`,qo=l.span`
|
|
1512
|
-
color: ${s.colors.muted2};
|
|
1513
|
-
|
|
1514
|
-
b {
|
|
1515
|
-
font-weight: 600;
|
|
1516
|
-
}
|
|
1517
|
-
/* Whether it is selling faster carries the only colour in the cell, since it is the only judgement. */
|
|
1518
|
-
&[data-dir='up'] b {
|
|
1519
|
-
color: #2ecc71;
|
|
1520
|
-
}
|
|
1521
|
-
&[data-dir='down'] b {
|
|
1522
|
-
color: #ff6b6b;
|
|
1523
|
-
}
|
|
1524
|
-
`,Ue=l.div`
|
|
1525
|
-
display: flex;
|
|
1526
|
-
align-items: center;
|
|
1527
|
-
justify-content: space-between;
|
|
1528
|
-
gap: 12px;
|
|
1529
|
-
font-family: ${s.font.sans};
|
|
1530
|
-
font-size: 13px;
|
|
1531
|
-
color: ${s.colors.gray4};
|
|
1532
|
-
|
|
1533
|
-
${s.media.maxWidth("mobile")} {
|
|
1534
|
-
flex-direction: column;
|
|
1535
|
-
align-items: stretch;
|
|
1536
|
-
}
|
|
1537
|
-
`,Ho=l.div`
|
|
1538
|
-
display: flex;
|
|
1539
|
-
align-items: center;
|
|
1540
|
-
justify-content: space-between;
|
|
1541
|
-
gap: 12px;
|
|
1542
|
-
|
|
1543
|
-
${s.media.maxWidth("mobile")} {
|
|
1544
|
-
flex-wrap: wrap;
|
|
1545
|
-
}
|
|
1546
|
-
`,Uo=l.div`
|
|
1547
|
-
display: flex;
|
|
1548
|
-
align-items: center;
|
|
1549
|
-
gap: 10px;
|
|
1550
|
-
min-width: 0;
|
|
1551
|
-
`,Ko=l(Rt)`
|
|
1552
|
-
display: inline-flex;
|
|
1553
|
-
align-items: center;
|
|
1554
|
-
justify-content: center;
|
|
1555
|
-
gap: 8px;
|
|
1556
|
-
height: 36px;
|
|
1557
|
-
padding: 0 12px;
|
|
1558
|
-
border: 0.5px solid ${s.colors.white};
|
|
1559
|
-
border-radius: 12px;
|
|
1560
|
-
background: transparent;
|
|
1561
|
-
color: ${s.colors.softWhite};
|
|
1562
|
-
font-size: 13px;
|
|
1563
|
-
font-weight: 600;
|
|
1564
|
-
letter-spacing: 0.46px;
|
|
1565
|
-
text-transform: uppercase;
|
|
1566
|
-
|
|
1567
|
-
&:hover:not(:disabled) {
|
|
1568
|
-
background: ${s.colors.glassFaint};
|
|
1569
|
-
color: ${s.colors.softWhite};
|
|
1570
|
-
}
|
|
1571
|
-
`,Vo=l.span`
|
|
1572
|
-
display: inline-flex;
|
|
1573
|
-
align-items: center;
|
|
1574
|
-
justify-content: center;
|
|
1575
|
-
gap: 6px;
|
|
1576
|
-
font-family: ${s.font.sans};
|
|
1577
|
-
font-size: 14px;
|
|
1578
|
-
font-weight: 600;
|
|
1579
|
-
font-variant-numeric: tabular-nums;
|
|
1580
|
-
white-space: nowrap;
|
|
1581
|
-
`,Go=l.span`
|
|
1582
|
-
display: inline-flex;
|
|
1583
|
-
align-items: center;
|
|
1584
|
-
justify-content: flex-end;
|
|
1585
|
-
gap: 5px;
|
|
1586
|
-
font-family: ${s.font.sans};
|
|
1587
|
-
font-size: 13px;
|
|
1588
|
-
font-variant-numeric: tabular-nums;
|
|
1589
|
-
color: ${s.colors.gray4};
|
|
1590
|
-
white-space: nowrap;
|
|
1591
|
-
|
|
1592
|
-
.ico {
|
|
1593
|
-
width: 14px;
|
|
1594
|
-
height: 14px;
|
|
1595
|
-
}
|
|
1596
|
-
`,Zt=l.div`
|
|
1597
|
-
display: grid;
|
|
1598
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1599
|
-
gap: 14px;
|
|
1600
|
-
/* Stretched rather than start-aligned: the sales rows carry a second line and the best sellers do not,
|
|
1601
|
-
so the two will never end together on their own, and two cards of different heights side by side read
|
|
1602
|
-
as one of them having failed to load. */
|
|
1603
|
-
|
|
1604
|
-
${s.media.maxWidth("lg")} {
|
|
1605
|
-
grid-template-columns: minmax(0, 1fr);
|
|
1606
|
-
}
|
|
1607
|
-
`,zt=l.p`
|
|
1608
|
-
margin: 2px 0 0;
|
|
1609
|
-
font-family: ${s.font.sans};
|
|
1610
|
-
font-size: 13px;
|
|
1611
|
-
color: ${s.colors.gray4};
|
|
1612
|
-
`,_t=l.div`
|
|
1613
|
-
display: flex;
|
|
1614
|
-
align-items: flex-start;
|
|
1615
|
-
justify-content: space-between;
|
|
1616
|
-
gap: 12px;
|
|
1617
|
-
`,Yo=l(me)`
|
|
1618
|
-
display: inline-flex;
|
|
1619
|
-
align-items: center;
|
|
1620
|
-
gap: 6px;
|
|
1621
|
-
flex: none;
|
|
1622
|
-
color: ${s.colors.white};
|
|
1623
|
-
font-family: ${s.font.sans};
|
|
1624
|
-
font-size: 12px;
|
|
1625
|
-
font-weight: 600;
|
|
1626
|
-
letter-spacing: 0.04em;
|
|
1627
|
-
text-transform: uppercase;
|
|
1628
|
-
text-decoration: underline;
|
|
1629
|
-
|
|
1630
|
-
&:hover {
|
|
1631
|
-
color: ${s.colors.navViolet};
|
|
1632
|
-
}
|
|
1633
|
-
`,Ft=l.span`
|
|
1634
|
-
display: inline-block;
|
|
1635
|
-
min-width: 12px;
|
|
1636
|
-
font-weight: 700;
|
|
1637
|
-
font-variant-numeric: tabular-nums;
|
|
1638
|
-
color: ${s.colors.gray4};
|
|
1639
|
-
`,Et=l.span`
|
|
1640
|
-
display: flex;
|
|
1641
|
-
align-items: center;
|
|
1642
|
-
gap: 12px;
|
|
1643
|
-
min-width: 0;
|
|
1644
|
-
`,es=`
|
|
1645
|
-
thead th,
|
|
1646
|
-
tbody td {
|
|
1647
|
-
padding-left: 12px;
|
|
1648
|
-
padding-right: 12px;
|
|
1649
|
-
}
|
|
1650
|
-
`,Qo=l(Ze)`
|
|
1651
|
-
min-width: 500px;
|
|
1652
|
-
${es}
|
|
1653
|
-
|
|
1654
|
-
thead th:nth-of-type(1) {
|
|
1655
|
-
width: 46%;
|
|
1656
|
-
}
|
|
1657
|
-
thead th:nth-of-type(2) {
|
|
1658
|
-
width: 26%;
|
|
1659
|
-
}
|
|
1660
|
-
thead th:nth-of-type(3) {
|
|
1661
|
-
width: 72px;
|
|
1662
|
-
}
|
|
1663
|
-
thead th:nth-of-type(4) {
|
|
1664
|
-
width: 96px;
|
|
1665
|
-
}
|
|
1666
|
-
`,Jo=l(Ze)`
|
|
1667
|
-
min-width: 580px;
|
|
1668
|
-
${es}
|
|
1669
|
-
|
|
1670
|
-
thead th:nth-of-type(1) {
|
|
1671
|
-
width: 34%;
|
|
1672
|
-
}
|
|
1673
|
-
thead th:nth-of-type(2) {
|
|
1674
|
-
width: 22%;
|
|
1675
|
-
}
|
|
1676
|
-
thead th:nth-of-type(3) {
|
|
1677
|
-
width: 70px;
|
|
1678
|
-
}
|
|
1679
|
-
thead th:nth-of-type(4) {
|
|
1680
|
-
width: 140px;
|
|
1681
|
-
}
|
|
1682
|
-
thead th:nth-of-type(5) {
|
|
1683
|
-
width: 76px;
|
|
1684
|
-
}
|
|
1685
|
-
`,Xo=l.span`
|
|
1686
|
-
display: flex;
|
|
1687
|
-
flex-direction: column;
|
|
1688
|
-
gap: 3px;
|
|
1689
|
-
min-width: 0;
|
|
1690
|
-
`,Zo=["7d","30d","all"],Ie=8,Me=5,ts="shop.my-store.sort",ea=["sold","earned","selling","newest","name"];function ta(){try{const t=localStorage.getItem(ts);return ea.includes(t)?t:"sold"}catch{return"sold"}}function sa(t){try{localStorage.setItem(ts,t)}catch{}}function pe(t){return t==="asc"?"ascending":t==="desc"?"descending":void 0}function N(t,n){return(t==null?void 0:t.key)===n?t.dir:void 0}function na(t,n){const o=[...t];return n==="name"?o.sort((d,a)=>d.name.localeCompare(a.name)):n==="earned"?Ce(o,d=>d.earningsWei,"desc"):n==="newest"?o.sort((d,a)=>(a.createdAt??0)-(d.createdAt??0)):n==="selling"?o.sort((d,a)=>Number(d.exhausted)-Number(a.exhausted)||a.sold-d.sold||d.name.localeCompare(a.name)):o.sort((d,a)=>a.sold-d.sold||d.name.localeCompare(a.name))}function Nt(t,n,o){return ce(`/item/${t}/${n}`,o)}function ce(t,n){return n?`${t}${t.includes("?")?"&":"?"}env=${n}`:t}function oa(t,n){if(n==null)return null;const o=t.minted-n;return o>0?o:null}const aa={website:"website",twitter:"x-twitter",discord:"discord",facebook:"facebook"},We=5;function ia(t,n){if(n<=5)return Array.from({length:n},(a,h)=>h);const o=[t-1,t,t+1].filter(a=>a>0&&a<n-1),d=[0];return o[0]>1&&d.push("gap"),d.push(...o),o[o.length-1]<n-2&&d.push("gap"),d.push(n-1),d}function Ke({page:t,pages:n,onChange:o,name:d}){return n<=1?null:e.jsxs(Co,{"aria-label":r("myStore.pagination"),children:[e.jsx(Lt,{type:"button",onClick:()=>o(Math.max(0,t-1)),disabled:t===0,"aria-label":r("myStore.prev"),"data-testid":`store-${d}-prev`,children:e.jsx(O,{name:"chevron-down",size:16,"aria-hidden":!0,style:{transform:"rotate(90deg)"}})}),ia(t,n).map((a,h)=>a==="gap"?e.jsx(Io,{children:"…"},`gap-${h}`):e.jsx(Ao,{type:"button","aria-current":a===t?"page":void 0,onClick:()=>o(a),"data-testid":`store-${d}-page-${a+1}`,children:(a+1).toLocaleString()},a)),e.jsx(Lt,{type:"button",onClick:()=>o(Math.min(n-1,t+1)),disabled:t>=n-1,"aria-label":r("myStore.next"),"data-testid":`store-${d}-next`,children:e.jsx(O,{name:"chevron-down",size:16,"aria-hidden":!0,style:{transform:"rotate(-90deg)"}})})]})}function ra(t,n,o){var w,P;const d={"7d":7,"30d":30,all:null}[n],a=j.useMemo(()=>Math.floor(Date.now()/864e5)*864e5+864e5-1,[]),h=d?a-d*864e5:void 0,m=q({queryKey:["store-sales-page",t,n,o],enabled:!!t,placeholderData:z=>z,queryFn:()=>nn({seller:t,from:h},{first:We,skip:o*We})}),p=((w=m.data)==null?void 0:w.total)??0;return{rows:((P=m.data)==null?void 0:P.rows)??[],total:p,pages:Math.ceil(p/We)}}function Ot(t){return q({queryKey:["store-buyers",t],enabled:t.length>0,staleTime:5*6e4,queryFn:()=>Es(t)})}function Bt(t,n){var d;const o=(d=n==null?void 0:n.get(t.toLowerCase()))==null?void 0:d.name;return o?qt(o):Fs(t)}function la(t){return Y.previewHost&&t==="1"}const da=25000n;function ca(t){return t*da/1000000n}function V(t){const n=Number(t/10n**14n)/1e4;return n>=10?Math.round(n).toLocaleString():n.toFixed(2)}function Dt(t){const n=Math.max(1,Math.round((Date.now()-t)/6e4));if(n<60)return r("myStore.agoMinutes",{n});const o=Math.round(n/60);return o<24?r("myStore.agoHours",{n:o}):r("myStore.agoDays",{n:Math.round(o/24)})}function ha({series:t}){const n=j.useId(),o=Math.max(...t,0),d=t.length>1?92/(t.length-1):0,a=p=>o===0?27:27-p/o*22,m=t.map((p,w)=>`${(2+w*d).toFixed(1)} ${a(p).toFixed(1)}`).join(" L ");return o===0?e.jsx(vt,{viewBox:"0 0 96 30",role:"img","aria-label":r("myStore.trendNone"),children:e.jsx("path",{d:"M2 27 L94 27",fill:"none",stroke:s.colors.cardLine,strokeWidth:"2",strokeLinecap:"round"})}):e.jsxs(vt,{viewBox:"0 0 96 30",role:"img","aria-label":r("myStore.trendAria",{n:o}),children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:n,gradientUnits:"userSpaceOnUse",x1:"78.9",y1:"-19.5",x2:"35.3",y2:"40.4",children:[e.jsx("stop",{stopColor:s.colors.dclRed}),e.jsx("stop",{offset:"1",stopColor:s.colors.flareAmber})]}),e.jsxs("linearGradient",{id:`${n}-fill`,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:s.colors.dclRed,stopOpacity:"0.26"}),e.jsx("stop",{offset:"1",stopColor:s.colors.dclRed,stopOpacity:"0"})]})]}),e.jsx("path",{d:`M ${m} L 94 29 L 2 29 Z`,fill:`url(#${n}-fill)`}),e.jsx("path",{d:`M ${m}`,fill:"none",stroke:`url(#${n})`,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function pa({collection:t,discount:n,savesByKey:o,open:d,onToggle:a,onManage:h,onIssue:m,env:p}){var P,z;const w=`store-items-${t.contractAddress}`;return e.jsxs(e.Fragment,{children:[e.jsxs(Qt,{"data-testid":"store-collection","data-exhausted":t.exhausted||void 0,children:[e.jsx(to,{type:"button","aria-expanded":d,"aria-controls":w,"aria-label":r(d?"myStore.collapse":"myStore.expand",{name:t.name}),onClick:a,"data-testid":"store-collection-toggle",children:e.jsx(To,{name:"chevron-down",className:"ico","aria-hidden":!0})}),e.jsx(so,{"data-testid":"store-collection-thumb",children:e.jsx(Ls,{contractAddress:t.contractAddress})}),e.jsxs(ao,{children:[e.jsxs(oo,{children:[e.jsx(me,{to:ce(`/collection/${t.contractAddress}`,p),"data-testid":"store-collection-name",children:t.name}),t.exhausted?e.jsx(no,{"data-testid":"store-collection-soldout",children:r("myStore.collExhausted")}):null]}),e.jsxs(io,{children:[r("myStore.itemsCount",{count:t.items.length}),t.listed>0?` · ${r("myStore.listedCount",{count:t.listed})}`:"",!t.exhausted&&t.soldOut>0?` · ${r("myStore.soldOutCount",{count:t.soldOut})}`:""]})]}),e.jsx(Oo,{"data-testid":"store-collection-discount",children:n?e.jsxs(e.Fragment,{children:[e.jsxs(Bo,{children:[e.jsx(Do,{pct:n.discount/1e4}),e.jsx(Ro,{until:n.checks.expiration})]}),e.jsx(qo,{children:Us(n)?r("myStore.discountUsed",{used:((P=n.state)==null?void 0:P.uses)??0,total:n.checks.uses}):r("myStore.discountUsedUncapped",{used:((z=n.state)==null?void 0:z.uses)??0})})]}):r("myStore.noDiscountShort")}),e.jsxs(No,{"data-testid":"store-collection-claimed",children:[t.claimed.toLocaleString(),e.jsxs("small",{children:["/",t.runTotal.toLocaleString()]})]}),e.jsxs(Vo,{"data-testid":"store-collection-earned",children:[e.jsx(H,{kind:"mana"}),V(t.earningsWei)]}),e.jsx(ro,{children:e.jsx(ha,{series:t.trend})}),e.jsxs(Ko,{as:"a",href:`${Y.builderUrl}/collections${t.collectionId?`/${t.collectionId}`:""}`,target:"_blank",rel:"noopener noreferrer",onClick:h,"data-testid":"store-manage",children:[r("myStore.manage"),e.jsx(O,{name:"external-link",size:14,"aria-hidden":!0})]})]}),d?e.jsxs(lo,{id:w,"data-testid":"store-items",children:[e.jsxs(co,{"data-testid":"store-collection-stats",children:[e.jsxs("span",{children:[e.jsxs("b",{children:[e.jsx(H,{kind:"mana"}),V(t.earningsWei)]}),r("myStore.collEarned")]}),e.jsxs("span",{children:[e.jsx("b",{children:t.sold.toLocaleString()}),r("myStore.collSold")]}),e.jsxs("span",{children:[e.jsx("b",{children:t.items.length}),r("myStore.collItems",{count:t.items.length})]}),e.jsxs("span",{children:[e.jsx("b",{children:t.listed+t.classic}),r("myStore.collListed")]})]}),t.items.map(u=>{const W=oa(u,u.lifetimeSold);return e.jsxs(ho,{"data-testid":"store-item",children:[e.jsx(po,{style:{backgroundImage:Ye(u.rarity)},children:u.thumbnail?e.jsx("img",{src:u.thumbnail,alt:"",loading:"lazy"}):null}),e.jsxs(uo,{children:[e.jsx(go,{to:ce(`/item/${t.contractAddress}/${u.itemId}`,p),title:u.name,children:u.name}),e.jsxs(mo,{children:[e.jsx(fo,{style:{background:zs(u.rarity)},title:Ps(u.rarity),children:Ts(u.rarity)}),e.jsx(wo,{"data-state":u.state,children:u.state==="soldout"?null:u.state==="unlisted"?r("myStore.stateUnlisted"):u.state==="unknown"?r("myStore.stateUnknown"):e.jsxs(e.Fragment,{children:[e.jsx(jo,{children:r("myStore.onSaleFor")}),u.manaWei?e.jsxs(e.Fragment,{children:[e.jsx(H,{kind:"mana"}),V(B(u.manaWei))]}):e.jsxs(e.Fragment,{children:[e.jsx(H,{kind:"credits"}),e.jsx(_s,{credits:u.priceCredits??0})]})]})}),m&&u.left>0?e.jsx(xo,{type:"button",onClick:()=>m(u),"data-testid":"store-item-issue",children:r("myStore.issueCopies")}):null]})]}),e.jsxs(yo,{children:[u.sold.toLocaleString(),e.jsxs("small",{children:[" ",r("myStore.sold")]})]}),e.jsxs(Go,{"data-testid":"store-item-saves",title:r("myStore.savesHint",{count:o.get(u.key)??0}),children:[e.jsx(O,{name:"heart",className:"ico","aria-hidden":!0}),(o.get(u.key)??0).toLocaleString()]}),e.jsx(bo,{role:"progressbar","aria-valuemin":0,"aria-valuemax":u.minted+u.left,"aria-valuenow":u.minted,"aria-label":r("myStore.runAria",{minted:u.minted,total:u.minted+u.left}),children:e.jsx("i",{style:{width:`${Math.round(u.minted/Math.max(1,u.minted+u.left)*100)}%`}})}),e.jsxs(So,{title:u.lifetimeSold==null?void 0:r("myStore.runBreakdown",{total:u.minted+u.left,sold:u.lifetimeSold,sent:u.minted-u.lifetimeSold,left:u.left}),children:[e.jsx($o,{"data-out":u.left===0,"data-testid":"store-item-stock",children:Ht(u.left===0?"myStore.stockNone":"myStore.stockLeft",{b:F=>e.jsx("b",{children:F}),left:u.left.toLocaleString(),total:(u.minted+u.left).toLocaleString()})}),W?e.jsx(ko,{"data-testid":"store-item-issued",children:r("myStore.sentDirectly",{count:W.toLocaleString()})}):null]})]},u.key)})]}):null]})}function Ve(t){return!!t&&!(t.current===0&&t.previous===0)}function Ge({delta:t,period:n}){if(!t||t.current===0&&t.previous===0)return null;const o=n==="all"?"":r(`myStore.vs${n}`);if(t.pct===null)return e.jsxs(qe,{"data-dir":"new","data-testid":"store-delta",children:[r("myStore.deltaNew"),o?e.jsx("span",{className:"delta__against",children:o}):null]});const d=Math.round(t.pct);if(d===0)return e.jsxs(qe,{"data-dir":"flat","data-testid":"store-delta",children:[r("myStore.deltaFlat"),o?e.jsx("span",{className:"delta__against",children:o}):null]});const a=d>0,m=d>=1e3?r("myStore.deltaTimes",{times:Math.round(d/100+1).toLocaleString()}):`${Math.abs(d)}%`;return e.jsxs(qe,{"data-dir":a?"up":"down","data-testid":"store-delta","aria-label":r(a?"myStore.deltaUpAria":"myStore.deltaDownAria",{pct:m,against:o}),children:[e.jsx("span",{className:"delta__arrow","aria-hidden":!0,children:a?"▲":"▼"}),m,o?e.jsx("span",{className:"delta__against",children:o}):null]})}function ua(){return e.jsxs("div",{"data-testid":"store-skeleton","aria-hidden":!0,children:[e.jsx(Kt,{children:[0,1,2,3].map(t=>e.jsxs(X,{children:[e.jsx(b,{style:{width:"46%"}}),e.jsx(b,{style:{width:"32%",height:38}}),e.jsx(b,{style:{width:"64%",height:15}})]},t))}),e.jsxs(Z,{style:{marginTop:22},children:[e.jsxs(Ae,{children:[e.jsx(b,{style:{width:96,height:14}}),e.jsx(b,{style:{width:120}})]}),e.jsxs(Yt,{children:[e.jsxs(Gt,{"aria-hidden":!0,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx(b,{style:{width:84,height:12}}),e.jsx(b,{style:{width:74,height:12}}),e.jsx(b,{style:{width:62,height:12}}),e.jsx(b,{style:{width:68,height:12}}),e.jsx(b,{style:{width:82,height:12}}),e.jsx(b,{style:{width:60,height:12}})]}),Array.from({length:Ie},(t,n)=>e.jsxs(Qt,{children:[e.jsx("span",{}),e.jsx(Lo,{}),e.jsx(b,{style:{width:"82%",height:14}}),e.jsx(b,{style:{width:"70%",height:20}}),e.jsx(b,{style:{width:72}}),e.jsx(b,{style:{width:76}}),e.jsx(b,{style:{height:20}}),e.jsx(b,{style:{width:96,height:32,borderRadius:8}})]},n))]}),e.jsx(Wo,{as:"div",children:e.jsx(b,{style:{width:150,height:13,margin:"0 auto"}})})]}),e.jsx(Zt,{style:{marginTop:22},children:[0,1].map(t=>e.jsxs(Z,{children:[e.jsxs(Ae,{children:[e.jsx(b,{style:{width:110,height:14}}),e.jsx(b,{style:{width:80}})]}),e.jsx(Tt,{children:[0,1,2,3].map(n=>e.jsx(b,{style:{width:46,height:9}},n))}),Array.from({length:We},(n,o)=>e.jsxs(Pt,{children:[e.jsx(b,{style:{width:"38%"}}),e.jsx(b,{style:{width:"24%"}}),e.jsx(b,{style:{width:56}}),e.jsx(b,{style:{width:64}})]},o))]},t))}),e.jsxs(Z,{style:{marginTop:22},children:[e.jsxs(Ae,{children:[e.jsx(b,{style:{width:104,height:14}}),e.jsx(b,{style:{width:90}})]}),e.jsx(Tt,{children:[0,1,2,3,4].map(t=>e.jsx(b,{style:{width:46,height:9}},t))}),Array.from({length:Me},(t,n)=>e.jsxs(Pt,{children:[e.jsx(b,{style:{width:"30%"}}),e.jsx(b,{style:{width:"18%"}}),e.jsx(b,{style:{width:72,height:18}}),e.jsx(b,{style:{width:"14%"}}),e.jsx(b,{style:{width:54}})]},n))]})]})}function _a(){var mt,xt;js({title:r("myStore.title"),noindex:!0});const{session:t,error:n,signIn:o}=ks(),[d]=us(),[a,h]=j.useState("30d"),[m,p]=j.useState(()=>new Set),[w,P]=j.useState(0),[z,u]=j.useState(0),[W,F]=j.useState(!1),[_,D]=j.useState(ta),[U,ee]=j.useState(0),[L,Q]=j.useState(null),[I,te]=j.useState(null),[S,T]=j.useState(null),[A,c]=j.useState(null),g=$s(),[k,$]=j.useState(!1),v=vs(),R=Cs(),K=la(d.get("mock")),se=d.get("env"),ss=ms("/").replace(/\/$/,""),Le=i=>`${ss}${i}`,et=K;function C(i,y={}){et||Ws(i,y)}const{data:J}=As(t==null?void 0:t.address),Te=t==null?void 0:t.address,{data:ne}=Xs(Te),tt=Zs.filter(i=>ne==null?void 0:ne.links[i]),st=(xt=(mt=J==null?void 0:J.avatar)==null?void 0:mt.snapshots)==null?void 0:xt.face256,nt=J!=null&&J.name?qt(J.name):null,{stats:ns,trend:ot,savesByKey:os,saleable:at,isLoading:as,error:is}=Sn(t,a),x=K?Xe:ns,M=K?{...ot,collectors:Mn,buyers:Wn}:ot,rs=K?!1:as,ls=K?Tn:os,Pe=ra(t==null?void 0:t.address,a,z),xe=K?zn:Pe.rows,ds=j.useMemo(()=>[...new Set(xe.map(i=>i.buyer.toLowerCase()))].sort(),[xe]),{data:fe,isLoading:cs}=Ot(ds),ze=Math.max(1,Math.ceil(M.buyers.length/Me)),ge=Math.min(U,ze-1),it=j.useMemo(()=>{if(!S)return M.buyers;const i={items:y=>y.items,collections:y=>y.collections,last:y=>y.lastAt,spent:y=>y.spentWei}[S.key];return Ce(M.buyers,i,S.dir)},[M.buyers,S]),_e=j.useMemo(()=>it.slice(ge*Me,(ge+1)*Me),[it,ge]),hs=j.useMemo(()=>_e.map(i=>i.address).sort(),[_e]),{data:ye}=Ot(hs),{data:ps}=Rs(t==null?void 0:t.address,v&&!!t),rt=((x==null?void 0:x.collections)??[]).some(i=>i.exhausted),Fe=_==="selling"&&!rt?"sold":_,lt=Math.max(1,Math.ceil(((x==null?void 0:x.collections.length)??0)/Ie)),dt=j.useMemo(()=>{const i=(x==null?void 0:x.collections)??[];if(!L)return na(i,Fe);const y={name:f=>f.name,claimed:f=>f.claimed,earnings:f=>f.earningsWei,sold:f=>f.sold}[L.key];return Ce(i,y,L.dir)},[x,Fe,L]),Ee=j.useMemo(()=>{const i=hn((x==null?void 0:x.collections)??[]).map((f,E)=>({...f,rank:E+1}));if(!I)return i;const y={name:f=>f.name,collection:f=>f.collectionName,sold:f=>f.sold,earnings:f=>f.earnedWei}[I.key];return Ce(i,y,I.dir)},[x,I]);function be(i,y){const f=De(I,i,y);C("Shop Sorted Store Table",{table:"best_sellers",column:f.key,direction:f.dir}),te(f)}const we=Math.min(w,lt-1),ct=j.useMemo(()=>dt.slice(we*Ie,(we+1)*Ie),[dt,we]);if(R==="off")return e.jsx(xs,{to:"/",replace:!0});if(!t&&!K)return e.jsxs(Is,{children:[e.jsx(Ms,{testId:"my-store-signin",icon:en,title:r("myStore.signInTitle"),body:r("myStore.signInBody"),cta:{label:r("storeSettings.signIn"),onClick:()=>o()},ctaVariant:"solid",fill:!0}),e.jsx(yt,{message:n})]});const ht=K?Ln:ps,Ne=new Map;for(const i of ht??[])if(!(i.status!=="active"&&i.status!=="scheduled"))for(const y of i.collections)Ne.set(y.toLowerCase(),i);const pt=(ht??[]).filter(i=>i.status==="active"||i.status==="scheduled"),ut=a==="7d"?7:a==="30d"?30:null,Oe=((x==null?void 0:x.collections)??[]).reduce((i,y)=>i+y.items.length,0);return e.jsx(Qs,{children:e.jsx(Js,{children:e.jsxs(_n,{"data-testid":"my-store",children:[A&&t?e.jsx(Vs,{item:{contractAddress:A.contractAddress,chainId:Y.chainId,itemId:A.item.itemId,name:A.item.name,thumbnail:A.item.thumbnail,available:A.item.left},session:t,onClose:()=>{c(null),g.invalidateQueries({queryKey:["store-catalogue"]}),g.invalidateQueries({queryKey:["store-public-catalogue"]})}}):null,W&&t?e.jsx(qs,{session:t,collections:at,onClose:()=>F(!1),source:"my_store",silent:et}):null,e.jsxs(Fn,{children:[e.jsxs(En,{children:[e.jsx(On,{style:st?{backgroundImage:`url(${st})`}:void 0,"data-testid":"store-avatar","aria-hidden":!0}),e.jsxs(Nn,{children:[nt?e.jsx(Bn,{children:nt}):null,e.jsxs(Rn,{children:[e.jsx(Dn,{children:r("myStore.title")}),x?e.jsxs(jt,{children:[r("myStore.summary",{collections:x.collections.length,items:Oe}),tt.length>0?e.jsx(Kn,{"data-testid":"store-socials",children:tt.map(i=>e.jsx(Vn,{href:(ne==null?void 0:ne.links[i])??"",target:"_blank",rel:"noopener noreferrer",onClick:()=>C("Shop Clicked Store Action",{action:"social_link",link_type:i}),title:r(`creator.link.${i}`),"aria-label":r(`creator.link.${i}`),children:e.jsx(O,{name:aa[i],className:"ico","aria-hidden":!0})},i))}):null]}):e.jsx(jt,{children:e.jsx(b,{style:{width:170,background:"rgba(252, 252, 252, 0.18)",animation:"none"}})})]})]})]}),e.jsxs(qn,{children:[Te?e.jsxs(Hn,{href:Le(ce(`/items/creator/${Te}`,se)),target:"_blank",rel:"noopener noreferrer",onClick:()=>C("Shop Clicked Store Action",{action:"view_public_store"}),"data-testid":"store-view-public",children:[r("myStore.viewPublicStore"),e.jsx(O,{name:"external-link",className:"ico","aria-hidden":!0})]}):null,e.jsxs(Un,{to:ce("/store-settings",se),state:{from:"/my-store"},onClick:()=>C("Shop Clicked Store Action",{action:"edit_store"}),"data-testid":"store-edit",children:[e.jsx(O,{name:"pen",className:"ico","aria-hidden":!0}),r("myStore.editStore")]})]})]}),e.jsxs(Gn,{children:[e.jsx(Yn,{children:r("myStore.performance")}),e.jsx(Qn,{role:"group","aria-label":r("myStore.period"),children:Zo.map(i=>e.jsx(Jn,{type:"button","aria-pressed":a===i,onClick:()=>{i!==a&&C("Shop Changed Store Period",{period:i,previous_period:a}),h(i),u(0)},"data-testid":`store-period-${i}`,children:r(`myStore.period${i}`)},i))})]}),e.jsx(yt,{message:is?r("myStore.error"):null,testId:"my-store-error"}),rs||!x?e.jsx(ua,{}):e.jsxs(e.Fragment,{children:[e.jsxs(Kt,{"aria-label":r("myStore.summaryAria"),children:[e.jsxs(X,{children:[e.jsxs(ie,{children:[r("myStore.tileSold"),e.jsx(re,{"aria-hidden":!0,children:"🛍️"})]}),e.jsx(le,{children:e.jsx("span",{"data-testid":"store-sold",children:x.sold.toLocaleString()})}),e.jsxs(de,{children:[e.jsx(Ge,{delta:M.sold,period:a}),!Ve(M.sold)&&(x.sold===0?r("myStore.tileSoldNone"):x.resales===0?r("myStore.tileSoldFootMintsOnly",{mints:x.mints}):r("myStore.tileSoldFoot",{mints:x.mints,resales:x.resales}))]})]}),e.jsxs(X,{children:[e.jsxs(ie,{children:[r("myStore.tileEarnings"),e.jsx(re,{"aria-hidden":!0,children:"💰"})]}),e.jsxs(le,{children:[e.jsx(H,{kind:"mana"}),V(x.earningsWei),e.jsx(kt,{children:r("myStore.manaUnit")})]}),e.jsxs(de,{children:[e.jsx(Ge,{delta:M.earnings,period:a}),x.partial?e.jsxs(e.Fragment,{children:[e.jsx($t,{children:r("myStore.estimate")})," ",r("myStore.tileEarningsPartial")]}):Ve(M.earnings)?null:r("myStore.tileEarningsFoot")]})]}),e.jsxs(X,{children:[e.jsxs(ie,{children:[r("myStore.tileListed"),e.jsx(re,{"aria-hidden":!0,children:"🏷️"})]}),e.jsxs(le,{children:[x.listed+x.classic,e.jsx(kt,{children:r("myStore.ofTotal",{n:Oe})})]}),e.jsx(de,{children:Oe===0?r("myStore.tileListedNone"):r("myStore.tileListedFoot",{count:x.neverListed})})]}),e.jsxs(X,{children:[e.jsxs(ie,{children:[r("myStore.tileDiscounts"),e.jsx(re,{"aria-hidden":!0,children:"🔥"})]}),e.jsx(le,{"data-testid":"store-discounts",children:pt.length}),e.jsx(de,{children:pt.length>0?r("myStore.tileDiscountsFoot"):r("myStore.tileDiscountsNone")})]})]}),x.classic>0&&!k?e.jsx(Hs,{count:x.classic,reason:"discounts",to:ce("/activity?section=listings",se),onDismiss:()=>{C("Shop Clicked Store Action",{action:"dismiss_pricing_banner",classic_items:x.classic}),$(!0)},onCta:()=>C("Shop Clicked Store Action",{action:"update_prices",classic_items:x.classic})}):null,e.jsxs(Z,{"aria-labelledby":"store-coll-h",children:[e.jsxs(Ho,{children:[e.jsx(Se,{id:"store-coll-h",children:r("myStore.collectionsCount",{count:x.collections.length})}),e.jsxs(Uo,{children:[x.collections.length>1?e.jsx(Zn,{options:[{value:"sold",label:r("myStore.sortSold")},{value:"earned",label:r("myStore.sortEarned")},...rt?[{value:"selling",label:r("myStore.sortSelling")}]:[],...x.collections.some(i=>i.createdAt)?[{value:"newest",label:r("myStore.sortNewest")}]:[],{value:"name",label:r("myStore.sortName")}],value:L?void 0:Fe,placeholder:r("myStore.sortCustom"),onChange:i=>{C("Shop Sorted Store Collections",{sort:i}),D(i),Q(null),P(0),sa(i)},align:"right",ariaLabel:r("myStore.sortBy"),className:"store-sort"}):null,K||v&&t&&at.length>0?e.jsxs(Rt,{variant:"red",size:"sm",onClick:()=>F(!0),"data-testid":"store-new-discount",children:[e.jsx("span",{"aria-hidden":!0,children:"🔥"}),r("myStore.newDiscount")]}):null]})]}),x.collections.length===0?e.jsx(je,{children:r("myStore.noCollections")}):e.jsx(e.Fragment,{children:e.jsxs(Yt,{children:[e.jsxs(Gt,{children:[e.jsx("span",{}),e.jsx("span",{}),[["name",r("myStore.colCollection"),"asc"],null,["claimed",r("myStore.colClaimed"),"desc"],["earnings",r("myStore.colEarnings"),"desc"],["sold",ut?r("myStore.colTrend",{days:ut}):r("myStore.colTrendAll"),"desc"]].map((i,y)=>i?e.jsx("span",{children:e.jsx(ae,{label:i[1],dir:N(L,i[0]),testId:`store-sort-collections-${i[0]}`,onSort:()=>{const f=De(L,i[0],i[2]);C("Shop Sorted Store Table",{table:"collections",column:f.key,direction:f.dir}),Q(f),P(0)}})},i[0]):e.jsx("span",{children:r("myStore.colDiscounts")},`plain-${y}`)),e.jsx("span",{children:r("myStore.colActions")})]}),ct.map(i=>e.jsx(pa,{collection:i,discount:Ne.get(i.contractAddress)??null,savesByKey:ls,env:se,open:m.has(i.contractAddress),onToggle:()=>{m.has(i.contractAddress)||C("Shop Expanded Store Collection",{contract_address:i.contractAddress,items:i.items.length,exhausted:i.exhausted,has_discount:Ne.has(i.contractAddress)}),p(y=>{const f=new Set(y);return f.delete(i.contractAddress)||f.add(i.contractAddress),f})},onManage:()=>C("Shop Clicked Store Action",{action:"manage_collection",contract_address:i.contractAddress}),onIssue:t?y=>{C("Shop Clicked Store Action",{action:"issue_copies",contract_address:i.contractAddress}),c({item:y,contractAddress:i.contractAddress})}:void 0},i.contractAddress))]})}),x.collections.length>0?e.jsxs(Ue,{children:[e.jsxs("span",{"data-testid":"store-showing",children:[r("myStore.showingOf",{shown:ct.length.toLocaleString(),total:x.collections.length.toLocaleString()}),x.breakdownPartial?e.jsxs(e.Fragment,{children:[" · ",r("myStore.soldPartial",{n:x.fetched.toLocaleString()})]}):null]}),e.jsx(Ke,{page:we,pages:lt,onChange:i=>{C("Shop Paged Store Table",{table:"collections",page:i+1}),P(i)},name:"collections"})]}):null]}),e.jsxs(Zt,{children:[e.jsxs(Z,{"aria-labelledby":"store-best-h",children:[e.jsx(_t,{children:e.jsxs("div",{children:[e.jsx(Se,{id:"store-best-h",children:r("myStore.bestSellers")}),e.jsxs(zt,{children:[r("myStore.bestSellersSub",{n:Ee.length}),x.breakdownPartial?e.jsxs(e.Fragment,{children:[" · ",r("myStore.soldPartial",{n:x.fetched.toLocaleString()})]}):null]})]})}),Ee.length===0?e.jsx(je,{children:r("myStore.noBestSellers")}):e.jsx(Re,{children:e.jsxs(Qo,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col","aria-sort":pe(N(I,"name")),children:e.jsxs(Et,{children:[e.jsx(Ft,{"aria-hidden":!0,children:"#"}),e.jsx(ae,{label:r("myStore.colItem"),dir:N(I,"name"),testId:"store-sort-best-name",onSort:()=>be("name","asc")})]})}),e.jsx("th",{scope:"col","aria-sort":pe(N(I,"collection")),children:e.jsx(ae,{label:r("myStore.colCollection"),dir:N(I,"collection"),testId:"store-sort-best-collection",onSort:()=>be("collection","asc")})}),e.jsx("th",{scope:"col",style:{textAlign:"center"},"aria-sort":pe(N(I,"sold")),children:e.jsx(ae,{label:r("myStore.colSold"),dir:N(I,"sold"),testId:"store-sort-best-sold",onSort:()=>be("sold","desc")})}),e.jsx("th",{scope:"col",style:{textAlign:"right"},"aria-sort":pe(N(I,"earnings")),children:e.jsx(ae,{label:r("myStore.colEarnings"),dir:N(I,"earnings"),align:"right",testId:"store-sort-best-earnings",onSort:()=>be("earnings","desc")})})]})}),e.jsx("tbody",{children:Ee.map(i=>e.jsxs("tr",{"data-testid":"store-best",children:[e.jsx("td",{children:e.jsxs(Et,{children:[e.jsx(Ft,{children:i.rank}),e.jsxs(At,{as:"a",href:Le(Nt(i.contractAddress,i.itemId,se)),target:"_blank",rel:"noopener noreferrer",onClick:()=>C("Shop Clicked Store Action",{action:"open_item",table:"best_sellers",rank:i.rank}),"data-testid":"store-best-item",children:[e.jsx(It,{style:{backgroundImage:Ye(i.rarity)},children:i.thumbnail?e.jsx("img",{src:i.thumbnail,alt:"",loading:"lazy"}):null}),e.jsx("span",{children:i.name})]})]})}),e.jsx("td",{"data-dim":!0,children:i.collectionName}),e.jsx("td",{style:{textAlign:"center",fontWeight:600},"data-testid":"store-best-sold",children:i.sold.toLocaleString()}),e.jsx("td",{"data-money":!0,children:e.jsxs(He,{children:[e.jsx(H,{kind:"mana"}),V(i.earnedWei)]})})]},i.key))})]})})]}),e.jsxs(Z,{"aria-labelledby":"store-feed-h",children:[e.jsxs(_t,{children:[e.jsxs("div",{children:[e.jsx(Se,{id:"store-feed-h",children:r("myStore.recentSales")}),e.jsx(zt,{children:r("myStore.recentSalesSub")})]}),e.jsxs(Yo,{to:"/activity",onClick:()=>C("Shop Clicked Store Action",{action:"view_all_sales"}),children:[r("myStore.viewAll"),e.jsx(O,{name:"arrow-up-right",size:14,"aria-hidden":!0})]})]}),xe.length===0?e.jsx(je,{children:r("myStore.noSales")}):e.jsx(Re,{children:e.jsxs(Jo,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:r("myStore.colItem")}),e.jsx("th",{scope:"col",children:r("myStore.colCollection")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:r("myStore.colPrice")}),e.jsx("th",{scope:"col",children:r("myStore.colBuyer")}),e.jsx("th",{scope:"col",children:r("myStore.colDate")})]})}),e.jsx("tbody",{children:xe.map(i=>{var ft,gt;const y=x.collections.find(Be=>Be.contractAddress===i.contractAddress.toLowerCase()),f=y==null?void 0:y.items.find(Be=>Be.itemId===i.itemId),E=fe==null?void 0:fe.get(i.buyer.toLowerCase()),he=(gt=(ft=E==null?void 0:E.avatar)==null?void 0:ft.snapshots)==null?void 0:gt.face256;return e.jsxs("tr",{"data-testid":"store-sale",children:[e.jsx("td",{children:e.jsxs(At,{as:i.itemId?"a":"span",...i.itemId?{href:Le(Nt(i.contractAddress,i.itemId,se)),target:"_blank",rel:"noopener noreferrer",onClick:()=>C("Shop Clicked Store Action",{action:"open_item",table:"recent_sales"}),"data-testid":"store-sale-item"}:{},children:[e.jsx(It,{style:{backgroundImage:Ye(f==null?void 0:f.rarity)},children:f!=null&&f.thumbnail?e.jsx("img",{src:f.thumbnail,alt:"",loading:"lazy"}):null}),e.jsxs(Xo,{children:[e.jsx("span",{children:(f==null?void 0:f.name)??(y==null?void 0:y.name)??i.itemId??r("myStore.unknownItem")}),e.jsx(ke,{content:r("myStore.kindHint"),children:e.jsx(Mo,{"data-kind":i.type,"data-testid":"store-kind-hint",children:i.type==="mint"?r("myStore.kindMint"):r("myStore.kindResale")})})]})]})}),e.jsx("td",{"data-dim":!0,children:(y==null?void 0:y.name)??"—"}),e.jsx("td",{"data-money":!0,children:e.jsxs(He,{children:[e.jsx(H,{kind:"mana"}),V(B(i.price))]})}),e.jsx("td",{children:cs?e.jsxs(vo,{"aria-hidden":!0,children:[e.jsx("i",{}),e.jsx("b",{})]}):e.jsxs(Mt,{href:`${Y.profileUrl}/${i.buyer}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>C("Shop Clicked Store Action",{action:"open_buyer",table:"recent_sales"}),"data-testid":"store-sale-buyer",children:[e.jsx(Wt,{style:he?{backgroundImage:`url(${he})`}:void 0,"aria-hidden":!0}),Bt(i.buyer,fe)]})}),e.jsx("td",{"data-dim":!0,children:Dt(i.timestamp)})]},i.id)})})]})}),Pe.pages>1?e.jsxs(Ue,{children:[e.jsx("span",{}),e.jsx(Ke,{page:z,pages:Pe.pages,onChange:i=>{C("Shop Paged Store Table",{table:"recent_sales",page:i+1}),u(i)},name:"sales"})]}):null]})]}),e.jsxs(Po,{children:[e.jsx(zo,{id:"store-audience-h",children:r("myStore.audience")}),e.jsx(_o,{children:r("myStore.audienceSub")})]}),e.jsxs(Fo,{children:[e.jsxs(X,{children:[e.jsxs(ie,{children:[e.jsxs("span",{children:[r("myStore.tileCollectors"),e.jsx(ke,{content:r("myStore.collectorsHint"),children:e.jsx(Ct,{type:"button","aria-label":r("myStore.tileCollectors"),"data-testid":"store-collectors-hint",children:e.jsx(O,{name:"info",className:"ico","aria-hidden":!0})})})]}),e.jsx(re,{"aria-hidden":!0,children:"👥"})]}),e.jsx(le,{"data-testid":"store-collectors",children:M.collectors.total.toLocaleString()}),e.jsx(de,{children:M.collectors.total===0?r("myStore.tileCollectorsNone"):e.jsxs(e.Fragment,{children:[x.breakdownPartial?e.jsxs(e.Fragment,{children:[e.jsx($t,{children:r("myStore.estimate")})," "]}):null,M.collectors.topSharePct>=50?r("myStore.tileCollectorsConcentrated",{pct:Math.floor(M.collectors.topSharePct)}):r("myStore.tileCollectorsFoot",{repeat:M.collectors.repeat,pct:Math.round(M.collectors.repeatPct)})]})})]}),x.royalties?e.jsxs(X,{children:[e.jsxs(ie,{children:[e.jsxs("span",{children:[r("myStore.tileRoyalties"),e.jsx(ke,{content:r("myStore.royaltiesHint"),children:e.jsx(Ct,{type:"button","aria-label":r("myStore.tileRoyalties"),"data-testid":"store-royalties-hint",children:e.jsx(O,{name:"info",className:"ico","aria-hidden":!0})})})]}),e.jsx(re,{"aria-hidden":!0,children:"🔁"})]}),e.jsxs(le,{"data-testid":"store-royalties",children:[e.jsx(Xn,{children:"≈"}),e.jsx(H,{kind:"mana"}),V(ca(x.royalties.volumeWei))]}),e.jsxs(de,{children:[e.jsx(Ge,{delta:M.royalties,period:a}),Ve(M.royalties)?null:e.jsx("span",{children:Ht("myStore.tileRoyaltiesFoot",{m:i=>e.jsxs(e.Fragment,{children:[e.jsx(H,{kind:"mana"}),i]}),count:x.royalties.resales,volume:V(x.royalties.volumeWei)})})]})]}):null]}),e.jsxs(Z,{"aria-labelledby":"store-buyers-h",children:[e.jsxs(Ae,{children:[e.jsx(Se,{id:"store-buyers-h",children:r("myStore.buyers")}),e.jsx(eo,{children:r("myStore.buyersHint")})]}),M.buyers.length===0?e.jsx(je,{"data-testid":"store-buyers-none",children:r("myStore.noBuyers")}):e.jsx(Re,{children:e.jsxs(Eo,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:r("myStore.colBuyer")}),[["items",r("myStore.colItems"),"desc"],["collections",r("myStore.colCollections"),"desc"],["last",r("myStore.colLast"),"desc"],["spent",r("myStore.colSpent"),"desc"]].map(([i,y,f])=>e.jsx("th",{scope:"col",style:i==="spent"?{textAlign:"right"}:void 0,"aria-sort":pe(N(S,i)),children:e.jsx(ae,{label:y,dir:N(S,i),align:i==="spent"?"right":"left",testId:`store-sort-buyers-${i}`,onSort:()=>{const E=De(S,i,f);C("Shop Sorted Store Table",{table:"buyers",column:E.key,direction:E.dir}),T(E),ee(0)}})},i))]})}),e.jsx("tbody",{children:_e.map(i=>{var f,E,he;const y=(he=(E=(f=ye==null?void 0:ye.get(i.address))==null?void 0:f.avatar)==null?void 0:E.snapshots)==null?void 0:he.face256;return e.jsxs("tr",{"data-testid":"store-buyer",children:[e.jsx("td",{children:e.jsxs(Mt,{href:`${Y.profileUrl}/${i.address}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>C("Shop Clicked Store Action",{action:"open_buyer",table:"buyers"}),"data-testid":"store-buyer-name",children:[e.jsx(Wt,{style:y?{backgroundImage:`url(${y})`}:void 0,"aria-hidden":!0}),Bt(i.address,ye)]})}),e.jsx("td",{"data-dim":!0,children:r("myStore.buyerItems",{count:i.items})}),e.jsx("td",{"data-dim":!0,children:r("myStore.buyerCollections",{count:i.collections})}),e.jsx("td",{"data-dim":!0,children:Dt(i.lastAt)}),e.jsx("td",{"data-money":!0,children:e.jsxs(He,{children:[e.jsx(H,{kind:"mana"}),V(i.spentWei)]})})]},i.address)})})]})}),ze>1?e.jsxs(Ue,{children:[e.jsx("span",{}),e.jsx(Ke,{page:ge,pages:ze,onChange:i=>{C("Shop Paged Store Table",{table:"buyers",page:i+1}),ee(i)},name:"buyers"})]}):null]})]})]})})})}export{_a as MyStore,_a as default};
|
|
1691
|
-
//# sourceMappingURL=MyStore-D-R3YVGj.js.map
|