@dcl/shop 1.17.2-36157867735.commit-7431f7b → 1.17.2-36417112568.commit-e2afc81

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.
Files changed (245) hide show
  1. package/_assets/{Activity-CE6Jeo_T.js → Activity-ahc1cGJr.js} +6 -6
  2. package/_assets/{AnimatedBackground-D5MFl62Y.js → AnimatedBackground-umIp23wl.js} +2 -2
  3. package/_assets/{Assets-COp5lo1c.js → Assets-DwelGvtu.js} +7 -7
  4. package/_assets/{Cart-CXTYKHB4.js → Cart-nnTbuXqE.js} +2 -2
  5. package/_assets/{Collection-D6GAA887.js → Collection-OO-CXfeg.js} +2 -2
  6. package/_assets/{CollectionCarousel-C_r2HthR.js → CollectionCarousel-Dg2NBx67.js} +5 -5
  7. package/_assets/{Confetti-DPZN6qJi.js → Confetti-DF67ec9x.js} +4 -4
  8. package/_assets/{ConstantsUtil-C6ody29O.js → ConstantsUtil-C4MAR3n5.js} +2 -2
  9. package/_assets/{ContentClient-C03rRrUz.js → ContentClient-CeSQQmZ0.js} +2 -2
  10. package/_assets/{Creator-Chq_3FKW.js → Creator-BgQvXwOl.js} +2 -2
  11. package/_assets/{CreditPackPicker-yPm96IIv.js → CreditPackPicker-Cksr3kzu.js} +2 -2
  12. package/_assets/{CreditRate-BxqKLfaA.js → CreditRate-CRu68bxJ.js} +2 -2
  13. package/_assets/{DeploymentBuilder-B2QubYgD.js → DeploymentBuilder-7eFv_frV.js} +2 -2
  14. package/_assets/{EmotePlaybackBar-Cp9UGu_L.js → EmotePlaybackBar-CdhQyQNk.js} +5 -5
  15. package/_assets/{ErrorNotice-D_6j8-7f.js → ErrorNotice-YylntVIF.js} +2 -2
  16. package/_assets/{Event-v8GnBTyC.js → Event-jynjm47j.js} +2 -2
  17. package/_assets/{ExchangeController-CE3cQOVu.js → ExchangeController-BPmmrC-n.js} +2 -2
  18. package/_assets/{Faq-Dfduj2eM.js → Faq-DuTr6ePB.js} +2 -2
  19. package/_assets/{Filters-CdMOVmbU.js → Filters-CXCCoPfU.js} +2 -2
  20. package/_assets/{GetCredits-BS--XoK-.js → GetCredits-CFErpq-L.js} +2 -2
  21. package/_assets/{Grow-CPeuefrF.js → Grow-C46NVYT_.js} +2 -2
  22. package/_assets/{HelpersUtil-B_SruwGa.js → HelpersUtil-CvEYQ_bN.js} +2 -2
  23. package/_assets/{IssueModal-D_PS_2Xk.js → IssueModal-CdyJ5U3J.js} +2 -2
  24. package/_assets/{ItemDetail-DBAHPIQO.js → ItemDetail-D9tzUCK_.js} +46 -46
  25. package/_assets/{LoadMore-CM5ykem-.js → LoadMore-1l5kVCpI.js} +2 -2
  26. package/_assets/{ManaPricingBanner-CZzRxND3.js → ManaPricingBanner-Bpt7PE5u.js} +2 -2
  27. package/_assets/{ManaPricingBanner.styles-B10EKkra.js → ManaPricingBanner.styles-DsEi0tgF.js} +2 -2
  28. package/_assets/{MyAssets-Fhl2lazZ.js → MyAssets-BUo6c0_2.js} +2 -2
  29. package/_assets/{MyFavorites-DqyQ-SFM.js → MyFavorites-C6mXW5Jl.js} +2 -2
  30. package/_assets/MyStore-D3H6JCYZ.js +2008 -0
  31. package/_assets/{NetworkUtil-iL8rkdmy.js → NetworkUtil-C4JZB8Ae.js} +2 -2
  32. package/_assets/{NotFound-sBVYlhk3.js → NotFound-D1YOGdVu.js} +2 -2
  33. package/_assets/{NotificationsBell-TdDjFO5P.js → NotificationsBell-BOYDhVk6.js} +13 -13
  34. package/_assets/{OutfitDetail-BBsCNaaP.js → OutfitDetail-BGIocC8Y.js} +2 -2
  35. package/_assets/{OutfitPreview-BTJ-IIEH.js → OutfitPreview-tuw000fG.js} +2 -2
  36. package/_assets/{OutfitStudio-DXHZfbf9.js → OutfitStudio-Cyr31rH6.js} +2 -2
  37. package/_assets/{PaymentMethodStep-Ob8YI_SL.js → PaymentMethodStep-hPpJP-Wl.js} +2 -2
  38. package/_assets/{SaleCountdown-KX9dNqTp.js → SaleCountdown-D75asuMy.js} +2 -2
  39. package/_assets/{Spinner-DKskpIEZ.js → Spinner-BvrhyD7L.js} +2 -2
  40. package/_assets/{StoreSettings-Bia_W-8Q.js → StoreSettings-24Sax-kk.js} +2 -2
  41. package/_assets/{Success-2dVHPO-2.js → Success-BPEXgiYa.js} +2 -2
  42. package/_assets/{SwapController-CbFqSpFg.js → SwapController-DLrZ30eq.js} +2 -2
  43. package/_assets/{Tooltip-DFrRznAp.js → Tooltip-2to0FtD5.js} +2 -2
  44. package/_assets/{TradeService-CDS_PfTn.js → TradeService-BroAtYDK.js} +2 -2
  45. package/_assets/{W3MFrameProviderSingleton-C4KtItmg.js → W3MFrameProviderSingleton-DtsX-WLb.js} +4 -4
  46. package/_assets/{WebCryptoP256-CbiRbOjq.js → WebCryptoP256-CA91XWV0.js} +2 -2
  47. package/_assets/{basic-BufXGp2F.js → basic-BRxJpd6n.js} +2 -2
  48. package/_assets/{biconomy-BR1CMfhe.js → biconomy-C8WZJfrn.js} +2 -2
  49. package/_assets/{browseLayout.styles-DF9DTUfO.js → browseLayout.styles-DySdp3ol.js} +2 -2
  50. package/_assets/{browser-qc2dUFk5.js → browser-Bsk1yKVj.js} +2 -2
  51. package/_assets/{browser-DqwPlfZs.js → browser-gnLUFKwX.js} +2 -2
  52. package/_assets/{browser-ponyfill-DqHLL_k5.js → browser-ponyfill-1RGXVE2_.js} +2 -2
  53. package/_assets/{buy-BiTHthT9.js → buy-DY-mMt7w.js} +2 -2
  54. package/_assets/{buy-gasless-CTp90Dvn.js → buy-gasless-BLW3WNLa.js} +2 -2
  55. package/_assets/{ccip-DZfLdErH.js → ccip-CdHrlR0T.js} +2 -2
  56. package/_assets/{ccip-rfpBm5bL.js → ccip-Dhy3aii9.js} +2 -2
  57. package/_assets/{chains-BWqZ-nYk.js → chains-w-LqjG8V.js} +2 -2
  58. package/_assets/{collectionPage.styles-Db2PBFNG.js → collectionPage.styles-DTKFRnJt.js} +4 -4
  59. package/_assets/{common-BfXnUVAM.js → common-ClyopIw2.js} +2 -2
  60. package/_assets/{controller-ZXDDsCxP.js → controller-BLFxGiru.js} +3 -3
  61. package/_assets/{core-DfE8LCjh.js → core-Cgo171jk.js} +5 -5
  62. package/_assets/{createSvgIcon-BUkltLfu.js → createSvgIcon-DFZIXrO2.js} +2 -2
  63. package/_assets/{crumbs.styles-R8odPxFR.js → crumbs.styles-DNbofwyV.js} +2 -2
  64. package/_assets/{custom-DKOD0xYg.js → custom-CzL3ZDy6.js} +2 -2
  65. package/_assets/{data-capture-C3eH7C_s.js → data-capture-oFjjsPXO.js} +2 -2
  66. package/_assets/{dcl-schemas-BW3BbT5l.js → dcl-schemas-CIgtuOoU.js} +2 -2
  67. package/_assets/{decimals-BI0yoEux.js → decimals-BEHcGzvL.js} +2 -2
  68. package/_assets/{decimals-DQJMb7J9.js → decimals-DAXns5g7.js} +2 -2
  69. package/_assets/{detectExtension-C_GbFz5_.js → detectExtension-5E6hSqod.js} +2 -2
  70. package/_assets/{disposePreview-5Jddp9do.js → disposePreview-DmN3QW2F.js} +2 -2
  71. package/_assets/{email-D4HLC7wh.js → email-Pd0tOznC.js} +2 -2
  72. package/_assets/{embedded-wallet-CMbzkthX.js → embedded-wallet-C-nyyiA9.js} +2 -2
  73. package/_assets/{emotion-styled.browser.esm-B6eszsio.js → emotion-styled.browser.esm-C-347kjK.js} +2 -2
  74. package/_assets/{engine-BA9Hr8Az.js → engine-DgLHXCvQ.js} +2 -2
  75. package/_assets/{errors-DnOSpKoV.js → errors-CGpVjZew.js} +2 -2
  76. package/_assets/{estimate-l1-fee-BZt36dEW.js → estimate-l1-fee-DMNF6VY5.js} +2 -2
  77. package/_assets/{eth_estimateGas-mNInGC82.js → eth_estimateGas-DU3yHXo0.js} +2 -2
  78. package/_assets/{eth_getStorageAt-CW3VLsR7.js → eth_getStorageAt-CZXlYseH.js} +2 -2
  79. package/_assets/{eth_getTransactionCount-DGbTHobL.js → eth_getTransactionCount-BPBkSCUe.js} +2 -2
  80. package/_assets/{ethereum-Cez4WhJf.js → ethereum-BcnV2ali.js} +2 -2
  81. package/_assets/{ethers-DGYWmyb1.js → ethers-B_gMX7bu.js} +2 -2
  82. package/_assets/{events-YMZCt1yV.js → events-Dn3_sDeB.js} +2 -2
  83. package/_assets/{execute-CVxgGRa9.js → execute-67mwCNiO.js} +3 -3
  84. package/_assets/{extractIPFS-BdalrjY7.js → extractIPFS--4ktQwdZ.js} +2 -2
  85. package/_assets/{features-BPD34bt1.js → features-xb712O6d.js} +2 -2
  86. package/_assets/{fetchTokenMetadata-DOlcjXZI.js → fetchTokenMetadata-CROm5iEy.js} +3 -3
  87. package/_assets/{field.styles-CIXh24AQ.js → field.styles-B7GpVroz.js} +2 -2
  88. package/_assets/{fortmatic-DGrmZpu1.js → fortmatic-DxnTmpwf.js} +2 -2
  89. package/_assets/{get-bytecode-N2OV9nFo.js → get-bytecode-Cn7VPjuQ.js} +2 -2
  90. package/_assets/{get-ecosystem-wallet-info-CVK-PjWL.js → get-ecosystem-wallet-info-CziI2Mp5.js} +2 -2
  91. package/_assets/{getBalance-BEz0Zoiv.js → getBalance-CXpOqiRi.js} +3 -3
  92. package/_assets/{getInstalledModules-AznSDC44.js → getInstalledModules-C97rQKkl.js} +2 -2
  93. package/_assets/{getNFT-VxK16uv_.js → getNFT-BEDez5yk.js} +2 -2
  94. package/_assets/{getNFT-aR5kSoWa.js → getNFT-CMUK9Jkt.js} +3 -3
  95. package/_assets/{grid.styles-CVQcD_5t.js → grid.styles-CTCw781a.js} +2 -2
  96. package/_assets/{hashTypedData-ywahqODz.js → hashTypedData-CkWSwa_M.js} +2 -2
  97. package/_assets/{hashTypedData-ByCdES4z.js → hashTypedData-DrTnE0Uo.js} +2 -2
  98. package/_assets/{import-CPlDKdWo.js → import-C7TsYQy9.js} +2 -2
  99. package/_assets/{in-app-D43FjnXM.js → in-app-XCTtPdXb.js} +2 -2
  100. package/_assets/{in-app-wallet-calls-DmZ4pxIH.js → in-app-wallet-calls-Bf-KUvJ0.js} +2 -2
  101. package/_assets/{index-C_2eXgm7.js → index-3z3h-sWT.js} +2 -2
  102. package/_assets/{index-7s_cYB0r.js → index-Ao40Rh7v.js} +2 -2
  103. package/_assets/{index-Bf_iGaP5.js → index-B0icZDm6.js} +2 -2
  104. package/_assets/{index-DZaHlbE_.js → index-B1mdfGb_.js} +2 -2
  105. package/_assets/{index-BfZKaxHs.js → index-B3d1HVPO.js} +3 -3
  106. package/_assets/{index-CzV7sMdy.js → index-B47x5iYD.js} +4 -4
  107. package/_assets/{index-CT7NzvvO.js → index-B5aKYuFu.js} +2 -2
  108. package/_assets/{index-Bf74R1qS.js → index-BFiJHg3T.js} +2 -2
  109. package/_assets/{index-BBS-v8LD.js → index-BJQicl8s.js} +72 -72
  110. package/_assets/{index-CU2OselF.js → index-BKceaYFO.js} +2 -2
  111. package/_assets/{index-DtS7bQfE.js → index-BLs6tbd1.js} +2 -2
  112. package/_assets/{index-Tz82vi2e.js → index-BNBdrKN8.js} +2 -2
  113. package/_assets/{index-DR9_Mkt6.js → index-BS1m5BmZ.js} +2 -2
  114. package/_assets/{index-BMak5rZb.js → index-Baur_xj6.js} +2 -2
  115. package/_assets/{index-C7Le7sHG.js → index-BiZ6sDat.js} +3 -3
  116. package/_assets/{index-BkdjGh-W.js → index-BmEcJIFr.js} +2 -2
  117. package/_assets/{index-feJ6CP8x.js → index-Bx2Yr0I1.js} +3 -3
  118. package/_assets/{index-B67Ropoe.js → index-BxZY3R6O.js} +3 -3
  119. package/_assets/{index-DSwxHrMr.js → index-Bx_cH1nn.js} +2 -2
  120. package/_assets/{index-CLpLBvH2.js → index-ByfsdepO.js} +2 -2
  121. package/_assets/{index-BAAoctqn.js → index-Bz5aUY4R.js} +2 -2
  122. package/_assets/{index-0FaDHGAZ.js → index-C6iF-SQS.js} +2 -2
  123. package/_assets/{index-CSuaHD6u.js → index-C6lsb53t.js} +2 -2
  124. package/_assets/{index-PFt3YITh.js → index-C8Spvg7F.js} +2 -2
  125. package/_assets/index-CBA4W5FG.css +1 -0
  126. package/_assets/{index-y50hP8_O.js → index-CF8SkK1g.js} +2 -2
  127. package/_assets/{index-CHBzdW6M.js → index-CGXb1e0C.js} +2 -2
  128. package/_assets/{index-CnfBCYQg.js → index-CUbbKhDQ.js} +2 -2
  129. package/_assets/{index-mzIsCjWs.js → index-CYZGTT5Q.js} +2 -2
  130. package/_assets/{index-DIYb1IGB.js → index-CfRRbY4r.js} +4 -4
  131. package/_assets/{index-CY4_MrXH.js → index-Cg5J3PHn.js} +2 -2
  132. package/_assets/{index-ZDiu1J1j.js → index-Cx-907QR.js} +2 -2
  133. package/_assets/{index-BIDkjxTy.js → index-D0XUi2BW.js} +2 -2
  134. package/_assets/{index-T6hDl-2V.js → index-D0bdYV1m.js} +2 -2
  135. package/_assets/{index-guDRvZQ4.js → index-D6RUnASW.js} +2 -2
  136. package/_assets/{index-LxRrm7nL.js → index-D6bgolKH.js} +2 -2
  137. package/_assets/{index-bz3DaQP5.js → index-DBhKJzP1.js} +2 -2
  138. package/_assets/{index-ChIjTbh5.js → index-DEhC8LgS.js} +2 -2
  139. package/_assets/{index-D_2nYoM8.js → index-DIMycRNk.js} +2 -2
  140. package/_assets/{index-B7aqs-FR.js → index-DJFLeIP8.js} +2 -2
  141. package/_assets/{index-DyhsaJtc.js → index-DVNQ3djO.js} +2 -2
  142. package/_assets/{index-DZ53HgoK.js → index-DYNUrlyd.js} +2 -2
  143. package/_assets/{index-C2S4XG0R.js → index-D_LWbA_T.js} +2 -2
  144. package/_assets/{index-BUnaJjPH.js → index-D_YK6f10.js} +2 -2
  145. package/_assets/{index-tske-Qm0.js → index-Da0OIpMQ.js} +2 -2
  146. package/_assets/{index-Ci4_h86U.js → index-DcQgVGCL.js} +2 -2
  147. package/_assets/{index-DZ3S9SRN.js → index-Dd-2Y9li.js} +2 -2
  148. package/_assets/{index-W7W-N49f.js → index-DglMTc6w.js} +2 -2
  149. package/_assets/{index-CepaElib.js → index-DlYwkoh9.js} +2 -2
  150. package/_assets/{index-BFVKoQeh.js → index-Dm73DTNL.js} +2 -2
  151. package/_assets/{index-CxOeCVBB.js → index-DwfqzD3B.js} +2 -2
  152. package/_assets/{index-ox01jvxx.js → index-Dyai1waz.js} +2 -2
  153. package/_assets/{index-DhWCbjGh.js → index-IS7z8bF7.js} +2 -2
  154. package/_assets/{index-CeLw5QQ-.js → index-KcQBXzUD.js} +2 -2
  155. package/_assets/{index-cCjjJ8Zd.js → index-KtwMZa_D.js} +2 -2
  156. package/_assets/{index-BOyogbet.js → index-OvP5xDwc.js} +2 -2
  157. package/_assets/{index-gfZnCNa6.js → index-R_74jjrw.js} +2 -2
  158. package/_assets/{index-CNjrqKOs.js → index-SnM__nMN.js} +2 -2
  159. package/_assets/{index-v6-0TPZX.js → index-VGJY4m72.js} +3 -3
  160. package/_assets/{index-CgfbItO2.js → index-ZWBqYIeK.js} +2 -2
  161. package/_assets/{index-LRrTgDY0.js → index-hLobvkDU.js} +4 -4
  162. package/_assets/{index-DauMTBWE.js → index-lBF5zNbH.js} +2 -2
  163. package/_assets/{index-BUZUNt7Z.js → index-nAuGEnGp.js} +2 -2
  164. package/_assets/{index-CtoH5DSl.js → index-o1o23ELd.js} +2 -2
  165. package/_assets/{index-B8kJyL6G.js → index-pzFHM3no.js} +2 -2
  166. package/_assets/{index-DCSutgdw.js → index-rlHJmfTq.js} +2 -2
  167. package/_assets/{index-Cx1doNkB.js → index-srwTpss-.js} +2 -2
  168. package/_assets/{index-CA4CUNiy.js → index-ummDM-YW.js} +2 -2
  169. package/_assets/{index.es-_SlY0diQ.js → index.es-BgDLSDRr.js} +5 -5
  170. package/_assets/{index.es-DUQRyY8V.js → index.es-D5A8qSvl.js} +2 -2
  171. package/_assets/{index.es-D61fhzOk.js → index.es-DUGjvY5V.js} +2 -2
  172. package/_assets/{index.es-DrJv9QY8.js → index.es-mH1f8Pbn.js} +2 -2
  173. package/_assets/{items-empty-Dtl-YwtZ.js → items-empty-C2mQWlpa.js} +2 -2
  174. package/_assets/{jump-JCYO-k8J.js → jump-BKgEW1Uq.js} +2 -2
  175. package/_assets/{linkAccount-D_xpNX67.js → linkAccount-7AfjwEWc.js} +2 -2
  176. package/_assets/{loader-logo-k6aOBN-R.js → loader-logo-B2Di-_Ze.js} +2 -2
  177. package/_assets/{localBatchGatewayRequest-T0sFQZ26.js → localBatchGatewayRequest-Ku83V8tQ.js} +2 -2
  178. package/_assets/{modal.styles-BAz9vPux.js → modal.styles-DKyrrEDx.js} +2 -2
  179. package/_assets/{native-Fndcg4e5.js → native-CUblzjFD.js} +2 -2
  180. package/_assets/{networks-BkPPSIG9.js → networks-CslgB8gK.js} +2 -2
  181. package/_assets/{onramp-DCjZy1Yr.js → onramp-CBYpF4D5.js} +2 -2
  182. package/_assets/{openzeppelin-DWeyp33R.js → openzeppelin-V9W06b6g.js} +2 -2
  183. package/_assets/{ownerOf-D0cjIIIs.js → ownerOf-CaM3U2UN.js} +2 -2
  184. package/_assets/{parseNft-DCt8GvNK.js → parseNft-CQ5MCToI.js} +3 -3
  185. package/_assets/{parseSignature-BbjgUCSK.js → parseSignature-B-1Tq6oP.js} +4 -4
  186. package/_assets/{parseSignature-CtMzBmLG.js → parseSignature-Bq-XGU-C.js} +2 -2
  187. package/_assets/{passkeys-DUrjX8Ro.js → passkeys-BQJISQgw.js} +2 -2
  188. package/_assets/{pay-with-exchange-vAQgw-nO.js → pay-with-exchange-7MLwJdJf.js} +2 -2
  189. package/_assets/{prepare-contract-call-BitMGE96.js → prepare-contract-call-C2cYOhbO.js} +2 -2
  190. package/_assets/{qr-overlay-3Ogvmodj.js → qr-overlay-BLml90bO.js} +4 -4
  191. package/_assets/{react-Ddn-9d83.js → react-4P5sGbEq.js} +2 -2
  192. package/_assets/{receive-UBqFYKku.js → receive-D2DHGMs6.js} +2 -2
  193. package/_assets/{resolveImplementation-CoCWI1LK.js → resolveImplementation-LR6nB9QW.js} +2 -2
  194. package/_assets/{resume-buy-DqlXnoQq.js → resume-buy-PRghislR.js} +2 -2
  195. package/_assets/{resume-name-B5w3HYnd.js → resume-name-bHNOaad3.js} +2 -2
  196. package/_assets/{rpc-C-RDZHVf.js → rpc-Cm-DpE6F.js} +2 -2
  197. package/_assets/{sales-empty-DFvbsd1W.js → sales-empty-CkxAX5qQ.js} +2 -2
  198. package/_assets/{search-empty-D1Tausth.js → search-empty-CaBq2HkU.js} +2 -2
  199. package/_assets/{secp256k1-CAqSDg9Y.js → secp256k1-CKzcFiXH.js} +2 -2
  200. package/_assets/{secp256k1-CxMxDBug.js → secp256k1-Cp0CohWk.js} +2 -2
  201. package/_assets/{secp256k1-By6IQ83k.js → secp256k1-sqPtvBok.js} +2 -2
  202. package/_assets/{send-Dg3aA-cT.js → send-DCOMlceB.js} +2 -2
  203. package/_assets/{send-batch-transaction-CcGULLl4.js → send-batch-transaction-BsZh8Uk5.js} +2 -2
  204. package/_assets/{send-eip712-transaction-eRcl-w9x.js → send-eip712-transaction-CzOZcgLd.js} +3 -3
  205. package/_assets/{send-gasless-transaction-BVE00Z8q.js → send-gasless-transaction-B6XUAmSL.js} +3 -3
  206. package/_assets/{send-transaction-bNnxjmkm.js → send-transaction-D-XocUou.js} +3 -3
  207. package/_assets/{sendMetaTransaction-DaTro9ph.js → sendMetaTransaction-B2oQ5eKD.js} +2 -2
  208. package/_assets/{sendRawTransaction-Crv4h2Fe.js → sendRawTransaction-gnCQ4l70.js} +4 -4
  209. package/_assets/{sentry-D_8KijKQ.js → sentry-BhkK6fEK.js} +3 -3
  210. package/_assets/{serializeTransaction-CPg2ul-G.js → serializeTransaction-BaK3bRi1.js} +2 -2
  211. package/_assets/{session-proposal-Di1f8LHY.js → session-proposal-Dm-Nvcz-.js} +2 -2
  212. package/_assets/{session-request-R2yVi8HQ.js → session-request-CrQTuuP7.js} +3 -3
  213. package/_assets/{sha256-BhCi5WIJ.js → sha256-DBJDpCHg.js} +2 -2
  214. package/_assets/{sha3-CLQFMym7.js → sha3-70hRWHxs.js} +2 -2
  215. package/_assets/signin-empty-DoMTaEfj.js +2 -0
  216. package/_assets/{signing-BCODmgNV.js → signing-DCOM6x8H.js} +4 -4
  217. package/_assets/{skeleton.styles-anODpKJf.js → skeleton.styles-B8FT4bpt.js} +2 -2
  218. package/_assets/{socials-DShz1WgZ.js → socials-BPNH7uMf.js} +2 -2
  219. package/_assets/{styled-CbzE9JXd.js → styled-CdX_hwL4.js} +3 -3
  220. package/_assets/{swaps-BXF_khPF.js → swaps-DRg-0_cj.js} +2 -2
  221. package/_assets/{thirdweb-Cnc0UXDQ.js → thirdweb-DhUWHu_Q.js} +4 -4
  222. package/_assets/{to-serializable-transaction-DzZsdRzk.js → to-serializable-transaction-C68Txae9.js} +3 -3
  223. package/_assets/{totalSupply-D4EQMS5T.js → totalSupply-DGM7d1I-.js} +2 -2
  224. package/_assets/{trade-encoding-BdtZmg5A.js → trade-encoding-DcVwVU4D.js} +2 -2
  225. package/_assets/{transaction-Cbet3IZc.js → transaction-DShAG0ei.js} +2 -2
  226. package/_assets/{transactionReceipt-DSeG56jV.js → transactionReceipt-C7KPa1TY.js} +2 -2
  227. package/_assets/{transactions-B5gQmUHm.js → transactions-DMCLNnvd.js} +2 -2
  228. package/_assets/{useInfiniteGrid-C5wDaoVd.js → useInfiniteGrid-DS-eHJl3.js} +2 -2
  229. package/_assets/{useStore-wU9qkXc9.js → useStore-D4vtf_uM.js} +3 -3
  230. package/_assets/{useTheme-y50PSrCO.js → useTheme-DdgO2k0Y.js} +2 -2
  231. package/_assets/{utils-BGzZ7mCg.js → utils-Bhk-dfOy.js} +2 -2
  232. package/_assets/{verifyHash-I86XFFeN.js → verifyHash-COTUPfs3.js} +2 -2
  233. package/_assets/{w3m-modal-COSR0Fsr.js → w3m-modal-CO33DEWa.js} +2 -2
  234. package/_assets/{w3m-modal-Dz0XFS0k.js → w3m-modal-DI7gA3rB.js} +2 -2
  235. package/_assets/{wait-for-tx-receipt-C3zFGaKb.js → wait-for-tx-receipt-8S4DlVRa.js} +2 -2
  236. package/_assets/{wallets-BM2FKp9V.js → wallets-n81pe2QQ.js} +6 -6
  237. package/_assets/{web-connector-DXaUpGnD.js → web-connector-Cu8MU84-.js} +4 -4
  238. package/_assets/{writeContract-Bja8jWrS.js → writeContract-LG21efqR.js} +2 -2
  239. package/_assets/{zora-sepolia-B6FH_u_V.js → zora-sepolia-h86d5KkK.js} +2 -2
  240. package/_assets/{zoraTestnet-CDn6xrjW.js → zoraTestnet-V0TYbfom.js} +2 -2
  241. package/index.html +12 -12
  242. package/package.json +2 -2
  243. package/_assets/MyStore-B5e7oQJa.js +0 -1691
  244. package/_assets/index-qTkXqLEk.css +0 -1
  245. package/_assets/signin-empty-PXLDIsQk.js +0 -2
@@ -1,1691 +0,0 @@
1
- import{r as S,j as e,L as xe,u as gs,f as ys,N as bs}from"./react-Ddn-9d83.js";import{c as Y,bU as ws,w as q,l as Ss,cx as js,cy as ks,s as l,t as r,z as $s,a as s,I as B,ca as vs,H as Ht,B as Cs,x as As,X as Is,cc as Ms,cz as Ws,a6 as Ls,aH as Ut,aK as Ts,a2 as Ps,cA as Je,cB as Kt,O as _s,c9 as zs,ay as Es,az as Fs,aA as Ns,av as Bs,bO as Os,cC as Ds}from"./index-BBS-v8LD.js";import{f as Rs,S as qs}from"./SaleCountdown-KX9dNqTp.js";import{d as Hs}from"./dcl-schemas-BW3BbT5l.js";import{t as Us,u as Ks,C as Vs,M as Gs,i as Ys}from"./ManaPricingBanner-CZzRxND3.js";import{T as Ae}from"./Tooltip-DFrRznAp.js";import{m as Qs}from"./mana-matic-CEqvSwrJ.js";import{E as wt}from"./ErrorNotice-D_6j8-7f.js";import{I as Js}from"./IssueModal-D_PS_2Xk.js";import{f as Xs,g as Zs,R as en,M as tn}from"./browseLayout.styles-DF9DTUfO.js";import{u as sn,L as nn}from"./useStore-wU9qkXc9.js";import{s as on}from"./signin-empty-PXLDIsQk.js";import"./sentry-D_8KijKQ.js";import"./ethers-DGYWmyb1.js";import"./intl-AKLEHPeO.js";import"./errors-DnOSpKoV.js";import"./sha3-CLQFMym7.js";import"./browser-DqwPlfZs.js";import"./trade-encoding-BdtZmg5A.js";import"./sendMetaTransaction-DaTro9ph.js";import"./ManaPricingBanner.styles-B10EKkra.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="dd21abd8-1731-46a4-9a8d-1c9d24c3200b",t._sentryDebugIdIdentifier="sentry-dbid-dd21abd8-1731-46a4-9a8d-1c9d24c3200b")}catch{}})();function O(t){try{return BigInt(t||"0")}catch{return 0n}}async function St(t){var a;const n=new URLSearchParams({seller:t.seller});t.from!=null&&n.set("from",String(t.from)),t.to!=null&&n.set("to",String(t.to));const o=await fetch(`${Y.marketplaceServerUrl}/v1/sales/summary?${n.toString()}`);if(!o.ok)throw await((a=o.body)==null?void 0:a.cancel()),new Error(`fetchSalesSummary ${o.status}`);const{data:d}=await o.json();return d}function an(t){const n=new URLSearchParams;return t.seller&&n.set("seller",t.seller),t.contractAddress&&n.set("contractAddress",t.contractAddress),t.itemId!=null&&n.set("itemId",t.itemId),t.type&&n.set("type",t.type),t.from!=null&&n.set("from",String(t.from)),t.to!=null&&n.set("to",String(t.to)),n.set("first",String(t.first??100)),t.skip&&n.set("skip",String(t.skip)),n.set("sortBy","recently_sold"),n}async function Ze(t){var d;const n=await fetch(`${Y.marketplaceServerUrl}/v1/sales?${an(t).toString()}`);if(!n.ok)throw await((d=n.body)==null?void 0:d.cancel()),new Error(`fetchSales ${n.status}`);const o=await n.json();return{data:o.data??[],total:o.total??0}}async function rn(t){const{total:n}=await Ze({...t,first:1});return n}async function ln(t,{first:n,skip:o}){const{data:d,total:a}=await Ze({...t,first:n,skip:o});return{rows:d,total:a}}async function dn(t,{cap:n=5e3}={}){const d=[];let a=0;for(let h=0;h<n;h+=1e3){const m=Math.min(1e3,n-h),p=await Ze({...t,first:m,skip:h});if(a=p.total,d.push(...p.data),p.data.length<m||d.length>=a)break}return{rows:d,total:a,truncated:a>d.length}}const cn=864e5;function jt(t,n){return{current:t,previous:n,pct:n===0?null:(t-n)/n*100}}function hn(t,n){const o=n===0n?null:Number((t-n)*10000n/n)/100;return{current:Number(t),previous:Number(n),pct:o}}function pn(t,n=3){var m;const o=t.filter(Vt),d=new Map;for(const p of o){const w=p.buyer.toLowerCase();d.set(w,(d.get(w)??0)+1)}const a=[...d.entries()].sort((p,w)=>w[1]-p[1]||p[0].localeCompare(w[0])),h=a.filter(([,p])=>p>1).length;return{total:a.length,repeat:h,repeatPct:a.length===0?0:h/a.length*100,topSharePct:o.length===0?0:(((m=a[0])==null?void 0:m[1])??0)/o.length*100,top:a.slice(0,n).map(([p,w])=>({address:p,bought:w}))}}function Vt(t){return t.type==="mint"&&t.itemId!=null}function un(t,n){const o=t.filter(Vt),d=new Map;for(const a of o){const h=a.buyer.toLowerCase(),m=a.contractAddress.toLowerCase(),p=d.get(h)??{bought:0,items:new Set,collections:new Set,spentWei:0n,lastAt:0};p.bought+=1,p.items.add(`${m}-${a.itemId}`),p.collections.add(m),p.spentWei+=O(a.price),a.timestamp>p.lastAt&&(p.lastAt=a.timestamp),d.set(h,p)}return[...d.entries()].map(([a,h])=>({address:a,bought:h.bought,items:h.items.size,collections:h.collections.size,spentWei:h.spentWei,lastAt:h.lastAt})).sort((a,h)=>h.spentWei>a.spentWei?1:h.spentWei<a.spentWei?-1:h.bought-a.bought).slice(0,n)}function mn(t,n){if(t.length===0)return null;const o=t.reduce((d,a)=>a.timestamp>d?a.timestamp:d,0);return Math.max(0,Math.floor((n-o)/cn))}function xn(t,n=5){return t.flatMap(o=>o.items.filter(d=>d.sold>0).map(d=>({key:d.key,contractAddress:o.contractAddress,itemId:d.itemId,name:d.name,thumbnail:d.thumbnail,rarity:d.rarity,collectionName:o.name,sold:d.sold,earnedWei:d.earnedWei}))).sort((o,d)=>d.sold-o.sold||(d.earnedWei>o.earnedWei?1:d.earnedWei<o.earnedWei?-1:0)||o.name.localeCompare(d.name)).slice(0,n)}const Ie=100;async function fn(t){const[{collections:n},o]=await Promise.all([ws(t,{first:Ie}),bn(t)]),d=new Map(n.map(a=>[a.contractAddress.toLowerCase(),a.name]));return o.map(a=>{const h=a.contractAddress.toLowerCase(),m=(a.rarity??"common").toLowerCase(),p=yn(m),w=Number(a.available??0);return{id:a.id,collectionId:"",collectionName:d.get(h)??a.name,contractAddress:h,blockchainItemId:String(a.itemId??""),name:a.name,category:a.category,rarity:m,thumbnail:a.thumbnail??"",type:a.category==="emote"?"emote":"wearable",isPublished:!0,isApproved:!0,totalSupply:Math.max(0,p-w),maxSupply:p,remainingSupply:w,createdAt:a.createdAt?a.createdAt*1e3:void 0,minters:[]}})}function gn(t,n){const o=new Set(t.map(d=>d.contractAddress.toLowerCase()));return[...t,...n.filter(d=>!o.has(d.contractAddress.toLowerCase()))]}function yn(t){try{return Hs.Rarity.getMaxSupply(t)}catch{return 0}}async function bn(t){var o;const n=[];for(let d=0;;d+=Ie){const a=new URLSearchParams({creator:t,first:String(Ie),skip:String(d),includeSocialEmotes:"false"}),h=await fetch(`${Y.marketplaceServerUrl}/v3/catalog/items?${a.toString()}`);if(!h.ok)throw await((o=h.body)==null?void 0:o.cancel()),new Error(`fetchPublicCatalogue ${h.status}`);const{data:m}=await h.json(),p=m??[];if(n.push(...p),p.length<Ie)return n}}const Xe=864e5,Me=14;function wn(t,n,o){const d=new Array(Me).fill(0),a=o-n*Xe,h=n*Xe/Me;for(const m of t)m.timestamp<a||m.timestamp>o||(d[Math.min(Me-1,Math.floor((m.timestamp-a)/h))]+=1);return d}function Sn({rows:t,total:n,truncated:o,mints:d,summary:a,catalogue:h,saleState:m,unreadable:p,days:w,now:P}){const _=new Map,u=new Map,L=new Map;for(const c of t){if(c.type!=="mint"||c.itemId==null)continue;const f=c.contractAddress.toLowerCase(),j=`${f}-${c.itemId}`;_.set(j,(_.get(j)??0)+1),u.set(j,(u.get(j)??0n)+O(c.price));const k=L.get(f)??[];k.push(c),L.set(f,k)}const E=t.reduce((c,f)=>f.timestamp<c?f.timestamp:c,P),z=Math.max(1,Math.ceil((P-E)/Xe)),D=w!=null&&!o?w:Math.max(w==null?Me:1,z),U=new Map(((a==null?void 0:a.byItem)??[]).map(c=>[`${c.contractAddress.toLowerCase()}-${c.itemId}`,c.soldLifetime])),ee=new Map(((a==null?void 0:a.byCollection)??[]).map(c=>[c.contractAddress.toLowerCase(),c])),T=new Map;let Q=0,I=0,te=0,v=0,M=0;for(const c of h){const f=c.contractAddress.toLowerCase(),j=m[`${c.contractAddress}-${c.blockchainItemId}`],k=c.remainingSupply<=0?"soldout":p!=null&&p.has(f)?"unknown":j!=null&&j.isOnSale?j.manaWei?"classic":"discounted":"unlisted";k==="soldout"?v+=1:k==="unlisted"?M+=1:k==="classic"?te+=1:k==="discounted"&&(I+=1);const A=T.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},R=_.get(`${f}-${c.blockchainItemId}`)??0;A.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:R,earnedWei:u.get(`${f}-${c.blockchainItemId}`)??0n,lifetimeSold:U.get(`${f}-${c.blockchainItemId}`)??null,priceCredits:(j==null?void 0:j.priceCredits)??null,manaWei:(j==null?void 0:j.manaWei)??null,createdAt:c.createdAt??null,state:k}),A.sold+=R,A.claimed+=c.totalSupply,A.runTotal+=c.totalSupply+c.remainingSupply,Q+=R,c.createdAt&&(A.createdAt==null||c.createdAt>A.createdAt)&&(A.createdAt=c.createdAt),k==="soldout"?A.soldOut+=1:k==="classic"?A.classic+=1:k==="discounted"&&(A.listed+=1),T.set(f,A)}for(const[c,f]of T){const j=L.get(c)??[],k=ee.get(c);f.earningsWei=k?O(k.earnedWei):j.reduce((A,R)=>A+O(R.price),0n),k&&(f.sold=k.sold),f.trend=wn(j,D,P),f.exhausted=f.items.length>0&&f.soldOut===f.items.length,f.items.sort((A,R)=>R.sold-A.sold||A.name.localeCompare(R.name))}const C=[...T.values()].reduce((c,f)=>c+f.sold,0);return{collections:[...T.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)??d,resales:a?a.resales:n-d,earningsWei:a?O(a.earnedWei):t.reduce((c,f)=>c+O(f.price),0n),partial:a?!1:o,breakdownPartial:o,fetched:t.length,unattributed:a?a.total-C:t.length-Q,trendDays:D,unknownCollections:[...T.keys()].filter(c=>p==null?void 0:p.has(c)).length,royalties:a?{resales:a.royalties.resales,volumeWei:O(a.royalties.volumeWei)}:null,listed:I,neverListed:M,classic:te,soldOut:v}}const jn=new Map,oe=864e5,kn=6e3,$n={"7d":7,"30d":30,all:null};function vn(t,n){const o=t==null?void 0:t.address,d=$n[n],a=S.useMemo(()=>Math.floor(Date.now()/oe)*oe+oe-1,[]),h=d?a-d*oe:void 0,m=q({queryKey:["store-sales",o,n],enabled:!!o,queryFn:()=>dn({seller:o,from:h})}),p=q({queryKey:["store-summary",o,n],enabled:!!o,queryFn:()=>St({seller:o,from:h})}),w=d!=null?a-2*d*oe:void 0,P=d!=null?a-d*oe:void 0,_=q({queryKey:["store-summary-previous",o,n],enabled:!!o&&w!==void 0,queryFn:()=>St({seller:o,from:w,to:P})}),u=q({queryKey:["store-mints",o,n],enabled:!!o,queryFn:()=>rn({seller:o,from:h,type:"mint"})}),L=q({queryKey:["store-catalogue",o],enabled:!!o&&!!t,queryFn:()=>Rs(o,t.identity,{includeSoldOut:!0})}),E=q({queryKey:["store-public-catalogue",o],enabled:!!o&&!!t,queryFn:()=>Promise.race([fn(o),new Promise((v,M)=>setTimeout(()=>M(new Error("public catalogue timed out")),kn))]).catch(v=>(Ss(v,{flow:"my_store",step:"public_catalogue"}),[]))}),z=S.useMemo(()=>L.data?E.isPending?{data:void 0}:{data:gn(L.data,E.data??[])}:{data:void 0},[L.data,E.isPending,E.data]),D=S.useMemo(()=>[...new Set((z.data??[]).map(v=>v.contractAddress))],[z.data]),U=q({queryKey:["store-sale-state",o,D],enabled:D.length>0,queryFn:async()=>{const v=await Promise.allSettled(D.map(c=>js(c))),M={},C=new Set;return v.forEach((c,f)=>{const j=D[f];if(c.status==="rejected"){C.add(j.toLowerCase());return}for(const[k,A]of Object.entries(c.value))M[`${j}-${k}`]=A}),{states:M,unreadable:C}}}),ee=q({queryKey:["store-saves",D,(z.data??[]).length],enabled:(z.data??[]).length>0,queryFn:async()=>{const v=(z.data??[]).map(c=>`${c.contractAddress.toLowerCase()}-${c.blockchainItemId}`),M=await Promise.allSettled(v.map(async c=>[c,(await ks(c)).count])),C=new Map;for(const c of M)c.status==="fulfilled"&&C.set(c.value[0],c.value[1]);return C}}),T=S.useMemo(()=>{var v,M,C,c,f;return z.data?Sn({rows:((v=m.data)==null?void 0:v.rows)??[],total:((M=m.data)==null?void 0:M.total)??0,truncated:!!((C=m.data)!=null&&C.truncated),mints:u.data??0,summary:p.data??null,catalogue:z.data,saleState:((c=U.data)==null?void 0:c.states)??{},unreadable:(f=U.data)==null?void 0:f.unreadable,days:d,now:a}):null},[z.data,m.data,u.data,p.data,U.data,d,a]),Q=S.useMemo(()=>{var v;return Us(L.data??[],(v=U.data)==null?void 0:v.states)},[L.data,U.data]),I=S.useMemo(()=>{var f,j,k;const v=pn(((f=m.data)==null?void 0:f.rows)??[]),M=un(((j=m.data)==null?void 0:j.rows)??[]),C=mn(((k=m.data)==null?void 0:k.rows)??[],a),c=_.data;return{collectors:v,buyers:M,quietDays:C,sold:c&&p.data?jt(p.data.total,c.total):null,earnings:c&&p.data?hn(O(p.data.earnedWei),O(c.earnedWei)):null,royalties:c&&p.data?jt(p.data.royalties.resales,c.royalties.resales):null}},[m.data,p.data,_.data,a]),te=ee.data??jn;return{stats:T,trend:I,savesByKey:te,saleable:Q,isLoading:L.isLoading||E.isLoading||m.isLoading||p.isLoading,error:L.error??m.error??null}}const Cn=l.span`
2
- display: inline-flex;
3
- align-items: center;
4
- cursor: help;
5
- /* The glyph sits tight against its own box, so the figure beside it needs the gap from here. */
6
- margin-right: 3px;
7
-
8
- img {
9
- width: 1em;
10
- height: 1em;
11
- vertical-align: -0.125em;
12
- }
13
- `;function H({kind:t,className:n}){const o=t==="mana"?r("currency.polygonMana"):r("currency.credits");return e.jsx(Ae,{content:o,children:e.jsx(Cn,{className:n,"aria-label":o,role:"img","data-kind":t,children:t==="mana"?e.jsx("img",{src:Qs,alt:"","aria-hidden":!0}):e.jsx($s,{className:"ccy-mark"})})})}const An=l.button`
14
- display: inline-flex;
15
- align-items: center;
16
- gap: 4px;
17
- max-width: 100%;
18
- padding: 0;
19
- white-space: normal;
20
- text-align: inherit;
21
- border: 0;
22
- background: none;
23
- color: inherit;
24
- font: inherit;
25
- letter-spacing: inherit;
26
- text-transform: inherit;
27
- cursor: pointer;
28
-
29
- &[data-align='right'] {
30
- flex-direction: row-reverse;
31
- }
32
-
33
- &:focus-visible {
34
- outline: 2px solid currentColor;
35
- outline-offset: 2px;
36
- border-radius: 4px;
37
- }
38
-
39
- [data-testid='sort-header-chevron'] {
40
- flex: none;
41
- opacity: 0.35;
42
- transition: opacity 0.15s;
43
- }
44
-
45
- &[data-dir] [data-testid='sort-header-chevron'],
46
- &:hover [data-testid='sort-header-chevron'] {
47
- opacity: 1;
48
- }
49
- `;function ae({label:t,dir:n,onSort:o,align:d="left",testId:a}){return e.jsxs(An,{type:"button",onClick:o,"data-dir":n,"data-align":d,"data-testid":a,"aria-label":typeof t=="string"?r(n==="asc"?"common.sortedAsc":n==="desc"?"common.sortedDesc":"common.sortColumn",{column:t}):void 0,children:[t,e.jsx(Xs,{up:n==="asc",size:12,"aria-hidden":!0,"data-testid":"sort-header-chevron"})]})}function He(t,n,o){return(t==null?void 0:t.key)===n?{key:n,dir:t.dir==="asc"?"desc":"asc"}:{key:n,dir:o}}function We(t,n,o){const d=o==="asc"?1:-1;return t.map((a,h)=>({row:a,index:h,v:n(a)})).sort((a,h)=>{const m=a.v==null,p=h.v==null;return m||p?m===p?a.index-h.index:m?1:-1:d*In(a.v,h.v)||a.index-h.index}).map(a=>a.row)}function In(t,n){return typeof t=="string"&&typeof n=="string"?t.localeCompare(n,void 0,{sensitivity:"base"}):t===n?0:t<n?-1:1}const me=864e5,G=Date.now(),Mn=(t,n,o,d,a)=>({key:`0xmock${t}-${t}`,itemId:String(t),name:n,thumbnail:"",rarity:["epic","legendary","rare","mythic","unique"][t%5],left:d-o,minted:o,sold:Math.round(o/6),earnedWei:BigInt(Math.round(o/6)*(3+t%5))*10n**18n,lifetimeSold:o,priceCredits:a==="classic"?null:20+t*5,manaWei:a==="classic"?"5000000000000000000":null,createdAt:G-t*11*me,state:a}),Wn=[[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]],Ln=[{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 Tn(t,n){const o=t.items.map(([a,h,m,p],w)=>Mn(n*10+w,a,h,m,p)),d=o.reduce((a,h)=>a+h.minted,0);return{contractAddress:`0xmock${n.toString().padStart(36,"0")}`,collectionId:`mock-${n}`,name:t.name,items:o,listed:o.filter(a=>a.state==="discounted").length,classic:o.filter(a=>a.state==="classic").length,soldOut:o.filter(a=>a.state==="soldout").length,sold:t.sold,earningsWei:BigInt(t.earnings)*10n**18n,createdAt:G-n*30*me,trend:Wn[t.trend],claimed:d,runTotal:o.reduce((a,h)=>a+h.minted+h.left,0),exhausted:o.length>0&&o.every(a=>a.state==="soldout")}}const et=(()=>{const t=Ln.map(Tn);return{collections:t,sold:211,mints:198,resales:13,earningsWei:3070n*10n**18n,partial:!1,breakdownPartial:!1,fetched:211,unattributed:6,trendDays:30,unknownCollections:1,royalties:{resales:41,volumeWei:2140n*10n**18n},listed:t.reduce((n,o)=>n+o.listed,0),neverListed:t.reduce((n,o)=>n+o.items.filter(d=>d.state==="unlisted").length,0),classic:t.reduce((n,o)=>n+o.classic,0),soldOut:t.reduce((n,o)=>n+o.soldOut,0)}})(),Pn={total:74,repeat:29,repeatPct:39.19,topSharePct:21.3},_n=Array.from({length:12},(t,n)=>({address:`0x${(n+1).toString(16).repeat(40).slice(0,40)}`,bought:12-n,items:Math.max(1,8-n),collections:Math.max(1,5-Math.floor(n/2)),spentWei:BigInt(900-n*62)*10n**18n,lastAt:G-(n+1)*9*36e5})),kt=(t,n,o,d,a,h)=>({id:`mock-coupon-${t}`,signer:"0xmockcreator0000000000000000000000000001",chainId:137,network:"MATIC",checks:{uses:50,expiration:G+a,effective:G-d,salt:`0x${t.toString().repeat(64).slice(0,64)}`,contractSignatureIndex:0,signerSignatureIndex:0,allowedRoot:"0x",externalChecks:[],allowedProof:[]},couponManager:"0x6c956587d9fe70032781edcdc626310648575382",couponAddress:"0x4ee8f6b87f4917a3bbc7c8bb3a06db8555f83db9",discountType:1,discount:o*1e4,root:`0x${"44".repeat(32)}`,collections:[n],signature:`0x${"cd".repeat(65)}`,proof:[],createdAt:G-d,state:{uses:h,cancelled:!1,revoked:!1,checkedAt:G},status:"active"}),zn=[kt(1,`0xmock${"0".repeat(36)}`,25,3*me,3*me,18),kt(2,`0xmock${"1".padStart(36,"0")}`,15,12*36e5,9*me,0)],En=new Map(et.collections.flatMap(t=>t.items.map((n,o)=>[n.key,[41,3,128,0,17,6,92,1][o%8]]))),Fn=et.collections.flatMap(t=>t.items.map(n=>[t.contractAddress,n])),Nn=Fn.slice(0,5).map(([t,n],o)=>({id:`mock-sale-${o}`,itemId:o===3?null:n.itemId,contractAddress:t,buyer:`0x${(o+3).toString(16).repeat(40).slice(0,40)}`,seller:"0xmockcreator0000000000000000000000000001",price:String(BigInt(40+o*17)*10n**18n),timestamp:G-(o===0?8*6e4:o*19*36e5),type:o===3?"order":"mint",network:"MATIC",tokenId:o===3?"1042":null})),Bn=l.div`
50
- display: flex;
51
- flex-direction: column;
52
- gap: 22px;
53
-
54
- /* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. Every
55
- surface on this page is dark, so the whole page opts out once rather than each panel in turn. */
56
- .ccy-mark,
57
- .ccy {
58
- color: ${s.colors.softWhite};
59
- }
60
-
61
- /* MANA's mark is an image, not a masked glyph, so no colour reaches it: the token's own artwork is dark
62
- and vanished into every panel on this page. Driven to white instead. */
63
- [data-kind='mana'] img {
64
- filter: brightness(0) invert(1);
65
- }
66
- `,On=l.header`
67
- display: flex;
68
- align-items: flex-start;
69
- justify-content: space-between;
70
- gap: 20px;
71
- flex-wrap: wrap;
72
- /* The rule that closes the identity block off from the figures under it. */
73
- padding-bottom: 24px;
74
- border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
75
- `,Dn=l.div`
76
- display: flex;
77
- align-items: center;
78
- gap: 12px;
79
- min-width: 0;
80
- `,Rn=l.div`
81
- display: flex;
82
- flex-direction: column;
83
- align-items: flex-start;
84
- justify-content: center;
85
- gap: 4px;
86
- padding-bottom: 8px;
87
- min-width: 0;
88
- `,qn=l.span`
89
- flex: none;
90
- display: block;
91
- width: 84px;
92
- height: 84px;
93
- border-radius: 50%;
94
- background-color: rgba(0, 0, 0, 0.22);
95
- background-size: cover;
96
- background-position: center top;
97
- border: 2px solid rgba(252, 252, 252, 0.22);
98
-
99
- ${s.media.maxWidth("mobile")} {
100
- width: 56px;
101
- height: 56px;
102
- }
103
- `,Hn=l.p`
104
- margin: 0;
105
- font-family: ${s.font.sans};
106
- font-size: 14px;
107
- font-weight: 600;
108
- line-height: 1.6;
109
- color: ${s.colors.softWhite};
110
- overflow: hidden;
111
- text-overflow: ellipsis;
112
- white-space: nowrap;
113
- max-width: 100%;
114
- `,Un=l.h1`
115
- margin: 0;
116
- font-family: ${s.font.sans};
117
- font-size: 32px;
118
- font-weight: 700;
119
- line-height: 1.2;
120
- letter-spacing: 0.46px;
121
- color: ${s.colors.white};
122
-
123
- ${s.media.maxWidth("mobile")} {
124
- font-size: 26px;
125
- }
126
- `,Kn=l.div`
127
- display: flex;
128
- flex-direction: column;
129
- align-items: flex-start;
130
- gap: 8px;
131
- min-width: 0;
132
- `,$t=l.p`
133
- margin: 0;
134
- display: flex;
135
- align-items: center;
136
- gap: 12px;
137
- font-family: ${s.font.sans};
138
- font-size: 12px;
139
- line-height: 1;
140
- color: ${s.colors.softWhite};
141
- `,Vn=l.div`
142
- display: flex;
143
- align-items: center;
144
- justify-content: flex-end;
145
- flex-wrap: wrap;
146
- gap: 12px;
147
-
148
- /* Two uppercase buttons that cannot shrink below their labels. On a phone they fit side by side in
149
- Inter with a few pixels to spare, and in any wider fallback font they did not: the second one ran
150
- 15px off a 390px screen. Wrapping puts it on its own line instead. */
151
- ${s.media.maxWidth("mobile")} {
152
- justify-content: flex-start;
153
- width: 100%;
154
- }
155
- `,Gn=l.a`
156
- display: inline-flex;
157
- align-items: center;
158
- justify-content: center;
159
- gap: 8px;
160
- height: 46px;
161
- padding: 0 12px;
162
- border-radius: ${s.radius.card};
163
- color: ${s.colors.white};
164
- font-family: ${s.font.sans};
165
- font-size: 13px;
166
- font-weight: 600;
167
- line-height: 24px;
168
- letter-spacing: 0.46px;
169
- text-transform: uppercase;
170
- text-decoration: underline;
171
- white-space: nowrap;
172
-
173
- &:hover {
174
- color: ${s.colors.navViolet};
175
- }
176
- .ico {
177
- width: 22px;
178
- height: 22px;
179
- }
180
-
181
- ${s.media.maxWidth("mobile")} {
182
- padding: 0 8px;
183
- }
184
- `,Yn=l(xe)`
185
- display: inline-flex;
186
- align-items: center;
187
- justify-content: center;
188
- gap: 8px;
189
- height: 46px;
190
- padding: 0 24px;
191
- border-radius: ${s.radius.card};
192
- background: ${s.colors.overlay};
193
- color: ${s.colors.white};
194
- font-family: ${s.font.sans};
195
- font-size: 13px;
196
- font-weight: 600;
197
- line-height: 24px;
198
- letter-spacing: 0.46px;
199
- text-transform: uppercase;
200
- text-decoration: none;
201
- white-space: nowrap;
202
- transition: background 0.15s ease;
203
-
204
- &:hover {
205
- background: ${s.colors.overlayHover};
206
- }
207
- &:focus-visible {
208
- outline: 2px solid ${s.colors.softWhite};
209
- outline-offset: 2px;
210
- }
211
- .ico {
212
- width: 20px;
213
- height: 20px;
214
- }
215
-
216
- ${s.media.maxWidth("mobile")} {
217
- padding: 0 16px;
218
- }
219
- `,Qn=l.span`
220
- display: inline-flex;
221
- align-items: center;
222
- gap: 8px;
223
- margin-left: 12px;
224
- padding-left: 12px;
225
- border-left: 1px solid rgba(255, 255, 255, 0.3);
226
- `,Jn=l.a`
227
- display: inline-flex;
228
- align-items: center;
229
- justify-content: center;
230
- color: ${s.colors.softWhite};
231
- transition: color 0.15s ease;
232
-
233
- &:hover {
234
- color: ${s.colors.navViolet};
235
- }
236
- .ico {
237
- width: 15px;
238
- height: 15px;
239
- }
240
- `,Xn=l.div`
241
- display: flex;
242
- align-items: center;
243
- justify-content: space-between;
244
- gap: 16px;
245
- flex-wrap: wrap;
246
- `,Zn=l.h2`
247
- margin: 0;
248
- font-family: ${s.font.sans};
249
- font-size: 24px;
250
- font-weight: 700;
251
- line-height: 1.2;
252
- color: ${s.colors.white};
253
- `,eo=l.div`
254
- display: flex;
255
- gap: 4px;
256
- padding: 4px;
257
- border-radius: ${s.radius.pill};
258
- background: rgba(0, 0, 0, 0.22);
259
- `,to=l.button`
260
- border: 0;
261
- cursor: pointer;
262
- font-family: ${s.font.sans};
263
- padding: 7px 15px;
264
- border-radius: ${s.radius.pill};
265
- font-size: 13px;
266
- font-weight: 600;
267
- color: rgba(252, 252, 252, 0.62);
268
- background: transparent;
269
- transition:
270
- color 0.15s ease,
271
- background 0.15s ease;
272
-
273
- &:hover {
274
- color: ${s.colors.softWhite};
275
- }
276
- &[aria-pressed='true'] {
277
- background: ${s.colors.softWhite};
278
- color: ${s.colors.text};
279
- }
280
- &:focus-visible {
281
- outline: 2px solid ${s.colors.softWhite};
282
- outline-offset: 2px;
283
- }
284
-
285
- @media (prefers-reduced-motion: reduce) {
286
- transition: none;
287
- }
288
- `,Gt=l.section`
289
- display: grid;
290
- /* Five tiles when the store has resales to report, four when it does not — auto-fit rather than a fixed
291
- count so neither case leaves a hole. */
292
- grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
293
- gap: 14px;
294
-
295
- ${s.media.maxWidth("lg")} {
296
- grid-template-columns: repeat(2, minmax(0, 1fr));
297
- }
298
- ${s.media.maxWidth("mobile")} {
299
- grid-template-columns: minmax(0, 1fr);
300
- }
301
- `,X=l.div`
302
- background: ${s.colors.overlay};
303
- color: ${s.colors.softWhite};
304
- border-radius: ${s.radius.modal};
305
- padding: 12px 24px;
306
- display: flex;
307
- flex-direction: column;
308
- gap: 12px;
309
- min-width: 0;
310
- /* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. That
311
- was chosen for a white card and disappears into this one. */
312
- .ccy-mark,
313
- .ccy {
314
- color: ${s.colors.softWhite};
315
- }
316
- `,ie=l.span`
317
- display: flex;
318
- align-items: center;
319
- justify-content: flex-start;
320
- gap: 8px;
321
- /* The tiles carrying a tooltip button stand 3px taller than the rest, and in a grid that is 3px of dead
322
- space under every other card. Held to the taller of the two. */
323
- min-height: 18px;
324
- font-family: ${s.font.sans};
325
- font-size: 12px;
326
- font-weight: 400;
327
- line-height: 1;
328
- letter-spacing: 1px;
329
- text-transform: uppercase;
330
- color: ${s.colors.gray4};
331
- `,re=l.span`
332
- /* Ahead of the label, as the design has it. Ordered rather than moved in the markup, because the mark is
333
- the last child in every tile and reordering five sets of markup would buy nothing. */
334
- order: -1;
335
- font-size: 16px;
336
- line-height: 1;
337
- filter: saturate(0.9);
338
- `,le=l.span`
339
- display: flex;
340
- align-items: baseline;
341
- gap: 8px;
342
-
343
- /* The currency mark is a box, not a glyph with a baseline: sized to the digits' cap height and centred
344
- against them, rather than left to sit on the line's bottom edge. */
345
- [data-kind] {
346
- align-self: center;
347
- margin-right: 6px;
348
- }
349
- [data-kind] img,
350
- [data-kind] .ico {
351
- width: 0.74em;
352
- height: 0.74em;
353
- vertical-align: baseline;
354
- }
355
- font-family: ${s.font.sans};
356
- font-size: 32px;
357
- font-weight: 600;
358
- line-height: 1.235;
359
- letter-spacing: -0.02em;
360
- font-variant-numeric: tabular-nums;
361
- `,so=l.span`
362
- font-size: 20px;
363
- font-weight: 600;
364
- color: ${s.colors.gray4};
365
- margin-right: -2px;
366
- `,vt=l.span`
367
- font-size: 15px;
368
- font-weight: 600;
369
- letter-spacing: 0;
370
- color: ${s.colors.gray4};
371
- `,de=l.span`
372
- display: flex;
373
- align-items: center;
374
- flex-wrap: wrap;
375
- gap: 4px 6px;
376
- min-width: 0;
377
- min-height: 16px;
378
- font-family: ${s.font.sans};
379
- font-size: 12px;
380
- line-height: 1.35;
381
- color: ${s.colors.gray4};
382
- `,Ct=l.span`
383
- display: inline-flex;
384
- align-items: center;
385
- gap: 4px;
386
- font-size: 11px;
387
- font-weight: 600;
388
- text-transform: uppercase;
389
- letter-spacing: 0.04em;
390
- color: ${s.colors.gray4};
391
- border: 1px dashed ${s.colors.cardLine};
392
- border-radius: ${s.radius.chip};
393
- padding: 1px 5px;
394
- `,Z=l.section`
395
- display: flex;
396
- flex-direction: column;
397
- gap: 12px;
398
- padding: 16px;
399
- background: ${s.colors.overlayLight};
400
- color: ${s.colors.softWhite};
401
- border-radius: ${s.radius.banner};
402
- min-width: 0;
403
- /* The credits mark is pinned near-black globally (Icon.css) so a coloured total never tints it. That
404
- was chosen for a white card and disappears into this one. */
405
- .ccy-mark,
406
- .ccy {
407
- color: ${s.colors.softWhite};
408
- }
409
- `,Le=l.div`
410
- display: flex;
411
- align-items: baseline;
412
- justify-content: space-between;
413
- gap: 12px;
414
- `,ke=l.h2`
415
- margin: 0;
416
- font-family: ${s.font.sans};
417
- font-size: 15px;
418
- font-weight: 700;
419
- letter-spacing: -0.01em;
420
- `;l.div`
421
- display: flex;
422
- align-items: center;
423
- gap: 12px;
424
- `;const no=l(Zs)`
425
- /* Direct child only: the menu's options are buttons as well, and a descendant rule turned them white
426
- on the white menu, which is a menu you cannot read. */
427
- > button {
428
- gap: 24px;
429
- height: 40px;
430
- padding: 4px 4px 4px 12px;
431
- background: transparent;
432
- border: 0.5px solid ${s.colors.white};
433
- border-radius: ${s.radius.btn};
434
- color: ${s.colors.white};
435
- font-size: 12px;
436
- font-weight: 500;
437
- text-transform: uppercase;
438
- letter-spacing: 0;
439
- }
440
- > button:hover {
441
- border-color: ${s.colors.softWhite};
442
- background: ${s.colors.glassFaint};
443
- color: ${s.colors.softWhite};
444
- }
445
- /* The chevron's colour is an inline style on the shared component, so a class cannot reach it — this
446
- is the one place that has to shout. */
447
- > button .ico {
448
- color: ${s.colors.softWhite} !important;
449
- }
450
- `,oo=l.span`
451
- font-family: ${s.font.sans};
452
- font-size: 12px;
453
- color: ${s.colors.gray4};
454
- `,Yt="24px 56px minmax(170px, 1fr) minmax(236px, 1.34fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(150px, 1fr) 158px",Qt=l.div`
455
- display: grid;
456
- grid-template-columns: ${Yt};
457
- align-items: center;
458
- gap: 12px;
459
- padding: 12px 24px 12px 12px;
460
- min-width: min-content;
461
- background: ${s.colors.overlayStrong};
462
- border-radius: ${s.radius.card} ${s.radius.card} 0 0;
463
- font-family: ${s.font.sans};
464
- font-size: 14px;
465
- color: ${s.colors.softWhite};
466
-
467
- /* Each label sits the way its column's content sits, so a header never points at the wrong figure. */
468
- > *:nth-child(4),
469
- > *:nth-child(5),
470
- > *:nth-child(6),
471
- > *:nth-child(7) {
472
- text-align: center;
473
- }
474
- /* The label sits over the middle of the action, not over its right edge: in the design both occupy the
475
- same box, so the header stretches across the track and centres inside it. */
476
- > *:last-child {
477
- justify-self: stretch;
478
- text-align: center;
479
- }
480
-
481
- ${s.media.maxWidth("mobile")} {
482
- display: none;
483
- }
484
- `,Jt=l.div`
485
- display: flex;
486
- flex-direction: column;
487
- gap: 2px;
488
- min-width: 0;
489
- /*
490
- * The run scrolls sideways rather than crushing its own columns.
491
- *
492
- * The tracks need 1158px before the grid starts taking room from them, and the panel used to clip what
493
- * did not fit. It does not any more, and a clipped row is worse than a scrolling one: the action is the
494
- * last column, so on a 1024px tablet "Manage" simply left the screen with no way to reach it.
495
- */
496
- overflow-x: auto;
497
-
498
- > *:last-child {
499
- border-radius: 0 0 ${s.radius.card} ${s.radius.card};
500
- }
501
- `,Xt=l.div`
502
- display: grid;
503
- grid-template-columns: ${Yt};
504
- align-items: center;
505
- gap: 12px;
506
- padding: 12px 24px 12px 12px;
507
- min-width: min-content;
508
- background: ${s.colors.overlay};
509
-
510
- /* A fixed track keeps every row's action in the same place, centred under its column's label. */
511
- > *:last-child {
512
- justify-self: center;
513
- }
514
-
515
- /**
516
- * A collection with no copies left, set back from the ones that still have something to sell.
517
- *
518
- * Muted rather than faded: opacity would take the row's one action down with it, and a creator who wants
519
- * to look at a finished run should not have to fight the styling to click into it. The thumbnail loses
520
- * its colour, the figures lose their weight, and the row still reads.
521
- */
522
- &[data-exhausted] {
523
- background: rgba(0, 0, 0, 0.55);
524
- color: ${s.colors.gray4};
525
-
526
- [data-testid='store-collection-thumb'] img {
527
- filter: grayscale(0.75);
528
- opacity: 0.72;
529
- }
530
- /* The collection's own name follows the row; the action at the end keeps its colour, because a
531
- finished run is still one a creator opens, and a button that reads disabled invites nobody. */
532
- [data-testid='store-collection-name'] {
533
- color: inherit;
534
- }
535
- }
536
-
537
- /**
538
- * On a phone the seven columns become two rows: identity and figure on the first, the discount and the
539
- * action on the second. Placed explicitly rather than left to auto-flow, which dropped both of them
540
- * into the first two narrow tracks on top of each other.
541
- */
542
- /*
543
- * Three lines on a phone: who it is and what to do about it, then the two figures, then the discount.
544
- *
545
- * Every cell is placed explicitly rather than left to auto-flow, because the columns changed order once
546
- * already and an auto-placed grid answers that by putting a sparkline where a button used to be.
547
- */
548
- ${s.media.maxWidth("mobile")} {
549
- grid-template-columns: 24px 56px minmax(0, 1fr) auto;
550
- row-gap: 12px;
551
-
552
- > *:nth-child(1) {
553
- grid-area: 1 / 1;
554
- }
555
- > *:nth-child(2) {
556
- grid-area: 1 / 2;
557
- }
558
- /* The name takes the whole of its line. Sharing it with the action left "Founders Edition" as an
559
- ellipsis and a chip, which is the one cell on the row that has to be readable. */
560
- > *:nth-child(3) {
561
- grid-area: 1 / 3 / 1 / 5;
562
- }
563
- > *:nth-child(5) {
564
- grid-area: 2 / 1 / 2 / 3;
565
- justify-self: start;
566
- }
567
- > *:nth-child(6) {
568
- grid-area: 2 / 3;
569
- justify-self: start;
570
- }
571
- > *:nth-child(8) {
572
- grid-area: 2 / 4;
573
- justify-self: end;
574
- }
575
- > *:nth-child(4) {
576
- grid-area: 3 / 1 / 3 / 5;
577
- justify-self: start;
578
- align-items: flex-start;
579
- text-align: left;
580
- }
581
- }
582
- `,ao=l.button`
583
- position: relative;
584
- display: grid;
585
- place-items: center;
586
- width: 24px;
587
- height: 24px;
588
- padding: 0;
589
- border: 0;
590
- border-radius: ${s.radius.btn};
591
- background: none;
592
- cursor: pointer;
593
- color: ${s.colors.gray4};
594
-
595
- &:hover {
596
- background: ${s.colors.glassFaint};
597
- color: ${s.colors.softWhite};
598
- }
599
- &:focus-visible {
600
- outline: 2px solid ${s.colors.navViolet};
601
- outline-offset: 2px;
602
- }
603
-
604
- /* A finger needs more than the 24px the glyph occupies, and the row has that much clear space around it. */
605
- &::after {
606
- content: '';
607
- position: absolute;
608
- inset: -10px;
609
- }
610
-
611
- .ico {
612
- width: 16px;
613
- height: 16px;
614
- transition: transform 0.18s ease;
615
- }
616
- &[aria-expanded='true'] .ico {
617
- transform: rotate(180deg);
618
- }
619
-
620
- @media (prefers-reduced-motion: reduce) {
621
- .ico {
622
- transition: none;
623
- }
624
- }
625
- `,io=l.span`
626
- width: 56px;
627
- height: 56px;
628
- border-radius: ${s.radius.btn};
629
- overflow: hidden;
630
- background: ${s.colors.overlayLight};
631
- `,ro=l.span`
632
- flex: none;
633
- display: inline-flex;
634
- align-items: center;
635
- font-family: ${s.font.sans};
636
- font-size: 10px;
637
- font-weight: 700;
638
- letter-spacing: 0.06em;
639
- text-transform: uppercase;
640
- padding: 3px 7px;
641
- border-radius: ${s.radius.pill};
642
- color: ${s.colors.gray4};
643
- background: ${s.colors.glassFaint};
644
- `,lo=l.span`
645
- display: flex;
646
- align-items: center;
647
- flex-wrap: wrap;
648
- gap: 4px 8px;
649
- min-width: 0;
650
-
651
- /*
652
- * The chip yields before the name does, which is the opposite of what it used to do.
653
- *
654
- * With a wide name column the name could ellipsise and keep "sold out" beside it. The columns are even
655
- * now, so that column is 176px, and yielding the name first left "Founders Ed…" next to a chip: the row
656
- * lost the one thing it has to say to save the one thing that repeats on every sold-out row.
657
- */
658
- a {
659
- min-width: 0;
660
- flex: 0 1 auto;
661
- }
662
- `,co=l.span`
663
- min-width: 0;
664
-
665
- a {
666
- display: block;
667
- color: inherit;
668
- text-decoration: none;
669
- font-family: ${s.font.sans};
670
- font-size: 14px;
671
- font-weight: 600;
672
- overflow: hidden;
673
- text-overflow: ellipsis;
674
- white-space: nowrap;
675
- }
676
- a:hover,
677
- a:focus-visible {
678
- text-decoration: underline;
679
- }
680
- `,ho=l.span`
681
- display: block;
682
- font-family: ${s.font.sans};
683
- font-size: 12px;
684
- color: ${s.colors.gray4};
685
- overflow: hidden;
686
- text-overflow: ellipsis;
687
- white-space: nowrap;
688
- `;l.span`
689
- font-family: ${s.font.sans};
690
- font-size: 15px;
691
- font-weight: 700;
692
- font-variant-numeric: tabular-nums;
693
- text-align: right;
694
-
695
- small {
696
- display: block;
697
- font-size: 11px;
698
- font-weight: 500;
699
- color: ${s.colors.gray4};
700
- text-transform: uppercase;
701
- letter-spacing: 0.04em;
702
- }
703
-
704
- ${s.media.maxWidth("mobile")} {
705
- display: none;
706
- }
707
- `;const po=l.span`
708
- min-width: 0;
709
-
710
- ${s.media.maxWidth("mobile")} {
711
- display: none;
712
- }
713
- `,At=l.svg`
714
- display: block;
715
- width: 100%;
716
- height: 34px;
717
- `,uo=l.div`
718
- /* A shade deeper than the row it belongs to, not lighter. The rows carry their own dark fill now, and a
719
- translucent white panel between them read as a different surface breaking the run in half. */
720
- background: ${s.colors.overlayStrong};
721
- padding: 4px 24px 10px 48px;
722
-
723
- ${s.media.maxWidth("mobile")} {
724
- padding-left: 32px;
725
- }
726
- `,mo=l.div`
727
- display: flex;
728
- flex-wrap: wrap;
729
- gap: 8px 26px;
730
- padding: 12px 0 13px;
731
- border-bottom: 1px solid ${s.colors.cardLine};
732
-
733
- span {
734
- display: flex;
735
- align-items: baseline;
736
- gap: 6px;
737
- font-family: ${s.font.sans};
738
- font-size: 11px;
739
- font-weight: 600;
740
- letter-spacing: 0.04em;
741
- text-transform: uppercase;
742
- color: ${s.colors.gray4};
743
- }
744
- b {
745
- /* The currency mark is its own inline-flex element, so the figure needs a row of its own or the two
746
- break onto separate lines. */
747
- display: inline-flex;
748
- align-items: center;
749
- gap: 3px;
750
- white-space: nowrap;
751
- font-size: 15px;
752
- font-weight: 700;
753
- letter-spacing: 0;
754
- text-transform: none;
755
- color: ${s.colors.softWhite};
756
- font-variant-numeric: tabular-nums;
757
- }
758
- `,xo=l.div`
759
- display: grid;
760
- /* The stock track is fixed rather than max-content: each row is its own grid, so a content-sized last
761
- track let every row measure itself and none of them lined up. 124px clears the widest figure the page
762
- renders (105px) with room to spare, without leaving a hand's width between the bar and the number. */
763
- grid-template-columns: 40px minmax(0, 1fr) 72px 64px 152px 124px;
764
- align-items: center;
765
- gap: 22px;
766
- padding: 13px 0;
767
-
768
- > *:last-child {
769
- justify-self: end;
770
- }
771
-
772
- & + & {
773
- border-top: 1px solid ${s.colors.cardLine};
774
- }
775
-
776
- /*
777
- * Two lines on a phone: the item, then its figures under the name.
778
- *
779
- * Placed explicitly. With three tracks and six cells the browser auto-flowed the stock figure into the
780
- * 40px thumbnail track on the second row, where justify-self: end right-aligned 105px of text inside
781
- * 40px of column and pushed its left edge a pixel off the card.
782
- */
783
- ${s.media.maxWidth("mobile")} {
784
- grid-template-columns: 40px minmax(0, 1fr) auto;
785
- column-gap: 12px;
786
- row-gap: 8px;
787
-
788
- > *:nth-child(3) {
789
- grid-area: 2 / 2;
790
- justify-self: start;
791
- }
792
- > *:last-child {
793
- grid-area: 2 / 3;
794
- justify-self: end;
795
- }
796
- }
797
- `,fo=l.span`
798
- display: block;
799
- width: 40px;
800
- height: 40px;
801
- border-radius: ${s.radius.btn};
802
- overflow: hidden;
803
- /* The rarity wash is a gradient of ALPHAS, drawn for a white card. Composited over a dark panel instead
804
- it turns muddy, so the base it was measured against is put back under it. */
805
- background-color: ${s.colors.white};
806
-
807
- img {
808
- width: 100%;
809
- height: 100%;
810
- object-fit: contain;
811
- }
812
- `,go=l.span`
813
- min-width: 0;
814
- display: flex;
815
- flex-direction: column;
816
- gap: 2px;
817
- `,yo=l.span`
818
- display: flex;
819
- flex-wrap: wrap;
820
- align-items: center;
821
- gap: 6px;
822
- min-width: 0;
823
- `,bo=l.button`
824
- flex: none;
825
- margin: -8px 0;
826
- padding: 8px 4px;
827
- border: 0;
828
- background: none;
829
- color: ${s.colors.white};
830
- font-family: ${s.font.sans};
831
- font-size: 11px;
832
- font-weight: 600;
833
- letter-spacing: 0.04em;
834
- text-transform: uppercase;
835
- text-decoration: underline;
836
- cursor: pointer;
837
-
838
- &:hover {
839
- color: ${s.colors.navViolet};
840
- }
841
-
842
- &:focus-visible {
843
- outline: 2px solid currentColor;
844
- outline-offset: -2px;
845
- border-radius: 4px;
846
- }
847
- `,wo=l.span`
848
- flex: none;
849
- display: inline-flex;
850
- align-items: center;
851
- height: 15px;
852
- padding: 0 6px;
853
- border-radius: 5px;
854
- font-family: ${s.font.sans};
855
- font-size: 9px;
856
- font-weight: 700;
857
- letter-spacing: 0.02em;
858
- text-transform: uppercase;
859
- color: ${s.colors.softWhite};
860
- `,So=l(xe)`
861
- font-family: ${s.font.sans};
862
- font-size: 13px;
863
- color: inherit;
864
- text-decoration: none;
865
- overflow: hidden;
866
- text-overflow: ellipsis;
867
- white-space: nowrap;
868
-
869
- &:hover,
870
- &:focus-visible {
871
- text-decoration: underline;
872
- }
873
- `,jo=l.span`
874
- font-family: ${s.font.sans};
875
- font-size: 13px;
876
- white-space: nowrap;
877
- font-weight: 600;
878
- font-variant-numeric: tabular-nums;
879
- text-align: right;
880
- color: ${s.colors.softWhite};
881
-
882
- small {
883
- color: ${s.colors.gray4};
884
- font-weight: 500;
885
- }
886
-
887
- ${s.media.maxWidth("mobile")} {
888
- text-align: left;
889
- }
890
- `,ko=l.span`
891
- display: block;
892
- width: 96px;
893
- height: 6px;
894
- border-radius: 100px;
895
- /* White, not the near-black this started as: the track was a 10% dark fill chosen for a white card, and
896
- on the row's own dark surface it was the same colour as the row. */
897
- background: rgba(255, 255, 255, 0.1);
898
- overflow: hidden;
899
- /* Pushed to the end of its track, so it sits with the stock figure it measures rather than crowding the
900
- saves count next to it. */
901
- margin-left: auto;
902
-
903
- i {
904
- display: block;
905
- height: 6px;
906
- border-radius: 100px;
907
- background: ${s.colors.navViolet};
908
- }
909
-
910
- ${s.media.maxWidth("mobile")} {
911
- display: none;
912
- }
913
- `,$o=l.span`
914
- font-family: ${s.font.sans};
915
- font-size: 11px;
916
- font-weight: 600;
917
- letter-spacing: 0.04em;
918
- text-transform: uppercase;
919
- white-space: nowrap;
920
- color: ${s.colors.gray4};
921
-
922
- &[data-state='soldout'] {
923
- color: ${s.colors.navViolet};
924
- }
925
- /* A listed item shows its price rather than a label, so it takes the ink prices take. */
926
- &[data-state='classic'],
927
- &[data-state='discounted'] {
928
- display: inline-flex;
929
- align-items: center;
930
- gap: 2px;
931
- font-size: 12px;
932
- letter-spacing: 0;
933
- text-transform: none;
934
- color: ${s.colors.softWhite};
935
- }
936
- `,vo=l.span`
937
- display: flex;
938
- flex-direction: column;
939
- align-items: flex-end;
940
- gap: 4px;
941
- line-height: 1.25;
942
- `,Co=l.span`
943
- font-size: 10px;
944
- font-weight: 600;
945
- letter-spacing: 0.04em;
946
- text-transform: uppercase;
947
- color: ${s.colors.gray4};
948
- margin-right: 4px;
949
- `,Ao=l.span`
950
- font-family: ${s.font.sans};
951
- font-size: 10px;
952
- opacity: 0.85;
953
- font-weight: 600;
954
- letter-spacing: 0.03em;
955
- text-transform: uppercase;
956
- white-space: nowrap;
957
- color: ${s.colors.gray4};
958
- `,Io=l.span`
959
- font-family: ${s.font.sans};
960
- font-size: 11px;
961
- font-weight: 600;
962
- letter-spacing: 0.04em;
963
- text-transform: uppercase;
964
- white-space: nowrap;
965
- text-align: right;
966
- color: ${s.colors.gray4};
967
- font-variant-numeric: tabular-nums;
968
-
969
- b {
970
- color: ${s.colors.softWhite};
971
- font-weight: 700;
972
- }
973
- &[data-out='true'] {
974
- color: ${s.colors.navViolet};
975
- }
976
- `;l.div`
977
- display: grid;
978
- grid-template-columns: 3px minmax(0, 1fr) auto;
979
- gap: 12px;
980
- align-items: center;
981
- padding: 13px 18px;
982
- border-top: 1px solid ${s.colors.cardLine};
983
- `;l.span`
984
- align-self: stretch;
985
- border-radius: 2px;
986
- background: ${s.colors.cardLine};
987
-
988
- &[data-sev='act'] {
989
- background: ${s.colors.dclRed};
990
- }
991
- &[data-sev='soon'] {
992
- background: ${s.colors.flareAmber};
993
- }
994
- `;const It=l.button`
995
- display: inline-grid;
996
- place-items: center;
997
- width: 16px;
998
- height: 16px;
999
- margin-left: 5px;
1000
- padding: 0;
1001
- border: 0;
1002
- background: none;
1003
- cursor: help;
1004
- color: ${s.colors.gray4};
1005
-
1006
- &:hover,
1007
- &:focus-visible {
1008
- color: ${s.colors.softWhite};
1009
- }
1010
- .ico {
1011
- width: 14px;
1012
- height: 14px;
1013
- }
1014
- `;l.span`
1015
- b {
1016
- display: flex;
1017
- align-items: center;
1018
- font-family: ${s.font.sans};
1019
- font-size: 13px;
1020
- font-weight: 600;
1021
- }
1022
- span {
1023
- display: block;
1024
- margin-top: 2px;
1025
- font-family: ${s.font.sans};
1026
- font-size: 12px;
1027
- color: ${s.colors.gray4};
1028
- }
1029
- `;l(xe)`
1030
- display: inline-block;
1031
- margin-top: 4px;
1032
- font-family: ${s.font.sans};
1033
- font-size: 12px;
1034
- font-weight: 600;
1035
- color: ${s.colors.navViolet};
1036
- text-decoration: none;
1037
-
1038
- &:hover,
1039
- &:focus-visible {
1040
- text-decoration: underline;
1041
- }
1042
- `;l.span`
1043
- font-family: ${s.font.sans};
1044
- font-size: 18px;
1045
- font-weight: 700;
1046
- font-variant-numeric: tabular-nums;
1047
- `;const Ue=l.div`
1048
- overflow-x: auto;
1049
- `,tt=l.table`
1050
- width: 100%;
1051
- /* Fixed, so a page of short names and one of long ones lay their columns out identically — the widths
1052
- come from the header row rather than from whatever this page happens to hold. */
1053
- table-layout: fixed;
1054
-
1055
- thead th:nth-of-type(1) {
1056
- width: 36%;
1057
- }
1058
- thead th:nth-of-type(2) {
1059
- width: 24%;
1060
- }
1061
- thead th:nth-of-type(3) {
1062
- width: 120px;
1063
- }
1064
- thead th:nth-of-type(4) {
1065
- width: 14%;
1066
- }
1067
- thead th:nth-of-type(5) {
1068
- width: 110px;
1069
- }
1070
- tbody td {
1071
- overflow: hidden;
1072
- text-overflow: ellipsis;
1073
- }
1074
- font-family: ${s.font.sans};
1075
- font-size: 13px;
1076
- min-width: 520px;
1077
-
1078
- /* The same band and the same separated rows the collections table wears, so the three tables on this
1079
- page read as siblings rather than as one design and two others. The 2px gap is a transparent border
1080
- over a clipped background, which is how a table draws the design's gaps without losing its columns. */
1081
- border-collapse: separate;
1082
- border-spacing: 0;
1083
-
1084
- thead th {
1085
- text-align: left;
1086
- padding: 12px 18px;
1087
- background: ${s.colors.overlayStrong};
1088
- font-size: 14px;
1089
- font-weight: 400;
1090
- color: ${s.colors.softWhite};
1091
- white-space: nowrap;
1092
- }
1093
- thead th:first-of-type {
1094
- border-radius: ${s.radius.card} 0 0 0;
1095
- }
1096
- thead th:last-of-type {
1097
- border-radius: 0 ${s.radius.card} 0 0;
1098
- }
1099
- tbody td {
1100
- padding: 12px 18px;
1101
- background: ${s.colors.overlay};
1102
- border-top: 2px solid transparent;
1103
- background-clip: padding-box;
1104
- vertical-align: middle;
1105
- }
1106
- tbody tr:last-of-type td:first-of-type {
1107
- border-radius: 0 0 0 ${s.radius.card};
1108
- }
1109
- tbody tr:last-of-type td:last-of-type {
1110
- border-radius: 0 0 ${s.radius.card} 0;
1111
- }
1112
- tbody tr:hover td {
1113
- background: ${s.colors.overlayHover};
1114
- }
1115
- td[data-money] {
1116
- text-align: right;
1117
- font-weight: 700;
1118
- font-variant-numeric: tabular-nums;
1119
- white-space: nowrap;
1120
- }
1121
- td[data-dim] {
1122
- color: ${s.colors.gray4};
1123
- font-variant-numeric: tabular-nums;
1124
- white-space: nowrap;
1125
- }
1126
- `,Mt=l.span`
1127
- display: flex;
1128
- align-items: center;
1129
- gap: 10px;
1130
- min-width: 0;
1131
- color: inherit;
1132
- text-decoration: none;
1133
-
1134
- span {
1135
- overflow: hidden;
1136
- text-overflow: ellipsis;
1137
- white-space: nowrap;
1138
- }
1139
- &:hover span,
1140
- &:focus-visible span {
1141
- text-decoration: underline;
1142
- }
1143
- `,Wt=l.span`
1144
- flex: none;
1145
- display: block;
1146
- width: 32px;
1147
- height: 32px;
1148
- border-radius: ${s.radius.chip};
1149
- overflow: hidden;
1150
- /* Same rarity wash, same reason it needs a white base under it — see ItemThumb. */
1151
- background-color: ${s.colors.white};
1152
-
1153
- img {
1154
- width: 100%;
1155
- height: 100%;
1156
- object-fit: contain;
1157
- }
1158
- `,Lt=l.a`
1159
- max-width: 100%;
1160
- white-space: nowrap;
1161
- display: inline-flex;
1162
- align-items: center;
1163
- gap: 8px;
1164
- color: inherit;
1165
- text-decoration: none;
1166
-
1167
- &:hover,
1168
- &:focus-visible {
1169
- text-decoration: underline;
1170
- }
1171
- `,Mo=l.span`
1172
- display: inline-flex;
1173
- align-items: center;
1174
- gap: 8px;
1175
-
1176
- i {
1177
- display: block;
1178
- width: 24px;
1179
- height: 24px;
1180
- border-radius: 50%;
1181
- background: #ededed;
1182
- }
1183
- b {
1184
- display: block;
1185
- width: 84px;
1186
- height: 10px;
1187
- border-radius: 100px;
1188
- background: #ededed;
1189
- }
1190
- `,Tt=l.span`
1191
- flex: none;
1192
- display: block;
1193
- width: 24px;
1194
- height: 24px;
1195
- border-radius: 50%;
1196
- background-color: ${s.colors.overlayLight};
1197
- background-size: cover;
1198
- background-position: center top;
1199
- `,Wo=l.nav`
1200
- display: flex;
1201
- flex-wrap: wrap;
1202
- align-items: center;
1203
- justify-content: flex-end;
1204
- gap: 12px;
1205
- font-variant-numeric: tabular-nums;
1206
- `,Zt=`
1207
- display: inline-flex;
1208
- align-items: center;
1209
- justify-content: center;
1210
- width: 32px;
1211
- height: 32px;
1212
- padding: 0;
1213
- border: 0.5px solid rgba(255, 255, 255, 0.5);
1214
- border-radius: ${s.radius.btn};
1215
- background: transparent;
1216
- font-family: ${s.font.sans};
1217
- font-size: 13px;
1218
- font-weight: 600;
1219
- letter-spacing: 0.46px;
1220
- color: ${s.colors.softWhite};
1221
- cursor: pointer;
1222
-
1223
- &:hover:not(:disabled) {
1224
- border-color: ${s.colors.softWhite};
1225
- background: ${s.colors.glassFaint};
1226
- }
1227
- &:focus-visible {
1228
- outline: 2px solid ${s.colors.softWhite};
1229
- outline-offset: 2px;
1230
- }
1231
- &:disabled {
1232
- opacity: 0.35;
1233
- cursor: default;
1234
- }
1235
- `,Pt=l.button`
1236
- ${Zt}
1237
- `,Lo=l.button`
1238
- ${Zt}
1239
-
1240
- /* The page you are on is the one solid control in the row, which is how the design marks it. */
1241
- &[aria-current='page'] {
1242
- background: ${s.colors.softWhite};
1243
- border-color: ${s.colors.softWhite};
1244
- color: ${s.colors.text};
1245
- cursor: default;
1246
- }
1247
- &[aria-current='page']:hover {
1248
- background: ${s.colors.softWhite};
1249
- color: ${s.colors.text};
1250
- }
1251
- `,To=l.span`
1252
- padding: 0 2px;
1253
- font-family: ${s.font.sans};
1254
- font-size: 12px;
1255
- color: ${s.colors.gray4};
1256
- `;l.span`
1257
- display: inline-flex;
1258
- align-items: center;
1259
- gap: 2px;
1260
- `;const Po=l.span`
1261
- font-size: 11px;
1262
- font-weight: 700;
1263
- letter-spacing: 0.04em;
1264
- text-transform: uppercase;
1265
- border-radius: ${s.radius.chip};
1266
- padding: 2px 7px;
1267
- white-space: nowrap;
1268
- color: ${s.colors.gray4};
1269
- background: ${s.colors.overlayLight};
1270
-
1271
- &[data-kind='mint'] {
1272
- color: ${s.colors.navViolet};
1273
- background: rgba(105, 31, 169, 0.1);
1274
- }
1275
- `;l.img`
1276
- width: 1em;
1277
- height: 1em;
1278
- vertical-align: -0.125em;
1279
- margin-right: 3px;
1280
- `;const _o=l.button`
1281
- display: block;
1282
- width: 100%;
1283
- padding: 13px 18px;
1284
- border: 0;
1285
- border-top: 1px solid ${s.colors.cardLine};
1286
- background: none;
1287
- cursor: pointer;
1288
- font-family: ${s.font.sans};
1289
- font-size: 13px;
1290
- font-weight: 600;
1291
- color: ${s.colors.navViolet};
1292
-
1293
- &:hover {
1294
- background: ${s.colors.glassFaint};
1295
- }
1296
- &:focus-visible {
1297
- outline: 2px solid ${s.colors.navViolet};
1298
- outline-offset: -2px;
1299
- }
1300
- `;l.div`
1301
- display: flex;
1302
- flex-direction: column;
1303
- gap: 4px;
1304
- padding: 10px 18px 14px;
1305
- border-top: 1px solid ${s.colors.cardLine};
1306
- `;l.p`
1307
- margin: 0;
1308
- font-family: ${s.font.sans};
1309
- font-size: 11px;
1310
- line-height: 1.45;
1311
- color: ${s.colors.muted2};
1312
- `;const es=`
1313
- background: linear-gradient(100deg, var(--skeleton-lo) 30%, var(--skeleton-hi) 50%, var(--skeleton-lo) 70%);
1314
- background-size: 200% 100%;
1315
- animation: shimmer 1.3s infinite linear;
1316
-
1317
- @media (prefers-reduced-motion: reduce) {
1318
- animation: none;
1319
- }
1320
- `,b=l.span`
1321
- display: block;
1322
- height: 12px;
1323
- border-radius: 100px;
1324
- ${es}
1325
- `,zo=l.span`
1326
- display: block;
1327
- width: 40px;
1328
- height: 40px;
1329
- border-radius: ${s.radius.btn};
1330
- ${es}
1331
- `,_t=l.div`
1332
- display: grid;
1333
- grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 100px minmax(0, 0.5fr) 70px;
1334
- align-items: center;
1335
- gap: 12px;
1336
- padding: 0 18px 10px;
1337
-
1338
- > *:last-child {
1339
- justify-self: end;
1340
- }
1341
- background: ${s.colors.overlayStrong};
1342
- border-radius: ${s.radius.card} ${s.radius.card} 0 0;
1343
- `,zt=l.div`
1344
- display: grid;
1345
- grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 100px minmax(0, 0.5fr) 70px;
1346
- align-items: center;
1347
- gap: 12px;
1348
- height: 57px;
1349
- padding: 0 18px;
1350
- background: ${s.colors.overlay};
1351
- border-top: 2px solid transparent;
1352
- background-clip: padding-box;
1353
-
1354
- > *:last-child {
1355
- justify-self: end;
1356
- }
1357
- `,$e=l.p`
1358
- margin: 0;
1359
- font-family: ${s.font.sans};
1360
- font-size: 13px;
1361
- color: ${s.colors.gray4};
1362
- `,Eo=l(B)`
1363
- width: 16px;
1364
- height: 16px;
1365
- `,Ke=l.span`
1366
- display: inline-flex;
1367
- align-items: center;
1368
- gap: 4px;
1369
- font-family: ${s.font.sans};
1370
- font-size: 12px;
1371
- font-weight: 600;
1372
- line-height: 1.3;
1373
- flex-wrap: wrap;
1374
- color: ${s.colors.gray4};
1375
-
1376
- &[data-dir='up'] {
1377
- color: ${s.colors.successBorder};
1378
- }
1379
- &[data-dir='down'] {
1380
- color: #ff6b6b;
1381
- }
1382
-
1383
- /* Grey whichever way the figure went: it is the label, not the reading. */
1384
- .delta__against {
1385
- font-size: 10px;
1386
- font-weight: 400;
1387
- color: ${s.colors.gray4};
1388
- }
1389
- .delta__arrow {
1390
- font-size: 10px;
1391
- line-height: 1;
1392
- }
1393
- `,Fo=l.div`
1394
- margin: 10px 0 -4px;
1395
- `,No=l.h2`
1396
- margin: 0;
1397
- font-family: ${s.font.sans};
1398
- font-size: 19px;
1399
- font-weight: 700;
1400
- letter-spacing: -0.01em;
1401
- color: ${s.colors.softWhite};
1402
- `,Bo=l.p`
1403
- margin: 4px 0 0;
1404
- font-family: ${s.font.sans};
1405
- font-size: 13px;
1406
- color: rgba(252, 252, 252, 0.62);
1407
- `,Oo=l.div`
1408
- display: grid;
1409
- grid-template-columns: repeat(auto-fit, minmax(210px, 300px));
1410
- gap: 14px;
1411
- align-items: start;
1412
-
1413
- ${s.media.maxWidth("mobile")} {
1414
- grid-template-columns: minmax(0, 1fr);
1415
- }
1416
- `,Do=l(tt)`
1417
- thead th:nth-of-type(1) {
1418
- width: 40%;
1419
- }
1420
- thead th:nth-of-type(2) {
1421
- width: 16%;
1422
- }
1423
- thead th:nth-of-type(3) {
1424
- width: 20%;
1425
- }
1426
- thead th:nth-of-type(4) {
1427
- width: 12%;
1428
- }
1429
- thead th:nth-of-type(5) {
1430
- width: 12%;
1431
- }
1432
- `;l.div`
1433
- display: grid;
1434
- grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
1435
- gap: 14px;
1436
- align-items: start;
1437
-
1438
- ${s.media.maxWidth("lg")} {
1439
- grid-template-columns: minmax(0, 1fr);
1440
- }
1441
- `;l.div`
1442
- display: flex;
1443
- flex-direction: column;
1444
- gap: 14px;
1445
- `;const Ve=l.span`
1446
- display: inline-flex;
1447
- align-items: center;
1448
- justify-content: flex-end;
1449
-
1450
- [data-kind] img,
1451
- [data-kind] .ico {
1452
- vertical-align: baseline;
1453
- }
1454
- `,Ro=l.span`
1455
- font-family: ${s.font.sans};
1456
- font-size: 14px;
1457
- font-weight: 600;
1458
- font-variant-numeric: tabular-nums;
1459
- white-space: nowrap;
1460
- text-align: center;
1461
-
1462
- /* One weight and one colour, as the design draws it: the pair is a single reading ("80 of 250"), and
1463
- dimming the denominator made the two halves look like different figures. */
1464
- small {
1465
- font-size: inherit;
1466
- font-weight: inherit;
1467
- }
1468
- `,qo=l.span`
1469
- display: flex;
1470
- flex-direction: column;
1471
- align-items: center;
1472
- justify-content: center;
1473
- gap: 4px;
1474
- min-width: 0;
1475
- font-family: ${s.font.sans};
1476
- font-size: 12px;
1477
- color: ${s.colors.gray4};
1478
- text-align: center;
1479
- `,Ho=l.span`
1480
- display: inline-flex;
1481
- flex-wrap: wrap;
1482
- justify-content: center;
1483
- gap: 8px;
1484
- `,Uo=l(vs)`
1485
- align-self: center;
1486
- gap: 4px;
1487
- padding: 2px 4px;
1488
- border: 0;
1489
- border-radius: 6px;
1490
- background: ${s.colors.saleTag};
1491
- line-height: 20px;
1492
-
1493
- b,
1494
- span {
1495
- font-size: 14px;
1496
- line-height: 20px;
1497
- }
1498
- `,Ko=l(qs)`
1499
- align-self: center;
1500
- gap: 4px;
1501
- padding: 4px 8px;
1502
- border-radius: 6px;
1503
- background: ${s.colors.glass};
1504
- color: ${s.colors.white};
1505
-
1506
- b {
1507
- color: ${s.colors.white};
1508
- font-size: 12px;
1509
- line-height: 16px;
1510
- }
1511
- `,Vo=l.span`
1512
- color: ${s.colors.muted2};
1513
-
1514
- b {
1515
- font-weight: 600;
1516
- }
1517
- /* Whether it is selling faster carries the only colour in the cell, since it is the only judgement. */
1518
- &[data-dir='up'] b {
1519
- color: #2ecc71;
1520
- }
1521
- &[data-dir='down'] b {
1522
- color: #ff6b6b;
1523
- }
1524
- `,ve=l.div`
1525
- display: flex;
1526
- align-items: center;
1527
- justify-content: space-between;
1528
- gap: 12px;
1529
- font-family: ${s.font.sans};
1530
- font-size: 13px;
1531
- color: ${s.colors.gray4};
1532
-
1533
- ${s.media.maxWidth("mobile")} {
1534
- flex-direction: column;
1535
- align-items: stretch;
1536
- }
1537
- `,Go=l.div`
1538
- display: flex;
1539
- align-items: center;
1540
- justify-content: space-between;
1541
- gap: 12px;
1542
-
1543
- ${s.media.maxWidth("mobile")} {
1544
- flex-wrap: wrap;
1545
- }
1546
- `,Yo=l.div`
1547
- display: flex;
1548
- align-items: center;
1549
- gap: 10px;
1550
- min-width: 0;
1551
- `,Qo=l(Ht)`
1552
- display: inline-flex;
1553
- align-items: center;
1554
- justify-content: center;
1555
- gap: 8px;
1556
- height: 36px;
1557
- padding: 0 12px;
1558
- border: 0.5px solid ${s.colors.white};
1559
- border-radius: 12px;
1560
- background: transparent;
1561
- color: ${s.colors.softWhite};
1562
- font-size: 13px;
1563
- font-weight: 600;
1564
- letter-spacing: 0.46px;
1565
- text-transform: uppercase;
1566
-
1567
- &:hover:not(:disabled) {
1568
- background: ${s.colors.glassFaint};
1569
- color: ${s.colors.softWhite};
1570
- }
1571
- `,Jo=l.span`
1572
- display: inline-flex;
1573
- align-items: center;
1574
- justify-content: center;
1575
- gap: 6px;
1576
- font-family: ${s.font.sans};
1577
- font-size: 14px;
1578
- font-weight: 600;
1579
- font-variant-numeric: tabular-nums;
1580
- white-space: nowrap;
1581
- `,Xo=l.span`
1582
- display: inline-flex;
1583
- align-items: center;
1584
- justify-content: flex-end;
1585
- gap: 5px;
1586
- font-family: ${s.font.sans};
1587
- font-size: 13px;
1588
- font-variant-numeric: tabular-nums;
1589
- color: ${s.colors.gray4};
1590
- white-space: nowrap;
1591
-
1592
- .ico {
1593
- width: 14px;
1594
- height: 14px;
1595
- }
1596
- `,ts=l.div`
1597
- display: grid;
1598
- grid-template-columns: repeat(2, minmax(0, 1fr));
1599
- gap: 14px;
1600
- /* Stretched rather than start-aligned: the sales rows carry a second line and the best sellers do not,
1601
- so the two will never end together on their own, and two cards of different heights side by side read
1602
- as one of them having failed to load. */
1603
-
1604
- ${s.media.maxWidth("lg")} {
1605
- grid-template-columns: minmax(0, 1fr);
1606
- }
1607
- `,Et=l.p`
1608
- margin: 2px 0 0;
1609
- font-family: ${s.font.sans};
1610
- font-size: 13px;
1611
- color: ${s.colors.gray4};
1612
- `,Ft=l.div`
1613
- display: flex;
1614
- align-items: flex-start;
1615
- justify-content: space-between;
1616
- gap: 12px;
1617
- `,Zo=l(xe)`
1618
- display: inline-flex;
1619
- align-items: center;
1620
- gap: 6px;
1621
- flex: none;
1622
- color: ${s.colors.white};
1623
- font-family: ${s.font.sans};
1624
- font-size: 12px;
1625
- font-weight: 600;
1626
- letter-spacing: 0.04em;
1627
- text-transform: uppercase;
1628
- text-decoration: underline;
1629
-
1630
- &:hover {
1631
- color: ${s.colors.navViolet};
1632
- }
1633
- `,Nt=l.span`
1634
- display: inline-block;
1635
- min-width: 12px;
1636
- font-weight: 700;
1637
- font-variant-numeric: tabular-nums;
1638
- color: ${s.colors.gray4};
1639
- `,Bt=l.span`
1640
- display: flex;
1641
- align-items: center;
1642
- gap: 12px;
1643
- min-width: 0;
1644
- `,ss=`
1645
- thead th,
1646
- tbody td {
1647
- padding-left: 12px;
1648
- padding-right: 12px;
1649
- }
1650
- `,ea=l(tt)`
1651
- min-width: 500px;
1652
- ${ss}
1653
-
1654
- thead th:nth-of-type(1) {
1655
- width: 46%;
1656
- }
1657
- thead th:nth-of-type(2) {
1658
- width: 26%;
1659
- }
1660
- thead th:nth-of-type(3) {
1661
- width: 72px;
1662
- }
1663
- thead th:nth-of-type(4) {
1664
- width: 96px;
1665
- }
1666
- `,ta=l(tt)`
1667
- min-width: 580px;
1668
- ${ss}
1669
-
1670
- thead th:nth-of-type(1) {
1671
- width: 34%;
1672
- }
1673
- thead th:nth-of-type(2) {
1674
- width: 22%;
1675
- }
1676
- thead th:nth-of-type(3) {
1677
- width: 70px;
1678
- }
1679
- thead th:nth-of-type(4) {
1680
- width: 140px;
1681
- }
1682
- thead th:nth-of-type(5) {
1683
- width: 76px;
1684
- }
1685
- `,sa=l.span`
1686
- display: flex;
1687
- flex-direction: column;
1688
- gap: 3px;
1689
- min-width: 0;
1690
- `,na=["7d","30d","all"],Te=8,Pe=5,Ge=5,ns="shop.my-store.sort",oa=["sold","earned","newest","name"];function aa(){try{const t=localStorage.getItem(ns);return oa.includes(t)?t:"sold"}catch{return"sold"}}function ia(t){try{localStorage.setItem(ns,t)}catch{}}function ue(t){return t==="asc"?"ascending":t==="desc"?"descending":void 0}function N(t,n){return(t==null?void 0:t.key)===n?t.dir:void 0}function ra(t,n){const o=[...t];return n==="name"?o.sort((d,a)=>d.name.localeCompare(a.name)):n==="earned"?We(o,d=>d.earningsWei,"desc"):n==="newest"?o.sort((d,a)=>(a.createdAt??0)-(d.createdAt??0)):o.sort((d,a)=>a.sold-d.sold||d.name.localeCompare(a.name))}function Ot(t,n,o){return ce(`/item/${t}/${n}`,o)}function ce(t,n){return n?`${t}${t.includes("?")?"&":"?"}env=${n}`:t}function la(t,n){if(n==null)return null;const o=t.minted-n;return o>0?o:null}const da={website:"website",twitter:"x-twitter",discord:"discord",facebook:"facebook"},_e=5;function ca(t,n){if(n<=5)return Array.from({length:n},(a,h)=>h);const o=[t-1,t,t+1].filter(a=>a>0&&a<n-1),d=[0];return o[0]>1&&d.push("gap"),d.push(...o),o[o.length-1]<n-2&&d.push("gap"),d.push(n-1),d}function Ce({page:t,pages:n,onChange:o,name:d}){return n<=1?null:e.jsxs(Wo,{"aria-label":r("myStore.pagination"),children:[e.jsx(Pt,{type:"button",onClick:()=>o(Math.max(0,t-1)),disabled:t===0,"aria-label":r("myStore.prev"),"data-testid":`store-${d}-prev`,children:e.jsx(B,{name:"chevron-down",size:16,"aria-hidden":!0,style:{transform:"rotate(90deg)"}})}),ca(t,n).map((a,h)=>a==="gap"?e.jsx(To,{children:"…"},`gap-${h}`):e.jsx(Lo,{type:"button","aria-current":a===t?"page":void 0,onClick:()=>o(a),"data-testid":`store-${d}-page-${a+1}`,children:(a+1).toLocaleString()},a)),e.jsx(Pt,{type:"button",onClick:()=>o(Math.min(n-1,t+1)),disabled:t>=n-1,"aria-label":r("myStore.next"),"data-testid":`store-${d}-next`,children:e.jsx(B,{name:"chevron-down",size:16,"aria-hidden":!0,style:{transform:"rotate(-90deg)"}})})]})}function ha(t,n,o){var w,P;const d={"7d":7,"30d":30,all:null}[n],a=S.useMemo(()=>Math.floor(Date.now()/864e5)*864e5+864e5-1,[]),h=d?a-d*864e5:void 0,m=q({queryKey:["store-sales-page",t,n,o],enabled:!!t,placeholderData:_=>_,queryFn:()=>ln({seller:t,from:h},{first:_e,skip:o*_e})}),p=((w=m.data)==null?void 0:w.total)??0;return{rows:((P=m.data)==null?void 0:P.rows)??[],total:p,pages:Math.ceil(p/_e)}}function Dt(t){return q({queryKey:["store-buyers",t],enabled:t.length>0,staleTime:5*6e4,queryFn:()=>Ds(t)})}function Rt(t,n){var d;const o=(d=n==null?void 0:n.get(t.toLowerCase()))==null?void 0:d.name;return o?Ut(o):Os(t)}function pa(t){return Y.previewHost&&t==="1"}const ua=25000n;function ma(t){return t*ua/1000000n}function V(t){const n=Number(t/10n**14n)/1e4;return n>=10?Math.round(n).toLocaleString():n.toFixed(2)}function qt(t){const n=Math.max(1,Math.round((Date.now()-t)/6e4));if(n<60)return r("myStore.agoMinutes",{n});const o=Math.round(n/60);return o<24?r("myStore.agoHours",{n:o}):r("myStore.agoDays",{n:Math.round(o/24)})}function xa({series:t}){const n=S.useId(),o=Math.max(...t,0),d=t.length>1?92/(t.length-1):0,a=p=>o===0?27:27-p/o*22,m=t.map((p,w)=>`${(2+w*d).toFixed(1)} ${a(p).toFixed(1)}`).join(" L ");return o===0?e.jsx(At,{viewBox:"0 0 96 30",role:"img","aria-label":r("myStore.trendNone"),children:e.jsx("path",{d:"M2 27 L94 27",fill:"none",stroke:s.colors.cardLine,strokeWidth:"2",strokeLinecap:"round"})}):e.jsxs(At,{viewBox:"0 0 96 30",role:"img","aria-label":r("myStore.trendAria",{n:o}),children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:n,gradientUnits:"userSpaceOnUse",x1:"78.9",y1:"-19.5",x2:"35.3",y2:"40.4",children:[e.jsx("stop",{stopColor:s.colors.dclRed}),e.jsx("stop",{offset:"1",stopColor:s.colors.flareAmber})]}),e.jsxs("linearGradient",{id:`${n}-fill`,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:s.colors.dclRed,stopOpacity:"0.26"}),e.jsx("stop",{offset:"1",stopColor:s.colors.dclRed,stopOpacity:"0"})]})]}),e.jsx("path",{d:`M ${m} L 94 29 L 2 29 Z`,fill:`url(#${n}-fill)`}),e.jsx("path",{d:`M ${m}`,fill:"none",stroke:`url(#${n})`,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function fa({collection:t,discount:n,savesByKey:o,open:d,onToggle:a,onManage:h,onIssue:m,env:p}){var P,_;const w=`store-items-${t.contractAddress}`;return e.jsxs(e.Fragment,{children:[e.jsxs(Xt,{"data-testid":"store-collection","data-exhausted":t.exhausted||void 0,children:[e.jsx(ao,{type:"button","aria-expanded":d,"aria-controls":w,"aria-label":r(d?"myStore.collapse":"myStore.expand",{name:t.name}),onClick:a,"data-testid":"store-collection-toggle",children:e.jsx(Eo,{name:"chevron-down",className:"ico","aria-hidden":!0})}),e.jsx(io,{"data-testid":"store-collection-thumb",children:e.jsx(zs,{contractAddress:t.contractAddress})}),e.jsxs(co,{children:[e.jsxs(lo,{children:[e.jsx(xe,{to:ce(`/collection/${t.contractAddress}`,p),"data-testid":"store-collection-name",children:t.name}),t.exhausted?e.jsx(ro,{"data-testid":"store-collection-soldout",children:r("myStore.collExhausted")}):null]}),e.jsxs(ho,{children:[r("myStore.itemsCount",{count:t.items.length}),t.listed>0?` · ${r("myStore.listedCount",{count:t.listed})}`:"",!t.exhausted&&t.soldOut>0?` · ${r("myStore.soldOutCount",{count:t.soldOut})}`:""]})]}),e.jsx(qo,{"data-testid":"store-collection-discount",children:n?e.jsxs(e.Fragment,{children:[e.jsxs(Ho,{children:[e.jsx(Uo,{pct:n.discount/1e4}),e.jsx(Ko,{until:n.checks.expiration})]}),e.jsx(Vo,{children:Ys(n)?r("myStore.discountUsed",{used:((P=n.state)==null?void 0:P.uses)??0,total:n.checks.uses}):r("myStore.discountUsedUncapped",{used:((_=n.state)==null?void 0:_.uses)??0})})]}):r("myStore.noDiscountShort")}),e.jsxs(Ro,{"data-testid":"store-collection-claimed",children:[t.claimed.toLocaleString(),e.jsxs("small",{children:["/",t.runTotal.toLocaleString()]})]}),e.jsxs(Jo,{"data-testid":"store-collection-earned",children:[e.jsx(H,{kind:"mana"}),V(t.earningsWei)]}),e.jsx(po,{children:e.jsx(xa,{series:t.trend})}),e.jsxs(Qo,{as:"a",href:`${Y.builderUrl}/collections${t.collectionId?`/${t.collectionId}`:""}`,target:"_blank",rel:"noopener noreferrer",onClick:h,"data-testid":"store-manage",children:[r("myStore.manage"),e.jsx(B,{name:"external-link",size:14,"aria-hidden":!0})]})]}),d?e.jsxs(uo,{id:w,"data-testid":"store-items",children:[e.jsxs(mo,{"data-testid":"store-collection-stats",children:[e.jsxs("span",{children:[e.jsxs("b",{children:[e.jsx(H,{kind:"mana"}),V(t.earningsWei)]}),r("myStore.collEarned")]}),e.jsxs("span",{children:[e.jsx("b",{children:t.sold.toLocaleString()}),r("myStore.collSold")]}),e.jsxs("span",{children:[e.jsx("b",{children:t.items.length}),r("myStore.collItems",{count:t.items.length})]}),e.jsxs("span",{children:[e.jsx("b",{children:t.listed+t.classic}),r("myStore.collListed")]})]}),t.items.map(u=>{const L=la(u,u.lifetimeSold);return e.jsxs(xo,{"data-testid":"store-item",children:[e.jsx(fo,{style:{backgroundImage:Je(u.rarity)},children:u.thumbnail?e.jsx("img",{src:u.thumbnail,alt:"",loading:"lazy"}):null}),e.jsxs(go,{children:[e.jsx(So,{to:ce(`/item/${t.contractAddress}/${u.itemId}`,p),title:u.name,children:u.name}),e.jsxs(yo,{children:[e.jsx(wo,{style:{background:Ns(u.rarity)},title:Fs(u.rarity),children:Es(u.rarity)}),e.jsx($o,{"data-state":u.state,children:u.state==="soldout"?null:u.state==="unlisted"?r("myStore.stateUnlisted"):u.state==="unknown"?r("myStore.stateUnknown"):e.jsxs(e.Fragment,{children:[e.jsx(Co,{children:r("myStore.onSaleFor")}),u.manaWei?e.jsxs(e.Fragment,{children:[e.jsx(H,{kind:"mana"}),V(O(u.manaWei))]}):e.jsxs(e.Fragment,{children:[e.jsx(H,{kind:"credits"}),e.jsx(Bs,{credits:u.priceCredits??0})]})]})}),m&&u.left>0?e.jsx(bo,{type:"button",onClick:()=>m(u),"data-testid":"store-item-issue",children:r("myStore.issueCopies")}):null]})]}),e.jsxs(jo,{children:[u.sold.toLocaleString(),e.jsxs("small",{children:[" ",r("myStore.sold")]})]}),e.jsxs(Xo,{"data-testid":"store-item-saves",title:r("myStore.savesHint",{count:o.get(u.key)??0}),children:[e.jsx(B,{name:"heart",className:"ico","aria-hidden":!0}),(o.get(u.key)??0).toLocaleString()]}),e.jsx(ko,{role:"progressbar","aria-valuemin":0,"aria-valuemax":u.minted+u.left,"aria-valuenow":u.minted,"aria-label":r("myStore.runAria",{minted:u.minted,total:u.minted+u.left}),children:e.jsx("i",{style:{width:`${Math.round(u.minted/Math.max(1,u.minted+u.left)*100)}%`}})}),e.jsxs(vo,{title:u.lifetimeSold==null?void 0:r("myStore.runBreakdown",{total:u.minted+u.left,sold:u.lifetimeSold,sent:u.minted-u.lifetimeSold,left:u.left}),children:[e.jsx(Io,{"data-out":u.left===0,"data-testid":"store-item-stock",children:Kt(u.left===0?"myStore.stockNone":"myStore.stockLeft",{b:E=>e.jsx("b",{children:E}),left:u.left.toLocaleString(),total:(u.minted+u.left).toLocaleString()})}),L?e.jsx(Ao,{"data-testid":"store-item-issued",children:r("myStore.sentDirectly",{count:L.toLocaleString()})}):null]})]},u.key)})]}):null]})}function Ye(t){return!!t&&!(t.current===0&&t.previous===0)}function Qe({delta:t,period:n}){if(!t||t.current===0&&t.previous===0)return null;const o=n==="all"?"":r(`myStore.vs${n}`);if(t.pct===null)return e.jsxs(Ke,{"data-dir":"new","data-testid":"store-delta",children:[r("myStore.deltaNew"),o?e.jsx("span",{className:"delta__against",children:o}):null]});const d=Math.round(t.pct);if(d===0)return e.jsxs(Ke,{"data-dir":"flat","data-testid":"store-delta",children:[r("myStore.deltaFlat"),o?e.jsx("span",{className:"delta__against",children:o}):null]});const a=d>0,m=d>=1e3?r("myStore.deltaTimes",{times:Math.round(d/100+1).toLocaleString()}):`${Math.abs(d)}%`;return e.jsxs(Ke,{"data-dir":a?"up":"down","data-testid":"store-delta","aria-label":r(a?"myStore.deltaUpAria":"myStore.deltaDownAria",{pct:m,against:o}),children:[e.jsx("span",{className:"delta__arrow","aria-hidden":!0,children:a?"▲":"▼"}),m,o?e.jsx("span",{className:"delta__against",children:o}):null]})}function ga(){return e.jsxs("div",{"data-testid":"store-skeleton","aria-hidden":!0,children:[e.jsx(Gt,{children:[0,1,2,3].map(t=>e.jsxs(X,{children:[e.jsx(b,{style:{width:"46%"}}),e.jsx(b,{style:{width:"32%",height:38}}),e.jsx(b,{style:{width:"64%",height:15}})]},t))}),e.jsxs(Z,{style:{marginTop:22},children:[e.jsxs(Le,{children:[e.jsx(b,{style:{width:96,height:14}}),e.jsx(b,{style:{width:120}})]}),e.jsxs(Jt,{children:[e.jsxs(Qt,{"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:Te},(t,n)=>e.jsxs(Xt,{children:[e.jsx("span",{}),e.jsx(zo,{}),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(_o,{as:"div",children:e.jsx(b,{style:{width:150,height:13,margin:"0 auto"}})})]}),e.jsx(ts,{style:{marginTop:22},children:[0,1].map(t=>e.jsxs(Z,{children:[e.jsxs(Le,{children:[e.jsx(b,{style:{width:110,height:14}}),e.jsx(b,{style:{width:80}})]}),e.jsx(_t,{children:[0,1,2,3].map(n=>e.jsx(b,{style:{width:46,height:9}},n))}),Array.from({length:_e},(n,o)=>e.jsxs(zt,{children:[e.jsx(b,{style:{width:"38%"}}),e.jsx(b,{style:{width:"24%"}}),e.jsx(b,{style:{width:56}}),e.jsx(b,{style:{width:64}})]},o))]},t))}),e.jsxs(Z,{style:{marginTop:22},children:[e.jsxs(Le,{children:[e.jsx(b,{style:{width:104,height:14}}),e.jsx(b,{style:{width:90}})]}),e.jsx(_t,{children:[0,1,2,3,4].map(t=>e.jsx(b,{style:{width:46,height:9}},t))}),Array.from({length:Pe},(t,n)=>e.jsxs(zt,{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 Ba(){var ft,gt;Cs({title:r("myStore.title"),noindex:!0});const{session:t,error:n,signIn:o}=As(),[d]=gs(),[a,h]=S.useState("30d"),[m,p]=S.useState(()=>new Set),[w,P]=S.useState(0),[_,u]=S.useState(0),[L,E]=S.useState(!1),[z,D]=S.useState(aa),[U,ee]=S.useState(0),[T,Q]=S.useState(null),[I,te]=S.useState(null),[v,M]=S.useState(0),[C,c]=S.useState(null),[f,j]=S.useState(null),k=Is(),[A,R]=S.useState(!1),st=Ms(),os=Ws(),K=pa(d.get("mock")),se=d.get("env"),as=ys("/").replace(/\/$/,""),ze=i=>`${as}${i}`,nt=K;function $(i,y={}){nt||_s(i,y)}const{data:J}=Ls(t==null?void 0:t.address),Ee=t==null?void 0:t.address,{data:ne}=sn(Ee),ot=nn.filter(i=>ne==null?void 0:ne.links[i]),at=(gt=(ft=J==null?void 0:J.avatar)==null?void 0:ft.snapshots)==null?void 0:gt.face256,it=J!=null&&J.name?Ut(J.name):null,{stats:is,trend:rt,savesByKey:rs,saleable:lt,isLoading:ls,error:ds}=vn(t,a),x=K?et:is,W=K?{...rt,collectors:Pn,buyers:_n}:rt,cs=K?!1:ls,hs=K?En:rs,Fe=ha(t==null?void 0:t.address,a,_),fe=K?Nn:Fe.rows,ps=S.useMemo(()=>[...new Set(fe.map(i=>i.buyer.toLowerCase()))].sort(),[fe]),{data:ge,isLoading:us}=Dt(ps),Ne=Math.max(1,Math.ceil(W.buyers.length/Pe)),ye=Math.min(U,Ne-1),dt=S.useMemo(()=>{if(!C)return W.buyers;const i={items:y=>y.items,collections:y=>y.collections,last:y=>y.lastAt,spent:y=>y.spentWei}[C.key];return We(W.buyers,i,C.dir)},[W.buyers,C]),Be=S.useMemo(()=>dt.slice(ye*Pe,(ye+1)*Pe),[dt,ye]),ms=S.useMemo(()=>Be.map(i=>i.address).sort(),[Be]),{data:be}=Dt(ms),{data:xs}=Ks(t==null?void 0:t.address,st&&!!t),ct=Math.max(1,Math.ceil(((x==null?void 0:x.collections.length)??0)/Te)),ht=S.useMemo(()=>{const i=(x==null?void 0:x.collections)??[];if(!T)return ra(i,z);const y={name:g=>g.name,claimed:g=>g.claimed,earnings:g=>g.earningsWei,sold:g=>g.sold}[T.key];return We(i,y,T.dir)},[x,z,T]),he=S.useMemo(()=>{const i=xn((x==null?void 0:x.collections)??[],1/0).map((g,F)=>({...g,rank:F+1}));if(!I)return i;const y={name:g=>g.name,collection:g=>g.collectionName,sold:g=>g.sold,earnings:g=>g.earnedWei}[I.key];return We(i,y,I.dir)},[x,I]);function we(i,y){const g=He(I,i,y);$("Shop Sorted Store Table",{table:"best_sellers",column:g.key,direction:g.dir}),te(g),M(0)}const Oe=Math.max(1,Math.ceil(he.length/Ge)),Se=Math.min(v,Oe-1),fs=S.useMemo(()=>he.slice(Se*Ge,(Se+1)*Ge),[he,Se]),je=Math.min(w,ct-1),pt=S.useMemo(()=>ht.slice(je*Te,(je+1)*Te),[ht,je]);if(os==="off")return e.jsx(bs,{to:"/",replace:!0});if(!t&&!K)return e.jsxs(Ts,{children:[e.jsx(Ps,{testId:"my-store-signin",icon:on,title:r("myStore.signInTitle"),body:r("myStore.signInBody"),cta:{label:r("storeSettings.signIn"),onClick:()=>o()},ctaVariant:"solid",fill:!0}),e.jsx(wt,{message:n})]});const ut=K?zn:xs,De=new Map;for(const i of ut??[])if(!(i.status!=="active"&&i.status!=="scheduled"))for(const y of i.collections)De.set(y.toLowerCase(),i);const mt=(ut??[]).filter(i=>i.status==="active"||i.status==="scheduled"),xt=a==="7d"?7:a==="30d"?30:null,Re=((x==null?void 0:x.collections)??[]).reduce((i,y)=>i+y.items.length,0);return e.jsx(en,{children:e.jsx(tn,{children:e.jsxs(Bn,{"data-testid":"my-store",children:[f&&t?e.jsx(Js,{item:{contractAddress:f.contractAddress,chainId:Y.chainId,itemId:f.item.itemId,name:f.item.name,thumbnail:f.item.thumbnail,available:f.item.left},session:t,onClose:()=>{j(null),k.invalidateQueries({queryKey:["store-catalogue"]}),k.invalidateQueries({queryKey:["store-public-catalogue"]})}}):null,L&&t?e.jsx(Vs,{session:t,collections:lt,onClose:()=>E(!1),source:"my_store",silent:nt}):null,e.jsxs(On,{children:[e.jsxs(Dn,{children:[e.jsx(qn,{style:at?{backgroundImage:`url(${at})`}:void 0,"data-testid":"store-avatar","aria-hidden":!0}),e.jsxs(Rn,{children:[it?e.jsx(Hn,{children:it}):null,e.jsxs(Kn,{children:[e.jsx(Un,{children:r("myStore.title")}),x?e.jsxs($t,{children:[r("myStore.summary",{collections:x.collections.length,items:Re}),ot.length>0?e.jsx(Qn,{"data-testid":"store-socials",children:ot.map(i=>e.jsx(Jn,{href:(ne==null?void 0:ne.links[i])??"",target:"_blank",rel:"noopener noreferrer",onClick:()=>$("Shop Clicked Store Action",{action:"social_link",link_type:i}),title:r(`creator.link.${i}`),"aria-label":r(`creator.link.${i}`),children:e.jsx(B,{name:da[i],className:"ico","aria-hidden":!0})},i))}):null]}):e.jsx($t,{children:e.jsx(b,{style:{width:170,background:"rgba(252, 252, 252, 0.18)",animation:"none"}})})]})]})]}),e.jsxs(Vn,{children:[Ee?e.jsxs(Gn,{href:ze(ce(`/items/creator/${Ee}`,se)),target:"_blank",rel:"noopener noreferrer",onClick:()=>$("Shop Clicked Store Action",{action:"view_public_store"}),"data-testid":"store-view-public",children:[r("myStore.viewPublicStore"),e.jsx(B,{name:"external-link",className:"ico","aria-hidden":!0})]}):null,e.jsxs(Yn,{to:ce("/store-settings",se),state:{from:"/my-store"},onClick:()=>$("Shop Clicked Store Action",{action:"edit_store"}),"data-testid":"store-edit",children:[e.jsx(B,{name:"pen",className:"ico","aria-hidden":!0}),r("myStore.editStore")]})]})]}),e.jsxs(Xn,{children:[e.jsx(Zn,{children:r("myStore.performance")}),e.jsx(eo,{role:"group","aria-label":r("myStore.period"),children:na.map(i=>e.jsx(to,{type:"button","aria-pressed":a===i,onClick:()=>{i!==a&&$("Shop Changed Store Period",{period:i,previous_period:a}),h(i),u(0)},"data-testid":`store-period-${i}`,children:r(`myStore.period${i}`)},i))})]}),e.jsx(wt,{message:ds?r("myStore.error"):null,testId:"my-store-error"}),cs||!x?e.jsx(ga,{}):e.jsxs(e.Fragment,{children:[e.jsxs(Gt,{"aria-label":r("myStore.summaryAria"),children:[e.jsxs(X,{children:[e.jsxs(ie,{children:[r("myStore.tileSold"),e.jsx(re,{"aria-hidden":!0,children:"🛍️"})]}),e.jsx(le,{children:e.jsx("span",{"data-testid":"store-sold",children:x.sold.toLocaleString()})}),e.jsxs(de,{children:[e.jsx(Qe,{delta:W.sold,period:a}),!Ye(W.sold)&&(x.sold===0?r("myStore.tileSoldNone"):x.resales===0?r("myStore.tileSoldFootMintsOnly",{mints:x.mints}):r("myStore.tileSoldFoot",{mints:x.mints,resales:x.resales}))]})]}),e.jsxs(X,{children:[e.jsxs(ie,{children:[r("myStore.tileEarnings"),e.jsx(re,{"aria-hidden":!0,children:"💰"})]}),e.jsxs(le,{children:[e.jsx(H,{kind:"mana"}),V(x.earningsWei),e.jsx(vt,{children:r("myStore.manaUnit")})]}),e.jsxs(de,{children:[e.jsx(Qe,{delta:W.earnings,period:a}),x.partial?e.jsxs(e.Fragment,{children:[e.jsx(Ct,{children:r("myStore.estimate")})," ",r("myStore.tileEarningsPartial")]}):Ye(W.earnings)?null:r("myStore.tileEarningsFoot")]})]}),e.jsxs(X,{children:[e.jsxs(ie,{children:[r("myStore.tileListed"),e.jsx(re,{"aria-hidden":!0,children:"🏷️"})]}),e.jsxs(le,{children:[x.listed+x.classic,e.jsx(vt,{children:r("myStore.ofTotal",{n:Re})})]}),e.jsx(de,{children:Re===0?r("myStore.tileListedNone"):r("myStore.tileListedFoot",{count:x.neverListed})})]}),e.jsxs(X,{children:[e.jsxs(ie,{children:[r("myStore.tileDiscounts"),e.jsx(re,{"aria-hidden":!0,children:"🔥"})]}),e.jsx(le,{"data-testid":"store-discounts",children:mt.length}),e.jsx(de,{children:mt.length>0?r("myStore.tileDiscountsFoot"):r("myStore.tileDiscountsNone")})]})]}),x.classic>0&&!A?e.jsx(Gs,{count:x.classic,reason:"discounts",to:ce("/activity?section=listings",se),onDismiss:()=>{$("Shop Clicked Store Action",{action:"dismiss_pricing_banner",classic_items:x.classic}),R(!0)},onCta:()=>$("Shop Clicked Store Action",{action:"update_prices",classic_items:x.classic})}):null,e.jsxs(Z,{"aria-labelledby":"store-coll-h",children:[e.jsxs(Go,{children:[e.jsx(ke,{id:"store-coll-h",children:r("myStore.collectionsCount",{count:x.collections.length})}),e.jsxs(Yo,{children:[x.collections.length>1?e.jsx(no,{options:[{value:"sold",label:r("myStore.sortSold")},{value:"earned",label:r("myStore.sortEarned")},...x.collections.some(i=>i.createdAt)?[{value:"newest",label:r("myStore.sortNewest")}]:[],{value:"name",label:r("myStore.sortName")}],value:T?void 0:z,placeholder:r("myStore.sortCustom"),onChange:i=>{$("Shop Sorted Store Collections",{sort:i}),D(i),Q(null),P(0),ia(i)},align:"right",ariaLabel:r("myStore.sortBy"),className:"store-sort"}):null,K||st&&t&&lt.length>0?e.jsxs(Ht,{variant:"red",size:"sm",onClick:()=>E(!0),"data-testid":"store-new-discount",children:[e.jsx("span",{"aria-hidden":!0,children:"🔥"}),r("myStore.newDiscount")]}):null]})]}),x.collections.length===0?e.jsx($e,{children:r("myStore.noCollections")}):e.jsx(e.Fragment,{children:e.jsxs(Jt,{children:[e.jsxs(Qt,{children:[e.jsx("span",{}),e.jsx("span",{}),[["name",r("myStore.colCollection"),"asc"],null,["claimed",r("myStore.colClaimed"),"desc"],["earnings",r("myStore.colEarnings"),"desc"],["sold",xt?r("myStore.colTrend",{days:xt}):r("myStore.colTrendAll"),"desc"]].map((i,y)=>i?e.jsx("span",{children:e.jsx(ae,{label:i[1],dir:N(T,i[0]),testId:`store-sort-collections-${i[0]}`,onSort:()=>{const g=He(T,i[0],i[2]);$("Shop Sorted Store Table",{table:"collections",column:g.key,direction:g.dir}),Q(g),P(0)}})},i[0]):e.jsx("span",{children:r("myStore.colDiscounts")},`plain-${y}`)),e.jsx("span",{children:r("myStore.colActions")})]}),pt.map(i=>e.jsx(fa,{collection:i,discount:De.get(i.contractAddress)??null,savesByKey:hs,env:se,open:m.has(i.contractAddress),onToggle:()=>{m.has(i.contractAddress)||$("Shop Expanded Store Collection",{contract_address:i.contractAddress,items:i.items.length,exhausted:i.exhausted,has_discount:De.has(i.contractAddress)}),p(y=>{const g=new Set(y);return g.delete(i.contractAddress)||g.add(i.contractAddress),g})},onManage:()=>$("Shop Clicked Store Action",{action:"manage_collection",contract_address:i.contractAddress}),onIssue:t?y=>{$("Shop Clicked Store Action",{action:"issue_copies",contract_address:i.contractAddress}),j({item:y,contractAddress:i.contractAddress})}:void 0},i.contractAddress))]})}),x.collections.length>0?e.jsxs(ve,{children:[e.jsxs("span",{"data-testid":"store-showing",children:[r("myStore.showingOf",{shown:pt.length.toLocaleString(),total:x.collections.length.toLocaleString()}),x.breakdownPartial?e.jsxs(e.Fragment,{children:[" · ",r("myStore.soldPartial",{n:x.fetched.toLocaleString()})]}):null]}),e.jsx(Ce,{page:je,pages:ct,onChange:i=>{$("Shop Paged Store Table",{table:"collections",page:i+1}),P(i)},name:"collections"})]}):null]}),e.jsxs(ts,{children:[e.jsxs(Z,{"aria-labelledby":"store-best-h",children:[e.jsx(Ft,{children:e.jsxs("div",{children:[e.jsx(ke,{id:"store-best-h",children:r("myStore.bestSellers")}),e.jsxs(Et,{children:[r("myStore.bestSellersSub",{n:he.length}),x.breakdownPartial?e.jsxs(e.Fragment,{children:[" · ",r("myStore.soldPartial",{n:x.fetched.toLocaleString()})]}):null]})]})}),he.length===0?e.jsx($e,{children:r("myStore.noBestSellers")}):e.jsx(Ue,{children:e.jsxs(ea,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col","aria-sort":ue(N(I,"name")),children:e.jsxs(Bt,{children:[e.jsx(Nt,{"aria-hidden":!0,children:"#"}),e.jsx(ae,{label:r("myStore.colItem"),dir:N(I,"name"),testId:"store-sort-best-name",onSort:()=>we("name","asc")})]})}),e.jsx("th",{scope:"col","aria-sort":ue(N(I,"collection")),children:e.jsx(ae,{label:r("myStore.colCollection"),dir:N(I,"collection"),testId:"store-sort-best-collection",onSort:()=>we("collection","asc")})}),e.jsx("th",{scope:"col",style:{textAlign:"center"},"aria-sort":ue(N(I,"sold")),children:e.jsx(ae,{label:r("myStore.colSold"),dir:N(I,"sold"),testId:"store-sort-best-sold",onSort:()=>we("sold","desc")})}),e.jsx("th",{scope:"col",style:{textAlign:"right"},"aria-sort":ue(N(I,"earnings")),children:e.jsx(ae,{label:r("myStore.colEarnings"),dir:N(I,"earnings"),align:"right",testId:"store-sort-best-earnings",onSort:()=>we("earnings","desc")})})]})}),e.jsx("tbody",{children:fs.map(i=>e.jsxs("tr",{"data-testid":"store-best",children:[e.jsx("td",{children:e.jsxs(Bt,{children:[e.jsx(Nt,{children:i.rank}),e.jsxs(Mt,{as:"a",href:ze(Ot(i.contractAddress,i.itemId,se)),target:"_blank",rel:"noopener noreferrer",onClick:()=>$("Shop Clicked Store Action",{action:"open_item",table:"best_sellers",rank:i.rank}),"data-testid":"store-best-item",children:[e.jsx(Wt,{style:{backgroundImage:Je(i.rarity)},children:i.thumbnail?e.jsx("img",{src:i.thumbnail,alt:"",loading:"lazy"}):null}),e.jsx("span",{children:i.name})]})]})}),e.jsx("td",{"data-dim":!0,children:i.collectionName}),e.jsx("td",{style:{textAlign:"center",fontWeight:600},"data-testid":"store-best-sold",children:i.sold.toLocaleString()}),e.jsx("td",{"data-money":!0,children:e.jsxs(Ve,{children:[e.jsx(H,{kind:"mana"}),V(i.earnedWei)]})})]},i.key))})]})}),Oe>1?e.jsxs(ve,{children:[e.jsx("span",{}),e.jsx(Ce,{page:Se,pages:Oe,onChange:i=>{$("Shop Paged Store Table",{table:"best_sellers",page:i+1}),M(i)},name:"best"})]}):null]}),e.jsxs(Z,{"aria-labelledby":"store-feed-h",children:[e.jsxs(Ft,{children:[e.jsxs("div",{children:[e.jsx(ke,{id:"store-feed-h",children:r("myStore.recentSales")}),e.jsx(Et,{children:r("myStore.recentSalesSub")})]}),e.jsxs(Zo,{to:"/activity",onClick:()=>$("Shop Clicked Store Action",{action:"view_all_sales"}),children:[r("myStore.viewAll"),e.jsx(B,{name:"arrow-up-right",size:14,"aria-hidden":!0})]})]}),fe.length===0?e.jsx($e,{children:r("myStore.noSales")}):e.jsx(Ue,{children:e.jsxs(ta,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:r("myStore.colItem")}),e.jsx("th",{scope:"col",children:r("myStore.colCollection")}),e.jsx("th",{scope:"col",style:{textAlign:"right"},children:r("myStore.colPrice")}),e.jsx("th",{scope:"col",children:r("myStore.colBuyer")}),e.jsx("th",{scope:"col",children:r("myStore.colDate")})]})}),e.jsx("tbody",{children:fe.map(i=>{var yt,bt;const y=x.collections.find(qe=>qe.contractAddress===i.contractAddress.toLowerCase()),g=y==null?void 0:y.items.find(qe=>qe.itemId===i.itemId),F=ge==null?void 0:ge.get(i.buyer.toLowerCase()),pe=(bt=(yt=F==null?void 0:F.avatar)==null?void 0:yt.snapshots)==null?void 0:bt.face256;return e.jsxs("tr",{"data-testid":"store-sale",children:[e.jsx("td",{children:e.jsxs(Mt,{as:i.itemId?"a":"span",...i.itemId?{href:ze(Ot(i.contractAddress,i.itemId,se)),target:"_blank",rel:"noopener noreferrer",onClick:()=>$("Shop Clicked Store Action",{action:"open_item",table:"recent_sales"}),"data-testid":"store-sale-item"}:{},children:[e.jsx(Wt,{style:{backgroundImage:Je(g==null?void 0:g.rarity)},children:g!=null&&g.thumbnail?e.jsx("img",{src:g.thumbnail,alt:"",loading:"lazy"}):null}),e.jsxs(sa,{children:[e.jsx("span",{children:(g==null?void 0:g.name)??(y==null?void 0:y.name)??i.itemId??r("myStore.unknownItem")}),e.jsx(Ae,{content:r("myStore.kindHint"),children:e.jsx(Po,{"data-kind":i.type,"data-testid":"store-kind-hint",children:i.type==="mint"?r("myStore.kindMint"):r("myStore.kindResale")})})]})]})}),e.jsx("td",{"data-dim":!0,children:(y==null?void 0:y.name)??"—"}),e.jsx("td",{"data-money":!0,children:e.jsxs(Ve,{children:[e.jsx(H,{kind:"mana"}),V(O(i.price))]})}),e.jsx("td",{children:us?e.jsxs(Mo,{"aria-hidden":!0,children:[e.jsx("i",{}),e.jsx("b",{})]}):e.jsxs(Lt,{href:`${Y.profileUrl}/${i.buyer}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>$("Shop Clicked Store Action",{action:"open_buyer",table:"recent_sales"}),"data-testid":"store-sale-buyer",children:[e.jsx(Tt,{style:pe?{backgroundImage:`url(${pe})`}:void 0,"aria-hidden":!0}),Rt(i.buyer,ge)]})}),e.jsx("td",{"data-dim":!0,children:qt(i.timestamp)})]},i.id)})})]})}),Fe.pages>1?e.jsxs(ve,{children:[e.jsx("span",{}),e.jsx(Ce,{page:_,pages:Fe.pages,onChange:i=>{$("Shop Paged Store Table",{table:"recent_sales",page:i+1}),u(i)},name:"sales"})]}):null]})]}),e.jsxs(Fo,{children:[e.jsx(No,{id:"store-audience-h",children:r("myStore.audience")}),e.jsx(Bo,{children:r("myStore.audienceSub")})]}),e.jsxs(Oo,{children:[e.jsxs(X,{children:[e.jsxs(ie,{children:[e.jsxs("span",{children:[r("myStore.tileCollectors"),e.jsx(Ae,{content:r("myStore.collectorsHint"),children:e.jsx(It,{type:"button","aria-label":r("myStore.tileCollectors"),"data-testid":"store-collectors-hint",children:e.jsx(B,{name:"info",className:"ico","aria-hidden":!0})})})]}),e.jsx(re,{"aria-hidden":!0,children:"👥"})]}),e.jsx(le,{"data-testid":"store-collectors",children:W.collectors.total.toLocaleString()}),e.jsx(de,{children:W.collectors.total===0?r("myStore.tileCollectorsNone"):e.jsxs(e.Fragment,{children:[x.breakdownPartial?e.jsxs(e.Fragment,{children:[e.jsx(Ct,{children:r("myStore.estimate")})," "]}):null,W.collectors.topSharePct>=50?r("myStore.tileCollectorsConcentrated",{pct:Math.floor(W.collectors.topSharePct)}):r("myStore.tileCollectorsFoot",{repeat:W.collectors.repeat,pct:Math.round(W.collectors.repeatPct)})]})})]}),x.royalties?e.jsxs(X,{children:[e.jsxs(ie,{children:[e.jsxs("span",{children:[r("myStore.tileRoyalties"),e.jsx(Ae,{content:r("myStore.royaltiesHint"),children:e.jsx(It,{type:"button","aria-label":r("myStore.tileRoyalties"),"data-testid":"store-royalties-hint",children:e.jsx(B,{name:"info",className:"ico","aria-hidden":!0})})})]}),e.jsx(re,{"aria-hidden":!0,children:"🔁"})]}),e.jsxs(le,{"data-testid":"store-royalties",children:[e.jsx(so,{children:"≈"}),e.jsx(H,{kind:"mana"}),V(ma(x.royalties.volumeWei))]}),e.jsxs(de,{children:[e.jsx(Qe,{delta:W.royalties,period:a}),Ye(W.royalties)?null:e.jsx("span",{children:Kt("myStore.tileRoyaltiesFoot",{m:i=>e.jsxs(e.Fragment,{children:[e.jsx(H,{kind:"mana"}),i]}),count:x.royalties.resales,volume:V(x.royalties.volumeWei)})})]})]}):null]}),e.jsxs(Z,{"aria-labelledby":"store-buyers-h",children:[e.jsxs(Le,{children:[e.jsx(ke,{id:"store-buyers-h",children:r("myStore.buyers")}),e.jsx(oo,{children:r("myStore.buyersHint")})]}),W.buyers.length===0?e.jsx($e,{"data-testid":"store-buyers-none",children:r("myStore.noBuyers")}):e.jsx(Ue,{children:e.jsxs(Do,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:r("myStore.colBuyer")}),[["items",r("myStore.colItems"),"desc"],["collections",r("myStore.colCollections"),"desc"],["last",r("myStore.colLast"),"desc"],["spent",r("myStore.colSpent"),"desc"]].map(([i,y,g])=>e.jsx("th",{scope:"col",style:i==="spent"?{textAlign:"right"}:void 0,"aria-sort":ue(N(C,i)),children:e.jsx(ae,{label:y,dir:N(C,i),align:i==="spent"?"right":"left",testId:`store-sort-buyers-${i}`,onSort:()=>{const F=He(C,i,g);$("Shop Sorted Store Table",{table:"buyers",column:F.key,direction:F.dir}),c(F),ee(0)}})},i))]})}),e.jsx("tbody",{children:Be.map(i=>{var g,F,pe;const y=(pe=(F=(g=be==null?void 0:be.get(i.address))==null?void 0:g.avatar)==null?void 0:F.snapshots)==null?void 0:pe.face256;return e.jsxs("tr",{"data-testid":"store-buyer",children:[e.jsx("td",{children:e.jsxs(Lt,{href:`${Y.profileUrl}/${i.address}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>$("Shop Clicked Store Action",{action:"open_buyer",table:"buyers"}),"data-testid":"store-buyer-name",children:[e.jsx(Tt,{style:y?{backgroundImage:`url(${y})`}:void 0,"aria-hidden":!0}),Rt(i.address,be)]})}),e.jsx("td",{"data-dim":!0,children:r("myStore.buyerItems",{count:i.items})}),e.jsx("td",{"data-dim":!0,children:r("myStore.buyerCollections",{count:i.collections})}),e.jsx("td",{"data-dim":!0,children:qt(i.lastAt)}),e.jsx("td",{"data-money":!0,children:e.jsxs(Ve,{children:[e.jsx(H,{kind:"mana"}),V(i.spentWei)]})})]},i.address)})})]})}),Ne>1?e.jsxs(ve,{children:[e.jsx("span",{}),e.jsx(Ce,{page:ye,pages:Ne,onChange:i=>{$("Shop Paged Store Table",{table:"buyers",page:i+1}),ee(i)},name:"buyers"})]}):null]})]})]})})})}export{Ba as MyStore,Ba as default};
1691
- //# sourceMappingURL=MyStore-B5e7oQJa.js.map