@dcl/shop 1.12.2-34943105195.commit-53ac845 → 1.12.2-34948836375.commit-6cf32c8
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-CIn0i64i.js → Activity-J2iy4jC2.js} +14 -14
- package/_assets/{AnimatedBackground-DObQGfsX.js → AnimatedBackground-CZSQraQ0.js} +6 -6
- package/_assets/Assets-rO2myygc.js +939 -0
- package/_assets/{Authorizations-BbREzb10.js → Authorizations-RQz4v6iB.js} +7 -7
- package/_assets/{Cart-Dlt1kxnp.js → Cart-DdbsSYxC.js} +5 -5
- package/_assets/Collection-9Z2j-rTm.js +134 -0
- package/_assets/{CollectionCarousel-DzyeEp-Q.js → CollectionCarousel-p9BPJONR.js} +7 -7
- package/_assets/{Confetti-D8hHZ-j2.js → Confetti-BGVbEJbR.js} +4 -4
- package/_assets/{ConstantsUtil-DqWEU85J.js → ConstantsUtil-Bp-pnAsz.js} +2 -2
- package/_assets/{ContentClient-CHR8DAlf.js → ContentClient-DTRb9-5C.js} +2 -2
- package/_assets/{Creator-Cna_oyq7.js → Creator-BJL4gekm.js} +46 -46
- package/_assets/DeploymentBuilder-Cjkaft-R.js +4 -0
- package/_assets/{EmotePlaybackBar-DxiqCt2i.js → EmotePlaybackBar-BPKSzBrx.js} +3 -3
- package/_assets/{ErrorNotice-Cyz0ru0V.js → ErrorNotice-nSEXNWXK.js} +2 -2
- package/_assets/Event-mTDtnPdT.js +2 -0
- package/_assets/{ExchangeController-CUZL8Mbx.js → ExchangeController-D8uwDzSY.js} +2 -2
- package/_assets/{Faq-C_uBlm74.js → Faq-CVMMGesq.js} +3 -3
- package/_assets/{GetCredits-_6uzdQGI.js → GetCredits-B-d63Asa.js} +12 -12
- package/_assets/{Grow-4oNQu9_f.js → Grow-DpxGM69E.js} +2 -2
- package/_assets/{HelpersUtil-YexQAC6C.js → HelpersUtil-CA8woQfF.js} +3 -3
- package/_assets/{ItemDetail-Bldzu6EA.js → ItemDetail-Bxxs1KIm.js} +2 -2
- package/_assets/LoadMore-Cr-mnVTu.js +8 -0
- package/_assets/{ManaPricingBanner.styles-B3n-XF9u.js → ManaPricingBanner.styles-CuFOcVnZ.js} +6 -6
- package/_assets/{MyAssets-QZ3rwFU5.js → MyAssets-CIl-ZNFw.js} +9 -9
- package/_assets/{MyFavorites-D6QBZzyV.js → MyFavorites-CONQ86Ux.js} +7 -7
- package/_assets/{NetworkUtil-Cppu81Vb.js → NetworkUtil-ida2KYao.js} +2 -2
- package/_assets/NotFound-Cjy5dUWa.js +18 -0
- package/_assets/NotificationsBell-CyOkbx1n.js +142 -0
- package/_assets/{OutfitDetail-k5wg0Bgc.js → OutfitDetail-BsiAngXf.js} +6 -6
- package/_assets/{OutfitPreview-DnMRzH-s.js → OutfitPreview-CS5cySDc.js} +3 -3
- package/_assets/{OutfitStudio-CLp--Fr0.js → OutfitStudio-D-FGJRNJ.js} +19 -19
- package/_assets/{PhArrowCircleDown-F6XaRM9L.js → PhArrowCircleDown-ak13FLPU.js} +5 -5
- package/_assets/{PhArrowClockwise-q_-mQx9S.js → PhArrowClockwise-B1_sSsDG.js} +3 -3
- package/_assets/{PhArrowDown-DbUWaovp.js → PhArrowDown-3SgA8Sjh.js} +3 -3
- package/_assets/{PhArrowLeft-BHIRtLA9.js → PhArrowLeft-D0xJapef.js} +3 -3
- package/_assets/{PhArrowRight-Chd6UGyN.js → PhArrowRight-BEzeYnOS.js} +4 -4
- package/_assets/{PhArrowSquareOut-6HUnIa-j.js → PhArrowSquareOut-ncs5AP9J.js} +3 -3
- package/_assets/{PhArrowUp-CMwjZS9_.js → PhArrowUp-DAiP5DLU.js} +4 -4
- package/_assets/{PhArrowUpRight-BKMZVVGq.js → PhArrowUpRight-CpVGKPzB.js} +5 -5
- package/_assets/{PhArrowsClockwise-F_7-Dc35.js → PhArrowsClockwise-BW3eqMIv.js} +2 -2
- package/_assets/{PhArrowsDownUp-Dn_FyHzt.js → PhArrowsDownUp-CL__e9hj.js} +4 -4
- package/_assets/{PhArrowsLeftRight-CaFe7nV6.js → PhArrowsLeftRight-CKf-pynd.js} +4 -4
- package/_assets/{PhBank-BI7khlVk.js → PhBank-CYFoeatO.js} +5 -5
- package/_assets/{PhBrowser-CECFOU5M.js → PhBrowser-B8QcDy-X.js} +4 -4
- package/_assets/PhCaretDown-BJucyF_I.js +15 -0
- package/_assets/PhCaretLeft-DXM-1eI2.js +15 -0
- package/_assets/{PhCaretRight-CFC60GD1.js → PhCaretRight-CUbjYMvE.js} +2 -2
- package/_assets/{PhCaretUp-DIACD1RA.js → PhCaretUp-XANHSPHz.js} +5 -5
- package/_assets/{PhCheck-BvBD9Aid.js → PhCheck-DtDQz9uq.js} +3 -3
- package/_assets/{PhCircleHalf-Bun-1FCv.js → PhCircleHalf-N8EEYP9W.js} +4 -4
- package/_assets/{PhClock-D_ASVz8S.js → PhClock-D4HOB74r.js} +4 -4
- package/_assets/{PhCompass-DocyDWCu.js → PhCompass-DaDix-lb.js} +5 -5
- package/_assets/{PhCopy-D6EBlOAj.js → PhCopy-DfG9L19w.js} +4 -4
- package/_assets/{PhCreditCard-B0qL8bHI.js → PhCreditCard-54JvBHpJ.js} +3 -3
- package/_assets/{PhCurrencyDollar-DMjw0pw9.js → PhCurrencyDollar--4El0jyD.js} +4 -4
- package/_assets/{PhDesktop-BCskflgs.js → PhDesktop-C59sef21.js} +3 -3
- package/_assets/{PhDeviceMobile-C4XbDOvg.js → PhDeviceMobile-CqU5hwgB.js} +4 -4
- package/_assets/{PhDotsThree-C1eKbboP.js → PhDotsThree-DKKOuXPs.js} +4 -4
- package/_assets/{PhEnvelope-BiE8gj38.js → PhEnvelope-BV_YRi_L.js} +2 -2
- package/_assets/{PhFunnelSimple-Cp9cUJMS.js → PhFunnelSimple-DCJ64Yx1.js} +5 -5
- package/_assets/{PhGlobe-DKh2xV8G.js → PhGlobe-CfDkOX-M.js} +2 -2
- package/_assets/{PhIdentificationCard-Bmin-yhM.js → PhIdentificationCard-CZevIBOX.js} +2 -2
- package/_assets/{PhImage-chlN_hIc.js → PhImage-BvwFiqL_.js} +2 -2
- package/_assets/{PhInfo-C7QGtQg6.js → PhInfo-ByE07_XD.js} +5 -5
- package/_assets/{PhLightbulb-CkOJ2DJ3.js → PhLightbulb-COGGqe5o.js} +2 -2
- package/_assets/{PhMagnifyingGlass-BTmWgGWE.js → PhMagnifyingGlass-CoJqZmSp.js} +4 -4
- package/_assets/{PhPaperPlaneRight-BdlILCZ-.js → PhPaperPlaneRight-BOtHGdWm.js} +4 -4
- package/_assets/{PhPlus-BcjO7oMF.js → PhPlus-BtM9eWY5.js} +4 -4
- package/_assets/{PhPower-DOEZz8fY.js → PhPower-XoT0HBKo.js} +5 -5
- package/_assets/{PhPuzzlePiece-BTpL210F.js → PhPuzzlePiece-DPN_Gt0E.js} +4 -4
- package/_assets/{PhQrCode-BZYdQpUJ.js → PhQrCode-Ba2Av-ws.js} +2 -2
- package/_assets/{PhQuestion-C0lp-4DF.js → PhQuestion-BsODZylj.js} +3 -3
- package/_assets/{PhQuestionMark-VF_NxIwy.js → PhQuestionMark-CQGfqgyU.js} +5 -5
- package/_assets/{PhSealCheck-1OIprpHs.js → PhSealCheck-ORxCOA65.js} +3 -3
- package/_assets/{PhSignOut-CQoJ2HjV.js → PhSignOut-CIIz9cbC.js} +4 -4
- package/_assets/{PhSpinner-I7LCPPQZ.js → PhSpinner-v_BVhkr6.js} +3 -3
- package/_assets/{PhTrash-BLYxR73H.js → PhTrash-DaneU5r-.js} +2 -2
- package/_assets/{PhUser-B6uTfnUV.js → PhUser-CKCQsYp2.js} +2 -2
- package/_assets/{PhVault-huUMPy8_.js → PhVault-q-BY5Hn5.js} +2 -2
- package/_assets/{PhWallet-CqCYhzA6.js → PhWallet-Df5kuqF4.js} +5 -5
- package/_assets/{PhWarning-B-8AQOtI.js → PhWarning-DmzK9PIH.js} +5 -5
- package/_assets/{PhWarningCircle-DMKHSe_T.js → PhWarningCircle-B6Azmmj3.js} +3 -3
- package/_assets/{PhX-CdA2pR0v.js → PhX-Bv7tUluK.js} +2 -2
- package/_assets/{StoreSettings-ChXnKPzm.js → StoreSettings-DtLddUAS.js} +10 -10
- package/_assets/{Success-Cp4ScdYv.js → Success--Ei6iKXI.js} +6 -6
- package/_assets/{SwapController-uRJLn0q0.js → SwapController-BA5TjqZA.js} +2 -2
- package/_assets/{TradeService-kFU04aTe.js → TradeService-DywJ4wNp.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-R5ShLfit.js → W3MFrameProviderSingleton-CmmiYZ9j.js} +4 -4
- package/_assets/{WebCryptoP256-B4ORewtv.js → WebCryptoP256-BPfgDNR9.js} +2 -2
- package/_assets/{add-CNAGUF7G.js → add-WC3KG-NP.js} +2 -2
- package/_assets/{all-wallets-Do04Q1GD.js → all-wallets-BV2RKDKX.js} +2 -2
- package/_assets/{app-store-ZwD4kBP5.js → app-store-DzdJFJvJ.js} +2 -2
- package/_assets/{apple-DA1GHxT3.js → apple-C_YCXF5K.js} +3 -3
- package/_assets/{arrow-bottom-circle-Dzl92t2I.js → arrow-bottom-circle-CWERGNL8.js} +3 -3
- package/_assets/arrow-bottom-lj5jq4hP.js +9 -0
- package/_assets/{arrow-left-Ckx45zyh.js → arrow-left-BHfhO25z.js} +3 -3
- package/_assets/{arrow-right-BcWHW3tW.js → arrow-right-DrvdIWK8.js} +2 -2
- package/_assets/{arrow-top-BhrmNTjO.js → arrow-top-C5YdnARR.js} +3 -3
- package/_assets/{async-directive-CZ-ebsJC.js → async-directive-Ul6OERsh.js} +3 -3
- package/_assets/authorizations-D-BlJBCy.js +2 -0
- package/_assets/{bank-BfuZXPF5.js → bank-CcJhMycN.js} +2 -2
- package/_assets/{basic-DzHsw0VK.js → basic-D9ZT1BuA.js} +2 -2
- package/_assets/{biconomy-miqvTpb8.js → biconomy-CZoSyrbX.js} +2 -2
- package/_assets/{browseLayout.styles-DHfDavT7.js → browseLayout.styles-DXvUud3S.js} +8 -8
- package/_assets/{browser-DymfWuKv.js → browser-CePgleG4.js} +3 -3
- package/_assets/{browser-BNJThGvz.js → browser-DSALTQXN.js} +2 -2
- package/_assets/{browser-CGugGcMM.js → browser-ShmbZCwm.js} +2 -2
- package/_assets/{browser-ponyfill-CBvNQnj-.js → browser-ponyfill-BNu_nbrj.js} +2 -2
- package/_assets/builder-g8RNS_Vg.js +2 -0
- package/_assets/buy-DTXSyPtH.js +2 -0
- package/_assets/{buy-gasless-K9BIvSNe.js → buy-gasless-DiikOGgv.js} +2 -2
- package/_assets/{card-DThPVMJR.js → card-vJcgWj0J.js} +2 -2
- package/_assets/{categories-Cykl9uCK.js → categories-v7iHQh9a.js} +3 -3
- package/_assets/{ccip-BspMOsso.js → ccip-CWbNdN46.js} +2 -2
- package/_assets/{ccip-Bl-opNrR.js → ccip-DelhpKhz.js} +2 -2
- package/_assets/{chains-A67dVE8B.js → chains-tR4n3Rjk.js} +2 -2
- package/_assets/{checkmark-BWfow5Hm.js → checkmark-BdVL_wyR.js} +2 -2
- package/_assets/{checkmark-bold-DpY-xklc.js → checkmark-bold-D2_kDMAk.js} +3 -3
- package/_assets/{chevron-bottom-CvrvhzO8.js → chevron-bottom-D0Fjkofu.js} +3 -3
- package/_assets/chevron-left-C9tCZw7F.js +9 -0
- package/_assets/chevron-right-CFriZlYk.js +9 -0
- package/_assets/chevron-top-CI7Nc1Hh.js +9 -0
- package/_assets/{chrome-store-KoCRE_P4.js → chrome-store-BPxSE7E7.js} +3 -3
- package/_assets/{class-map-C0Rma2l2.js → class-map-uVWd2sCT.js} +2 -2
- package/_assets/{clock-GD6fuViS.js → clock-CCT_gA8y.js} +3 -3
- package/_assets/{close-CN58s0HI.js → close-CVrMDBuL.js} +3 -3
- package/_assets/{coinPlaceholder-7RZ9OmZY.js → coinPlaceholder-vau3Ommw.js} +2 -2
- package/_assets/collectionPage.styles-B9DFBjev.js +41 -0
- package/_assets/common-yKZODGdF.js +2 -0
- package/_assets/{compass-D-rZZnyG.js → compass-BVX94cA4.js} +3 -3
- package/_assets/{controller-CgLENETb.js → controller-Bld7fSw_.js} +3 -3
- package/_assets/{copy-2dTl5JIk.js → copy-DbIo246v.js} +2 -2
- package/_assets/{core-CvHAmV38.js → core-D92-eur5.js} +5 -5
- package/_assets/{createSvgIcon-Br_wYMqr.js → createSvgIcon-DxzmVGNY.js} +3 -3
- package/_assets/crumbs.styles-B0j-GlvV.js +10 -0
- package/_assets/cursor-CRt00jB7.js +4 -0
- package/_assets/{cursor-transparent-CxCv7i5W.js → cursor-transparent-D_Cn2Qj1.js} +2 -2
- package/_assets/{custom-CAvBAwHD.js → custom-CZWdKBPL.js} +2 -2
- package/_assets/{data-capture-CTdXGXvf.js → data-capture-CX4kn4Xl.js} +5 -5
- package/_assets/{dcl-schemas-C6wVUDox.js → dcl-schemas-BEn5-KfC.js} +2 -2
- package/_assets/decimals-E28v80-_.js +2 -0
- package/_assets/decimals-epBomYJA.js +2 -0
- package/_assets/{desktop-hQx0DPre.js → desktop-DiOFIHxS.js} +3 -3
- package/_assets/detectExtension-CwKpcDtv.js +2 -0
- package/_assets/{disconnect-DK02_cdg.js → disconnect-DJcY0BVy.js} +3 -3
- package/_assets/{discord-DI917ReU.js → discord-CFlQgGeS.js} +3 -3
- package/_assets/{disposePreview-Cpu-KZCy.js → disposePreview-DGzpJsbb.js} +2 -2
- package/_assets/{email-Cb1oJrCm.js → email-BHBQRb65.js} +7 -7
- package/_assets/{embedded-wallet-BBd6-cDh.js → embedded-wallet-C6Gy4WTK.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-CAcZ8G1T.js → emotion-styled.browser.esm-BJIlADB7.js} +2 -2
- package/_assets/{engine-Cp6uLDvm.js → engine-Yiha65AY.js} +2 -2
- package/_assets/errors-wEpZJGJP.js +2 -0
- package/_assets/estimate-l1-fee-CLftLGg-.js +2 -0
- package/_assets/eth_estimateGas-BectDuYc.js +2 -0
- package/_assets/eth_getStorageAt-1yhQzTuj.js +2 -0
- package/_assets/eth_getTransactionCount-D4KYioQk.js +2 -0
- package/_assets/ethereum-BaJC9L6n.js +2 -0
- package/_assets/{ethers-Lv97T1yz.js → ethers-DsAoqs4p.js} +2 -2
- package/_assets/{etherscan-1ZO8YOdM.js → etherscan-B_DEmwcU.js} +3 -3
- package/_assets/{events-CjzpqrCe.js → events-Z3dAOhvY.js} +2 -2
- package/_assets/{exclamation-triangle-B-lUKP3N.js → exclamation-triangle-CwRHSRAS.js} +3 -3
- package/_assets/{execute-DT7tERno.js → execute-Dp67kIVB.js} +3 -3
- package/_assets/{extension-BJk7Ap5S.js → extension-C5CHNEBM.js} +3 -3
- package/_assets/{external-link-CUZQGcmk.js → external-link-DhWG0oh3.js} +2 -2
- package/_assets/{extractIPFS-Csp5fKF-.js → extractIPFS-Cg7kPTyT.js} +2 -2
- package/_assets/{facebook-CKL1kZxO.js → facebook-ZbOHRELg.js} +3 -3
- package/_assets/{farcaster-aMNZ-p6M.js → farcaster-MlS0fAkK.js} +3 -3
- package/_assets/{features-CKemYOaF.js → features-NLP5a5Tz.js} +2 -2
- package/_assets/fetchTokenMetadata-DxlcVtmx.js +3 -0
- package/_assets/{field.styles-CpietnDB.js → field.styles-CZBu3L1V.js} +4 -4
- package/_assets/{filters-C6jnCJ-u.js → filters-ByxHqr_b.js} +2 -2
- package/_assets/{fortmatic-DrgZ58OF.js → fortmatic-giGwlnqU.js} +2 -2
- package/_assets/{get-bytecode-Bw0yeUzM.js → get-bytecode-g7wo4tN3.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-DtESs8m7.js +2 -0
- package/_assets/{getBalance-DwEqPPUh.js → getBalance-D6g2ByQs.js} +3 -3
- package/_assets/{getInstalledModules-C-xNQqDX.js → getInstalledModules-OCneY0pB.js} +2 -2
- package/_assets/{getNFT-C1o8uqmX.js → getNFT-C2rmwr1y.js} +3 -3
- package/_assets/getNFT-DXnohOJa.js +2 -0
- package/_assets/{github-zd84z5Ek.js → github-DcWwSd2A.js} +3 -3
- package/_assets/{google-d3DYsc60.js → google-BWF_TAVo.js} +2 -2
- package/_assets/grid.styles-D8y3Md9p.js +15 -0
- package/_assets/{hashTypedData-DTDbXTci.js → hashTypedData-CqJya2E6.js} +2 -2
- package/_assets/{hashTypedData-DBRpOMJe.js → hashTypedData-DbZ540ih.js} +2 -2
- package/_assets/{help-circle-hL-zFkun.js → help-circle-Chc_vCdy.js} +3 -3
- package/_assets/{id-C8eFRL7j.js → id-7VZ83soE.js} +3 -3
- package/_assets/{image-D-6g9w_t.js → image-Bgj_xLD4.js} +3 -3
- package/_assets/{in-app-lhUPAkLD.js → in-app-7RIyYwr4.js} +2 -2
- package/_assets/in-app-wallet-calls-B_Nob2Dp.js +2 -0
- package/_assets/{index-BU_GG3hA.js → index-7CCjLw0u.js} +4 -4
- package/_assets/{index-CWJpnmO7.js → index-7lpgP4PJ.js} +4 -4
- package/_assets/{index-DMHQcJeZ.js → index-B0b3tE0c.js} +4 -4
- package/_assets/{index-BLYk_x85.js → index-B2LbNj_R.js} +2 -2
- package/_assets/{index-BsupZO79.js → index-B6-4doHB.js} +2 -2
- package/_assets/index-BHH-ygDH.js +3 -0
- package/_assets/{index-DcES3JkY.js → index-BMTJPKai.js} +2 -2
- package/_assets/{index-DIBmDyug.js → index-BRDkcfDz.js} +2 -2
- package/_assets/{index-B0-4OO2W.js → index-BScED-bZ.js} +2 -2
- package/_assets/{index-Dy-dSFkV.js → index-BSvARysd.js} +4 -4
- package/_assets/{index-B5KflQ_t.js → index-BWxd86Vj.js} +7 -7
- package/_assets/{index-C8KVMkp9.js → index-BeUJsqeQ.js} +2 -2
- package/_assets/{index-7DahUkBO.js → index-BgkGjzDI.js} +2 -2
- package/_assets/{index-CFyNL00G.js → index-BjFsM0oT.js} +2 -2
- package/_assets/{index-DDgXbmCK.js → index-BkMOX_Op.js} +2 -2
- package/_assets/{index-CqCl4nEk.js → index-Bobcegi1.js} +2 -2
- package/_assets/{index-9PrFdU4_.js → index-BsMA9366.js} +5 -5
- package/_assets/{index-DQ-FlfeW.js → index-C73O17Kl.js} +4 -4
- package/_assets/{index-BVRRpBa3.js → index-CDtFhkB_.js} +4 -4
- package/_assets/{index-CSl3VEfF.js → index-CGS4qhMY.js} +2 -2
- package/_assets/{index-BbGQqGVt.js → index-COM0SPl1.js} +2 -2
- package/_assets/{index-Dz35NRD5.js → index-CP1u55g3.js} +2 -2
- package/_assets/{index-vTEKT3n2.js → index-CQ25VkJI.js} +3 -3
- package/_assets/{index-BaLYi60v.js → index-CXMa-J76.js} +4 -4
- package/_assets/{index-Ddl0pXFc.js → index-CYHgmrtK.js} +2 -2
- package/_assets/{index-CCPgImBW.js → index-CaszeEvt.js} +2 -2
- package/_assets/{index-C5vvTQad.js → index-CcqYtwt3.js} +2 -2
- package/_assets/{index-B2g4tLw4.js → index-Cd4qg3y2.js} +4 -4
- package/_assets/{index-B__hcQy-.js → index-CuuExxM6.js} +2 -2
- package/_assets/index-CwvrGPbx.js +4213 -0
- package/_assets/{index-CRDV0Pl2.js → index-D0mKR1Uq.js} +2 -2
- package/_assets/{index-CUfOM0gd.js → index-D391fIN0.js} +2 -2
- package/_assets/{index-My6QJ4eq.js → index-D5norgxm.js} +2 -2
- package/_assets/{index-BgYrg0ju.js → index-DIDCs6WQ.js} +2 -2
- package/_assets/{index-TYEsH86Q.js → index-DKQvgIG5.js} +5 -5
- package/_assets/{index-CnKw1as5.js → index-DRJSt6_X.js} +2 -2
- package/_assets/{index-D2gxZYm9.js → index-DS7j0g6y.js} +5 -5
- package/_assets/{index-BQwWx3Ru.js → index-DVuPr51_.js} +21 -21
- package/_assets/{index-DlkltF4I.css → index-DWaYKcdc.css} +1 -1
- package/_assets/{index-DCcz022S.js → index-DZScr1GS.js} +3 -3
- package/_assets/{index-I89t12Wh.js → index-DdnyYkRs.js} +2 -2
- package/_assets/{index-BpdowJC2.js → index-DjLd5rYK.js} +2 -2
- package/_assets/{index-o_uA8_89.js → index-DjtvFnLh.js} +2 -2
- package/_assets/index-Dn4KZdaA.js +2 -0
- package/_assets/{index-CMCCdHa_.js → index-DomMPXQj.js} +4 -4
- package/_assets/{index-BNoDIvG3.js → index-DonluLU3.js} +2 -2
- package/_assets/{index-BE2Pcc7L.js → index-DqAm4Wjx.js} +2 -2
- package/_assets/index-Ds8cBLDT.js +28 -0
- package/_assets/{index-6u5VnD--.js → index-DskNH7_F.js} +2 -2
- package/_assets/index-DwipOeoQ.js +2 -0
- package/_assets/{index-DjmoLHZP.js → index-DxK-KEEO.js} +2 -2
- package/_assets/{index-CvBn_Xli.js → index-DxeSXDhW.js} +7 -7
- package/_assets/{index-CEimJkIf.js → index-DzdzPcAF.js} +3 -3
- package/_assets/{index-4gqThDQn.js → index-QGdB1wb7.js} +2 -2
- package/_assets/{index-wWI9fRg_.js → index-RJudh9Ct.js} +4 -4
- package/_assets/{index-B8U4q9Eq.js → index-RX4XaJG4.js} +6 -6
- package/_assets/{index-LBBkA61Q.js → index-S7STKBrt.js} +4 -4
- package/_assets/{index-qkZXr06B.js → index-UrlARuY0.js} +3 -3
- package/_assets/{index-BAFuNLaS.js → index-_HKxCNov.js} +2 -2
- package/_assets/{index-TuafBa14.js → index-atuR1r1C.js} +4 -4
- package/_assets/{index-DcvaenNa.js → index-fUy6m31Q.js} +3 -3
- package/_assets/{index-D7g7s3yR.js → index-m-k1ONxw.js} +2 -2
- package/_assets/{index-k9TKQ6xZ.js → index-noVH-Q6R.js} +3 -3
- package/_assets/{index-DxKiy2Xz.js → index-s3fqrm7k.js} +2 -2
- package/_assets/{index-BRBu6WYt.js → index-t08CzlbS.js} +2 -2
- package/_assets/{index-lVTgIb_7.js → index-tuk1tZ_u.js} +4 -4
- package/_assets/{index-D2wWow0t.js → index-u2xgc_Gz.js} +2 -2
- package/_assets/{index-C83jzgFF.js → index-yi3HWnj_.js} +3 -3
- package/_assets/{index.es-DVUqiCwJ.js → index.es-BOLgFwZv.js} +2 -2
- package/_assets/{index.es-MqodSyA5.js → index.es-DFtzDt27.js} +5 -5
- package/_assets/{index.es-D6oDPmIZ.js → index.es-DN-4f9er.js} +2 -2
- package/_assets/{index.es-CcwLuxPU.js → index.es-Y_OTMJEv.js} +2 -2
- package/_assets/{info-TiK2m5-Y.js → info-D7ObqMR7.js} +3 -3
- package/_assets/{info-circle-Cjm1aaI5.js → info-circle-Cn1eJfl8.js} +3 -3
- package/_assets/{items-empty-Dz9owDfV.js → items-empty-CDQLWT4f.js} +2 -2
- package/_assets/jsxRuntime.module-KGmzlnK1.js +2 -0
- package/_assets/{jump-B-4PRM6U.js → jump-lzA8KqWK.js} +2 -2
- package/_assets/{lightbulb-M3egNz3u.js → lightbulb-BKWlXPb6.js} +3 -3
- package/_assets/{linkAccount-DGv5frqt.js → linkAccount-D7Lo5Fky.js} +2 -2
- package/_assets/{localBatchGatewayRequest-DBz8PLI1.js → localBatchGatewayRequest-CQTaa_Xl.js} +2 -2
- package/_assets/{mail-Bjuf52Eu.js → mail-uZxvzFx_.js} +2 -2
- package/_assets/{mobile-ChlkZUx7.js → mobile-NGKGetAS.js} +2 -2
- package/_assets/{more-odGFVZ6c.js → more-D3jNhOpW.js} +3 -3
- package/_assets/{native-jtr3FNWJ.js → native-cH_0VsVR.js} +2 -2
- package/_assets/{network-placeholder-Bx-MbMDF.js → network-placeholder-D5qcFSJX.js} +2 -2
- package/_assets/{networks-C2aXNTjz.js → networks-9q7XE_b5.js} +2 -2
- package/_assets/{nftPlaceholder-BsX6zBqg.js → nftPlaceholder-Cdllyb5L.js} +3 -3
- package/_assets/{off-CUpQ3Yl-.js → off-Cy19A7zA.js} +3 -3
- package/_assets/{onramp-O1jcL8Jv.js → onramp-WYoC_2JJ.js} +2 -2
- package/_assets/{openzeppelin-pn0x9_7g.js → openzeppelin-B26CxjRn.js} +2 -2
- package/_assets/ownerOf-CR-pYgie.js +2 -0
- package/_assets/parseNft-DoCeRtaz.js +3 -0
- package/_assets/{parseSignature-ClDd9ctx.js → parseSignature-CFwV_3Sj.js} +4 -4
- package/_assets/{parseSignature-CwllmTpV.js → parseSignature-QwU35EfM.js} +2 -2
- package/_assets/passkeys-BDSLI6JH.js +2 -0
- package/_assets/{pay-with-exchange-u7mlaUeL.js → pay-with-exchange-Dn2ZiQRJ.js} +2 -2
- package/_assets/{play-store-C298g5Zr.js → play-store-BqyyIuw-.js} +2 -2
- package/_assets/{plus-c1-ca8Km.js → plus-TKHoVUto.js} +3 -3
- package/_assets/{prepare-contract-call-aQCYu-2_.js → prepare-contract-call-C5MBXliq.js} +2 -2
- package/_assets/{qr-code-VlhVVdH4.js → qr-code-DNktFNYV.js} +2 -2
- package/_assets/{qr-overlay-D2LKsalO.js → qr-overlay-2y6p10sk.js} +4 -4
- package/_assets/{react-C_GXHmaF.js → react-BG8VKwrs.js} +3 -3
- package/_assets/{receive-B1y1THnu.js → receive-CGyG04lY.js} +2 -2
- package/_assets/{recycle-horizontal-Dkaylhpp.js → recycle-horizontal-D7wSarZ0.js} +2 -2
- package/_assets/{ref-DHpb_JDM.js → ref-ClbGTQC1.js} +3 -3
- package/_assets/{refresh-Ck2C1pkV.js → refresh-Ne9sq_3A.js} +2 -2
- package/_assets/{reown-logo-BLgzyruS.js → reown-logo-CTKEUi_d.js} +3 -3
- package/_assets/{resolveImplementation-BpDedJce.js → resolveImplementation-DLF7p0HK.js} +2 -2
- package/_assets/{resume-buy-CBx6aA8q.js → resume-buy-D6gjpV5I.js} +2 -2
- package/_assets/{rpc-BMJSyJ-r.js → rpc-DjqI0NmR.js} +4 -4
- package/_assets/sales-empty-BCFlZ1Kk.js +2 -0
- package/_assets/{search-empty-Bt5u-7KQ.js → search-empty-BpMm9tI6.js} +2 -2
- package/_assets/{search-B7IwOtLS.js → search-oltotRQx.js} +2 -2
- package/_assets/{secp256k1-DOdD1V3D.js → secp256k1-BqIlgE5L.js} +2 -2
- package/_assets/{secp256k1-BIyGdKEh.js → secp256k1-DRppp9VB.js} +2 -2
- package/_assets/{secp256k1-CJLNHxmq.js → secp256k1-UNqqlOQ7.js} +2 -2
- package/_assets/{send-Cpg_0X6f.js → send-CAaL-103.js} +2 -2
- package/_assets/{send-D0yR4mlq.js → send-avIcUC3Q.js} +2 -2
- package/_assets/send-batch-transaction-rKyhIytb.js +2 -0
- package/_assets/{send-eip712-transaction-CbVNTjsx.js → send-eip712-transaction-BoRspE2R.js} +3 -3
- package/_assets/send-gasless-transaction-xdY1TN2_.js +3 -0
- package/_assets/send-transaction-B3QVkcGi.js +3 -0
- package/_assets/{sendMetaTransaction-CRPN4vtr.js → sendMetaTransaction-Dhuf5w6N.js} +2 -2
- package/_assets/{sendRawTransaction-CEkpo9YD.js → sendRawTransaction-BbLkhJa0.js} +4 -4
- package/_assets/{sentry-D65FGJ82.js → sentry-eiNE_T77.js} +3 -3
- package/_assets/{serializeTransaction-BKHiYlY6.js → serializeTransaction-E2BUrxll.js} +2 -2
- package/_assets/{session-proposal-W3TvAC4B.js → session-proposal-Bs7GYJdO.js} +2 -2
- package/_assets/session-request-BUwswPeh.js +3 -0
- package/_assets/{sha256-oEZGwtly.js → sha256-QTFcttLy.js} +2 -2
- package/_assets/{sha3-Dt1DUgNG.js → sha3-BnLSGe3q.js} +2 -2
- package/_assets/{signing-DBeGLVac.js → signing-B7DPAVqs.js} +4 -4
- package/_assets/skeleton.styles-bancAmCI.js +8 -0
- package/_assets/{socials-VkpKzdCN.js → socials-Dw7-Rmzi.js} +2 -2
- package/_assets/{styled-TGb8kDRe.js → styled-BAp_hlJt.js} +3 -3
- package/_assets/{swapHorizontal-BN5KnB0R.js → swapHorizontal-AUQR3QWw.js} +2 -2
- package/_assets/{swapHorizontalBold-ui2X_0Pn.js → swapHorizontalBold-CJ-O8FMu.js} +3 -3
- package/_assets/{swapHorizontalMedium-CLLhrVwA.js → swapHorizontalMedium-C9_JLGaD.js} +2 -2
- package/_assets/{swapHorizontalRoundedBold-DSvQ6GmQ.js → swapHorizontalRoundedBold-CprcKnGZ.js} +3 -3
- package/_assets/{swapVertical-C77_weR3.js → swapVertical-C0UtEvQr.js} +3 -3
- package/_assets/{swaps-C677NWAF.js → swaps-D6QIvCFU.js} +2 -2
- package/_assets/{telegram-NiE4nQTP.js → telegram-BPHwvSxV.js} +2 -2
- package/_assets/{thirdweb-DvzfkQPe.js → thirdweb-CRRacliS.js} +4 -4
- package/_assets/{three-dots-DCiCRV1J.js → three-dots-CuMLURps.js} +3 -3
- package/_assets/{to-serializable-transaction-B7c7G16v.js → to-serializable-transaction-COhsgTk_.js} +3 -3
- package/_assets/totalSupply-DVGh8BDW.js +2 -0
- package/_assets/{transaction-DOQ-s_SN.js → transaction-BBI2xlTk.js} +2 -2
- package/_assets/{transactionReceipt-D4a33_Sm.js → transactionReceipt-DHzlWkC9.js} +2 -2
- package/_assets/transactions-_PP0VZjh.js +17 -0
- package/_assets/{twitch-CljYs_zu.js → twitch-BEksYNQy.js} +2 -2
- package/_assets/{twitterIcon-BV_SOaTk.js → twitterIcon-C-RbKp2J.js} +3 -3
- package/_assets/useCreditPacks-ZEO0PAYJ.js +2 -0
- package/_assets/useInfiniteGrid-D25SubwU.js +2 -0
- package/_assets/useStore-DTTkvsJu.js +3 -0
- package/_assets/useTheme-L-wqQk2z.js +2 -0
- package/_assets/{utils-CYQnfN0c.js → utils-BeknD1Pa.js} +2 -2
- package/_assets/{verify-Dp8FCc7I.js → verify-DX3fSqPA.js} +2 -2
- package/_assets/{verify-filled-oSUaVrok.js → verify-filled-rDNnAKA1.js} +3 -3
- package/_assets/{verifyHash-Czf56H_W.js → verifyHash-BlkIyJF8.js} +2 -2
- package/_assets/{w3m-modal-19iak0dY.js → w3m-modal-CDsMCGJp.js} +2 -2
- package/_assets/{w3m-modal-CeWf43o8.js → w3m-modal-DRHjwfPR.js} +2 -2
- package/_assets/wait-for-tx-receipt-T0TE-tdi.js +2 -0
- package/_assets/{wallet-CJoKG7Dz.js → wallet-BDmvD81m.js} +3 -3
- package/_assets/{wallet-COBn0v1U.js → wallet-Dgo2zwQv.js} +2 -2
- package/_assets/{wallet-placeholder-BSyNQtN-.js → wallet-placeholder-DD3BllZl.js} +3 -3
- package/_assets/{walletconnect-B5U8RBku.js → walletconnect-CeHvp7GG.js} +5 -5
- package/_assets/{wallets-CQYIfQO9.js → wallets-BkI_aTsn.js} +6 -6
- package/_assets/{warning-circle-CJPSee3J.js → warning-circle-0P7CyfRX.js} +3 -3
- package/_assets/{web-connector-heXILTnC.js → web-connector-BOVGNKko.js} +4 -4
- package/_assets/{writeContract-APOTf1eq.js → writeContract-DwmLxQPI.js} +2 -2
- package/_assets/{x-B5IgbBUZ.js → x-Dp_viDtj.js} +2 -2
- package/_assets/{zora-sepolia-1DuwJ8uh.js → zora-sepolia-BNz_fefw.js} +2 -2
- package/_assets/{zoraTestnet-ibhZsds7.js → zoraTestnet-k5nrTRiy.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Assets-B_m19TfJ.js +0 -939
- package/_assets/Collection-CdEOCK_y.js +0 -134
- package/_assets/DeploymentBuilder-BxCP4MSH.js +0 -4
- package/_assets/LoadMore-BB8sleTE.js +0 -8
- package/_assets/NotFound-DG-AwCXD.js +0 -18
- package/_assets/NotificationsBell-CK0ArqyF.js +0 -142
- package/_assets/PhCaretDown-D8Xqsou-.js +0 -15
- package/_assets/PhCaretLeft-QDAnkLG7.js +0 -15
- package/_assets/arrow-bottom-BVQmW3wa.js +0 -9
- package/_assets/authorizations-BYjpgv3b.js +0 -2
- package/_assets/builder-C4HS--V7.js +0 -2
- package/_assets/buy-BJEus4Gp.js +0 -2
- package/_assets/chevron-left-5PMBZUkw.js +0 -9
- package/_assets/chevron-right-C56uPsti.js +0 -9
- package/_assets/chevron-top-k_S8fIel.js +0 -9
- package/_assets/collectionPage.styles-_pJe5vLw.js +0 -41
- package/_assets/common-_ZNuQVUM.js +0 -2
- package/_assets/crumbs.styles-B6TaPU9d.js +0 -10
- package/_assets/cursor-L-UT_Ljd.js +0 -4
- package/_assets/decimals-CzyzeuYI.js +0 -2
- package/_assets/decimals-_qV5_pvn.js +0 -2
- package/_assets/detectExtension-bkDGZTpi.js +0 -2
- package/_assets/errors-DHFPyZxy.js +0 -2
- package/_assets/estimate-l1-fee-bH6XTCuI.js +0 -2
- package/_assets/eth_estimateGas-VrgXkggR.js +0 -2
- package/_assets/eth_getStorageAt-BLEzJJqj.js +0 -2
- package/_assets/eth_getTransactionCount-DYoKLABW.js +0 -2
- package/_assets/ethereum-BABCNi_L.js +0 -2
- package/_assets/fetchTokenMetadata-C7DE9Uxs.js +0 -3
- package/_assets/get-ecosystem-wallet-info-Q1xlzUZU.js +0 -2
- package/_assets/getNFT-CFemLn0s.js +0 -2
- package/_assets/grid.styles-DZkIcKLP.js +0 -15
- package/_assets/in-app-wallet-calls-BMlufmbQ.js +0 -2
- package/_assets/index-BEOAkPZT.js +0 -2
- package/_assets/index-BG3OAxWE.js +0 -2
- package/_assets/index-CGxgrphY.js +0 -28
- package/_assets/index-CsxNhtK5.js +0 -3
- package/_assets/index-Da0o410S.js +0 -4213
- package/_assets/jsxRuntime.module-DOXvkhfj.js +0 -2
- package/_assets/ownerOf-DJZLDMi3.js +0 -2
- package/_assets/parseNft-m7RdKHsH.js +0 -3
- package/_assets/passkeys-Qsl5qibW.js +0 -2
- package/_assets/sales-empty-EUAZrz0I.js +0 -2
- package/_assets/send-batch-transaction-Cqh67f7V.js +0 -2
- package/_assets/send-gasless-transaction-lK30JE_a.js +0 -3
- package/_assets/send-transaction-CNvlQqdF.js +0 -3
- package/_assets/session-request-BHfGowlq.js +0 -3
- package/_assets/skeleton.styles-CQQEuycy.js +0 -8
- package/_assets/totalSupply-ChWVOAsh.js +0 -2
- package/_assets/transactions-B-bzDvJD.js +0 -17
- package/_assets/useCreditPacks-B602cnLJ.js +0 -2
- package/_assets/useInfiniteGrid-nkax3tc1.js +0 -2
- package/_assets/useStore-Dd4P_Vxl.js +0 -3
- package/_assets/useTheme-B2xuq0IV.js +0 -2
- package/_assets/wait-for-tx-receipt-CeP1_Eo1.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{u as ce,j as e,L as Ie,d as Le,a as Me,r as L}from"./react-BG8VKwrs.js";import{u as _e,s as Re}from"./search-empty-BpMm9tI6.js";import{u as ze,S as Y,R as Ae,a as Te,b as Be,c as De,D as We,d as Oe,C as Ge,e as Ke,F as Ue,f as He,g as Ve,M as qe,h as Qe}from"./browseLayout.styles-DXvUud3S.js";import{d as de,bF as Je,ab as Z,aa as X,e as i,bG as Ye,H as Ze,bH as Xe,c as o,bI as et,bJ as ee,B as tt,o as he,a5 as ue,y as ot,D as me,bK as rt,bL as at,I as te,f as it,x as st,v as nt,ay as lt,O as ct,P as dt,S as M,Q as z,R as oe,bM as re,bN as ht}from"./index-CwvrGPbx.js";import{T as pe}from"./skeleton.styles-bancAmCI.js";import{d as ut,P as mt,C as pt,a as xt,b as gt,c as ft,e as bt}from"./collectionPage.styles-B9DFBjev.js";import{u as yt,L as wt}from"./useStore-DTTkvsJu.js";import{L as ae}from"./LoadMore-Cr-mnVTu.js";import{u as ie}from"./useInfiniteGrid-D25SubwU.js";import{S as vt}from"./categories-v7iHQh9a.js";import{E as A}from"./ErrorNotice-nSEXNWXK.js";import{c as jt,i as Ct}from"./items-empty-CDQLWT4f.js";import{G as se}from"./grid.styles-D8y3Md9p.js";import"./dcl-schemas-BEn5-KfC.js";import"./sentry-eiNE_T77.js";import"./ethers-DsAoqs4p.js";import"./intl-AKLEHPeO.js";import"./crumbs.styles-B0j-GlvV.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new r.Error().stack;a&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[a]="34614a4a-b942-48c9-ac09-5acea75648c1",r._sentryDebugIdIdentifier="sentry-dbid-34614a4a-b942-48c9-ac09-5acea75648c1")}catch{}})();function kt(r){const{gridLoading:a,gridError:s,gridCount:l,baselinePending:c,baselineError:d,baselineCount:b}=r;return a?"skeletons":s?"error":l>0?"items":c?"skeletons":d?"error":b===0?"no-creations":"filters"}const{colors:y,radius:$,media:$t}=de,St=i.article`
|
|
2
2
|
height: 300px;
|
|
3
3
|
/* No fill of its own (Figma 922:183803): the mosaic covers the top and the footer paints its own
|
|
4
4
|
translucent black, so the page field is what shows through the corners. */
|
|
@@ -12,7 +12,7 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
12
12
|
transition: box-shadow 0.15s ease;
|
|
13
13
|
|
|
14
14
|
&::after {
|
|
15
|
-
${
|
|
15
|
+
${Je};
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
&:focus-visible {
|
|
@@ -42,38 +42,38 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
42
42
|
visibility: hidden;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
`,Nt=
|
|
45
|
+
`,Nt=i.div`
|
|
46
46
|
position: relative;
|
|
47
47
|
flex: 1;
|
|
48
48
|
min-height: 0;
|
|
49
|
-
background: ${
|
|
49
|
+
background: ${y.media};
|
|
50
50
|
overflow: hidden;
|
|
51
51
|
border-radius: ${$.card} ${$.card} 0 0;
|
|
52
|
-
`,Et=
|
|
52
|
+
`,Et=i.img`
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 100%;
|
|
55
55
|
object-fit: cover;
|
|
56
56
|
display: block;
|
|
57
|
-
`,Pt=
|
|
57
|
+
`,Pt=i(Ye)`
|
|
58
58
|
& [data-testid='coll-thumb-cell'] img {
|
|
59
59
|
object-fit: contain;
|
|
60
60
|
padding: 10px;
|
|
61
61
|
}
|
|
62
|
-
`,Ft=
|
|
62
|
+
`,Ft=i.div`
|
|
63
63
|
flex: 0 0 102px;
|
|
64
64
|
height: 102px;
|
|
65
65
|
padding: 12px 12px 16px 16px;
|
|
66
66
|
display: flex;
|
|
67
67
|
flex-direction: column;
|
|
68
68
|
gap: 8px;
|
|
69
|
-
background: ${
|
|
69
|
+
background: ${y.overlay};
|
|
70
70
|
border-radius: 0 0 ${$.card} ${$.card};
|
|
71
|
-
`,It=
|
|
71
|
+
`,It=i.h3`
|
|
72
72
|
margin: 0;
|
|
73
73
|
font-weight: 700;
|
|
74
74
|
font-size: 16px;
|
|
75
75
|
line-height: 1.6;
|
|
76
|
-
color: ${
|
|
76
|
+
color: ${y.white};
|
|
77
77
|
white-space: nowrap;
|
|
78
78
|
overflow: hidden;
|
|
79
79
|
text-overflow: ellipsis;
|
|
@@ -81,7 +81,7 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
81
81
|
${$t.maxWidth("mobile")} {
|
|
82
82
|
font-size: 16px;
|
|
83
83
|
}
|
|
84
|
-
`,Lt=
|
|
84
|
+
`,Lt=i.div`
|
|
85
85
|
flex: 1;
|
|
86
86
|
min-height: 0;
|
|
87
87
|
display: grid;
|
|
@@ -91,14 +91,14 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
91
91
|
& > * {
|
|
92
92
|
grid-area: stack;
|
|
93
93
|
}
|
|
94
|
-
`,Mt=
|
|
94
|
+
`,Mt=i.div`
|
|
95
95
|
display: flex;
|
|
96
96
|
align-items: center;
|
|
97
97
|
justify-content: space-between;
|
|
98
98
|
gap: 10px;
|
|
99
|
-
`,_t=
|
|
99
|
+
`,_t=i(Ze)`
|
|
100
100
|
min-width: 0;
|
|
101
|
-
color: ${
|
|
101
|
+
color: ${y.gray4};
|
|
102
102
|
|
|
103
103
|
& [data-avatar] {
|
|
104
104
|
width: 24px;
|
|
@@ -108,26 +108,26 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
108
108
|
font-size: 14px;
|
|
109
109
|
}
|
|
110
110
|
& [data-testid='creator-display'] {
|
|
111
|
-
color: ${
|
|
111
|
+
color: ${y.white};
|
|
112
112
|
font-weight: 600;
|
|
113
113
|
}
|
|
114
|
-
`,
|
|
114
|
+
`,Rt=i.span`
|
|
115
115
|
min-width: 0;
|
|
116
|
-
`,zt=
|
|
116
|
+
`,zt=i.span`
|
|
117
117
|
flex: none;
|
|
118
|
-
color: ${
|
|
118
|
+
color: ${y.gray4};
|
|
119
119
|
font-weight: 600;
|
|
120
120
|
font-size: 14px;
|
|
121
121
|
white-space: nowrap;
|
|
122
|
-
`,
|
|
122
|
+
`,At=i.button`
|
|
123
123
|
visibility: hidden;
|
|
124
124
|
width: 100%;
|
|
125
125
|
height: 46px;
|
|
126
126
|
display: flex;
|
|
127
127
|
align-items: center;
|
|
128
128
|
justify-content: center;
|
|
129
|
-
background: ${
|
|
130
|
-
color: ${
|
|
129
|
+
background: ${y.overlay};
|
|
130
|
+
color: ${y.softWhite};
|
|
131
131
|
border: 0;
|
|
132
132
|
border-radius: ${$.card};
|
|
133
133
|
font-weight: 600;
|
|
@@ -139,9 +139,9 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
139
139
|
|
|
140
140
|
&:hover,
|
|
141
141
|
&:active {
|
|
142
|
-
background: ${
|
|
142
|
+
background: ${y.text2};
|
|
143
143
|
}
|
|
144
|
-
`;function
|
|
144
|
+
`;function Tt({collection:r,cover:a,itemCount:s}){const l=ce(),{contractAddress:c,name:d,creator:b}=r,j=a==null||s==null,{data:n}=Xe(c,j),g=a==null?(n==null?void 0:n.items)??[]:[],f=s??(n==null?void 0:n.total);function h(){l(`/collection/${c}`)}return e.jsxs(St,{"data-testid":"coll-card",role:"link",tabIndex:0,onClick:h,onKeyDown:m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),h())},children:[e.jsx(Nt,{children:a?e.jsx(Et,{"data-testid":"coll-card-img",src:a,alt:"",loading:"lazy"}):g.length>0?e.jsx(Pt,{items:g,tinted:!1}):null}),e.jsxs(Ft,{children:[e.jsx(It,{title:d,children:d}),e.jsxs(Lt,{children:[e.jsxs(Mt,{"data-meta":!0,"data-testid":"coll-card-meta",children:[b?e.jsx(_t,{address:b,linkToProfile:!0}):e.jsx(Rt,{children:" "}),e.jsx(zt,{"data-testid":"coll-card-count","aria-busy":f==null||void 0,children:f==null?e.jsx(pe,{className:"skeleton",width:54,"data-testid":"coll-card-count-skeleton","aria-hidden":!0}):o("collectionCard.itemCount",{count:f})})]}),e.jsx(At,{"data-view":!0,"data-testid":"coll-card-view",onClick:m=>{m.stopPropagation(),h()},tabIndex:-1,children:o("collectionCard.viewCollection")})]})]})]})}function Bt({address:r,className:a=""}){const s=et(),l=ee(d=>d.followed.includes(r.toLowerCase())),c=ee(d=>d.toggle);return!s||!r?null:e.jsx(tt,{type:"button",size:"sm",variant:l?"ghost":"outline",className:a||void 0,"data-testid":"follow-button","aria-pressed":l,title:l?o("creator.unfollowTitle"):o("creator.followTitle"),onClick:()=>c(r),children:l?o("creator.following"):o("creator.follow")})}const{colors:w,radius:xe,media:v}=de,ge=he`
|
|
145
145
|
display: inline-flex;
|
|
146
146
|
align-items: center;
|
|
147
147
|
justify-content: center;
|
|
@@ -149,13 +149,13 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
149
149
|
padding: 0 28px;
|
|
150
150
|
border-radius: ${xe.btn};
|
|
151
151
|
background: rgba(0, 0, 0, 0.5);
|
|
152
|
-
color: ${
|
|
152
|
+
color: ${w.white};
|
|
153
153
|
font-weight: 600;
|
|
154
154
|
font-size: 13px;
|
|
155
155
|
text-transform: uppercase;
|
|
156
156
|
letter-spacing: 0.046em;
|
|
157
157
|
text-decoration: none;
|
|
158
|
-
`,Dt=
|
|
158
|
+
`,Dt=i.section`
|
|
159
159
|
position: relative;
|
|
160
160
|
border-radius: ${xe.card};
|
|
161
161
|
overflow: hidden;
|
|
@@ -169,26 +169,26 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
169
169
|
${ge};
|
|
170
170
|
}
|
|
171
171
|
&& .creator-hero__follow:hover:not(:disabled) {
|
|
172
|
-
background: ${
|
|
172
|
+
background: ${w.blackBtn};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
${v.maxWidth("mobile")} {
|
|
176
176
|
min-height: 260px;
|
|
177
177
|
}
|
|
178
|
-
`,Wt=
|
|
178
|
+
`,Wt=i.div`
|
|
179
179
|
position: absolute;
|
|
180
180
|
inset: 0;
|
|
181
181
|
z-index: 0;
|
|
182
|
-
`,Ot=
|
|
182
|
+
`,Ot=i.img`
|
|
183
183
|
width: 100%;
|
|
184
184
|
height: 100%;
|
|
185
185
|
object-fit: cover;
|
|
186
186
|
display: block;
|
|
187
|
-
`,Gt=
|
|
187
|
+
`,Gt=i.div`
|
|
188
188
|
position: absolute;
|
|
189
189
|
inset: 0;
|
|
190
190
|
background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
|
|
191
|
-
`,Kt=
|
|
191
|
+
`,Kt=i.div`
|
|
192
192
|
position: absolute;
|
|
193
193
|
top: 16px;
|
|
194
194
|
right: 16px;
|
|
@@ -206,7 +206,7 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
206
206
|
display: flex;
|
|
207
207
|
align-items: center;
|
|
208
208
|
justify-content: center;
|
|
209
|
-
color: ${
|
|
209
|
+
color: ${w.white};
|
|
210
210
|
transition: opacity 0.15s linear;
|
|
211
211
|
|
|
212
212
|
&:hover {
|
|
@@ -222,14 +222,14 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
222
222
|
height: 30px;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
`,Ut=
|
|
225
|
+
`,Ut=i.a`
|
|
226
226
|
${fe};
|
|
227
|
-
`,Ht=
|
|
227
|
+
`,Ht=i(Ie)`
|
|
228
228
|
${fe};
|
|
229
229
|
width: 32px;
|
|
230
230
|
height: 32px;
|
|
231
231
|
border-radius: 50%;
|
|
232
|
-
border: 2px solid ${
|
|
232
|
+
border: 2px solid ${w.white};
|
|
233
233
|
transition: background-color 0.15s linear;
|
|
234
234
|
|
|
235
235
|
&:hover {
|
|
@@ -248,7 +248,7 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
248
248
|
height: 14px;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
`,
|
|
251
|
+
`,Vt=i.div`
|
|
252
252
|
position: relative;
|
|
253
253
|
z-index: 1;
|
|
254
254
|
display: flex;
|
|
@@ -261,13 +261,13 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
261
261
|
${v.maxWidth("mobile")} {
|
|
262
262
|
padding: 56px 16px 24px;
|
|
263
263
|
}
|
|
264
|
-
`,ne=
|
|
264
|
+
`,ne=i.img`
|
|
265
265
|
display: block;
|
|
266
266
|
width: 112px;
|
|
267
267
|
height: 112px;
|
|
268
268
|
border-radius: 50%;
|
|
269
269
|
object-fit: cover;
|
|
270
|
-
border: 4px solid ${
|
|
270
|
+
border: 4px solid ${w.white};
|
|
271
271
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
|
|
272
272
|
background: #ff4bed;
|
|
273
273
|
|
|
@@ -275,38 +275,38 @@ import{b as ce,j as e,L as Ie,d as Le,u as Me,r as L}from"./react-C_GXHmaF.js";i
|
|
|
275
275
|
width: 88px;
|
|
276
276
|
height: 88px;
|
|
277
277
|
}
|
|
278
|
-
`,
|
|
278
|
+
`,qt=i.h2`
|
|
279
279
|
margin: 0;
|
|
280
280
|
font-size: 18px;
|
|
281
281
|
font-weight: 700;
|
|
282
|
-
color: ${
|
|
282
|
+
color: ${w.white};
|
|
283
283
|
line-height: 1.6;
|
|
284
284
|
|
|
285
285
|
${v.maxWidth("mobile")} {
|
|
286
286
|
font-size: 16px;
|
|
287
287
|
}
|
|
288
|
-
`,
|
|
288
|
+
`,Qt=i.p`
|
|
289
289
|
margin: 0;
|
|
290
290
|
font-size: 15px;
|
|
291
|
-
color: ${
|
|
291
|
+
color: ${w.white};
|
|
292
292
|
line-height: 1.6;
|
|
293
293
|
max-width: 520px;
|
|
294
294
|
|
|
295
295
|
${v.maxWidth("mobile")} {
|
|
296
296
|
font-size: 14px;
|
|
297
297
|
}
|
|
298
|
-
`,
|
|
298
|
+
`,Jt=i.div`
|
|
299
299
|
display: flex;
|
|
300
300
|
align-items: center;
|
|
301
301
|
gap: 12px;
|
|
302
302
|
flex-wrap: wrap;
|
|
303
303
|
justify-content: center;
|
|
304
|
-
`,Yt=
|
|
304
|
+
`,Yt=i.a`
|
|
305
305
|
${ge};
|
|
306
306
|
transition: background 0.15s ease;
|
|
307
307
|
|
|
308
308
|
&:hover {
|
|
309
|
-
background: ${
|
|
309
|
+
background: ${w.blackBtn};
|
|
310
310
|
}
|
|
311
|
-
`,Zt={website:"website",twitter:"twitter",discord:"discord",facebook:"facebook"};function Xt({address:r}){var m,C;const{data:
|
|
312
|
-
//# sourceMappingURL=Creator-
|
|
311
|
+
`,Zt={website:"website",twitter:"twitter",discord:"discord",facebook:"facebook"};function Xt({address:r}){var m,C;const{data:a}=ue(r),{data:s}=yt(r),l=ot(p=>{var S;return(S=p.session)==null?void 0:S.address}),c=!!l&&l.toLowerCase()===r.toLowerCase(),d=(a==null?void 0:a.name)||me(r),b=(C=(m=a==null?void 0:a.avatar)==null?void 0:m.snapshots)==null?void 0:C.face256,j=(s==null?void 0:s.cover)||ut,n=s==null?void 0:s.description,g=`${it.profileUrl}/${r}`,f=wt.filter(p=>s==null?void 0:s.links[p]),h=rt(at({name:a==null?void 0:a.name,hasClaimedName:a==null?void 0:a.hasClaimedName,ethAddress:(a==null?void 0:a.ethAddress)??r}));return e.jsxs(Dt,{"aria-label":`${d} storefront`,children:[e.jsxs(Wt,{children:[e.jsx(Ot,{src:j,alt:"",loading:"eager"}),e.jsx(Gt,{"aria-hidden":!0})]}),(f.length>0||c)&&e.jsxs(Kt,{children:[f.map(p=>e.jsx(Ut,{"data-testid":"creator-hero-link",href:(s==null?void 0:s.links[p])??"",target:"_blank",rel:"noopener noreferrer",title:o(`creator.link.${p}`),"aria-label":o(`creator.link.${p}`),children:e.jsx(te,{name:Zt[p]})},p)),c&&e.jsx(Ht,{to:"/store-settings",title:o("creator.editStore"),"aria-label":o("creator.editStore"),children:e.jsx(te,{name:"pen"})})]}),e.jsxs(Vt,{children:[b?e.jsx(ne,{src:b,alt:"",loading:"eager",style:{backgroundColor:h}}):e.jsx(ne,{as:"span","aria-hidden":!0,style:{backgroundColor:h}}),e.jsxs("div",{children:[e.jsx(qt,{children:d}),n?e.jsx(Qt,{children:n}):null]}),e.jsxs(Jt,{children:[e.jsx(Yt,{"data-testid":"creator-hero-view",href:g,target:"_blank",rel:"noopener noreferrer",children:o("creator.viewProfile")}),e.jsx(Bt,{address:r,className:"creator-hero__follow"})]})]})]})}const eo=["all","on_sale","not_for_sale"],le=48;function wo(){var Q,J;const{address:r}=Le(),a=ce(),[s]=Me(),l=s.has("collections"),{data:c}=ue(r),d=(c==null?void 0:c.name)||(r?me(r):o("creator.fallbackName"));st({title:d,description:o("seo.creator.description",{name:d}),image:(J=(Q=c==null?void 0:c.avatar)==null?void 0:Q.snapshots)==null?void 0:J.face256});const b=L.useMemo(()=>({category:"all",status:"all",subCategory:null,rarities:[],priceMin:"",priceMax:"",smart:!1,sort:"newest"}),[]),[j,n]=_e(b),{category:g,subCategory:f,rarities:h,priceMin:m,priceMax:C,smart:p,sort:S}=j,N=eo.includes(j.status)?j.status:"all",T=t=>n({status:t});ze(`${l}:${g}:${f??""}`);const[P,E]=L.useState(!1);L.useEffect(()=>{if(!P)return;const t=Fe=>{Fe.key==="Escape"&&E(!1)};document.addEventListener("keydown",t);const x=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=x}},[P]);const B=m&&!Number.isNaN(Number(m))?Number(m):void 0,D=C&&!Number.isNaN(Number(C))?Number(C):void 0,be=f?vt[f]:void 0,ye=(Y.find(t=>t.key===S)??Y[0]).server,W={creator:r,category:g,rarities:h.length?h:void 0,wearableCategories:be,minPriceCredits:B,maxPriceCredits:D,isWearableSmart:p||void 0,isOnSale:N==="all"?void 0:N==="on_sale",sortBy:ye},{items:_,total:we,isLoading:ve,isPlaceholderData:je,error:O,hasNextPage:Ce,isFetchingNextPage:G,isFetchNextPageError:ke,fetchNextPage:$e}=ie(["creator-items",W],t=>re({...W,first:le,skip:t}),{enabled:!!r&&!l}),F=nt({queryKey:["creator-item-count",r],queryFn:()=>re({creator:r,first:1}).then(t=>t.total),enabled:!!r}),u=ie(["creator-collections",r],t=>ht(r,{first:le,skip:t}).then(x=>({items:x.collections,total:x.total})),{enabled:!!r&&l});function K(t){n({category:t,subCategory:null},{drop:l?["collections"]:void 0})}function Se(){const t=new URLSearchParams(s);t.delete("collections");const x=t.toString();a({search:x?`?${x}`:""},{replace:!0})}function Ne(){if(l){Se();return}const t=new URLSearchParams(s);t.delete("collections");const x=t.toString();a({search:x?`?${x}&collections`:"?collections"},{replace:!0})}function U(t){n({rarities:h.includes(t)?h.filter(x=>x!==t):[...h,t]})}function H(){n(b)}const k=[];(g==="wearable"||g==="emote")&&k.push({key:"category",label:o(g==="emote"?"categories.emotes":"categories.wearables"),onRemove:()=>K("all")}),(B!=null||D!=null)&&k.push({key:"price",label:o("filter.price"),onRemove:()=>{n({priceMin:"",priceMax:""})}});for(const t of Ae)h.includes(t)&&k.push({key:`rarity-${t}`,label:lt(t),onRemove:()=>U(t)});p&&k.push({key:"smart",label:o("filter.smart"),onRemove:()=>n({smart:!1})}),N!=="all"&&k.push({key:"status",label:N==="on_sale"?o("filter.onSale"):o("filter.notForSale"),onRemove:()=>T("all")});const I=kt({gridLoading:ve||je,gridError:!!O,gridCount:_.length,baselinePending:F.isPending,baselineError:F.isError,baselineCount:F.data}),V=I==="skeletons",{data:q}=ct(),Ee=L.useMemo(()=>_.map(t=>({...t,priceCredits:dt(t,q)})),[_,q]),Pe=t=>t.priceCredits>0||!!t.manaWei,R=I==="items"||I==="skeletons"?null:I;return e.jsxs(mt,{children:[e.jsxs(pt,{"aria-label":o("creator.breadcrumbAria"),children:[e.jsx(xt,{onClick:()=>a("/items"),children:o("creator.breadcrumb")}),e.jsx("span",{children:"/"}),e.jsx(gt,{children:d})]}),r?e.jsx(Xt,{address:r}):null,e.jsxs(Te,{children:[P?e.jsx(Be,{onClick:()=>E(!1),"aria-hidden":!0}):null,e.jsxs(De,{"data-open":P||void 0,"data-testid":"creator-sidebar",children:[e.jsxs(We,{children:[e.jsx(Oe,{children:o("assets.filters")}),e.jsx(Ge,{onClick:()=>E(!1),"aria-label":o("assets.closeFilters"),children:"✕"})]}),e.jsx(Ke,{children:e.jsx(Ue,{category:g,subCategory:f,onCategory:K,onSub:t=>n({subCategory:t}),priceMin:m,priceMax:C,onPriceMin:t=>n({priceMin:t}),onPriceMax:t=>n({priceMax:t}),rarities:h,onToggleRarity:U,status:N,onStatus:T,smart:p,onSmart:t=>n({smart:t}),hideNames:!0,collections:l,onCollections:Ne})}),e.jsx(He,{children:e.jsx(Ve,{type:"button",onClick:()=>E(!1),children:o("assets.showItems")})})]}),e.jsx(qe,{children:l?e.jsxs(e.Fragment,{children:[e.jsx(ft,{children:e.jsx(bt,{"data-testid":"creator-collections-count","aria-busy":u.isLoading||void 0,children:u.isLoading?e.jsx(pe,{className:"skeleton",width:72,"data-testid":"creator-collections-count-skeleton","aria-hidden":!0}):o("creator.collectionsCount",{count:u.total})})}),u.error?e.jsx(A,{message:o("creator.error")}):null,e.jsx(se,{"data-variant":"collections",children:u.isLoading?e.jsx(M,{count:9}):e.jsxs(e.Fragment,{children:[u.items.map(t=>e.jsx(Tt,{collection:t,itemCount:t.itemCount},t.contractAddress)),u.isFetchingNextPage?e.jsx(M,{count:6}):null]})}),e.jsx(ae,{hasNextPage:u.hasNextPage,isFetching:u.isFetchingNextPage,isError:u.isFetchNextPageError,onLoadMore:()=>void u.fetchNextPage()}),!u.isLoading&&!u.error&&u.items.length===0?e.jsx(z,{testId:"creator-collections-empty",icon:jt,title:o("creator.collectionsEmptyTitle"),body:o("creator.collectionsEmpty"),cta:{label:o("assets.empty.cta"),to:"/items"}}):null]}):e.jsxs(e.Fragment,{children:[e.jsx(Qe,{sort:S,onSort:t=>n({sort:t}),total:we,loading:V,onOpenFilters:()=>E(!0),chips:k,onClearChips:H}),O?e.jsx(A,{message:o("creator.error"),testId:"creator-error"}):null,e.jsx(se,{"data-testid":"creator-grid",children:V?e.jsx(M,{count:15}):e.jsxs(e.Fragment,{children:[Ee.map(t=>Pe(t)?e.jsx(oe,{item:t},t.id):e.jsx(oe,{item:t,mode:"view"},t.id)),G?e.jsx(M,{count:6}):null]})}),e.jsx(ae,{hasNextPage:Ce,isFetching:G,isError:ke,onLoadMore:()=>void $e()}),R==="error"?e.jsx(A,{message:o("creator.error"),testId:"creator-empty-error"}):R==="no-creations"?e.jsx(z,{testId:"creator-empty-none",icon:Ct,title:o("creator.emptyNoCreationsTitle"),body:o("creator.emptyNoCreations"),cta:{label:o("assets.empty.cta"),to:"/items"}}):R==="filters"?e.jsx(z,{testId:"creator-empty-filters",icon:Re,title:o("creator.emptyFilters.title"),body:o("creator.emptyFilters.body",{count:F.data??0}),cta:{label:o("filterBar.clearAll"),onClick:H}}):null]})})]})]})}export{wo as Creator,wo as default};
|
|
312
|
+
//# sourceMappingURL=Creator-BJL4gekm.js.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{g as I}from"./react-BG8VKwrs.js";import{r as H}from"./index-D5norgxm.js";import{r as M}from"./dcl-schemas-BEn5-KfC.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},u=new o.Error().stack;u&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[u]="d1b3bf77-2554-4d74-a30b-3730e4146b32",o._sentryDebugIdIdentifier="sentry-dbid-d1b3bf77-2554-4d74-a30b-3730e4146b32")}catch{}})();function O(o,u){for(var w=0;w<u.length;w++){const h=u[w];if(typeof h!="string"&&!Array.isArray(h)){for(const b in h)if(b!=="default"&&!(b in o)){const g=Object.getOwnPropertyDescriptor(h,b);g&&Object.defineProperty(o,b,g.get?g:{enumerable:!0,get:()=>h[b]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var f={},F;function C(){if(F)return f;F=1,Object.defineProperty(f,"__esModule",{value:!0}),f.getHashesByKey=f.buildEntityWithoutNewFiles=f.buildEntity=f.buildEntityAndFile=void 0;const o=H(),u=M();async function w({type:n,pointers:t,timestamp:e,content:a,metadata:r}){var i;if(t.length===0)throw new Error("All entities must have at least one pointer.");const d={version:"v3",type:n,pointers:t,timestamp:e,content:a,metadata:r};if(a){const s=new Set;for(const p of a){const E=p.file.toLowerCase();if(s.has(E))throw new Error(`Error creating the deployable entity: Decentraland's file system is case insensitive, the file ${JSON.stringify(p.file)} is repeated`);s.add(E)}}const y=new TextEncoder().encode(JSON.stringify(d)),l={id:await(0,o.hashV1)(y),...d};if(!u.Entity.validate(l))throw new Error(`Generated entity is not valid:
|
|
2
|
+
`+((i=u.Entity.validate.errors)===null||i===void 0?void 0:i.map(s=>s.message).join(`
|
|
3
|
+
`)));return{entity:l,entityFile:y}}f.buildEntityAndFile=w;async function h({type:n,pointers:t,files:e,metadata:a,timestamp:r}){const i=Array.from(e||[]).map(([l,s])=>({key:l,content:s})),d=await Promise.all(i.map(async({key:l,content:s})=>({key:l,content:s,hash:await(0,o.hashV1)(s)}))),y=new Map(d.map(({hash:l,key:s})=>[s,l])),c=new Map(d.map(({hash:l,content:s})=>[l,s]));return g(n,t,{hashesByKey:y,filesByHash:c,metadata:a,timestamp:r})}f.buildEntity=h;async function b(n,{contentUrl:t,type:e,pointers:a,hashesByKey:r,metadata:i,timestamp:d}){const y=r??i?m(i):void 0;if(y&&D(e,y)){const c=await _(n,t,y),l=await A(c,i);return h({type:e,pointers:a,files:c,metadata:l,timestamp:d})}return g(e,a,{hashesByKey:r,metadata:i,timestamp:d})}f.buildEntityWithoutNewFiles=b;async function g(n,t,e){if(t.length===0)throw new Error("All entities must have at least one pointer.");const a=e!=null&&e.hashesByKey?e==null?void 0:e.hashesByKey:new Map,r=Array.from(a.entries()).map(([l,s])=>({file:l,hash:s})),i=e!=null&&e.timestamp?e==null?void 0:e.timestamp:Date.now(),{entity:d,entityFile:y}=await w({type:n,pointers:t,timestamp:i,content:r,metadata:e==null?void 0:e.metadata}),c=e!=null&&e.filesByHash?e.filesByHash:new Map;return c.set(d.id,y),{files:c,entityId:d.id}}function D(n,t){return n===u.EntityType.PROFILE&&Array.from(t).some(([,e])=>e.toLowerCase().startsWith("qm"))}async function v(n,t){const a=await(await n.fetch(t)).arrayBuffer();return new Uint8Array(a)}async function _(n,t,e){const a=e.get("body.png"),r=e.get("face256.png"),i=new URL(`${t}/contents/${a}`).toString(),d=new URL(`${t}/contents/${r}`).toString(),[y,c]=await Promise.all([v(n,i),v(n,d)]);return new Map([["body.png",y],["face256.png",c]])}async function A(n,t){return t&&(t.avatars=await Promise.all(t.avatars.map(async e=>{const a={face256:"",body:""},r=n.get("face256.png");r&&(a.face256=await(0,o.hashV1)(r));const i=n.get("body.png");return i&&(a.body=await(0,o.hashV1)(i)),e.avatar.snapshots=a,e})),t)}function m(n){const t=n.avatars[0];if(t.avatar.snapshots)return new Map([["body.png",t.avatar.snapshots.body],["face256.png",t.avatar.snapshots.face256]])}return f.getHashesByKey=m,f}var B=C();const P=I(B),j=O({__proto__:null,default:P},[B]);export{j as D};
|
|
4
|
+
//# sourceMappingURL=DeploymentBuilder-Cjkaft-R.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-
|
|
2
|
-
import{j as r,r as s}from"./react-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-BSvARysd.js","_assets/react-BG8VKwrs.js","_assets/dcl-schemas-BEn5-KfC.js","_assets/index-CwvrGPbx.js","_assets/sentry-eiNE_T77.js","_assets/ethers-DsAoqs4p.js","_assets/intl-AKLEHPeO.js","_assets/index-DWaYKcdc.css","_assets/createSvgIcon-DxzmVGNY.js","_assets/emotion-styled.browser.esm-BJIlADB7.js","_assets/styled-BAp_hlJt.js","_assets/index-noVH-Q6R.js","_assets/useTheme-L-wqQk2z.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{j as r,r as s}from"./react-BG8VKwrs.js";import{_ as n,d,e as p}from"./index-CwvrGPbx.js";import{E as u}from"./sentry-eiNE_T77.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="b0605d40-d07a-482a-8456-99437c17f56a",t._sentryDebugIdIdentifier="sentry-dbid-b0605d40-d07a-482a-8456-99437c17f56a")}catch{}})();const l=s.lazy(async()=>{const[{EmoteControls:t},{Experimental_CssVarsProvider:o},{light:a}]=await Promise.all([n(()=>import("./index-BSvARysd.js").then(i=>i.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])),n(()=>import("./index-noVH-Q6R.js"),__vite__mapDeps([11,3,1,2,4,5,6,7,12,10])),n(()=>import("./index-CwvrGPbx.js").then(i=>i.dE),__vite__mapDeps([3,1,2,4,5,6,7]))]);return{default:i=>r.jsx(o,{theme:a,children:r.jsx(t,{...i})})}});function c(t){return r.jsx(u,{fallback:r.jsx(r.Fragment,{}),children:r.jsx(s.Suspense,{fallback:null,children:r.jsx(l,{...t})})})}const{colors:e,radius:x}=d,g=p.div`
|
|
3
3
|
/* Doubled class: a preview panel may size its children greedily (ItemDetail's stretches every child to
|
|
4
4
|
fill the stage), and the bar's own geometry has to win that whichever order the styles land in. */
|
|
5
5
|
&& {
|
|
@@ -118,4 +118,4 @@ import{j as r,r as s}from"./react-C_GXHmaF.js";import{_ as n,t as d,a as p}from"
|
|
|
118
118
|
outline-offset: 2px;
|
|
119
119
|
}
|
|
120
120
|
`;function f({previewId:t,testId:o="emote-controls"}){return r.jsx(g,{"data-preview-controls":!0,"data-testid":o,children:r.jsx(c,{wearablePreviewId:t,hideFrameInput:!0})})}export{f as E};
|
|
121
|
-
//# sourceMappingURL=EmotePlaybackBar-
|
|
121
|
+
//# sourceMappingURL=EmotePlaybackBar-BPKSzBrx.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{j as n}from"./react-
|
|
2
|
-
//# sourceMappingURL=ErrorNotice-
|
|
1
|
+
import{j as n}from"./react-BG8VKwrs.js";import{I as o}from"./index-CwvrGPbx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c67eed24-9c07-42e3-aafe-ecbed75d6f90",e._sentryDebugIdIdentifier="sentry-dbid-c67eed24-9c07-42e3-aafe-ecbed75d6f90")}catch{}})();function i({message:e,className:r,testId:t}){return e?n.jsxs("p",{className:r?`error-notice ${r}`:"error-notice","data-testid":t,role:"alert",children:[n.jsx(o,{name:"alert",className:"error-notice__ico",size:18}),n.jsx("span",{className:"error-notice__msg",children:e})]}):null}export{i as E};
|
|
2
|
+
//# sourceMappingURL=ErrorNotice-nSEXNWXK.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{u as m,r as p,j as r}from"./react-BG8VKwrs.js";import{u,a as f,b,l as g,t as y,c as n}from"./index-CwvrGPbx.js";import{Assets as x}from"./Assets-rO2myygc.js";import"./dcl-schemas-BEn5-KfC.js";import"./sentry-eiNE_T77.js";import"./ethers-DsAoqs4p.js";import"./intl-AKLEHPeO.js";import"./search-empty-BpMm9tI6.js";import"./browseLayout.styles-DXvUud3S.js";import"./categories-v7iHQh9a.js";import"./skeleton.styles-bancAmCI.js";import"./LoadMore-Cr-mnVTu.js";import"./useInfiniteGrid-D25SubwU.js";import"./ErrorNotice-nSEXNWXK.js";import"./buy-gasless-DiikOGgv.js";import"./authorizations-D-BlJBCy.js";import"./sendMetaTransaction-Dhuf5w6N.js";import"./buy-DTXSyPtH.js";import"./errors-wEpZJGJP.js";import"./name-glyph-aUugT8vq.js";import"./crumbs.styles-B0j-GlvV.js";import"./grid.styles-D8y3Md9p.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f88dc570-e06b-4407-9b6e-92a650b9910c",e._sentryDebugIdIdentifier="sentry-dbid-f88dc570-e06b-4407-9b6e-92a650b9910c")}catch{}})();function H(){const e=m(),o=u(l=>l.locale),{campaign:t,isPending:i}=f(),{contracts:a,isPending:c}=b((t==null?void 0:t.tags)??[]),s=!i&&!(t!=null&&t.mainTag);if(p.useEffect(()=>{s&&e("/items",{replace:!0})},[s,e]),i||c||s)return r.jsx("div",{className:"page-loading","aria-busy":"true",children:r.jsx("span",{className:"spinner","aria-hidden":!0})});const d=g(t==null?void 0:t.tabName,y(o))??(t==null?void 0:t.name)??"";return r.jsx(x,{contracts:a,hideNames:!0,lockStatus:"on_sale",seo:{title:d||n("seo.collectibles.title"),description:n("seo.collectibles.description"),noindex:!0}})}export{H as Event};
|
|
2
|
+
//# sourceMappingURL=Event-mTDtnPdT.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{C as p,E as h,b as f,S as E,d as k,O as U,N as A,g as P,B as x,e as N,i as I,p as _}from"./W3MFrameProviderSingleton-
|
|
2
|
-
//# sourceMappingURL=ExchangeController-
|
|
1
|
+
import{C as p,E as h,b as f,S as E,d as k,O as U,N as A,g as P,B as x,e as N,i as I,p as _}from"./W3MFrameProviderSingleton-CmmiYZ9j.js";import{g as L,a as D,f as b,b as v,c as T}from"./index-CDtFhkB_.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="15c9a118-cd37-4a8d-ad6b-7d572bffb726",t._sentryDebugIdIdentifier="sentry-dbid-15c9a118-cd37-4a8d-ad6b-7d572bffb726")}catch{}})();const W=0,C={paymentAsset:null,amount:null,tokenAmount:0,priceLoading:!1,error:null,exchanges:[],isLoading:!1,currentPayment:void 0,isPaymentInProgress:!1,paymentId:"",assets:[]},e=_(C),d={state:e,subscribe(t){return I(e,()=>t(e))},subscribeKey(t,n){return N(e,t,n)},resetState(){Object.assign(e,{...C})},async getAssetsForNetwork(t){const n=T(t),s=await d.getAssetsImageAndPrice(n),r=n.map(a=>{var c,o,m,l;const u=a.asset==="native"?P():`${a.network}:${a.asset}`,i=s.find(S=>{var y,g,w;return((w=(g=(y=S.fungibles)==null?void 0:y[0])==null?void 0:g.address)==null?void 0:w.toLowerCase())===u.toLowerCase()});return{...a,price:((o=(c=i==null?void 0:i.fungibles)==null?void 0:c[0])==null?void 0:o.price)||1,metadata:{...a.metadata,iconUrl:(l=(m=i==null?void 0:i.fungibles)==null?void 0:m[0])==null?void 0:l.iconUrl}}});return e.assets=r,r},async getAssetsImageAndPrice(t){const n=t.map(r=>r.asset==="native"?P():`${r.network}:${r.asset}`);return await Promise.all(n.map(r=>x.fetchTokenPrice({addresses:[r]})))},getTokenAmount(){var s;if(!((s=e==null?void 0:e.paymentAsset)!=null&&s.price))throw new Error("Cannot get token price");const t=A.bigNumber(e.amount??0).round(8),n=A.bigNumber(e.paymentAsset.price).round(8);return t.div(n).round(8).toNumber()},setAmount(t){var n;e.amount=t,(n=e.paymentAsset)!=null&&n.price&&(e.tokenAmount=d.getTokenAmount())},setPaymentAsset(t){e.paymentAsset=t},isPayWithExchangeEnabled(){var t;return(t=U.state.remoteFeatures)==null?void 0:t.payWithExchange},isPayWithExchangeSupported(){return d.isPayWithExchangeEnabled()&&p.state.activeCaipNetwork&&k.PAY_WITH_EXCHANGE_SUPPORTED_CHAIN_NAMESPACES.includes(p.state.activeCaipNetwork.chainNamespace)},async fetchExchanges(){var t;try{const n=d.isPayWithExchangeSupported();if(!e.paymentAsset||!n){e.exchanges=[],e.isLoading=!1;return}e.isLoading=!0;const s=await v({page:W,asset:b(e.paymentAsset.network,e.paymentAsset.asset),amount:((t=e.amount)==null?void 0:t.toString())??"0"});e.exchanges=s.exchanges.slice(0,2)}catch{throw E.showError("Unable to get exchanges"),new Error("Unable to get exchanges")}finally{e.isLoading=!1}},async getPayUrl(t,n){try{const s=Number(n.amount),r=await D({exchangeId:t,asset:b(n.network,n.asset),amount:s.toString(),recipient:`${n.network}:${n.recipient}`});return h.sendEvent({type:"track",event:"PAY_EXCHANGE_SELECTED",properties:{exchange:{id:t},configuration:{network:n.network,asset:n.asset,recipient:n.recipient,amount:s},currentPayment:{type:"exchange",exchangeId:t},source:"fund-from-exchange",headless:!1}}),r}catch(s){throw s instanceof Error&&s.message.includes("is not supported")?new Error("Asset not supported"):new Error(s.message)}},async handlePayWithExchange(t){var n;try{const s=(n=p.getAccountData())==null?void 0:n.address;if(!s)throw new Error("No account connected");if(!e.paymentAsset)throw new Error("No payment asset selected");const r=f.returnOpenHref("","popupWindow","scrollbar=yes,width=480,height=720");if(!r)throw new Error("Could not create popup window");e.isPaymentInProgress=!0,e.paymentId=crypto.randomUUID(),e.currentPayment={type:"exchange",exchangeId:t};const{network:a,asset:u}=e.paymentAsset,i={network:a,asset:u,amount:e.tokenAmount,recipient:s},c=await d.getPayUrl(t,i);if(!c){try{r.close()}catch(o){console.error("Unable to close popup window",o)}throw new Error("Unable to initiate payment")}e.currentPayment.sessionId=c.sessionId,e.currentPayment.status="IN_PROGRESS",e.currentPayment.exchangeId=t,r.location.href=c.url}catch{e.error="Unable to initiate payment",E.showError(e.error)}},async waitUntilComplete({exchangeId:t,sessionId:n,paymentId:s,retries:r=20}){const a=await d.getBuyStatus(t,n,s);if(a.status==="SUCCESS"||a.status==="FAILED")return a;if(r===0)throw new Error("Unable to get deposit status");return await new Promise(u=>{setTimeout(u,5e3)}),d.waitUntilComplete({exchangeId:t,sessionId:n,paymentId:s,retries:r-1})},async getBuyStatus(t,n,s){var r,a,u,i,c;try{if(!e.currentPayment)throw new Error("No current payment");const o=await L({sessionId:n,exchangeId:t});if(e.currentPayment.status=o.status,o.status==="SUCCESS"||o.status==="FAILED"){const m=(r=p.getAccountData())==null?void 0:r.address;e.currentPayment.result=o.txHash,e.isPaymentInProgress=!1,h.sendEvent({type:"track",event:o.status==="SUCCESS"?"PAY_SUCCESS":"PAY_ERROR",properties:{message:o.status==="FAILED"?f.parseError(e.error):void 0,source:"fund-from-exchange",paymentId:s,configuration:{network:((a=e.paymentAsset)==null?void 0:a.network)||"",asset:((u=e.paymentAsset)==null?void 0:u.asset)||"",recipient:m||"",amount:e.amount??0},currentPayment:{type:"exchange",exchangeId:(i=e.currentPayment)==null?void 0:i.exchangeId,sessionId:(c=e.currentPayment)==null?void 0:c.sessionId,result:o.txHash}}})}return o}catch{return{status:"UNKNOWN",txHash:""}}},reset(){e.currentPayment=void 0,e.isPaymentInProgress=!1,e.paymentId="",e.paymentAsset=null,e.amount=0,e.tokenAmount=0,e.priceLoading=!1,e.error=null,e.exchanges=[],e.isLoading=!1}};export{d as E};
|
|
2
|
+
//# sourceMappingURL=ExchangeController-D8uwDzSY.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as x,j as o}from"./react-
|
|
1
|
+
import{r as x,j as o}from"./react-BG8VKwrs.js";import{d as e,e as a,c as h,I as w}from"./index-CwvrGPbx.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new i.Error().stack;s&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[s]="b54bbf96-49cd-400c-8579-dfe3cb1b03c6",i._sentryDebugIdIdentifier="sentry-dbid-b54bbf96-49cd-400c-8579-dfe3cb1b03c6")}catch{}})();const m=a.section`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 36px;
|
|
@@ -170,6 +170,6 @@ import{r as x,j as o}from"./react-C_GXHmaF.js";import{t as e,a,d as h,I as w}fro
|
|
|
170
170
|
padding: 20px 16px;
|
|
171
171
|
font-size: 16px;
|
|
172
172
|
}
|
|
173
|
-
`;function S({title:i,entries:s,tone:l="light",className:u}){const[f,
|
|
173
|
+
`;function S({title:i,entries:s,tone:l="light",className:u}){const[f,b]=x.useState(()=>new Set),p=x.useId();function g(t){b(n=>{const r=new Set(n);return r.delete(t)||r.add(t),r})}return o.jsxs(m,{className:u,"data-tone":l,"data-testid":"faq",children:[o.jsx(k,{"data-testid":"faq-title",children:h(i)}),o.jsx(v,{children:s.map(t=>{const n=f.has(t.question),r=`${p}-panel-${t.question}`,c=`${p}-header-${t.question}`;return o.jsxs($,{"data-open":n,"data-testid":"faq-item",children:[o.jsxs(y,{type:"button",onClick:()=>g(t.question),id:c,"aria-expanded":n,"aria-controls":n?r:void 0,"data-open":n,"data-testid":"faq-question",children:[o.jsx(q,{children:h(t.question)}),o.jsx(I,{"data-open":n,"aria-hidden":!0,children:o.jsx(w,{name:"chevron-up-line",size:36})})]}),n&&o.jsx(j,{id:r,role:"region","aria-labelledby":c,"data-testid":"faq-answer",children:h(t.answer).split(`
|
|
174
174
|
`).map(d=>d.trim()).filter(Boolean).map(d=>o.jsx("p",{children:d},d))})]},t.question)})})]})}export{S as F};
|
|
175
|
-
//# sourceMappingURL=Faq-
|
|
175
|
+
//# sourceMappingURL=Faq-CVMMGesq.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{u as ue,a as ge,r as l,j as t}from"./react-BG8VKwrs.js";import{e as i,d as e,w as B,x as xe,c as o,C as h,y as fe,A as me,ak as g,br as be,n as G,bC as M,bX as we,bj as H,z as ie,I as ye,av as ke,bY as N}from"./index-CwvrGPbx.js";import{C as ve}from"./Confetti-BGVbEJbR.js";import{F as Ce}from"./Faq-CVMMGesq.js";import{R as Q}from"./resume-buy-D6gjpV5I.js";import{u as $e,d as je,R as Se,c as Pe,i as Ae,e as _e}from"./useCreditPacks-ZEO0PAYJ.js";import"./dcl-schemas-BEn5-KfC.js";import"./sentry-eiNE_T77.js";import"./ethers-DsAoqs4p.js";import"./intl-AKLEHPeO.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new s.Error().stack;n&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[n]="70bf9bfd-5cb7-4d9c-88f8-9489538e69b8",s._sentryDebugIdIdentifier="sentry-dbid-70bf9bfd-5cb7-4d9c-88f8-9489538e69b8")}catch{}})();const A="https://cdn.decentraland.org/@dcl/shop/1.12.2-34948836375.commit-6cf32c8/_assets/pack-coins-BDh1ZDbh.webp",re="https://cdn.decentraland.org/@dcl/shop/1.12.2-34948836375.commit-6cf32c8/_assets/pack-stacks-D-V2jSHW.webp",ne="https://cdn.decentraland.org/@dcl/shop/1.12.2-34948836375.commit-6cf32c8/_assets/pack-chest-BX_j84xW.webp",Te="https://cdn.decentraland.org/@dcl/shop/1.12.2-34948836375.commit-6cf32c8/_assets/credit-coin-CmcTCd5i.webp",O="data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2334CE77'/%3e%3cpath%20d='M21.6583%2046.1067L11.4656%2036.0591C10.1688%2034.829%2010.1905%2032.7207%2011.4769%2031.4622L13.6868%2029.3591C14.9732%2028.1006%2017.1615%2028.1058%2018.4582%2029.3359L23.8747%2034.6197L41.9704%2015.6527C43.2568%2014.3942%2045.4291%2014.2093%2046.7258%2015.4394L48.8765%2017.3628C50.1732%2018.5929%2050.3491%2020.6844%2049.0626%2021.9429L26.6112%2045.8766C25.1433%2047.342%2022.955%2047.3368%2021.6583%2046.1067Z'%20fill='%23FCFCFC'/%3e%3c/svg%3e",K="linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)",Re=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 24px;
|
|
5
|
-
`,
|
|
5
|
+
`,ze=i.section`
|
|
6
6
|
position: relative;
|
|
7
7
|
isolation: isolate;
|
|
8
8
|
display: flex;
|
|
@@ -34,7 +34,7 @@ import{b as ue,u as ge,r as l,j as t}from"./react-C_GXHmaF.js";import{a as i,t a
|
|
|
34
34
|
top: -16px;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
`,
|
|
37
|
+
`,Fe=i.div`
|
|
38
38
|
position: relative;
|
|
39
39
|
width: 100%;
|
|
40
40
|
display: flex;
|
|
@@ -438,7 +438,7 @@ import{b as ue,u as ge,r as l,j as t}from"./react-C_GXHmaF.js";import{a as i,t a
|
|
|
438
438
|
to {
|
|
439
439
|
background-position: -200% 0;
|
|
440
440
|
}
|
|
441
|
-
`,
|
|
441
|
+
`,_=i.span`
|
|
442
442
|
display: block;
|
|
443
443
|
background: linear-gradient(
|
|
444
444
|
100deg,
|
|
@@ -452,7 +452,7 @@ import{b as ue,u as ge,r as l,j as t}from"./react-C_GXHmaF.js";import{a as i,t a
|
|
|
452
452
|
@media (prefers-reduced-motion: reduce) {
|
|
453
453
|
animation: none;
|
|
454
454
|
}
|
|
455
|
-
`,Ye=i(
|
|
455
|
+
`,Ye=i(_)`
|
|
456
456
|
width: 60%;
|
|
457
457
|
height: 30px;
|
|
458
458
|
border-radius: ${e.radius.chip};
|
|
@@ -460,7 +460,7 @@ import{b as ue,u as ge,r as l,j as t}from"./react-C_GXHmaF.js";import{a as i,t a
|
|
|
460
460
|
${e.media.maxWidth("mobile")} {
|
|
461
461
|
height: 24px;
|
|
462
462
|
}
|
|
463
|
-
`,Ve=i(
|
|
463
|
+
`,Ve=i(_)`
|
|
464
464
|
width: 36%;
|
|
465
465
|
height: 15px;
|
|
466
466
|
border-radius: ${e.radius.chip};
|
|
@@ -468,11 +468,11 @@ import{b as ue,u as ge,r as l,j as t}from"./react-C_GXHmaF.js";import{a as i,t a
|
|
|
468
468
|
${e.media.maxWidth("mobile")} {
|
|
469
469
|
height: 12px;
|
|
470
470
|
}
|
|
471
|
-
`,Xe=i(
|
|
471
|
+
`,Xe=i(_)`
|
|
472
472
|
width: 70%;
|
|
473
473
|
aspect-ratio: 1;
|
|
474
474
|
border-radius: 16px;
|
|
475
|
-
`,Ze=i(
|
|
475
|
+
`,Ze=i(_)`
|
|
476
476
|
width: 100%;
|
|
477
477
|
height: 48px;
|
|
478
478
|
border-radius: ${e.radius.card};
|
|
@@ -833,7 +833,7 @@ import{b as ue,u as ge,r as l,j as t}from"./react-C_GXHmaF.js";import{a as i,t a
|
|
|
833
833
|
@media (max-width: 560px) {
|
|
834
834
|
flex-direction: column;
|
|
835
835
|
}
|
|
836
|
-
`,
|
|
836
|
+
`,_t=i.p`
|
|
837
837
|
margin: 0;
|
|
838
838
|
font-family: ${e.font.sans};
|
|
839
839
|
font-size: 20px;
|
|
@@ -843,7 +843,7 @@ import{b as ue,u as ge,r as l,j as t}from"./react-C_GXHmaF.js";import{a as i,t a
|
|
|
843
843
|
&[data-tone='error'] {
|
|
844
844
|
color: ${e.colors.err};
|
|
845
845
|
}
|
|
846
|
-
`,
|
|
846
|
+
`,Tt=i.div`
|
|
847
847
|
display: flex;
|
|
848
848
|
gap: 12px;
|
|
849
849
|
margin-top: 16px;
|
|
@@ -851,5 +851,5 @@ import{b as ue,u as ge,r as l,j as t}from"./react-C_GXHmaF.js";import{a as i,t a
|
|
|
851
851
|
margin: 0;
|
|
852
852
|
font-family: ${e.font.sans};
|
|
853
853
|
color: ${e.colors.err};
|
|
854
|
-
`,v=Ae()?"mock":"stripe",ee=[A,A,re,ne],
|
|
855
|
-
//# sourceMappingURL=GetCredits-
|
|
854
|
+
`,v=Ae()?"mock":"stripe",ee=[A,A,re,ne],zt={pack_5:A,pack_10:A,pack_25:re,pack_50:ne};function se(s,n){return zt[s.id]??ee[n%ee.length]}function Ft(s,n){return s.artUrl??se(s,n)}const Bt=[{question:"faq.buyers.whatAreQ",answer:"faq.buyers.whatAreA"},{question:"faq.buyers.whatCanIBuyQ",answer:"faq.buyers.whatCanIBuyA"},{question:"faq.buyers.whereBuyQ",answer:"faq.buyers.whereBuyA"},{question:"faq.buyers.whereUseQ",answer:"faq.buyers.whereUseA"},{question:"faq.buyers.expireQ",answer:"faq.buyers.expireA"},{question:"faq.buyers.transferQ",answer:"faq.buyers.transferA"}];function te(s){const n=s;if((n==null?void 0:n.name)==="AbortError")return o("getCredits.errorCanceled");const x=((n==null?void 0:n.message)??"").toLowerCase();return x.includes("sign in")?o("getCredits.errorSignIn",{currency:h.name}):x.includes("timed out")?o("getCredits.errorTimeout",{currency:h.name}):o("getCredits.errorGeneric")}function Qt(){var L;xe({title:o("nav.getCredits",{currency:h.name}),noindex:!0});const s=ue(),{session:n,signIn:x,restored:a}=fe(),m=me(),[b,$]=ge(),{packs:w,isLoading:ae}=$e(),[f,p]=l.useState("select"),[d,I]=l.useState(null),[j,q]=l.useState(null),de=(j!=null?(L=w.find(r=>r.credits===j))==null?void 0:L.artUrl:void 0)??Te,[ce,y]=l.useState(null),[le,S]=l.useState(!1),T=l.useRef(null);l.useEffect(()=>()=>{var r;return(r=T.current)==null?void 0:r.abort()},[]);const E=l.useCallback(()=>{$(r=>{const c=new URLSearchParams(r);return c.delete("order"),c.delete("canceled"),c},{replace:!0})},[$]),R=l.useCallback(async r=>{p("processing");const c=new AbortController;T.current=c;try{const u=await je(r,{signal:c.signal,address:n==null?void 0:n.address,identity:n==null?void 0:n.identity});if(u.status==="credited"){const k=u.creditsGranted??(d==null?void 0:d.credits)??0;q(k>0?k:null),p("success"),g("Shop Completed Buy Credits",{order_id:r,pack_usd:(d==null?void 0:d.usd)??null,credits:k>0?k:null,provider:v}),m.invalidateQueries({queryKey:["usd-balance"]});try{if(sessionStorage.getItem(Se)){const P={resumeCheckout:!0,...k>0?{creditsAdded:k}:{}};s("/cart",{state:P});return}}catch{}try{const P=sessionStorage.getItem(Q);if(P){sessionStorage.removeItem(Q);const U=JSON.parse(P),D=be(U);if(D){s(D,{state:{item:U,resumeBuy:!0}});return}}}catch{}}else u.status==="abandoned"||u.status==="initiated"?(g("Shop Buy Credits Cancelled",{order_id:r,provider:v,step:"grant"}),m.invalidateQueries({queryKey:["usd-balance"]}),S(!0),p("select")):u.status==="failed"?(g("Shop Buy Credits Failed",{step:"grant",error_code:"grant_failed",pack_usd:(d==null?void 0:d.usd)??null}),y(u.error??o("getCredits.errorGrant",{currency:h.name})),p("error")):(g("Shop Buy Credits Pending",{step:"grant",pack_usd:(d==null?void 0:d.usd)??null}),m.invalidateQueries({queryKey:["usd-balance"]}),p("pending"))}catch(u){G(u,{flow:"get_credits",step:"grant",order_id:r}),g("Shop Buy Credits Failed",{step:"grant",error_code:M(u),pack_usd:(d==null?void 0:d.usd)??null}),y(te(u)),p("error")}},[d,n,m,s]),pe=l.useCallback(async r=>{if(!n){x();return}y(null),S(!1),I(r),p(v==="mock"?"processing":"redirecting"),g("Shop Started Buy Credits",{pack_usd:r.usd,credits:r.credits,provider:v});try{const c=await Pe(r.id,{address:n.address,identity:n.identity});if(c.mock)R(c.orderId);else if(c.url)g("Shop Redirected To Stripe",{order_id:c.orderId,pack_usd:r.usd,credits:r.credits}),window.location.href=c.url;else throw new Error("Checkout did not return a redirect url")}catch(c){G(c,{flow:"get_credits",step:"checkout",provider:v}),g("Shop Buy Credits Failed",{step:"checkout",error_code:M(c),pack_usd:r.usd}),y(te(c)),p("error")}},[n,x,R]),z=l.useRef(!1),W=l.useRef(null);l.useEffect(()=>{if(z.current)return;const r=b.get("order");if(b.get("canceled")!=null){if(r&&!a)return;z.current=!0,g("Shop Buy Credits Cancelled",{order_id:r,provider:v}),r&&n&&we(r,n.identity),E(),S(!0),p("select");return}if(r){if(p("processing"),!n){a&&(g("Shop Buy Credits Failed",{step:"grant",error_code:"no_identity",pack_usd:(d==null?void 0:d.usd)??null}),y(o("getCredits.errorSignInAfterPay",{currency:h.name})),p("error"));return}z.current=!0,E(),R(r)}},[b,n,a]);function F(){var r;(r=T.current)==null||r.abort(),p("select"),I(null),q(null),y(null),S(!1)}function he(){const r=W.current;if(!r)return;const c=window.matchMedia("(prefers-reduced-motion: reduce)").matches;r.scrollIntoView({behavior:c?"auto":"smooth",block:"center"}),r.focus({preventScroll:!0})}return t.jsxs(Re,{children:[(f==="select"||f==="redirecting")&&t.jsxs(t.Fragment,{children:[t.jsx(ze,{"data-testid":"credits-hero",children:t.jsxs(Fe,{children:[t.jsxs(Ie,{$hidden:f==="redirecting",children:[t.jsxs(qe,{children:[t.jsx(Ee,{children:o("getCredits.title")}),t.jsxs(We,{children:[t.jsx(Le,{children:o("getCredits.subtitle")}),t.jsx(Ue,{type:"button",onClick:he,"data-testid":"credits-learn-more",children:o("getCredits.learnMore")})]})]}),le&&t.jsx(De,{role:"status",children:o("getCredits.canceledNote")}),t.jsx(It,{packs:w,loading:ae,onSelect:r=>void pe(r)})]}),f==="redirecting"&&t.jsxs(Je,{role:"status","aria-live":"polite",children:[t.jsx(rt,{src:H,alt:"",width:72,height:72}),t.jsx(et,{children:o("getCredits.redirecting")})]})]})}),t.jsx(Be,{ref:W,tabIndex:-1,"data-testid":"credits-faq",children:t.jsx(Ce,{title:"faq.title",entries:Bt,tone:"on-dark"})})]}),f==="processing"&&t.jsxs(it,{role:"status","aria-live":"polite",children:[t.jsx(oe,{src:H,alt:"",width:61,height:61}),t.jsxs(nt,{children:[t.jsxs(ot,{children:[t.jsx("strong",{children:o("getCredits.processing")}),"…"]}),t.jsxs(st,{"aria-hidden":!0,children:[t.jsx(dt,{children:t.jsx(ct,{})}),t.jsx(lt,{children:"1/1"})]})]})]}),f==="success"&&t.jsx(J,{"data-outcome":"success",children:t.jsxs(pt,{role:"status","aria-live":"polite",children:[t.jsx(ve,{}),t.jsxs(ht,{children:[t.jsx(ut,{src:O,alt:"",width:60,height:60}),t.jsxs(gt,{children:[t.jsx("strong",{children:o("getCredits.successTitle")})," ",o("getCredits.successBody",{currency:h.name})]})]}),j!=null&&t.jsx(xt,{children:t.jsxs(ft,{children:[t.jsx(mt,{src:de,alt:"",width:93,height:93}),t.jsxs(bt,{children:[t.jsx(ie,{}),t.jsxs("span",{children:[t.jsx(wt,{children:o("getCredits.creditsAmount",{credits:j,currency:h.name})})," ",t.jsx(yt,{children:o("getCredits.creditsAdded")})]})]})]})}),t.jsxs(kt,{children:[t.jsx(C,{"data-variant":"outline",onClick:F,children:o("getCredits.buyMore",{currency:h.name})}),t.jsx(C,{onClick:()=>s("/items"),children:o("getCredits.startShopping")})]})]})}),f==="pending"&&t.jsx(J,{children:t.jsxs(Ct,{role:"status","aria-live":"polite","data-testid":"credits-pending",children:[t.jsxs($t,{children:[t.jsx(jt,{src:O,alt:"",width:32,height:32}),t.jsx(St,{children:o("getCredits.pendingTitle",{currency:h.name})})]}),t.jsx(Pt,{children:o("getCredits.pendingBody")}),t.jsxs(At,{children:[t.jsx(C,{"data-variant":"outline",onClick:()=>s("/items"),children:o("getCredits.goShopping")}),t.jsx(C,{"data-variant":"ruby",onClick:F,children:o("getCredits.gotIt")})]})]})}),f==="error"&&t.jsxs(vt,{role:"alert",children:[t.jsx(_t,{"data-tone":"error",children:o("getCredits.errorTitle")}),t.jsx(Rt,{children:ce}),t.jsx(Tt,{children:t.jsx(C,{onClick:F,children:o("getCredits.tryAgain")})})]})]})}function It({packs:s,loading:n,onSelect:x}){return n?t.jsx(Y,{"aria-busy":"true","aria-label":o("getCredits.packsLoading",{currency:h.name}),children:[0,1,2,3].map(a=>t.jsxs(V,{as:"div","data-skeleton":"true","data-testid":"pack-skeleton","aria-hidden":!0,children:[t.jsxs(X,{children:[t.jsxs(Z,{children:[t.jsx(Ye,{}),t.jsx(Ve,{})]}),t.jsx(Xe,{})]}),t.jsx(Ze,{})]},a))}):t.jsx(Y,{children:s.map((a,m)=>{const b=_e(a,s);return t.jsxs(V,{type:"button","data-testid":"pack","data-best":a.bestValue?"true":void 0,onClick:()=>x(a),"aria-label":b?o("getCredits.packAriaBonus",{amount:N(a.credits),usd:a.usd,bonus:b.bonus,baseline:b.baseline}):o("getCredits.packAria",{amount:N(a.credits),usd:a.usd}),children:[a.bestValue&&t.jsxs(Ge,{children:[t.jsx(ye,{name:"star-rounded"}),o("getCredits.packBadge")]}),t.jsxs(X,{children:[t.jsxs(Z,{children:[t.jsxs(Me,{children:[t.jsx(ie,{}),t.jsx(He,{children:t.jsx(ke,{credits:a.credits})})]}),t.jsx(Ne,{children:o("getCredits.packUnit",{currency:h.name})})]}),t.jsx(Qe,{children:t.jsx("img",{src:Ft(a,m),alt:"",loading:"lazy",width:507,height:507,onError:$=>{const w=$.currentTarget;w.dataset.artFallback||(w.dataset.artFallback="done",w.src=se(a,m))}})})]}),t.jsxs(Oe,{children:["$",a.usd.toFixed(2)]})]},a.id)})})}export{Qt as GetCredits,Qt as default};
|
|
855
|
+
//# sourceMappingURL=GetCredits-B-d63Asa.js.map
|