@dcl/shop 1.16.1-36009595531.commit-94584a5 → 1.17.0
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-DnfPbi6I.js → Activity-BDAitxSe.js} +4 -4
- package/_assets/{AnimatedBackground-DMoJIXm4.js → AnimatedBackground-BPT-R1_3.js} +2 -2
- package/_assets/{Assets-CeTv3PQS.js → Assets-YB3gqw7Z.js} +3 -3
- package/_assets/{Cart-XTP_NTRb.js → Cart-BZ9KDQEQ.js} +2 -2
- package/_assets/{Collection-Kg9-iA_F.js → Collection-BEzvnJiR.js} +2 -2
- package/_assets/{CollectionCarousel-KDiNS7Z2.js → CollectionCarousel-1U62GlSR.js} +5 -5
- package/_assets/{Confetti-CCN1Rj6u.js → Confetti-B6oSR8ow.js} +4 -4
- package/_assets/{ConstantsUtil-DTRWtii2.js → ConstantsUtil-02Z98pPd.js} +2 -2
- package/_assets/{ContentClient-DTdXtBSl.js → ContentClient-DRKnlFG4.js} +2 -2
- package/_assets/{Creator-tRdc-i6W.js → Creator-CjraeJsu.js} +2 -2
- package/_assets/{CreditPackPicker-DC2Uhrv6.js → CreditPackPicker-BZziSdp5.js} +2 -2
- package/_assets/{CreditRate-Dzg044Lg.js → CreditRate-avuRK-jH.js} +2 -2
- package/_assets/{DeploymentBuilder-DFQ5QdOZ.js → DeploymentBuilder-DrZ43REI.js} +2 -2
- package/_assets/{EmotePlaybackBar-CDv0UlNn.js → EmotePlaybackBar-OvE8csVB.js} +3 -3
- package/_assets/{ErrorNotice-BndI9TcU.js → ErrorNotice-DcMO5bfW.js} +2 -2
- package/_assets/{Event-kW78ULJG.js → Event-C-SU8wO0.js} +2 -2
- package/_assets/{ExchangeController-DjXLLKM5.js → ExchangeController-BsAWvF-z.js} +2 -2
- package/_assets/{Faq-CcOpCC4Z.js → Faq-CnwUusBM.js} +2 -2
- package/_assets/{Filters-D_wo8nf7.js → Filters-C0GaEoyc.js} +2 -2
- package/_assets/{GetCredits-C9KlxvdS.js → GetCredits-BMu5ywjd.js} +2 -2
- package/_assets/{Grow-CJJkPu7p.js → Grow-BoAIZnmF.js} +2 -2
- package/_assets/{HelpersUtil-S-ipA7d_.js → HelpersUtil-7BUMaLLj.js} +2 -2
- package/_assets/{ItemDetail-DxChv0Az.js → ItemDetail-B2CA6Efg.js} +2 -2
- package/_assets/{LoadMore-CCDkdfxt.js → LoadMore-B-3r-ZWY.js} +2 -2
- package/_assets/{ManaPricingBanner-C5SbV_Cy.js → ManaPricingBanner-Bo3hRH0s.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-Bys2rCoo.js → ManaPricingBanner.styles-Cjs8YkyN.js} +2 -2
- package/_assets/{MyAssets-C0wGKI5K.js → MyAssets-nSoOwFbT.js} +2 -2
- package/_assets/{MyFavorites-Cwv-npnC.js → MyFavorites-B0ZXgMrd.js} +2 -2
- package/_assets/{MyStore-BF6s2HmL.js → MyStore-DfX_q7UW.js} +2 -2
- package/_assets/{NetworkUtil-Dn6I5ZVR.js → NetworkUtil-8miI5YS1.js} +2 -2
- package/_assets/{NotFound-D2HuPI4c.js → NotFound-DS4UWKxV.js} +2 -2
- package/_assets/{NotificationsBell-C8ye5ghN.js → NotificationsBell-Bud0OzHB.js} +2 -2
- package/_assets/{OutfitDetail-CDfyVMhI.js → OutfitDetail-Cc6AzXUC.js} +2 -2
- package/_assets/{OutfitPreview-C7YIhS7h.js → OutfitPreview-B9kLHbqF.js} +2 -2
- package/_assets/{OutfitStudio-CDLiO2FU.js → OutfitStudio-iccmKn9G.js} +2 -2
- package/_assets/{PaymentMethodStep-DvFcy0mk.js → PaymentMethodStep-Crc70JXF.js} +3 -3
- package/_assets/{SaleCountdown-OciTJP0u.js → SaleCountdown-tgg5rYZS.js} +2 -2
- package/_assets/{Spinner-PtrEnSHG.js → Spinner-BI2pnHnk.js} +2 -2
- package/_assets/{StoreSettings-DijP-YCx.js → StoreSettings-CFMs82es.js} +2 -2
- package/_assets/{Success-ClDhCP8V.js → Success-BPaW4wD6.js} +2 -2
- package/_assets/{SwapController-ZZrBzp1z.js → SwapController-58ZQJ_1X.js} +2 -2
- package/_assets/{Tooltip-u81Sv8t-.js → Tooltip-BIo3HKuG.js} +2 -2
- package/_assets/{TradeService-5RwgV0Xg.js → TradeService-Dsc1mpaP.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-B4cXTRps.js → W3MFrameProviderSingleton-BFY4-xeW.js} +4 -4
- package/_assets/{WebCryptoP256-CzBMVHqY.js → WebCryptoP256-CB99ORDR.js} +2 -2
- package/_assets/{basic-CzPdzQZ1.js → basic-CdYc4Tr0.js} +2 -2
- package/_assets/{biconomy-CmUC9Vgz.js → biconomy-Def1lOEm.js} +2 -2
- package/_assets/{browseLayout.styles-BJ83PjpA.js → browseLayout.styles-BXGCQFcT.js} +2 -2
- package/_assets/{browser-DkgNbGy6.js → browser-BX0XBm_z.js} +2 -2
- package/_assets/{browser-Bnnu-876.js → browser-DEQDOIuL.js} +2 -2
- package/_assets/{browser-ponyfill-DjCvoPa9.js → browser-ponyfill-BcpGyTE-.js} +2 -2
- package/_assets/{buy-DjjL35rl.js → buy-cQMcQfO4.js} +2 -2
- package/_assets/{buy-gasless-D72pqxFQ.js → buy-gasless-Csh9DBkB.js} +2 -2
- package/_assets/{ccip-CHs8su-n.js → ccip-BfASjPus.js} +2 -2
- package/_assets/{ccip-Di9g1yps.js → ccip-Zdwx5muQ.js} +2 -2
- package/_assets/{chains-C0P4vetK.js → chains-D-cdgFrA.js} +2 -2
- package/_assets/collectionPage.styles-DEV__sk3.js +41 -0
- package/_assets/{common-CoVAsSlp.js → common-BbV8rrew.js} +2 -2
- package/_assets/{controller-8vZuqKx5.js → controller-BkR3R9Mg.js} +3 -3
- package/_assets/{core-BAbJlgdS.js → core-CBBVOAuR.js} +5 -5
- package/_assets/{createSvgIcon-D7ErdKmf.js → createSvgIcon-Cth-hh7l.js} +2 -2
- package/_assets/{crumbs.styles-Do82Lh7D.js → crumbs.styles-CjY4UM0w.js} +2 -2
- package/_assets/{custom-CA56e9mw.js → custom-BGLNayOO.js} +2 -2
- package/_assets/{data-capture-B2LJxsgg.js → data-capture-DhZ_XJZp.js} +2 -2
- package/_assets/{dcl-schemas-D-5rZ83i.js → dcl-schemas-Y9IX8NxW.js} +2 -2
- package/_assets/{decimals-BfgT5uZb.js → decimals-DBDuI7ZW.js} +2 -2
- package/_assets/{decimals-CMVt6Fnf.js → decimals-DP9STkLa.js} +2 -2
- package/_assets/{detectExtension-D7EH5FOC.js → detectExtension-BmgUuh4c.js} +2 -2
- package/_assets/{disposePreview-Dn-nV7da.js → disposePreview-WF3Ir9YY.js} +2 -2
- package/_assets/{email-R9Eh56FQ.js → email-s2w1RHpz.js} +2 -2
- package/_assets/{embedded-wallet-DKyKgqt3.js → embedded-wallet-DYdeVLuP.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-D-s-EeXK.js → emotion-styled.browser.esm-BtfIhtDT.js} +2 -2
- package/_assets/{engine-DODLqszn.js → engine-QJZE6lVD.js} +2 -2
- package/_assets/{errors-g7TfMjmz.js → errors-DlpQMGvm.js} +2 -2
- package/_assets/{estimate-l1-fee-DngUQ5JF.js → estimate-l1-fee-BNoY_h3C.js} +2 -2
- package/_assets/{eth_estimateGas-CZaRMpws.js → eth_estimateGas-Db_JUyHC.js} +2 -2
- package/_assets/{eth_getStorageAt-CzulrMRy.js → eth_getStorageAt-B2Rd3N7V.js} +2 -2
- package/_assets/{eth_getTransactionCount-58y45L6E.js → eth_getTransactionCount-DwtFzPso.js} +2 -2
- package/_assets/{ethereum-mrT0UM5G.js → ethereum-BZvolZh7.js} +2 -2
- package/_assets/{ethers-CopgDOSY.js → ethers-ONPQNu2c.js} +2 -2
- package/_assets/{events-Ws3Yj1Vh.js → events-Cnxc3MZM.js} +2 -2
- package/_assets/{execute-CbNEb0_w.js → execute-CwECTiFh.js} +3 -3
- package/_assets/{extractIPFS-BFJ52Qik.js → extractIPFS-RToz4ucY.js} +2 -2
- package/_assets/{features-9s_Hez8h.js → features-BrF65X9Z.js} +2 -2
- package/_assets/{fetchTokenMetadata-BIKmk-Qg.js → fetchTokenMetadata-Cu8uhPp4.js} +3 -3
- package/_assets/{field.styles-DgktWQSW.js → field.styles-UoeOVVP4.js} +2 -2
- package/_assets/{fortmatic-I6j8s8Pp.js → fortmatic-DBQqmc33.js} +2 -2
- package/_assets/{get-bytecode-Hn-ME_dR.js → get-bytecode-B20_NVYR.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-i7hQ8Um2.js → get-ecosystem-wallet-info-DvpaDCXi.js} +2 -2
- package/_assets/{getBalance-DbupekTB.js → getBalance-BguIrnfm.js} +3 -3
- package/_assets/{getInstalledModules-DgeolJcX.js → getInstalledModules-CMJOAhYg.js} +2 -2
- package/_assets/{getNFT-CF7JQE0L.js → getNFT-CRKHqATA.js} +3 -3
- package/_assets/{getNFT-CScO-Xmp.js → getNFT-ZEWnX77c.js} +2 -2
- package/_assets/{grid.styles-D-jF6MZw.js → grid.styles-DRazCZQg.js} +2 -2
- package/_assets/{hashTypedData-LiCSkSgg.js → hashTypedData-CClBb_wd.js} +2 -2
- package/_assets/{hashTypedData-Cx9nB98K.js → hashTypedData-DDHunTFS.js} +2 -2
- package/_assets/{import-CcqIyt2r.js → import-Bkwnueek.js} +2 -2
- package/_assets/{in-app-wallet-calls-ML9-rfvZ.js → in-app-wallet-calls-BHr5SLHB.js} +2 -2
- package/_assets/{in-app-Bbr1VWOo.js → in-app-xzDTDYAB.js} +2 -2
- package/_assets/{index-B0jKErn5.js → index-6tB-8D8d.js} +2 -2
- package/_assets/{index-CjUcdG9l.js → index-B2_RriIz.js} +2 -2
- package/_assets/{index-BGXJtQVe.js → index-B8vpG_ve.js} +2 -2
- package/_assets/{index-CiMgUHWr.js → index-BAVmy8GP.js} +2 -2
- package/_assets/{index-BcwUv4WI.js → index-BGie1ELm.js} +2 -2
- package/_assets/{index-ljbyRJDV.js → index-BNCZbOa3.js} +2 -2
- package/_assets/{index-BBGQ2fEH.js → index-BPl_k_Km.js} +2 -2
- package/_assets/index-BR5nZSJU.css +1 -0
- package/_assets/{index-BYR5agWV.js → index-BRXP99SA.js} +2 -2
- package/_assets/{index-CqQb43_w.js → index-BVNHdowJ.js} +2 -2
- package/_assets/{index-x3_oOTlT.js → index-B_9tW51r.js} +12 -12
- package/_assets/{index-BMNT4Vj8.js → index-BroiUjH-.js} +2 -2
- package/_assets/{index-6XNUf3SO.js → index-BwlQgcnw.js} +2 -2
- package/_assets/{index-0zcbOnOy.js → index-C2ljwN3_.js} +2 -2
- package/_assets/{index-CBKmaKUs.js → index-C38zM6xC.js} +2 -2
- package/_assets/{index-C-DYXMyc.js → index-C6vFwLXO.js} +2 -2
- package/_assets/{index-DhL9UDpx.js → index-C9Pokjg9.js} +2 -2
- package/_assets/{index-BLLo6gmS.js → index-CAxBC1Uk.js} +2 -2
- package/_assets/{index-BhQyMuiB.js → index-CCAaQhfo.js} +2 -2
- package/_assets/{index-CTBXMXHE.js → index-CDDb8L2e.js} +3 -3
- package/_assets/{index-BpUtXe3X.js → index-CEjaVDS2.js} +2 -2
- package/_assets/{index-4svJAA0r.js → index-CF2NCCCk.js} +2 -2
- package/_assets/{index-O-gEYpGp.js → index-CNNwz-Ox.js} +2 -2
- package/_assets/{index-DesfxtJB.js → index-CPY0doEH.js} +2 -2
- package/_assets/{index-Co7rAvqY.js → index-CZH9YSNz.js} +2 -2
- package/_assets/{index-CN6kBFKz.js → index-C_6_qdE8.js} +2 -2
- package/_assets/{index-BQqlUoCn.js → index-CerWtNQP.js} +2 -2
- package/_assets/{index-CMSu9Fi8.js → index-Cf-K62h6.js} +2 -2
- package/_assets/{index-Be5CQ9Ek.js → index-CiAs8gu-.js} +2 -2
- package/_assets/{index-cEVfGif7.js → index-ClZTLO9x.js} +2 -2
- package/_assets/{index-1fOWwGDY.js → index-ClZwHZ-1.js} +2 -2
- package/_assets/{index-DSPPGbih.js → index-CpCYnuUf.js} +2 -2
- package/_assets/{index-C0Nwpyec.js → index-Cq3MUpHI.js} +4 -4
- package/_assets/{index-LyvfKRJn.js → index-CvCN2utU.js} +2 -2
- package/_assets/{index-DwSlWQJc.js → index-CvYhbyB3.js} +2 -2
- package/_assets/{index-BjVmqSlb.js → index-CzcXqzFr.js} +2 -2
- package/_assets/{index-D4F1pTlw.js → index-D-4tfRXD.js} +3 -3
- package/_assets/{index-CThQspM5.js → index-D-MsTKOF.js} +2 -2
- package/_assets/{index-DTQvJkIk.js → index-D0TO84Sb.js} +2 -2
- package/_assets/{index-CEosqueA.js → index-D0rhkQNM.js} +3 -3
- package/_assets/{index-9847KGFU.js → index-D7hI7QCB.js} +2 -2
- package/_assets/{index-BRT6TqeK.js → index-DC_HuNwa.js} +2 -2
- package/_assets/{index-DyBYKhuJ.js → index-DSdsqACJ.js} +2 -2
- package/_assets/{index-BJzeHzwn.js → index-DWq9lH-h.js} +2 -2
- package/_assets/{index-DVU_sbVS.js → index-DYJorIz7.js} +2 -2
- package/_assets/{index-BJncx6-7.js → index-DZCebOSV.js} +3 -3
- package/_assets/{index-Dt0hkf0E.js → index-DbEF7rCT.js} +4 -4
- package/_assets/{index-CS-Fo7Dd.js → index-DcsfuUaQ.js} +2 -2
- package/_assets/{index-iLEI2Hze.js → index-Dd4SOtlb.js} +2 -2
- package/_assets/{index-CJX-36Qo.js → index-Dn_v-4rQ.js} +2 -2
- package/_assets/{index-oiiBJT0I.js → index-DoUCGGIP.js} +2 -2
- package/_assets/{index-Ce2pZB5r.js → index-MYKbwgBa.js} +2 -2
- package/_assets/{index-axCSMzU7.js → index-PWMb6ZOe.js} +2 -2
- package/_assets/{index-VqSwDYu3.js → index-RQBaPhZZ.js} +2 -2
- package/_assets/{index-Cgrg3nln.js → index-W9y3B94r.js} +2 -2
- package/_assets/{index-BKoVRwNl.js → index-Ycu1Efd5.js} +2 -2
- package/_assets/{index-C6gyBlSG.js → index-ZFip7Qm5.js} +2 -2
- package/_assets/{index-Cw3ZjlHu.js → index-cMdIwdPB.js} +4 -4
- package/_assets/{index-DPrbmi0P.js → index-etSO6k1-.js} +2 -2
- package/_assets/{index-BotucDu0.js → index-f4XVR9Vu.js} +2 -2
- package/_assets/{index-CV2DmEzD.js → index-iFqEqotN.js} +2 -2
- package/_assets/{index-CCJPLKej.js → index-lppz8g54.js} +2 -2
- package/_assets/{index-CVvFzoi-.js → index-nl-8F_9V.js} +2 -2
- package/_assets/{index-DH16m9NQ.js → index-qMZBZipv.js} +2 -2
- package/_assets/{index-DvMKbX71.js → index-r7YKLeOf.js} +2 -2
- package/_assets/{index-MH4VZj7X.js → index-vqD571_k.js} +2 -2
- package/_assets/{index-CPc9SG5b.js → index-xUBXenIa.js} +2 -2
- package/_assets/{index-CdlPsyOh.js → index-z-rJW2w2.js} +2 -2
- package/_assets/{index.es-CATzJKgL.js → index.es-BmLJs4Sf.js} +5 -5
- package/_assets/{index.es-DvYgO4WC.js → index.es-CYA-RWHm.js} +2 -2
- package/_assets/{index.es-CcpqAHBO.js → index.es-D45aSNIr.js} +2 -2
- package/_assets/{index.es-DTIR3PFi.js → index.es-Dm5j7t68.js} +2 -2
- package/_assets/items-empty-C-EnJrLW.js +2 -0
- package/_assets/{jump-Bl1mTmWC.js → jump-Br9Dsy87.js} +2 -2
- package/_assets/{linkAccount-D6iv170c.js → linkAccount-cYB7T4Tv.js} +2 -2
- package/_assets/{loader-logo-VsDgHWNm.js → loader-logo-D6wRaebi.js} +2 -2
- package/_assets/{localBatchGatewayRequest-BfGg370Q.js → localBatchGatewayRequest-COaaXHV3.js} +2 -2
- package/_assets/{modal.styles-LVyI-Nms.js → modal.styles-CLWgiYOt.js} +2 -2
- package/_assets/{native-l5Om0Rwv.js → native-D0UXnlN2.js} +2 -2
- package/_assets/{networks-CF4HnplJ.js → networks-DOfb9fnb.js} +2 -2
- package/_assets/{onramp-Df-XZyQ-.js → onramp-DuzeTgkJ.js} +2 -2
- package/_assets/{openzeppelin-CtFkrbTC.js → openzeppelin-BYeG61g_.js} +2 -2
- package/_assets/{ownerOf-Dd-hBmVt.js → ownerOf-iXYBoNOp.js} +2 -2
- package/_assets/{parseNft-DlnuLVoy.js → parseNft-CFjAUYrS.js} +3 -3
- package/_assets/{parseSignature-C060flwU.js → parseSignature-Bz44eKqN.js} +4 -4
- package/_assets/{parseSignature-B1mzw2r7.js → parseSignature-DhzqF-CI.js} +2 -2
- package/_assets/{passkeys-CbeyIyCT.js → passkeys-DmPYPC4_.js} +2 -2
- package/_assets/{pay-with-exchange-zZqzHc1N.js → pay-with-exchange-DgE3ADUi.js} +2 -2
- package/_assets/{prepare-contract-call-Cd3rzK4m.js → prepare-contract-call-UX6BV4kX.js} +2 -2
- package/_assets/{qr-overlay-C0sLtyHu.js → qr-overlay-BK6W2N1n.js} +4 -4
- package/_assets/{react-xTOg_zXI.js → react-C7jFYDiK.js} +2 -2
- package/_assets/{receive-B32yzPpP.js → receive-BPZlHFZz.js} +2 -2
- package/_assets/{resolveImplementation-CUvrhOz5.js → resolveImplementation-CBX9bsBq.js} +2 -2
- package/_assets/{resume-buy-CadxFuJD.js → resume-buy-CF_A677G.js} +2 -2
- package/_assets/{resume-name-DCcU5Jmo.js → resume-name-DRIQjZDI.js} +2 -2
- package/_assets/{rpc-D7LJ7NvJ.js → rpc-CjoJTeFs.js} +2 -2
- package/_assets/{sales-empty-C0kdamh4.js → sales-empty-CCIeKhF8.js} +2 -2
- package/_assets/{search-empty-eYhzQ9FT.js → search-empty-Cv-A-bGM.js} +2 -2
- package/_assets/{secp256k1-CW_LtzZ8.js → secp256k1-3HnIIFaB.js} +2 -2
- package/_assets/{secp256k1-B41_WO6S.js → secp256k1-BC23J6L7.js} +2 -2
- package/_assets/{secp256k1-GkgG1V04.js → secp256k1-H9BOWccb.js} +2 -2
- package/_assets/{send-C-GM4PE7.js → send-BvvSZGqL.js} +2 -2
- package/_assets/{send-batch-transaction-DT9GnwuT.js → send-batch-transaction-DWd-4a-P.js} +2 -2
- package/_assets/{send-eip712-transaction-SnaEyRTO.js → send-eip712-transaction-CV3wA8Tg.js} +3 -3
- package/_assets/{send-gasless-transaction-CznNnhM4.js → send-gasless-transaction-CL7pL7R6.js} +3 -3
- package/_assets/{send-transaction-Bf6g32F5.js → send-transaction-BCsU6ARj.js} +3 -3
- package/_assets/{sendMetaTransaction-BVZGqOEK.js → sendMetaTransaction-BYS3mpcN.js} +2 -2
- package/_assets/{sendRawTransaction-CkffR3oO.js → sendRawTransaction-Ddvz0FY1.js} +4 -4
- package/_assets/{sentry-B0Y62cGL.js → sentry-D0Tn9ys9.js} +3 -3
- package/_assets/{serializeTransaction-CMJTyk8U.js → serializeTransaction-D8NuHg0X.js} +2 -2
- package/_assets/{session-proposal-DC94r99f.js → session-proposal-BqkEkhl4.js} +2 -2
- package/_assets/{session-request-DgLUUnOE.js → session-request-CGDqRcgz.js} +3 -3
- package/_assets/{sha256-CED-jKYK.js → sha256-eeK7AQj_.js} +2 -2
- package/_assets/{sha3-CD2fzV95.js → sha3-xnrXfD_X.js} +2 -2
- package/_assets/signin-empty-BhQynyYC.js +2 -0
- package/_assets/{signing-lMjAMQBI.js → signing-COt_6P6-.js} +4 -4
- package/_assets/{skeleton.styles-OHtRJI1m.js → skeleton.styles-BIRzF96I.js} +2 -2
- package/_assets/{socials-XRxoPbeV.js → socials-FBZ8ufY2.js} +2 -2
- package/_assets/{styled-2Gc9bEJf.js → styled-D5armwdx.js} +2 -2
- package/_assets/{swaps-1NO4w9-f.js → swaps-BUkp_a-D.js} +2 -2
- package/_assets/{thirdweb-BJ3MsX6E.js → thirdweb-Gp2Qqqv-.js} +4 -4
- package/_assets/{to-serializable-transaction-BUXwOt0l.js → to-serializable-transaction-Dqzq4pvb.js} +3 -3
- package/_assets/{totalSupply-BbOY-Ah8.js → totalSupply-CuUUGFEf.js} +2 -2
- package/_assets/{trade-encoding-BeeCLIbm.js → trade-encoding-BULjvT7g.js} +2 -2
- package/_assets/{transaction-f7fSDSEv.js → transaction-BO1gVZ_X.js} +2 -2
- package/_assets/{transactionReceipt-BNvHMRIb.js → transactionReceipt-BB3i5pIg.js} +2 -2
- package/_assets/{transactions-swTuiqzl.js → transactions-C_RN2bX3.js} +2 -2
- package/_assets/{useInfiniteGrid-BEX_xsnJ.js → useInfiniteGrid-DvFwlZIH.js} +2 -2
- package/_assets/{useStore-B7dt3ckg.js → useStore-pA_MeHwI.js} +3 -3
- package/_assets/{useTheme-CCKeGB3A.js → useTheme-B3x14PSR.js} +2 -2
- package/_assets/{utils-DA456_1A.js → utils-D_pHR6O7.js} +2 -2
- package/_assets/{verifyHash-BvlEdLQe.js → verifyHash-BQhqA-8D.js} +2 -2
- package/_assets/{w3m-modal-dqg0Bbo6.js → w3m-modal-8HO4zh7L.js} +2 -2
- package/_assets/{w3m-modal-BYjCcYG7.js → w3m-modal-CL7Ujenr.js} +2 -2
- package/_assets/{wait-for-tx-receipt-mAbrkotI.js → wait-for-tx-receipt-CPO1Z8xR.js} +2 -2
- package/_assets/{wallets-BPfs-4HQ.js → wallets-Da574xT5.js} +6 -6
- package/_assets/{web-connector-B7BkqcWh.js → web-connector-Cwgma0GW.js} +4 -4
- package/_assets/{writeContract-BXbZZHUF.js → writeContract-Dv21cURn.js} +2 -2
- package/_assets/{zora-sepolia-CTxGeA6f.js → zora-sepolia-9LItxCQr.js} +2 -2
- package/_assets/{zoraTestnet-5ljqJp2x.js → zoraTestnet-J8T9VM84.js} +2 -2
- package/index.html +12 -12
- package/package.json +1 -1
- package/_assets/collectionPage.styles-BdifnJ7n.js +0 -41
- package/_assets/index-D8mGQF7W.css +0 -1
- package/_assets/items-empty-Cr9cPS1Z.js +0 -2
- package/_assets/signin-empty-Djiz9wqy.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-C7jFYDiK.js";import{a3 as H,w as U,a4 as le,a5 as de,a6 as ce,a7 as he,a as pe,s as i,I as L,a8 as ue,a9 as me,H as F,aa as xe,x as V,ab as ge,B as fe,t as n,ac as G,ad as N,ae as be,af as ye,ag as ve,ah as je,O as we,ai as $e,aj as ke,ak as Ie,al as Ce,am as Ee,an as ze,ao as Le,ap as Fe,aq as We,ar as Se,z as A,as as O,at as Ae,au as Oe,av as Te,aw as Pe,ax as Re,ay as Ne}from"./index-B_9tW51r.js";import{d as B}from"./dcl-schemas-Y9IX8NxW.js";import{E as Q}from"./ErrorNotice-DcMO5bfW.js";import{E as Be}from"./EmotePlaybackBar-OvE8csVB.js";import{O as Me}from"./OutfitPreview-B9kLHbqF.js";import{c as _e}from"./crumbs.styles-CjY4UM0w.js";import"./sentry-D0Tn9ys9.js";import"./ethers-ONPQNu2c.js";import"./intl-AKLEHPeO.js";import"./disposePreview-WF3Ir9YY.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]="6b3c2145-cdcb-4d5a-93fb-a5253da06a66",t._sentryDebugIdIdentifier="sentry-dbid-6b3c2145-cdcb-4d5a-93fb-a5253da06a66")}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-xTOg_zXI.js";import{a3 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:N()&&!!t,staleTime:6e4,queryFn:()=>Ne(t,r&&s?s.identity:void 0)}),p=!N()||!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=Ae(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),S=s.byKey.get(w)??null;return{key:w,item:S,state:S?ke(S,{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??B.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:B.PreviewUnityMode.BUILDER,skin:f.skin,hair:f.hair,eyes:f.eyes,enabled:ee&&!f.isLoading&&!s.isLoading,controls:se?e.jsx(Be,{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(Se,{address:a.item.creator})}):null,e.jsxs(q,{children:[a.state!=="unavailable"?e.jsxs(it,{children:[e.jsx(A,{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(A,{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(A,{size:16}),e.jsx(O,{credits:d})]}):null]})]})]})]})]})]})}export{Lt as OutfitDetail,Lt as default};
|
|
369
|
-
//# sourceMappingURL=OutfitDetail-
|
|
369
|
+
//# sourceMappingURL=OutfitDetail-Cc6AzXUC.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-C7jFYDiK.js";import{d as m}from"./dcl-schemas-Y9IX8NxW.js";import{a$ as S,w as T,s as _,ag as q,b0 as M,b1 as U,b2 as W,t as $}from"./index-B_9tW51r.js";import{d as k}from"./disposePreview-WF3Ir9YY.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]="b4194c5b-3d92-45e4-b522-3b7308bd4db7",e._sentryDebugIdIdentifier="sentry-dbid-b4194c5b-3d92-45e4-b522-3b7308bd4db7")}catch{}})();function h(e){return e.startsWith("urn:")}function C(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?C(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 A=q(u=>u.fittingOpen),{ref:j,active:D}=M(),y=t&&h(t)?t:null,{base64:p,loop:O,isLoading:R}=K(y),i=o&&a.length>0&&D&&!A&&!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 g=c.useRef(null);return c.useEffect(()=>{if(i)return()=>{k(g.current),g.current=null}},[i]),d.jsxs(d.Fragment,{children:[d.jsx("div",{ref:j,"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:y?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),g.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":$("spinner.loading"),children:d.jsx("span",{className:"spinner","aria-hidden":!0})}):null]})}export{X as O};
|
|
7
|
-
//# sourceMappingURL=OutfitPreview-
|
|
7
|
+
//# sourceMappingURL=OutfitPreview-B9kLHbqF.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as d,j as t,L as A,e as Jt,a as Xt,b as Yt}from"./react-
|
|
1
|
+
import{r as d,j as t,L as A,e as Jt,a as Xt,b as Yt}from"./react-C7jFYDiK.js";import{s,a as ut,I as _,aG as Zt,t as e,z as ot,as as at,H as m,n as Tt,x as X,ab as te,B as ee,aH as ie,$ as se,aI as Ct,w as Et,ae as oe,ai as z,aJ as V,aK as ae,aL as re,aM as J,am as ne,ao as de,ak as le,al as ue,ac as Lt,aq as ce,aN as rt,aO as pe,aP as fe,aQ as he,aR as F,aS as Rt,aT as zt,aU as O,l as nt,aV as dt,aW as xe,aX as me,aY as ge,O as be,aZ as ye,a_ as je,ay as ve}from"./index-B_9tW51r.js";import{s as we}from"./signin-empty-BhQynyYC.js";import{E as U}from"./ErrorNotice-DcMO5bfW.js";import{L as $e}from"./LoadMore-B-3r-ZWY.js";import{u as ke}from"./useInfiniteGrid-DvFwlZIH.js";import{O as Se}from"./OutfitPreview-B9kLHbqF.js";import{T as Ie}from"./skeleton.styles-BIRzF96I.js";import"./dcl-schemas-Y9IX8NxW.js";import"./sentry-D0Tn9ys9.js";import"./ethers-ONPQNu2c.js";import"./intl-AKLEHPeO.js";import"./disposePreview-WF3Ir9YY.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]="9052f249-789b-498d-af32-764d7ab25c3c",r._sentryDebugIdIdentifier="sentry-dbid-9052f249-789b-498d-af32-764d7ab25c3c")}catch{}})();const{colors:x,radius:Y,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 Jt,a as Xt,b as Yt}from"./react-xTOg_zXI.js";im
|
|
|
554
554
|
flex-wrap: wrap;
|
|
555
555
|
gap: 10px;
|
|
556
556
|
`;function Vi(){const{id:r}=Jt(),{pathname:f}=Xt(),h=X(b=>b.session),c=X(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=X(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(Je,{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(Xe,{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(Ye,{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=X(i=>i.session),y=Ct(),j=Yt(),[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<=J;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<=J;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,"/",J,")"]}),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>=J?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-iccmKn9G.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-C7jFYDiK.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-B_9tW51r.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]="ea545e64-7b7c-4baa-ae44-3b9f5c80f19b",n._sentryDebugIdIdentifier="sentry-dbid-ea545e64-7b7c-4baa-ae44-3b9f5c80f19b")}catch{}})();const Z="https://cdn.decentraland.org/@dcl/shop/1.17.0/_assets/credits-coin-DNt6YtOL.webp",ee=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 24px;
|
|
@@ -366,5 +366,5 @@ import{r as I,j as e}from"./react-xTOg_zXI.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:
|
|
370
|
-
//# sourceMappingURL=PaymentMethodStep-
|
|
369
|
+
`;function ye({asset:n,priceCredits:m,priceCents:$,options:u,priceManaWei:U,balanceCredits:V,manaBalanceWei:Y,onBuy:G,onClose:H,busy:g=!1,notice:v}){const l=u.find(s=>s.method==="credits")??null,d=u.find(s=>s.method==="mana")??null,a=u.find(s=>s.method==="combined")??null,[z,C]=I.useState(()=>l?new Set(["credits"]):a?new Set(["credits","mana"]):d?new Set(["mana"]):new Set),b=!!l||!!a,c=!!d||!!a;I.useEffect(()=>{C(s=>{const o=new Set(s);return o.has("credits")&&!b&&o.delete("credits"),o.has("mana")&&!c&&o.delete("mana"),o.size===0&&(l?o.add("credits"):a?(o.add("credits"),o.add("mana")):d&&o.add("mana")),o.size===s.size&&[...o].every(K=>s.has(K))?s:o})},[b,c,l,a,d]);const p=z.has("credits"),x=z.has("mana"),h=p&&x?a?"combined":null:p?l?"credits":null:x&&d?"mana":null,q=h==="combined"&&a?a.credits:(l==null?void 0:l.credits)??Q($),J=h==="combined"&&a?a.manaWei:(d==null?void 0:d.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(le,{title:n.name,children:n.name||r("buyModal.itemFallback")}),n.caption?e.jsx(de,{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":!b,disabled:g||!b,"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-Crc70JXF.js.map
|