@dcl/shop 1.18.2-36596222687.commit-e723a5f → 1.18.2-36637356847.commit-825c9d5
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-Cf5KdXNN.js → Activity-BOaDB-SB.js} +4 -4
- package/_assets/{AnimatedBackground-EY8ht4TC.js → AnimatedBackground-DCBZ7BDw.js} +6 -6
- package/_assets/{Assets-DzIogfEM.js → Assets-B8E0h7qR.js} +9 -9
- package/_assets/{Cart-B-ZbTank.js → Cart-DM05_xNx.js} +2 -2
- package/_assets/{Collection-C8Dd8FmT.js → Collection-D6kIIQ6_.js} +2 -2
- package/_assets/{CollectionCarousel-CFBhlfVv.js → CollectionCarousel-Dehf1Thf.js} +5 -5
- package/_assets/{Confetti-CruhEc0J.js → Confetti-BPJScoAz.js} +4 -4
- package/_assets/{ConstantsUtil-BidlXg_A.js → ConstantsUtil-D7hfpXqQ.js} +2 -2
- package/_assets/{ContentClient-DkVFbT-p.js → ContentClient-BcbapA9s.js} +2 -2
- package/_assets/{Creator-IEFgaaOA.js → Creator-BBriAgWf.js} +2 -2
- package/_assets/{CreditPackPicker-B6EOVAjz.js → CreditPackPicker-D69V0CD6.js} +2 -2
- package/_assets/{CreditRate-D6i8PuU3.js → CreditRate-B-k7N3m3.js} +2 -2
- package/_assets/{DeploymentBuilder-CpiE4qB4.js → DeploymentBuilder-CXecggpJ.js} +2 -2
- package/_assets/{EmotePlaybackBar-C9azQJjZ.js → EmotePlaybackBar-DYPCyQ4y.js} +3 -3
- package/_assets/{ErrorNotice-Iy-4Sj0K.js → ErrorNotice-CKxii-tV.js} +2 -2
- package/_assets/{Event-DPx7HS4D.js → Event-B8OGa99x.js} +2 -2
- package/_assets/{ExchangeController-DZQGs7wL.js → ExchangeController-t2bX9veN.js} +2 -2
- package/_assets/{Faq-bfuCP5Sr.js → Faq-LSM4lPCJ.js} +2 -2
- package/_assets/{Filters-B1xIl1HC.js → Filters-DV_qJCwA.js} +2 -2
- package/_assets/{GetCredits-D49nWGhw.js → GetCredits-ChO_EQm7.js} +2 -2
- package/_assets/{Grow-BedUDGV9.js → Grow-DJZgG82m.js} +2 -2
- package/_assets/{HelpersUtil-DoqSZaIg.js → HelpersUtil-Dj1-XrCJ.js} +2 -2
- package/_assets/{IssueModal-DXq0b45G.js → IssueModal-BDe6sPy3.js} +2 -2
- package/_assets/{ItemDetail-Bp3Ynp7x.js → ItemDetail-ca62wEjs.js} +2 -2
- package/_assets/{LoadMore-COLbfRMM.js → LoadMore-B0Bi3u4a.js} +2 -2
- package/_assets/{ManaPricingBanner-BKO02aom.js → ManaPricingBanner-CjIkhbPq.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-CBsgZtCt.js → ManaPricingBanner.styles-DVJ01x1X.js} +2 -2
- package/_assets/{MyAssets-Bt1eaSp8.js → MyAssets-DhEBGqnz.js} +2 -2
- package/_assets/{MyFavorites-DSPrsRBD.js → MyFavorites-BWQ0kvqP.js} +2 -2
- package/_assets/{MyStore-DHX0T0F5.js → MyStore-BE12t5gb.js} +2 -2
- package/_assets/{NetworkUtil-JX9Qt66q.js → NetworkUtil-BH3_oYP8.js} +2 -2
- package/_assets/{NotFound-BsbGRyK7.js → NotFound-CIkoFDZU.js} +2 -2
- package/_assets/{NotificationsBell-BKGnGtnc.js → NotificationsBell-DIOthP5u.js} +2 -2
- package/_assets/{OutfitDetail-CSdzWKWQ.js → OutfitDetail-D4lmP80k.js} +2 -2
- package/_assets/{OutfitPreview-WWFtHB-6.js → OutfitPreview-DmTaYZFo.js} +2 -2
- package/_assets/{OutfitStudio-BsrFNOYU.js → OutfitStudio-5cnXZS39.js} +2 -2
- package/_assets/{PaymentMethodStep-DpMhlmT5.js → PaymentMethodStep-CAh_5kV3.js} +5 -5
- package/_assets/{SaleCountdown-Ba7mqcVP.js → SaleCountdown-DjBevuJq.js} +2 -2
- package/_assets/{Spinner-DdIAbYe3.js → Spinner-ULhhBHPm.js} +2 -2
- package/_assets/{StoreSettings-DtNOEPT9.js → StoreSettings-h6jsL1PV.js} +3 -3
- package/_assets/{Success-Du_mUU9a.js → Success-D6Bavntm.js} +2 -2
- package/_assets/{SwapController-D2Tsn475.js → SwapController-B1fnL8H3.js} +2 -2
- package/_assets/{Tooltip-DC6b6Uko.js → Tooltip-C1GRffaf.js} +2 -2
- package/_assets/{TradeService-CI5HxvnS.js → TradeService-CA7g8s_N.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-DwBPxDY1.js → W3MFrameProviderSingleton-lQPmplQ2.js} +4 -4
- package/_assets/{WebCryptoP256-GRfawq6m.js → WebCryptoP256-2Fvt-3iX.js} +2 -2
- package/_assets/{basic-Ba6vMoqK.js → basic-WGnG5Ctv.js} +2 -2
- package/_assets/{biconomy-GzxuDIVy.js → biconomy-DAdWCRE2.js} +2 -2
- package/_assets/{browseLayout.styles-DnimQF1x.js → browseLayout.styles-CegyKe9B.js} +2 -2
- package/_assets/{browser-to6Yv8JB.js → browser-DDtzznZI.js} +2 -2
- package/_assets/{browser-CLK_ympl.js → browser-DeveOmzA.js} +2 -2
- package/_assets/{browser-ponyfill-Crh13GOd.js → browser-ponyfill-jzbj-jA4.js} +2 -2
- package/_assets/{buy-BkB20JeU.js → buy-DL6aFS_N.js} +2 -2
- package/_assets/{buy-gasless-nv4rwo_z.js → buy-gasless-akN-WrYj.js} +2 -2
- package/_assets/{ccip-BpggFcNB.js → ccip-DVdHD9LQ.js} +2 -2
- package/_assets/{ccip-2MLVT_N1.js → ccip-Dn4li1J3.js} +2 -2
- package/_assets/{chains-B-xRZLU-.js → chains-DhvEOFYj.js} +2 -2
- package/_assets/collectionPage.styles-D8fndBEc.js +41 -0
- package/_assets/{common-BynAIIbN.js → common-1xlKyxii.js} +2 -2
- package/_assets/{controller-CqDOFAHe.js → controller-Cl08Da2J.js} +3 -3
- package/_assets/{core-C_YgI0Td.js → core-BDZisDBX.js} +5 -5
- package/_assets/{createSvgIcon-B2Vg3paD.js → createSvgIcon-D-NeJHpD.js} +2 -2
- package/_assets/{crumbs.styles-J707O2uG.js → crumbs.styles-Dm-SKOog.js} +2 -2
- package/_assets/{custom-C4Ndgr3M.js → custom-DhOMKJIO.js} +2 -2
- package/_assets/{data-capture-BFFGHd8b.js → data-capture-BZFWqywn.js} +2 -2
- package/_assets/{dcl-schemas-LawD6Riy.js → dcl-schemas-OgkR3Xnp.js} +2 -2
- package/_assets/{decimals-jMhkjkOf.js → decimals-DVR7Gv-J.js} +2 -2
- package/_assets/{decimals-DLwOu0Zu.js → decimals-yDLHDrDe.js} +2 -2
- package/_assets/{detectExtension-xWXQ3kPM.js → detectExtension-BaFl5dmt.js} +2 -2
- package/_assets/{disposePreview-CYpHhisI.js → disposePreview-CON1sitU.js} +2 -2
- package/_assets/{email-CElqqZsc.js → email-C8B3uV55.js} +2 -2
- package/_assets/{embedded-wallet-C_RhasGd.js → embedded-wallet-dtLreoAu.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-CyiVsHYQ.js → emotion-styled.browser.esm-DPYok2W8.js} +2 -2
- package/_assets/{engine-aL9aWkzh.js → engine-8Z0r8sBN.js} +2 -2
- package/_assets/{errors-ByG36a5U.js → errors-BjM9HeNz.js} +2 -2
- package/_assets/{estimate-l1-fee-08qOiAeM.js → estimate-l1-fee-BoPGIBih.js} +2 -2
- package/_assets/{eth_estimateGas-BuEQRglB.js → eth_estimateGas-BCdsyBNm.js} +2 -2
- package/_assets/{eth_getStorageAt-DmyekUL-.js → eth_getStorageAt-crNxQf4F.js} +2 -2
- package/_assets/{eth_getTransactionCount-DJRzDmUM.js → eth_getTransactionCount-AvgV55ar.js} +2 -2
- package/_assets/{ethereum-CML2MbZ1.js → ethereum-DlBOC201.js} +2 -2
- package/_assets/{ethers-CDATtpGn.js → ethers-DqHzeHuT.js} +2 -2
- package/_assets/{events-otDV8pEE.js → events-VcRW8MP7.js} +2 -2
- package/_assets/{execute-DiM_499L.js → execute-vAVWh3cq.js} +3 -3
- package/_assets/{extractIPFS-FPEr940W.js → extractIPFS-Dq3YHYdL.js} +2 -2
- package/_assets/{features-DCfCpaRM.js → features-VnBmyyV1.js} +2 -2
- package/_assets/{fetchTokenMetadata-BV3jqOx2.js → fetchTokenMetadata-BKSOlGrn.js} +3 -3
- package/_assets/{field.styles--ZQi7zKo.js → field.styles-Dl9mum16.js} +2 -2
- package/_assets/{fortmatic-DQbHSYSc.js → fortmatic-DLZii_1J.js} +2 -2
- package/_assets/{get-bytecode-j8za_w6d.js → get-bytecode-X-2IhAtj.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-FG0VhjON.js → get-ecosystem-wallet-info-f36NBunu.js} +2 -2
- package/_assets/{getBalance-BXCZcj7F.js → getBalance-BftrT0-h.js} +3 -3
- package/_assets/{getInstalledModules-DEOGl_YT.js → getInstalledModules-DPTTTcBw.js} +2 -2
- package/_assets/{getNFT-D-eiHaOl.js → getNFT-C_cJwHF2.js} +2 -2
- package/_assets/{getNFT-DknbOTE0.js → getNFT-DjGsZPMG.js} +3 -3
- package/_assets/{grid.styles-CqC1trF-.js → grid.styles-BO5hvrUj.js} +2 -2
- package/_assets/{hashTypedData-CVyFCHan.js → hashTypedData-DAgXidRT.js} +2 -2
- package/_assets/{hashTypedData-BNLh4WB4.js → hashTypedData-vZpJz8B-.js} +2 -2
- package/_assets/{import-COrWT_bb.js → import-Yr1lXrln.js} +2 -2
- package/_assets/{in-app-DzxYrr-h.js → in-app-CkVGPZSJ.js} +2 -2
- package/_assets/{in-app-wallet-calls-DLW77sYV.js → in-app-wallet-calls-Cpl9jNx_.js} +2 -2
- package/_assets/{index-oU_1K2qI.js → index-7qIkCapA.js} +2 -2
- package/_assets/{index-Dr9YeK7Q.js → index-B2uF3DJM.js} +2 -2
- package/_assets/{index-DeCa1UEM.js → index-B3ZXdhup.js} +2 -2
- package/_assets/{index-C6nFFoT0.js → index-B4TtInR3.js} +2 -2
- package/_assets/{index-BiZfhmnn.js → index-B8oQm36C.js} +2 -2
- package/_assets/{index-seP4Qf5k.js → index-BEPNCFGX.js} +2 -2
- package/_assets/{index-B1H9rkP5.js → index-BGW18IEb.js} +2 -2
- package/_assets/{index-BVgsaChe.css → index-BJvJlfNW.css} +1 -1
- package/_assets/{index-CA_Cbayy.js → index-BPBo8wh2.js} +2 -2
- package/_assets/{index-OYB8G9r6.js → index-BU6C8CpN.js} +2 -2
- package/_assets/{index-BF5UlKi7.js → index-BXOSJuGz.js} +2 -2
- package/_assets/{index-BdvwIWuW.js → index-BXwe5uMy.js} +2 -2
- package/_assets/{index-ldlFtIb6.js → index-BY3o0_Rg.js} +3 -3
- package/_assets/{index-DIWXPWGD.js → index-BZe9O30I.js} +421 -421
- package/_assets/{index-DwOQ8J2g.js → index-B_Ew-epk.js} +2 -2
- package/_assets/{index-DhRK11hD.js → index-B_ej9BPC.js} +4 -4
- package/_assets/{index-BCrnlTJQ.js → index-Bb5cZSRf.js} +2 -2
- package/_assets/{index-pCerp87o.js → index-BfD3vhaf.js} +2 -2
- package/_assets/{index-C0oDP61j.js → index-Bgzd-o7-.js} +2 -2
- package/_assets/{index-Cvs44vvq.js → index-Bn7T_CNN.js} +2 -2
- package/_assets/{index-BjvhsRri.js → index-Bns4uVVf.js} +3 -3
- package/_assets/{index-DbSiDeEn.js → index-BqDPSWiR.js} +2 -2
- package/_assets/{index-BkTB_F8x.js → index-Bu0NJDwa.js} +2 -2
- package/_assets/{index-BQow-znL.js → index-BvTadfAU.js} +2 -2
- package/_assets/{index-H0tUO8sX.js → index-C5Wm4k9d.js} +2 -2
- package/_assets/{index-DbhDHyIK.js → index-C8wSYeVO.js} +2 -2
- package/_assets/{index-ByeIlFtr.js → index-CE5dloga.js} +2 -2
- package/_assets/{index-vcs-Pnov.js → index-CE9TvnNz.js} +2 -2
- package/_assets/{index-Cty--X-i.js → index-CQy_yJhb.js} +2 -2
- package/_assets/{index-QgcvhcnT.js → index-CTkFfEW6.js} +2 -2
- package/_assets/{index-BEW_JtFA.js → index-CV_jtXEI.js} +2 -2
- package/_assets/{index-CypApllk.js → index-CWsg9Kvt.js} +2 -2
- package/_assets/{index-CdzPUuFR.js → index-CYmJbQez.js} +3 -3
- package/_assets/{index-Z1ghR6qc.js → index-CZfjcTrs.js} +2 -2
- package/_assets/{index-sRzDSrAK.js → index-Cc9ETBk-.js} +2 -2
- package/_assets/{index-6mGMF8LS.js → index-Cfw0sRIj.js} +2 -2
- package/_assets/{index-DoPxWnXP.js → index-CvYhIjIw.js} +2 -2
- package/_assets/{index-C6p9jlWD.js → index-CwjUycdS.js} +2 -2
- package/_assets/{index-NG8LLSeq.js → index-D-7yBxzc.js} +2 -2
- package/_assets/{index-CnjWDman.js → index-D1-jMfxh.js} +2 -2
- package/_assets/{index-yS-SQJco.js → index-D72ddkdN.js} +2 -2
- package/_assets/{index-6_P0e194.js → index-D7uzT9v-.js} +2 -2
- package/_assets/{index-BG42uLkG.js → index-D8nZ-jDW.js} +2 -2
- package/_assets/{index-CW7Q2x4L.js → index-DDMXNW4L.js} +2 -2
- package/_assets/{index-BbjmXZXI.js → index-DEcoW3Fj.js} +3 -3
- package/_assets/{index-BupPelkA.js → index-DJNx4cK1.js} +2 -2
- package/_assets/{index-BXAXbJM-.js → index-DKTFxU8r.js} +2 -2
- package/_assets/{index-Ca8qGOAa.js → index-DO7AMeoa.js} +2 -2
- package/_assets/{index-qs3T-yNi.js → index-DObjyPbH.js} +2 -2
- package/_assets/{index-Bh3Z7FM8.js → index-DQiGofV2.js} +2 -2
- package/_assets/{index-Cm4D01ZT.js → index-DQivOzo2.js} +2 -2
- package/_assets/{index-cZJEpWIc.js → index-DSz4o4Je.js} +2 -2
- package/_assets/{index-Bpz_UwBF.js → index-DWhX9gtv.js} +2 -2
- package/_assets/{index-BUq1JZc1.js → index-DZaOsJFK.js} +2 -2
- package/_assets/{index-DZ1sT9j2.js → index-Dfjp4UIp.js} +2 -2
- package/_assets/{index-CQVnuBPI.js → index-DwQFPClc.js} +2 -2
- package/_assets/{index-C1QY3W7n.js → index-FchR7gSb.js} +2 -2
- package/_assets/{index-D1jvenOF.js → index-HS7_UPOd.js} +2 -2
- package/_assets/{index-ezdhnuBZ.js → index-L9UD0UUT.js} +2 -2
- package/_assets/{index-BGfrzvVr.js → index-ROlx3Pmh.js} +4 -4
- package/_assets/{index-tAk21r6Y.js → index-YEbRJWkl.js} +2 -2
- package/_assets/{index-DH1Iw2AE.js → index-f9OSlngA.js} +2 -2
- package/_assets/{index-DrIG769R.js → index-rHvlGRCv.js} +2 -2
- package/_assets/{index-n6QYulUY.js → index-scJRzKFi.js} +4 -4
- package/_assets/{index-CmYwsp-d.js → index-sxlMTD1e.js} +2 -2
- package/_assets/{index-B3aF3s9f.js → index-w0a4GNJO.js} +2 -2
- package/_assets/{index-CM86Ub3o.js → index-z7I5BqcT.js} +2 -2
- package/_assets/{index-5HeOpljO.js → index-ztZTfizM.js} +2 -2
- package/_assets/{index.es--5fJFQ-c.js → index.es-3yhT-afv.js} +2 -2
- package/_assets/{index.es-DTDh_G38.js → index.es-BcA_HmLy.js} +5 -5
- package/_assets/{index.es-DrkS4Adj.js → index.es-CHzsJBZX.js} +2 -2
- package/_assets/{index.es-DULSSGhE.js → index.es-CWw1jqy2.js} +2 -2
- package/_assets/{items-empty-B0i35Lk8.js → items-empty-8_aTRszf.js} +2 -2
- package/_assets/{jump-Bc7sAftP.js → jump-C1l2pbYY.js} +2 -2
- package/_assets/{linkAccount-F05SHCCl.js → linkAccount-CSENce9R.js} +2 -2
- package/_assets/{loader-logo-D8XVDPHH.js → loader-logo-Ctl7jE4d.js} +2 -2
- package/_assets/{localBatchGatewayRequest-DMpeSwiY.js → localBatchGatewayRequest-LQwWSW0t.js} +2 -2
- package/_assets/{modal.styles-DydOhlTY.js → modal.styles-DCTumybB.js} +2 -2
- package/_assets/{native-vSt5TA__.js → native-DEdJNx2w.js} +2 -2
- package/_assets/{networks-Brts_tWs.js → networks-BTxPNDnS.js} +2 -2
- package/_assets/{onramp-CnMXXIAc.js → onramp-BLPNmKGS.js} +2 -2
- package/_assets/{openzeppelin-r3JAfUn7.js → openzeppelin-Dh3FauvL.js} +2 -2
- package/_assets/{ownerOf-DPIRA5Vz.js → ownerOf-Dd0qwlc6.js} +2 -2
- package/_assets/{parseNft-C_Uw6K27.js → parseNft-DEUUZOq-.js} +3 -3
- package/_assets/{parseSignature-BMsopq4g.js → parseSignature-DAsMpuQz.js} +2 -2
- package/_assets/{parseSignature-YyAbArh3.js → parseSignature-P8a9Zsvp.js} +4 -4
- package/_assets/{passkeys-C_DVGfca.js → passkeys-BrR4wD46.js} +2 -2
- package/_assets/{pay-with-exchange-CxvmZzq4.js → pay-with-exchange-ftgVAhdm.js} +2 -2
- package/_assets/{prepare-contract-call-BBtEhvR_.js → prepare-contract-call-BLAPB3co.js} +2 -2
- package/_assets/{qr-overlay-BEKuEjSU.js → qr-overlay-BFEwwNm_.js} +4 -4
- package/_assets/{react-CTFQnYcx.js → react-BUrQZkQz.js} +2 -2
- package/_assets/{receive-foclFUz-.js → receive-uLX7VZbx.js} +2 -2
- package/_assets/{resolveImplementation-B9nWZhGK.js → resolveImplementation-Boph8OZd.js} +2 -2
- package/_assets/{resume-buy-Dr76xkA-.js → resume-buy-C7PQctXb.js} +2 -2
- package/_assets/{resume-name--gmDMNGt.js → resume-name-CMSdNFnn.js} +2 -2
- package/_assets/{rpc-BifJAmub.js → rpc-QRauRlVM.js} +2 -2
- package/_assets/{sales-empty-CLbAX299.js → sales-empty-RO4M61Bi.js} +2 -2
- package/_assets/{search-empty-DrELTTiq.js → search-empty-CSUAho6H.js} +2 -2
- package/_assets/{secp256k1-CCsKPXBm.js → secp256k1-BCu4fIsA.js} +2 -2
- package/_assets/{secp256k1-BtUYGtzb.js → secp256k1-ByDS1yIu.js} +2 -2
- package/_assets/{secp256k1-Cq4gQOKU.js → secp256k1-DoZCtomu.js} +2 -2
- package/_assets/{send-C8VpVpxB.js → send-_f-tnJ7l.js} +2 -2
- package/_assets/{send-batch-transaction-ZprBauoB.js → send-batch-transaction-COicQUlJ.js} +2 -2
- package/_assets/{send-eip712-transaction-VsiniCRa.js → send-eip712-transaction-CbLSn4MP.js} +3 -3
- package/_assets/{send-gasless-transaction-DYgzq_No.js → send-gasless-transaction-DBTdCbHy.js} +3 -3
- package/_assets/{send-transaction-CGQC5q2a.js → send-transaction-eS3cn1U6.js} +3 -3
- package/_assets/{sendMetaTransaction-B2U8O8jD.js → sendMetaTransaction-CIpZZkUk.js} +2 -2
- package/_assets/{sendRawTransaction-DpzoAN9l.js → sendRawTransaction-BJhaPoFM.js} +4 -4
- package/_assets/{sentry-PglMJ9Ft.js → sentry-DyLfTiSb.js} +3 -3
- package/_assets/{serializeTransaction-C_2EfKpy.js → serializeTransaction-Cg0Mu0rp.js} +2 -2
- package/_assets/{session-proposal-y93JmFJH.js → session-proposal-CTjJUlbV.js} +2 -2
- package/_assets/{session-request-Zeue-lw_.js → session-request-BxpWrkMB.js} +3 -3
- package/_assets/{sha256-BdCuzIkL.js → sha256-CnPmFRlr.js} +2 -2
- package/_assets/{sha3-vj4MKon-.js → sha3-DzF74Fsc.js} +2 -2
- package/_assets/signin-empty-RkHxV8yP.js +2 -0
- package/_assets/{signing-IU0Dero0.js → signing-CXQFnhbL.js} +4 -4
- package/_assets/{skeleton.styles-C4LNtWm6.js → skeleton.styles-CSK9oM8z.js} +2 -2
- package/_assets/{socials-DBsbLpk4.js → socials-DXrH7mfq.js} +2 -2
- package/_assets/{styled-CDcAnixz.js → styled-e10E42am.js} +2 -2
- package/_assets/{swaps-B9QRktDz.js → swaps-BVOOQJtb.js} +2 -2
- package/_assets/{thirdweb-DqAPPGHB.js → thirdweb-CqXTMLMh.js} +4 -4
- package/_assets/{to-serializable-transaction-CTCboJfL.js → to-serializable-transaction-Rj3zkFd_.js} +3 -3
- package/_assets/{totalSupply-BuwGB16i.js → totalSupply-BRxEH93C.js} +2 -2
- package/_assets/{trade-encoding-3qd1V12A.js → trade-encoding-DfPRc5Jc.js} +2 -2
- package/_assets/{transaction-Dfmi860L.js → transaction-CrhlWCWj.js} +2 -2
- package/_assets/{transactionReceipt-CTh7xQfA.js → transactionReceipt-GPDArFY8.js} +2 -2
- package/_assets/{transactions-DMVHelBa.js → transactions-C_6jqb5f.js} +2 -2
- package/_assets/{useInfiniteGrid-Dp-bfuNN.js → useInfiniteGrid-CTLLOXuj.js} +2 -2
- package/_assets/{useStore-Ci4aU3n_.js → useStore-DRNMRbrq.js} +3 -3
- package/_assets/{useTheme-BWFm_EuO.js → useTheme-Bz-O5SoV.js} +2 -2
- package/_assets/{utils-1Hzqe_MF.js → utils-Dp9zU4fq.js} +2 -2
- package/_assets/{verifyHash-BW-27VxT.js → verifyHash-BuQb0nyx.js} +2 -2
- package/_assets/{w3m-modal-Bi1bkcMH.js → w3m-modal-BQhVkoUu.js} +2 -2
- package/_assets/{w3m-modal-BAtlTQfj.js → w3m-modal-Cx58A78Q.js} +2 -2
- package/_assets/{wait-for-tx-receipt-BibH3X8g.js → wait-for-tx-receipt-Cq2bVMbq.js} +2 -2
- package/_assets/{wallets-wKNC0EeE.js → wallets-BOYud1KV.js} +6 -6
- package/_assets/{web-connector-Bj8Y6_NP.js → web-connector-DVSwza9m.js} +4 -4
- package/_assets/{writeContract-DHC82gAe.js → writeContract-QfoBI3jg.js} +2 -2
- package/_assets/{zora-sepolia-DvJVYka5.js → zora-sepolia-D5dvAbrT.js} +2 -2
- package/_assets/{zoraTestnet-B0IQcjzO.js → zoraTestnet-CliKS5z3.js} +2 -2
- package/index.html +12 -12
- package/package.json +2 -2
- package/_assets/collectionPage.styles-CkYzWdtw.js +0 -41
- package/_assets/signin-empty-CCboG9k9.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as u,L as W,e as re,j as e}from"./react-
|
|
1
|
+
import{r as u,L as W,e as re,j as e}from"./react-BUrQZkQz.js";import{a6 as H,w as U,a7 as le,a8 as de,a9 as ce,aa as he,a as pe,s as i,I as L,ab as ue,ac as me,H as F,ad as xe,x as V,ae as ge,B as fe,t as n,af as G,ag as B,ah as be,ai as ye,aj as ve,ak as je,O as we,al as $e,am as ke,an as Ie,ao as Ce,ap as Ee,aq as ze,ar as Le,as as Fe,at as We,au as Ae,z as S,av as O,aw as Se,ax as Oe,ay as Te,az as Pe,aA as Re,aB as Be}from"./index-BZe9O30I.js";import{d as N}from"./dcl-schemas-OgkR3Xnp.js";import{E as Q}from"./ErrorNotice-CKxii-tV.js";import{E as Ne}from"./EmotePlaybackBar-DYPCyQ4y.js";import{O as Me}from"./OutfitPreview-DmTaYZFo.js";import{c as _e}from"./crumbs.styles-Dm-SKOog.js";import"./sentry-DyLfTiSb.js";import"./ethers-DqHzeHuT.js";import"./intl-AKLEHPeO.js";import"./disposePreview-CON1sitU.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="bd412216-2da8-4ccd-9af4-4d33e72ede0e",t._sentryDebugIdIdentifier="sentry-dbid-bd412216-2da8-4ccd-9af4-4d33e72ede0e")}catch{}})();function qe({address:t,outfitUrns:s,enabled:l=!0}){var b;const{data:r,isFetched:d}=H(t),m=((b=r==null?void 0:r.avatar)==null?void 0:b.wearables)??[],x=!!t&&!!r,p=m.join(","),c=l&&x&&m.length>0,{data:y,isLoading:v,isFetched:j}=U({queryKey:["wearable-rules",p],enabled:c,staleTime:30*6e4,retry:!1,queryFn:()=>he(m)}),k=s.join(",");return u.useMemo(()=>{const I=!!t&&!d||v||c&&!j;return x?{profile:"default",bodyShape:ce(r)??void 0,urns:[...de(y??[]),...s],...le(r),isLoading:I}:{profile:"default",urns:s,isLoading:I}},[t,x,r,d,y,v,j,c,k])}const{colors:o,radius:$,media:h,gradients:De}=pe,J=i.div`
|
|
2
2
|
max-width: 1721px;
|
|
3
3
|
margin: 0 auto;
|
|
4
4
|
/* The page's bottom padding is 56px, but the phone CTA bar is sticky and has its own bottom padding for the safe area.
|
|
@@ -366,4 +366,4 @@ import{r as u,L as W,e as re,j as e}from"./react-CTFQnYcx.js";import{a6 as H,w a
|
|
|
366
366
|
margin: 0;
|
|
367
367
|
color: ${o.gray4};
|
|
368
368
|
`,K="outfit-detail-preview";function Lt(){const{id:t}=re(),s=V(c=>c.session),l=ge(),r=l==="creator",{data:d,isError:m,refetch:x}=U({queryKey:["outfit",t,r],enabled:B()&&!!t,staleTime:6e4,queryFn:()=>Be(t,r&&s?s.identity:void 0)}),p=!B()||!t||d===null&&l!=="pending";return fe(p?{title:n("seo.outfit.notFoundTitle"),noindex:!0}:d?{title:d.name,image:G(d.thumbnailHash)??void 0}:{}),p?e.jsxs(D,{"data-testid":"outfit-notfound",children:[e.jsx(pt,{name:"cart",size:44}),e.jsx(ut,{children:n("outfits.detail.notFoundTitle")}),e.jsx(mt,{children:n("outfits.detail.notFoundBody")}),e.jsx(F,{as:W,to:"/items",variant:"purple",children:n("notFound.cta")})]}):m?e.jsxs(D,{"data-testid":"outfit-detail-error",children:[e.jsx(Q,{message:n("outfits.errors.generic")}),e.jsx(F,{variant:"purple",onClick:()=>void x(),children:n("outfits.detail.retry")})]}):d?e.jsx(gt,{outfit:d}):e.jsx(J,{"aria-busy":"true","data-testid":"outfit-detail-loading",children:e.jsxs(X,{children:[e.jsx(Y,{children:e.jsx("span",{className:"skeleton",style:{position:"absolute",inset:0},"aria-hidden":!0})}),e.jsxs(Z,{children:[e.jsx("span",{className:"skeleton",style:{width:"60%",height:32},"aria-hidden":!0}),e.jsx("span",{className:"skeleton",style:{width:"40%",height:16},"aria-hidden":!0}),e.jsx("span",{className:"skeleton",style:{width:"100%",height:48},"aria-hidden":!0})]})]})})}function xt({item:t}){const s=Se(t),l=Oe(t.gender);return e.jsxs(at,{children:[t.rarity?e.jsx(z,{"data-variant":"rarity",style:{background:Re(t.rarity)},title:Pe(t.rarity),children:Te(t.rarity)}):null,t.isSmart?e.jsxs(z,{"data-variant":"smart",children:[e.jsx(L,{name:"smart",size:13}),n("assetCard.smart")]}):null,s?e.jsx(z,{"data-variant":"icon",children:e.jsx(L,{name:s})}):null,l?e.jsx(z,{"data-variant":"icon",children:e.jsx(L,{name:l})}):null]})}function gt({outfit:t}){const s=be(t),{split:l,availableCount:r,totalCredits:d,outfitCredits:m,addOutfit:x,isAdding:p}=ye(t,s),c=V(a=>{var w;return(w=a.session)==null?void 0:w.address}),y=ve(a=>a.items),v=u.useMemo(()=>new Set(y.map(je)),[y]),j=G(t.thumbnailHash),k=u.useRef(null);u.useEffect(()=>{k.current!==t.id&&(k.current=t.id,we("Shop Outfit Viewed",{outfit_id:t.id,item_count:t.items.length}))},[t.id,t.items.length]);const b=u.useMemo(()=>t.items.map(a=>{const w=$e(a),A=s.byKey.get(w)??null;return{key:w,item:A,state:A?ke(A,{address:c,cartKeys:v}):"missing"}}),[t,s.byKey,c,v]),{isFetched:I}=H(c),ee=!c||I,te=t.bodyShape==="female"?Ie:t.bodyShape==="male"?Ce:void 0,g=u.useMemo(()=>b.map(a=>a.item).filter(a=>!!a),[b]),P=u.useMemo(()=>Ee(g),[g]),ie=u.useMemo(()=>ze(g),[g]),R=u.useMemo(()=>{const a=Le(g);return a?Fe(a):null},[g]),ae=R??N.PreviewEmote.FASHION,se=!!R,f=qe({address:c,outfitUrns:P}),ne=t.items.length,oe=!s.isLoading&&!s.isError,C=l.purchasable.length;return e.jsxs(J,{"data-testid":"outfit-detail",children:[e.jsxs(Ke,{"aria-label":n("outfits.detail.breadcrumbAria"),children:[e.jsx(M,{to:"/overview",children:n("nav.overview")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(M,{to:"/overview",children:n("outfits.detail.breadcrumbLooks")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(He,{children:t.name})]}),e.jsxs(X,{children:[e.jsx(Y,{"data-testid":"outfit-detail-preview",style:{background:We(t)},children:j&&!s.isLoading&&P.length===0?e.jsx(Ue,{src:j,alt:t.name}):e.jsx(Me,{id:K,profile:f.profile,bodyShape:ie??f.bodyShape??te,urns:f.urns,emote:ae,unityMode:N.PreviewUnityMode.BUILDER,skin:f.skin,hair:f.hair,eyes:f.eyes,enabled:ee&&!f.isLoading&&!s.isLoading,controls:se?e.jsx(Ne,{previewId:K,testId:"outfit-emote-controls"}):null})}),e.jsxs(Z,{children:[e.jsx(Ve,{children:t.name}),e.jsx(Ge,{"data-testid":"outfit-detail-meta",children:n("outfits.detail.itemsCount",{count:ne})}),s.isError?e.jsxs(nt,{children:[e.jsx(Q,{message:n("outfits.detail.resolveError"),testId:"outfit-detail-resolve-error"}),e.jsx(F,{variant:"outline","data-testid":"outfit-detail-retry",onClick:s.retry,children:n("outfits.detail.retry")})]}):e.jsxs(e.Fragment,{children:[e.jsx(Qe,{children:e.jsx(Je,{children:b.map(a=>e.jsx(Xe,{"data-testid":"outfit-detail-item","data-state":a.state,children:a.item?e.jsxs(e.Fragment,{children:[e.jsx(Ye,{to:`/item/${a.item.contractAddress}/${a.item.itemId}`,state:{item:a.item},"aria-label":a.item.name}),e.jsx(Ze,{src:a.item.thumbnail,alt:"",loading:"lazy"}),e.jsxs(_,{children:[e.jsx(T,{children:a.item.name}),a.item.creator?e.jsx(tt,{to:`/items/creator/${a.item.creator}`,children:e.jsx(Ae,{address:a.item.creator})}):null,e.jsxs(q,{children:[a.state!=="unavailable"?e.jsxs(it,{children:[e.jsx(S,{size:15}),e.jsx(O,{credits:a.item.priceCredits})]}):null,a.state==="unavailable"?e.jsx(E,{children:n("outfits.card.unavailable")}):a.state==="own_listing"?e.jsx(E,{children:n("outfits.detail.yourListing")}):a.state==="in_cart"?e.jsx(E,{children:n("outfits.detail.inCart")}):null,e.jsx(xt,{item:a.item})]})]})]}):e.jsxs(e.Fragment,{children:[e.jsx(et,{className:s.isLoading?"skeleton":void 0,"aria-hidden":!0}),e.jsx(_,{children:s.isLoading?e.jsx(T,{children:e.jsx("span",{className:"skeleton",style:{display:"block",width:"70%",height:14}})}):e.jsxs(e.Fragment,{children:[e.jsx(T,{children:n("outfits.card.unavailable")}),e.jsx(q,{children:e.jsx(E,{children:n("outfits.card.unavailable")})})]})})]})},a.key))})}),e.jsxs(ot,{"data-testid":"outfit-detail-ctabar",children:[oe&&l.ownListing.length>0?e.jsx(st,{children:n("outfits.detail.yourListingHint")}):null,g.length>0&&e.jsxs(rt,{children:[e.jsx(lt,{children:n("outfits.detail.totalPrice")}),s.isLoading?e.jsx("span",{className:"skeleton",style:{width:64,height:26},"aria-hidden":!0}):e.jsxs(dt,{children:[e.jsx(S,{size:22}),e.jsx(O,{credits:m})]})]}),s.isLoading?e.jsx("span",{className:"skeleton",style:{width:"100%",height:52,borderRadius:26},"aria-hidden":!0}):e.jsxs(ct,{variant:"purple","data-testid":"outfit-detail-cta",onClick:x,disabled:p||C===0,"aria-busy":p||void 0,children:[p?n("outfits.card.adding"):C>0?n("outfits.detail.addCount",{count:C}):r>0?n("outfits.detail.nothingToAdd"):n("outfits.card.unavailable"),!p&&C>0?e.jsxs(ht,{children:[e.jsx(S,{size:16}),e.jsx(O,{credits:d})]}):null]})]})]})]})]})]})}export{Lt as OutfitDetail,Lt as default};
|
|
369
|
-
//# sourceMappingURL=OutfitDetail-
|
|
369
|
+
//# sourceMappingURL=OutfitDetail-D4lmP80k.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{r as c,j as d}from"./react-
|
|
1
|
+
import{r as c,j as d}from"./react-BUrQZkQz.js";import{d as m}from"./dcl-schemas-OgkR3Xnp.js";import{b0 as S,w as T,s as _,aj as q,b1 as M,b2 as U,b3 as W,t as k}from"./index-BZe9O30I.js";import{d as C}from"./disposePreview-CON1sitU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5471b0c0-8912-4801-8240-c39b78538702",e._sentryDebugIdIdentifier="sentry-dbid-5471b0c0-8912-4801-8240-c39b78538702")}catch{}})();function h(e){return e.startsWith("urn:")}function $(e,n){var o,f;const s=(o=e.metadata)==null?void 0:o.emoteDataADR74;if(!((f=s==null?void 0:s.representations)!=null&&f.length))return null;const a=new Map((e.content??[]).map(r=>[r.file,r.hash])),t=s.representations.map(r=>({...r,contents:(r.contents??[]).filter(l=>a.has(l)).map(l=>({key:l,url:`${n}/content/contents/${a.get(l)}`}))}));return t.every(r=>r.contents.length===0)?null:{base64:H({...e.metadata,emoteDataADR74:{...s,representations:t}}),loop:!!s.loop}}function H(e){return btoa(JSON.stringify(e).replace(/[^\x20-\x7f]/g,""))}async function J(e,n=S([e]),s){var a;try{const t=await fetch(`${n}/content/entities/active`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({pointers:[e]}),signal:s});if(!t.ok)return await((a=t.body)==null?void 0:a.cancel()),null;const[o]=await t.json();return o?$(o,n):null}catch{return null}}function K(e){var s,a;const n=T({queryKey:["emote-base64",e],enabled:!!e,staleTime:18e5,retry:!1,queryFn:({signal:t})=>J(e,void 0,t)});return{base64:((s=n.data)==null?void 0:s.base64)??null,loop:((a=n.data)==null?void 0:a.loop)??!1,isLoading:n.isLoading}}const Q=_.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
inset: 0;
|
|
4
4
|
display: grid;
|
|
5
5
|
place-items: center;
|
|
6
6
|
`;function X({id:e,profile:n,bodyShape:s,urns:a,emote:t=m.PreviewEmote.FASHION,enabled:o=!0,skin:f,hair:r,eyes:l,unityMode:E=m.PreviewUnityMode.BUILDER,controls:x,onRenderer:I}){const j=q(u=>u.fittingOpen),{ref:A,active:D}=M(),g=t&&h(t)?t:null,{base64:p,loop:O,isLoading:R}=K(g),i=o&&a.length>0&&D&&!j&&!R,B=U(a)===m.ChainName.MATIC_AMOY,[L,b]=c.useState(!1),P=a.join(",");c.useEffect(()=>{b(!1)},[P,n,s,t,f,r,l]),c.useEffect(()=>{i&&b(!1)},[i]);const[F,w]=c.useState(!1);c.useEffect(()=>{if(!i){w(!1);return}let u=0,N=0;const v=()=>{document.getElementById(e)?w(!0):N++<300&&(u=requestAnimationFrame(v))};return v(),()=>cancelAnimationFrame(u)},[i,e]);const y=c.useRef(null);return c.useEffect(()=>{if(i)return()=>{C(y.current),y.current=null}},[i]),d.jsxs(d.Fragment,{children:[d.jsx("div",{ref:A,"data-preview-viewport":!0,"aria-hidden":!0}),i?d.jsx(W,{id:e,profile:n,bodyShape:s,urns:a,skin:f,hair:r,eyes:l,type:m.PreviewType.AVATAR,emote:g?void 0:t&&!h(t)?t:void 0,base64s:p?[p]:void 0,disableDefaultEmotes:!!p&&!O,unityMode:E,disableBackground:!0,disableFadeEffect:!0,dev:B,onRenderer:I,onLoad:()=>{var u;b(!0),y.current=((u=document.getElementById(e))==null?void 0:u.contentWindow)??null}},n):null,F?x:null,o&&a.length===0?null:!i||!L?d.jsx(Q,{"aria-busy":"true","aria-label":k("spinner.loading"),children:d.jsx("span",{className:"spinner","aria-hidden":!0})}):null]})}export{X as O};
|
|
7
|
-
//# sourceMappingURL=OutfitPreview-
|
|
7
|
+
//# sourceMappingURL=OutfitPreview-DmTaYZFo.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as d,j as t,L as A,e as Xt,a as Yt,b as Jt}from"./react-
|
|
1
|
+
import{r as d,j as t,L as A,e as Xt,a as Yt,b as Jt}from"./react-BUrQZkQz.js";import{s,a as ut,I as _,aJ as Zt,t as e,z as ot,av as at,H as m,n as Tt,x as Y,ae as te,B as ee,aK as ie,a2 as se,X as Ct,w as Et,ah as oe,al as z,aL as V,aM as ae,aN as re,aO as X,ap as ne,ar as de,an as le,ao as ue,af as Lt,at as ce,aP as rt,aQ as pe,aR as fe,aS as he,Y as F,aT as Rt,aU as zt,aV as O,l as nt,aW as dt,aX as xe,aY as me,aZ as ge,O as be,a_ as ye,a$ as je,aB as ve}from"./index-BZe9O30I.js";import{s as we}from"./signin-empty-RkHxV8yP.js";import{E as U}from"./ErrorNotice-CKxii-tV.js";import{L as $e}from"./LoadMore-B0Bi3u4a.js";import{u as ke}from"./useInfiniteGrid-CTLLOXuj.js";import{O as Se}from"./OutfitPreview-DmTaYZFo.js";import{T as Ie}from"./skeleton.styles-CSK9oM8z.js";import"./dcl-schemas-OgkR3Xnp.js";import"./sentry-DyLfTiSb.js";import"./ethers-DqHzeHuT.js";import"./intl-AKLEHPeO.js";import"./disposePreview-CON1sitU.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new r.Error().stack;f&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[f]="9e4dff22-6e70-4d08-8550-43a6d59f997d",r._sentryDebugIdIdentifier="sentry-dbid-9e4dff22-6e70-4d08-8550-43a6d59f997d")}catch{}})();const{colors:x,radius:J,media:Te}=ut,Ce=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 12px;
|
|
@@ -554,4 +554,4 @@ import{r as d,j as t,L as A,e as Xt,a as Yt,b as Jt}from"./react-CTFQnYcx.js";im
|
|
|
554
554
|
flex-wrap: wrap;
|
|
555
555
|
gap: 10px;
|
|
556
556
|
`;function Vi(){const{id:r}=Xt(),{pathname:f}=Yt(),h=Y(b=>b.session),c=Y(b=>b.signIn),y=te();ee({title:e("outfits.studio.title"),noindex:!0});const j=f.endsWith("/new")?"new":r?"edit":"list";return y==="pending"?t.jsx(N,{"aria-busy":"true","data-testid":"outfit-studio-loading",children:t.jsx("span",{className:"spinner","aria-hidden":!0})}):h?y!=="creator"?t.jsxs(N,{"data-testid":"outfit-studio-unavailable",children:[t.jsx(He,{children:e("outfits.studio.title")}),t.jsx(k,{children:e("outfits.studio.notAvailable")}),t.jsx(m,{as:A,to:"/overview",variant:"white",children:e("outfits.studio.backToShop")})]}):j==="list"?t.jsx(zi,{}):t.jsx(Oi,{outfitId:j==="edit"?r:null},r??"new"):t.jsx(ie,{children:t.jsx(se,{testId:"outfit-studio-signin",icon:we,title:e("outfits.studio.signInTitle"),body:e("outfits.studio.signInBody"),cta:{label:e("outfits.studio.signIn"),onClick:()=>c()},ctaVariant:"solid",fill:!0})})}function Ri({outfit:r}){const f=Lt(r.thumbnailHash);return f?t.jsx(Ke,{style:{background:fe(r)},children:t.jsx("img",{src:f,alt:"",loading:"lazy"})}):t.jsx(Ge,{"aria-hidden":!0})}function zi(){const r=Y(u=>u.session),f=Ct(),[h,c]=d.useState(null),[y,j]=d.useState(null),{data:b=[],isLoading:o,isError:R,refetch:T}=Et({queryKey:["outfits-all"],enabled:!!r,staleTime:3e4,queryFn:()=>je(r.identity)});async function C(u,S){if(r){j(u.id);try{S==="delete"?(await he(u.id,r.identity),F.success(e("outfits.studio.deleted"))):(await Rt({...lt(u),published:!1},r.identity,"update"),F.success(e("outfits.studio.unpublished"))),zt(f)}catch(E){E instanceof O||nt(E,{flow:`outfit-${S}`}),F.error(e(E instanceof O?dt(E.code):"outfits.errors.generic"))}finally{j(null),c(null)}}}return t.jsxs(Pt,{"data-testid":"outfit-studio-list",children:[t.jsxs(Wt,{children:[t.jsx(Ot,{children:e("outfits.studio.myOutfits")}),t.jsx(m,{as:A,to:"/outfits/new",variant:"white","data-testid":"outfit-studio-new",children:e("outfits.studio.new")})]}),o?t.jsx(kt,{"aria-busy":"true",children:Array.from({length:3},(u,S)=>t.jsx(Ue,{className:"skeleton","aria-hidden":!0},S))}):R?t.jsxs(N,{children:[t.jsx(U,{message:e("outfits.errors.generic")}),t.jsx(m,{variant:"white",onClick:()=>void T(),children:e("outfits.detail.retry")})]}):b.length===0?t.jsx(k,{children:e("outfits.studio.empty")}):t.jsx(kt,{children:b.map(u=>t.jsxs(_e,{"data-testid":"outfit-studio-row","data-published":u.published||void 0,children:[t.jsx(Ri,{outfit:u}),t.jsxs(qe,{children:[t.jsx(Qe,{children:u.name||e("outfits.studio.untitled")}),t.jsxs(Ve,{children:[t.jsx(At,{"data-state":u.published?"published":"draft",children:u.published?e("outfits.studio.publishedState"):e("outfits.studio.draft")}),e("outfits.card.items",{count:u.items.length})]})]}),t.jsxs(Xe,{children:[u.published?t.jsx(m,{as:A,to:`/items/outfits/${u.id}`,variant:"ghost",size:"sm",children:e("outfits.studio.view")}):null,t.jsx(m,{as:A,to:`/outfits/${u.id}/edit`,variant:"outline",size:"sm","data-testid":"outfit-studio-edit",children:e("outfits.studio.edit")}),t.jsx(Ye,{type:"button","data-testid":"outfit-studio-delete","aria-label":e("outfits.studio.confirmDelete"),disabled:y===u.id,onClick:()=>c(u),children:t.jsx(_,{name:"trash",size:18})})]})]},u.id))}),h?t.jsxs(Je,{role:"dialog","aria-modal":"true","aria-label":e("outfits.studio.deleteTitle"),"data-testid":"outfit-studio-confirm",children:[t.jsx(Ze,{onClick:()=>c(null)}),t.jsxs(ti,{children:[t.jsx(ei,{children:e("outfits.studio.deleteTitle")}),t.jsx("p",{className:"muted",children:e("outfits.studio.deleteBody")}),t.jsxs(ii,{children:[h.published?t.jsx(m,{variant:"purple","data-testid":"outfit-studio-confirm-unpublish",disabled:y===h.id,onClick:()=>void C(h,"unpublish"),children:e("outfits.studio.unpublish")}):null,t.jsx(m,{variant:h.published?"outline":"purple","data-testid":"outfit-studio-confirm-delete",disabled:y===h.id,onClick:()=>void C(h,"delete"),children:e("outfits.studio.confirmDelete")}),t.jsx(m,{variant:"ghost",onClick:()=>c(null),children:e("outfits.studio.cancel")})]})]})]}):null]})}const It=["image/png","image/jpeg","image/webp"];function Pi(){return{id:crypto.randomUUID(),name:"",thumbnailHash:"",items:[],bodyShape:"unisex",gradientFrom:rt.from,gradientTo:rt.to,published:!1}}function lt(r){return{id:r.id,name:r.name,thumbnailHash:r.thumbnailHash,items:r.items,bodyShape:r.bodyShape,gradientFrom:r.gradientFrom,gradientTo:r.gradientTo,published:r.published}}function Wi(r){try{const f=sessionStorage.getItem(r);return f?JSON.parse(f):null}catch{return null}}function Oi({outfitId:r}){const f=r===null,h=`outfit-draft:${r??"new"}`,c=Y(i=>i.session),y=Ct(),j=Jt(),[b]=d.useState(()=>Wi(h)),[o,R]=d.useState(()=>b??(f?Pi():null)),[T,C]=d.useState(!!b),{data:u,isLoading:S,isError:E,refetch:Z}=Et({queryKey:["outfit",r,!0],enabled:!f&&!!c,staleTime:0,queryFn:()=>ve(r,c.identity)});d.useEffect(()=>{u&&R(i=>i??lt(u))},[u]);function $(i){R(a=>a&&{...a,...i}),C(!0)}d.useEffect(()=>{if(!(!o||!T))try{sessionStorage.setItem(h,JSON.stringify(o))}catch{}},[o,T,h]),d.useEffect(()=>{if(!T)return;const i=a=>a.preventDefault();return window.addEventListener("beforeunload",i),()=>window.removeEventListener("beforeunload",i)},[T]),d.useEffect(()=>()=>sessionStorage.removeItem(h),[h]);const g=oe(o??void 0),K=d.useMemo(()=>new Set(((o==null?void 0:o.items)??[]).map(z)),[o]),D=i=>ye((o==null?void 0:o.items)??[],i,g.byKey),l=i=>!!i.itemId&&D(i).length<=X;function v(i){!o||!l(i)||$({items:D(i)})}const[H,ct]=d.useState(null),L=d.useRef(null),tt=d.useRef(!0);d.useEffect(()=>(tt.current=!0,()=>{tt.current=!1}),[]);const[G,pt]=d.useState(!1),[Bt,q]=d.useState(null),[et,ft]=d.useState(""),[Dt,ht]=d.useState(null),[I,Ht]=d.useState();d.useEffect(()=>()=>{L.current&&URL.revokeObjectURL(L.current)},[]);function xt(){const i=ge(et);if(!i){ht(e("outfits.studio.importError"));return}ht(null),ft(""),Ht(i.colors),$({items:i.items,...i.bodyShape?{bodyShape:i.bodyShape}:{}}),F.success(e("outfits.studio.importSuccess",{count:i.items.length}))}async function Mt(i){if(!i||!c)return;if(q(null),!It.includes(i.type)){q(e("outfits.errors.unsupportedType"));return}if(i.size>xe){q(e("outfits.errors.tooLarge"));return}L.current&&URL.revokeObjectURL(L.current);const a=URL.createObjectURL(i);L.current=a,ct(a),pt(!0);try{const p=await me(i,c.identity);$({thumbnailHash:p})}catch(p){p instanceof O||nt(p,{flow:"outfit-thumbnail"}),q(e(p instanceof O?dt(p.code):"outfits.errors.generic")),L.current&&(URL.revokeObjectURL(L.current),L.current=null),ct(null)}finally{pt(!1)}}const[M,mt]=d.useState(!1),[Ut,gt]=d.useState(null),it=!!o&&o.name.trim().length>0&&o.name.length<=60,_t=!!o&&V(o.gradientFrom)&&V(o.gradientTo),bt=!!o&&o.items.some(i=>{const a=g.byKey.get(z(i));return!a||ae(a)}),yt=!!o&&it&&!!o.thumbnailHash&&_t&&bt&&o.items.length>=re&&o.items.length<=X;async function st(i){if(!(!c||!o||M)){mt(!0),gt(null);try{const a=await Rt({...o,published:i},c.identity,f?"create":"update");if(!tt.current)return;sessionStorage.removeItem(h),R(lt(a)),C(!1),zt(y),i&&!o.published?(be("Shop Outfit Published",{outfit_id:a.id,item_count:a.items.length}),F.success(e("outfits.studio.publishedToast"))):F.success(e("outfits.studio.saved")),f&&(y.setQueryData(["outfit",a.id,!0],a),j(`/outfits/${a.id}/edit`,{replace:!0}))}catch(a){a instanceof O||nt(a,{flow:"outfit-save"}),gt(e(a instanceof O?dt(a.code):"outfits.errors.generic"))}finally{mt(!1)}}}const Q=d.useMemo(()=>((o==null?void 0:o.items)??[]).map(i=>g.byKey.get(z(i))).filter(i=>!!i),[o,g.byKey]),jt=d.useMemo(()=>ne(Q),[Q]),Kt=d.useMemo(()=>{const i=de(Q);return i!=null&&i.itemId?z({contractAddress:i.contractAddress,itemId:i.itemId}):null},[Q]),Gt=(o==null?void 0:o.bodyShape)==="female"?le:(o==null?void 0:o.bodyShape)==="male"?ue:void 0;if(!c)return null;if(!o)return E?t.jsxs(N,{children:[t.jsx(U,{message:e("outfits.errors.generic")}),t.jsx(m,{variant:"white",onClick:()=>void Z(),children:e("outfits.detail.retry")})]}):!S&&u===null?t.jsxs(N,{"data-testid":"outfit-studio-missing",children:[t.jsx(k,{children:e("outfits.errors.notFound")}),t.jsx(m,{as:A,to:"/outfits/manage",variant:"white",children:e("outfits.studio.myOutfits")})]}):t.jsx(N,{"aria-busy":"true",children:t.jsx("span",{className:"spinner","aria-hidden":!0})});const vt=H??Lt(o.thumbnailHash),qt={...o,authorAddress:(c==null?void 0:c.address)??"",createdAt:0,updatedAt:0},Qt=o.items.reduce((i,a)=>{var p;return i+(((p=g.byKey.get(z(a)))==null?void 0:p.priceCredits)??0)},0);return t.jsxs(Pt,{"data-testid":"outfit-studio-editor",children:[t.jsxs(Wt,{children:[t.jsx(Me,{to:"/outfits/manage","aria-label":e("outfits.studio.myOutfits"),"data-testid":"outfit-studio-back",children:t.jsx(_,{name:"arrow-left",size:18})}),t.jsx(Ot,{children:f?e("outfits.studio.new"):e("outfits.studio.editTitle")}),t.jsx(At,{"data-state":o.published?"published":"draft",children:o.published?e("outfits.studio.publishedState"):e("outfits.studio.draft")})]}),t.jsxs(si,{children:[t.jsxs(oi,{children:[t.jsxs(ri,{"data-testid":"outfit-studio-preview",style:{background:ce(o)},children:[t.jsx(Se,{id:"outfit-studio-preview-frame",profile:"default",bodyShape:Gt,urns:jt,skin:I==null?void 0:I.skin,hair:I==null?void 0:I.hair,eyes:I==null?void 0:I.eyes,enabled:!g.isLoading}),jt.length===0&&!g.isLoading?t.jsx(ni,{children:e("outfits.studio.previewEmpty")}):null]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.bodyShape")}),t.jsx(di,{role:"group","aria-label":e("outfits.studio.bodyShape"),children:["unisex","male","female"].map(i=>t.jsx(li,{type:"button","data-selected":o.bodyShape===i||void 0,onClick:()=>$({bodyShape:i}),children:e(`outfits.studio.shape.${i}`)},i))})]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.gradient")}),t.jsx(ci,{children:["gradientFrom","gradientTo"].map(i=>t.jsxs(pi,{children:[t.jsx(fi,{type:"color",value:V(o[i])?o[i]:rt.from,"aria-label":e(i==="gradientFrom"?"outfits.studio.gradientTop":"outfits.studio.gradientBottom"),"data-testid":i==="gradientFrom"?"outfit-studio-gradient-from":"outfit-studio-gradient-to",onChange:a=>$({[i]:a.target.value.toLowerCase()})}),t.jsxs(hi,{children:[t.jsx("span",{children:e(i==="gradientFrom"?"outfits.studio.gradientTop":"outfits.studio.gradientBottom")}),t.jsx(xi,{value:o[i],maxLength:7,spellCheck:!1,placeholder:"#000000","aria-label":e(i==="gradientFrom"?"outfits.studio.gradientTopHex":"outfits.studio.gradientBottomHex"),"data-invalid":!V(o[i])||void 0,onChange:a=>{const p=a.target.value.trim().toLowerCase();$({[i]:p.startsWith("#")||p===""?p:`#${p}`})}})]})]},i))}),t.jsx(k,{children:e("outfits.studio.gradientHint")})]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.thumbnail")}),vt?t.jsx(ui,{"data-busy":G||void 0,children:t.jsx("img",{src:vt,alt:""})}):null,t.jsxs(gi,{as:"label",variant:"outline",size:"sm","data-busy":G||void 0,children:[G?e("outfits.studio.uploading"):e("outfits.studio.upload"),t.jsx("input",{type:"file",accept:It.join(","),hidden:!0,disabled:G,onChange:i=>{var a;return void Mt((a=i.target.files)==null?void 0:a[0])},"data-testid":"outfit-studio-thumb-input"})]}),t.jsx(k,{children:e("outfits.studio.thumbnailHint")}),t.jsx(U,{message:Bt,testId:"outfit-studio-thumb-error"})]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.cardPreview")}),t.jsx(mi,{"data-testid":"outfit-studio-card-preview",onClickCapture:i=>{i.preventDefault(),i.stopPropagation()},children:t.jsx(pe,{outfit:qt,resolution:g})})]})]}),t.jsxs(ai,{children:[t.jsxs(P,{children:[t.jsx(W,{htmlFor:"outfit-import",children:e("outfits.studio.import")}),t.jsxs(bi,{children:[t.jsx(St,{id:"outfit-import",value:et,spellCheck:!1,placeholder:e("outfits.studio.importPlaceholder"),onChange:i=>ft(i.target.value),onKeyDown:i=>{i.key==="Enter"&&xt()},"data-testid":"outfit-studio-import"}),t.jsx(m,{variant:"outline",size:"sm",onClick:xt,disabled:et.trim()==="","data-testid":"outfit-studio-import-apply",children:e("outfits.studio.importApply")})]}),t.jsx(k,{children:e("outfits.studio.importHint")}),t.jsx(U,{message:Dt,testId:"outfit-studio-import-error"})]}),t.jsxs(P,{children:[t.jsx(W,{htmlFor:"outfit-name",children:e("outfits.studio.name")}),t.jsx(St,{id:"outfit-name",value:o.name,maxLength:60,placeholder:e("outfits.studio.namePlaceholder"),onChange:i=>$({name:i.target.value}),"data-testid":"outfit-studio-name"})]}),t.jsxs(P,{children:[t.jsxs(W,{as:"span",children:[e("outfits.studio.items")," (",o.items.length,"/",X,")"]}),o.items.length===0?t.jsx(k,{children:e("outfits.studio.noItems")}):t.jsx(yi,{children:o.items.map(i=>{const a=z(i),p=g.byKey.get(a);return t.jsxs(ji,{"data-testid":"outfit-studio-selected","data-missing":!p||void 0,children:[p?t.jsx(vi,{src:p.thumbnail,alt:""}):t.jsx(wi,{className:g.isLoading?"skeleton":void 0,"aria-hidden":!0}),t.jsx($i,{className:p?void 0:"muted",children:p?p.name:g.isLoading?t.jsx(Ie,{className:"skeleton",width:96,"aria-hidden":!0}):e("outfits.card.unavailable")}),a===Kt?t.jsx(ki,{"data-testid":"outfit-studio-plays-in-preview",children:e("outfits.studio.playsInPreview")}):null,p?t.jsxs(Si,{children:[t.jsx(ot,{size:12}),t.jsx(at,{credits:p.priceCredits})]}):null,t.jsx(Ci,{type:"button","aria-label":e("outfits.studio.remove"),title:e("outfits.studio.remove"),onClick:()=>$({items:o.items.filter(Vt=>z(Vt)!==a)}),children:t.jsx(_,{name:"trash",size:16})})]},a)})}),o.items.length>0?t.jsxs(Ii,{"data-testid":"outfit-studio-total",children:[t.jsx("span",{children:e("outfits.detail.totalPrice")}),t.jsxs(Ti,{children:[t.jsx(ot,{size:14}),t.jsx(at,{credits:Qt})]})]}):null,o.items.length>=X?t.jsx(k,{children:e("outfits.studio.maxItems")}):null]}),t.jsx(Be,{selectedKeys:K,onPick:v,canPick:l})]})]}),t.jsxs(Ei,{"data-testid":"outfit-studio-savebar",children:[t.jsx(U,{message:Ut,testId:"outfit-studio-save-error"}),it?!yt&&!o.published?t.jsx(k,{"data-testid":"outfit-studio-publish-hint",children:!bt&&o.items.length>0?e("outfits.studio.needsWearable"):e("outfits.errors.notPublishable")}):null:t.jsx(k,{children:e("outfits.studio.needName")}),t.jsxs(Li,{children:[t.jsx(m,{variant:"outline","data-testid":"outfit-studio-save",disabled:M||!it,onClick:()=>void st(o.published),children:M?e("outfits.studio.saving"):e("outfits.studio.saveDraft")}),o.published?t.jsx(m,{variant:"white","data-testid":"outfit-studio-unpublish",disabled:M,onClick:()=>void st(!1),children:e("outfits.studio.unpublish")}):t.jsx(m,{variant:"white","data-testid":"outfit-studio-publish",disabled:M||!yt,onClick:()=>void st(!0),children:e("outfits.studio.publish")})]})]})]})}export{Vi as OutfitStudio,Vi as default};
|
|
557
|
-
//# sourceMappingURL=OutfitStudio-
|
|
557
|
+
//# sourceMappingURL=OutfitStudio-5cnXZS39.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as I,j as e}from"./react-
|
|
1
|
+
import{r as I,j as e}from"./react-BUrQZkQz.js";import{s as i,a as t,V as Q,t as r,I as y,z as w,F as j,C as X,W as S}from"./index-BZe9O30I.js";import{m as k}from"./mana-matic-CEqvSwrJ.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},m=new n.Error().stack;m&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[m]="67e35d12-4de5-4bde-997a-c408c16d1a75",n._sentryDebugIdIdentifier="sentry-dbid-67e35d12-4de5-4bde-997a-c408c16d1a75")}catch{}})();const Z="https://cdn.decentraland.org/@dcl/shop/1.18.2-36637356847.commit-825c9d5/_assets/credits-coin-DNt6YtOL.webp",ee=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 24px;
|
|
@@ -71,7 +71,7 @@ import{r as I,j as e}from"./react-CTFQnYcx.js";import{s as i,a as t,V as Q,t as
|
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
gap: 32px;
|
|
73
73
|
padding: 8px;
|
|
74
|
-
`,
|
|
74
|
+
`,de=i.p`
|
|
75
75
|
margin: 0;
|
|
76
76
|
font-family: ${t.font.sans};
|
|
77
77
|
font-weight: 600;
|
|
@@ -80,7 +80,7 @@ import{r as I,j as e}from"./react-CTFQnYcx.js";import{s as i,a as t,V as Q,t as
|
|
|
80
80
|
color: ${t.colors.text};
|
|
81
81
|
overflow: hidden;
|
|
82
82
|
text-overflow: ellipsis;
|
|
83
|
-
`,
|
|
83
|
+
`,le=i.div`
|
|
84
84
|
> div {
|
|
85
85
|
font-family: ${t.font.sans};
|
|
86
86
|
font-size: 10px;
|
|
@@ -366,5 +366,5 @@ import{r as I,j as e}from"./react-CTFQnYcx.js";import{s as i,a as t,V as Q,t as
|
|
|
366
366
|
font-size: 14px;
|
|
367
367
|
line-height: 1.334;
|
|
368
368
|
color: ${t.colors.text2};
|
|
369
|
-
`;function ye({asset:n,priceCredits:m,priceCents:$,options:b,priceManaWei:U,balanceCredits:V,manaBalanceWei:Y,onBuy:G,onClose:H,busy:g=!1,notice:v}){const
|
|
370
|
-
//# sourceMappingURL=PaymentMethodStep-
|
|
369
|
+
`;function ye({asset:n,priceCredits:m,priceCents:$,options:b,priceManaWei:U,balanceCredits:V,manaBalanceWei:Y,onBuy:G,onClose:H,busy:g=!1,notice:v}){const d=b.find(s=>s.method==="credits")??null,l=b.find(s=>s.method==="mana")??null,a=b.find(s=>s.method==="combined")??null,[z,C]=I.useState(()=>d?new Set(["credits"]):a?new Set(["credits","mana"]):l?new Set(["mana"]):new Set),u=!!d||!!a,c=!!l||!!a;I.useEffect(()=>{C(s=>{const o=new Set(s);return o.has("credits")&&!u&&o.delete("credits"),o.has("mana")&&!c&&o.delete("mana"),o.size===0&&(d?o.add("credits"):a?(o.add("credits"),o.add("mana")):l&&o.add("mana")),o.size===s.size&&[...o].every(K=>s.has(K))?s:o})},[u,c,d,a,l]);const p=z.has("credits"),x=z.has("mana"),h=p&&x?a?"combined":null:p?d?"credits":null:x&&l?"mana":null,q=h==="combined"&&a?a.credits:(d==null?void 0:d.credits)??Q($),J=h==="combined"&&a?a.manaWei:(l==null?void 0:l.manaWei)??U;function M(s){C(o=>{const f=new Set(o);return f.has(s)?f.delete(s):f.add(s),f})}return e.jsxs(ee,{children:[e.jsxs(te,{children:[e.jsx(ie,{children:r("buyModal.choosePayment")}),e.jsx(ne,{onClick:H,disabled:g,"aria-label":r("buyModal.close"),children:e.jsx(y,{name:"close",className:"ico"})})]}),e.jsxs(se,{children:[e.jsx(oe,{children:n.thumb}),e.jsxs(ae,{children:[e.jsxs("div",{children:[e.jsx(de,{title:n.name,children:n.name||r("buyModal.itemFallback")}),n.caption?e.jsx(le,{children:n.caption}):null]}),e.jsxs(re,{children:[e.jsx(w,{}),e.jsx("span",{children:j(m)})]})]})]}),e.jsxs(ce,{children:[e.jsxs(B,{type:"button","data-testid":"pay-with-credits","data-selected":p,"data-disabled":!u,disabled:g||!u,"aria-pressed":p,onClick:()=>M("credits"),children:[e.jsx(A,{children:e.jsx(L,{"data-checked":p,children:e.jsx(y,{name:"check",className:"ico"})})}),e.jsxs(P,{children:[e.jsxs(R,{children:[e.jsx(D,{children:e.jsx(N,{src:Z,w:32.582,h:34.401,alt:"","aria-hidden":!0})}),e.jsxs(E,{children:[e.jsx(T,{children:X.name}),e.jsxs(W,{children:[r("buyModal.creditsBalanceLabel"),e.jsx(w,{}),e.jsx(_,{children:j(V)})]})]})]}),e.jsx(O,{children:e.jsxs(F,{children:[e.jsx(w,{}),e.jsx("span",{children:j(q)})]})})]})]}),e.jsxs(B,{type:"button","data-testid":"pay-with-mana","data-selected":x,"data-disabled":!c,disabled:g||!c,"aria-pressed":x,onClick:()=>M("mana"),children:[e.jsx(A,{children:e.jsx(L,{"data-checked":x,children:e.jsx(y,{name:"check",className:"ico"})})}),e.jsxs(P,{children:[e.jsxs(R,{children:[e.jsx(D,{children:e.jsx(N,{src:k,w:35.328,h:35.328,alt:"","aria-hidden":!0})}),e.jsxs(E,{children:[e.jsx(T,{children:r("buyModal.methodMana")}),e.jsxs(W,{children:[r("buyModal.manaBalanceLabel"),e.jsx(xe,{src:k,alt:"","aria-hidden":!0}),e.jsx(_,{children:S(Y)})]})]})]}),e.jsx(O,{children:c?e.jsx(e.Fragment,{children:e.jsxs(F,{children:[e.jsx(he,{src:k,alt:"","aria-hidden":!0}),e.jsx("span",{children:S(J)})]})}):e.jsx(fe,{"data-testid":"mana-shortfall-note",children:r("buyModal.notEnoughMana")})})]})]})]}),v?e.jsx(me,{"data-testid":"price-changed",role:"status",children:v}):null,e.jsx(pe,{type:"button","data-testid":"confirm-payment",disabled:g||h===null,onClick:()=>h&&G(h),children:r("buyModal.buy")})]})}export{ye as P};
|
|
370
|
+
//# sourceMappingURL=PaymentMethodStep-CAh_5kV3.js.map
|