@dcl/shop 0.1.0-30381451752.commit-ab871f3 → 0.1.0-30461849576.commit-12d07d4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{Activity-DSc7mvP4.js → Activity-CSuhDydH.js} +13 -13
- package/assets/{AnimatedBackground-fVnlmf9F.js → AnimatedBackground-8Z_8Mlol.js} +20 -3
- package/assets/Assets-SN3Y76GI.js +787 -0
- package/assets/{Assets.styles-CGAD6wJa.js → Assets.styles-ciQtjliZ.js} +67 -51
- package/assets/{Authorizations-DhC0rdm8.js → Authorizations-lx92TdPJ.js} +7 -7
- package/assets/Cart-B21LiuAo.js +671 -0
- package/assets/CircularProgress-Djai3zyH.js +28 -0
- package/assets/Collection-CEQxSX4E.js +119 -0
- package/assets/CollectionCarousel-DfMAEnsm.js +786 -0
- package/assets/{ConstantsUtil-DTrOBzCe.js → ConstantsUtil-CJLq5-wb.js} +1 -1
- package/assets/{ContentClient-jyMKirlf.js → ContentClient-Dt2-TsxC.js} +1 -1
- package/assets/Creator-BPKqpaQ0.js +283 -0
- package/assets/{DeploymentBuilder-j08uBP-r.js → DeploymentBuilder-Cu-VDjOR.js} +1 -1
- package/assets/ErrorNotice-CyxiR_Rh.js +1 -0
- package/assets/{ExchangeController-C6mQYps7.js → ExchangeController-Z_fhiIuM.js} +1 -1
- package/assets/{GetCredits-5VMKvJ-K.js → GetCredits-Ctz5CKT1.js} +39 -39
- package/assets/{HelpersUtil-XXeaUDZE.js → HelpersUtil-CfY7XYFI.js} +1 -1
- package/assets/ImportListings-DmVwt0Ax.js +433 -0
- package/assets/{ItemDetail-CkmPrObF.css → ItemDetail-B4Ll03xN.css} +1 -1
- package/assets/ItemDetail-CX5br1KM.js +3352 -0
- package/assets/{LoadMore-BekgL6OE.js → LoadMore-BpBgRt6U.js} +3 -3
- package/assets/{MenuList-CkcgsIA6.js → MenuList-D6x9iVBq.js} +2 -2
- package/assets/{MyAssets-ByTH-epK.js → MyAssets-BexRoK4a.js} +8 -8
- package/assets/MyFavorites-YMHXyXLK.js +67 -0
- package/assets/{NetworkUtil-C1aEwuOK.js → NetworkUtil-DrZx-6FF.js} +1 -1
- package/assets/NotFound-BGBtr9uR.js +13 -0
- package/assets/NotificationsBell-DC-1Irju.js +34 -0
- package/assets/StoreSettings-U-7XtzFv.js +253 -0
- package/assets/Success-DpsXoJt6.js +276 -0
- package/assets/{SwapController-DcTviSiv.js → SwapController-DYEFHcHa.js} +1 -1
- package/assets/{Tooltip-Ck8OHf1K.js → Tooltip-azUGAy-5.js} +7 -7
- package/assets/{TradeService-CQyC0ckJ.js → TradeService-DctYnk8d.js} +1 -1
- package/assets/{W3MFrameProviderSingleton-oH9nrVqa.js → W3MFrameProviderSingleton-E3LZaKPB.js} +3 -3
- package/assets/{WebCryptoP256-D6sJ4GW3.js → WebCryptoP256-CVsQ_o8H.js} +1 -1
- package/assets/{authorizations-BxQ2tMzo.js → authorizations-wLlzXVR-.js} +1 -1
- package/assets/{basic-BRNG7iiw.js → basic-CKpMAJq4.js} +1 -1
- package/assets/{biconomy-CUHnXsx-.js → biconomy-C-ggcRFD.js} +1 -1
- package/assets/browseLayout.styles-4wApiFUk.js +91 -0
- package/assets/{browser-CTzRZpIE.js → browser-CNT004n0.js} +1 -1
- package/assets/{browser-ponyfill-CI1-rMvf.js → browser-ponyfill-C5PEoXZC.js} +1 -1
- package/assets/browser-ponyfill-U6QFC0pq.js +1 -0
- package/assets/{builder-DZ1jvdvk.js → builder-DMvOfu4D.js} +1 -1
- package/assets/{buy-C-oTH9gd.js → buy-F5h0O1Oz.js} +1 -1
- package/assets/{buy-gasless-BlKkmgRS.js → buy-gasless-Bx1g9q5n.js} +1 -1
- package/assets/categories-DSuB3dEO.js +427 -0
- package/assets/{ccip-BQlc06tF.js → ccip-BO523Iyo.js} +1 -1
- package/assets/{ccip-x24MUJVN.js → ccip-DFl4XluK.js} +1 -1
- package/assets/{chains-Znt1BTfw.js → chains-B1nqR6QI.js} +1 -1
- package/assets/clsx-CdAehort.js +9 -0
- package/assets/{common-D9tSChDa.js → common-D06fGQP-.js} +1 -1
- package/assets/{controller-ab9pqJXK.js → controller--bXZwMEA.js} +2 -2
- package/assets/{core-Dg-XVaV5.js → core-BBTEsxmO.js} +4 -4
- package/assets/createSvgIcon-CthtS2fU.js +74 -0
- package/assets/{custom-CTXht3LT.js → custom-CsWArT5d.js} +1 -1
- package/assets/{data-capture-gVncKP92.js → data-capture-kKOdMtvw.js} +1 -1
- package/assets/decimals-2E8lbkVo.js +1 -0
- package/assets/{decimals-C4nLn1ac.js → decimals-DxZ5UHfB.js} +1 -1
- package/assets/{detectExtension-BgMIFAUw.js → detectExtension-FEABfJC9.js} +1 -1
- package/assets/{email-_DXK33a9.js → email-vr9UbC4V.js} +1 -1
- package/assets/{embedded-wallet-B_k2BCRi.js → embedded-wallet-DFmANWep.js} +1 -1
- package/assets/emotion-styled.browser.esm-BjmVKpEM.js +1 -0
- package/assets/{engine-ha18BPJJ.js → engine-CIkOAXtz.js} +1 -1
- package/assets/{errors-CRgGE21K.js → errors-BHFRAZhi.js} +1 -1
- package/assets/estimate-l1-fee-DKfVBk0L.js +1 -0
- package/assets/eth_estimateGas-CYhr9GQg.js +1 -0
- package/assets/{eth_getStorageAt--oQrWy0Q.js → eth_getStorageAt-DTRcHmRI.js} +1 -1
- package/assets/eth_getTransactionCount-ZhW4UX5p.js +1 -0
- package/assets/{ethereum-3zUUm4Pr.js → ethereum-BtCbkX0F.js} +1 -1
- package/assets/{ethers-CtVvB8eG.js → ethers-C3WgUna9.js} +1 -1
- package/assets/{execute-CLGkeIM4.js → execute-DXk7xWDJ.js} +2 -2
- package/assets/{extractIPFS-BmriCqG8.js → extractIPFS-CSmwBy8V.js} +1 -1
- package/assets/{features-BLGU5qKo.js → features-CB_msUrB.js} +1 -1
- package/assets/{fetchTokenMetadata-CYxDKmIt.js → fetchTokenMetadata-BonBD4HK.js} +2 -2
- package/assets/{fortmatic-DM_o40Lo.js → fortmatic-ClwQlaPX.js} +1 -1
- package/assets/{get-bytecode-C6TlbHJu.js → get-bytecode-DKGahtxz.js} +1 -1
- package/assets/get-ecosystem-wallet-info-B_lrKX-x.js +1 -0
- package/assets/{getBalance-CXmOkNzY.js → getBalance-CthDORPr.js} +2 -2
- package/assets/{getInstalledModules-BLQxYEXn.js → getInstalledModules-Cox2YDyF.js} +1 -1
- package/assets/getNFT-BTjqjEEe.js +1 -0
- package/assets/{getNFT-DysvkQcd.js → getNFT-Bjg_w6DD.js} +2 -2
- package/assets/getThemeProps-B7lAOokG.js +1 -0
- package/assets/grid.styles-BWHADUFG.js +14 -0
- package/assets/{hashTypedData-DziOW2Vc.js → hashTypedData-BXeSV9EI.js} +1 -1
- package/assets/{hashTypedData--HdA9-HS.js → hashTypedData-D3KNbXgE.js} +1 -1
- package/assets/import-C0ulsb8r.js +1 -0
- package/assets/{in-app-D7O2V44M.js → in-app-8FmH0RQh.js} +1 -1
- package/assets/{in-app-wallet-calls-DL6ZAl8I.js → in-app-wallet-calls-BFluJbdo.js} +1 -1
- package/assets/{index-lTWpOCxL.js → index-12wxaJ06.js} +1 -1
- package/assets/{index-DR4iRFBm.js → index-3AqvKhGz.js} +1 -1
- package/assets/index-867E6STW.js +1 -0
- package/assets/{index-palPyzeM.js → index-9-Neoanw.js} +1 -1
- package/assets/{index-CYjzOXa9.js → index-B17_4zRY.js} +1 -1
- package/assets/{index-CLl3y_zB.js → index-B6O6tYQ5.js} +3 -3
- package/assets/{index-CVa7EGSX.js → index-BD3ZPd_8.js} +1 -1
- package/assets/{index-CB0_zAGI.js → index-BEgz8ixE.js} +1 -1
- package/assets/{index-DxHwXU1C.js → index-BO_zSTNJ.js} +1 -1
- package/assets/{index-CSZuXP_O.js → index-BUxWfTma.js} +1 -1
- package/assets/{index-CkqJHGTd.js → index-BWWTHnLr.js} +1 -1
- package/assets/{index-CQ2b-Icm.js → index-Bhux6d7O.js} +1 -1
- package/assets/index-Brd7ji4Z.js +2637 -0
- package/assets/index-Bsc1WoyD.js +2 -0
- package/assets/{index-CoKHkfgd.js → index-Bycb_NiK.js} +2 -2
- package/assets/{index-BDwWglvl.js → index-C1OJ-tO9.js} +1 -1
- package/assets/{index-D-LfADaw.js → index-C29PIOfp.js} +1 -1
- package/assets/index-C2y7hJrh.js +1 -0
- package/assets/index-C4j5Yt0J.js +1 -0
- package/assets/{index-DAc_icdG.js → index-C76nP1O6.js} +1 -1
- package/assets/{index-B2DUxMjO.js → index-C7NK0fVJ.js} +1 -1
- package/assets/{index-Bg4URcJg.js → index-C80znnDW.js} +1 -1
- package/assets/{index-odQTruvU.js → index-CAnUnOx3.js} +1 -1
- package/assets/{index-plri7RJC.js → index-CBA5ujss.js} +1 -1
- package/assets/{index-_Rup9P59.js → index-CDf3efkp.js} +2 -2
- package/assets/{index-CI3LRVdJ.js → index-CFTDHoZh.js} +1 -1
- package/assets/{index-QZtXXaW6.js → index-CMZZ1Nga.js} +1 -1
- package/assets/{index-B7T9Zh6O.js → index-CUCrSrys.js} +1 -1
- package/assets/{index-BaUNQyyt.js → index-CUa9_lhM.js} +1 -1
- package/assets/{index-CZKSPj3S.js → index-CgvLEwoy.js} +1 -1
- package/assets/{index-BE-vH0_t.js → index-Cjb2XrcZ.js} +1 -1
- package/assets/{index-CQfyml-1.js → index-CnNIEazo.js} +1 -1
- package/assets/{index-C1EFfqUT.js → index-CnxZGgAx.js} +1 -1
- package/assets/{index-DcffeS4F.js → index-Cq2ACCOS.js} +1 -1
- package/assets/{index-DiGXPxzb.js → index-CuZV-f-I.js} +1 -1
- package/assets/{index-m5R1RgvV.js → index-CyJEkuRi.js} +1 -1
- package/assets/{index-BvrGtJes.js → index-CyiPWf5n.js} +1 -1
- package/assets/{index-7Wsfe2Up.js → index-D3kilUkp.js} +1 -1
- package/assets/{index-aJlKiR42.js → index-D8AjAhj_.js} +1 -1
- package/assets/index-DCpWUtOQ.css +1 -0
- package/assets/{index-tFmbSlHL.js → index-DH1wbhHD.js} +1 -1
- package/assets/{index-BTV13rXH.js → index-DLXZ5p81.js} +1 -1
- package/assets/{index-BUrRDjD6.js → index-DMlCumM5.js} +1 -1
- package/assets/{index-BG7lZdfP.js → index-DN4XOFSE.js} +1 -1
- package/assets/{index-Cmvj85Uh.js → index-DNViA462.js} +1 -1
- package/assets/{index-VytDXqCW.js → index-DV8kBwEP.js} +1 -1
- package/assets/{index-CE3I8gyz.js → index-DX3DHT9n.js} +1 -1
- package/assets/{index-Bc2znaCv.js → index-DdfWi7TC.js} +1 -1
- package/assets/{index-B2t3nSe7.js → index-Dig_dNhS.js} +1 -1
- package/assets/{index-Cd2tsAns.js → index-DkOjkCdA.js} +1 -1
- package/assets/index-DoxTF6om.js +4 -0
- package/assets/{index-BMMsxyuq.js → index-DuM4noYk.js} +1 -1
- package/assets/{index-oGOYPuqO.js → index-DwMtnb8J.js} +1 -1
- package/assets/{index-BCW_w0UN.js → index-IwNV31qY.js} +1 -1
- package/assets/{index-BgsCmFBR.js → index-JCA7K3yc.js} +1 -1
- package/assets/{index-CkWJ4sTo.js → index-M0lk4EtX.js} +1 -1
- package/assets/{index-mBqsXHEL.js → index-PPPdjER1.js} +3 -3
- package/assets/{index-BIrUjWEF.js → index-VW-lnGw2.js} +1 -1
- package/assets/{index-CscFkYoq.js → index-cZ6tjlq1.js} +1 -1
- package/assets/{index-J1CoPuuN.js → index-ce0Tcydb.js} +3 -3
- package/assets/{index-Dmk33w1E.js → index-cfvsnH5y.js} +1 -1
- package/assets/{index-BZ6S4-Qy.js → index-kLxn63lr.js} +1 -1
- package/assets/{index-D-UY1tLQ.js → index-pYqFSwbF.js} +2 -2
- package/assets/{index-BaYUVFML.js → index-rLHhvU40.js} +2 -2
- package/assets/{index.es-kEVHcelo.js → index.es-BTrwCm6j.js} +1 -1
- package/assets/{index.es-frivxByX.js → index.es-CO16vBVD.js} +1 -1
- package/assets/{index.es-BKZDd-uH.js → index.es-ZvhCWtmg.js} +4 -4
- package/assets/{linkAccount-BR5_llhd.js → linkAccount-D6C-iWP9.js} +1 -1
- package/assets/{localBatchGatewayRequest-CySxBK0P.js → localBatchGatewayRequest-D0lgdcRM.js} +1 -1
- package/assets/mana-convert-BSx_Udpc.js +1 -0
- package/assets/mana-rate-BZhaJjml.js +1 -0
- package/assets/{native-BSpg_u0K.js → native-DzURTJjQ.js} +1 -1
- package/assets/{networks-3-OnX6AH.js → networks-DPBJRt6B.js} +1 -1
- package/assets/{onramp-Bq5dAlFw.js → onramp-D-V8FIFR.js} +1 -1
- package/assets/{openzeppelin-CML0yooi.js → openzeppelin-B7Q08QJ0.js} +1 -1
- package/assets/{ownerOf-D9UDfElT.js → ownerOf-6qjJmcwz.js} +1 -1
- package/assets/{parseNft-Ci6Mgfjs.js → parseNft-CZxwd5ZF.js} +2 -2
- package/assets/{parseSignature-cZaawZ6k.js → parseSignature-3qwrNvoW.js} +1 -1
- package/assets/{parseSignature-D-9wk3ib.js → parseSignature-CtyJ-6L0.js} +3 -3
- package/assets/{passkeys-cg1VKv6x.js → passkeys-Cj0tHoDP.js} +1 -1
- package/assets/{pay-with-exchange-BJ4Fzmz1.js → pay-with-exchange-B3f1_w5e.js} +1 -1
- package/assets/{prepare-contract-call-CHrp3EL4.js → prepare-contract-call-ydWcAfZ2.js} +1 -1
- package/assets/{qr-overlay-DxCAQFuF.js → qr-overlay-DWPthnKn.js} +3 -3
- package/assets/{react-BW1xvPTF.js → react-CDiFgvN_.js} +7 -7
- package/assets/{receive-SwsuZNQC.js → receive-CsXmvAKt.js} +1 -1
- package/assets/{resolveImplementation-BLaiirJ3.js → resolveImplementation-BOT-NVc7.js} +1 -1
- package/assets/{rpc-DmqY-iw7.js → rpc-DSWXzB82.js} +1 -1
- package/assets/{secp256k1-B873uX0r.js → secp256k1-BaOo-or_.js} +1 -1
- package/assets/{secp256k1-BQjGgvAo.js → secp256k1-ByXzWbcW.js} +1 -1
- package/assets/{secp256k1-GhqpoPlI.js → secp256k1-uUJiV589.js} +1 -1
- package/assets/{send-Gjj-by0g.js → send-C05YEc1T.js} +1 -1
- package/assets/{send-batch-transaction-CQKczqLV.js → send-batch-transaction-Be0wAoEe.js} +1 -1
- package/assets/{send-eip712-transaction-D5ErRlD2.js → send-eip712-transaction-BJNkYYKf.js} +2 -2
- package/assets/send-gasless-transaction-ytRd_Rwn.js +2 -0
- package/assets/{send-transaction-BSCBM-eH.js → send-transaction-Bes27L5G.js} +2 -2
- package/assets/{sendMetaTransaction-BMgjMfxP.js → sendMetaTransaction-CDDozl0u.js} +1 -1
- package/assets/{sendRawTransaction-DIOHnRnR.js → sendRawTransaction-CaQYbFlQ.js} +3 -3
- package/assets/{sentry-BV_ZSgtd.js → sentry-DGsLxYkt.js} +1 -1
- package/assets/{serializeTransaction-DLwJGyyA.js → serializeTransaction-DLXlE_fY.js} +1 -1
- package/assets/{session-proposal-P-V7WlA3.js → session-proposal-269TY8JU.js} +1 -1
- package/assets/{session-request-DXGq-vPI.js → session-request-DxaePUXl.js} +2 -2
- package/assets/{sha256-BImz_UXn.js → sha256-BkM0tz1g.js} +1 -1
- package/assets/{signing-B18L8hB9.js → signing-ZKf523YR.js} +3 -3
- package/assets/{socials-D2NhoS92.js → socials-JFjng574.js} +1 -1
- package/assets/{swaps-BjGN9dpo.js → swaps-Cq3Wdoki.js} +1 -1
- package/assets/{thirdweb-D8LTFb7L.js → thirdweb-BNmNZhah.js} +3 -3
- package/assets/{to-serializable-transaction-DvD6rPpV.js → to-serializable-transaction-PJm0PzIG.js} +2 -2
- package/assets/{totalSupply-D4j1WOYW.js → totalSupply-C71_H-lN.js} +1 -1
- package/assets/{trade-encoding-BjnvL03O.js → trade-encoding-BmLGOyo-.js} +1 -1
- package/assets/{transaction-BOS1fhp8.js → transaction-DLOHYmaw.js} +1 -1
- package/assets/{transactionReceipt-6-pcmsdS.js → transactionReceipt-CSJT-pKm.js} +1 -1
- package/assets/{transactions-uHYWIqRs.js → transactions-DDewGRUS.js} +1 -1
- package/assets/useCreditPacks-Bqe9pTXx.js +1 -0
- package/assets/useInfiniteGrid-C1qvdQfd.js +1 -0
- package/assets/useManaRate-LgUHZXYp.js +1 -0
- package/assets/useSecondarySales-CVaNw0md.js +1 -0
- package/assets/{useStore-DCT-CgMe.js → useStore-oZmFLyam.js} +2 -2
- package/assets/useTheme-1sGnebNp.js +1 -0
- package/assets/{utils-B7rjkjB1.js → utils-a6twR_kC.js} +1 -1
- package/assets/{verifyHash-Y9BU7-vn.js → verifyHash-BPxoGPRB.js} +1 -1
- package/assets/{w3m-modal-eUhgw2D5.js → w3m-modal-B7e4dFsC.js} +1 -1
- package/assets/{w3m-modal-IJXUf9Ad.js → w3m-modal-BKND42Yg.js} +1 -1
- package/assets/{wait-for-tx-receipt-ztIanYW8.js → wait-for-tx-receipt-Dkm_Ycmc.js} +1 -1
- package/assets/{wallets-D3bPaCuK.js → wallets-Dcnx0DBg.js} +5 -5
- package/assets/{web-connector-C71ag9VJ.js → web-connector-B41jHtWN.js} +3 -3
- package/assets/{writeContract-PtF1oxgl.js → writeContract-BBk0XlYd.js} +1 -1
- package/assets/{zora-sepolia-CVS3owSi.js → zora-sepolia-o_iB8zm8.js} +1 -1
- package/assets/{zoraTestnet-DoARpZBA.js → zoraTestnet-AMJQiMJL.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/assets/AnimatedBackground-CiurwFBv.css +0 -1
- package/assets/Assets-CH9evMea.js +0 -787
- package/assets/Button-DOi50GW0.js +0 -74
- package/assets/Cart-C_kThny7.css +0 -1
- package/assets/Cart-Cn3ZtfkI.js +0 -1
- package/assets/CircularProgress-JMezNnqa.js +0 -28
- package/assets/Collection-DjZMT60J.js +0 -45
- package/assets/Collection-Dpog3TvS.css +0 -1
- package/assets/CollectionCarousel-C8hFnis-.css +0 -1
- package/assets/CollectionCarousel-Ck_R1F2f.js +0 -292
- package/assets/Creator-CMnVKtlV.js +0 -1
- package/assets/Creator-Cpx_caba.css +0 -1
- package/assets/ErrorNotice-BG40E5Ff.js +0 -1
- package/assets/ImportListings-CF7yr8q-.js +0 -5
- package/assets/ImportListings-CgB7Xjb_.css +0 -1
- package/assets/ItemDetail-BY0kHQB-.js +0 -2406
- package/assets/MarketCheckout-GA-mHw2T.js +0 -3
- package/assets/MyFavorites-BFzYjDUH.js +0 -1
- package/assets/NotFound-TS_fVknU.js +0 -1
- package/assets/NotificationsBell-Bho6wwFJ.js +0 -34
- package/assets/StoreSettings-P1WQMPTt.js +0 -53
- package/assets/StoreSettings-qz4M138c.css +0 -1
- package/assets/Success-CZvGvIYB.js +0 -4
- package/assets/browser-ponyfill-6L1OGOLN.js +0 -1
- package/assets/cart-checkout-BQRIzuA5.js +0 -1
- package/assets/categories-DhS9aD1g.js +0 -305
- package/assets/categories-YFBLpDYC.css +0 -1
- package/assets/collection-CB1x49ld.js +0 -1
- package/assets/collection-CrgnzsVL.css +0 -1
- package/assets/decimals-Bmvg-V50.js +0 -1
- package/assets/emotion-CSxEP8yM.js +0 -1
- package/assets/emotion-styled.browser.esm-v-WGRXph.js +0 -1
- package/assets/estimate-l1-fee-Bz9lwTZI.js +0 -1
- package/assets/eth_estimateGas-JYqF9U1i.js +0 -1
- package/assets/eth_getTransactionCount-BEhAgz2O.js +0 -1
- package/assets/get-ecosystem-wallet-info-yJH_bkud.js +0 -1
- package/assets/getNFT-D0B4erfI.js +0 -1
- package/assets/getThemeProps-DIwZ5N8L.js +0 -1
- package/assets/import-CsDUWWqh.js +0 -1
- package/assets/index-B6MKNzS8.js +0 -1
- package/assets/index-CE-8j9dT.js +0 -312
- package/assets/index-Ctx_ebhF.js +0 -2
- package/assets/index-Cv07XGtu.js +0 -4
- package/assets/index-D9jcyP1T.js +0 -1
- package/assets/index-DalVAnKe.js +0 -1
- package/assets/index-DwufS2l2.css +0 -1
- package/assets/mana-rate-iDr_vy1I.js +0 -1
- package/assets/send-gasless-transaction-C2Zr5wl9.js +0 -2
- package/assets/useCreditPacks-CS3eE-oJ.js +0 -1
- package/assets/useInfiniteGrid-7tlbDRJY.js +0 -1
- package/assets/useManaRate-1Q3qKQkm.js +0 -1
- package/assets/useSecondarySales-Be2j0EMT.js +0 -1
- package/assets/useTheme-BWiusVd4.js +0 -1
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import{j as s,u as se,r as n,L as te}from"./react-BW1xvPTF.js";import{t as a,L,s as _,S as ae,y as ie,u as re,b as ne,I as E,B as P,W as R}from"./index-CE-8j9dT.js";import{u as oe,d as le,t as ce,L as de,i as B,a as v,s as me}from"./useStore-DCT-CgMe.js";import{E as M}from"./ErrorNotice-BG40E5Ff.js";import"./sentry-BV_ZSgtd.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-CtVvB8eG.js";import"./intl-CBcMB1D2.js";const ue="https://cdn.decentraland.org/@dcl/shop/0.1.0-30381451752.commit-ab871f3/assets/template-cover-1-BETekfHg.jpeg",pe="https://cdn.decentraland.org/@dcl/shop/0.1.0-30381451752.commit-ab871f3/assets/template-cover-2-Dni9s0i_.jpeg",ge=Object.assign({"../assets/creator-covers/template-cover-1.jpeg":ue,"../assets/creator-covers/template-cover-2.jpeg":pe}),f=Object.entries(ge).sort(([i],[d])=>i.localeCompare(d)).map(([i,d])=>({name:i.split("/").pop(),url:d})),ve=ae`
|
|
2
|
-
to {
|
|
3
|
-
transform: rotate(360deg);
|
|
4
|
-
}
|
|
5
|
-
`,fe=_.div`
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
gap: 12px;
|
|
10
|
-
color: ${L.colors.muted};
|
|
11
|
-
|
|
12
|
-
&[data-direction='row'] {
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
}
|
|
15
|
-
&[data-direction='column'] {
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
text-align: center;
|
|
18
|
-
}
|
|
19
|
-
`,he=_.span`
|
|
20
|
-
flex: none;
|
|
21
|
-
border-radius: 50%;
|
|
22
|
-
border-style: solid;
|
|
23
|
-
border-color: ${L.colors.line};
|
|
24
|
-
border-top-color: ${L.colors.accent};
|
|
25
|
-
animation: ${ve} 0.8s linear infinite;
|
|
26
|
-
|
|
27
|
-
&[data-size='small'] {
|
|
28
|
-
width: 18px;
|
|
29
|
-
height: 18px;
|
|
30
|
-
border-width: 2px;
|
|
31
|
-
}
|
|
32
|
-
&[data-size='medium'] {
|
|
33
|
-
width: 30px;
|
|
34
|
-
height: 30px;
|
|
35
|
-
border-width: 3px;
|
|
36
|
-
}
|
|
37
|
-
&[data-size='large'] {
|
|
38
|
-
width: 48px;
|
|
39
|
-
height: 48px;
|
|
40
|
-
border-width: 4px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@media (prefers-reduced-motion: reduce) {
|
|
44
|
-
animation-duration: 2s;
|
|
45
|
-
}
|
|
46
|
-
`,xe=_.span`
|
|
47
|
-
font-size: 14px;
|
|
48
|
-
font-weight: 600;
|
|
49
|
-
`;function _e({label:i,size:d="medium",direction:b="column",className:j}){return s.jsxs(fe,{className:j,"data-testid":"spinner-box","data-direction":b,role:"status","aria-live":"polite","aria-label":i?void 0:a("spinner.loading"),children:[s.jsx(he,{"data-testid":"spinner-box-ring","data-size":d,"aria-hidden":!0}),i?s.jsx(xe,{children:i}):null]})}const be=_(P)`
|
|
50
|
-
align-self: center;
|
|
51
|
-
min-width: 200px;
|
|
52
|
-
margin-top: 8px;
|
|
53
|
-
`,O=1e6,A={cover:"",coverName:"",coverHash:"",description:"",links:{website:"",twitter:"",discord:"",facebook:""}};function D(i){return`${(i/1e6).toLocaleString(void 0,{maximumFractionDigits:2})}MB`}function Ce(){ie({title:a("seo.storeSettings.title"),noindex:!0});const{session:i,signIn:d}=re(),b=se(),j=ne(),c=i==null?void 0:i.address,{data:S,isLoading:F}=oe(c),[r,m]=n.useState(A),[y,C]=n.useState(A),[k,p]=n.useState(),[g,$]=n.useState(!1),[o,N]=n.useState(null),[h,V]=n.useState({}),z=n.useRef(null);n.useEffect(()=>{if(S){const e=le(S);m(e),C(e),p(void 0),N(e.cover?{url:e.cover,name:e.coverName,hash:e.coverHash}:null)}},[S]),n.useEffect(()=>{let e=!1;return Promise.all(f.map(async t=>[t.name,await ce(t.url)])).then(t=>{e||V(Object.fromEntries(t))}).catch(()=>{}),()=>{e=!0}},[]);const x=n.useMemo(()=>{const e=f.find(l=>r.coverName===`cover/${l.name}`);if(e)return e.name;const t=r.coverHash?f.find(l=>h[l.name]===r.coverHash):void 0;return t==null?void 0:t.name},[r.coverName,r.coverHash,h]);n.useEffect(()=>{o!=null&&o.hash&&f.some(e=>h[e.name]===o.hash)&&N(null)},[h,o]);const I=k!==void 0&&k>O,Y=n.useMemo(()=>de.filter(e=>!B(e,r.links[e])),[r.links]),K=I||Y.length>0,w=n.useMemo(()=>JSON.stringify(r)!==JSON.stringify(y),[r,y]),W=w&&!K&&!g;if(n.useEffect(()=>{if(!w)return;const e=t=>{t.preventDefault()};return window.addEventListener("beforeunload",e),()=>window.removeEventListener("beforeunload",e)},[w]),!i)return s.jsxs("section",{className:"store-settings store-settings--signin","aria-label":a("storeSettings.title"),children:[s.jsx("h1",{className:"store-settings__title",children:a("storeSettings.title")}),s.jsx("p",{className:"muted",children:a("storeSettings.signInPrompt")}),s.jsx(be,{variant:"purple",onClick:d,children:a("storeSettings.signIn")})]});function q(e,t){p(void 0),m(l=>({...l,cover:t,coverName:`cover/${e}`,coverHash:""}))}const G=["image/png","image/jpeg","image/webp"];function J(e){var H;const t=(H=e.target.files)==null?void 0:H[0];if(!t||!G.includes(t.type))return;p(t.size);const l=`cover/${t.name}`,u=new FileReader;u.onload=()=>{const T=u.result;N({url:T,name:l,hash:""}),m(ee=>({...ee,cover:T,coverName:l,coverHash:""}))},u.readAsDataURL(t)}function Q(){o&&(p(void 0),m(e=>({...e,cover:o.url,coverName:o.name,coverHash:o.hash})))}function U(e,t){const l=t?(v[e]+t).replace(/\s/g,""):"";m(u=>({...u,links:{...u.links,[e]:l}}))}function X(e){const t=r.links[e];return e==="website"?t:t.replace(v[e],"")}async function Z(){if(!(!c||!i)){$(!0);try{await me(c,r,i.identity),C(r),p(void 0),await j.invalidateQueries({queryKey:["store",c.toLowerCase()]}),R.success(a("storeSettings.saved")),b(`/assets/creator/${c}`)}catch{R.error(a("storeSettings.saveError"))}finally{$(!1)}}}return s.jsxs("section",{className:"store-settings","aria-label":a("storeSettings.title"),children:[s.jsxs("div",{className:"store-settings__head",children:[s.jsxs("div",{className:"store-settings__heading",children:[c?s.jsx(te,{className:"store-settings__back",to:`/assets/creator/${c}`,title:a("storeSettings.back"),"aria-label":a("storeSettings.back"),children:s.jsx(E,{name:"arrow-left"})}):null,s.jsx("h1",{className:"store-settings__title",children:a("storeSettings.title")})]}),c?s.jsxs("a",{className:"store-settings__guest",href:`/assets/creator/${c}`,target:"_blank",rel:"noopener noreferrer",children:[a("storeSettings.seeAsGuest"),s.jsx(E,{name:"external-link"})]}):null]}),F?s.jsx(_e,{size:"large",label:a("storeSettings.loading"),className:"store-settings__loading"}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"field",children:[s.jsx("span",{className:"field__label",children:a("storeSettings.cover")}),s.jsxs("div",{className:"cover-picker",role:"group","aria-label":a("storeSettings.cover"),children:[f.map(e=>{const t=x===e.name;return s.jsx("button",{type:"button",className:`cover-picker__tile${t?" is-selected":""}`,"data-testid":"cover-picker-tile","data-selected":t,"aria-pressed":t,onClick:()=>q(e.name,e.url),children:s.jsx("img",{src:e.url,alt:"",loading:"lazy"})},e.name)}),o?s.jsx("button",{type:"button",className:`cover-picker__tile cover-picker__tile--custom${x?"":" is-selected"}`,"data-testid":"cover-picker-tile","data-variant":"custom","data-selected":!x,"aria-pressed":!x,onClick:Q,children:s.jsx("img",{src:o.url,alt:""})}):null,s.jsxs("button",{type:"button",className:"cover-picker__tile cover-picker__upload","data-testid":"cover-picker-tile","data-variant":"upload",onClick:()=>{var e;return(e=z.current)==null?void 0:e.click()},children:[s.jsx(E,{name:"upload"}),s.jsx("span",{children:a("storeSettings.upload")})]}),s.jsx("input",{ref:z,type:"file",accept:"image/png, image/jpeg, image/webp",className:"cover-picker__input","data-testid":"cover-picker-input",onChange:J})]}),I?s.jsx(M,{message:a("storeSettings.sizeError",{max:D(O),current:D(k)})}):null]}),s.jsxs("label",{className:"field",children:[s.jsx("span",{className:"field__label",children:a("storeSettings.description")}),s.jsx("textarea",{value:r.description,rows:4,disabled:g,onChange:e=>m(t=>({...t,description:e.target.value}))})]}),s.jsxs("label",{className:"field",children:[s.jsx("span",{className:"field__label",children:a("storeSettings.website")}),s.jsx("input",{type:"url",value:r.links.website,placeholder:v.website,disabled:g,onChange:e=>m(t=>({...t,links:{...t.links,website:e.target.value.replace(/\s/g,"")}}))}),B("website",r.links.website)?null:s.jsx(M,{message:a("storeSettings.linkError",{value:v.website})})]}),["twitter","discord","facebook"].map(e=>s.jsxs("label",{className:"field",children:[s.jsx("span",{className:"field__label",children:a(`storeSettings.${e}`)}),s.jsxs("div",{className:"field__prefixed",children:[s.jsx("span",{className:"field__prefix",children:v[e]}),s.jsx("input",{type:"text",value:X(e),disabled:g,onChange:t=>U(e,t.target.value)})]})]},e)),s.jsx("div",{className:"store-settings__actions",children:s.jsx(P,{variant:"purple",className:"store-settings__save","data-testid":"store-settings-save",onClick:()=>void Z(),disabled:!W,children:g?a("storeSettings.saving"):a("storeSettings.save")})})]})]})}export{Ce as StoreSettings,Ce as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.store-settings{max-width:640px;margin:0 auto;padding:8px 0 48px;display:flex;flex-direction:column;gap:20px}.store-settings--signin{min-height:60vh;align-items:center;justify-content:center;text-align:center;gap:12px}.store-settings__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}.store-settings__heading{display:flex;align-items:center;gap:10px}.store-settings__back{display:flex;align-items:center;justify-content:center;color:var(--text);transition:color .15s linear}.store-settings__back:hover{color:var(--accent)}.store-settings__back .ico{width:22px;height:22px}.store-settings__title{font-size:24px;font-weight:800}.store-settings__guest{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-weight:700;font-size:14px;text-decoration:none}.store-settings__guest:hover{text-decoration:underline}.store-settings__guest .ico{width:15px;height:15px}.store-settings .field__label{font-weight:700;color:var(--text)}.store-settings textarea{background:#fff;border:1px solid var(--line-strong);border-radius:8px;padding:10px 12px;color:var(--text);font:inherit;resize:vertical;min-height:88px}.field__prefixed{display:flex;align-items:stretch;border:1px solid var(--line-strong);border-radius:8px;overflow:hidden;background:#fff}.field__prefix{display:flex;align-items:center;padding:0 10px;background:#0000000a;color:var(--muted);font-size:13px;white-space:nowrap;border-right:1px solid var(--line-strong)}.field__prefixed input{border:0!important;border-radius:0!important;flex:1;min-width:0}.cover-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.cover-picker__tile{position:relative;padding:0;border:2px solid var(--line-strong);border-radius:var(--radius-card);overflow:hidden;aspect-ratio:16 / 9;background:var(--media, #f0eef2);cursor:pointer}.cover-picker__tile img{width:100%;height:100%;object-fit:cover;display:block}.cover-picker__tile.is-selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.cover-picker__tile.is-selected:after{content:"✓";position:absolute;top:6px;right:6px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:#fff;font-size:13px;font-weight:700}.cover-picker__upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-style:dashed;color:var(--muted);font-size:13px;font-weight:700;background:#fff}.cover-picker__upload .ico{width:22px;height:22px;background:var(--muted)}.cover-picker__upload:hover{border-color:var(--accent);color:var(--accent)}.cover-picker__upload:hover .ico{background:var(--accent)}.cover-picker__input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.store-settings__actions{display:flex;justify-content:flex-end;gap:12px;margin-top:8px}.store-settings__save{min-width:180px}.store-settings__loading{display:grid;place-items:center;min-height:60vh}@media(max-width:768px){.store-settings__save{width:100%}.cover-picker{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{a as v,u as k,j as s,N as y,r as p}from"./react-BW1xvPTF.js";import{u as w,y as b,t as e,z as C,C as f,A,D as S,n as g,s as B,B as I,E as L,g as E}from"./index-CE-8j9dT.js";import{w as T,S as F}from"./buy-gasless-BlKkmgRS.js";import"./sentry-BV_ZSgtd.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-CtVvB8eG.js";import"./intl-CBcMB1D2.js";import"./authorizations-BxQ2tMzo.js";import"./sendMetaTransaction-BMgjMfxP.js";import"./trade-encoding-BjnvL03O.js";const j=B(I)`
|
|
2
|
-
min-width: 160px;
|
|
3
|
-
text-align: center;
|
|
4
|
-
`,M=c=>new Promise(t=>setTimeout(t,c));function P(c,t){const[a,i]=p.useState(c?"pending":"confirmed"),m=t?`${t.owner}-${t.contractAddress}-${t.itemId}`:"";return p.useEffect(()=>{if(!c)return;let r=!1;return(async()=>{let h=!1;for(let n=0;n<20&&!r;n++)try{await T(c,{timeoutMs:15e3}),h=!0;break}catch(d){if(d instanceof F)continue;r||i("failed");return}if(!r){if(!h){i("timed-out");return}if(!t){i("confirmed");return}i("indexing");for(let n=0;n<40&&!r;n++){if(await L(t.owner,t.contractAddress,t.itemId)){r||i("confirmed");return}await M(3e3)}r||i("timed-out")}})(),()=>{r=!0}},[c,m]),a}const R=g.chainId===80002?"https://decentraland.zone/jump":"https://decentraland.org/jump",W=g.chainId===80002?"https://amoy.polygonscan.com/tx/":"https://polygonscan.com/tx/";function Q(){const{state:c}=v(),t=k(),{session:a}=w(),i=c==null?void 0:c.txHash,m=(c==null?void 0:c.items)??[],r=c!=null&&c.creditsAdded&&c.creditsAdded>0?c.creditsAdded:null,l=m[0],h=a!=null&&a.address&&(l!=null&&l.contractAddress)&&(l!=null&&l.itemId)?{owner:a.address,contractAddress:l.contractAddress,itemId:l.itemId}:null,n=P(c!=null&&c.settled?void 0:i,h);b({title:e("seo.success.title"),noindex:!0});const d=m;if(d.length===0)return s.jsx(y,{to:"/assets",replace:!0});const _=d[0],u=!!i&&C(a==null?void 0:a.providerType)?s.jsx("a",{className:"success__receipt",href:`${W}${i}`,target:"_blank",rel:"noreferrer",children:e("success.viewTransaction")}):null;return n!=="confirmed"?s.jsx("div",{className:"success",children:s.jsx("div",{className:"success__status",children:n==="pending"||n==="indexing"?s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"spinner success__spinner","aria-hidden":!0}),s.jsx("h1",{className:"success__title",children:n==="indexing"?e("success.finalizing"):e("success.processing")}),s.jsx("p",{className:"success__sub",children:n==="indexing"?s.jsxs(s.Fragment,{children:[e("success.indexingBefore")," ",d.length===1?s.jsx("strong",{children:_.name}):e("success.itemCount",{count:d.length})," ",e("success.indexingAfter")]}):s.jsxs(s.Fragment,{children:[e("success.confirmingBefore")," ",d.length===1?s.jsx("strong",{children:_.name}):e("success.itemCount",{count:d.length})," ",e("success.confirmingAfter")]})}),u?s.jsx("div",{className:"success__links",children:u}):null]}):n==="timed-out"?s.jsxs(s.Fragment,{children:[s.jsx("h1",{className:"success__title",children:e("success.stillProcessingTitle")}),s.jsxs("p",{className:"success__sub",children:[e("success.timedOutBefore")," ",s.jsx("button",{className:"link",onClick:()=>t("/activity"),children:e("nav.activity")})," ",e("success.timedOutAfter")]}),u?s.jsx("div",{className:"success__links",children:u}):null,s.jsxs("div",{className:"success__actions",children:[s.jsx(j,{variant:"purple",onClick:()=>t("/activity"),children:e("success.viewActivity")}),s.jsx(j,{variant:"ghost",onClick:()=>t("/assets"),children:e("success.keepShopping")})]})]}):s.jsxs(s.Fragment,{children:[s.jsx("h1",{className:"success__title",children:e("success.failedTitle")}),s.jsx("p",{className:"success__sub",children:e("success.failedBody")}),u?s.jsx("div",{className:"success__links",children:u}):null,s.jsx("div",{className:"success__actions",children:s.jsx(j,{variant:"purple",onClick:()=>t("/assets"),children:e("success.backToShop")})})]})})}):s.jsx("div",{className:"success",children:s.jsxs("div",{className:"success-done",children:[s.jsxs("div",{className:"success-banner",role:"status",children:[s.jsx("span",{className:"success-banner__check","aria-hidden":!0,children:s.jsxs("svg",{viewBox:"0 0 60 60",width:"60",height:"60",children:[s.jsx("circle",{cx:"30",cy:"30",r:"30",fill:"#34ce77"}),s.jsx("path",{d:"M18 31l8 8 16-18",fill:"none",stroke:"#fff",strokeWidth:"4.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),s.jsxs("p",{className:"success-banner__text",children:[s.jsx("b",{children:e("success.bannerTitle")})," ",e("success.bannerBody")]})]}),s.jsxs("div",{className:"success-list",children:[r?s.jsxs("div",{className:"success-credits","data-testid":"success-credits",children:[s.jsx(f,{className:"success-credits__ico"}),s.jsxs("p",{className:"success-credits__text",children:[s.jsx("span",{className:"success-credits__amount",children:e("getCredits.creditsAmount",{credits:r,currency:E.name})})," ",s.jsx("span",{className:"success-credits__added",children:e("getCredits.creditsAdded")})]})]}):null,d.map((o,N)=>{const x=o.quantity??1;return s.jsxs("div",{className:"success-list__row",children:[N>0?s.jsx("span",{className:"success-list__divider","aria-hidden":!0}):null,s.jsxs("div",{className:"success-row",children:[s.jsxs("div",{className:"success-row__thumb",children:[o.thumbnail?s.jsx("img",{src:o.thumbnail,alt:""}):null,s.jsx("span",{className:"success-row__check","aria-hidden":!0,children:s.jsx("svg",{viewBox:"0 0 18 18",width:"12",height:"12",children:s.jsx("path",{d:"M4 9l3.5 3.5L14 5",fill:"none",stroke:"#fff",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),s.jsxs("div",{className:"success-row__info",children:[s.jsxs("div",{className:"success-row__name",title:o.name,children:[o.name||e("buyModal.itemFallback"),x>1?s.jsx("span",{className:"success-row__qty",children:e("cartCheckout.qty",{count:x})}):null]}),o.creator?s.jsx(A,{address:o.creator,className:"success-row__creator",linkToProfile:!0}):null]}),s.jsxs("div",{className:"success-row__price",children:[s.jsx(f,{className:"success-row__price-ico"}),s.jsx("span",{children:S(o.priceCredits*x)})]})]})]},o.id)})]}),u?s.jsx("div",{className:"success__links success-done__receipt",children:u}):null,s.jsxs("div",{className:"success-ctas",children:[s.jsx("button",{className:"success-cta success-cta--ghost",onClick:()=>t("/my-assets"),children:e("success.myAssets")}),s.jsxs("a",{className:"success-cta success-cta--ruby",href:R,target:"_blank",rel:"noreferrer",children:[e("success.tryInWorld"),s.jsx("span",{className:"success-cta__jump","aria-hidden":!0,children:s.jsx("svg",{viewBox:"0 0 24 24",width:"20",height:"20",children:s.jsx("path",{d:"M5 12h12M13 7l5 5-5 5",fill:"none",stroke:"#fcfcfc",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})]})})}export{Q as Success,Q as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as r}from"./react-BW1xvPTF.js";import{r as o}from"./browser-ponyfill-CI1-rMvf.js";var t=o();const f=r(t);export{f as o};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as p,x as f,c as m}from"./index-CE-8j9dT.js";const T="dcl_shop_resume_cart";function l(r){return m(r)}async function _(r,a,u){var c;const n=[],s=[],o=[];for(const t of r)try{const e=await u(t);if(!e){s.push(t);continue}if(p(e,a)){o.push(t);continue}const i=f((c=e.received[0])==null?void 0:c.amount);if(!Number.isFinite(i)||i<=0){s.push(t);continue}const h=t.tokenId?1:Math.max(1,Math.floor(t.quantity??1));n.push({item:t,trade:e,usdCents:i,priceCredits:l(i),quantity:h})}catch{s.push(t)}const d=n.reduce((t,e)=>t+e.priceCredits*e.quantity,0),C=s.length>0||o.length>0||n.some(t=>t.priceCredits!==t.item.priceCredits);return{buyable:n,unavailable:s,own:o,liveTotalCredits:d,orderChanged:C}}export{T as R,_ as r};
|
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
import{j as e,r as j}from"./react-BW1xvPTF.js";import{s,I as S,L as o,t as p}from"./index-CE-8j9dT.js";import{n as _}from"./emotion-CSxEP8yM.js";const A=s(S)`
|
|
2
|
-
transition: transform 0.15s ease;
|
|
3
|
-
|
|
4
|
-
&[data-up='true'] {
|
|
5
|
-
transform: rotate(180deg);
|
|
6
|
-
}
|
|
7
|
-
`;function C({up:n=!1,...u}){return e.jsx(A,{name:"chevron-down","data-up":n||void 0,...u})}const I=s.div`
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
gap: 2px;
|
|
11
|
-
`,R=s.p`
|
|
12
|
-
font-family: ${o.font.sans};
|
|
13
|
-
font-weight: 600;
|
|
14
|
-
font-size: 13px;
|
|
15
|
-
letter-spacing: 0.08em;
|
|
16
|
-
text-transform: uppercase;
|
|
17
|
-
color: #6a6a6a;
|
|
18
|
-
margin: 0 0 4px;
|
|
19
|
-
padding: 8px 16px 0;
|
|
20
|
-
`,F=s.div`
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
gap: 2px;
|
|
24
|
-
`,z=s("button",_("flat"))`
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: space-between;
|
|
28
|
-
gap: 8px;
|
|
29
|
-
height: 40px;
|
|
30
|
-
padding: 4px 8px;
|
|
31
|
-
border: 0;
|
|
32
|
-
border-radius: 4px;
|
|
33
|
-
background: none;
|
|
34
|
-
width: 100%;
|
|
35
|
-
text-align: left;
|
|
36
|
-
color: ${o.colors.text};
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
|
|
39
|
-
${o.media.down("lg")} {
|
|
40
|
-
height: 52px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&:hover {
|
|
44
|
-
background: ${({flat:n})=>n?"rgba(0, 0, 0, 0.04)":"#f5f4f7"};
|
|
45
|
-
}
|
|
46
|
-
&.is-selected,
|
|
47
|
-
&.is-expanded {
|
|
48
|
-
background: ${({flat:n})=>n?"#ececec":o.colors.media};
|
|
49
|
-
}
|
|
50
|
-
&:focus-visible {
|
|
51
|
-
outline: 2px solid ${o.colors.accent};
|
|
52
|
-
outline-offset: 2px;
|
|
53
|
-
}
|
|
54
|
-
`,N=s.span`
|
|
55
|
-
font-family: ${o.font.sans};
|
|
56
|
-
font-weight: 600;
|
|
57
|
-
font-size: 14px;
|
|
58
|
-
line-height: 1.5;
|
|
59
|
-
color: ${o.colors.text};
|
|
60
|
-
|
|
61
|
-
${o.media.down("lg")} {
|
|
62
|
-
font-size: 16px;
|
|
63
|
-
}
|
|
64
|
-
`,L=s.div`
|
|
65
|
-
display: grid;
|
|
66
|
-
grid-template-rows: 0fr;
|
|
67
|
-
transition: grid-template-rows 0.22s ease;
|
|
68
|
-
|
|
69
|
-
&.is-open {
|
|
70
|
-
grid-template-rows: 1fr;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
@media (prefers-reduced-motion: reduce) {
|
|
74
|
-
transition: none;
|
|
75
|
-
}
|
|
76
|
-
`,H=s.div`
|
|
77
|
-
overflow: hidden;
|
|
78
|
-
min-height: 0;
|
|
79
|
-
display: flex;
|
|
80
|
-
flex-direction: column;
|
|
81
|
-
gap: 2px;
|
|
82
|
-
`,O=s("button",_("flat"))`
|
|
83
|
-
display: flex;
|
|
84
|
-
align-items: center;
|
|
85
|
-
gap: 8px;
|
|
86
|
-
height: 40px;
|
|
87
|
-
padding: 4px 4px 4px 24px;
|
|
88
|
-
border: 0;
|
|
89
|
-
border-radius: 4px;
|
|
90
|
-
background: none;
|
|
91
|
-
width: 100%;
|
|
92
|
-
text-align: left;
|
|
93
|
-
cursor: pointer;
|
|
94
|
-
|
|
95
|
-
${o.media.down("lg")} {
|
|
96
|
-
height: 52px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&:hover {
|
|
100
|
-
background: ${({flat:n})=>n?"rgba(0, 0, 0, 0.04)":"#f5f4f7"};
|
|
101
|
-
}
|
|
102
|
-
&.is-active {
|
|
103
|
-
background: ${({flat:n})=>n?"#ececec":o.colors.media};
|
|
104
|
-
}
|
|
105
|
-
&:focus-visible {
|
|
106
|
-
outline: 2px solid ${o.colors.accent};
|
|
107
|
-
outline-offset: 2px;
|
|
108
|
-
}
|
|
109
|
-
`,G=s.span`
|
|
110
|
-
display: flex;
|
|
111
|
-
align-items: center;
|
|
112
|
-
gap: 8px;
|
|
113
|
-
min-width: 0;
|
|
114
|
-
`,M=s(S)`
|
|
115
|
-
width: 24px;
|
|
116
|
-
height: 24px;
|
|
117
|
-
color: ${o.colors.gray0};
|
|
118
|
-
`,P=s("span",_("active"))`
|
|
119
|
-
font-family: ${o.font.sans};
|
|
120
|
-
font-weight: ${({active:n})=>n?600:400};
|
|
121
|
-
font-size: 14px;
|
|
122
|
-
line-height: 1.5;
|
|
123
|
-
color: ${({active:n})=>n?o.colors.text:o.colors.gray0};
|
|
124
|
-
|
|
125
|
-
${o.media.down("lg")} {
|
|
126
|
-
font-size: 16px;
|
|
127
|
-
}
|
|
128
|
-
`,D=[{key:"all",labelKey:"categories.shopAll"},{key:"wearable",labelKey:"categories.wearables",expandable:!0,subs:[{key:"Head",labelKey:"categories.head",icon:"cat-head"},{key:"Upper Body",labelKey:"categories.upperBody",icon:"cat-upper"},{key:"Handwear",labelKey:"categories.handwear",icon:"cat-handwear"},{key:"Lower Body",labelKey:"categories.lowerBody",icon:"cat-lower"},{key:"Feet",labelKey:"categories.feet",icon:"cat-feet"},{key:"Accessories",labelKey:"categories.accessories",icon:"cat-accessories"},{key:"Skins",labelKey:"categories.skins",icon:"cat-skins"}]},{key:"emote",labelKey:"categories.emotes",expandable:!0,subs:[{key:"Dance",labelKey:"categories.dance",icon:"emote-dance"},{key:"Stunt",labelKey:"categories.stunt",icon:"emote-stunt"},{key:"Greetings",labelKey:"categories.greetings",icon:"emote-greetings"},{key:"Fun",labelKey:"categories.fun",icon:"emote-fun"},{key:"Poses",labelKey:"categories.poses",icon:"emote-poses"},{key:"Reactions",labelKey:"categories.reactions",icon:"emote-reactions"},{key:"Horror",labelKey:"categories.horror",icon:"emote-horror"},{key:"Miscellaneous",labelKey:"categories.miscellaneous",icon:"emote-misc"}]},{key:"names",labelKey:"categories.names"}];function de({category:n,subCategory:u,onCategory:f,onSub:w,title:m,flat:h=!1,collections:x=!1,onCollections:k,hideAll:y=!1,extraLabelKey:r="categories.collections"}){const[v,$]=j.useState(()=>n==="wearable"?"wearable":null);function K(t){t.subs?$(a=>{const c=a!==t.key;return c&&f(t.key),c?t.key:null}):(f(t.key),$(null))}return e.jsxs(I,{children:[m?e.jsx(R,{children:m}):null,D.filter(t=>!(y&&t.key==="all")).map(t=>{const a=v===t.key&&!!t.subs,c=!x&&t.key===n;return e.jsxs(F,{children:[e.jsxs(z,{type:"button",flat:h,className:`${a?" is-expanded":""}${c?" is-selected":""}`,onClick:()=>K(t),children:[e.jsx(N,{children:p(t.labelKey)}),t.expandable?e.jsx(C,{up:a,size:24,color:"var(--text)"}):null]}),t.subs?e.jsx(L,{className:a?"is-open":"",children:e.jsx(H,{children:t.subs.map(d=>{const g=u===d.key;return e.jsx(O,{type:"button",flat:h,className:g?"is-active":"",onClick:()=>w(g?null:d.key),children:e.jsxs(G,{children:[e.jsx(M,{name:d.icon,"aria-hidden":!0}),e.jsx(P,{active:g,children:p(d.labelKey)})]})},d.key)})})}):null]},t.key)}),k?e.jsx(F,{children:e.jsx(z,{type:"button",flat:h,className:x?"is-selected":"",onClick:k,children:e.jsx(N,{children:p(r)})})}):null]})}function U({options:n,value:u,onChange:f,label:w,placeholder:m,align:h="left",className:x="",ariaLabel:k,open:y,onOpenChange:r}){const[v,$]=j.useState(!1),t=y!==void 0?y:v,a=j.useRef(null),c=j.useRef(r);c.current=r;const d=j.useCallback(i=>{var l;y!==void 0?(l=c.current)==null||l.call(c,i):$(i)},[y]),g=n.find(i=>i.value===u),b=w??(g==null?void 0:g.label)??m;return j.useEffect(()=>{if(!t)return;function i(B){a.current&&!a.current.contains(B.target)&&d(!1)}function l(B){B.key==="Escape"&&d(!1)}return document.addEventListener("pointerdown",i),document.addEventListener("keydown",l),()=>{document.removeEventListener("pointerdown",i),document.removeEventListener("keydown",l)}},[t,d]),e.jsxs("div",{className:`dropdown${x?` ${x}`:""}`,ref:a,children:[e.jsxs("button",{type:"button",className:`dropdown__trigger${t?" is-open":""}`,"aria-haspopup":"listbox","aria-expanded":t,"aria-label":k,onClick:()=>d(!t),children:[e.jsx("span",{className:"dropdown__label",children:b}),e.jsx(C,{up:t,size:24,color:"#242129"})]}),t?e.jsx("ul",{className:`dropdown__menu dropdown__menu--${h}`,role:"listbox",children:n.map(i=>e.jsx("li",{role:"none",children:e.jsx("button",{type:"button",role:"option","aria-selected":i.value===u,className:`dropdown__option${i.value===u?" is-active":""}`,onClick:()=>{f(i.value),d(!1)},children:i.label})},i.value))}):null]})}const Q=s.div`
|
|
129
|
-
display: flex;
|
|
130
|
-
flex-wrap: wrap;
|
|
131
|
-
align-items: center;
|
|
132
|
-
gap: 8px 12px;
|
|
133
|
-
margin-bottom: 20px;
|
|
134
|
-
`,T=s.span`
|
|
135
|
-
order: 1;
|
|
136
|
-
color: ${o.colors.muted};
|
|
137
|
-
font-weight: 400;
|
|
138
|
-
font-size: 14px;
|
|
139
|
-
line-height: 1.43;
|
|
140
|
-
white-space: nowrap;
|
|
141
|
-
|
|
142
|
-
${o.media.down("lg")} {
|
|
143
|
-
font-size: 12px;
|
|
144
|
-
line-height: 1;
|
|
145
|
-
}
|
|
146
|
-
`,q=s.div`
|
|
147
|
-
order: 2;
|
|
148
|
-
display: flex;
|
|
149
|
-
flex-wrap: wrap;
|
|
150
|
-
align-items: center;
|
|
151
|
-
gap: 8px;
|
|
152
|
-
|
|
153
|
-
${o.media.down("lg")} {
|
|
154
|
-
order: 3;
|
|
155
|
-
flex-basis: 100%;
|
|
156
|
-
gap: 4px;
|
|
157
|
-
}
|
|
158
|
-
`,J=s.button`
|
|
159
|
-
display: inline-flex;
|
|
160
|
-
align-items: center;
|
|
161
|
-
gap: 4px;
|
|
162
|
-
padding: 2px 4px 2px 8px;
|
|
163
|
-
border: 0;
|
|
164
|
-
border-radius: ${o.radius.pill};
|
|
165
|
-
background: ${o.colors.gray0};
|
|
166
|
-
color: ${o.colors.white};
|
|
167
|
-
font-weight: 400;
|
|
168
|
-
font-size: 12px;
|
|
169
|
-
line-height: 1.43;
|
|
170
|
-
white-space: nowrap;
|
|
171
|
-
cursor: pointer;
|
|
172
|
-
|
|
173
|
-
${o.media.down("lg")} {
|
|
174
|
-
font-size: 10px;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
&:hover {
|
|
178
|
-
background: ${o.colors.text};
|
|
179
|
-
}
|
|
180
|
-
&:focus-visible {
|
|
181
|
-
outline: 2px solid ${o.colors.accent};
|
|
182
|
-
outline-offset: 2px;
|
|
183
|
-
}
|
|
184
|
-
`,V=s(S)`
|
|
185
|
-
width: 14px;
|
|
186
|
-
height: 14px;
|
|
187
|
-
color: ${o.colors.white};
|
|
188
|
-
`,E=s.button`
|
|
189
|
-
padding: 0 4px;
|
|
190
|
-
background: none;
|
|
191
|
-
border: 0;
|
|
192
|
-
color: ${o.colors.text2};
|
|
193
|
-
font-weight: 500;
|
|
194
|
-
font-size: 12px;
|
|
195
|
-
line-height: 1.43;
|
|
196
|
-
text-decoration: underline;
|
|
197
|
-
white-space: nowrap;
|
|
198
|
-
cursor: pointer;
|
|
199
|
-
|
|
200
|
-
&:focus-visible {
|
|
201
|
-
outline: 2px solid ${o.colors.accent};
|
|
202
|
-
outline-offset: 2px;
|
|
203
|
-
}
|
|
204
|
-
`,W=s.div`
|
|
205
|
-
order: 4;
|
|
206
|
-
display: flex;
|
|
207
|
-
align-items: center;
|
|
208
|
-
gap: 8px;
|
|
209
|
-
margin-left: auto;
|
|
210
|
-
|
|
211
|
-
${o.media.down("lg")} {
|
|
212
|
-
/* Keep the count + Sort/Filters pills on the first row; chips (order 3) wrap below. */
|
|
213
|
-
order: 2;
|
|
214
|
-
|
|
215
|
-
/* On mobile the Sort By dropdown is a pill matching the Filters pill (Figma 1304-310201): fully
|
|
216
|
-
rounded, 0.5px gray-3 hairline, title-case (not the desktop uppercase), same 28px height. */
|
|
217
|
-
& .dropdown__trigger {
|
|
218
|
-
height: 28px;
|
|
219
|
-
padding: 4px 4px 4px 12px;
|
|
220
|
-
border-radius: 32px;
|
|
221
|
-
border-width: 0.5px;
|
|
222
|
-
font-weight: 500;
|
|
223
|
-
text-transform: none;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
`,X=s.button`
|
|
227
|
-
display: inline-flex;
|
|
228
|
-
align-items: center;
|
|
229
|
-
gap: 4px;
|
|
230
|
-
height: 28px;
|
|
231
|
-
padding: 4px 8px 4px 12px;
|
|
232
|
-
background: ${o.colors.white};
|
|
233
|
-
border: 0.5px solid ${o.colors.muted2};
|
|
234
|
-
border-radius: 32px;
|
|
235
|
-
color: ${o.colors.text2};
|
|
236
|
-
font-weight: 500;
|
|
237
|
-
font-size: 12px;
|
|
238
|
-
line-height: 1.43;
|
|
239
|
-
white-space: nowrap;
|
|
240
|
-
cursor: pointer;
|
|
241
|
-
|
|
242
|
-
${o.media.up("lg")} {
|
|
243
|
-
display: none;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
&:hover {
|
|
247
|
-
background: ${o.colors.chip};
|
|
248
|
-
}
|
|
249
|
-
&:focus-visible {
|
|
250
|
-
outline: 2px solid ${o.colors.accent};
|
|
251
|
-
outline-offset: 2px;
|
|
252
|
-
}
|
|
253
|
-
`,Y=s(S)`
|
|
254
|
-
width: 20px;
|
|
255
|
-
height: 20px;
|
|
256
|
-
color: ${o.colors.text2};
|
|
257
|
-
`,Z=s.div`
|
|
258
|
-
order: 2;
|
|
259
|
-
display: flex;
|
|
260
|
-
align-items: center;
|
|
261
|
-
gap: 8px;
|
|
262
|
-
`,ee=s.div`
|
|
263
|
-
position: relative;
|
|
264
|
-
`,oe=s.button`
|
|
265
|
-
display: inline-flex;
|
|
266
|
-
align-items: center;
|
|
267
|
-
gap: 6px;
|
|
268
|
-
background: none;
|
|
269
|
-
border: 0;
|
|
270
|
-
padding: 8px 10px;
|
|
271
|
-
border-radius: 8px;
|
|
272
|
-
color: #6b6873;
|
|
273
|
-
font-weight: 600;
|
|
274
|
-
font-size: 14px;
|
|
275
|
-
white-space: nowrap;
|
|
276
|
-
cursor: pointer;
|
|
277
|
-
|
|
278
|
-
&:hover {
|
|
279
|
-
background: #f5f4f7;
|
|
280
|
-
color: #3f3c47;
|
|
281
|
-
}
|
|
282
|
-
&.is-open,
|
|
283
|
-
&.is-active {
|
|
284
|
-
color: #3f3c47;
|
|
285
|
-
}
|
|
286
|
-
&:focus-visible {
|
|
287
|
-
outline: 2px solid ${o.colors.accent};
|
|
288
|
-
outline-offset: 2px;
|
|
289
|
-
}
|
|
290
|
-
`,te=s.span`
|
|
291
|
-
display: inline-grid;
|
|
292
|
-
place-items: center;
|
|
293
|
-
min-width: 18px;
|
|
294
|
-
height: 18px;
|
|
295
|
-
padding: 0 5px;
|
|
296
|
-
border-radius: 999px;
|
|
297
|
-
background: ${o.colors.accent};
|
|
298
|
-
color: #fff;
|
|
299
|
-
font-size: 11px;
|
|
300
|
-
font-weight: 700;
|
|
301
|
-
`,ne=s.div`
|
|
302
|
-
position: fixed;
|
|
303
|
-
inset: 0;
|
|
304
|
-
z-index: 34;
|
|
305
|
-
`,se=["common","uncommon","epic","rare","legendary","exotic","mythic","unique"],le=[{key:"newest",label:"filterBar.sortNewest",server:"newest"},{key:"price-asc",label:"filterBar.sortCheapest",server:"cheapest"},{key:"price-desc",label:"filterBar.sortMostExpensive",server:"most_expensive"},{key:"name",label:"filterBar.sortName",server:"name"}];function ie({panelKey:n,label:u,active:f,badge:w,panel:m,children:h}){const x=m.open===n;return e.jsxs(ee,{children:[e.jsxs(oe,{className:`${x?" is-open":""}${f?" is-active":""}`,onClick:()=>m.toggle(n),children:[u," ",w?e.jsx(te,{children:w}):null," ",e.jsx(C,{up:x,size:24,color:"var(--text-2)"})]}),x?h:null]})}function pe({sort:n,onSort:u,sortOptions:f=le,total:w,loading:m,query:h,onOpenFilters:x,chips:k,onClearChips:y,rarities:r,onToggleRarity:v,rarityOptions:$=se,anyActive:K,onClear:t,renderLeading:a,renderTrailing:c}){const[d,g]=j.useState(null),b={open:d,toggle:l=>g(B=>B===l?null:l),close:()=>g(null)},i=!!v||!!a||!!c;return e.jsxs(e.Fragment,{children:[d?e.jsx(ne,{onClick:b.close,"aria-hidden":!0}):null,e.jsxs(Q,{"data-testid":"browse-toolbar",children:[e.jsxs(T,{"data-testid":"browse-count",children:[m?"…":p("filterBar.count",{count:w}),h?` ${p("filterBar.forQuery",{query:h})}`:""]}),k&&k.length?e.jsxs(q,{"data-testid":"filter-chips",children:[k.map(l=>e.jsxs(J,{onClick:l.onRemove,"aria-label":p("filterBar.removeFilter",{filter:l.label}),children:[e.jsx("span",{children:l.label}),e.jsx(V,{name:"close","aria-hidden":!0})]},l.key)),y?e.jsx(E,{onClick:y,children:p("filterBar.clearAll")}):null]}):null,i?e.jsxs(Z,{children:[a==null?void 0:a(b),v?e.jsx(ie,{panelKey:"rarity",label:p("filterBar.rarity"),active:((r==null?void 0:r.length)??0)>0,badge:(r==null?void 0:r.length)||void 0,panel:b,children:e.jsx("div",{className:"filter-pop filter-pop--rarity",children:$.map(l=>e.jsxs("label",{className:"filter-pop__check",children:[e.jsx("input",{type:"checkbox",checked:(r==null?void 0:r.includes(l))??!1,onChange:()=>v(l)}),e.jsx("span",{children:l})]},l))})}):null,c==null?void 0:c(b),K?e.jsx(E,{onClick:()=>{t==null||t(),b.close()},children:p("filterBar.clearAll")}):null]}):null,e.jsxs(W,{children:[e.jsx(U,{label:p("filterBar.sortBy"),ariaLabel:p("filterBar.sortBy"),value:n,options:f.map(l=>({value:l.key,label:p(l.label)})),onChange:u,align:"right",open:b.open==="sort",onOpenChange:l=>l?b.toggle("sort"):b.close()}),x?e.jsxs(X,{type:"button",onClick:x,children:[p("filterBar.filters"),e.jsx(Y,{name:"filter","aria-hidden":!0})]}):null]})]})]})}function ue({count:n=12}){return e.jsx(e.Fragment,{children:Array.from({length:n}).map((u,f)=>e.jsx("div",{className:"card card--skeleton","aria-hidden":!0},f))})}const xe={Head:["head","hat","hair","facial_hair","eyes","eyebrows","mouth","mask","helmet","tiara","top_head"],"Upper Body":["upper_body"],Handwear:["hands_wear"],"Lower Body":["lower_body"],Feet:["feet"],Accessories:["earring","eyewear"],Skins:["skin"],Dance:["dance"],Stunt:["stunt"],Greetings:["greetings"],Fun:["fun"],Poses:["poses"],Reactions:["reactions"],Horror:["horror"],Miscellaneous:["miscellaneous"]};export{D as C,pe as F,se as R,ue as S,de as a,xe as b,C as c,le as d,ie as e};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.dropdown{position:relative;display:inline-block}.dropdown__trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:4px 4px 4px 12px;background:var(--soft-white, #fcfcfc);border:1px solid var(--text-2);border-radius:8px;color:var(--text-2);font-weight:600;font-size:12px;line-height:1.43;text-transform:uppercase;white-space:nowrap;cursor:pointer;transition:border-color .15s ease}.dropdown__trigger:hover{border-color:#000}.dropdown__trigger:focus-visible{outline:0;border-color:var(--accent)}.dropdown__label{overflow:hidden;text-overflow:ellipsis}.dropdown__menu{position:absolute;top:calc(100% + 8px);z-index:40;min-width:174px;list-style:none;margin:0;padding:0;overflow:hidden;background:#fff;border-radius:8px;box-shadow:0 4px 25px 5px #00000040;animation:cart-pop-in .16s ease}.dropdown__menu--left{left:0}.dropdown__menu--right{right:0}.dropdown__option{display:flex;align-items:center;width:100%;height:40px;text-align:left;background:#fff;border:0;padding:4px 4px 4px 8px;font-weight:400;font-size:14px;line-height:1.43;color:#43404a;white-space:nowrap;cursor:pointer}.dropdown__option:hover{background:#f5f4f7}.dropdown__option.is-active{background:#ecebed}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as f}from"./react-BW1xvPTF.js";import{al as g,u as p,am as A,t as u,C,B as b,W as x}from"./index-CE-8j9dT.js";const $="https://cdn.decentraland.org/@dcl/shop/0.1.0-30381451752.commit-ab871f3/assets/default-cover-7vUE644d.jpeg",E=2166136261,_=16777619,M=4294967295,S=.75,I=1,N="#ffffff",T=/[\p{L}\p{N}]/u;function j(n){let s=E>>>0;for(let t=0;t<n.length;t++)s^=n.charCodeAt(t),s=Math.imul(s,_)>>>0;return s>>>0}function L(n,s,t){const a=n>=1?n-Math.floor(n):n,i=Math.floor(a*6),c=a*6-i,o=t*(1-s),e=t*(1-s*c),l=t*(1-s*(1-c));switch(i%6){case 0:return{r:t,g:l,b:o};case 1:return{r:e,g:t,b:o};case 2:return{r:o,g:t,b:l};case 3:return{r:o,g:e,b:t};case 4:return{r:l,g:o,b:t};default:return{r:t,g:o,b:e}}}function h(n){return Math.max(0,Math.min(255,Math.round(n*255))).toString(16).padStart(2,"0")}function R({r:n,g:s,b:t}){return`#${h(n)}${h(s)}${h(t)}`}function U(n){if(!n)return"";let s="";for(let t=0;t<n.length;t++){const a=n[t];T.test(a)&&(s+=a)}return s}function B({name:n,hasClaimedName:s,ethAddress:t}){const a=U(n);return a?s||!t||t.length<=4?a:`${a}#${t.slice(-4)}`:""}function H(n){if(!n)return N;const t=j(n)/M;return R(L(t,S,I))}function V({items:n,source:s}){const t=g(r=>r.add),a=g(r=>r.items.map(d=>d.id)),i=p(r=>{var d;return(d=r.session)==null?void 0:d.address}),c=n.filter(r=>r.priceCredits>0&&!A(r,i));if(c.length===0)return null;const o=new Set(a),e=c.filter(r=>!o.has(r.id)),l=c.reduce((r,d)=>r+d.priceCredits,0);function m(){e.forEach(r=>t(r,s)),x.success(u("addAll.added",{count:e.length}))}return f.jsxs("div",{className:"addall",children:[f.jsxs("span",{className:"addall__summary",children:[u("addAll.forSale",{count:c.length})," · ",f.jsx(C,{className:"addall__diamond"})," ",l.toLocaleString()]}),f.jsx(b,{variant:"purple",size:"sm",onClick:m,disabled:e.length===0,children:e.length===0?u("addAll.allInCart"):u("addAll.addAll",{count:e.length})})]})}export{V as A,B as a,$ as d,H as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.collection-page{max-width:1721px;margin:0 auto}.collection-page__crumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-bottom:18px}.collection-page__crumb-link{background:none;border:0;padding:0;color:var(--muted);cursor:pointer}.collection-page__crumb-link:hover,.collection-page__crumb-current{color:var(--text)}.collection-page__head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px}.collection-page__title{font-size:28px;margin:0}.collection-page__count{margin-left:auto}.addall{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 16px;margin-bottom:20px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--media)}.addall__summary{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--text)}.addall__diamond{width:16px;height:16px}.creator-collections__bar{display:flex;align-items:center;min-height:44px;margin-bottom:16px}.grid--collections{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{w as r}from"./utils-B7rjkjB1.js";import{d as a}from"./decimals-C4nLn1ac.js";import"./sentry-BV_ZSgtd.js";import"./react-BW1xvPTF.js";import"./prepare-contract-call-CHrp3EL4.js";async function o(c){return r(()=>a(c),{cacheKey:`${c.contract.chain.id}:${c.contract.address}:decimals`,cacheTime:Number.POSITIVE_INFINITY})}export{o as decimals};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const d=(...o)=>({shouldForwardProp:r=>!o.includes(r)});export{d as n};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a0 as z,a6 as I,a7 as j,a8 as q,a9 as A,aa as D,ab as G,ac as R,ad as U}from"./index-CE-8j9dT.js";import{r as c}from"./react-BW1xvPTF.js";var V=I,W=function(e){return e!=="theme"},E=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?V:W},O=function(e,t,s){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(d){return e.__emotion_forwardProp(d)&&i(d)}:i}return typeof r!="function"&&s&&(r=e.__emotion_forwardProp),r},B=function(e){var t=e.cache,s=e.serialized,r=e.isStringTag;return G(t,s,r),R(function(){return U(t,s,r)}),null},H=function o(e,t){var s=e.__emotion_real===e,r=s&&e.__emotion_base||e,i,d;t!==void 0&&(i=t.label,d=t.target);var b=O(e,t,s),w=b||E(r),_=!w("as");return function(){var m=arguments,l=s&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(i!==void 0&&l.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)l.push.apply(l,m);else{var S=m[0];l.push(S[0]);for(var x=m.length,p=1;p<x;p++)l.push(m[p],S[p])}var n=j(function(a,u,v){var P=_&&a.as||r,f="",F=[],h=a;if(a.theme==null){h={};for(var C in a)h[C]=a[C];h.theme=c.useContext(q)}typeof a.className=="string"?f=A(u.registered,F,a.className):a.className!=null&&(f=a.className+" ");var N=D(l.concat(F),u.registered,h);f+=u.key+"-"+N.name,d!==void 0&&(f+=" "+d);var k=_&&b===void 0?E(P):w,g={};for(var y in a)_&&y==="as"||k(y)&&(g[y]=a[y]);return g.className=f,v&&(g.ref=v),c.createElement(c.Fragment,null,c.createElement(B,{cache:u,serialized:N,isStringTag:typeof P=="string"}),c.createElement(P,g))});return n.displayName=i!==void 0?i:"Styled("+(typeof r=="string"?r:r.displayName||r.name||"Component")+")",n.defaultProps=e.defaultProps,n.__emotion_real=n,n.__emotion_base=r,n.__emotion_styles=l,n.__emotion_forwardProp=b,Object.defineProperty(n,"toString",{value:function(){return"."+d}}),n.withComponent=function(a,u){var v=o(a,z({},t,u,{shouldForwardProp:O(n,u,!0)}));return v.apply(void 0,l)},n}},J=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],T=H.bind(null);J.forEach(function(o){T[o]=T(o)});export{T as n};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as s,t as n}from"./to-serializable-transaction-DvD6rPpV.js";import{r as c}from"./prepare-contract-call-CHrp3EL4.js";import{s as m}from"./signing-B18L8hB9.js";import"./index-CE-8j9dT.js";import"./react-BW1xvPTF.js";import"./sentry-BV_ZSgtd.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-CtVvB8eG.js";import"./intl-CBcMB1D2.js";import"./transaction-BOS1fhp8.js";import"./utils-B7rjkjB1.js";import"./get-bytecode-C6TlbHJu.js";const p="0x420000000000000000000000000000000000000F";async function O(r){const{transaction:t,gasPriceOracleAddress:a}=r,i=s({address:a||p,chain:t.chain,client:t.client}),{gasPrice:l,...e}=await n({transaction:t}),o=m({transaction:e});return c({contract:i,method:"function getL1Fee(bytes memory _data) view returns (uint256)",params:[o]})}export{O as estimateL1Fee};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as i}from"./prepare-contract-call-CHrp3EL4.js";import"./utils-B7rjkjB1.js";import"./sentry-BV_ZSgtd.js";import"./react-BW1xvPTF.js";async function n(t,e){const a=await t({method:"eth_estimateGas",params:[e]});return i(a)}export{n as eth_estimateGas};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,a as r}from"./prepare-contract-call-CHrp3EL4.js";import"./utils-B7rjkjB1.js";import"./sentry-BV_ZSgtd.js";import"./react-BW1xvPTF.js";async function m(t,o){const n=await t({method:"eth_getTransactionCount",params:[o.address,o.blockNumber?e(o.blockNumber):o.blockTag||"pending"]});return r(n)}export{m as eth_getTransactionCount};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as o}from"./execute-CLGkeIM4.js";import"./prepare-contract-call-CHrp3EL4.js";import"./utils-B7rjkjB1.js";import"./sentry-BV_ZSgtd.js";import"./react-BW1xvPTF.js";import"./index-CE-8j9dT.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-CtVvB8eG.js";import"./intl-CBcMB1D2.js";import"./detectExtension-BgMIFAUw.js";async function g(n){const l=await o(n);return{app:{android:null,browser:null,chrome:null,edge:null,firefox:null,ios:null,linux:null,mac:null,opera:null,safari:null,windows:null},desktop:{native:null,universal:null},homepage:l.homepage||"",id:n,image_id:l.imageUrl||"",mobile:{native:null,universal:null},name:l.name,rdns:null}}export{g as getEcosystemWalletInfo};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as a}from"./thirdweb-D8LTFb7L.js";import{f as o}from"./fetchTokenMetadata-CYxDKmIt.js";import{parseNFT as i}from"./parseNft-Ci6Mgfjs.js";import{totalSupply as m}from"./totalSupply-D4j1WOYW.js";import{r as d}from"./prepare-contract-call-CHrp3EL4.js";import"./utils-B7rjkjB1.js";import"./sentry-BV_ZSgtd.js";import"./react-BW1xvPTF.js";import"./signing-B18L8hB9.js";import"./index-CE-8j9dT.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-CtVvB8eG.js";import"./intl-CBcMB1D2.js";import"./to-serializable-transaction-DvD6rPpV.js";import"./transaction-BOS1fhp8.js";import"./get-bytecode-C6TlbHJu.js";import"./wait-for-tx-receipt-ztIanYW8.js";import"./transactionReceipt-6-pcmsdS.js";import"./sleep-mAKpSMLY.js";import"./eth_estimateGas-JYqF9U1i.js";import"./eth_getStorageAt--oQrWy0Q.js";import"./eth_getTransactionCount-BEhAgz2O.js";import"./eth_sendRawTransaction-DPdnXbFR.js";import"./decimals-Bmvg-V50.js";import"./decimals-C4nLn1ac.js";import"./zora-sepolia-CVS3owSi.js";import"./send-batch-transaction-CQKczqLV.js";import"./send-transaction-BSCBM-eH.js";import"./uint8-array-CjVHUazS.js";import"./detectExtension-BgMIFAUw.js";const p="0x0e89341c",u=[{name:"tokenId",type:"uint256"}],I=[{type:"string"}];async function k(t){return d({contract:t.contract,method:[p,u,I],params:[t.tokenId]})}async function H(t){const{useIndexer:r=!0}=t;if(r)try{return await f(t)}catch{return await c(t)}return await c(t)}async function f(t){const r=await a({chain:t.contract.chain,client:t.contract.client,contractAddress:t.contract.address,tokenId:t.tokenId});return r||c(t)}async function c(t){const[r,e]=await Promise.all([k({contract:t.contract,tokenId:t.tokenId}),m({contract:t.contract,id:t.tokenId}).catch(()=>0n)]);return i(await o({client:t.contract.client,tokenId:t.tokenId,tokenUri:r}).then(n=>n||{id:t.tokenId,type:"ERC1155",uri:r}).catch(()=>({id:t.tokenId,type:"ERC1155",uri:r})),{chainId:t.contract.chain.id,owner:null,supply:e,tokenAddress:t.contract.address,tokenId:t.tokenId,tokenUri:r,type:"ERC1155"})}export{H as getNFT};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as r}from"./index-CE-8j9dT.js";function p(t){const{theme:o,name:e,props:n}=t;return!o||!o.components||!o.components[e]||!o.components[e].defaultProps?n:r(o.components[e].defaultProps,n)}export{p as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var p=Object.defineProperty;var h=(t,a,e)=>a in t?p(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e;var d=(t,a,e)=>h(t,typeof a!="symbol"?a+"":a,e);import{h as m,p as y,n as l}from"./index-CE-8j9dT.js";import{c as u}from"./buy-C-oTH9gd.js";import{r as A,a as I}from"./mana-rate-iDr_vy1I.js";import{g as S,e as T,c as E,a as b,b as L}from"./trade-encoding-BjnvL03O.js";const g=1e3*60*60*24*182;async function _(t){const a=await fetch(`${l.marketplaceServerUrl}/v3/catalog/importable?seller=${t.toLowerCase()}`);if(!a.ok)throw new Error(`fetchImportable ${a.status}`);const{data:e}=await a.json(),r=e??[];if(r.length===0)return{creations:[],owned:[]};const o=r[0].chainId||l.chainId,i=await A(o),c=r.map(s=>({...s,suggestedCredits:I(s.manaWei,i)??1}));return{creations:c.filter(s=>s.listingType==="primary"),owned:c.filter(s=>s.listingType==="secondary")}}const f=[3e3,3e3,4e3,5e3,6e3,8e3,8e3];async function w(t,a){for(let e=0;;e++)try{await y(t,a);return}catch(r){if(!/already an open order/i.test((r==null?void 0:r.message)??"")||e>=f.length)throw r;await new Promise(i=>setTimeout(i,f[e]))}}class M extends Error{constructor(e){super("Your old listing was removed, but re-listing in the Shop failed — re-list it from My Assets.");d(this,"original");this.name="RelistFailedError",this.original=e}}async function x(t,a,e,r={}){const o=a/10,i=t.chainId,c=t.network;if(t.listingType==="secondary"&&!await S())throw new Error("The Shop does not offer secondary sales; this listing cannot be migrated.");let s=!1;if(r.cancelOld!==!1){const n=await m(t.oldTradeId).catch(()=>null);n&&(await u({trade:n,signer:e.signer}),s=!0)}try{if(t.listingType==="primary"){await T({signer:e.signer,contractAddress:t.contractAddress,chainId:i});const n=await E({signer:e.signer,item:{contractAddress:t.contractAddress,itemId:t.itemId??"",network:c,chainId:i},usdPrice:o,uses:t.available,expiresAtMs:Date.now()+g});await w(n,e.identity)}else{await b({signer:e.signer,contractAddress:t.contractAddress,chainId:i});const n=await L({signer:e.signer,nft:{contractAddress:t.contractAddress,tokenId:t.tokenId??"",network:c,chainId:i},usdPrice:o,expiresAtMs:Date.now()+g});await w(n,e.identity)}}catch(n){throw s?new M(n):n}}export{M as R,_ as f,x as i};
|
package/assets/index-B6MKNzS8.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as t}from"./react-BW1xvPTF.js";import{r}from"./index-COjgItKg.js";var e=r();const i=t(e);export{i as E};
|