@dcl/shop 1.17.0 → 1.17.1
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-BDAitxSe.js → Activity-BNjXw97e.js} +4 -4
- package/_assets/{AnimatedBackground-BPT-R1_3.js → AnimatedBackground-kFDegzCM.js} +2 -2
- package/_assets/{Assets-YB3gqw7Z.js → Assets-D_dCmUv0.js} +3 -3
- package/_assets/{Cart-BZ9KDQEQ.js → Cart-BPv_4JHc.js} +2 -2
- package/_assets/{Collection-BEzvnJiR.js → Collection-2qp7F46n.js} +2 -2
- package/_assets/{CollectionCarousel-1U62GlSR.js → CollectionCarousel-CXiZiW-S.js} +3 -3
- package/_assets/{Confetti-B6oSR8ow.js → Confetti-Bsu2ytMi.js} +4 -4
- package/_assets/{ConstantsUtil-02Z98pPd.js → ConstantsUtil-czCTnHYO.js} +2 -2
- package/_assets/{ContentClient-DRKnlFG4.js → ContentClient-CIV5rrAt.js} +2 -2
- package/_assets/{Creator-CjraeJsu.js → Creator-CIH3WU3e.js} +2 -2
- package/_assets/{CreditPackPicker-BZziSdp5.js → CreditPackPicker-Cf2WXrfD.js} +2 -2
- package/_assets/{CreditRate-avuRK-jH.js → CreditRate-DjCL9hVD.js} +2 -2
- package/_assets/{DeploymentBuilder-DrZ43REI.js → DeploymentBuilder-C3NqEfXH.js} +2 -2
- package/_assets/{EmotePlaybackBar-OvE8csVB.js → EmotePlaybackBar-Bq7TckV0.js} +3 -3
- package/_assets/{ErrorNotice-DcMO5bfW.js → ErrorNotice-DSZ4YOzl.js} +2 -2
- package/_assets/{Event-C-SU8wO0.js → Event-D__OUwpc.js} +2 -2
- package/_assets/{ExchangeController-BsAWvF-z.js → ExchangeController-BlkQV8ix.js} +2 -2
- package/_assets/{Faq-CnwUusBM.js → Faq-Daw98w_f.js} +2 -2
- package/_assets/{Filters-C0GaEoyc.js → Filters-COsCKlQM.js} +2 -2
- package/_assets/{GetCredits-BMu5ywjd.js → GetCredits-uaIm_-xy.js} +2 -2
- package/_assets/{Grow-BoAIZnmF.js → Grow-nApzPG32.js} +2 -2
- package/_assets/{HelpersUtil-7BUMaLLj.js → HelpersUtil-Dhc8srsx.js} +2 -2
- package/_assets/{ItemDetail-B2CA6Efg.js → ItemDetail-big_cmBY.js} +2 -2
- package/_assets/{LoadMore-B-3r-ZWY.js → LoadMore-D8gtSgyc.js} +2 -2
- package/_assets/{ManaPricingBanner-Bo3hRH0s.js → ManaPricingBanner-CiV8R5vd.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-Cjs8YkyN.js → ManaPricingBanner.styles-BNQ_wLgO.js} +2 -2
- package/_assets/{MyAssets-nSoOwFbT.js → MyAssets-XbkBS3DE.js} +2 -2
- package/_assets/{MyFavorites-B0ZXgMrd.js → MyFavorites-lktPT4tc.js} +2 -2
- package/_assets/MyStore-SSChApNZ.js +1630 -0
- package/_assets/{NetworkUtil-8miI5YS1.js → NetworkUtil-BwvINT8v.js} +2 -2
- package/_assets/{NotFound-DS4UWKxV.js → NotFound-CIueRHHs.js} +2 -2
- package/_assets/{NotificationsBell-Bud0OzHB.js → NotificationsBell-BiwzCIb4.js} +13 -13
- package/_assets/{OutfitDetail-Cc6AzXUC.js → OutfitDetail-MDYbLLf8.js} +2 -2
- package/_assets/{OutfitPreview-B9kLHbqF.js → OutfitPreview-C52GjMv6.js} +2 -2
- package/_assets/{OutfitStudio-iccmKn9G.js → OutfitStudio-uomtfIa1.js} +2 -2
- package/_assets/{PaymentMethodStep-Crc70JXF.js → PaymentMethodStep-aQUg-E9d.js} +5 -5
- package/_assets/{SaleCountdown-tgg5rYZS.js → SaleCountdown-BC6cklIs.js} +2 -2
- package/_assets/{Spinner-BI2pnHnk.js → Spinner-NI6IZA5A.js} +2 -2
- package/_assets/{StoreSettings-CFMs82es.js → StoreSettings-BrdRpaVU.js} +2 -2
- package/_assets/{Success-BPaW4wD6.js → Success-Bsg9-DNo.js} +2 -2
- package/_assets/{SwapController-58ZQJ_1X.js → SwapController-DVbKfkaS.js} +2 -2
- package/_assets/{Tooltip-BIo3HKuG.js → Tooltip-DIRWGOxl.js} +2 -2
- package/_assets/{TradeService-Dsc1mpaP.js → TradeService-CK7xu_Fq.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-BFY4-xeW.js → W3MFrameProviderSingleton-BWvDpNTL.js} +4 -4
- package/_assets/{WebCryptoP256-CB99ORDR.js → WebCryptoP256-pa_zJ5z4.js} +2 -2
- package/_assets/{basic-CdYc4Tr0.js → basic-Mlwb1YPe.js} +2 -2
- package/_assets/{biconomy-Def1lOEm.js → biconomy-CIvkhhfY.js} +2 -2
- package/_assets/{browseLayout.styles-BXGCQFcT.js → browseLayout.styles-D3u_lxUV.js} +2 -2
- package/_assets/{browser-BX0XBm_z.js → browser-BnRQXFFw.js} +2 -2
- package/_assets/{browser-DEQDOIuL.js → browser-lYIugjhZ.js} +2 -2
- package/_assets/{browser-ponyfill-BcpGyTE-.js → browser-ponyfill-Dmn_2mUU.js} +2 -2
- package/_assets/{buy-cQMcQfO4.js → buy-MeE-N2le.js} +2 -2
- package/_assets/{buy-gasless-Csh9DBkB.js → buy-gasless-ZiYiDzb-.js} +2 -2
- package/_assets/{ccip-Zdwx5muQ.js → ccip-D2v4Tmss.js} +2 -2
- package/_assets/{ccip-BfASjPus.js → ccip-D9Kr5HJY.js} +2 -2
- package/_assets/{chains-D-cdgFrA.js → chains-CfHTI0IT.js} +2 -2
- package/_assets/collectionPage.styles-Drt5ivqQ.js +41 -0
- package/_assets/{common-BbV8rrew.js → common-BkGfzbjV.js} +2 -2
- package/_assets/{controller-BkR3R9Mg.js → controller-B1XkQ-8T.js} +3 -3
- package/_assets/{core-CBBVOAuR.js → core-8MNjsO3A.js} +5 -5
- package/_assets/{createSvgIcon-Cth-hh7l.js → createSvgIcon-BKu0ThNd.js} +3 -3
- package/_assets/{crumbs.styles-CjY4UM0w.js → crumbs.styles-IWrGqGTW.js} +2 -2
- package/_assets/{custom-BGLNayOO.js → custom-RQn4QL1O.js} +2 -2
- package/_assets/{data-capture-DhZ_XJZp.js → data-capture-BCz6ZuJe.js} +2 -2
- package/_assets/{dcl-schemas-Y9IX8NxW.js → dcl-schemas-BgQanFex.js} +2 -2
- package/_assets/{decimals-DP9STkLa.js → decimals-DQ6egFLl.js} +2 -2
- package/_assets/{decimals-DBDuI7ZW.js → decimals-Yu9nfiap.js} +2 -2
- package/_assets/{detectExtension-BmgUuh4c.js → detectExtension-mxrpMjPD.js} +2 -2
- package/_assets/{disposePreview-WF3Ir9YY.js → disposePreview-DPlzBDEC.js} +2 -2
- package/_assets/{email-s2w1RHpz.js → email-C9hzZFfn.js} +2 -2
- package/_assets/{embedded-wallet-DYdeVLuP.js → embedded-wallet-sNZ139r3.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-BtfIhtDT.js → emotion-styled.browser.esm-CFDaRZFq.js} +2 -2
- package/_assets/{engine-QJZE6lVD.js → engine-t2WwPyT-.js} +2 -2
- package/_assets/{errors-DlpQMGvm.js → errors-TvhLJhmP.js} +2 -2
- package/_assets/{estimate-l1-fee-BNoY_h3C.js → estimate-l1-fee-V6V7FI1H.js} +2 -2
- package/_assets/{eth_estimateGas-Db_JUyHC.js → eth_estimateGas-vmn477Rl.js} +2 -2
- package/_assets/{eth_getStorageAt-B2Rd3N7V.js → eth_getStorageAt-BJsh0E1g.js} +2 -2
- package/_assets/{eth_getTransactionCount-DwtFzPso.js → eth_getTransactionCount-DjYi-3h-.js} +2 -2
- package/_assets/{ethereum-BZvolZh7.js → ethereum-CtosgwHU.js} +2 -2
- package/_assets/{ethers-ONPQNu2c.js → ethers-RdXTApYJ.js} +2 -2
- package/_assets/{events-Cnxc3MZM.js → events-DcSLjVuU.js} +2 -2
- package/_assets/{execute-CwECTiFh.js → execute-Da7DgAmR.js} +3 -3
- package/_assets/{extractIPFS-RToz4ucY.js → extractIPFS-Cczu9meN.js} +2 -2
- package/_assets/{features-BrF65X9Z.js → features-C_bdmaJE.js} +2 -2
- package/_assets/{fetchTokenMetadata-Cu8uhPp4.js → fetchTokenMetadata-7Kgsjbv4.js} +3 -3
- package/_assets/{field.styles-UoeOVVP4.js → field.styles-DDXjryam.js} +2 -2
- package/_assets/{fortmatic-DBQqmc33.js → fortmatic-BPBqqvfl.js} +2 -2
- package/_assets/{get-bytecode-B20_NVYR.js → get-bytecode-Bbw_Evod.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-DvpaDCXi.js → get-ecosystem-wallet-info-81lpLPU_.js} +2 -2
- package/_assets/{getBalance-BguIrnfm.js → getBalance-BgqMuvIf.js} +3 -3
- package/_assets/{getInstalledModules-CMJOAhYg.js → getInstalledModules-W4RDd7ik.js} +2 -2
- package/_assets/{getNFT-CRKHqATA.js → getNFT-BDhkq7kr.js} +3 -3
- package/_assets/{getNFT-ZEWnX77c.js → getNFT-anMIImQh.js} +2 -2
- package/_assets/{grid.styles-DRazCZQg.js → grid.styles-D--qOwVq.js} +2 -2
- package/_assets/{hashTypedData-DDHunTFS.js → hashTypedData-CUDRpwju.js} +2 -2
- package/_assets/{hashTypedData-CClBb_wd.js → hashTypedData-CiWRFQn6.js} +2 -2
- package/_assets/{import-Bkwnueek.js → import-CIZWEISk.js} +2 -2
- package/_assets/{in-app-xzDTDYAB.js → in-app-BbIysh8c.js} +2 -2
- package/_assets/{in-app-wallet-calls-BHr5SLHB.js → in-app-wallet-calls-BgxC18Ff.js} +2 -2
- package/_assets/{index-nl-8F_9V.js → index--yUfiOex.js} +2 -2
- package/_assets/{index-DC_HuNwa.js → index-8wQks0w8.js} +2 -2
- package/_assets/{index-CEjaVDS2.js → index-962zUKU_.js} +2 -2
- package/_assets/{index-Dn_v-4rQ.js → index-B-gdbRSW.js} +2 -2
- package/_assets/{index-CNNwz-Ox.js → index-B1OJuolS.js} +2 -2
- package/_assets/{index-z-rJW2w2.js → index-B49OLLy1.js} +2 -2
- package/_assets/{index-f4XVR9Vu.js → index-B6895neV.js} +2 -2
- package/_assets/{index-cMdIwdPB.js → index-BDdcoEFU.js} +4 -4
- package/_assets/{index-Cf-K62h6.js → index-BGZlLdrL.js} +2 -2
- package/_assets/{index-BGie1ELm.js → index-BIAEBlSw.js} +2 -2
- package/_assets/{index-BPl_k_Km.js → index-BJvtfv1M.js} +2 -2
- package/_assets/{index-DYJorIz7.js → index-BKGo_9wu.js} +2 -2
- package/_assets/{index-CzcXqzFr.js → index-BMjX5Tw6.js} +2 -2
- package/_assets/{index-CF2NCCCk.js → index-BNn-tbAt.js} +2 -2
- package/_assets/{index-BRXP99SA.js → index-BRWjazWI.js} +2 -2
- package/_assets/{index-PWMb6ZOe.js → index-Bc7EMqAf.js} +2 -2
- package/_assets/{index-D-MsTKOF.js → index-BeH18kmv.js} +2 -2
- package/_assets/{index-DZCebOSV.js → index-BhGdGiCs.js} +3 -3
- package/_assets/{index-ZFip7Qm5.js → index-BhhO1oEp.js} +2 -2
- package/_assets/{index-iFqEqotN.js → index-BlG9tYXl.js} +2 -2
- package/_assets/{index-C_6_qdE8.js → index-BmsamR4M.js} +2 -2
- package/_assets/{index-xUBXenIa.js → index-Bs_f3yhf.js} +2 -2
- package/_assets/{index-Dd4SOtlb.js → index-Bsw53nId.js} +2 -2
- package/_assets/{index-B8vpG_ve.js → index-BwKvHJ-v.js} +2 -2
- package/_assets/{index-B_9tW51r.js → index-C0EB4Nb3.js} +13 -13
- package/_assets/{index-BAVmy8GP.js → index-C5s2ci0r.js} +2 -2
- package/_assets/{index-CAxBC1Uk.js → index-CFBOIeXE.js} +2 -2
- package/_assets/{index-vqD571_k.js → index-CM4FAtZl.js} +2 -2
- package/_assets/{index-C2ljwN3_.js → index-CSZAw8dC.js} +2 -2
- package/_assets/{index-CvYhbyB3.js → index-CZEYeX3l.js} +2 -2
- package/_assets/{index-D0TO84Sb.js → index-CeM8omfX.js} +2 -2
- package/_assets/{index-CiAs8gu-.js → index-Cf6ERmsZ.js} +2 -2
- package/_assets/{index-ClZwHZ-1.js → index-CjuTKXut.js} +2 -2
- package/_assets/{index-DcsfuUaQ.js → index-ClIQf3ng.js} +2 -2
- package/_assets/{index-CDDb8L2e.js → index-Cq62ZdRW.js} +3 -3
- package/_assets/{index-C9Pokjg9.js → index-CtSgRzsY.js} +2 -2
- package/_assets/{index-D7hI7QCB.js → index-CvR8He0C.js} +2 -2
- package/_assets/{index-etSO6k1-.js → index-CwCEh7Ea.js} +2 -2
- package/_assets/{index-DWq9lH-h.js → index-Cw_s9pOw.js} +2 -2
- package/_assets/{index-CvCN2utU.js → index-D1S8t2fe.js} +2 -2
- package/_assets/{index-C38zM6xC.js → index-D22FRuvW.js} +2 -2
- package/_assets/{index-BVNHdowJ.js → index-DAysx568.js} +2 -2
- package/_assets/{index-Cq3MUpHI.js → index-DCdW2yi4.js} +4 -4
- package/_assets/{index-D0rhkQNM.js → index-DFQS58XE.js} +3 -3
- package/_assets/{index-r7YKLeOf.js → index-DO6ydGXX.js} +2 -2
- package/_assets/{index-BNCZbOa3.js → index-DOn0iodU.js} +2 -2
- package/_assets/{index-DSdsqACJ.js → index-DQS3Dydb.js} +2 -2
- package/_assets/{index-RQBaPhZZ.js → index-DTVY5scD.js} +2 -2
- package/_assets/{index-MYKbwgBa.js → index-DTWx6T1S.js} +2 -2
- package/_assets/{index-CZH9YSNz.js → index-DU6vOlyL.js} +2 -2
- package/_assets/{index-CCAaQhfo.js → index-DZEeeDQr.js} +2 -2
- package/_assets/{index-CPY0doEH.js → index-DfOPi5vf.js} +4 -4
- package/_assets/{index-DbEF7rCT.js → index-Dkohypnm.js} +4 -4
- package/_assets/{index-BR5nZSJU.css → index-DoXX6TgS.css} +1 -1
- package/_assets/{index-ClZTLO9x.js → index-Dxfnkqq4.js} +2 -2
- package/_assets/{index-C6vFwLXO.js → index-Dz8UCy0P.js} +2 -2
- package/_assets/{index-B2_RriIz.js → index-DzyghasH.js} +2 -2
- package/_assets/{index-BroiUjH-.js → index-FfTM_1mz.js} +2 -2
- package/_assets/{index-D-4tfRXD.js → index-GCKJ9yxg.js} +3 -3
- package/_assets/{index-CerWtNQP.js → index-M4vJyniz.js} +2 -2
- package/_assets/{index-BwlQgcnw.js → index-OhRAcbHT.js} +3 -3
- package/_assets/{index-qMZBZipv.js → index-Zum9uUGy.js} +2 -2
- package/_assets/{index-Ycu1Efd5.js → index-_bcedLK5.js} +2 -2
- package/_assets/{index-DoUCGGIP.js → index-cGB6nHYf.js} +2 -2
- package/_assets/{index-CpCYnuUf.js → index-hLoLHUKV.js} +2 -2
- package/_assets/{index-6tB-8D8d.js → index-lQ2m7yUy.js} +2 -2
- package/_assets/{index-W9y3B94r.js → index-qrz6WiaK.js} +2 -2
- package/_assets/{index-lppz8g54.js → index-wOPFghKT.js} +2 -2
- package/_assets/{index.es-D45aSNIr.js → index.es-BirWIv1k.js} +2 -2
- package/_assets/{index.es-CYA-RWHm.js → index.es-C1YwoJJN.js} +2 -2
- package/_assets/{index.es-BmLJs4Sf.js → index.es-O8xfjyk3.js} +5 -5
- package/_assets/{index.es-Dm5j7t68.js → index.es-YMSgumSf.js} +2 -2
- package/_assets/{items-empty-C-EnJrLW.js → items-empty-BciJH2B_.js} +2 -2
- package/_assets/{jump-Br9Dsy87.js → jump-DddgnPSC.js} +2 -2
- package/_assets/{linkAccount-cYB7T4Tv.js → linkAccount-CHDe6wUT.js} +2 -2
- package/_assets/{loader-logo-D6wRaebi.js → loader-logo-ChNoWI1Z.js} +2 -2
- package/_assets/{localBatchGatewayRequest-COaaXHV3.js → localBatchGatewayRequest-tSt38JDm.js} +2 -2
- package/_assets/{modal.styles-CLWgiYOt.js → modal.styles-BPDABQCr.js} +2 -2
- package/_assets/{native-D0UXnlN2.js → native-Cxh3QIKd.js} +2 -2
- package/_assets/{networks-DOfb9fnb.js → networks-rNqzEIu1.js} +2 -2
- package/_assets/{onramp-DuzeTgkJ.js → onramp-Cjb0y_EX.js} +2 -2
- package/_assets/{openzeppelin-BYeG61g_.js → openzeppelin-Dbgk07uO.js} +2 -2
- package/_assets/{ownerOf-iXYBoNOp.js → ownerOf-ifwSx1wQ.js} +2 -2
- package/_assets/{parseNft-CFjAUYrS.js → parseNft-BgX116P8.js} +3 -3
- package/_assets/{parseSignature-Bz44eKqN.js → parseSignature-B3jn_FVR.js} +4 -4
- package/_assets/{parseSignature-DhzqF-CI.js → parseSignature-Cjx-94kV.js} +2 -2
- package/_assets/{passkeys-DmPYPC4_.js → passkeys-C14r7a1U.js} +2 -2
- package/_assets/{pay-with-exchange-DgE3ADUi.js → pay-with-exchange-BoqePTss.js} +2 -2
- package/_assets/{prepare-contract-call-UX6BV4kX.js → prepare-contract-call-CVD1LMqZ.js} +2 -2
- package/_assets/{qr-overlay-BK6W2N1n.js → qr-overlay-BaF8O6L7.js} +4 -4
- package/_assets/{react-C7jFYDiK.js → react-57wE9FMW.js} +2 -2
- package/_assets/{receive-BPZlHFZz.js → receive-_KdL5WbJ.js} +2 -2
- package/_assets/{resolveImplementation-CBX9bsBq.js → resolveImplementation-BIVOA86N.js} +2 -2
- package/_assets/{resume-buy-CF_A677G.js → resume-buy-RWKNCH2I.js} +2 -2
- package/_assets/{resume-name-DRIQjZDI.js → resume-name-CVkpKZkm.js} +2 -2
- package/_assets/{rpc-CjoJTeFs.js → rpc-BuxGvW8N.js} +2 -2
- package/_assets/{sales-empty-CCIeKhF8.js → sales-empty-BrdJIpZF.js} +2 -2
- package/_assets/{search-empty-Cv-A-bGM.js → search-empty-B9EfPE1P.js} +2 -2
- package/_assets/{secp256k1-3HnIIFaB.js → secp256k1-C3mpZkpr.js} +2 -2
- package/_assets/{secp256k1-H9BOWccb.js → secp256k1-D98PKoK-.js} +2 -2
- package/_assets/{secp256k1-BC23J6L7.js → secp256k1-DtCcUzXl.js} +2 -2
- package/_assets/{send-BvvSZGqL.js → send-CPee34BT.js} +2 -2
- package/_assets/{send-batch-transaction-DWd-4a-P.js → send-batch-transaction-CRYeO2Ew.js} +2 -2
- package/_assets/{send-eip712-transaction-CV3wA8Tg.js → send-eip712-transaction-DmUbX1xf.js} +3 -3
- package/_assets/{send-gasless-transaction-CL7pL7R6.js → send-gasless-transaction-Cl9L9F1A.js} +3 -3
- package/_assets/{send-transaction-BCsU6ARj.js → send-transaction-CydyNIuj.js} +3 -3
- package/_assets/{sendMetaTransaction-BYS3mpcN.js → sendMetaTransaction-B7N-qRfh.js} +2 -2
- package/_assets/{sendRawTransaction-Ddvz0FY1.js → sendRawTransaction-DAT5LyNo.js} +4 -4
- package/_assets/{sentry-D0Tn9ys9.js → sentry-C6Mao8WI.js} +3 -3
- package/_assets/{serializeTransaction-D8NuHg0X.js → serializeTransaction-CjRJ0psk.js} +2 -2
- package/_assets/{session-proposal-BqkEkhl4.js → session-proposal-ueoRTwfB.js} +2 -2
- package/_assets/{session-request-CGDqRcgz.js → session-request-BD9TXTaA.js} +3 -3
- package/_assets/{sha256-eeK7AQj_.js → sha256-DbvztKVh.js} +2 -2
- package/_assets/{sha3-xnrXfD_X.js → sha3-5JMjwcQn.js} +2 -2
- package/_assets/signin-empty-Duq453f-.js +2 -0
- package/_assets/{signing-COt_6P6-.js → signing-D8djUTSU.js} +4 -4
- package/_assets/{skeleton.styles-BIRzF96I.js → skeleton.styles-Bvaum8jS.js} +2 -2
- package/_assets/{socials-FBZ8ufY2.js → socials-NQn6q4he.js} +2 -2
- package/_assets/{styled-D5armwdx.js → styled-CCNK0K71.js} +3 -3
- package/_assets/{swaps-BUkp_a-D.js → swaps-CgWjr3x_.js} +2 -2
- package/_assets/{thirdweb-Gp2Qqqv-.js → thirdweb-C1alV0QS.js} +4 -4
- package/_assets/{to-serializable-transaction-Dqzq4pvb.js → to-serializable-transaction-BKQS5d49.js} +3 -3
- package/_assets/{totalSupply-CuUUGFEf.js → totalSupply-CF5FI8lQ.js} +2 -2
- package/_assets/{trade-encoding-BULjvT7g.js → trade-encoding-BV1_7YxJ.js} +2 -2
- package/_assets/{transaction-BO1gVZ_X.js → transaction-BVLpkah4.js} +2 -2
- package/_assets/{transactionReceipt-BB3i5pIg.js → transactionReceipt-DwjBLtBg.js} +2 -2
- package/_assets/{transactions-C_RN2bX3.js → transactions-DW_nxFG-.js} +2 -2
- package/_assets/{useInfiniteGrid-DvFwlZIH.js → useInfiniteGrid-CbPWAhDP.js} +2 -2
- package/_assets/{useStore-pA_MeHwI.js → useStore-CJ2zzclt.js} +3 -3
- package/_assets/{useTheme-B3x14PSR.js → useTheme-D3lC36b8.js} +2 -2
- package/_assets/{utils-D_pHR6O7.js → utils-DyoF2n1_.js} +2 -2
- package/_assets/{verifyHash-BQhqA-8D.js → verifyHash-D_k8MOkd.js} +2 -2
- package/_assets/{w3m-modal-8HO4zh7L.js → w3m-modal-BwPY12eH.js} +2 -2
- package/_assets/{w3m-modal-CL7Ujenr.js → w3m-modal-CIfTlIpr.js} +2 -2
- package/_assets/{wait-for-tx-receipt-CPO1Z8xR.js → wait-for-tx-receipt-BQf97Yv5.js} +2 -2
- package/_assets/{wallets-Da574xT5.js → wallets-Cor67NYq.js} +6 -6
- package/_assets/{web-connector-Cwgma0GW.js → web-connector-AUtPfxac.js} +4 -4
- package/_assets/{writeContract-Dv21cURn.js → writeContract-_6z0Fw9c.js} +2 -2
- package/_assets/{zora-sepolia-9LItxCQr.js → zora-sepolia-DFxo1Oif.js} +2 -2
- package/_assets/{zoraTestnet-J8T9VM84.js → zoraTestnet-B4Lgrc00.js} +2 -2
- package/index.html +12 -12
- package/package.json +2 -2
- package/_assets/MyStore-DfX_q7UW.js +0 -1630
- package/_assets/collectionPage.styles-DEV__sk3.js +0 -41
- package/_assets/signin-empty-BhQynyYC.js +0 -2
|
@@ -1,1630 +0,0 @@
|
|
|
1
|
-
import{r as $,j as e,L as ie,u as Qt,f as Jt,N as Zt}from"./react-C7jFYDiK.js";import{c as te,w as B,ci as Xt,cj as es,s as r,t as i,z as ts,a as t,I as _,ca as ss,H as Ct,B as ns,x as os,cc as as,ck as is,a3 as rs,aE as At,aH as ls,$ as ds,cl as _e,cm as It,O as cs,c9 as hs,av as ps,aw as ms,ax as us,as as xs,bO as fs,cn as gs}from"./index-B_9tW51r.js";import{f as ys,S as bs}from"./SaleCountdown-tgg5rYZS.js";import{t as ws,u as js,C as Ss,M as ks,i as $s}from"./ManaPricingBanner-Bo3hRH0s.js";import{T as ue}from"./Tooltip-BIo3HKuG.js";import{m as vs}from"./mana-matic-CEqvSwrJ.js";import{E as st}from"./ErrorNotice-DcMO5bfW.js";import{u as Cs,L as As}from"./useStore-pA_MeHwI.js";import{s as Is}from"./signin-empty-BhQynyYC.js";import{g as Ws,R as Ms,M as Ls}from"./browseLayout.styles-BXGCQFcT.js";import"./dcl-schemas-Y9IX8NxW.js";import"./sentry-D0Tn9ys9.js";import"./ethers-ONPQNu2c.js";import"./intl-AKLEHPeO.js";import"./errors-DlpQMGvm.js";import"./sha3-xnrXfD_X.js";import"./browser-BX0XBm_z.js";import"./trade-encoding-BULjvT7g.js";import"./sendMetaTransaction-BYS3mpcN.js";import"./ManaPricingBanner.styles-Cjs8YkyN.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new s.Error().stack;n&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[n]="fcf474fe-d2d1-4009-b6ec-079db6376c43",s._sentryDebugIdIdentifier="sentry-dbid-fcf474fe-d2d1-4009-b6ec-079db6376c43")}catch{}})();function F(s){try{return BigInt(s||"0")}catch{return 0n}}async function nt(s){var a;const n=new URLSearchParams({seller:s.seller});s.from!=null&&n.set("from",String(s.from)),s.to!=null&&n.set("to",String(s.to));const o=await fetch(`${te.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:l}=await o.json();return l}function Ts(s){const n=new URLSearchParams;return s.seller&&n.set("seller",s.seller),s.contractAddress&&n.set("contractAddress",s.contractAddress),s.itemId!=null&&n.set("itemId",s.itemId),s.type&&n.set("type",s.type),s.from!=null&&n.set("from",String(s.from)),s.to!=null&&n.set("to",String(s.to)),n.set("first",String(s.first??100)),s.skip&&n.set("skip",String(s.skip)),n.set("sortBy","recently_sold"),n}async function Ne(s){var l;const n=await fetch(`${te.marketplaceServerUrl}/v1/sales?${Ts(s).toString()}`);if(!n.ok)throw await((l=n.body)==null?void 0:l.cancel()),new Error(`fetchSales ${n.status}`);const o=await n.json();return{data:o.data??[],total:o.total??0}}async function zs(s){const{total:n}=await Ne({...s,first:1});return n}async function Ps(s,{first:n,skip:o}){const{data:l,total:a}=await Ne({...s,first:n,skip:o});return{rows:l,total:a}}async function _s(s,{cap:n=5e3}={}){const l=[];let a=0;for(let u=0;u<n;u+=1e3){const x=Math.min(1e3,n-u),p=await Ne({...s,first:x,skip:u});if(a=p.total,l.push(...p.data),p.data.length<x||l.length>=a)break}return{rows:l,total:a,truncated:a>l.length}}const Fs=864e5;function ot(s,n){return{current:s,previous:n,pct:n===0?null:(s-n)/n*100}}function Ns(s,n){const o=n===0n?null:Number((s-n)*10000n/n)/100;return{current:Number(s),previous:Number(n),pct:o}}function Es(s,n=3){var x;const o=s.filter(Wt),l=new Map;for(const p of o){const w=p.buyer.toLowerCase();l.set(w,(l.get(w)??0)+1)}const a=[...l.entries()].sort((p,w)=>w[1]-p[1]||p[0].localeCompare(w[0])),u=a.filter(([,p])=>p>1).length;return{total:a.length,repeat:u,repeatPct:a.length===0?0:u/a.length*100,topSharePct:o.length===0?0:(((x=a[0])==null?void 0:x[1])??0)/o.length*100,top:a.slice(0,n).map(([p,w])=>({address:p,bought:w}))}}function Wt(s){return s.type==="mint"&&s.itemId!=null}function Ds(s,n){const o=s.filter(Wt),l=new Map;for(const a of o){const u=a.buyer.toLowerCase(),x=a.contractAddress.toLowerCase(),p=l.get(u)??{bought:0,items:new Set,collections:new Set,spentWei:0n,lastAt:0};p.bought+=1,p.items.add(`${x}-${a.itemId}`),p.collections.add(x),p.spentWei+=F(a.price),a.timestamp>p.lastAt&&(p.lastAt=a.timestamp),l.set(u,p)}return[...l.entries()].map(([a,u])=>({address:a,bought:u.bought,items:u.items.size,collections:u.collections.size,spentWei:u.spentWei,lastAt:u.lastAt})).sort((a,u)=>u.spentWei>a.spentWei?1:u.spentWei<a.spentWei?-1:u.bought-a.bought).slice(0,n)}function Os(s,n){if(s.length===0)return null;const o=s.reduce((l,a)=>a.timestamp>l?a.timestamp:l,0);return Math.max(0,Math.floor((n-o)/Fs))}function Bs(s,n=5){return s.flatMap(o=>o.items.filter(l=>l.sold>0).map(l=>({key:l.key,contractAddress:o.contractAddress,itemId:l.itemId,name:l.name,thumbnail:l.thumbnail,rarity:l.rarity,collectionName:o.name,sold:l.sold,earnedWei:l.earnedWei}))).sort((o,l)=>l.sold-o.sold||(l.earnedWei>o.earnedWei?1:l.earnedWei<o.earnedWei?-1:0)||o.name.localeCompare(l.name)).slice(0,n)}const Fe=864e5,xe=14;function Rs(s,n,o){const l=new Array(xe).fill(0),a=o-n*Fe,u=n*Fe/xe;for(const x of s)x.timestamp<a||x.timestamp>o||(l[Math.min(xe-1,Math.floor((x.timestamp-a)/u))]+=1);return l}function Hs({rows:s,total:n,truncated:o,mints:l,summary:a,catalogue:u,saleState:x,unreadable:p,days:w,now:T}){const h=new Map,z=new Map,v=new Map;for(const c of s){if(c.type!=="mint"||c.itemId==null)continue;const f=c.contractAddress.toLowerCase(),g=`${f}-${c.itemId}`;h.set(g,(h.get(g)??0)+1),z.set(g,(z.get(g)??0n)+F(c.price));const j=v.get(f)??[];j.push(c),v.set(f,j)}const N=s.reduce((c,f)=>f.timestamp<c?f.timestamp:c,T),E=Math.max(1,Math.ceil((T-N)/Fe)),K=w!=null&&!o?w:Math.max(w==null?xe:1,E),se=new Map(((a==null?void 0:a.byItem)??[]).map(c=>[`${c.contractAddress.toLowerCase()}-${c.itemId}`,c.soldLifetime])),ne=new Map(((a==null?void 0:a.byCollection)??[]).map(c=>[c.contractAddress.toLowerCase(),c])),D=new Map;let V=0,A=0,L=0,S=0,y=0;for(const c of u){const f=c.contractAddress.toLowerCase(),g=x[`${c.contractAddress}-${c.blockchainItemId}`],j=c.remainingSupply<=0?"soldout":p!=null&&p.has(f)?"unknown":g!=null&&g.isOnSale?g.manaWei?"classic":"discounted":"unlisted";j==="soldout"?S+=1:j==="unlisted"?y+=1:j==="classic"?L+=1:j==="discounted"&&(A+=1);const C=D.get(f)??{contractAddress:f,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},M=h.get(`${f}-${c.blockchainItemId}`)??0;C.items.push({key:`${f}-${c.blockchainItemId}`,itemId:c.blockchainItemId,name:c.name,thumbnail:c.thumbnail,rarity:c.rarity,left:c.remainingSupply,minted:c.totalSupply,sold:M,earnedWei:z.get(`${f}-${c.blockchainItemId}`)??0n,lifetimeSold:se.get(`${f}-${c.blockchainItemId}`)??null,priceCredits:(g==null?void 0:g.priceCredits)??null,manaWei:(g==null?void 0:g.manaWei)??null,createdAt:c.createdAt??null,state:j}),C.sold+=M,C.claimed+=c.totalSupply,C.runTotal+=c.totalSupply+c.remainingSupply,V+=M,c.createdAt&&(C.createdAt==null||c.createdAt>C.createdAt)&&(C.createdAt=c.createdAt),j==="soldout"?C.soldOut+=1:j==="classic"?C.classic+=1:j==="discounted"&&(C.listed+=1),D.set(f,C)}for(const[c,f]of D){const g=v.get(c)??[],j=ne.get(c);f.earningsWei=j?F(j.earnedWei):g.reduce((C,M)=>C+F(M.price),0n),j&&(f.sold=j.sold),f.trend=Rs(g,K,T),f.exhausted=f.items.length>0&&f.soldOut===f.items.length,f.items.sort((C,M)=>M.sold-C.sold||C.name.localeCompare(M.name))}const P=[...D.values()].reduce((c,f)=>c+f.sold,0);return{collections:[...D.values()].sort((c,f)=>f.sold-c.sold||c.name.localeCompare(f.name)),sold:(a==null?void 0:a.total)??n,mints:(a==null?void 0:a.mints)??l,resales:a?a.resales:n-l,earningsWei:a?F(a.earnedWei):s.reduce((c,f)=>c+F(f.price),0n),partial:a?!1:o,breakdownPartial:o,fetched:s.length,unattributed:a?a.total-P:s.length-V,trendDays:K,unknownCollections:[...D.keys()].filter(c=>p==null?void 0:p.has(c)).length,royalties:a?{resales:a.royalties.resales,volumeWei:F(a.royalties.volumeWei)}:null,listed:A,neverListed:y,classic:L,soldOut:S}}const qs=new Map,G=864e5,Us={"7d":7,"30d":30,all:null};function Ks(s,n){const o=s==null?void 0:s.address,l=Us[n],a=$.useMemo(()=>Math.floor(Date.now()/G)*G+G-1,[]),u=l?a-l*G:void 0,x=B({queryKey:["store-sales",o,n],enabled:!!o,queryFn:()=>_s({seller:o,from:u})}),p=B({queryKey:["store-summary",o,n],enabled:!!o,queryFn:()=>nt({seller:o,from:u})}),w=l!=null?a-2*l*G:void 0,T=l!=null?a-l*G:void 0,h=B({queryKey:["store-summary-previous",o,n],enabled:!!o&&w!==void 0,queryFn:()=>nt({seller:o,from:w,to:T})}),z=B({queryKey:["store-mints",o,n],enabled:!!o,queryFn:()=>zs({seller:o,from:u,type:"mint"})}),v=B({queryKey:["store-catalogue",o],enabled:!!o&&!!s,queryFn:()=>ys(o,s.identity,{includeSoldOut:!0})}),N=$.useMemo(()=>[...new Set((v.data??[]).map(A=>A.contractAddress))],[v.data]),E=B({queryKey:["store-sale-state",o,N],enabled:N.length>0,queryFn:async()=>{const A=await Promise.allSettled(N.map(y=>Xt(y))),L={},S=new Set;return A.forEach((y,P)=>{const c=N[P];if(y.status==="rejected"){S.add(c.toLowerCase());return}for(const[f,g]of Object.entries(y.value))L[`${c}-${f}`]=g}),{states:L,unreadable:S}}}),K=B({queryKey:["store-saves",N,(v.data??[]).length],enabled:(v.data??[]).length>0,queryFn:async()=>{const A=(v.data??[]).map(y=>`${y.contractAddress.toLowerCase()}-${y.blockchainItemId}`),L=await Promise.allSettled(A.map(async y=>[y,(await es(y)).count])),S=new Map;for(const y of L)y.status==="fulfilled"&&S.set(y.value[0],y.value[1]);return S}}),se=$.useMemo(()=>{var A,L,S,y,P;return v.data?Hs({rows:((A=x.data)==null?void 0:A.rows)??[],total:((L=x.data)==null?void 0:L.total)??0,truncated:!!((S=x.data)!=null&&S.truncated),mints:z.data??0,summary:p.data??null,catalogue:v.data,saleState:((y=E.data)==null?void 0:y.states)??{},unreadable:(P=E.data)==null?void 0:P.unreadable,days:l,now:a}):null},[v.data,x.data,z.data,p.data,E.data,l,a]),ne=$.useMemo(()=>{var A;return ws(v.data??[],(A=E.data)==null?void 0:A.states)},[v.data,E.data]),D=$.useMemo(()=>{var P,c,f;const A=Es(((P=x.data)==null?void 0:P.rows)??[]),L=Ds(((c=x.data)==null?void 0:c.rows)??[]),S=Os(((f=x.data)==null?void 0:f.rows)??[],a),y=h.data;return{collectors:A,buyers:L,quietDays:S,sold:y&&p.data?ot(p.data.total,y.total):null,earnings:y&&p.data?Ns(F(p.data.earnedWei),F(y.earnedWei)):null,royalties:y&&p.data?ot(p.data.royalties.resales,y.royalties.resales):null}},[x.data,p.data,h.data,a]),V=K.data??qs;return{stats:se,trend:D,savesByKey:V,saleable:ne,isLoading:v.isLoading||x.isLoading||p.isLoading,error:v.error??x.error??null}}const Vs=r.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 O({kind:s,className:n}){const o=s==="mana"?i("currency.polygonMana"):i("currency.credits");return e.jsx(ue,{content:o,children:e.jsx(Vs,{className:n,"aria-label":o,role:"img","data-kind":s,children:s==="mana"?e.jsx("img",{src:vs,alt:"","aria-hidden":!0}):e.jsx(ts,{className:"ccy-mark"})})})}const ae=864e5,H=Date.now(),Ys=(s,n,o,l,a)=>({key:`0xmock${s}-${s}`,itemId:String(s),name:n,thumbnail:"",rarity:["epic","legendary","rare","mythic","unique"][s%5],left:l-o,minted:o,sold:Math.round(o/6),earnedWei:BigInt(Math.round(o/6)*(3+s%5))*10n**18n,lifetimeSold:o,priceCredits:a==="classic"?null:20+s*5,manaWei:a==="classic"?"5000000000000000000":null,createdAt:H-s*11*ae,state:a}),Gs=[[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]],Qs=[{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 Js(s,n){const o=s.items.map(([a,u,x,p],w)=>Ys(n*10+w,a,u,x,p)),l=o.reduce((a,u)=>a+u.minted,0);return{contractAddress:`0xmock${n.toString().padStart(36,"0")}`,collectionId:`mock-${n}`,name:s.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:s.sold,earningsWei:BigInt(s.earnings)*10n**18n,createdAt:H-n*30*ae,trend:Gs[s.trend],claimed:l,runTotal:o.reduce((a,u)=>a+u.minted+u.left,0),exhausted:o.length>0&&o.every(a=>a.state==="soldout")}}const Ee=(()=>{const s=Qs.map(Js);return{collections:s,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:s.reduce((n,o)=>n+o.listed,0),neverListed:s.reduce((n,o)=>n+o.items.filter(l=>l.state==="unlisted").length,0),classic:s.reduce((n,o)=>n+o.classic,0),soldOut:s.reduce((n,o)=>n+o.soldOut,0)}})(),Zs={total:74,repeat:29,repeatPct:39.19,topSharePct:21.3},Xs=Array.from({length:12},(s,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:H-(n+1)*9*36e5})),at=(s,n,o,l,a,u)=>({id:`mock-coupon-${s}`,signer:"0xmockcreator0000000000000000000000000001",chainId:137,network:"MATIC",checks:{uses:50,expiration:H+a,effective:H-l,salt:`0x${s.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:H-l,state:{uses:u,cancelled:!1,revoked:!1,checkedAt:H},status:"active"}),en=[at(1,`0xmock${"0".repeat(36)}`,25,3*ae,3*ae,18),at(2,`0xmock${"1".padStart(36,"0")}`,15,12*36e5,9*ae,0)],tn=new Map(Ee.collections.flatMap(s=>s.items.map((n,o)=>[n.key,[41,3,128,0,17,6,92,1][o%8]]))),sn=Ee.collections.flatMap(s=>s.items.map(n=>[s.contractAddress,n])),nn=sn.slice(0,5).map(([s,n],o)=>({id:`mock-sale-${o}`,itemId:o===3?null:n.itemId,contractAddress:s,buyer:`0x${(o+3).toString(16).repeat(40).slice(0,40)}`,seller:"0xmockcreator0000000000000000000000000001",price:String(BigInt(40+o*17)*10n**18n),timestamp:H-(o===0?8*6e4:o*19*36e5),type:o===3?"order":"mint",network:"MATIC",tokenId:o===3?"1042":null})),on=r.div`
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
gap: 22px;
|
|
17
|
-
|
|
18
|
-
/* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. Every
|
|
19
|
-
surface on this page is dark, so the whole page opts out once rather than each panel in turn. */
|
|
20
|
-
.ccy-mark,
|
|
21
|
-
.ccy {
|
|
22
|
-
color: ${t.colors.softWhite};
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* MANA's mark is an image, not a masked glyph, so no colour reaches it: the token's own artwork is dark
|
|
26
|
-
and vanished into every panel on this page. Driven to white instead. */
|
|
27
|
-
[data-kind='mana'] img {
|
|
28
|
-
filter: brightness(0) invert(1);
|
|
29
|
-
}
|
|
30
|
-
`,an=r.header`
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: flex-start;
|
|
33
|
-
justify-content: space-between;
|
|
34
|
-
gap: 20px;
|
|
35
|
-
flex-wrap: wrap;
|
|
36
|
-
/* The rule that closes the identity block off from the figures under it. */
|
|
37
|
-
padding-bottom: 24px;
|
|
38
|
-
border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
|
|
39
|
-
`,rn=r.div`
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
gap: 12px;
|
|
43
|
-
min-width: 0;
|
|
44
|
-
`,ln=r.div`
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-direction: column;
|
|
47
|
-
align-items: flex-start;
|
|
48
|
-
justify-content: center;
|
|
49
|
-
gap: 4px;
|
|
50
|
-
padding-bottom: 8px;
|
|
51
|
-
min-width: 0;
|
|
52
|
-
`,dn=r.span`
|
|
53
|
-
flex: none;
|
|
54
|
-
display: block;
|
|
55
|
-
width: 84px;
|
|
56
|
-
height: 84px;
|
|
57
|
-
border-radius: 50%;
|
|
58
|
-
background-color: rgba(0, 0, 0, 0.22);
|
|
59
|
-
background-size: cover;
|
|
60
|
-
background-position: center top;
|
|
61
|
-
border: 2px solid rgba(252, 252, 252, 0.22);
|
|
62
|
-
|
|
63
|
-
${t.media.maxWidth("mobile")} {
|
|
64
|
-
width: 56px;
|
|
65
|
-
height: 56px;
|
|
66
|
-
}
|
|
67
|
-
`,cn=r.p`
|
|
68
|
-
margin: 0;
|
|
69
|
-
font-family: ${t.font.sans};
|
|
70
|
-
font-size: 14px;
|
|
71
|
-
font-weight: 600;
|
|
72
|
-
line-height: 1.6;
|
|
73
|
-
color: ${t.colors.softWhite};
|
|
74
|
-
overflow: hidden;
|
|
75
|
-
text-overflow: ellipsis;
|
|
76
|
-
white-space: nowrap;
|
|
77
|
-
max-width: 100%;
|
|
78
|
-
`,hn=r.h1`
|
|
79
|
-
margin: 0;
|
|
80
|
-
font-family: ${t.font.sans};
|
|
81
|
-
font-size: 32px;
|
|
82
|
-
font-weight: 700;
|
|
83
|
-
line-height: 1.2;
|
|
84
|
-
letter-spacing: 0.46px;
|
|
85
|
-
color: ${t.colors.white};
|
|
86
|
-
|
|
87
|
-
${t.media.maxWidth("mobile")} {
|
|
88
|
-
font-size: 26px;
|
|
89
|
-
}
|
|
90
|
-
`,pn=r.div`
|
|
91
|
-
display: flex;
|
|
92
|
-
flex-direction: column;
|
|
93
|
-
align-items: flex-start;
|
|
94
|
-
gap: 8px;
|
|
95
|
-
min-width: 0;
|
|
96
|
-
`,it=r.p`
|
|
97
|
-
margin: 0;
|
|
98
|
-
display: flex;
|
|
99
|
-
align-items: center;
|
|
100
|
-
gap: 12px;
|
|
101
|
-
font-family: ${t.font.sans};
|
|
102
|
-
font-size: 12px;
|
|
103
|
-
line-height: 1;
|
|
104
|
-
color: ${t.colors.softWhite};
|
|
105
|
-
`,mn=r.div`
|
|
106
|
-
display: flex;
|
|
107
|
-
align-items: center;
|
|
108
|
-
justify-content: flex-end;
|
|
109
|
-
flex-wrap: wrap;
|
|
110
|
-
gap: 12px;
|
|
111
|
-
|
|
112
|
-
/* Two uppercase buttons that cannot shrink below their labels. On a phone they fit side by side in
|
|
113
|
-
Inter with a few pixels to spare, and in any wider fallback font they did not: the second one ran
|
|
114
|
-
15px off a 390px screen. Wrapping puts it on its own line instead. */
|
|
115
|
-
${t.media.maxWidth("mobile")} {
|
|
116
|
-
justify-content: flex-start;
|
|
117
|
-
width: 100%;
|
|
118
|
-
}
|
|
119
|
-
`,un=r.a`
|
|
120
|
-
display: inline-flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
gap: 8px;
|
|
124
|
-
height: 46px;
|
|
125
|
-
padding: 0 12px;
|
|
126
|
-
border-radius: ${t.radius.card};
|
|
127
|
-
color: ${t.colors.white};
|
|
128
|
-
font-family: ${t.font.sans};
|
|
129
|
-
font-size: 13px;
|
|
130
|
-
font-weight: 600;
|
|
131
|
-
line-height: 24px;
|
|
132
|
-
letter-spacing: 0.46px;
|
|
133
|
-
text-transform: uppercase;
|
|
134
|
-
text-decoration: underline;
|
|
135
|
-
white-space: nowrap;
|
|
136
|
-
|
|
137
|
-
&:hover {
|
|
138
|
-
color: ${t.colors.navViolet};
|
|
139
|
-
}
|
|
140
|
-
.ico {
|
|
141
|
-
width: 22px;
|
|
142
|
-
height: 22px;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
${t.media.maxWidth("mobile")} {
|
|
146
|
-
padding: 0 8px;
|
|
147
|
-
}
|
|
148
|
-
`,xn=r(ie)`
|
|
149
|
-
display: inline-flex;
|
|
150
|
-
align-items: center;
|
|
151
|
-
justify-content: center;
|
|
152
|
-
gap: 8px;
|
|
153
|
-
height: 46px;
|
|
154
|
-
padding: 0 24px;
|
|
155
|
-
border-radius: ${t.radius.card};
|
|
156
|
-
background: ${t.colors.overlay};
|
|
157
|
-
color: ${t.colors.white};
|
|
158
|
-
font-family: ${t.font.sans};
|
|
159
|
-
font-size: 13px;
|
|
160
|
-
font-weight: 600;
|
|
161
|
-
line-height: 24px;
|
|
162
|
-
letter-spacing: 0.46px;
|
|
163
|
-
text-transform: uppercase;
|
|
164
|
-
text-decoration: none;
|
|
165
|
-
white-space: nowrap;
|
|
166
|
-
transition: background 0.15s ease;
|
|
167
|
-
|
|
168
|
-
&:hover {
|
|
169
|
-
background: ${t.colors.overlayHover};
|
|
170
|
-
}
|
|
171
|
-
&:focus-visible {
|
|
172
|
-
outline: 2px solid ${t.colors.softWhite};
|
|
173
|
-
outline-offset: 2px;
|
|
174
|
-
}
|
|
175
|
-
.ico {
|
|
176
|
-
width: 20px;
|
|
177
|
-
height: 20px;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
${t.media.maxWidth("mobile")} {
|
|
181
|
-
padding: 0 16px;
|
|
182
|
-
}
|
|
183
|
-
`,fn=r.span`
|
|
184
|
-
display: inline-flex;
|
|
185
|
-
align-items: center;
|
|
186
|
-
gap: 8px;
|
|
187
|
-
margin-left: 12px;
|
|
188
|
-
padding-left: 12px;
|
|
189
|
-
border-left: 1px solid rgba(255, 255, 255, 0.3);
|
|
190
|
-
`,gn=r.a`
|
|
191
|
-
display: inline-flex;
|
|
192
|
-
align-items: center;
|
|
193
|
-
justify-content: center;
|
|
194
|
-
color: ${t.colors.softWhite};
|
|
195
|
-
transition: color 0.15s ease;
|
|
196
|
-
|
|
197
|
-
&:hover {
|
|
198
|
-
color: ${t.colors.navViolet};
|
|
199
|
-
}
|
|
200
|
-
.ico {
|
|
201
|
-
width: 15px;
|
|
202
|
-
height: 15px;
|
|
203
|
-
}
|
|
204
|
-
`,yn=r.div`
|
|
205
|
-
display: flex;
|
|
206
|
-
align-items: center;
|
|
207
|
-
justify-content: space-between;
|
|
208
|
-
gap: 16px;
|
|
209
|
-
flex-wrap: wrap;
|
|
210
|
-
`,bn=r.h2`
|
|
211
|
-
margin: 0;
|
|
212
|
-
font-family: ${t.font.sans};
|
|
213
|
-
font-size: 24px;
|
|
214
|
-
font-weight: 700;
|
|
215
|
-
line-height: 1.2;
|
|
216
|
-
color: ${t.colors.white};
|
|
217
|
-
`,wn=r.div`
|
|
218
|
-
display: flex;
|
|
219
|
-
gap: 4px;
|
|
220
|
-
padding: 4px;
|
|
221
|
-
border-radius: ${t.radius.pill};
|
|
222
|
-
background: rgba(0, 0, 0, 0.22);
|
|
223
|
-
`,jn=r.button`
|
|
224
|
-
border: 0;
|
|
225
|
-
cursor: pointer;
|
|
226
|
-
font-family: ${t.font.sans};
|
|
227
|
-
padding: 7px 15px;
|
|
228
|
-
border-radius: ${t.radius.pill};
|
|
229
|
-
font-size: 13px;
|
|
230
|
-
font-weight: 600;
|
|
231
|
-
color: rgba(252, 252, 252, 0.62);
|
|
232
|
-
background: transparent;
|
|
233
|
-
transition:
|
|
234
|
-
color 0.15s ease,
|
|
235
|
-
background 0.15s ease;
|
|
236
|
-
|
|
237
|
-
&:hover {
|
|
238
|
-
color: ${t.colors.softWhite};
|
|
239
|
-
}
|
|
240
|
-
&[aria-pressed='true'] {
|
|
241
|
-
background: ${t.colors.softWhite};
|
|
242
|
-
color: ${t.colors.text};
|
|
243
|
-
}
|
|
244
|
-
&:focus-visible {
|
|
245
|
-
outline: 2px solid ${t.colors.softWhite};
|
|
246
|
-
outline-offset: 2px;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
@media (prefers-reduced-motion: reduce) {
|
|
250
|
-
transition: none;
|
|
251
|
-
}
|
|
252
|
-
`,Mt=r.section`
|
|
253
|
-
display: grid;
|
|
254
|
-
/* Five tiles when the store has resales to report, four when it does not — auto-fit rather than a fixed
|
|
255
|
-
count so neither case leaves a hole. */
|
|
256
|
-
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
|
|
257
|
-
gap: 14px;
|
|
258
|
-
|
|
259
|
-
${t.media.maxWidth("lg")} {
|
|
260
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
261
|
-
}
|
|
262
|
-
${t.media.maxWidth("mobile")} {
|
|
263
|
-
grid-template-columns: minmax(0, 1fr);
|
|
264
|
-
}
|
|
265
|
-
`,q=r.div`
|
|
266
|
-
background: ${t.colors.overlay};
|
|
267
|
-
color: ${t.colors.softWhite};
|
|
268
|
-
border-radius: ${t.radius.modal};
|
|
269
|
-
padding: 12px 24px;
|
|
270
|
-
display: flex;
|
|
271
|
-
flex-direction: column;
|
|
272
|
-
gap: 12px;
|
|
273
|
-
min-width: 0;
|
|
274
|
-
/* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. That
|
|
275
|
-
was chosen for a white card and disappears into this one. */
|
|
276
|
-
.ccy-mark,
|
|
277
|
-
.ccy {
|
|
278
|
-
color: ${t.colors.softWhite};
|
|
279
|
-
}
|
|
280
|
-
`,Q=r.span`
|
|
281
|
-
display: flex;
|
|
282
|
-
align-items: center;
|
|
283
|
-
justify-content: flex-start;
|
|
284
|
-
gap: 8px;
|
|
285
|
-
/* The tiles carrying a tooltip button stand 3px taller than the rest, and in a grid that is 3px of dead
|
|
286
|
-
space under every other card. Held to the taller of the two. */
|
|
287
|
-
min-height: 18px;
|
|
288
|
-
font-family: ${t.font.sans};
|
|
289
|
-
font-size: 12px;
|
|
290
|
-
font-weight: 400;
|
|
291
|
-
line-height: 1;
|
|
292
|
-
letter-spacing: 1px;
|
|
293
|
-
text-transform: uppercase;
|
|
294
|
-
color: ${t.colors.gray4};
|
|
295
|
-
`,J=r.span`
|
|
296
|
-
/* Ahead of the label, as the design has it. Ordered rather than moved in the markup, because the mark is
|
|
297
|
-
the last child in every tile and reordering five sets of markup would buy nothing. */
|
|
298
|
-
order: -1;
|
|
299
|
-
font-size: 16px;
|
|
300
|
-
line-height: 1;
|
|
301
|
-
filter: saturate(0.9);
|
|
302
|
-
`,Z=r.span`
|
|
303
|
-
display: flex;
|
|
304
|
-
align-items: baseline;
|
|
305
|
-
gap: 8px;
|
|
306
|
-
|
|
307
|
-
/* The currency mark is a box, not a glyph with a baseline: sized to the digits' cap height and centred
|
|
308
|
-
against them, rather than left to sit on the line's bottom edge. */
|
|
309
|
-
[data-kind] {
|
|
310
|
-
align-self: center;
|
|
311
|
-
margin-right: 6px;
|
|
312
|
-
}
|
|
313
|
-
[data-kind] img,
|
|
314
|
-
[data-kind] .ico {
|
|
315
|
-
width: 0.74em;
|
|
316
|
-
height: 0.74em;
|
|
317
|
-
vertical-align: baseline;
|
|
318
|
-
}
|
|
319
|
-
font-family: ${t.font.sans};
|
|
320
|
-
font-size: 32px;
|
|
321
|
-
font-weight: 600;
|
|
322
|
-
line-height: 1.235;
|
|
323
|
-
letter-spacing: -0.02em;
|
|
324
|
-
font-variant-numeric: tabular-nums;
|
|
325
|
-
`,Sn=r.span`
|
|
326
|
-
font-size: 20px;
|
|
327
|
-
font-weight: 600;
|
|
328
|
-
color: ${t.colors.gray4};
|
|
329
|
-
margin-right: -2px;
|
|
330
|
-
`,rt=r.span`
|
|
331
|
-
font-size: 15px;
|
|
332
|
-
font-weight: 600;
|
|
333
|
-
letter-spacing: 0;
|
|
334
|
-
color: ${t.colors.gray4};
|
|
335
|
-
`,X=r.span`
|
|
336
|
-
display: flex;
|
|
337
|
-
align-items: center;
|
|
338
|
-
flex-wrap: wrap;
|
|
339
|
-
gap: 4px 6px;
|
|
340
|
-
min-width: 0;
|
|
341
|
-
min-height: 16px;
|
|
342
|
-
font-family: ${t.font.sans};
|
|
343
|
-
font-size: 12px;
|
|
344
|
-
line-height: 1.35;
|
|
345
|
-
color: ${t.colors.gray4};
|
|
346
|
-
`,lt=r.span`
|
|
347
|
-
display: inline-flex;
|
|
348
|
-
align-items: center;
|
|
349
|
-
gap: 4px;
|
|
350
|
-
font-size: 11px;
|
|
351
|
-
font-weight: 600;
|
|
352
|
-
text-transform: uppercase;
|
|
353
|
-
letter-spacing: 0.04em;
|
|
354
|
-
color: ${t.colors.gray4};
|
|
355
|
-
border: 1px dashed ${t.colors.cardLine};
|
|
356
|
-
border-radius: ${t.radius.chip};
|
|
357
|
-
padding: 1px 5px;
|
|
358
|
-
`,U=r.section`
|
|
359
|
-
display: flex;
|
|
360
|
-
flex-direction: column;
|
|
361
|
-
gap: 12px;
|
|
362
|
-
padding: 16px;
|
|
363
|
-
background: ${t.colors.overlayLight};
|
|
364
|
-
color: ${t.colors.softWhite};
|
|
365
|
-
border-radius: ${t.radius.banner};
|
|
366
|
-
min-width: 0;
|
|
367
|
-
/* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. That
|
|
368
|
-
was chosen for a white card and disappears into this one. */
|
|
369
|
-
.ccy-mark,
|
|
370
|
-
.ccy {
|
|
371
|
-
color: ${t.colors.softWhite};
|
|
372
|
-
}
|
|
373
|
-
`,fe=r.div`
|
|
374
|
-
display: flex;
|
|
375
|
-
align-items: baseline;
|
|
376
|
-
justify-content: space-between;
|
|
377
|
-
gap: 12px;
|
|
378
|
-
`,pe=r.h2`
|
|
379
|
-
margin: 0;
|
|
380
|
-
font-family: ${t.font.sans};
|
|
381
|
-
font-size: 15px;
|
|
382
|
-
font-weight: 700;
|
|
383
|
-
letter-spacing: -0.01em;
|
|
384
|
-
`;r.div`
|
|
385
|
-
display: flex;
|
|
386
|
-
align-items: center;
|
|
387
|
-
gap: 12px;
|
|
388
|
-
`;const kn=r(Ws)`
|
|
389
|
-
/* Direct child only: the menu's options are buttons as well, and a descendant rule turned them white
|
|
390
|
-
on the white menu, which is a menu you cannot read. */
|
|
391
|
-
> button {
|
|
392
|
-
gap: 24px;
|
|
393
|
-
height: 40px;
|
|
394
|
-
padding: 4px 4px 4px 12px;
|
|
395
|
-
background: transparent;
|
|
396
|
-
border: 0.5px solid ${t.colors.white};
|
|
397
|
-
border-radius: ${t.radius.btn};
|
|
398
|
-
color: ${t.colors.white};
|
|
399
|
-
font-size: 12px;
|
|
400
|
-
font-weight: 500;
|
|
401
|
-
text-transform: uppercase;
|
|
402
|
-
letter-spacing: 0;
|
|
403
|
-
}
|
|
404
|
-
> button:hover {
|
|
405
|
-
border-color: ${t.colors.softWhite};
|
|
406
|
-
background: ${t.colors.glassFaint};
|
|
407
|
-
color: ${t.colors.softWhite};
|
|
408
|
-
}
|
|
409
|
-
/* The chevron's colour is an inline style on the shared component, so a class cannot reach it — this
|
|
410
|
-
is the one place that has to shout. */
|
|
411
|
-
> button .ico {
|
|
412
|
-
color: ${t.colors.softWhite} !important;
|
|
413
|
-
}
|
|
414
|
-
`,$n=r.span`
|
|
415
|
-
font-family: ${t.font.sans};
|
|
416
|
-
font-size: 12px;
|
|
417
|
-
color: ${t.colors.gray4};
|
|
418
|
-
`,Lt="24px 56px minmax(170px, 1fr) minmax(236px, 1.34fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(150px, 1fr) 158px",Tt=r.div`
|
|
419
|
-
display: grid;
|
|
420
|
-
grid-template-columns: ${Lt};
|
|
421
|
-
align-items: center;
|
|
422
|
-
gap: 12px;
|
|
423
|
-
padding: 12px 24px 12px 12px;
|
|
424
|
-
min-width: min-content;
|
|
425
|
-
background: ${t.colors.overlayStrong};
|
|
426
|
-
border-radius: ${t.radius.card} ${t.radius.card} 0 0;
|
|
427
|
-
font-family: ${t.font.sans};
|
|
428
|
-
font-size: 14px;
|
|
429
|
-
color: ${t.colors.softWhite};
|
|
430
|
-
|
|
431
|
-
/* Each label sits the way its column's content sits, so a header never points at the wrong figure. */
|
|
432
|
-
> *:nth-child(4),
|
|
433
|
-
> *:nth-child(5),
|
|
434
|
-
> *:nth-child(6),
|
|
435
|
-
> *:nth-child(7) {
|
|
436
|
-
text-align: center;
|
|
437
|
-
}
|
|
438
|
-
/* The label sits over the middle of the action, not over its right edge: in the design both occupy the
|
|
439
|
-
same box, so the header stretches across the track and centres inside it. */
|
|
440
|
-
> *:last-child {
|
|
441
|
-
justify-self: stretch;
|
|
442
|
-
text-align: center;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
${t.media.maxWidth("mobile")} {
|
|
446
|
-
display: none;
|
|
447
|
-
}
|
|
448
|
-
`,zt=r.div`
|
|
449
|
-
display: flex;
|
|
450
|
-
flex-direction: column;
|
|
451
|
-
gap: 2px;
|
|
452
|
-
min-width: 0;
|
|
453
|
-
/*
|
|
454
|
-
* The run scrolls sideways rather than crushing its own columns.
|
|
455
|
-
*
|
|
456
|
-
* The tracks need 1158px before the grid starts taking room from them, and the panel used to clip what
|
|
457
|
-
* did not fit. It does not any more, and a clipped row is worse than a scrolling one: the action is the
|
|
458
|
-
* last column, so on a 1024px tablet "Manage" simply left the screen with no way to reach it.
|
|
459
|
-
*/
|
|
460
|
-
overflow-x: auto;
|
|
461
|
-
|
|
462
|
-
> *:last-child {
|
|
463
|
-
border-radius: 0 0 ${t.radius.card} ${t.radius.card};
|
|
464
|
-
}
|
|
465
|
-
`,Pt=r.div`
|
|
466
|
-
display: grid;
|
|
467
|
-
grid-template-columns: ${Lt};
|
|
468
|
-
align-items: center;
|
|
469
|
-
gap: 12px;
|
|
470
|
-
padding: 12px 24px 12px 12px;
|
|
471
|
-
min-width: min-content;
|
|
472
|
-
background: ${t.colors.overlay};
|
|
473
|
-
|
|
474
|
-
/* A fixed track keeps every row's action in the same place, centred under its column's label. */
|
|
475
|
-
> *:last-child {
|
|
476
|
-
justify-self: center;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* A collection with no copies left, set back from the ones that still have something to sell.
|
|
481
|
-
*
|
|
482
|
-
* Muted rather than faded: opacity would take the row's one action down with it, and a creator who wants
|
|
483
|
-
* to look at a finished run should not have to fight the styling to click into it. The thumbnail loses
|
|
484
|
-
* its colour, the figures lose their weight, and the row still reads.
|
|
485
|
-
*/
|
|
486
|
-
&[data-exhausted] {
|
|
487
|
-
background: rgba(0, 0, 0, 0.55);
|
|
488
|
-
color: ${t.colors.gray4};
|
|
489
|
-
|
|
490
|
-
[data-testid='store-collection-thumb'] img {
|
|
491
|
-
filter: grayscale(0.75);
|
|
492
|
-
opacity: 0.72;
|
|
493
|
-
}
|
|
494
|
-
/* The collection's own name follows the row; the action at the end keeps its colour, because a
|
|
495
|
-
finished run is still one a creator opens, and a button that reads disabled invites nobody. */
|
|
496
|
-
[data-testid='store-collection-name'] {
|
|
497
|
-
color: inherit;
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* On a phone the seven columns become two rows: identity and figure on the first, the discount and the
|
|
503
|
-
* action on the second. Placed explicitly rather than left to auto-flow, which dropped both of them
|
|
504
|
-
* into the first two narrow tracks on top of each other.
|
|
505
|
-
*/
|
|
506
|
-
/*
|
|
507
|
-
* Three lines on a phone: who it is and what to do about it, then the two figures, then the discount.
|
|
508
|
-
*
|
|
509
|
-
* Every cell is placed explicitly rather than left to auto-flow, because the columns changed order once
|
|
510
|
-
* already and an auto-placed grid answers that by putting a sparkline where a button used to be.
|
|
511
|
-
*/
|
|
512
|
-
${t.media.maxWidth("mobile")} {
|
|
513
|
-
grid-template-columns: 24px 56px minmax(0, 1fr) auto;
|
|
514
|
-
row-gap: 12px;
|
|
515
|
-
|
|
516
|
-
> *:nth-child(1) {
|
|
517
|
-
grid-area: 1 / 1;
|
|
518
|
-
}
|
|
519
|
-
> *:nth-child(2) {
|
|
520
|
-
grid-area: 1 / 2;
|
|
521
|
-
}
|
|
522
|
-
/* The name takes the whole of its line. Sharing it with the action left "Founders Edition" as an
|
|
523
|
-
ellipsis and a chip, which is the one cell on the row that has to be readable. */
|
|
524
|
-
> *:nth-child(3) {
|
|
525
|
-
grid-area: 1 / 3 / 1 / 5;
|
|
526
|
-
}
|
|
527
|
-
> *:nth-child(5) {
|
|
528
|
-
grid-area: 2 / 1 / 2 / 3;
|
|
529
|
-
justify-self: start;
|
|
530
|
-
}
|
|
531
|
-
> *:nth-child(6) {
|
|
532
|
-
grid-area: 2 / 3;
|
|
533
|
-
justify-self: start;
|
|
534
|
-
}
|
|
535
|
-
> *:nth-child(8) {
|
|
536
|
-
grid-area: 2 / 4;
|
|
537
|
-
justify-self: end;
|
|
538
|
-
}
|
|
539
|
-
> *:nth-child(4) {
|
|
540
|
-
grid-area: 3 / 1 / 3 / 5;
|
|
541
|
-
justify-self: start;
|
|
542
|
-
align-items: flex-start;
|
|
543
|
-
text-align: left;
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
`,vn=r.button`
|
|
547
|
-
position: relative;
|
|
548
|
-
display: grid;
|
|
549
|
-
place-items: center;
|
|
550
|
-
width: 24px;
|
|
551
|
-
height: 24px;
|
|
552
|
-
padding: 0;
|
|
553
|
-
border: 0;
|
|
554
|
-
border-radius: ${t.radius.btn};
|
|
555
|
-
background: none;
|
|
556
|
-
cursor: pointer;
|
|
557
|
-
color: ${t.colors.gray4};
|
|
558
|
-
|
|
559
|
-
&:hover {
|
|
560
|
-
background: ${t.colors.glassFaint};
|
|
561
|
-
color: ${t.colors.softWhite};
|
|
562
|
-
}
|
|
563
|
-
&:focus-visible {
|
|
564
|
-
outline: 2px solid ${t.colors.navViolet};
|
|
565
|
-
outline-offset: 2px;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
/* A finger needs more than the 24px the glyph occupies, and the row has that much clear space around it. */
|
|
569
|
-
&::after {
|
|
570
|
-
content: '';
|
|
571
|
-
position: absolute;
|
|
572
|
-
inset: -10px;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.ico {
|
|
576
|
-
width: 16px;
|
|
577
|
-
height: 16px;
|
|
578
|
-
transition: transform 0.18s ease;
|
|
579
|
-
}
|
|
580
|
-
&[aria-expanded='true'] .ico {
|
|
581
|
-
transform: rotate(180deg);
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
@media (prefers-reduced-motion: reduce) {
|
|
585
|
-
.ico {
|
|
586
|
-
transition: none;
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
`,Cn=r.span`
|
|
590
|
-
width: 56px;
|
|
591
|
-
height: 56px;
|
|
592
|
-
border-radius: ${t.radius.btn};
|
|
593
|
-
overflow: hidden;
|
|
594
|
-
background: ${t.colors.overlayLight};
|
|
595
|
-
`,An=r.span`
|
|
596
|
-
flex: none;
|
|
597
|
-
display: inline-flex;
|
|
598
|
-
align-items: center;
|
|
599
|
-
font-family: ${t.font.sans};
|
|
600
|
-
font-size: 10px;
|
|
601
|
-
font-weight: 700;
|
|
602
|
-
letter-spacing: 0.06em;
|
|
603
|
-
text-transform: uppercase;
|
|
604
|
-
padding: 3px 7px;
|
|
605
|
-
border-radius: ${t.radius.pill};
|
|
606
|
-
color: ${t.colors.gray4};
|
|
607
|
-
background: ${t.colors.glassFaint};
|
|
608
|
-
`,In=r.span`
|
|
609
|
-
display: flex;
|
|
610
|
-
align-items: center;
|
|
611
|
-
flex-wrap: wrap;
|
|
612
|
-
gap: 4px 8px;
|
|
613
|
-
min-width: 0;
|
|
614
|
-
|
|
615
|
-
/*
|
|
616
|
-
* The chip yields before the name does, which is the opposite of what it used to do.
|
|
617
|
-
*
|
|
618
|
-
* With a wide name column the name could ellipsise and keep "sold out" beside it. The columns are even
|
|
619
|
-
* now, so that column is 176px, and yielding the name first left "Founders Ed…" next to a chip: the row
|
|
620
|
-
* lost the one thing it has to say to save the one thing that repeats on every sold-out row.
|
|
621
|
-
*/
|
|
622
|
-
a {
|
|
623
|
-
min-width: 0;
|
|
624
|
-
flex: 0 1 auto;
|
|
625
|
-
}
|
|
626
|
-
`,Wn=r.span`
|
|
627
|
-
min-width: 0;
|
|
628
|
-
|
|
629
|
-
a {
|
|
630
|
-
display: block;
|
|
631
|
-
color: inherit;
|
|
632
|
-
text-decoration: none;
|
|
633
|
-
font-family: ${t.font.sans};
|
|
634
|
-
font-size: 14px;
|
|
635
|
-
font-weight: 600;
|
|
636
|
-
overflow: hidden;
|
|
637
|
-
text-overflow: ellipsis;
|
|
638
|
-
white-space: nowrap;
|
|
639
|
-
}
|
|
640
|
-
a:hover,
|
|
641
|
-
a:focus-visible {
|
|
642
|
-
text-decoration: underline;
|
|
643
|
-
}
|
|
644
|
-
`,Mn=r.span`
|
|
645
|
-
display: block;
|
|
646
|
-
font-family: ${t.font.sans};
|
|
647
|
-
font-size: 12px;
|
|
648
|
-
color: ${t.colors.gray4};
|
|
649
|
-
overflow: hidden;
|
|
650
|
-
text-overflow: ellipsis;
|
|
651
|
-
white-space: nowrap;
|
|
652
|
-
`;r.span`
|
|
653
|
-
font-family: ${t.font.sans};
|
|
654
|
-
font-size: 15px;
|
|
655
|
-
font-weight: 700;
|
|
656
|
-
font-variant-numeric: tabular-nums;
|
|
657
|
-
text-align: right;
|
|
658
|
-
|
|
659
|
-
small {
|
|
660
|
-
display: block;
|
|
661
|
-
font-size: 11px;
|
|
662
|
-
font-weight: 500;
|
|
663
|
-
color: ${t.colors.gray4};
|
|
664
|
-
text-transform: uppercase;
|
|
665
|
-
letter-spacing: 0.04em;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
${t.media.maxWidth("mobile")} {
|
|
669
|
-
display: none;
|
|
670
|
-
}
|
|
671
|
-
`;const Ln=r.span`
|
|
672
|
-
min-width: 0;
|
|
673
|
-
|
|
674
|
-
${t.media.maxWidth("mobile")} {
|
|
675
|
-
display: none;
|
|
676
|
-
}
|
|
677
|
-
`,dt=r.svg`
|
|
678
|
-
display: block;
|
|
679
|
-
width: 100%;
|
|
680
|
-
height: 34px;
|
|
681
|
-
`,Tn=r.div`
|
|
682
|
-
/* A shade deeper than the row it belongs to, not lighter. The rows carry their own dark fill now, and a
|
|
683
|
-
translucent white panel between them read as a different surface breaking the run in half. */
|
|
684
|
-
background: ${t.colors.overlayStrong};
|
|
685
|
-
padding: 4px 24px 10px 48px;
|
|
686
|
-
|
|
687
|
-
${t.media.maxWidth("mobile")} {
|
|
688
|
-
padding-left: 32px;
|
|
689
|
-
}
|
|
690
|
-
`,zn=r.div`
|
|
691
|
-
display: flex;
|
|
692
|
-
flex-wrap: wrap;
|
|
693
|
-
gap: 8px 26px;
|
|
694
|
-
padding: 12px 0 13px;
|
|
695
|
-
border-bottom: 1px solid ${t.colors.cardLine};
|
|
696
|
-
|
|
697
|
-
span {
|
|
698
|
-
display: flex;
|
|
699
|
-
align-items: baseline;
|
|
700
|
-
gap: 6px;
|
|
701
|
-
font-family: ${t.font.sans};
|
|
702
|
-
font-size: 11px;
|
|
703
|
-
font-weight: 600;
|
|
704
|
-
letter-spacing: 0.04em;
|
|
705
|
-
text-transform: uppercase;
|
|
706
|
-
color: ${t.colors.gray4};
|
|
707
|
-
}
|
|
708
|
-
b {
|
|
709
|
-
/* The currency mark is its own inline-flex element, so the figure needs a row of its own or the two
|
|
710
|
-
break onto separate lines. */
|
|
711
|
-
display: inline-flex;
|
|
712
|
-
align-items: center;
|
|
713
|
-
gap: 3px;
|
|
714
|
-
white-space: nowrap;
|
|
715
|
-
font-size: 15px;
|
|
716
|
-
font-weight: 700;
|
|
717
|
-
letter-spacing: 0;
|
|
718
|
-
text-transform: none;
|
|
719
|
-
color: ${t.colors.softWhite};
|
|
720
|
-
font-variant-numeric: tabular-nums;
|
|
721
|
-
}
|
|
722
|
-
`,Pn=r.div`
|
|
723
|
-
display: grid;
|
|
724
|
-
/* The stock track is fixed rather than max-content: each row is its own grid, so a content-sized last
|
|
725
|
-
track let every row measure itself and none of them lined up. 124px clears the widest figure the page
|
|
726
|
-
renders (105px) with room to spare, without leaving a hand's width between the bar and the number. */
|
|
727
|
-
grid-template-columns: 40px minmax(0, 1fr) 72px 64px 152px 124px;
|
|
728
|
-
align-items: center;
|
|
729
|
-
gap: 22px;
|
|
730
|
-
padding: 13px 0;
|
|
731
|
-
|
|
732
|
-
> *:last-child {
|
|
733
|
-
justify-self: end;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
& + & {
|
|
737
|
-
border-top: 1px solid ${t.colors.cardLine};
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
/*
|
|
741
|
-
* Two lines on a phone: the item, then its figures under the name.
|
|
742
|
-
*
|
|
743
|
-
* Placed explicitly. With three tracks and six cells the browser auto-flowed the stock figure into the
|
|
744
|
-
* 40px thumbnail track on the second row, where justify-self: end right-aligned 105px of text inside
|
|
745
|
-
* 40px of column and pushed its left edge a pixel off the card.
|
|
746
|
-
*/
|
|
747
|
-
${t.media.maxWidth("mobile")} {
|
|
748
|
-
grid-template-columns: 40px minmax(0, 1fr) auto;
|
|
749
|
-
column-gap: 12px;
|
|
750
|
-
row-gap: 8px;
|
|
751
|
-
|
|
752
|
-
> *:nth-child(3) {
|
|
753
|
-
grid-area: 2 / 2;
|
|
754
|
-
justify-self: start;
|
|
755
|
-
}
|
|
756
|
-
> *:last-child {
|
|
757
|
-
grid-area: 2 / 3;
|
|
758
|
-
justify-self: end;
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
`,_n=r.span`
|
|
762
|
-
display: block;
|
|
763
|
-
width: 40px;
|
|
764
|
-
height: 40px;
|
|
765
|
-
border-radius: ${t.radius.btn};
|
|
766
|
-
overflow: hidden;
|
|
767
|
-
/* The rarity wash is a gradient of ALPHAS, drawn for a white card. Composited over a dark panel instead
|
|
768
|
-
it turns muddy, so the base it was measured against is put back under it. */
|
|
769
|
-
background-color: ${t.colors.white};
|
|
770
|
-
|
|
771
|
-
img {
|
|
772
|
-
width: 100%;
|
|
773
|
-
height: 100%;
|
|
774
|
-
object-fit: contain;
|
|
775
|
-
}
|
|
776
|
-
`,Fn=r.span`
|
|
777
|
-
min-width: 0;
|
|
778
|
-
display: flex;
|
|
779
|
-
flex-direction: column;
|
|
780
|
-
gap: 2px;
|
|
781
|
-
`,Nn=r.span`
|
|
782
|
-
display: flex;
|
|
783
|
-
align-items: center;
|
|
784
|
-
gap: 6px;
|
|
785
|
-
min-width: 0;
|
|
786
|
-
`,En=r.span`
|
|
787
|
-
flex: none;
|
|
788
|
-
display: inline-flex;
|
|
789
|
-
align-items: center;
|
|
790
|
-
height: 15px;
|
|
791
|
-
padding: 0 6px;
|
|
792
|
-
border-radius: 5px;
|
|
793
|
-
font-family: ${t.font.sans};
|
|
794
|
-
font-size: 9px;
|
|
795
|
-
font-weight: 700;
|
|
796
|
-
letter-spacing: 0.02em;
|
|
797
|
-
text-transform: uppercase;
|
|
798
|
-
color: ${t.colors.softWhite};
|
|
799
|
-
`,Dn=r(ie)`
|
|
800
|
-
font-family: ${t.font.sans};
|
|
801
|
-
font-size: 13px;
|
|
802
|
-
color: inherit;
|
|
803
|
-
text-decoration: none;
|
|
804
|
-
overflow: hidden;
|
|
805
|
-
text-overflow: ellipsis;
|
|
806
|
-
white-space: nowrap;
|
|
807
|
-
|
|
808
|
-
&:hover,
|
|
809
|
-
&:focus-visible {
|
|
810
|
-
text-decoration: underline;
|
|
811
|
-
}
|
|
812
|
-
`,On=r.span`
|
|
813
|
-
font-family: ${t.font.sans};
|
|
814
|
-
font-size: 13px;
|
|
815
|
-
white-space: nowrap;
|
|
816
|
-
font-weight: 600;
|
|
817
|
-
font-variant-numeric: tabular-nums;
|
|
818
|
-
text-align: right;
|
|
819
|
-
color: ${t.colors.softWhite};
|
|
820
|
-
|
|
821
|
-
small {
|
|
822
|
-
color: ${t.colors.gray4};
|
|
823
|
-
font-weight: 500;
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
${t.media.maxWidth("mobile")} {
|
|
827
|
-
text-align: left;
|
|
828
|
-
}
|
|
829
|
-
`,Bn=r.span`
|
|
830
|
-
display: block;
|
|
831
|
-
width: 96px;
|
|
832
|
-
height: 6px;
|
|
833
|
-
border-radius: 100px;
|
|
834
|
-
/* White, not the near-black this started as: the track was a 10% dark fill chosen for a white card, and
|
|
835
|
-
on the row's own dark surface it was the same colour as the row. */
|
|
836
|
-
background: rgba(255, 255, 255, 0.1);
|
|
837
|
-
overflow: hidden;
|
|
838
|
-
/* Pushed to the end of its track, so it sits with the stock figure it measures rather than crowding the
|
|
839
|
-
saves count next to it. */
|
|
840
|
-
margin-left: auto;
|
|
841
|
-
|
|
842
|
-
i {
|
|
843
|
-
display: block;
|
|
844
|
-
height: 6px;
|
|
845
|
-
border-radius: 100px;
|
|
846
|
-
background: ${t.colors.navViolet};
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
${t.media.maxWidth("mobile")} {
|
|
850
|
-
display: none;
|
|
851
|
-
}
|
|
852
|
-
`,Rn=r.span`
|
|
853
|
-
font-family: ${t.font.sans};
|
|
854
|
-
font-size: 11px;
|
|
855
|
-
font-weight: 600;
|
|
856
|
-
letter-spacing: 0.04em;
|
|
857
|
-
text-transform: uppercase;
|
|
858
|
-
white-space: nowrap;
|
|
859
|
-
color: ${t.colors.gray4};
|
|
860
|
-
|
|
861
|
-
&[data-state='soldout'] {
|
|
862
|
-
color: ${t.colors.navViolet};
|
|
863
|
-
}
|
|
864
|
-
/* A listed item shows its price rather than a label, so it takes the ink prices take. */
|
|
865
|
-
&[data-state='classic'],
|
|
866
|
-
&[data-state='discounted'] {
|
|
867
|
-
display: inline-flex;
|
|
868
|
-
align-items: center;
|
|
869
|
-
gap: 2px;
|
|
870
|
-
font-size: 12px;
|
|
871
|
-
letter-spacing: 0;
|
|
872
|
-
text-transform: none;
|
|
873
|
-
color: ${t.colors.softWhite};
|
|
874
|
-
}
|
|
875
|
-
`,Hn=r.span`
|
|
876
|
-
display: flex;
|
|
877
|
-
flex-direction: column;
|
|
878
|
-
align-items: flex-end;
|
|
879
|
-
gap: 4px;
|
|
880
|
-
line-height: 1.25;
|
|
881
|
-
`,qn=r.span`
|
|
882
|
-
font-size: 10px;
|
|
883
|
-
font-weight: 600;
|
|
884
|
-
letter-spacing: 0.04em;
|
|
885
|
-
text-transform: uppercase;
|
|
886
|
-
color: ${t.colors.gray4};
|
|
887
|
-
margin-right: 4px;
|
|
888
|
-
`,Un=r.span`
|
|
889
|
-
font-family: ${t.font.sans};
|
|
890
|
-
font-size: 10px;
|
|
891
|
-
opacity: 0.85;
|
|
892
|
-
font-weight: 600;
|
|
893
|
-
letter-spacing: 0.03em;
|
|
894
|
-
text-transform: uppercase;
|
|
895
|
-
white-space: nowrap;
|
|
896
|
-
color: ${t.colors.gray4};
|
|
897
|
-
`,Kn=r.span`
|
|
898
|
-
font-family: ${t.font.sans};
|
|
899
|
-
font-size: 11px;
|
|
900
|
-
font-weight: 600;
|
|
901
|
-
letter-spacing: 0.04em;
|
|
902
|
-
text-transform: uppercase;
|
|
903
|
-
white-space: nowrap;
|
|
904
|
-
text-align: right;
|
|
905
|
-
color: ${t.colors.gray4};
|
|
906
|
-
font-variant-numeric: tabular-nums;
|
|
907
|
-
|
|
908
|
-
b {
|
|
909
|
-
color: ${t.colors.softWhite};
|
|
910
|
-
font-weight: 700;
|
|
911
|
-
}
|
|
912
|
-
&[data-out='true'] {
|
|
913
|
-
color: ${t.colors.navViolet};
|
|
914
|
-
}
|
|
915
|
-
`;r.div`
|
|
916
|
-
display: grid;
|
|
917
|
-
grid-template-columns: 3px minmax(0, 1fr) auto;
|
|
918
|
-
gap: 12px;
|
|
919
|
-
align-items: center;
|
|
920
|
-
padding: 13px 18px;
|
|
921
|
-
border-top: 1px solid ${t.colors.cardLine};
|
|
922
|
-
`;r.span`
|
|
923
|
-
align-self: stretch;
|
|
924
|
-
border-radius: 2px;
|
|
925
|
-
background: ${t.colors.cardLine};
|
|
926
|
-
|
|
927
|
-
&[data-sev='act'] {
|
|
928
|
-
background: ${t.colors.dclRed};
|
|
929
|
-
}
|
|
930
|
-
&[data-sev='soon'] {
|
|
931
|
-
background: ${t.colors.flareAmber};
|
|
932
|
-
}
|
|
933
|
-
`;const ct=r.button`
|
|
934
|
-
display: inline-grid;
|
|
935
|
-
place-items: center;
|
|
936
|
-
width: 16px;
|
|
937
|
-
height: 16px;
|
|
938
|
-
margin-left: 5px;
|
|
939
|
-
padding: 0;
|
|
940
|
-
border: 0;
|
|
941
|
-
background: none;
|
|
942
|
-
cursor: help;
|
|
943
|
-
color: ${t.colors.gray4};
|
|
944
|
-
|
|
945
|
-
&:hover,
|
|
946
|
-
&:focus-visible {
|
|
947
|
-
color: ${t.colors.softWhite};
|
|
948
|
-
}
|
|
949
|
-
.ico {
|
|
950
|
-
width: 14px;
|
|
951
|
-
height: 14px;
|
|
952
|
-
}
|
|
953
|
-
`;r.span`
|
|
954
|
-
b {
|
|
955
|
-
display: flex;
|
|
956
|
-
align-items: center;
|
|
957
|
-
font-family: ${t.font.sans};
|
|
958
|
-
font-size: 13px;
|
|
959
|
-
font-weight: 600;
|
|
960
|
-
}
|
|
961
|
-
span {
|
|
962
|
-
display: block;
|
|
963
|
-
margin-top: 2px;
|
|
964
|
-
font-family: ${t.font.sans};
|
|
965
|
-
font-size: 12px;
|
|
966
|
-
color: ${t.colors.gray4};
|
|
967
|
-
}
|
|
968
|
-
`;r(ie)`
|
|
969
|
-
display: inline-block;
|
|
970
|
-
margin-top: 4px;
|
|
971
|
-
font-family: ${t.font.sans};
|
|
972
|
-
font-size: 12px;
|
|
973
|
-
font-weight: 600;
|
|
974
|
-
color: ${t.colors.navViolet};
|
|
975
|
-
text-decoration: none;
|
|
976
|
-
|
|
977
|
-
&:hover,
|
|
978
|
-
&:focus-visible {
|
|
979
|
-
text-decoration: underline;
|
|
980
|
-
}
|
|
981
|
-
`;r.span`
|
|
982
|
-
font-family: ${t.font.sans};
|
|
983
|
-
font-size: 18px;
|
|
984
|
-
font-weight: 700;
|
|
985
|
-
font-variant-numeric: tabular-nums;
|
|
986
|
-
`;const Ie=r.div`
|
|
987
|
-
overflow-x: auto;
|
|
988
|
-
`,De=r.table`
|
|
989
|
-
width: 100%;
|
|
990
|
-
/* Fixed, so a page of short names and one of long ones lay their columns out identically — the widths
|
|
991
|
-
come from the header row rather than from whatever this page happens to hold. */
|
|
992
|
-
table-layout: fixed;
|
|
993
|
-
|
|
994
|
-
thead th:nth-of-type(1) {
|
|
995
|
-
width: 36%;
|
|
996
|
-
}
|
|
997
|
-
thead th:nth-of-type(2) {
|
|
998
|
-
width: 24%;
|
|
999
|
-
}
|
|
1000
|
-
thead th:nth-of-type(3) {
|
|
1001
|
-
width: 120px;
|
|
1002
|
-
}
|
|
1003
|
-
thead th:nth-of-type(4) {
|
|
1004
|
-
width: 14%;
|
|
1005
|
-
}
|
|
1006
|
-
thead th:nth-of-type(5) {
|
|
1007
|
-
width: 110px;
|
|
1008
|
-
}
|
|
1009
|
-
tbody td {
|
|
1010
|
-
overflow: hidden;
|
|
1011
|
-
text-overflow: ellipsis;
|
|
1012
|
-
}
|
|
1013
|
-
font-family: ${t.font.sans};
|
|
1014
|
-
font-size: 13px;
|
|
1015
|
-
min-width: 520px;
|
|
1016
|
-
|
|
1017
|
-
/* The same band and the same separated rows the collections table wears, so the three tables on this
|
|
1018
|
-
page read as siblings rather than as one design and two others. The 2px gap is a transparent border
|
|
1019
|
-
over a clipped background, which is how a table draws the design's gaps without losing its columns. */
|
|
1020
|
-
border-collapse: separate;
|
|
1021
|
-
border-spacing: 0;
|
|
1022
|
-
|
|
1023
|
-
thead th {
|
|
1024
|
-
text-align: left;
|
|
1025
|
-
padding: 12px 18px;
|
|
1026
|
-
background: ${t.colors.overlayStrong};
|
|
1027
|
-
font-size: 14px;
|
|
1028
|
-
font-weight: 400;
|
|
1029
|
-
color: ${t.colors.softWhite};
|
|
1030
|
-
white-space: nowrap;
|
|
1031
|
-
}
|
|
1032
|
-
thead th:first-of-type {
|
|
1033
|
-
border-radius: ${t.radius.card} 0 0 0;
|
|
1034
|
-
}
|
|
1035
|
-
thead th:last-of-type {
|
|
1036
|
-
border-radius: 0 ${t.radius.card} 0 0;
|
|
1037
|
-
}
|
|
1038
|
-
tbody td {
|
|
1039
|
-
padding: 12px 18px;
|
|
1040
|
-
background: ${t.colors.overlay};
|
|
1041
|
-
border-top: 2px solid transparent;
|
|
1042
|
-
background-clip: padding-box;
|
|
1043
|
-
vertical-align: middle;
|
|
1044
|
-
}
|
|
1045
|
-
tbody tr:last-of-type td:first-of-type {
|
|
1046
|
-
border-radius: 0 0 0 ${t.radius.card};
|
|
1047
|
-
}
|
|
1048
|
-
tbody tr:last-of-type td:last-of-type {
|
|
1049
|
-
border-radius: 0 0 ${t.radius.card} 0;
|
|
1050
|
-
}
|
|
1051
|
-
tbody tr:hover td {
|
|
1052
|
-
background: ${t.colors.overlayHover};
|
|
1053
|
-
}
|
|
1054
|
-
td[data-money] {
|
|
1055
|
-
text-align: right;
|
|
1056
|
-
font-weight: 700;
|
|
1057
|
-
font-variant-numeric: tabular-nums;
|
|
1058
|
-
white-space: nowrap;
|
|
1059
|
-
}
|
|
1060
|
-
td[data-dim] {
|
|
1061
|
-
color: ${t.colors.gray4};
|
|
1062
|
-
font-variant-numeric: tabular-nums;
|
|
1063
|
-
white-space: nowrap;
|
|
1064
|
-
}
|
|
1065
|
-
`,ht=r.span`
|
|
1066
|
-
display: flex;
|
|
1067
|
-
align-items: center;
|
|
1068
|
-
gap: 10px;
|
|
1069
|
-
min-width: 0;
|
|
1070
|
-
color: inherit;
|
|
1071
|
-
text-decoration: none;
|
|
1072
|
-
|
|
1073
|
-
span {
|
|
1074
|
-
overflow: hidden;
|
|
1075
|
-
text-overflow: ellipsis;
|
|
1076
|
-
white-space: nowrap;
|
|
1077
|
-
}
|
|
1078
|
-
&:hover span,
|
|
1079
|
-
&:focus-visible span {
|
|
1080
|
-
text-decoration: underline;
|
|
1081
|
-
}
|
|
1082
|
-
`,pt=r.span`
|
|
1083
|
-
flex: none;
|
|
1084
|
-
display: block;
|
|
1085
|
-
width: 32px;
|
|
1086
|
-
height: 32px;
|
|
1087
|
-
border-radius: ${t.radius.chip};
|
|
1088
|
-
overflow: hidden;
|
|
1089
|
-
/* Same rarity wash, same reason it needs a white base under it — see ItemThumb. */
|
|
1090
|
-
background-color: ${t.colors.white};
|
|
1091
|
-
|
|
1092
|
-
img {
|
|
1093
|
-
width: 100%;
|
|
1094
|
-
height: 100%;
|
|
1095
|
-
object-fit: contain;
|
|
1096
|
-
}
|
|
1097
|
-
`,mt=r.a`
|
|
1098
|
-
max-width: 100%;
|
|
1099
|
-
white-space: nowrap;
|
|
1100
|
-
display: inline-flex;
|
|
1101
|
-
align-items: center;
|
|
1102
|
-
gap: 8px;
|
|
1103
|
-
color: inherit;
|
|
1104
|
-
text-decoration: none;
|
|
1105
|
-
|
|
1106
|
-
&:hover,
|
|
1107
|
-
&:focus-visible {
|
|
1108
|
-
text-decoration: underline;
|
|
1109
|
-
}
|
|
1110
|
-
`,Vn=r.span`
|
|
1111
|
-
display: inline-flex;
|
|
1112
|
-
align-items: center;
|
|
1113
|
-
gap: 8px;
|
|
1114
|
-
|
|
1115
|
-
i {
|
|
1116
|
-
display: block;
|
|
1117
|
-
width: 24px;
|
|
1118
|
-
height: 24px;
|
|
1119
|
-
border-radius: 50%;
|
|
1120
|
-
background: #ededed;
|
|
1121
|
-
}
|
|
1122
|
-
b {
|
|
1123
|
-
display: block;
|
|
1124
|
-
width: 84px;
|
|
1125
|
-
height: 10px;
|
|
1126
|
-
border-radius: 100px;
|
|
1127
|
-
background: #ededed;
|
|
1128
|
-
}
|
|
1129
|
-
`,ut=r.span`
|
|
1130
|
-
flex: none;
|
|
1131
|
-
display: block;
|
|
1132
|
-
width: 24px;
|
|
1133
|
-
height: 24px;
|
|
1134
|
-
border-radius: 50%;
|
|
1135
|
-
background-color: ${t.colors.overlayLight};
|
|
1136
|
-
background-size: cover;
|
|
1137
|
-
background-position: center top;
|
|
1138
|
-
`,Yn=r.nav`
|
|
1139
|
-
display: flex;
|
|
1140
|
-
flex-wrap: wrap;
|
|
1141
|
-
align-items: center;
|
|
1142
|
-
justify-content: flex-end;
|
|
1143
|
-
gap: 12px;
|
|
1144
|
-
font-variant-numeric: tabular-nums;
|
|
1145
|
-
`,_t=`
|
|
1146
|
-
display: inline-flex;
|
|
1147
|
-
align-items: center;
|
|
1148
|
-
justify-content: center;
|
|
1149
|
-
width: 32px;
|
|
1150
|
-
height: 32px;
|
|
1151
|
-
padding: 0;
|
|
1152
|
-
border: 0.5px solid rgba(255, 255, 255, 0.5);
|
|
1153
|
-
border-radius: ${t.radius.btn};
|
|
1154
|
-
background: transparent;
|
|
1155
|
-
font-family: ${t.font.sans};
|
|
1156
|
-
font-size: 13px;
|
|
1157
|
-
font-weight: 600;
|
|
1158
|
-
letter-spacing: 0.46px;
|
|
1159
|
-
color: ${t.colors.softWhite};
|
|
1160
|
-
cursor: pointer;
|
|
1161
|
-
|
|
1162
|
-
&:hover:not(:disabled) {
|
|
1163
|
-
border-color: ${t.colors.softWhite};
|
|
1164
|
-
background: ${t.colors.glassFaint};
|
|
1165
|
-
}
|
|
1166
|
-
&:focus-visible {
|
|
1167
|
-
outline: 2px solid ${t.colors.softWhite};
|
|
1168
|
-
outline-offset: 2px;
|
|
1169
|
-
}
|
|
1170
|
-
&:disabled {
|
|
1171
|
-
opacity: 0.35;
|
|
1172
|
-
cursor: default;
|
|
1173
|
-
}
|
|
1174
|
-
`,xt=r.button`
|
|
1175
|
-
${_t}
|
|
1176
|
-
`,Gn=r.button`
|
|
1177
|
-
${_t}
|
|
1178
|
-
|
|
1179
|
-
/* The page you are on is the one solid control in the row, which is how the design marks it. */
|
|
1180
|
-
&[aria-current='page'] {
|
|
1181
|
-
background: ${t.colors.softWhite};
|
|
1182
|
-
border-color: ${t.colors.softWhite};
|
|
1183
|
-
color: ${t.colors.text};
|
|
1184
|
-
cursor: default;
|
|
1185
|
-
}
|
|
1186
|
-
&[aria-current='page']:hover {
|
|
1187
|
-
background: ${t.colors.softWhite};
|
|
1188
|
-
color: ${t.colors.text};
|
|
1189
|
-
}
|
|
1190
|
-
`,Qn=r.span`
|
|
1191
|
-
padding: 0 2px;
|
|
1192
|
-
font-family: ${t.font.sans};
|
|
1193
|
-
font-size: 12px;
|
|
1194
|
-
color: ${t.colors.gray4};
|
|
1195
|
-
`;r.span`
|
|
1196
|
-
display: inline-flex;
|
|
1197
|
-
align-items: center;
|
|
1198
|
-
gap: 2px;
|
|
1199
|
-
`;const Jn=r.span`
|
|
1200
|
-
font-size: 11px;
|
|
1201
|
-
font-weight: 700;
|
|
1202
|
-
letter-spacing: 0.04em;
|
|
1203
|
-
text-transform: uppercase;
|
|
1204
|
-
border-radius: ${t.radius.chip};
|
|
1205
|
-
padding: 2px 7px;
|
|
1206
|
-
white-space: nowrap;
|
|
1207
|
-
color: ${t.colors.gray4};
|
|
1208
|
-
background: ${t.colors.overlayLight};
|
|
1209
|
-
|
|
1210
|
-
&[data-kind='mint'] {
|
|
1211
|
-
color: ${t.colors.navViolet};
|
|
1212
|
-
background: rgba(105, 31, 169, 0.1);
|
|
1213
|
-
}
|
|
1214
|
-
`;r.img`
|
|
1215
|
-
width: 1em;
|
|
1216
|
-
height: 1em;
|
|
1217
|
-
vertical-align: -0.125em;
|
|
1218
|
-
margin-right: 3px;
|
|
1219
|
-
`;const Zn=r.button`
|
|
1220
|
-
display: block;
|
|
1221
|
-
width: 100%;
|
|
1222
|
-
padding: 13px 18px;
|
|
1223
|
-
border: 0;
|
|
1224
|
-
border-top: 1px solid ${t.colors.cardLine};
|
|
1225
|
-
background: none;
|
|
1226
|
-
cursor: pointer;
|
|
1227
|
-
font-family: ${t.font.sans};
|
|
1228
|
-
font-size: 13px;
|
|
1229
|
-
font-weight: 600;
|
|
1230
|
-
color: ${t.colors.navViolet};
|
|
1231
|
-
|
|
1232
|
-
&:hover {
|
|
1233
|
-
background: ${t.colors.glassFaint};
|
|
1234
|
-
}
|
|
1235
|
-
&:focus-visible {
|
|
1236
|
-
outline: 2px solid ${t.colors.navViolet};
|
|
1237
|
-
outline-offset: -2px;
|
|
1238
|
-
}
|
|
1239
|
-
`;r.div`
|
|
1240
|
-
display: flex;
|
|
1241
|
-
flex-direction: column;
|
|
1242
|
-
gap: 4px;
|
|
1243
|
-
padding: 10px 18px 14px;
|
|
1244
|
-
border-top: 1px solid ${t.colors.cardLine};
|
|
1245
|
-
`;r.p`
|
|
1246
|
-
margin: 0;
|
|
1247
|
-
font-family: ${t.font.sans};
|
|
1248
|
-
font-size: 11px;
|
|
1249
|
-
line-height: 1.45;
|
|
1250
|
-
color: ${t.colors.muted2};
|
|
1251
|
-
`;const Ft=`
|
|
1252
|
-
background: linear-gradient(100deg, var(--skeleton-lo) 30%, var(--skeleton-hi) 50%, var(--skeleton-lo) 70%);
|
|
1253
|
-
background-size: 200% 100%;
|
|
1254
|
-
animation: shimmer 1.3s infinite linear;
|
|
1255
|
-
|
|
1256
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1257
|
-
animation: none;
|
|
1258
|
-
}
|
|
1259
|
-
`,b=r.span`
|
|
1260
|
-
display: block;
|
|
1261
|
-
height: 12px;
|
|
1262
|
-
border-radius: 100px;
|
|
1263
|
-
${Ft}
|
|
1264
|
-
`,Xn=r.span`
|
|
1265
|
-
display: block;
|
|
1266
|
-
width: 40px;
|
|
1267
|
-
height: 40px;
|
|
1268
|
-
border-radius: ${t.radius.btn};
|
|
1269
|
-
${Ft}
|
|
1270
|
-
`,ft=r.div`
|
|
1271
|
-
display: grid;
|
|
1272
|
-
grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 100px minmax(0, 0.5fr) 70px;
|
|
1273
|
-
align-items: center;
|
|
1274
|
-
gap: 12px;
|
|
1275
|
-
padding: 0 18px 10px;
|
|
1276
|
-
|
|
1277
|
-
> *:last-child {
|
|
1278
|
-
justify-self: end;
|
|
1279
|
-
}
|
|
1280
|
-
background: ${t.colors.overlayStrong};
|
|
1281
|
-
border-radius: ${t.radius.card} ${t.radius.card} 0 0;
|
|
1282
|
-
`,gt=r.div`
|
|
1283
|
-
display: grid;
|
|
1284
|
-
grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 100px minmax(0, 0.5fr) 70px;
|
|
1285
|
-
align-items: center;
|
|
1286
|
-
gap: 12px;
|
|
1287
|
-
height: 57px;
|
|
1288
|
-
padding: 0 18px;
|
|
1289
|
-
background: ${t.colors.overlay};
|
|
1290
|
-
border-top: 2px solid transparent;
|
|
1291
|
-
background-clip: padding-box;
|
|
1292
|
-
|
|
1293
|
-
> *:last-child {
|
|
1294
|
-
justify-self: end;
|
|
1295
|
-
}
|
|
1296
|
-
`,me=r.p`
|
|
1297
|
-
margin: 0;
|
|
1298
|
-
font-family: ${t.font.sans};
|
|
1299
|
-
font-size: 13px;
|
|
1300
|
-
color: ${t.colors.gray4};
|
|
1301
|
-
`,eo=r(_)`
|
|
1302
|
-
width: 16px;
|
|
1303
|
-
height: 16px;
|
|
1304
|
-
`,We=r.span`
|
|
1305
|
-
display: inline-flex;
|
|
1306
|
-
align-items: center;
|
|
1307
|
-
gap: 4px;
|
|
1308
|
-
font-family: ${t.font.sans};
|
|
1309
|
-
font-size: 12px;
|
|
1310
|
-
font-weight: 600;
|
|
1311
|
-
line-height: 1.3;
|
|
1312
|
-
flex-wrap: wrap;
|
|
1313
|
-
color: ${t.colors.gray4};
|
|
1314
|
-
|
|
1315
|
-
&[data-dir='up'] {
|
|
1316
|
-
color: ${t.colors.successBorder};
|
|
1317
|
-
}
|
|
1318
|
-
&[data-dir='down'] {
|
|
1319
|
-
color: #ff6b6b;
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
/* Grey whichever way the figure went: it is the label, not the reading. */
|
|
1323
|
-
.delta__against {
|
|
1324
|
-
font-size: 10px;
|
|
1325
|
-
font-weight: 400;
|
|
1326
|
-
color: ${t.colors.gray4};
|
|
1327
|
-
}
|
|
1328
|
-
.delta__arrow {
|
|
1329
|
-
font-size: 10px;
|
|
1330
|
-
line-height: 1;
|
|
1331
|
-
}
|
|
1332
|
-
`,to=r.div`
|
|
1333
|
-
margin: 10px 0 -4px;
|
|
1334
|
-
`,so=r.h2`
|
|
1335
|
-
margin: 0;
|
|
1336
|
-
font-family: ${t.font.sans};
|
|
1337
|
-
font-size: 19px;
|
|
1338
|
-
font-weight: 700;
|
|
1339
|
-
letter-spacing: -0.01em;
|
|
1340
|
-
color: ${t.colors.softWhite};
|
|
1341
|
-
`,no=r.p`
|
|
1342
|
-
margin: 4px 0 0;
|
|
1343
|
-
font-family: ${t.font.sans};
|
|
1344
|
-
font-size: 13px;
|
|
1345
|
-
color: rgba(252, 252, 252, 0.62);
|
|
1346
|
-
`,oo=r.div`
|
|
1347
|
-
display: grid;
|
|
1348
|
-
grid-template-columns: repeat(auto-fit, minmax(210px, 300px));
|
|
1349
|
-
gap: 14px;
|
|
1350
|
-
align-items: start;
|
|
1351
|
-
|
|
1352
|
-
${t.media.maxWidth("mobile")} {
|
|
1353
|
-
grid-template-columns: minmax(0, 1fr);
|
|
1354
|
-
}
|
|
1355
|
-
`,ao=r(De)`
|
|
1356
|
-
thead th:nth-of-type(1) {
|
|
1357
|
-
width: 40%;
|
|
1358
|
-
}
|
|
1359
|
-
thead th:nth-of-type(2) {
|
|
1360
|
-
width: 16%;
|
|
1361
|
-
}
|
|
1362
|
-
thead th:nth-of-type(3) {
|
|
1363
|
-
width: 20%;
|
|
1364
|
-
}
|
|
1365
|
-
thead th:nth-of-type(4) {
|
|
1366
|
-
width: 12%;
|
|
1367
|
-
}
|
|
1368
|
-
thead th:nth-of-type(5) {
|
|
1369
|
-
width: 12%;
|
|
1370
|
-
}
|
|
1371
|
-
`;r.div`
|
|
1372
|
-
display: grid;
|
|
1373
|
-
grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
|
|
1374
|
-
gap: 14px;
|
|
1375
|
-
align-items: start;
|
|
1376
|
-
|
|
1377
|
-
${t.media.maxWidth("lg")} {
|
|
1378
|
-
grid-template-columns: minmax(0, 1fr);
|
|
1379
|
-
}
|
|
1380
|
-
`;r.div`
|
|
1381
|
-
display: flex;
|
|
1382
|
-
flex-direction: column;
|
|
1383
|
-
gap: 14px;
|
|
1384
|
-
`;const Me=r.span`
|
|
1385
|
-
display: inline-flex;
|
|
1386
|
-
align-items: center;
|
|
1387
|
-
justify-content: flex-end;
|
|
1388
|
-
|
|
1389
|
-
[data-kind] img,
|
|
1390
|
-
[data-kind] .ico {
|
|
1391
|
-
vertical-align: baseline;
|
|
1392
|
-
}
|
|
1393
|
-
`,io=r.span`
|
|
1394
|
-
font-family: ${t.font.sans};
|
|
1395
|
-
font-size: 14px;
|
|
1396
|
-
font-weight: 600;
|
|
1397
|
-
font-variant-numeric: tabular-nums;
|
|
1398
|
-
white-space: nowrap;
|
|
1399
|
-
text-align: center;
|
|
1400
|
-
|
|
1401
|
-
/* One weight and one colour, as the design draws it: the pair is a single reading ("80 of 250"), and
|
|
1402
|
-
dimming the denominator made the two halves look like different figures. */
|
|
1403
|
-
small {
|
|
1404
|
-
font-size: inherit;
|
|
1405
|
-
font-weight: inherit;
|
|
1406
|
-
}
|
|
1407
|
-
`,ro=r.span`
|
|
1408
|
-
display: flex;
|
|
1409
|
-
flex-direction: column;
|
|
1410
|
-
align-items: center;
|
|
1411
|
-
justify-content: center;
|
|
1412
|
-
gap: 4px;
|
|
1413
|
-
min-width: 0;
|
|
1414
|
-
font-family: ${t.font.sans};
|
|
1415
|
-
font-size: 12px;
|
|
1416
|
-
color: ${t.colors.gray4};
|
|
1417
|
-
text-align: center;
|
|
1418
|
-
`,lo=r.span`
|
|
1419
|
-
display: inline-flex;
|
|
1420
|
-
flex-wrap: wrap;
|
|
1421
|
-
justify-content: center;
|
|
1422
|
-
gap: 8px;
|
|
1423
|
-
`,co=r(ss)`
|
|
1424
|
-
align-self: center;
|
|
1425
|
-
gap: 4px;
|
|
1426
|
-
padding: 2px 4px;
|
|
1427
|
-
border: 0;
|
|
1428
|
-
border-radius: 6px;
|
|
1429
|
-
background: ${t.colors.saleTag};
|
|
1430
|
-
line-height: 20px;
|
|
1431
|
-
|
|
1432
|
-
b,
|
|
1433
|
-
span {
|
|
1434
|
-
font-size: 14px;
|
|
1435
|
-
line-height: 20px;
|
|
1436
|
-
}
|
|
1437
|
-
`,ho=r(bs)`
|
|
1438
|
-
align-self: center;
|
|
1439
|
-
gap: 4px;
|
|
1440
|
-
padding: 4px 8px;
|
|
1441
|
-
border-radius: 6px;
|
|
1442
|
-
background: ${t.colors.glass};
|
|
1443
|
-
color: ${t.colors.white};
|
|
1444
|
-
|
|
1445
|
-
b {
|
|
1446
|
-
color: ${t.colors.white};
|
|
1447
|
-
font-size: 12px;
|
|
1448
|
-
line-height: 16px;
|
|
1449
|
-
}
|
|
1450
|
-
`,po=r.span`
|
|
1451
|
-
color: ${t.colors.muted2};
|
|
1452
|
-
|
|
1453
|
-
b {
|
|
1454
|
-
font-weight: 600;
|
|
1455
|
-
}
|
|
1456
|
-
/* Whether it is selling faster carries the only colour in the cell, since it is the only judgement. */
|
|
1457
|
-
&[data-dir='up'] b {
|
|
1458
|
-
color: #2ecc71;
|
|
1459
|
-
}
|
|
1460
|
-
&[data-dir='down'] b {
|
|
1461
|
-
color: #ff6b6b;
|
|
1462
|
-
}
|
|
1463
|
-
`,Le=r.div`
|
|
1464
|
-
display: flex;
|
|
1465
|
-
align-items: center;
|
|
1466
|
-
justify-content: space-between;
|
|
1467
|
-
gap: 12px;
|
|
1468
|
-
font-family: ${t.font.sans};
|
|
1469
|
-
font-size: 13px;
|
|
1470
|
-
color: ${t.colors.gray4};
|
|
1471
|
-
|
|
1472
|
-
${t.media.maxWidth("mobile")} {
|
|
1473
|
-
flex-direction: column;
|
|
1474
|
-
align-items: stretch;
|
|
1475
|
-
}
|
|
1476
|
-
`,mo=r.div`
|
|
1477
|
-
display: flex;
|
|
1478
|
-
align-items: center;
|
|
1479
|
-
justify-content: space-between;
|
|
1480
|
-
gap: 12px;
|
|
1481
|
-
|
|
1482
|
-
${t.media.maxWidth("mobile")} {
|
|
1483
|
-
flex-wrap: wrap;
|
|
1484
|
-
}
|
|
1485
|
-
`,uo=r.div`
|
|
1486
|
-
display: flex;
|
|
1487
|
-
align-items: center;
|
|
1488
|
-
gap: 10px;
|
|
1489
|
-
min-width: 0;
|
|
1490
|
-
`,xo=r(Ct)`
|
|
1491
|
-
display: inline-flex;
|
|
1492
|
-
align-items: center;
|
|
1493
|
-
justify-content: center;
|
|
1494
|
-
gap: 8px;
|
|
1495
|
-
height: 36px;
|
|
1496
|
-
padding: 0 12px;
|
|
1497
|
-
border: 0.5px solid ${t.colors.white};
|
|
1498
|
-
border-radius: 12px;
|
|
1499
|
-
background: transparent;
|
|
1500
|
-
color: ${t.colors.softWhite};
|
|
1501
|
-
font-size: 13px;
|
|
1502
|
-
font-weight: 600;
|
|
1503
|
-
letter-spacing: 0.46px;
|
|
1504
|
-
text-transform: uppercase;
|
|
1505
|
-
|
|
1506
|
-
&:hover:not(:disabled) {
|
|
1507
|
-
background: ${t.colors.glassFaint};
|
|
1508
|
-
color: ${t.colors.softWhite};
|
|
1509
|
-
}
|
|
1510
|
-
`,fo=r.span`
|
|
1511
|
-
display: inline-flex;
|
|
1512
|
-
align-items: center;
|
|
1513
|
-
justify-content: center;
|
|
1514
|
-
gap: 6px;
|
|
1515
|
-
font-family: ${t.font.sans};
|
|
1516
|
-
font-size: 14px;
|
|
1517
|
-
font-weight: 600;
|
|
1518
|
-
font-variant-numeric: tabular-nums;
|
|
1519
|
-
white-space: nowrap;
|
|
1520
|
-
`,go=r.span`
|
|
1521
|
-
display: inline-flex;
|
|
1522
|
-
align-items: center;
|
|
1523
|
-
justify-content: flex-end;
|
|
1524
|
-
gap: 5px;
|
|
1525
|
-
font-family: ${t.font.sans};
|
|
1526
|
-
font-size: 13px;
|
|
1527
|
-
font-variant-numeric: tabular-nums;
|
|
1528
|
-
color: ${t.colors.gray4};
|
|
1529
|
-
white-space: nowrap;
|
|
1530
|
-
|
|
1531
|
-
.ico {
|
|
1532
|
-
width: 14px;
|
|
1533
|
-
height: 14px;
|
|
1534
|
-
}
|
|
1535
|
-
`,Nt=r.div`
|
|
1536
|
-
display: grid;
|
|
1537
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1538
|
-
gap: 14px;
|
|
1539
|
-
/* Stretched rather than start-aligned: the sales rows carry a second line and the best sellers do not,
|
|
1540
|
-
so the two will never end together on their own, and two cards of different heights side by side read
|
|
1541
|
-
as one of them having failed to load. */
|
|
1542
|
-
|
|
1543
|
-
${t.media.maxWidth("lg")} {
|
|
1544
|
-
grid-template-columns: minmax(0, 1fr);
|
|
1545
|
-
}
|
|
1546
|
-
`,yt=r.p`
|
|
1547
|
-
margin: 2px 0 0;
|
|
1548
|
-
font-family: ${t.font.sans};
|
|
1549
|
-
font-size: 13px;
|
|
1550
|
-
color: ${t.colors.gray4};
|
|
1551
|
-
`,bt=r.div`
|
|
1552
|
-
display: flex;
|
|
1553
|
-
align-items: flex-start;
|
|
1554
|
-
justify-content: space-between;
|
|
1555
|
-
gap: 12px;
|
|
1556
|
-
`,yo=r(ie)`
|
|
1557
|
-
display: inline-flex;
|
|
1558
|
-
align-items: center;
|
|
1559
|
-
gap: 6px;
|
|
1560
|
-
flex: none;
|
|
1561
|
-
color: ${t.colors.white};
|
|
1562
|
-
font-family: ${t.font.sans};
|
|
1563
|
-
font-size: 12px;
|
|
1564
|
-
font-weight: 600;
|
|
1565
|
-
letter-spacing: 0.04em;
|
|
1566
|
-
text-transform: uppercase;
|
|
1567
|
-
text-decoration: underline;
|
|
1568
|
-
|
|
1569
|
-
&:hover {
|
|
1570
|
-
color: ${t.colors.navViolet};
|
|
1571
|
-
}
|
|
1572
|
-
`,wt=r.span`
|
|
1573
|
-
display: inline-block;
|
|
1574
|
-
min-width: 12px;
|
|
1575
|
-
font-weight: 700;
|
|
1576
|
-
font-variant-numeric: tabular-nums;
|
|
1577
|
-
color: ${t.colors.gray4};
|
|
1578
|
-
`,jt=r.span`
|
|
1579
|
-
display: flex;
|
|
1580
|
-
align-items: center;
|
|
1581
|
-
gap: 12px;
|
|
1582
|
-
min-width: 0;
|
|
1583
|
-
`,Et=`
|
|
1584
|
-
thead th,
|
|
1585
|
-
tbody td {
|
|
1586
|
-
padding-left: 12px;
|
|
1587
|
-
padding-right: 12px;
|
|
1588
|
-
}
|
|
1589
|
-
`,bo=r(De)`
|
|
1590
|
-
min-width: 500px;
|
|
1591
|
-
${Et}
|
|
1592
|
-
|
|
1593
|
-
thead th:nth-of-type(1) {
|
|
1594
|
-
width: 46%;
|
|
1595
|
-
}
|
|
1596
|
-
thead th:nth-of-type(2) {
|
|
1597
|
-
width: 26%;
|
|
1598
|
-
}
|
|
1599
|
-
thead th:nth-of-type(3) {
|
|
1600
|
-
width: 72px;
|
|
1601
|
-
}
|
|
1602
|
-
thead th:nth-of-type(4) {
|
|
1603
|
-
width: 96px;
|
|
1604
|
-
}
|
|
1605
|
-
`,wo=r(De)`
|
|
1606
|
-
min-width: 580px;
|
|
1607
|
-
${Et}
|
|
1608
|
-
|
|
1609
|
-
thead th:nth-of-type(1) {
|
|
1610
|
-
width: 34%;
|
|
1611
|
-
}
|
|
1612
|
-
thead th:nth-of-type(2) {
|
|
1613
|
-
width: 22%;
|
|
1614
|
-
}
|
|
1615
|
-
thead th:nth-of-type(3) {
|
|
1616
|
-
width: 70px;
|
|
1617
|
-
}
|
|
1618
|
-
thead th:nth-of-type(4) {
|
|
1619
|
-
width: 140px;
|
|
1620
|
-
}
|
|
1621
|
-
thead th:nth-of-type(5) {
|
|
1622
|
-
width: 76px;
|
|
1623
|
-
}
|
|
1624
|
-
`,jo=r.span`
|
|
1625
|
-
display: flex;
|
|
1626
|
-
flex-direction: column;
|
|
1627
|
-
gap: 3px;
|
|
1628
|
-
min-width: 0;
|
|
1629
|
-
`,So=["7d","30d","all"],ge=8,ye=5,Dt="shop.my-store.sort",ko=["sold","selling","newest","name"];function $o(){try{const s=localStorage.getItem(Dt);return ko.includes(s)?s:"sold"}catch{return"sold"}}function vo(s){try{localStorage.setItem(Dt,s)}catch{}}function Co(s,n){const o=[...s];return n==="name"?o.sort((l,a)=>l.name.localeCompare(a.name)):n==="newest"?o.sort((l,a)=>(a.createdAt??0)-(l.createdAt??0)):n==="selling"?o.sort((l,a)=>Number(l.exhausted)-Number(a.exhausted)||a.sold-l.sold||l.name.localeCompare(a.name)):o.sort((l,a)=>a.sold-l.sold||l.name.localeCompare(a.name))}function St(s,n,o){return ee(`/item/${s}/${n}`,o)}function ee(s,n){return n?`${s}${s.includes("?")?"&":"?"}env=${n}`:s}function Ao(s,n){if(n==null)return null;const o=s.minted-n;return o>0?o:null}const Io={website:"website",twitter:"x-twitter",discord:"discord",facebook:"facebook"},be=5;function Wo(s,n){if(n<=5)return Array.from({length:n},(a,u)=>u);const o=[s-1,s,s+1].filter(a=>a>0&&a<n-1),l=[0];return o[0]>1&&l.push("gap"),l.push(...o),o[o.length-1]<n-2&&l.push("gap"),l.push(n-1),l}function Te({page:s,pages:n,onChange:o,name:l}){return n<=1?null:e.jsxs(Yn,{"aria-label":i("myStore.pagination"),children:[e.jsx(xt,{type:"button",onClick:()=>o(Math.max(0,s-1)),disabled:s===0,"aria-label":i("myStore.prev"),"data-testid":`store-${l}-prev`,children:e.jsx(_,{name:"chevron-down",size:16,"aria-hidden":!0,style:{transform:"rotate(90deg)"}})}),Wo(s,n).map((a,u)=>a==="gap"?e.jsx(Qn,{children:"…"},`gap-${u}`):e.jsx(Gn,{type:"button","aria-current":a===s?"page":void 0,onClick:()=>o(a),"data-testid":`store-${l}-page-${a+1}`,children:(a+1).toLocaleString()},a)),e.jsx(xt,{type:"button",onClick:()=>o(Math.min(n-1,s+1)),disabled:s>=n-1,"aria-label":i("myStore.next"),"data-testid":`store-${l}-next`,children:e.jsx(_,{name:"chevron-down",size:16,"aria-hidden":!0,style:{transform:"rotate(-90deg)"}})})]})}function Mo(s,n,o){var w,T;const l={"7d":7,"30d":30,all:null}[n],a=$.useMemo(()=>Math.floor(Date.now()/864e5)*864e5+864e5-1,[]),u=l?a-l*864e5:void 0,x=B({queryKey:["store-sales-page",s,n,o],enabled:!!s,placeholderData:h=>h,queryFn:()=>Ps({seller:s,from:u},{first:be,skip:o*be})}),p=((w=x.data)==null?void 0:w.total)??0;return{rows:((T=x.data)==null?void 0:T.rows)??[],total:p,pages:Math.ceil(p/be)}}function kt(s){return B({queryKey:["store-buyers",s],enabled:s.length>0,staleTime:5*6e4,queryFn:()=>gs(s)})}function $t(s,n){var l;const o=(l=n==null?void 0:n.get(s.toLowerCase()))==null?void 0:l.name;return o?At(o):fs(s)}function Lo(s){return te.previewHost&&s==="1"}const To=25000n;function zo(s){return s*To/1000000n}function R(s){const n=Number(s/10n**14n)/1e4;return n>=10?Math.round(n).toLocaleString():n.toFixed(2)}function vt(s){const n=Math.max(1,Math.round((Date.now()-s)/6e4));if(n<60)return i("myStore.agoMinutes",{n});const o=Math.round(n/60);return o<24?i("myStore.agoHours",{n:o}):i("myStore.agoDays",{n:Math.round(o/24)})}function Po({series:s}){const n=$.useId(),o=Math.max(...s,0),l=s.length>1?92/(s.length-1):0,a=p=>o===0?27:27-p/o*22,x=s.map((p,w)=>`${(2+w*l).toFixed(1)} ${a(p).toFixed(1)}`).join(" L ");return o===0?e.jsx(dt,{viewBox:"0 0 96 30",role:"img","aria-label":i("myStore.trendNone"),children:e.jsx("path",{d:"M2 27 L94 27",fill:"none",stroke:t.colors.cardLine,strokeWidth:"2",strokeLinecap:"round"})}):e.jsxs(dt,{viewBox:"0 0 96 30",role:"img","aria-label":i("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:t.colors.dclRed}),e.jsx("stop",{offset:"1",stopColor:t.colors.flareAmber})]}),e.jsxs("linearGradient",{id:`${n}-fill`,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:t.colors.dclRed,stopOpacity:"0.26"}),e.jsx("stop",{offset:"1",stopColor:t.colors.dclRed,stopOpacity:"0"})]})]}),e.jsx("path",{d:`M ${x} L 94 29 L 2 29 Z`,fill:`url(#${n}-fill)`}),e.jsx("path",{d:`M ${x}`,fill:"none",stroke:`url(#${n})`,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function _o({collection:s,discount:n,savesByKey:o,open:l,onToggle:a,onManage:u,env:x}){var w,T;const p=`store-items-${s.contractAddress}`;return e.jsxs(e.Fragment,{children:[e.jsxs(Pt,{"data-testid":"store-collection","data-exhausted":s.exhausted||void 0,children:[e.jsx(vn,{type:"button","aria-expanded":l,"aria-controls":p,"aria-label":i(l?"myStore.collapse":"myStore.expand",{name:s.name}),onClick:a,"data-testid":"store-collection-toggle",children:e.jsx(eo,{name:"chevron-down",className:"ico","aria-hidden":!0})}),e.jsx(Cn,{"data-testid":"store-collection-thumb",children:e.jsx(hs,{contractAddress:s.contractAddress})}),e.jsxs(Wn,{children:[e.jsxs(In,{children:[e.jsx(ie,{to:ee(`/collection/${s.contractAddress}`,x),"data-testid":"store-collection-name",children:s.name}),s.exhausted?e.jsx(An,{"data-testid":"store-collection-soldout",children:i("myStore.collExhausted")}):null]}),e.jsxs(Mn,{children:[i("myStore.itemsCount",{count:s.items.length}),s.listed>0?` · ${i("myStore.listedCount",{count:s.listed})}`:"",!s.exhausted&&s.soldOut>0?` · ${i("myStore.soldOutCount",{count:s.soldOut})}`:""]})]}),e.jsx(ro,{"data-testid":"store-collection-discount",children:n?e.jsxs(e.Fragment,{children:[e.jsxs(lo,{children:[e.jsx(co,{pct:n.discount/1e4}),e.jsx(ho,{until:n.checks.expiration})]}),e.jsx(po,{children:$s(n)?i("myStore.discountUsed",{used:((w=n.state)==null?void 0:w.uses)??0,total:n.checks.uses}):i("myStore.discountUsedUncapped",{used:((T=n.state)==null?void 0:T.uses)??0})})]}):i("myStore.noDiscountShort")}),e.jsxs(io,{"data-testid":"store-collection-claimed",children:[s.claimed.toLocaleString(),e.jsxs("small",{children:["/",s.runTotal.toLocaleString()]})]}),e.jsxs(fo,{"data-testid":"store-collection-earned",children:[e.jsx(O,{kind:"mana"}),R(s.earningsWei)]}),e.jsx(Ln,{children:e.jsx(Po,{series:s.trend})}),e.jsxs(xo,{as:"a",href:`${te.builderUrl}/collections/${s.collectionId}`,target:"_blank",rel:"noopener noreferrer",onClick:u,"data-testid":"store-manage",children:[i("myStore.manage"),e.jsx(_,{name:"external-link",size:14,"aria-hidden":!0})]})]}),l?e.jsxs(Tn,{id:p,"data-testid":"store-items",children:[e.jsxs(zn,{"data-testid":"store-collection-stats",children:[e.jsxs("span",{children:[e.jsxs("b",{children:[e.jsx(O,{kind:"mana"}),R(s.earningsWei)]}),i("myStore.collEarned")]}),e.jsxs("span",{children:[e.jsx("b",{children:s.sold.toLocaleString()}),i("myStore.collSold")]}),e.jsxs("span",{children:[e.jsx("b",{children:s.items.length}),i("myStore.collItems",{count:s.items.length})]}),e.jsxs("span",{children:[e.jsx("b",{children:s.listed+s.classic}),i("myStore.collListed")]})]}),s.items.map(h=>{const z=Ao(h,h.lifetimeSold);return e.jsxs(Pn,{"data-testid":"store-item",children:[e.jsx(_n,{style:{backgroundImage:_e(h.rarity)},children:h.thumbnail?e.jsx("img",{src:h.thumbnail,alt:"",loading:"lazy"}):null}),e.jsxs(Fn,{children:[e.jsx(Dn,{to:ee(`/item/${s.contractAddress}/${h.itemId}`,x),title:h.name,children:h.name}),e.jsxs(Nn,{children:[e.jsx(En,{style:{background:us(h.rarity)},title:ms(h.rarity),children:ps(h.rarity)}),e.jsx(Rn,{"data-state":h.state,children:h.state==="soldout"?null:h.state==="unlisted"?i("myStore.stateUnlisted"):h.state==="unknown"?i("myStore.stateUnknown"):e.jsxs(e.Fragment,{children:[e.jsx(qn,{children:i("myStore.onSaleFor")}),h.manaWei?e.jsxs(e.Fragment,{children:[e.jsx(O,{kind:"mana"}),R(F(h.manaWei))]}):e.jsxs(e.Fragment,{children:[e.jsx(O,{kind:"credits"}),e.jsx(xs,{credits:h.priceCredits??0})]})]})})]})]}),e.jsxs(On,{children:[h.sold.toLocaleString(),e.jsxs("small",{children:[" ",i("myStore.sold")]})]}),e.jsxs(go,{"data-testid":"store-item-saves",title:i("myStore.savesHint",{count:o.get(h.key)??0}),children:[e.jsx(_,{name:"heart",className:"ico","aria-hidden":!0}),(o.get(h.key)??0).toLocaleString()]}),e.jsx(Bn,{role:"progressbar","aria-valuemin":0,"aria-valuemax":h.minted+h.left,"aria-valuenow":h.minted,"aria-label":i("myStore.runAria",{minted:h.minted,total:h.minted+h.left}),children:e.jsx("i",{style:{width:`${Math.round(h.minted/Math.max(1,h.minted+h.left)*100)}%`}})}),e.jsxs(Hn,{title:h.lifetimeSold==null?void 0:i("myStore.runBreakdown",{total:h.minted+h.left,sold:h.lifetimeSold,sent:h.minted-h.lifetimeSold,left:h.left}),children:[e.jsx(Kn,{"data-out":h.left===0,"data-testid":"store-item-stock",children:It(h.left===0?"myStore.stockNone":"myStore.stockLeft",{b:v=>e.jsx("b",{children:v}),left:h.left.toLocaleString(),total:(h.minted+h.left).toLocaleString()})}),z?e.jsx(Un,{"data-testid":"store-item-issued",children:i("myStore.sentDirectly",{count:z.toLocaleString()})}):null]})]},h.key)})]}):null]})}function ze(s){return!!s&&!(s.current===0&&s.previous===0)}function Pe({delta:s,period:n}){if(!s||s.current===0&&s.previous===0)return null;const o=n==="all"?"":i(`myStore.vs${n}`);if(s.pct===null)return e.jsxs(We,{"data-dir":"new","data-testid":"store-delta",children:[i("myStore.deltaNew"),o?e.jsx("span",{className:"delta__against",children:o}):null]});const l=Math.round(s.pct);if(l===0)return e.jsxs(We,{"data-dir":"flat","data-testid":"store-delta",children:[i("myStore.deltaFlat"),o?e.jsx("span",{className:"delta__against",children:o}):null]});const a=l>0,x=l>=1e3?i("myStore.deltaTimes",{times:Math.round(l/100+1).toLocaleString()}):`${Math.abs(l)}%`;return e.jsxs(We,{"data-dir":a?"up":"down","data-testid":"store-delta","aria-label":i(a?"myStore.deltaUpAria":"myStore.deltaDownAria",{pct:x,against:o}),children:[e.jsx("span",{className:"delta__arrow","aria-hidden":!0,children:a?"▲":"▼"}),x,o?e.jsx("span",{className:"delta__against",children:o}):null]})}function Fo(){return e.jsxs("div",{"data-testid":"store-skeleton","aria-hidden":!0,children:[e.jsx(Mt,{children:[0,1,2,3].map(s=>e.jsxs(q,{children:[e.jsx(b,{style:{width:"46%"}}),e.jsx(b,{style:{width:"32%",height:38}}),e.jsx(b,{style:{width:"64%",height:15}})]},s))}),e.jsxs(U,{style:{marginTop:22},children:[e.jsxs(fe,{children:[e.jsx(b,{style:{width:96,height:14}}),e.jsx(b,{style:{width:120}})]}),e.jsxs(zt,{children:[e.jsxs(Tt,{"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:ge},(s,n)=>e.jsxs(Pt,{children:[e.jsx("span",{}),e.jsx(Xn,{}),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(Zn,{as:"div",children:e.jsx(b,{style:{width:150,height:13,margin:"0 auto"}})})]}),e.jsx(Nt,{style:{marginTop:22},children:[0,1].map(s=>e.jsxs(U,{children:[e.jsxs(fe,{children:[e.jsx(b,{style:{width:110,height:14}}),e.jsx(b,{style:{width:80}})]}),e.jsx(ft,{children:[0,1,2,3].map(n=>e.jsx(b,{style:{width:46,height:9}},n))}),Array.from({length:be},(n,o)=>e.jsxs(gt,{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))]},s))}),e.jsxs(U,{style:{marginTop:22},children:[e.jsxs(fe,{children:[e.jsx(b,{style:{width:104,height:14}}),e.jsx(b,{style:{width:90}})]}),e.jsx(ft,{children:[0,1,2,3,4].map(s=>e.jsx(b,{style:{width:46,height:9}},s))}),Array.from({length:ye},(s,n)=>e.jsxs(gt,{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 na(){var Ze,Xe;ns({title:i("myStore.title"),noindex:!0});const{session:s,error:n,signIn:o}=os(),[l]=Qt(),[a,u]=$.useState("30d"),[x,p]=$.useState(()=>new Set),[w,T]=$.useState(0),[h,z]=$.useState(0),[v,N]=$.useState(!1),[E,K]=$.useState($o),[se,ne]=$.useState(0),[D,V]=$.useState(!1),A=as(),L=is(),S=Lo(l.get("mock")),y=l.get("env"),P=Jt("/").replace(/\/$/,""),c=d=>`${P}${d}`,f=S;function g(d,k={}){f||cs(d,k)}const{data:j}=rs(s==null?void 0:s.address),C=s==null?void 0:s.address,{data:M}=Cs(C),Oe=As.filter(d=>M==null?void 0:M.links[d]),Be=(Xe=(Ze=j==null?void 0:j.avatar)==null?void 0:Ze.snapshots)==null?void 0:Xe.face256,Re=j!=null&&j.name?At(j.name):null,{stats:Ot,trend:He,savesByKey:Bt,saleable:qe,isLoading:Rt,error:Ht}=Ks(s,a),m=S?Ee:Ot,W=S?{...He,collectors:Zs,buyers:Xs}:He,qt=S?!1:Rt,Ut=S?tn:Bt,we=Mo(s==null?void 0:s.address,a,h),re=S?nn:we.rows,Kt=$.useMemo(()=>[...new Set(re.map(d=>d.buyer.toLowerCase()))].sort(),[re]),{data:le,isLoading:Vt}=kt(Kt),je=Math.max(1,Math.ceil(W.buyers.length/ye)),de=Math.min(se,je-1),Se=$.useMemo(()=>W.buyers.slice(de*ye,(de+1)*ye),[W.buyers,de]),Yt=$.useMemo(()=>Se.map(d=>d.address).sort(),[Se]),{data:ce}=kt(Yt),{data:Gt}=js(s==null?void 0:s.address,A&&!!s),Ue=((m==null?void 0:m.collections)??[]).some(d=>d.exhausted),ke=E==="selling"&&!Ue?"sold":E,Ke=Math.max(1,Math.ceil(((m==null?void 0:m.collections.length)??0)/ge)),Ve=$.useMemo(()=>Co((m==null?void 0:m.collections)??[],ke),[m,ke]),$e=$.useMemo(()=>Bs((m==null?void 0:m.collections)??[]),[m]),he=Math.min(w,Ke-1),Ye=$.useMemo(()=>Ve.slice(he*ge,(he+1)*ge),[Ve,he]);if(L==="off")return e.jsx(Zt,{to:"/",replace:!0});if(!s&&!S)return e.jsxs(ls,{children:[e.jsx(ds,{testId:"my-store-signin",icon:Is,title:i("myStore.signInTitle"),body:i("myStore.signInBody"),cta:{label:i("storeSettings.signIn"),onClick:()=>o()},ctaVariant:"solid",fill:!0}),e.jsx(st,{message:n})]});const Ge=S?en:Gt,ve=new Map;for(const d of Ge??[])if(!(d.status!=="active"&&d.status!=="scheduled"))for(const k of d.collections)ve.set(k.toLowerCase(),d);const Qe=(Ge??[]).filter(d=>d.status==="active"||d.status==="scheduled"),Je=a==="7d"?7:a==="30d"?30:null,Ce=((m==null?void 0:m.collections)??[]).reduce((d,k)=>d+k.items.length,0);return e.jsx(Ms,{children:e.jsx(Ls,{children:e.jsxs(on,{"data-testid":"my-store",children:[v&&s?e.jsx(Ss,{session:s,collections:qe,onClose:()=>N(!1),source:"my_store",silent:f}):null,e.jsxs(an,{children:[e.jsxs(rn,{children:[e.jsx(dn,{style:Be?{backgroundImage:`url(${Be})`}:void 0,"data-testid":"store-avatar","aria-hidden":!0}),e.jsxs(ln,{children:[Re?e.jsx(cn,{children:Re}):null,e.jsxs(pn,{children:[e.jsx(hn,{children:i("myStore.title")}),m?e.jsxs(it,{children:[i("myStore.summary",{collections:m.collections.length,items:Ce}),Oe.length>0?e.jsx(fn,{"data-testid":"store-socials",children:Oe.map(d=>e.jsx(gn,{href:(M==null?void 0:M.links[d])??"",target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"social_link",link_type:d}),title:i(`creator.link.${d}`),"aria-label":i(`creator.link.${d}`),children:e.jsx(_,{name:Io[d],className:"ico","aria-hidden":!0})},d))}):null]}):e.jsx(it,{children:e.jsx(b,{style:{width:170,background:"rgba(252, 252, 252, 0.18)",animation:"none"}})})]})]})]}),e.jsxs(mn,{children:[C?e.jsxs(un,{href:c(ee(`/items/creator/${C}`,y)),target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"view_public_store"}),"data-testid":"store-view-public",children:[i("myStore.viewPublicStore"),e.jsx(_,{name:"external-link",className:"ico","aria-hidden":!0})]}):null,e.jsxs(xn,{to:ee("/store-settings",y),state:{from:"/my-store"},onClick:()=>g("Shop Clicked Store Action",{action:"edit_store"}),"data-testid":"store-edit",children:[e.jsx(_,{name:"pen",className:"ico","aria-hidden":!0}),i("myStore.editStore")]})]})]}),e.jsxs(yn,{children:[e.jsx(bn,{children:i("myStore.performance")}),e.jsx(wn,{role:"group","aria-label":i("myStore.period"),children:So.map(d=>e.jsx(jn,{type:"button","aria-pressed":a===d,onClick:()=>{d!==a&&g("Shop Changed Store Period",{period:d,previous_period:a}),u(d),z(0)},"data-testid":`store-period-${d}`,children:i(`myStore.period${d}`)},d))})]}),e.jsx(st,{message:Ht?i("myStore.error"):null,testId:"my-store-error"}),qt||!m?e.jsx(Fo,{}):e.jsxs(e.Fragment,{children:[e.jsxs(Mt,{"aria-label":i("myStore.summaryAria"),children:[e.jsxs(q,{children:[e.jsxs(Q,{children:[i("myStore.tileSold"),e.jsx(J,{"aria-hidden":!0,children:"🛍️"})]}),e.jsx(Z,{children:e.jsx("span",{"data-testid":"store-sold",children:m.sold.toLocaleString()})}),e.jsxs(X,{children:[e.jsx(Pe,{delta:W.sold,period:a}),!ze(W.sold)&&(m.sold===0?i("myStore.tileSoldNone"):m.resales===0?i("myStore.tileSoldFootMintsOnly",{mints:m.mints}):i("myStore.tileSoldFoot",{mints:m.mints,resales:m.resales}))]})]}),e.jsxs(q,{children:[e.jsxs(Q,{children:[i("myStore.tileEarnings"),e.jsx(J,{"aria-hidden":!0,children:"💰"})]}),e.jsxs(Z,{children:[e.jsx(O,{kind:"mana"}),R(m.earningsWei),e.jsx(rt,{children:i("myStore.manaUnit")})]}),e.jsxs(X,{children:[e.jsx(Pe,{delta:W.earnings,period:a}),m.partial?e.jsxs(e.Fragment,{children:[e.jsx(lt,{children:i("myStore.estimate")})," ",i("myStore.tileEarningsPartial")]}):ze(W.earnings)?null:i("myStore.tileEarningsFoot")]})]}),e.jsxs(q,{children:[e.jsxs(Q,{children:[i("myStore.tileListed"),e.jsx(J,{"aria-hidden":!0,children:"🏷️"})]}),e.jsxs(Z,{children:[m.listed+m.classic,e.jsx(rt,{children:i("myStore.ofTotal",{n:Ce})})]}),e.jsx(X,{children:Ce===0?i("myStore.tileListedNone"):i("myStore.tileListedFoot",{count:m.neverListed})})]}),e.jsxs(q,{children:[e.jsxs(Q,{children:[i("myStore.tileDiscounts"),e.jsx(J,{"aria-hidden":!0,children:"🔥"})]}),e.jsx(Z,{"data-testid":"store-discounts",children:Qe.length}),e.jsx(X,{children:Qe.length>0?i("myStore.tileDiscountsFoot"):i("myStore.tileDiscountsNone")})]})]}),m.classic>0&&!D?e.jsx(ks,{count:m.classic,reason:"discounts",to:ee("/activity?section=listings",y),onDismiss:()=>{g("Shop Clicked Store Action",{action:"dismiss_pricing_banner",classic_items:m.classic}),V(!0)},onCta:()=>g("Shop Clicked Store Action",{action:"update_prices",classic_items:m.classic})}):null,e.jsxs(U,{"aria-labelledby":"store-coll-h",children:[e.jsxs(mo,{children:[e.jsx(pe,{id:"store-coll-h",children:i("myStore.collectionsCount",{count:m.collections.length})}),e.jsxs(uo,{children:[m.collections.length>1?e.jsx(kn,{options:[{value:"sold",label:i("myStore.sortSold")},...Ue?[{value:"selling",label:i("myStore.sortSelling")}]:[],...m.collections.some(d=>d.createdAt)?[{value:"newest",label:i("myStore.sortNewest")}]:[],{value:"name",label:i("myStore.sortName")}],value:ke,onChange:d=>{g("Shop Sorted Store Collections",{sort:d}),K(d),vo(d)},align:"right",ariaLabel:i("myStore.sortBy"),className:"store-sort"}):null,S||A&&s&&qe.length>0?e.jsxs(Ct,{variant:"red",size:"sm",onClick:()=>N(!0),"data-testid":"store-new-discount",children:[e.jsx("span",{"aria-hidden":!0,children:"🔥"}),i("myStore.newDiscount")]}):null]})]}),m.collections.length===0?e.jsx(me,{children:i("myStore.noCollections")}):e.jsx(e.Fragment,{children:e.jsxs(zt,{children:[e.jsxs(Tt,{"aria-hidden":!0,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{children:i("myStore.colCollection")}),e.jsx("span",{children:i("myStore.colDiscounts")}),e.jsx("span",{children:i("myStore.colClaimed")}),e.jsx("span",{children:i("myStore.colEarnings")}),e.jsx("span",{children:Je?i("myStore.colTrend",{days:Je}):i("myStore.colTrendAll")}),e.jsx("span",{children:i("myStore.colActions")})]}),Ye.map(d=>e.jsx(_o,{collection:d,discount:ve.get(d.contractAddress)??null,savesByKey:Ut,env:y,open:x.has(d.contractAddress),onToggle:()=>{x.has(d.contractAddress)||g("Shop Expanded Store Collection",{contract_address:d.contractAddress,items:d.items.length,exhausted:d.exhausted,has_discount:ve.has(d.contractAddress)}),p(k=>{const I=new Set(k);return I.delete(d.contractAddress)||I.add(d.contractAddress),I})},onManage:()=>g("Shop Clicked Store Action",{action:"manage_collection",contract_address:d.contractAddress})},d.contractAddress))]})}),m.collections.length>0?e.jsxs(Le,{children:[e.jsxs("span",{"data-testid":"store-showing",children:[i("myStore.showingOf",{shown:Ye.length.toLocaleString(),total:m.collections.length.toLocaleString()}),m.breakdownPartial?e.jsxs(e.Fragment,{children:[" · ",i("myStore.soldPartial",{n:m.fetched.toLocaleString()})]}):null]}),e.jsx(Te,{page:he,pages:Ke,onChange:d=>{g("Shop Paged Store Table",{table:"collections",page:d+1}),T(d)},name:"collections"})]}):null]}),e.jsxs(Nt,{children:[e.jsxs(U,{"aria-labelledby":"store-best-h",children:[e.jsx(bt,{children:e.jsxs("div",{children:[e.jsx(pe,{id:"store-best-h",children:i("myStore.bestSellers")}),e.jsxs(yt,{children:[i("myStore.bestSellersSub",{n:$e.length}),m.breakdownPartial?e.jsxs(e.Fragment,{children:[" · ",i("myStore.soldPartial",{n:m.fetched.toLocaleString()})]}):null]})]})}),$e.length===0?e.jsx(me,{children:i("myStore.noBestSellers")}):e.jsx(Ie,{children:e.jsxs(bo,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:e.jsxs(jt,{children:[e.jsx(wt,{"aria-hidden":!0,children:"#"}),i("myStore.colItem")]})}),e.jsx("th",{scope:"col",children:i("myStore.colCollection")}),e.jsx("th",{scope:"col",style:{textAlign:"center"},children:i("myStore.colSold")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:i("myStore.colEarnings")})]})}),e.jsx("tbody",{children:$e.map((d,k)=>e.jsxs("tr",{"data-testid":"store-best",children:[e.jsx("td",{children:e.jsxs(jt,{children:[e.jsx(wt,{children:k+1}),e.jsxs(ht,{as:"a",href:c(St(d.contractAddress,d.itemId,y)),target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_item",table:"best_sellers",rank:k+1}),"data-testid":"store-best-item",children:[e.jsx(pt,{style:{backgroundImage:_e(d.rarity)},children:d.thumbnail?e.jsx("img",{src:d.thumbnail,alt:"",loading:"lazy"}):null}),e.jsx("span",{children:d.name})]})]})}),e.jsx("td",{"data-dim":!0,children:d.collectionName}),e.jsx("td",{style:{textAlign:"center",fontWeight:600},"data-testid":"store-best-sold",children:d.sold.toLocaleString()}),e.jsx("td",{"data-money":!0,children:e.jsxs(Me,{children:[e.jsx(O,{kind:"mana"}),R(d.earnedWei)]})})]},d.key))})]})})]}),e.jsxs(U,{"aria-labelledby":"store-feed-h",children:[e.jsxs(bt,{children:[e.jsxs("div",{children:[e.jsx(pe,{id:"store-feed-h",children:i("myStore.recentSales")}),e.jsx(yt,{children:i("myStore.recentSalesSub")})]}),e.jsxs(yo,{to:"/activity",onClick:()=>g("Shop Clicked Store Action",{action:"view_all_sales"}),children:[i("myStore.viewAll"),e.jsx(_,{name:"arrow-up-right",size:14,"aria-hidden":!0})]})]}),re.length===0?e.jsx(me,{children:i("myStore.noSales")}):e.jsx(Ie,{children:e.jsxs(wo,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:i("myStore.colItem")}),e.jsx("th",{scope:"col",children:i("myStore.colCollection")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:i("myStore.colPrice")}),e.jsx("th",{scope:"col",children:i("myStore.colBuyer")}),e.jsx("th",{scope:"col",children:i("myStore.colDate")})]})}),e.jsx("tbody",{children:re.map(d=>{var et,tt;const k=m.collections.find(Ae=>Ae.contractAddress===d.contractAddress.toLowerCase()),I=k==null?void 0:k.items.find(Ae=>Ae.itemId===d.itemId),Y=le==null?void 0:le.get(d.buyer.toLowerCase()),oe=(tt=(et=Y==null?void 0:Y.avatar)==null?void 0:et.snapshots)==null?void 0:tt.face256;return e.jsxs("tr",{"data-testid":"store-sale",children:[e.jsx("td",{children:e.jsxs(ht,{as:d.itemId?"a":"span",...d.itemId?{href:c(St(d.contractAddress,d.itemId,y)),target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_item",table:"recent_sales"}),"data-testid":"store-sale-item"}:{},children:[e.jsx(pt,{style:{backgroundImage:_e(I==null?void 0:I.rarity)},children:I!=null&&I.thumbnail?e.jsx("img",{src:I.thumbnail,alt:"",loading:"lazy"}):null}),e.jsxs(jo,{children:[e.jsx("span",{children:(I==null?void 0:I.name)??(k==null?void 0:k.name)??d.itemId??i("myStore.unknownItem")}),e.jsx(ue,{content:i("myStore.kindHint"),children:e.jsx(Jn,{"data-kind":d.type,"data-testid":"store-kind-hint",children:d.type==="mint"?i("myStore.kindMint"):i("myStore.kindResale")})})]})]})}),e.jsx("td",{"data-dim":!0,children:(k==null?void 0:k.name)??"—"}),e.jsx("td",{"data-money":!0,children:e.jsxs(Me,{children:[e.jsx(O,{kind:"mana"}),R(F(d.price))]})}),e.jsx("td",{children:Vt?e.jsxs(Vn,{"aria-hidden":!0,children:[e.jsx("i",{}),e.jsx("b",{})]}):e.jsxs(mt,{href:`${te.profileUrl}/${d.buyer}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_buyer",table:"recent_sales"}),"data-testid":"store-sale-buyer",children:[e.jsx(ut,{style:oe?{backgroundImage:`url(${oe})`}:void 0,"aria-hidden":!0}),$t(d.buyer,le)]})}),e.jsx("td",{"data-dim":!0,children:vt(d.timestamp)})]},d.id)})})]})}),we.pages>1?e.jsxs(Le,{children:[e.jsx("span",{}),e.jsx(Te,{page:h,pages:we.pages,onChange:d=>{g("Shop Paged Store Table",{table:"recent_sales",page:d+1}),z(d)},name:"sales"})]}):null]})]}),e.jsxs(to,{children:[e.jsx(so,{id:"store-audience-h",children:i("myStore.audience")}),e.jsx(no,{children:i("myStore.audienceSub")})]}),e.jsxs(oo,{children:[e.jsxs(q,{children:[e.jsxs(Q,{children:[e.jsxs("span",{children:[i("myStore.tileCollectors"),e.jsx(ue,{content:i("myStore.collectorsHint"),children:e.jsx(ct,{type:"button","aria-label":i("myStore.tileCollectors"),"data-testid":"store-collectors-hint",children:e.jsx(_,{name:"info",className:"ico","aria-hidden":!0})})})]}),e.jsx(J,{"aria-hidden":!0,children:"👥"})]}),e.jsx(Z,{"data-testid":"store-collectors",children:W.collectors.total.toLocaleString()}),e.jsx(X,{children:W.collectors.total===0?i("myStore.tileCollectorsNone"):e.jsxs(e.Fragment,{children:[m.breakdownPartial?e.jsxs(e.Fragment,{children:[e.jsx(lt,{children:i("myStore.estimate")})," "]}):null,W.collectors.topSharePct>=50?i("myStore.tileCollectorsConcentrated",{pct:Math.floor(W.collectors.topSharePct)}):i("myStore.tileCollectorsFoot",{repeat:W.collectors.repeat,pct:Math.round(W.collectors.repeatPct)})]})})]}),m.royalties?e.jsxs(q,{children:[e.jsxs(Q,{children:[e.jsxs("span",{children:[i("myStore.tileRoyalties"),e.jsx(ue,{content:i("myStore.royaltiesHint"),children:e.jsx(ct,{type:"button","aria-label":i("myStore.tileRoyalties"),"data-testid":"store-royalties-hint",children:e.jsx(_,{name:"info",className:"ico","aria-hidden":!0})})})]}),e.jsx(J,{"aria-hidden":!0,children:"🔁"})]}),e.jsxs(Z,{"data-testid":"store-royalties",children:[e.jsx(Sn,{children:"≈"}),e.jsx(O,{kind:"mana"}),R(zo(m.royalties.volumeWei))]}),e.jsxs(X,{children:[e.jsx(Pe,{delta:W.royalties,period:a}),ze(W.royalties)?null:e.jsx("span",{children:It("myStore.tileRoyaltiesFoot",{m:d=>e.jsxs(e.Fragment,{children:[e.jsx(O,{kind:"mana"}),d]}),count:m.royalties.resales,volume:R(m.royalties.volumeWei)})})]})]}):null]}),e.jsxs(U,{"aria-labelledby":"store-buyers-h",children:[e.jsxs(fe,{children:[e.jsx(pe,{id:"store-buyers-h",children:i("myStore.buyers")}),e.jsx($n,{children:i("myStore.buyersHint")})]}),W.buyers.length===0?e.jsx(me,{"data-testid":"store-buyers-none",children:i("myStore.noBuyers")}):e.jsx(Ie,{children:e.jsxs(ao,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:i("myStore.colBuyer")}),e.jsx("th",{scope:"col",children:i("myStore.colItems")}),e.jsx("th",{scope:"col",children:i("myStore.colCollections")}),e.jsx("th",{scope:"col",children:i("myStore.colLast")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:i("myStore.colSpent")})]})}),e.jsx("tbody",{children:Se.map(d=>{var I,Y,oe;const k=(oe=(Y=(I=ce==null?void 0:ce.get(d.address))==null?void 0:I.avatar)==null?void 0:Y.snapshots)==null?void 0:oe.face256;return e.jsxs("tr",{"data-testid":"store-buyer",children:[e.jsx("td",{children:e.jsxs(mt,{href:`${te.profileUrl}/${d.address}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>g("Shop Clicked Store Action",{action:"open_buyer",table:"buyers"}),"data-testid":"store-buyer-name",children:[e.jsx(ut,{style:k?{backgroundImage:`url(${k})`}:void 0,"aria-hidden":!0}),$t(d.address,ce)]})}),e.jsx("td",{"data-dim":!0,children:i("myStore.buyerItems",{count:d.items})}),e.jsx("td",{"data-dim":!0,children:i("myStore.buyerCollections",{count:d.collections})}),e.jsx("td",{"data-dim":!0,children:vt(d.lastAt)}),e.jsx("td",{"data-money":!0,children:e.jsxs(Me,{children:[e.jsx(O,{kind:"mana"}),R(d.spentWei)]})})]},d.address)})})]})}),je>1?e.jsxs(Le,{children:[e.jsx("span",{}),e.jsx(Te,{page:de,pages:je,onChange:d=>{g("Shop Paged Store Table",{table:"buyers",page:d+1}),ne(d)},name:"buyers"})]}):null]})]})]})})})}export{na as MyStore,na as default};
|
|
1630
|
-
//# sourceMappingURL=MyStore-DfX_q7UW.js.map
|