@dcl/shop 1.6.4-31480376613.commit-0bb9931 → 1.6.4-31494185742.commit-073ced9
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-D8Y6G4Y1.js → Activity-C_DyVCyA.js} +9 -9
- package/_assets/{AnimatedBackground-C7qBwvsp.js → AnimatedBackground-D-lT37GD.js} +6 -6
- package/_assets/{Assets-D1Myk4mW.js → Assets-D8cbC6MI.js} +24 -24
- package/_assets/{Authorizations-DHZOpUMW.js → Authorizations-D28tWhhS.js} +2 -2
- package/_assets/{Cart-Dn2sNZbI.js → Cart-DXK4vEap.js} +4 -4
- package/_assets/{CircularProgress-D7nr8zvc.js → CircularProgress-BAv9N7Ij.js} +6 -6
- package/_assets/{Collection-D_wOHgFg.js → Collection-DaTtdplL.js} +10 -10
- package/_assets/{CollectionCarousel-DCt4NWvX.js → CollectionCarousel-DDUpzk1C.js} +59 -59
- package/_assets/Confetti-BWDWjq04.js +18 -0
- package/_assets/{ConstantsUtil-lBURo-5M.js → ConstantsUtil-DmXobmYS.js} +2 -2
- package/_assets/{ContentClient-D47cn4cd.js → ContentClient-BbCCAUK1.js} +2 -2
- package/_assets/{Creator-BTvR4L5i.js → Creator-CShT8DwZ.js} +18 -18
- package/_assets/DeploymentBuilder-CZ2ntoDg.js +4 -0
- package/_assets/EmotePlaybackBar-QGZAZNmS.js +121 -0
- package/_assets/{ErrorNotice-BF2OJpNh.js → ErrorNotice-CQFq9JZk.js} +2 -2
- package/_assets/{ExchangeController-DA7i527B.js → ExchangeController-C5ccpgqt.js} +2 -2
- package/_assets/{Faq-DaK46DZt.js → Faq-B6YFpxai.js} +2 -2
- package/_assets/{GetCredits-CPwkY6zf.js → GetCredits-DI3PCkhf.js} +10 -10
- package/_assets/Grow-yI4yCXXZ.js +2 -0
- package/_assets/{HelpersUtil-BDeLwE1U.js → HelpersUtil-xC7DZviw.js} +2 -2
- package/_assets/{ItemDetail-DgCCo4Ga.js → ItemDetail-JKGUzC0P.js} +235 -351
- package/_assets/{JumpInIcon-DCKe9LOU.js → JumpInIcon-C5gGAnmP.js} +2 -2
- package/_assets/{LoadMore-rKbDGkef.js → LoadMore-DyZz_VHm.js} +2 -2
- package/_assets/{ManaPricingBanner.styles-YalgApkM.js → ManaPricingBanner.styles-DbM4es1x.js} +7 -7
- package/_assets/{MyAssets-Do--yjZ7.js → MyAssets-DcViCKub.js} +8 -8
- package/_assets/{MyFavorites-DaSWflmb.js → MyFavorites-99_6-7XE.js} +6 -6
- package/_assets/{NetworkUtil-DXqn8-PK.js → NetworkUtil-BO3cBEpF.js} +2 -2
- package/_assets/{NotFound-C9IH0Jog.js → NotFound-BY1h7CTz.js} +2 -2
- package/_assets/NotificationsBell-CZ3MWxr8.js +142 -0
- package/_assets/OutfitDetail-CDebIzmE.js +368 -0
- package/_assets/OutfitPreview-BXChxeo1.js +7 -0
- package/_assets/{OutfitStudio-CIrUif98.js → OutfitStudio-UMriL_VN.js} +47 -47
- package/_assets/{PhArrowCircleDown-LMy4WE7D.js → PhArrowCircleDown-DBmTctYK.js} +5 -5
- package/_assets/{PhArrowClockwise-B7efjCn9.js → PhArrowClockwise-ZWBqR1iF.js} +4 -4
- package/_assets/{PhArrowDown-Bwdqa9_E.js → PhArrowDown-WIeXIufM.js} +4 -4
- package/_assets/{PhArrowLeft-DuBXpz8N.js → PhArrowLeft-DvlPA_kr.js} +3 -3
- package/_assets/{PhArrowRight-z9Dl361F.js → PhArrowRight-CcUcrmQK.js} +4 -4
- package/_assets/{PhArrowSquareOut-B8fjTbIa.js → PhArrowSquareOut-eQSuZWr9.js} +4 -4
- package/_assets/{PhArrowUp-DkrWYIAz.js → PhArrowUp-oNKVxFhx.js} +5 -5
- package/_assets/{PhArrowUpRight-BmMKHv_H.js → PhArrowUpRight-mk1FSkK1.js} +3 -3
- package/_assets/{PhArrowsClockwise-CvNc1TwT.js → PhArrowsClockwise-DvXb79Nq.js} +2 -2
- package/_assets/{PhArrowsDownUp-sU4tJwkL.js → PhArrowsDownUp-fJXobkfl.js} +5 -5
- package/_assets/{PhArrowsLeftRight-Inahzprd.js → PhArrowsLeftRight-DsRlafed.js} +3 -3
- package/_assets/{PhBank-BD-K_cfz.js → PhBank-BxBmdtlc.js} +5 -5
- package/_assets/{PhBrowser-DVRvcu4M.js → PhBrowser-TbGdYALn.js} +4 -4
- package/_assets/PhCaretDown-DjcNJ1zq.js +15 -0
- package/_assets/{PhCaretLeft-pF_g8dOz.js → PhCaretLeft-BkF0xuuP.js} +3 -3
- package/_assets/{PhCaretRight-Dl0sRgp0.js → PhCaretRight-cZcclogr.js} +3 -3
- package/_assets/PhCaretUp-BTUuw_V5.js +15 -0
- package/_assets/{PhCheck-D5l8KeSX.js → PhCheck-Dok-YRwJ.js} +4 -4
- package/_assets/{PhCircleHalf-BvUuifqe.js → PhCircleHalf-C_G0Deju.js} +4 -4
- package/_assets/{PhClock-BgqN1MJg.js → PhClock-DxtyCCHN.js} +3 -3
- package/_assets/{PhCompass-Dptb6Trt.js → PhCompass-Cr5Wk3ha.js} +4 -4
- package/_assets/{PhCopy-of33PGSB.js → PhCopy-DpSRSBDo.js} +5 -5
- package/_assets/{PhCreditCard-cGVosjKz.js → PhCreditCard-rQSlkLhU.js} +5 -5
- package/_assets/{PhCurrencyDollar-PwdaRdae.js → PhCurrencyDollar-DSXfHZr-.js} +4 -4
- package/_assets/{PhDesktop-Bhi2QPLf.js → PhDesktop-B8t_jyeP.js} +2 -2
- package/_assets/{PhDeviceMobile-CmgmYUdD.js → PhDeviceMobile-CKMo2R-O.js} +2 -2
- package/_assets/{PhDotsThree-Bp1v1FK6.js → PhDotsThree-CBBnUUK5.js} +3 -3
- package/_assets/{PhEnvelope-D6Hu8w_1.js → PhEnvelope-B3Ot4kfs.js} +4 -4
- package/_assets/{PhFunnelSimple-DKlL8A4i.js → PhFunnelSimple-ST58vUHY.js} +4 -4
- package/_assets/{PhGlobe-7uylPeNu.js → PhGlobe-B1QBE0Ic.js} +3 -3
- package/_assets/{PhIdentificationCard-BED247mY.js → PhIdentificationCard-CmHEoEuJ.js} +2 -2
- package/_assets/{PhImage-FOrY1Sk8.js → PhImage-BM2XMyb9.js} +5 -5
- package/_assets/{PhInfo-CaWDFvIR.js → PhInfo-DfmzAoRe.js} +4 -4
- package/_assets/{PhLightbulb-B75QV9EL.js → PhLightbulb-Dhfv4D4c.js} +2 -2
- package/_assets/{PhMagnifyingGlass-adS5yhrC.js → PhMagnifyingGlass-Djq6rEa-.js} +5 -5
- package/_assets/{PhPaperPlaneRight-BbRgMArn.js → PhPaperPlaneRight-d8LGOK8o.js} +4 -4
- package/_assets/{PhPlus-Bl3EEBwL.js → PhPlus-B6aOwiLq.js} +5 -5
- package/_assets/{PhPower-GunSTWQq.js → PhPower-DAs5tvdn.js} +3 -3
- package/_assets/{PhPuzzlePiece-BWgi2L03.js → PhPuzzlePiece-C5F9l0Xz.js} +4 -4
- package/_assets/{PhQrCode-D0-Wqehu.js → PhQrCode-DjCH9MIj.js} +2 -2
- package/_assets/{PhQuestion-DwVCTKdM.js → PhQuestion-Bd3_nr1y.js} +3 -3
- package/_assets/{PhQuestionMark-CgTbmVtJ.js → PhQuestionMark-Chm0gISn.js} +3 -3
- package/_assets/{PhSealCheck-Dk3N_Xq2.js → PhSealCheck-BighefRp.js} +2 -2
- package/_assets/{PhSignOut-BvXl5dyB.js → PhSignOut-X3VDO26Z.js} +2 -2
- package/_assets/{PhSpinner-DzLQccU8.js → PhSpinner-CMt3xHt0.js} +4 -4
- package/_assets/{PhTrash-TPE0FvJz.js → PhTrash-CBxSNELa.js} +2 -2
- package/_assets/{PhUser-D1oy0lLc.js → PhUser-zWIlEtkm.js} +5 -5
- package/_assets/{PhVault-ByF05VqU.js → PhVault-B5GZzffa.js} +2 -2
- package/_assets/{PhWallet-D75iTvtf.js → PhWallet-D6uFkw0p.js} +3 -3
- package/_assets/{PhWarning-Jaj21PeP.js → PhWarning-C2cnWjQI.js} +5 -5
- package/_assets/{PhWarningCircle-DBt_0tnC.js → PhWarningCircle-BN86yUC5.js} +4 -4
- package/_assets/{PhX-DZ578mpg.js → PhX-D9xXQPUU.js} +5 -5
- package/_assets/{StoreSettings-DiDEymfb.js → StoreSettings-BxrIpG7R.js} +2 -2
- package/_assets/{Success-W72Gr_yr.js → Success-tsWoidfO.js} +2 -2
- package/_assets/{SwapController-CwiooA4W.js → SwapController--Dxy-fxj.js} +2 -2
- package/_assets/{Tooltip-B3I8arON.js → Tooltip-DX2f1YE-.js} +3 -3
- package/_assets/{TradeService-a_NBc4yW.js → TradeService-B5FOQlxR.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-D3pkilIG.js → W3MFrameProviderSingleton-bFMDUf2u.js} +4 -4
- package/_assets/{WebCryptoP256-BgkA904K.js → WebCryptoP256-Bv9JCbZi.js} +2 -2
- package/_assets/{add-tNqIWcMg.js → add-CSXcCGk_.js} +2 -2
- package/_assets/{all-wallets-B8nlg7MV.js → all-wallets-DqZYwMwo.js} +3 -3
- package/_assets/{app-store-9-kKdmJ6.js → app-store-BefptbeL.js} +3 -3
- package/_assets/{apple-DvojoPdF.js → apple-Bfh__HiP.js} +2 -2
- package/_assets/{arrow-bottom--df_76nG.js → arrow-bottom-B24463bX.js} +2 -2
- package/_assets/{arrow-bottom-circle-B2DyGh2W.js → arrow-bottom-circle-u1TPNWtr.js} +2 -2
- package/_assets/{arrow-left-Fb0mZ7Y-.js → arrow-left-BvEq2K0o.js} +2 -2
- package/_assets/{arrow-right-BixOWpB1.js → arrow-right-W2XAOWM7.js} +2 -2
- package/_assets/arrow-top-nu1PUCK6.js +9 -0
- package/_assets/async-directive--Ed0QLAK.js +10 -0
- package/_assets/authorizations-L1fqOfS7.js +2 -0
- package/_assets/{bank-CMW6OQj8.js → bank-BBag9zS_.js} +3 -3
- package/_assets/{basic-DchQuRu2.js → basic-BRdM56H5.js} +2 -2
- package/_assets/{biconomy-CsEB28IW.js → biconomy-D7kEkRQQ.js} +2 -2
- package/_assets/{browseLayout.styles-g9AiUl5C.js → browseLayout.styles-Bx2-O-Vq.js} +8 -8
- package/_assets/{browser-DFE3CTqg.js → browser-CPTAYjan.js} +3 -3
- package/_assets/{browser-C14MabGh.js → browser-Cb7IZ4Q0.js} +2 -2
- package/_assets/{browser-ponyfill-NoPd19Nq.js → browser-ponyfill-hviyRt32.js} +2 -2
- package/_assets/{builder-CxSl0afD.js → builder-CdkuxPcB.js} +2 -2
- package/_assets/buy-J4GpDKQb.js +2 -0
- package/_assets/{buy-gasless-6eHLQLUv.js → buy-gasless-8aFOndAU.js} +2 -2
- package/_assets/{card-BVdWO709.js → card-C81sr-3j.js} +2 -2
- package/_assets/{ccip-DZYHSe6i.js → ccip-BfH4aWKo.js} +2 -2
- package/_assets/{ccip-DqGck39w.js → ccip-C8HxXURl.js} +2 -2
- package/_assets/{chains-7s4Wyd5G.js → chains-QljlkgmZ.js} +2 -2
- package/_assets/{checkmark-DjsMr40Z.js → checkmark-Bo-gp4Ll.js} +2 -2
- package/_assets/{checkmark-bold-DCuG-0NX.js → checkmark-bold-CrqYbcSP.js} +3 -3
- package/_assets/chevron-bottom-B7xC8zte.js +9 -0
- package/_assets/chevron-left-KdfBU_7V.js +9 -0
- package/_assets/{chevron-right-Bqz0HIJD.js → chevron-right-r7vxjQcl.js} +3 -3
- package/_assets/{chevron-top-Ce8rthjR.js → chevron-top-B9aXAl0y.js} +3 -3
- package/_assets/{chrome-store-CWYMTzwh.js → chrome-store-DtnWFF8y.js} +2 -2
- package/_assets/{class-map-HS20q_81.js → class-map-C1Xjz5Lx.js} +2 -2
- package/_assets/{clock-DNaUSRmN.js → clock-Baa7165K.js} +3 -3
- package/_assets/{close-Va7Wt97F.js → close-wDYvpJu8.js} +3 -3
- package/_assets/{coinPlaceholder-QyY4J5WZ.js → coinPlaceholder-De2q0FMg.js} +2 -2
- package/_assets/collectionPage.styles-BkgVOsrI.js +40 -0
- package/_assets/common-CiLGUgvc.js +2 -0
- package/_assets/{compass-gauDPeQF.js → compass-BP3lwd_h.js} +2 -2
- package/_assets/{controller-DtoJ-OaD.js → controller-D4ISB-Ux.js} +3 -3
- package/_assets/{copy-Cfnp8Gxd.js → copy-EHnRey4G.js} +2 -2
- package/_assets/{core-xPw2YS_6.js → core-K5DDMzgG.js} +5 -5
- package/_assets/createSvgIcon-jQ8w9P2p.js +75 -0
- package/_assets/cursor-BuTKrcda.js +4 -0
- package/_assets/{cursor-transparent-wEHWEbGv.js → cursor-transparent-7tV62vAu.js} +3 -3
- package/_assets/{custom-DX-ni0bf.js → custom-D0McaOeR.js} +2 -2
- package/_assets/{data-capture-DDUt2YHs.js → data-capture-B2MNUoEQ.js} +5 -5
- package/_assets/{dcl-schemas-GQNC2S4Z.js → dcl-schemas-B7N0eru-.js} +2 -2
- package/_assets/decimals-Brknvks1.js +2 -0
- package/_assets/decimals-nQjcHjdS.js +2 -0
- package/_assets/{desktop-wmxiQg3x.js → desktop-wbkE-tMP.js} +3 -3
- package/_assets/detectExtension-BQQNg9HL.js +2 -0
- package/_assets/{disconnect-CW0SedIh.js → disconnect-DR7Yq8KR.js} +3 -3
- package/_assets/{discord-r-2ftUs2.js → discord-BcAZXa5x.js} +3 -3
- package/_assets/{disposePreview-Cy4cRo5W.js → disposePreview-DOTMbNIL.js} +2 -2
- package/_assets/{email-BpdO4wU1.js → email-CvVmFKN_.js} +2 -2
- package/_assets/{embedded-wallet-CGXhcRnj.js → embedded-wallet-BgIDj_He.js} +2 -2
- package/_assets/emotion-styled.browser.esm-l1b-waPF.js +2 -0
- package/_assets/{engine-KDQOQrhD.js → engine-BXWuGVnM.js} +2 -2
- package/_assets/{errors-Brkvnldx.js → errors-BMbfdYXo.js} +2 -2
- package/_assets/estimate-l1-fee-CD8k5CcZ.js +2 -0
- package/_assets/eth_estimateGas-Sb0CyY7J.js +2 -0
- package/_assets/eth_getStorageAt-hwP6UkYl.js +2 -0
- package/_assets/eth_getTransactionCount-D6n8U-h9.js +2 -0
- package/_assets/ethereum-CdaH_wYa.js +2 -0
- package/_assets/{ethers-CUPuVG6E.js → ethers-BkKdfT9C.js} +2 -2
- package/_assets/{etherscan-DJ0SXy-j.js → etherscan-DmDyp2wT.js} +2 -2
- package/_assets/{events-BR9mruU0.js → events-BlrWpEou.js} +2 -2
- package/_assets/{exclamation-triangle-Cx-Rg-Q1.js → exclamation-triangle-COwloaAZ.js} +3 -3
- package/_assets/{execute-C99VvcVc.js → execute-Bgz1cqK3.js} +3 -3
- package/_assets/{extension-f7z5q8eX.js → extension-BXZVsCm9.js} +3 -3
- package/_assets/external-link-DY6qwfgd.js +9 -0
- package/_assets/extractIPFS-B_b734Ng.js +2 -0
- package/_assets/{facebook-CGRggpq_.js → facebook-Ce3bxU5i.js} +3 -3
- package/_assets/{farcaster-BDJUKKnv.js → farcaster-5HoyJqWe.js} +2 -2
- package/_assets/{features-DOohSNgk.js → features-CDKG7Hmz.js} +2 -2
- package/_assets/{fetchTokenMetadata-BDnZO97p.js → fetchTokenMetadata-CuIpFNuV.js} +3 -3
- package/_assets/{field.styles-TKt4L2KD.js → field.styles-BEMLDik4.js} +2 -2
- package/_assets/{filters-CC5vo2yt.js → filters-B_7HUVyj.js} +2 -2
- package/_assets/{fortmatic-BaGeZDMU.js → fortmatic-DJHaYrrp.js} +2 -2
- package/_assets/{get-bytecode-BixykfJN.js → get-bytecode-gNcBspSb.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-BSKjbFVc.js +2 -0
- package/_assets/{getBalance-DPyDJTKl.js → getBalance-Bdnv0kW5.js} +3 -3
- package/_assets/getInstalledModules-CJuZfnID.js +2 -0
- package/_assets/getNFT-CX_RJMGs.js +2 -0
- package/_assets/getNFT-DSm8i4P2.js +3 -0
- package/_assets/{github-EOSVHy2c.js → github-psRgdSRX.js} +3 -3
- package/_assets/{google-B7KfKj7W.js → google-zz0wXA6h.js} +3 -3
- package/_assets/{grid.styles-J0kTBoI2.js → grid.styles-DNxH7mV3.js} +2 -2
- package/_assets/{hashTypedData-DcXkmV5f.js → hashTypedData-CkPFl3_v.js} +2 -2
- package/_assets/{hashTypedData-BsX3fUxc.js → hashTypedData-D_L1qSVl.js} +2 -2
- package/_assets/{help-circle-BN_J5ISd.js → help-circle-CaVlHgtL.js} +3 -3
- package/_assets/{id-Be22hW3B.js → id-B-QQrIC1.js} +2 -2
- package/_assets/{image-Cn3EeNg1.js → image-C2jmt9mb.js} +2 -2
- package/_assets/{in-app-DZydcaQ1.js → in-app-C9E9dDZI.js} +2 -2
- package/_assets/in-app-wallet-calls-DPGYJ367.js +2 -0
- package/_assets/{index-B52RzpJA.js → index-4yhVggIG.js} +7 -7
- package/_assets/{index-8LX2pFjK.js → index-B0ccjlO6.js} +2 -2
- package/_assets/{index-CFMzpbyt.js → index-B6nKOltb.js} +5 -5
- package/_assets/index-B9GfX6nZ.js +2 -0
- package/_assets/{index-BrKObU0x.js → index-BEG59V5m.js} +2 -2
- package/_assets/{index-HraWNoBF.js → index-BFF4Wtrd.js} +2 -2
- package/_assets/{index-B_wakS41.js → index-BGwihxy_.js} +5 -5
- package/_assets/{index-CI24MaW_.js → index-BLgyhnOB.js} +4 -4
- package/_assets/{index-DWInL6jk.js → index-BM_MJWEH.js} +2 -2
- package/_assets/{index-DPvR_Oj-.js → index-BTX_br9V.js} +9 -9
- package/_assets/{index-BcBannTx.js → index-BU0s0YsV.js} +4 -4
- package/_assets/{index-B3lay0v6.js → index-BY__a_k2.js} +2 -2
- package/_assets/{index-vvKQ8mTM.js → index-BfnkwKPb.js} +2 -2
- package/_assets/{index-pqSlHrGo.js → index-Bgt4rfvD.js} +6 -6
- package/_assets/{index-BeDNyZpj.js → index-Bpwj5aZq.js} +4 -4
- package/_assets/{index-BL18QLtU.js → index-By-t24sM.js} +3 -3
- package/_assets/{index-BnsHRBeE.js → index-C28Y4GfS.js} +2 -2
- package/_assets/{index-DQCm5vaX.js → index-C5nsVAlg.js} +4 -4
- package/_assets/{index-BVfTPvK9.js → index-C8faQr7o.js} +6 -6
- package/_assets/{index-DOslveRj.js → index-CDOKfAP4.js} +2 -2
- package/_assets/{index-CUheiI-E.js → index-CEppIgvP.js} +2 -2
- package/_assets/{index-BMDu2mdy.js → index-CI_FtP_H.js} +2 -2
- package/_assets/{index-BcULiBCS.js → index-CP_iyrgK.js} +2 -2
- package/_assets/{index-WVfEF4b3.js → index-CX6GgppK.js} +2 -2
- package/_assets/{index-DsoyNhv-.js → index-CYvy7wCe.js} +3 -3
- package/_assets/{index-Uej0dSK3.js → index-CaCe6h0N.js} +2 -2
- package/_assets/{index-qKSuRCD6.js → index-Co9K1tjr.js} +4 -4
- package/_assets/{index-BhEa9XGv.js → index-CraVdd2d.js} +3 -3
- package/_assets/{index-Cw2Mzm-8.js → index-Cu5eVIZW.js} +362 -362
- package/_assets/{index-BWmu3BiF.js → index-CwNIDAnY.js} +2 -2
- package/_assets/{index-CuhZ_hWz.js → index-CzZWufck.js} +2 -2
- package/_assets/{index-DajzqRze.js → index-D6fPXOZ4.js} +2 -2
- package/_assets/{index-BVUfE7bm.js → index-DFnUCHot.js} +2 -2
- package/_assets/{index-BN1rpNEw.js → index-DJLxyn97.js} +2 -2
- package/_assets/{index-BEWPbHqK.js → index-DKaT9l79.js} +2 -2
- package/_assets/{index-C-nlat3H.js → index-DO45kEGr.js} +2 -2
- package/_assets/{index-B__8UZ2Y.js → index-DO_-UENh.js} +3 -3
- package/_assets/{index-CPyWbAeJ.js → index-DOzfFnyE.js} +4 -4
- package/_assets/index-DPpkCfLd.js +3 -0
- package/_assets/index-DRo9jHl4.js +20 -0
- package/_assets/{index-C7ue1mzF.js → index-DSP9Iqsl.js} +2 -2
- package/_assets/{index-B0z-GyUF.js → index-DTNGUu91.js} +4 -4
- package/_assets/{index-BX41uI4v.js → index-DTbvu0hT.js} +3 -3
- package/_assets/index-DYMM7Afr.js +2 -0
- package/_assets/{index-DIQ7F0eH.js → index-DYW8pzZb.js} +16 -16
- package/_assets/index-Dgc1gfL1.js +2 -0
- package/_assets/{index-Clbb31dZ.js → index-DmE5-xxa.js} +2 -2
- package/_assets/{index-r8KGLAPF.js → index-Doi6JSqd.js} +4 -4
- package/_assets/{index-BAqO9-Bf.js → index-Dp15POCn.js} +3 -3
- package/_assets/{index-By5RPCnU.js → index-DpMteDL_.js} +2 -2
- package/_assets/{index-Bs6whiAj.js → index-DqrCl0kP.js} +3 -3
- package/_assets/index-DweogHqy.js +31 -0
- package/_assets/{index-MWJqCMed.js → index-FGc7ie14.js} +4 -4
- package/_assets/{index-WV7ah7AN.js → index-QbWS9hvW.js} +7 -7
- package/_assets/{index-oMtL-8Re.js → index-S4yRhouQ.js} +3 -3
- package/_assets/{index-BjeFPZ5z.js → index-SVRM6Dll.js} +4 -4
- package/_assets/{index-CZasRrEA.js → index-SunvF2qC.js} +2 -2
- package/_assets/{index-B47oSrUZ.js → index-Vp2Cyuj4.js} +27 -27
- package/_assets/{index-BwYOC1g7.js → index-Z-om_lRF.js} +6 -6
- package/_assets/{index-CD6ZAwbw.js → index-aWFzd6wN.js} +2 -2
- package/_assets/{index-B4NGc66i.js → index-e1KWQKJ8.js} +2 -2
- package/_assets/{index-CyBLTYa7.js → index-fo9dMw9r.js} +2 -2
- package/_assets/{index-BZE48mP9.js → index-hoLwFlPj.js} +4 -4
- package/_assets/{index-g1PYBhHE.js → index-hwD8qF60.js} +2 -2
- package/_assets/{index-D8eojdJO.js → index-s1Nr5kQ7.js} +2 -2
- package/_assets/{index-B9vrVQnr.js → index-y_hMciTd.js} +3 -3
- package/_assets/{index-BGfUDEWl.js → index-zb1ns0z6.js} +2 -2
- package/_assets/{index.es-DTC1ULyQ.js → index.es-4--UzZWx.js} +2 -2
- package/_assets/{index.es-Diay8m1a.js → index.es-BDVK5TD-.js} +5 -5
- package/_assets/{index.es-BgTosg8l.js → index.es-Dx_CaY31.js} +2 -2
- package/_assets/{index.es-DOcz4_Vt.js → index.es-nq7gaPcg.js} +2 -2
- package/_assets/{info-CwfqZ_F5.js → info-OmyNm-OX.js} +2 -2
- package/_assets/{info-circle-DulYFvYW.js → info-circle-BXcv2mSp.js} +3 -3
- package/_assets/{items-empty-rljSVFED.js → items-empty-R5WK5PMK.js} +2 -2
- package/_assets/jsxRuntime.module-MtWsgs3K.js +2 -0
- package/_assets/{lightbulb-CE_dw_oh.js → lightbulb-BhYYPKCa.js} +3 -3
- package/_assets/{linkAccount-CW__m-WC.js → linkAccount-Ckk5_NQN.js} +2 -2
- package/_assets/{localBatchGatewayRequest-u70ohVze.js → localBatchGatewayRequest-DKK4zzfW.js} +2 -2
- package/_assets/{mail-DJ6kL25J.js → mail-BujAiJT_.js} +3 -3
- package/_assets/{mobile-fDCl_uHz.js → mobile-DbqgdYYl.js} +2 -2
- package/_assets/{more-C7_Whde7.js → more-DW0Ubi-A.js} +2 -2
- package/_assets/{native-Bo3oXbRP.js → native-CV9XiVhM.js} +2 -2
- package/_assets/{network-placeholder-Cz4dQYwV.js → network-placeholder-9yKv-UCl.js} +2 -2
- package/_assets/{networks-DRc-xttk.js → networks-CkKZfG02.js} +2 -2
- package/_assets/{nftPlaceholder-BihS-dFi.js → nftPlaceholder-Dp7HrYOG.js} +3 -3
- package/_assets/off-B06N3u5j.js +9 -0
- package/_assets/{onramp-DR2jE7ju.js → onramp-BFizGcOi.js} +2 -2
- package/_assets/openzeppelin-D8oUHnq0.js +2 -0
- package/_assets/ownerOf-WC38y5s4.js +2 -0
- package/_assets/parseNft-DR3O7nQ-.js +3 -0
- package/_assets/{parseSignature-pmUjv56d.js → parseSignature-DAMunqPV.js} +4 -4
- package/_assets/{parseSignature-D8LS2zK_.js → parseSignature-DY-_UuqO.js} +2 -2
- package/_assets/{passkeys-C7wzWFTM.js → passkeys-BNNATNLz.js} +2 -2
- package/_assets/{pay-with-exchange-BjDhbRAJ.js → pay-with-exchange-KOKj4Qv1.js} +2 -2
- package/_assets/{play-store-BoegC4yH.js → play-store-CGV0O_Jz.js} +2 -2
- package/_assets/{plus-CGZQ4v4u.js → plus-D8Do9lRK.js} +3 -3
- package/_assets/{prepare-contract-call-nLDmJVit.js → prepare-contract-call-oS4Lc2oD.js} +2 -2
- package/_assets/{qr-code-D4FwFoJ2.js → qr-code-CnvkPJlE.js} +3 -3
- package/_assets/{qr-overlay-CIPmMXer.js → qr-overlay-_xsParJI.js} +4 -4
- package/_assets/{react-BHaOXxRY.js → react-CqRdBiAM.js} +3 -3
- package/_assets/{receive-CcNZE2if.js → receive-iFQ-ua7F.js} +7 -7
- package/_assets/{recycle-horizontal-BQghFdmJ.js → recycle-horizontal-BUI1wFhc.js} +2 -2
- package/_assets/{ref-CRG-0jL7.js → ref-LkxlwUph.js} +3 -3
- package/_assets/{refresh-BeYZoKSh.js → refresh-gWkM7TpU.js} +3 -3
- package/_assets/{reown-logo-BUmcB6sW.js → reown-logo-CpiN-NOh.js} +3 -3
- package/_assets/{resolveImplementation-DXWpYEj6.js → resolveImplementation-Bi9lyu0O.js} +2 -2
- package/_assets/{resume-buy-BVqIQtWn.js → resume-buy-DHJviuUy.js} +2 -2
- package/_assets/{rpc-ClZWzOlg.js → rpc-BIlCH0jz.js} +4 -4
- package/_assets/sales-empty-Lf9utCfp.js +2 -0
- package/_assets/{search-b1pLcQ0Q.js → search-Wn0h8HYX.js} +3 -3
- package/_assets/{search-empty-BCkNykRb.js → search-empty-DZykHPpC.js} +2 -2
- package/_assets/{secp256k1-DYJNbcF0.js → secp256k1-CSkeOkSu.js} +2 -2
- package/_assets/{secp256k1-Cd3k2XKF.js → secp256k1-CbiIJIKg.js} +2 -2
- package/_assets/{secp256k1-CjE2VWX5.js → secp256k1-G7aCSHGh.js} +2 -2
- package/_assets/{send-lC4ra6w3.js → send-BbZytlP1.js} +2 -2
- package/_assets/{send-batch-transaction-DItZkY3I.js → send-batch-transaction-BqLEMuVz.js} +2 -2
- package/_assets/{send-eip712-transaction-DI-Pj8UW.js → send-eip712-transaction-DH4E2IQ9.js} +3 -3
- package/_assets/send-gasless-transaction-pZMOcEJp.js +3 -0
- package/_assets/{send-D5zRhoBQ.js → send-jLjxEmUL.js} +2 -2
- package/_assets/send-transaction-BHL0Ky_u.js +3 -0
- package/_assets/sendMetaTransaction-D4NV_Z2d.js +2 -0
- package/_assets/{sendRawTransaction-D1OfMqA1.js → sendRawTransaction-DaC7p3YL.js} +4 -4
- package/_assets/{sentry-Dpl2Rzxy.js → sentry-QT4W68kU.js} +3 -3
- package/_assets/{serializeTransaction-F_XNOr0Z.js → serializeTransaction-C8YsCGmE.js} +2 -2
- package/_assets/{session-proposal-DB1yG9nH.js → session-proposal-CZt3Am1G.js} +2 -2
- package/_assets/{session-request-j7iOt29A.js → session-request-D7Qvnbja.js} +3 -3
- package/_assets/{sha256-Di1SVFod.js → sha256-CKF7T__H.js} +2 -2
- package/_assets/{signing-DxdCqlSy.js → signing-DEU53TJs.js} +4 -4
- package/_assets/{skeleton.styles-zgOid3nY.js → skeleton.styles-DuzcTruM.js} +2 -2
- package/_assets/{socials-DJAqKU-U.js → socials-CDonRU5g.js} +2 -2
- package/_assets/styled-DQ0MS9K9.js +10 -0
- package/_assets/{swapHorizontal-B917A7vy.js → swapHorizontal-3Mejt9DE.js} +3 -3
- package/_assets/{swapHorizontalBold-BXr9TuPL.js → swapHorizontalBold-DkYUmHIw.js} +3 -3
- package/_assets/{swapHorizontalMedium-BK00_YJ-.js → swapHorizontalMedium-C-AChIRi.js} +2 -2
- package/_assets/{swapHorizontalRoundedBold-Bi8rzI9h.js → swapHorizontalRoundedBold-BtKMBAIU.js} +2 -2
- package/_assets/{swapVertical-Cw3vad0G.js → swapVertical-drqnjZhx.js} +3 -3
- package/_assets/{swaps-B-Tp5Qv4.js → swaps-BG4bZAwA.js} +2 -2
- package/_assets/{telegram-BddjnyZB.js → telegram-B0zQ2xux.js} +3 -3
- package/_assets/{thirdweb-BOZWFkQA.js → thirdweb-BultVWDe.js} +4 -4
- package/_assets/{three-dots-C6jZ-WFx.js → three-dots-CalKjIbH.js} +3 -3
- package/_assets/{to-serializable-transaction-CRendAr2.js → to-serializable-transaction-7GZIlUwa.js} +3 -3
- package/_assets/totalSupply-BjDXTRd5.js +2 -0
- package/_assets/{transaction-DkGLxYnP.js → transaction-DJJYB-bS.js} +2 -2
- package/_assets/transactionReceipt-BFqjWIk_.js +2 -0
- package/_assets/transactions-C66m8v56.js +17 -0
- package/_assets/{twitch-D8WrDbmL.js → twitch-DFJ9vbRU.js} +3 -3
- package/_assets/{twitterIcon-DlYypBM9.js → twitterIcon-PQaPXSEq.js} +3 -3
- package/_assets/{useCreditPacks-BPDUvy8q.js → useCreditPacks-64zBWb3r.js} +2 -2
- package/_assets/useInfiniteGrid-P2LEDNuS.js +2 -0
- package/_assets/useStore-B20REMrb.js +3 -0
- package/_assets/{useTheme-BcK-N9Fs.js → useTheme-D9eRcdtM.js} +2 -2
- package/_assets/{utils-K367Ne2k.js → utils-BvhP48Q2.js} +2 -2
- package/_assets/{verify-DkJJJlPs.js → verify-BkXjhgFz.js} +3 -3
- package/_assets/{verify-filled-Cu34rKfG.js → verify-filled-Bgl9j8Ps.js} +3 -3
- package/_assets/{verifyHash-BHb926ge.js → verifyHash-PLxZSWO1.js} +2 -2
- package/_assets/{w3m-modal-1cxICjRk.js → w3m-modal-BQhXXmny.js} +2 -2
- package/_assets/{w3m-modal-y2XhCIMG.js → w3m-modal-D2EQvtR2.js} +2 -2
- package/_assets/{wait-for-tx-receipt-DFNZcCoK.js → wait-for-tx-receipt-kuPicViV.js} +2 -2
- package/_assets/{wallet-C65hLKu5.js → wallet-h2At2yYW.js} +3 -3
- package/_assets/{wallet-placeholder-Bdb-3o1I.js → wallet-placeholder-BAdAxbaS.js} +2 -2
- package/_assets/{walletconnect-DadsNaAD.js → walletconnect-DGwNgL-R.js} +4 -4
- package/_assets/{wallets-DPBqMg7o.js → wallets-CUeCRpI2.js} +6 -6
- package/_assets/{warning-circle-DE3Cl0f1.js → warning-circle-BcDrWyl5.js} +2 -2
- package/_assets/{web-connector-Bgql32Uf.js → web-connector-7kv9dNjR.js} +4 -4
- package/_assets/{writeContract-CWEmZuYp.js → writeContract-Cpmv8aqh.js} +2 -2
- package/_assets/x-DoyXusK-.js +13 -0
- package/_assets/{zora-sepolia-c_zFjBRj.js → zora-sepolia-BIWjgzR4.js} +2 -2
- package/_assets/{zoraTestnet-B8xtjMH5.js → zoraTestnet-B4Im9dwk.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Confetti-MCo50BBJ.js +0 -18
- package/_assets/DeploymentBuilder-qk7PnHQx.js +0 -4
- package/_assets/Grow-jPHmsNlR.js +0 -2
- package/_assets/LazyEmoteControls-DnslqPZG.js +0 -3
- package/_assets/NotificationsBell-DeI14Ker.js +0 -142
- package/_assets/OutfitDetail-Buecr6Xb.js +0 -376
- package/_assets/OutfitPreview-CXccjyME.js +0 -7
- package/_assets/PhCaretDown-G6ZOf3Jn.js +0 -15
- package/_assets/PhCaretUp-CuwUNUkq.js +0 -15
- package/_assets/arrow-top-X36TCUPc.js +0 -9
- package/_assets/async-directive-DVKyJ8n3.js +0 -10
- package/_assets/authorizations-zGupbQDs.js +0 -2
- package/_assets/buy-CZ48Qb0B.js +0 -2
- package/_assets/chevron-bottom-D8_GkQ-J.js +0 -9
- package/_assets/chevron-left-9Zv2sApZ.js +0 -9
- package/_assets/collectionPage.styles-BG7xsIyB.js +0 -40
- package/_assets/common-BKs8BygA.js +0 -2
- package/_assets/createSvgIcon-TWSMDLRV.js +0 -75
- package/_assets/cursor-bva6Zsy2.js +0 -4
- package/_assets/decimals-CriYb_mR.js +0 -2
- package/_assets/decimals-dM6NWaYC.js +0 -2
- package/_assets/detectExtension-DKO4W8XW.js +0 -2
- package/_assets/emotion-styled.browser.esm-DqxM2tFY.js +0 -2
- package/_assets/estimate-l1-fee-CXjO5G6B.js +0 -2
- package/_assets/eth_estimateGas-Az-d7u81.js +0 -2
- package/_assets/eth_getStorageAt-DUjWCRH_.js +0 -2
- package/_assets/eth_getTransactionCount-DUedgx_K.js +0 -2
- package/_assets/ethereum-CGqNaPv8.js +0 -2
- package/_assets/external-link-DP_pNrc3.js +0 -9
- package/_assets/extractIPFS-BZARbAAN.js +0 -2
- package/_assets/get-ecosystem-wallet-info-BRBLaxAB.js +0 -2
- package/_assets/getInstalledModules-COw1E-0h.js +0 -2
- package/_assets/getNFT-BJqA-Dy5.js +0 -2
- package/_assets/getNFT-BZ6gJSTz.js +0 -3
- package/_assets/in-app-wallet-calls-95DziyxS.js +0 -2
- package/_assets/index-Bu7oJJ0x.js +0 -2
- package/_assets/index-CBxXauNU.js +0 -31
- package/_assets/index-CLWFGmUC.js +0 -20
- package/_assets/index-CxTOZKg9.js +0 -3
- package/_assets/index-D_5cEpKH.js +0 -2
- package/_assets/index-hDG9ZZQ9.js +0 -2
- package/_assets/jsxRuntime.module-hV4zW-M8.js +0 -2
- package/_assets/off-txTunFjX.js +0 -9
- package/_assets/openzeppelin-Bk9vo-GM.js +0 -2
- package/_assets/ownerOf-BODrSAnN.js +0 -2
- package/_assets/parseNft-DQbWG72w.js +0 -3
- package/_assets/sales-empty-CGZEK996.js +0 -2
- package/_assets/send-gasless-transaction-H_PFa7sP.js +0 -3
- package/_assets/send-transaction-BiXKHFMN.js +0 -3
- package/_assets/sendMetaTransaction-Bekk2SqJ.js +0 -2
- package/_assets/styled-6v9MWELU.js +0 -10
- package/_assets/totalSupply-DgwOpDBe.js +0 -2
- package/_assets/transactionReceipt-BcMA8FhJ.js +0 -2
- package/_assets/transactions-DejHNyTK.js +0 -17
- package/_assets/useInfiniteGrid-CFkyIjyn.js +0 -2
- package/_assets/useStore-BsXE3VXt.js +0 -3
- package/_assets/x-C7WtQF7V.js +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as d,j as t,L as F,
|
|
1
|
+
import{r as d,j as t,L as F,e as Xt,a as Yt,b as Zt}from"./react-CqRdBiAM.js";import{s,t as ut,I as _,b2 as te,b as e,q as ot,ap as rt,B as x,A as Ct,o as X,a7 as ee,n as ie,r as Et,l as Lt,aa as se,af as z,b3 as V,b4 as oe,b5 as re,b6 as J,aj as ae,al as ne,ah as de,ai as le,a8 as Rt,an as ue,b7 as at,b8 as ce,b9 as pe,ba as fe,w as N,bb as zt,bc as Pt,bd as A,h as nt,be as dt,bf as he,bg as xe,bh as me,ae as ge,bi as be,bj as ye,av as je}from"./index-Cu5eVIZW.js";import{E as U}from"./ErrorNotice-CQFq9JZk.js";import{L as ve}from"./LoadMore-DyZz_VHm.js";import{u as we}from"./useInfiniteGrid-P2LEDNuS.js";import{O as $e}from"./OutfitPreview-BXChxeo1.js";import{T as ke}from"./skeleton.styles-DuzcTruM.js";import"./dcl-schemas-B7N0eru-.js";import"./sentry-QT4W68kU.js";import"./ethers-BkKdfT9C.js";import"./intl-AKLEHPeO.js";import"./disposePreview-DOTMbNIL.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new a.Error().stack;f&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[f]="5ee80e05-1e6e-4d70-ad3e-bea779491769",a._sentryDebugIdIdentifier="sentry-dbid-5ee80e05-1e6e-4d70-ad3e-bea779491769")}catch{}})();const{colors:m,radius:Y,media:Se}=ut,Ie=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 12px;
|
|
@@ -7,7 +7,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
7
7
|
align-items: center;
|
|
8
8
|
gap: 8px;
|
|
9
9
|
border: 1px solid rgba(255, 255, 255, 0.45);
|
|
10
|
-
border-radius: ${
|
|
10
|
+
border-radius: ${Y.pill};
|
|
11
11
|
padding: 0 14px;
|
|
12
12
|
height: 44px;
|
|
13
13
|
background: rgba(0, 0, 0, 0.25);
|
|
@@ -35,7 +35,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
35
35
|
`,Ee=s.button`
|
|
36
36
|
min-height: 44px;
|
|
37
37
|
padding: 0 16px;
|
|
38
|
-
border-radius: ${
|
|
38
|
+
border-radius: ${Y.pill};
|
|
39
39
|
border: 1px solid rgba(255, 255, 255, 0.45);
|
|
40
40
|
background: none;
|
|
41
41
|
font: inherit;
|
|
@@ -58,7 +58,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
58
58
|
}
|
|
59
59
|
`,Le=s.span`
|
|
60
60
|
height: 190px;
|
|
61
|
-
border-radius: ${
|
|
61
|
+
border-radius: ${Y.card};
|
|
62
62
|
`,Re=s.button`
|
|
63
63
|
position: relative;
|
|
64
64
|
display: flex;
|
|
@@ -67,7 +67,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
67
67
|
padding: 8px;
|
|
68
68
|
background: rgba(0, 0, 0, 0.4);
|
|
69
69
|
border: 1px solid transparent;
|
|
70
|
-
border-radius: ${
|
|
70
|
+
border-radius: ${Y.card};
|
|
71
71
|
text-align: left;
|
|
72
72
|
font: inherit;
|
|
73
73
|
color: ${m.softWhite};
|
|
@@ -111,13 +111,13 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
111
111
|
color: ${m.accent};
|
|
112
112
|
background: ${m.white};
|
|
113
113
|
border-radius: 50%;
|
|
114
|
-
`,Ae=[{key:"wearable",labelKey:"categories.wearables"},{key:"emote",labelKey:"categories.emotes"}];function Fe({selectedKeys:
|
|
114
|
+
`,Ae=[{key:"wearable",labelKey:"categories.wearables"},{key:"emote",labelKey:"categories.emotes"}];function Fe({selectedKeys:a,onPick:f,canPick:h}){const[c,y]=d.useState("wearable"),[j,b]=d.useState(""),[o,R]=d.useState("");d.useEffect(()=>{const l=setTimeout(()=>R(j.trim()),300);return()=>clearTimeout(l)},[j]);const{items:T,isLoading:C,isPlaceholderData:u,isError:S,hasNextPage:E,isFetchingNextPage:Z,fetchNextPage:k}=we(["outfit-picker",c,o],l=>te({search:o||void 0,category:c,onSale:!0,listingType:"primary",first:24,skip:l,sortBy:"cheapest"})),g=e(c==="emote"?"outfits.studio.searchEmotes":"outfits.studio.searchWearables"),K=new Set,B=T.filter(l=>{if(!l.itemId)return!1;const v=`${l.contractAddress.toLowerCase()}-${l.itemId}`;return K.has(v)?!1:(K.add(v),!0)});return t.jsxs(Ie,{"data-testid":"outfit-picker",children:[t.jsx(Ce,{role:"group","aria-label":e("outfits.studio.pickerCategory"),"data-testid":"outfit-picker-category",children:Ae.map(({key:l,labelKey:v})=>t.jsx(Ee,{type:"button","data-category":l,"data-selected":c===l||void 0,"aria-pressed":c===l,onClick:()=>{y(l),b("")},children:e(v)},l))}),t.jsxs(Te,{children:[t.jsx(_,{name:"search",color:ut.colors.muted}),t.jsx("input",{value:j,placeholder:g,"aria-label":g,onChange:l=>b(l.target.value),"data-testid":"outfit-picker-search"})]}),S?t.jsx(wt,{children:e("outfits.errors.generic")}):C||u?t.jsx($t,{"aria-busy":"true",children:Array.from({length:8},(l,v)=>t.jsx(Le,{className:"skeleton","aria-hidden":!0},v))}):B.length===0?t.jsx(wt,{children:e("outfits.studio.noResults")}):t.jsx($t,{children:B.map(l=>{const v=`${l.contractAddress.toLowerCase()}-${l.itemId}`,H=a.has(v);return t.jsxs(Re,{type:"button","data-testid":"outfit-picker-item","data-selected":H||void 0,disabled:!H&&!h(l),onClick:()=>f(l),title:l.name,children:[t.jsx(ze,{src:l.thumbnail,alt:"",loading:"lazy"}),t.jsx(Pe,{children:l.name}),t.jsxs(We,{children:[t.jsx(ot,{size:12}),t.jsx(rt,{credits:l.priceCredits})]}),H?t.jsx(Oe,{name:"check-rounded",size:18}):null]},v)})}),!S&&!C&&!u?t.jsx(ve,{auto:!1,hasNextPage:!!E,isFetching:Z,onLoadMore:()=>void k()}):null]})}const{colors:n,radius:$,media:D,z:Ne}=ut,Wt=s.div`
|
|
115
115
|
max-width: 1200px;
|
|
116
116
|
margin: 0 auto;
|
|
117
117
|
display: flex;
|
|
118
118
|
flex-direction: column;
|
|
119
119
|
gap: 20px;
|
|
120
|
-
color: ${
|
|
120
|
+
color: ${n.softWhite};
|
|
121
121
|
`,O=s.div`
|
|
122
122
|
min-height: 52vh;
|
|
123
123
|
display: flex;
|
|
@@ -126,13 +126,13 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
126
126
|
justify-content: center;
|
|
127
127
|
text-align: center;
|
|
128
128
|
gap: 14px;
|
|
129
|
-
color: ${
|
|
129
|
+
color: ${n.softWhite};
|
|
130
130
|
`,kt=s.h1`
|
|
131
131
|
font-size: 24px;
|
|
132
132
|
`,w=s.p`
|
|
133
133
|
margin: 0;
|
|
134
134
|
font-size: 13px;
|
|
135
|
-
color: ${
|
|
135
|
+
color: ${n.gray4};
|
|
136
136
|
`,Ot=s.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
align-items: center;
|
|
@@ -148,7 +148,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
148
148
|
width: 44px;
|
|
149
149
|
height: 44px;
|
|
150
150
|
border-radius: 50%;
|
|
151
|
-
color: ${
|
|
151
|
+
color: ${n.softWhite};
|
|
152
152
|
|
|
153
153
|
&:hover {
|
|
154
154
|
background: rgba(255, 255, 255, 0.14);
|
|
@@ -161,11 +161,11 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
161
161
|
padding: 3px 10px;
|
|
162
162
|
border-radius: ${$.pill};
|
|
163
163
|
background: rgba(255, 255, 255, 0.16);
|
|
164
|
-
color: ${
|
|
164
|
+
color: ${n.softWhite};
|
|
165
165
|
|
|
166
166
|
&[data-state='published'] {
|
|
167
167
|
background: rgba(30, 166, 114, 0.35);
|
|
168
|
-
color: ${
|
|
168
|
+
color: ${n.white};
|
|
169
169
|
}
|
|
170
170
|
`,St=s.div`
|
|
171
171
|
display: flex;
|
|
@@ -189,7 +189,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
189
189
|
width: 52px;
|
|
190
190
|
height: 52px;
|
|
191
191
|
border-radius: 8px;
|
|
192
|
-
background: ${
|
|
192
|
+
background: ${n.media};
|
|
193
193
|
flex-shrink: 0;
|
|
194
194
|
`,Me=s.div`
|
|
195
195
|
${Nt};
|
|
@@ -221,7 +221,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
221
221
|
align-items: center;
|
|
222
222
|
gap: 8px;
|
|
223
223
|
font-size: 13px;
|
|
224
|
-
color: ${
|
|
224
|
+
color: ${n.gray4};
|
|
225
225
|
`,qe=s.div`
|
|
226
226
|
display: flex;
|
|
227
227
|
align-items: center;
|
|
@@ -240,11 +240,11 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
240
240
|
border: 0;
|
|
241
241
|
background: none;
|
|
242
242
|
border-radius: 50%;
|
|
243
|
-
color: ${
|
|
243
|
+
color: ${n.gray4};
|
|
244
244
|
cursor: pointer;
|
|
245
245
|
|
|
246
246
|
&:hover {
|
|
247
|
-
color: ${
|
|
247
|
+
color: ${n.dclRed};
|
|
248
248
|
background: rgba(255, 255, 255, 0.14);
|
|
249
249
|
}
|
|
250
250
|
|
|
@@ -259,13 +259,13 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
259
259
|
display: grid;
|
|
260
260
|
place-items: center;
|
|
261
261
|
padding: 16px;
|
|
262
|
-
`,
|
|
262
|
+
`,Je=s.div`
|
|
263
263
|
position: absolute;
|
|
264
264
|
inset: 0;
|
|
265
265
|
background: rgba(22, 21, 24, 0.5);
|
|
266
|
-
`,
|
|
266
|
+
`,Xe=s.div`
|
|
267
267
|
position: relative;
|
|
268
|
-
background: ${
|
|
268
|
+
background: ${n.bg};
|
|
269
269
|
border-radius: ${$.card};
|
|
270
270
|
padding: 24px;
|
|
271
271
|
max-width: 420px;
|
|
@@ -273,7 +273,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
273
273
|
display: flex;
|
|
274
274
|
flex-direction: column;
|
|
275
275
|
gap: 12px;
|
|
276
|
-
`,
|
|
276
|
+
`,Ye=s.h2`
|
|
277
277
|
font-size: 18px;
|
|
278
278
|
font-weight: 800;
|
|
279
279
|
`,Ze=s.div`
|
|
@@ -304,7 +304,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
304
304
|
aspect-ratio: 3 / 4;
|
|
305
305
|
border-radius: 16px;
|
|
306
306
|
overflow: hidden;
|
|
307
|
-
background: ${
|
|
307
|
+
background: ${n.media};
|
|
308
308
|
|
|
309
309
|
${D.maxWidth("mobile")} {
|
|
310
310
|
aspect-ratio: 1 / 1;
|
|
@@ -329,7 +329,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
329
329
|
place-items: center;
|
|
330
330
|
padding: 24px;
|
|
331
331
|
text-align: center;
|
|
332
|
-
color: ${
|
|
332
|
+
color: ${n.softWhite};
|
|
333
333
|
text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
|
|
334
334
|
`,P=s.div`
|
|
335
335
|
display: flex;
|
|
@@ -340,11 +340,11 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
340
340
|
font-weight: 700;
|
|
341
341
|
letter-spacing: 0.04em;
|
|
342
342
|
text-transform: uppercase;
|
|
343
|
-
color: ${
|
|
343
|
+
color: ${n.gray4};
|
|
344
344
|
`,ri=s.div`
|
|
345
345
|
display: flex;
|
|
346
346
|
gap: 8px;
|
|
347
|
-
`,
|
|
347
|
+
`,ai=s.button`
|
|
348
348
|
min-height: 44px;
|
|
349
349
|
padding: 0 16px;
|
|
350
350
|
border-radius: ${$.pill};
|
|
@@ -352,20 +352,20 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
352
352
|
background: none;
|
|
353
353
|
font: inherit;
|
|
354
354
|
font-weight: 600;
|
|
355
|
-
color: ${
|
|
355
|
+
color: ${n.softWhite};
|
|
356
356
|
cursor: pointer;
|
|
357
357
|
|
|
358
358
|
&[data-selected] {
|
|
359
|
-
border-color: ${
|
|
360
|
-
background: ${
|
|
361
|
-
color: ${
|
|
359
|
+
border-color: ${n.softWhite};
|
|
360
|
+
background: ${n.softWhite};
|
|
361
|
+
color: ${n.text};
|
|
362
362
|
}
|
|
363
|
-
`,
|
|
363
|
+
`,ni=s.div`
|
|
364
364
|
width: 240px;
|
|
365
365
|
aspect-ratio: 3 / 4;
|
|
366
366
|
border-radius: ${$.card};
|
|
367
367
|
overflow: hidden;
|
|
368
|
-
background: ${
|
|
368
|
+
background: ${n.media};
|
|
369
369
|
|
|
370
370
|
&[data-busy] {
|
|
371
371
|
opacity: 0.6;
|
|
@@ -390,7 +390,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
390
390
|
width: 44px;
|
|
391
391
|
height: 44px;
|
|
392
392
|
padding: 2px;
|
|
393
|
-
border: 1px solid ${
|
|
393
|
+
border: 1px solid ${n.lineStrong};
|
|
394
394
|
border-radius: ${$.btn};
|
|
395
395
|
background: none;
|
|
396
396
|
cursor: pointer;
|
|
@@ -407,21 +407,21 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
407
407
|
flex-direction: column;
|
|
408
408
|
gap: 2px;
|
|
409
409
|
font-size: 12px;
|
|
410
|
-
color: ${
|
|
410
|
+
color: ${n.gray4};
|
|
411
411
|
`,pi=s.input`
|
|
412
412
|
width: 88px;
|
|
413
413
|
height: 26px;
|
|
414
414
|
padding: 0 6px;
|
|
415
|
-
border: 1px solid ${
|
|
415
|
+
border: 1px solid ${n.lineStrong};
|
|
416
416
|
border-radius: ${$.chip};
|
|
417
|
-
background: ${
|
|
417
|
+
background: ${n.white};
|
|
418
418
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
419
419
|
font-size: 12px;
|
|
420
|
-
color: ${
|
|
420
|
+
color: ${n.text};
|
|
421
421
|
text-transform: lowercase;
|
|
422
422
|
|
|
423
423
|
&[data-invalid] {
|
|
424
|
-
border-color: ${
|
|
424
|
+
border-color: ${n.errStrong};
|
|
425
425
|
}
|
|
426
426
|
`,fi=s.div`
|
|
427
427
|
width: 281px;
|
|
@@ -440,14 +440,14 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
440
440
|
`,It=s.input`
|
|
441
441
|
height: 44px;
|
|
442
442
|
padding: 0 14px;
|
|
443
|
-
border: 1px solid ${
|
|
443
|
+
border: 1px solid ${n.lineStrong};
|
|
444
444
|
border-radius: ${$.btn};
|
|
445
|
-
background: ${
|
|
445
|
+
background: ${n.white};
|
|
446
446
|
font: inherit;
|
|
447
|
-
color: ${
|
|
447
|
+
color: ${n.text};
|
|
448
448
|
|
|
449
449
|
&:focus {
|
|
450
|
-
outline: 2px solid ${
|
|
450
|
+
outline: 2px solid ${n.accent};
|
|
451
451
|
outline-offset: -1px;
|
|
452
452
|
}
|
|
453
453
|
`,mi=s.ul`
|
|
@@ -476,7 +476,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
476
476
|
width: 40px;
|
|
477
477
|
height: 40px;
|
|
478
478
|
border-radius: 8px;
|
|
479
|
-
background: ${
|
|
479
|
+
background: ${n.media};
|
|
480
480
|
flex-shrink: 0;
|
|
481
481
|
`,bi=s.img`
|
|
482
482
|
${Dt};
|
|
@@ -499,7 +499,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
499
499
|
border: 1px solid rgba(255, 255, 255, 0.45);
|
|
500
500
|
font-size: 11px;
|
|
501
501
|
font-weight: 600;
|
|
502
|
-
color: ${
|
|
502
|
+
color: ${n.softWhite};
|
|
503
503
|
white-space: nowrap;
|
|
504
504
|
|
|
505
505
|
${D.maxWidth("mobile")} {
|
|
@@ -511,7 +511,7 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
511
511
|
align-items: center;
|
|
512
512
|
gap: 4px;
|
|
513
513
|
font-size: 13px;
|
|
514
|
-
color: ${
|
|
514
|
+
color: ${n.gray4};
|
|
515
515
|
white-space: nowrap;
|
|
516
516
|
`,$i=s.div`
|
|
517
517
|
display: flex;
|
|
@@ -536,11 +536,11 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
536
536
|
border: 0;
|
|
537
537
|
background: none;
|
|
538
538
|
border-radius: 50%;
|
|
539
|
-
color: ${
|
|
539
|
+
color: ${n.gray4};
|
|
540
540
|
cursor: pointer;
|
|
541
541
|
|
|
542
542
|
&:hover {
|
|
543
|
-
color: ${
|
|
543
|
+
color: ${n.dclRed};
|
|
544
544
|
background: rgba(255, 255, 255, 0.14);
|
|
545
545
|
}
|
|
546
546
|
`,Ii=s.div`
|
|
@@ -553,5 +553,5 @@ import{r as d,j as t,L as F,d as Yt,a as Jt,b as Zt}from"./react-BHaOXxRY.js";im
|
|
|
553
553
|
display: flex;
|
|
554
554
|
flex-wrap: wrap;
|
|
555
555
|
gap: 10px;
|
|
556
|
-
`;function Ki(){const{id:n}=Yt(),{pathname:f}=Jt(),h=Y(b=>b.session),c=Y(b=>b.signIn),y=ee();ie({title:e("outfits.studio.title"),noindex:!0});const j=f.endsWith("/new")?"new":n?"edit":"list";return y==="pending"?t.jsx(O,{"aria-busy":"true","data-testid":"outfit-studio-loading",children:t.jsx("span",{className:"spinner","aria-hidden":!0})}):h?y!=="creator"?t.jsxs(O,{"data-testid":"outfit-studio-unavailable",children:[t.jsx(kt,{children:e("outfits.studio.title")}),t.jsx(w,{children:e("outfits.studio.notAvailable")}),t.jsx(x,{as:F,to:"/overview",variant:"white",children:e("outfits.studio.backToShop")})]}):j==="list"?t.jsx(Ei,{}):t.jsx(zi,{outfitId:j==="edit"?n:null},n??"new"):t.jsxs(O,{"data-testid":"outfit-studio-signin",children:[t.jsx(kt,{children:e("outfits.studio.title")}),t.jsx(w,{children:e("outfits.studio.signInPrompt")}),t.jsx(x,{variant:"white",onClick:()=>c(),children:e("outfits.studio.signIn")})]})}function Ci({outfit:n}){const f=Rt(n.thumbnailHash);return f?t.jsx(Me,{style:{background:pe(n)},children:t.jsx("img",{src:f,alt:"",loading:"lazy"})}):t.jsx(Ue,{"aria-hidden":!0})}function Ei(){const n=Y(u=>u.session),f=Et(),[h,c]=d.useState(null),[y,j]=d.useState(null),{data:b=[],isLoading:o,isError:R,refetch:T}=Lt({queryKey:["outfits-all"],enabled:!!n,staleTime:3e4,queryFn:()=>ye(n.identity)});async function C(u,S){if(n){j(u.id);try{S==="delete"?(await fe(u.id,n.identity),N.success(e("outfits.studio.deleted"))):(await zt({...lt(u),published:!1},n.identity,"update"),N.success(e("outfits.studio.unpublished"))),Pt(f)}catch(E){E instanceof A||at(E,{flow:`outfit-${S}`}),N.error(e(E instanceof A?dt(E.code):"outfits.errors.generic"))}finally{j(null),c(null)}}}return t.jsxs(Wt,{"data-testid":"outfit-studio-list",children:[t.jsxs(Ot,{children:[t.jsx(At,{children:e("outfits.studio.myOutfits")}),t.jsx(x,{as:F,to:"/outfits/new",variant:"white","data-testid":"outfit-studio-new",children:e("outfits.studio.new")})]}),o?t.jsx(St,{"aria-busy":"true",children:Array.from({length:3},(u,S)=>t.jsx(Be,{className:"skeleton","aria-hidden":!0},S))}):R?t.jsxs(O,{children:[t.jsx(U,{message:e("outfits.errors.generic")}),t.jsx(x,{variant:"white",onClick:()=>void T(),children:e("outfits.detail.retry")})]}):b.length===0?t.jsx(w,{children:e("outfits.studio.empty")}):t.jsx(St,{children:b.map(u=>t.jsxs(He,{"data-testid":"outfit-studio-row","data-published":u.published||void 0,children:[t.jsx(Ci,{outfit:u}),t.jsxs(_e,{children:[t.jsx(Ke,{children:u.name||e("outfits.studio.untitled")}),t.jsxs(Ge,{children:[t.jsx(Ft,{"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(qe,{children:[u.published?t.jsx(x,{as:F,to:`/items/outfits/${u.id}`,variant:"ghost",size:"sm",children:e("outfits.studio.view")}):null,t.jsx(x,{as:F,to:`/outfits/${u.id}/edit`,variant:"outline",size:"sm","data-testid":"outfit-studio-edit",children:e("outfits.studio.edit")}),t.jsx(Qe,{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(Ve,{role:"dialog","aria-modal":"true","aria-label":e("outfits.studio.deleteTitle"),"data-testid":"outfit-studio-confirm",children:[t.jsx(Xe,{onClick:()=>c(null)}),t.jsxs(Ye,{children:[t.jsx(Je,{children:e("outfits.studio.deleteTitle")}),t.jsx("p",{className:"muted",children:e("outfits.studio.deleteBody")}),t.jsxs(Ze,{children:[h.published?t.jsx(x,{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(x,{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(x,{variant:"ghost",onClick:()=>c(null),children:e("outfits.studio.cancel")})]})]})]}):null]})}const Tt=["image/png","image/jpeg","image/webp"];function Li(){return{id:crypto.randomUUID(),name:"",thumbnailHash:"",items:[],bodyShape:"unisex",gradientFrom:nt.from,gradientTo:nt.to,published:!1}}function lt(n){return{id:n.id,name:n.name,thumbnailHash:n.thumbnailHash,items:n.items,bodyShape:n.bodyShape,gradientFrom:n.gradientFrom,gradientTo:n.gradientTo,published:n.published}}function Ri(n){try{const f=sessionStorage.getItem(n);return f?JSON.parse(f):null}catch{return null}}function zi({outfitId:n}){const f=n===null,h=`outfit-draft:${n??"new"}`,c=Y(i=>i.session),y=Et(),j=Zt(),[b]=d.useState(()=>Ri(h)),[o,R]=d.useState(()=>b??(f?Li():null)),[T,C]=d.useState(!!b),{data:u,isLoading:S,isError:E,refetch:Z}=Lt({queryKey:["outfit",n,!0],enabled:!f&&!!c,staleTime:0,queryFn:()=>je(n,c.identity)});d.useEffect(()=>{u&&R(i=>i??lt(u))},[u]);function k(i){R(r=>r&&{...r,...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=r=>r.preventDefault();return window.addEventListener("beforeunload",i),()=>window.removeEventListener("beforeunload",i)},[T]),d.useEffect(()=>()=>sessionStorage.removeItem(h),[h]);const g=se(o??void 0),K=d.useMemo(()=>new Set(((o==null?void 0:o.items)??[]).map(z)),[o]),B=i=>be((o==null?void 0:o.items)??[],i,g.byKey),l=i=>!!i.itemId&&B(i).length<=X;function v(i){!o||!l(i)||k({items:B(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(""),[Ht,ht]=d.useState(null),[I,Mt]=d.useState();d.useEffect(()=>()=>{L.current&&URL.revokeObjectURL(L.current)},[]);function xt(){const i=me(et);if(!i){ht(e("outfits.studio.importError"));return}ht(null),ft(""),Mt(i.colors),k({items:i.items,...i.bodyShape?{bodyShape:i.bodyShape}:{}}),N.success(e("outfits.studio.importSuccess",{count:i.items.length}))}async function Ut(i){if(!i||!c)return;if(q(null),!Tt.includes(i.type)){q(e("outfits.errors.unsupportedType"));return}if(i.size>he){q(e("outfits.errors.tooLarge"));return}L.current&&URL.revokeObjectURL(L.current);const r=URL.createObjectURL(i);L.current=r,ct(r),pt(!0);try{const p=await xe(i,c.identity);k({thumbnailHash:p})}catch(p){p instanceof A||at(p,{flow:"outfit-thumbnail"}),q(e(p instanceof A?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),[_t,gt]=d.useState(null),it=!!o&&o.name.trim().length>0&&o.name.length<=60,Kt=!!o&&V(o.gradientFrom)&&V(o.gradientTo),bt=!!o&&o.items.some(i=>{const r=g.byKey.get(z(i));return!r||oe(r)}),yt=!!o&&it&&!!o.thumbnailHash&&Kt&&bt&&o.items.length>=re&&o.items.length<=X;async function st(i){if(!(!c||!o||M)){mt(!0),gt(null);try{const r=await zt({...o,published:i},c.identity,f?"create":"update");if(!tt.current)return;sessionStorage.removeItem(h),R(lt(r)),C(!1),Pt(y),i&&!o.published?(ge("Shop Outfit Published",{outfit_id:r.id,item_count:r.items.length}),N.success(e("outfits.studio.publishedToast"))):N.success(e("outfits.studio.saved")),f&&(y.setQueryData(["outfit",r.id,!0],r),j(`/outfits/${r.id}/edit`,{replace:!0}))}catch(r){r instanceof A||at(r,{flow:"outfit-save"}),gt(e(r instanceof A?dt(r.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]),Gt=d.useMemo(()=>{const i=ae(Q);return i!=null&&i.itemId?z({contractAddress:i.contractAddress,itemId:i.itemId}):null},[Q]),qt=(o==null?void 0:o.bodyShape)==="female"?de:(o==null?void 0:o.bodyShape)==="male"?le:void 0;if(!c)return null;if(!o)return E?t.jsxs(O,{children:[t.jsx(U,{message:e("outfits.errors.generic")}),t.jsx(x,{variant:"white",onClick:()=>void Z(),children:e("outfits.detail.retry")})]}):!S&&u===null?t.jsxs(O,{"data-testid":"outfit-studio-missing",children:[t.jsx(w,{children:e("outfits.errors.notFound")}),t.jsx(x,{as:F,to:"/outfits/manage",variant:"white",children:e("outfits.studio.myOutfits")})]}):t.jsx(O,{"aria-busy":"true",children:t.jsx("span",{className:"spinner","aria-hidden":!0})});const vt=H??Rt(o.thumbnailHash),Qt={...o,authorAddress:(c==null?void 0:c.address)??"",createdAt:0,updatedAt:0},Vt=o.items.reduce((i,r)=>{var p;return i+(((p=g.byKey.get(z(r)))==null?void 0:p.priceCredits)??0)},0);return t.jsxs(Wt,{"data-testid":"outfit-studio-editor",children:[t.jsxs(Ot,{children:[t.jsx(De,{to:"/outfits/manage","aria-label":e("outfits.studio.myOutfits"),"data-testid":"outfit-studio-back",children:t.jsx(_,{name:"arrow-left",size:18})}),t.jsx(At,{children:f?e("outfits.studio.new"):e("outfits.studio.editTitle")}),t.jsx(Ft,{"data-state":o.published?"published":"draft",children:o.published?e("outfits.studio.publishedState"):e("outfits.studio.draft")})]}),t.jsxs(ti,{children:[t.jsxs(ei,{children:[t.jsxs(si,{"data-testid":"outfit-studio-preview",style:{background:ue(o)},children:[t.jsx($e,{id:"outfit-studio-preview-frame",profile:"default",bodyShape:qt,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(oi,{children:e("outfits.studio.previewEmpty")}):null]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.bodyShape")}),t.jsx(ri,{role:"group","aria-label":e("outfits.studio.bodyShape"),children:["unisex","male","female"].map(i=>t.jsx(ni,{type:"button","data-selected":o.bodyShape===i||void 0,onClick:()=>k({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(di,{children:["gradientFrom","gradientTo"].map(i=>t.jsxs(li,{children:[t.jsx(ui,{type:"color",value:V(o[i])?o[i]:nt.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:r=>k({[i]:r.target.value.toLowerCase()})}),t.jsxs(ci,{children:[t.jsx("span",{children:e(i==="gradientFrom"?"outfits.studio.gradientTop":"outfits.studio.gradientBottom")}),t.jsx(pi,{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:r=>{const p=r.target.value.trim().toLowerCase();k({[i]:p.startsWith("#")||p===""?p:`#${p}`})}})]})]},i))}),t.jsx(w,{children:e("outfits.studio.gradientHint")})]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.thumbnail")}),vt?t.jsx(ai,{"data-busy":G||void 0,children:t.jsx("img",{src:vt,alt:""})}):null,t.jsxs(hi,{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:Tt.join(","),hidden:!0,disabled:G,onChange:i=>{var r;return void Ut((r=i.target.files)==null?void 0:r[0])},"data-testid":"outfit-studio-thumb-input"})]}),t.jsx(w,{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(fi,{"data-testid":"outfit-studio-card-preview",onClickCapture:i=>{i.preventDefault(),i.stopPropagation()},children:t.jsx(ce,{outfit:Qt,resolution:g})})]})]}),t.jsxs(ii,{children:[t.jsxs(P,{children:[t.jsx(W,{htmlFor:"outfit-import",children:e("outfits.studio.import")}),t.jsxs(xi,{children:[t.jsx(It,{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(x,{variant:"outline",size:"sm",onClick:xt,disabled:et.trim()==="","data-testid":"outfit-studio-import-apply",children:e("outfits.studio.importApply")})]}),t.jsx(w,{children:e("outfits.studio.importHint")}),t.jsx(U,{message:Ht,testId:"outfit-studio-import-error"})]}),t.jsxs(P,{children:[t.jsx(W,{htmlFor:"outfit-name",children:e("outfits.studio.name")}),t.jsx(It,{id:"outfit-name",value:o.name,maxLength:60,placeholder:e("outfits.studio.namePlaceholder"),onChange:i=>k({name:i.target.value}),"data-testid":"outfit-studio-name"})]}),t.jsxs(P,{children:[t.jsxs(W,{as:"span",children:[e("outfits.studio.items")," (",o.items.length,"/",X,")"]}),o.items.length===0?t.jsx(w,{children:e("outfits.studio.noItems")}):t.jsx(mi,{children:o.items.map(i=>{const r=z(i),p=g.byKey.get(r);return t.jsxs(gi,{"data-testid":"outfit-studio-selected","data-missing":!p||void 0,children:[p?t.jsx(bi,{src:p.thumbnail,alt:""}):t.jsx(yi,{className:g.isLoading?"skeleton":void 0,"aria-hidden":!0}),t.jsx(ji,{className:p?void 0:"muted",children:p?p.name:g.isLoading?t.jsx(ke,{className:"skeleton",width:96,"aria-hidden":!0}):e("outfits.card.unavailable")}),r===Gt?t.jsx(vi,{"data-testid":"outfit-studio-plays-in-preview",children:e("outfits.studio.playsInPreview")}):null,p?t.jsxs(wi,{children:[t.jsx(ot,{size:12}),t.jsx(rt,{credits:p.priceCredits})]}):null,t.jsx(Si,{type:"button","aria-label":e("outfits.studio.remove"),title:e("outfits.studio.remove"),onClick:()=>k({items:o.items.filter(Xt=>z(Xt)!==r)}),children:t.jsx(_,{name:"trash",size:16})})]},r)})}),o.items.length>0?t.jsxs($i,{"data-testid":"outfit-studio-total",children:[t.jsx("span",{children:e("outfits.detail.totalPrice")}),t.jsxs(ki,{children:[t.jsx(ot,{size:14}),t.jsx(rt,{credits:Vt})]})]}):null,o.items.length>=X?t.jsx(w,{children:e("outfits.studio.maxItems")}):null]}),t.jsx(Fe,{selectedKeys:K,onPick:v,canPick:l})]})]}),t.jsxs(Ii,{"data-testid":"outfit-studio-savebar",children:[t.jsx(U,{message:_t,testId:"outfit-studio-save-error"}),it?!yt&&!o.published?t.jsx(w,{"data-testid":"outfit-studio-publish-hint",children:!bt&&o.items.length>0?e("outfits.studio.needsWearable"):e("outfits.errors.notPublishable")}):null:t.jsx(w,{children:e("outfits.studio.needName")}),t.jsxs(Ti,{children:[t.jsx(x,{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(x,{variant:"white","data-testid":"outfit-studio-unpublish",disabled:M,onClick:()=>void st(!1),children:e("outfits.studio.unpublish")}):t.jsx(x,{variant:"white","data-testid":"outfit-studio-publish",disabled:M||!yt,onClick:()=>void st(!0),children:e("outfits.studio.publish")})]})]})]})}export{Ki as OutfitStudio,Ki as default};
|
|
557
|
-
//# sourceMappingURL=OutfitStudio-
|
|
556
|
+
`;function Ki(){const{id:a}=Xt(),{pathname:f}=Yt(),h=X(b=>b.session),c=X(b=>b.signIn),y=ee();ie({title:e("outfits.studio.title"),noindex:!0});const j=f.endsWith("/new")?"new":a?"edit":"list";return y==="pending"?t.jsx(O,{"aria-busy":"true","data-testid":"outfit-studio-loading",children:t.jsx("span",{className:"spinner","aria-hidden":!0})}):h?y!=="creator"?t.jsxs(O,{"data-testid":"outfit-studio-unavailable",children:[t.jsx(kt,{children:e("outfits.studio.title")}),t.jsx(w,{children:e("outfits.studio.notAvailable")}),t.jsx(x,{as:F,to:"/overview",variant:"white",children:e("outfits.studio.backToShop")})]}):j==="list"?t.jsx(Ei,{}):t.jsx(zi,{outfitId:j==="edit"?a:null},a??"new"):t.jsxs(O,{"data-testid":"outfit-studio-signin",children:[t.jsx(kt,{children:e("outfits.studio.title")}),t.jsx(w,{children:e("outfits.studio.signInPrompt")}),t.jsx(x,{variant:"white",onClick:()=>c(),children:e("outfits.studio.signIn")})]})}function Ci({outfit:a}){const f=Rt(a.thumbnailHash);return f?t.jsx(Me,{style:{background:pe(a)},children:t.jsx("img",{src:f,alt:"",loading:"lazy"})}):t.jsx(Ue,{"aria-hidden":!0})}function Ei(){const a=X(u=>u.session),f=Et(),[h,c]=d.useState(null),[y,j]=d.useState(null),{data:b=[],isLoading:o,isError:R,refetch:T}=Lt({queryKey:["outfits-all"],enabled:!!a,staleTime:3e4,queryFn:()=>ye(a.identity)});async function C(u,S){if(a){j(u.id);try{S==="delete"?(await fe(u.id,a.identity),N.success(e("outfits.studio.deleted"))):(await zt({...lt(u),published:!1},a.identity,"update"),N.success(e("outfits.studio.unpublished"))),Pt(f)}catch(E){E instanceof A||nt(E,{flow:`outfit-${S}`}),N.error(e(E instanceof A?dt(E.code):"outfits.errors.generic"))}finally{j(null),c(null)}}}return t.jsxs(Wt,{"data-testid":"outfit-studio-list",children:[t.jsxs(Ot,{children:[t.jsx(At,{children:e("outfits.studio.myOutfits")}),t.jsx(x,{as:F,to:"/outfits/new",variant:"white","data-testid":"outfit-studio-new",children:e("outfits.studio.new")})]}),o?t.jsx(St,{"aria-busy":"true",children:Array.from({length:3},(u,S)=>t.jsx(Be,{className:"skeleton","aria-hidden":!0},S))}):R?t.jsxs(O,{children:[t.jsx(U,{message:e("outfits.errors.generic")}),t.jsx(x,{variant:"white",onClick:()=>void T(),children:e("outfits.detail.retry")})]}):b.length===0?t.jsx(w,{children:e("outfits.studio.empty")}):t.jsx(St,{children:b.map(u=>t.jsxs(He,{"data-testid":"outfit-studio-row","data-published":u.published||void 0,children:[t.jsx(Ci,{outfit:u}),t.jsxs(_e,{children:[t.jsx(Ke,{children:u.name||e("outfits.studio.untitled")}),t.jsxs(Ge,{children:[t.jsx(Ft,{"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(qe,{children:[u.published?t.jsx(x,{as:F,to:`/items/outfits/${u.id}`,variant:"ghost",size:"sm",children:e("outfits.studio.view")}):null,t.jsx(x,{as:F,to:`/outfits/${u.id}/edit`,variant:"outline",size:"sm","data-testid":"outfit-studio-edit",children:e("outfits.studio.edit")}),t.jsx(Qe,{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(Ve,{role:"dialog","aria-modal":"true","aria-label":e("outfits.studio.deleteTitle"),"data-testid":"outfit-studio-confirm",children:[t.jsx(Je,{onClick:()=>c(null)}),t.jsxs(Xe,{children:[t.jsx(Ye,{children:e("outfits.studio.deleteTitle")}),t.jsx("p",{className:"muted",children:e("outfits.studio.deleteBody")}),t.jsxs(Ze,{children:[h.published?t.jsx(x,{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(x,{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(x,{variant:"ghost",onClick:()=>c(null),children:e("outfits.studio.cancel")})]})]})]}):null]})}const Tt=["image/png","image/jpeg","image/webp"];function Li(){return{id:crypto.randomUUID(),name:"",thumbnailHash:"",items:[],bodyShape:"unisex",gradientFrom:at.from,gradientTo:at.to,published:!1}}function lt(a){return{id:a.id,name:a.name,thumbnailHash:a.thumbnailHash,items:a.items,bodyShape:a.bodyShape,gradientFrom:a.gradientFrom,gradientTo:a.gradientTo,published:a.published}}function Ri(a){try{const f=sessionStorage.getItem(a);return f?JSON.parse(f):null}catch{return null}}function zi({outfitId:a}){const f=a===null,h=`outfit-draft:${a??"new"}`,c=X(i=>i.session),y=Et(),j=Zt(),[b]=d.useState(()=>Ri(h)),[o,R]=d.useState(()=>b??(f?Li():null)),[T,C]=d.useState(!!b),{data:u,isLoading:S,isError:E,refetch:Z}=Lt({queryKey:["outfit",a,!0],enabled:!f&&!!c,staleTime:0,queryFn:()=>je(a,c.identity)});d.useEffect(()=>{u&&R(i=>i??lt(u))},[u]);function k(i){R(r=>r&&{...r,...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=r=>r.preventDefault();return window.addEventListener("beforeunload",i),()=>window.removeEventListener("beforeunload",i)},[T]),d.useEffect(()=>()=>sessionStorage.removeItem(h),[h]);const g=se(o??void 0),K=d.useMemo(()=>new Set(((o==null?void 0:o.items)??[]).map(z)),[o]),B=i=>be((o==null?void 0:o.items)??[],i,g.byKey),l=i=>!!i.itemId&&B(i).length<=J;function v(i){!o||!l(i)||k({items:B(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(""),[Ht,ht]=d.useState(null),[I,Mt]=d.useState();d.useEffect(()=>()=>{L.current&&URL.revokeObjectURL(L.current)},[]);function xt(){const i=me(et);if(!i){ht(e("outfits.studio.importError"));return}ht(null),ft(""),Mt(i.colors),k({items:i.items,...i.bodyShape?{bodyShape:i.bodyShape}:{}}),N.success(e("outfits.studio.importSuccess",{count:i.items.length}))}async function Ut(i){if(!i||!c)return;if(q(null),!Tt.includes(i.type)){q(e("outfits.errors.unsupportedType"));return}if(i.size>he){q(e("outfits.errors.tooLarge"));return}L.current&&URL.revokeObjectURL(L.current);const r=URL.createObjectURL(i);L.current=r,ct(r),pt(!0);try{const p=await xe(i,c.identity);k({thumbnailHash:p})}catch(p){p instanceof A||nt(p,{flow:"outfit-thumbnail"}),q(e(p instanceof A?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),[_t,gt]=d.useState(null),it=!!o&&o.name.trim().length>0&&o.name.length<=60,Kt=!!o&&V(o.gradientFrom)&&V(o.gradientTo),bt=!!o&&o.items.some(i=>{const r=g.byKey.get(z(i));return!r||oe(r)}),yt=!!o&&it&&!!o.thumbnailHash&&Kt&&bt&&o.items.length>=re&&o.items.length<=J;async function st(i){if(!(!c||!o||M)){mt(!0),gt(null);try{const r=await zt({...o,published:i},c.identity,f?"create":"update");if(!tt.current)return;sessionStorage.removeItem(h),R(lt(r)),C(!1),Pt(y),i&&!o.published?(ge("Shop Outfit Published",{outfit_id:r.id,item_count:r.items.length}),N.success(e("outfits.studio.publishedToast"))):N.success(e("outfits.studio.saved")),f&&(y.setQueryData(["outfit",r.id,!0],r),j(`/outfits/${r.id}/edit`,{replace:!0}))}catch(r){r instanceof A||nt(r,{flow:"outfit-save"}),gt(e(r instanceof A?dt(r.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(()=>ae(Q),[Q]),Gt=d.useMemo(()=>{const i=ne(Q);return i!=null&&i.itemId?z({contractAddress:i.contractAddress,itemId:i.itemId}):null},[Q]),qt=(o==null?void 0:o.bodyShape)==="female"?de:(o==null?void 0:o.bodyShape)==="male"?le:void 0;if(!c)return null;if(!o)return E?t.jsxs(O,{children:[t.jsx(U,{message:e("outfits.errors.generic")}),t.jsx(x,{variant:"white",onClick:()=>void Z(),children:e("outfits.detail.retry")})]}):!S&&u===null?t.jsxs(O,{"data-testid":"outfit-studio-missing",children:[t.jsx(w,{children:e("outfits.errors.notFound")}),t.jsx(x,{as:F,to:"/outfits/manage",variant:"white",children:e("outfits.studio.myOutfits")})]}):t.jsx(O,{"aria-busy":"true",children:t.jsx("span",{className:"spinner","aria-hidden":!0})});const vt=H??Rt(o.thumbnailHash),Qt={...o,authorAddress:(c==null?void 0:c.address)??"",createdAt:0,updatedAt:0},Vt=o.items.reduce((i,r)=>{var p;return i+(((p=g.byKey.get(z(r)))==null?void 0:p.priceCredits)??0)},0);return t.jsxs(Wt,{"data-testid":"outfit-studio-editor",children:[t.jsxs(Ot,{children:[t.jsx(De,{to:"/outfits/manage","aria-label":e("outfits.studio.myOutfits"),"data-testid":"outfit-studio-back",children:t.jsx(_,{name:"arrow-left",size:18})}),t.jsx(At,{children:f?e("outfits.studio.new"):e("outfits.studio.editTitle")}),t.jsx(Ft,{"data-state":o.published?"published":"draft",children:o.published?e("outfits.studio.publishedState"):e("outfits.studio.draft")})]}),t.jsxs(ti,{children:[t.jsxs(ei,{children:[t.jsxs(si,{"data-testid":"outfit-studio-preview",style:{background:ue(o)},children:[t.jsx($e,{id:"outfit-studio-preview-frame",profile:"default",bodyShape:qt,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(oi,{children:e("outfits.studio.previewEmpty")}):null]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.bodyShape")}),t.jsx(ri,{role:"group","aria-label":e("outfits.studio.bodyShape"),children:["unisex","male","female"].map(i=>t.jsx(ai,{type:"button","data-selected":o.bodyShape===i||void 0,onClick:()=>k({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(di,{children:["gradientFrom","gradientTo"].map(i=>t.jsxs(li,{children:[t.jsx(ui,{type:"color",value:V(o[i])?o[i]:at.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:r=>k({[i]:r.target.value.toLowerCase()})}),t.jsxs(ci,{children:[t.jsx("span",{children:e(i==="gradientFrom"?"outfits.studio.gradientTop":"outfits.studio.gradientBottom")}),t.jsx(pi,{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:r=>{const p=r.target.value.trim().toLowerCase();k({[i]:p.startsWith("#")||p===""?p:`#${p}`})}})]})]},i))}),t.jsx(w,{children:e("outfits.studio.gradientHint")})]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.thumbnail")}),vt?t.jsx(ni,{"data-busy":G||void 0,children:t.jsx("img",{src:vt,alt:""})}):null,t.jsxs(hi,{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:Tt.join(","),hidden:!0,disabled:G,onChange:i=>{var r;return void Ut((r=i.target.files)==null?void 0:r[0])},"data-testid":"outfit-studio-thumb-input"})]}),t.jsx(w,{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(fi,{"data-testid":"outfit-studio-card-preview",onClickCapture:i=>{i.preventDefault(),i.stopPropagation()},children:t.jsx(ce,{outfit:Qt,resolution:g})})]})]}),t.jsxs(ii,{children:[t.jsxs(P,{children:[t.jsx(W,{htmlFor:"outfit-import",children:e("outfits.studio.import")}),t.jsxs(xi,{children:[t.jsx(It,{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(x,{variant:"outline",size:"sm",onClick:xt,disabled:et.trim()==="","data-testid":"outfit-studio-import-apply",children:e("outfits.studio.importApply")})]}),t.jsx(w,{children:e("outfits.studio.importHint")}),t.jsx(U,{message:Ht,testId:"outfit-studio-import-error"})]}),t.jsxs(P,{children:[t.jsx(W,{htmlFor:"outfit-name",children:e("outfits.studio.name")}),t.jsx(It,{id:"outfit-name",value:o.name,maxLength:60,placeholder:e("outfits.studio.namePlaceholder"),onChange:i=>k({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(w,{children:e("outfits.studio.noItems")}):t.jsx(mi,{children:o.items.map(i=>{const r=z(i),p=g.byKey.get(r);return t.jsxs(gi,{"data-testid":"outfit-studio-selected","data-missing":!p||void 0,children:[p?t.jsx(bi,{src:p.thumbnail,alt:""}):t.jsx(yi,{className:g.isLoading?"skeleton":void 0,"aria-hidden":!0}),t.jsx(ji,{className:p?void 0:"muted",children:p?p.name:g.isLoading?t.jsx(ke,{className:"skeleton",width:96,"aria-hidden":!0}):e("outfits.card.unavailable")}),r===Gt?t.jsx(vi,{"data-testid":"outfit-studio-plays-in-preview",children:e("outfits.studio.playsInPreview")}):null,p?t.jsxs(wi,{children:[t.jsx(ot,{size:12}),t.jsx(rt,{credits:p.priceCredits})]}):null,t.jsx(Si,{type:"button","aria-label":e("outfits.studio.remove"),title:e("outfits.studio.remove"),onClick:()=>k({items:o.items.filter(Jt=>z(Jt)!==r)}),children:t.jsx(_,{name:"trash",size:16})})]},r)})}),o.items.length>0?t.jsxs($i,{"data-testid":"outfit-studio-total",children:[t.jsx("span",{children:e("outfits.detail.totalPrice")}),t.jsxs(ki,{children:[t.jsx(ot,{size:14}),t.jsx(rt,{credits:Vt})]})]}):null,o.items.length>=J?t.jsx(w,{children:e("outfits.studio.maxItems")}):null]}),t.jsx(Fe,{selectedKeys:K,onPick:v,canPick:l})]})]}),t.jsxs(Ii,{"data-testid":"outfit-studio-savebar",children:[t.jsx(U,{message:_t,testId:"outfit-studio-save-error"}),it?!yt&&!o.published?t.jsx(w,{"data-testid":"outfit-studio-publish-hint",children:!bt&&o.items.length>0?e("outfits.studio.needsWearable"):e("outfits.errors.notPublishable")}):null:t.jsx(w,{children:e("outfits.studio.needName")}),t.jsxs(Ti,{children:[t.jsx(x,{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(x,{variant:"white","data-testid":"outfit-studio-unpublish",disabled:M,onClick:()=>void st(!1),children:e("outfits.studio.unpublish")}):t.jsx(x,{variant:"white","data-testid":"outfit-studio-publish",disabled:M||!yt,onClick:()=>void st(!0),children:e("outfits.studio.publish")})]})]})]})}export{Ki as OutfitStudio,Ki as default};
|
|
557
|
+
//# sourceMappingURL=OutfitStudio-UMriL_VN.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as
|
|
1
|
+
import{n as c,Y as h,t as l,p as f,O as n,s as g}from"./property-CbgY9QKj.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]="fa86da32-5fdc-4b48-8163-eecadc2e14fa",e._sentryDebugIdIdentifier="sentry-dbid-fa86da32-5fdc-4b48-8163-eecadc2e14fa")}catch{}})();var u=Object.defineProperty,w=Object.getOwnPropertyDescriptor,o=(e,r,i,s)=>{for(var a=s>1?void 0:s?w(r,i):r,d=e.length-1,p;d>=0;d--)(p=e[d])&&(a=(s?p(r,i,a):p(a))||a);return s&&a&&u(r,i,a),a};let t=class extends c{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return h`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -6,10 +6,10 @@ import{n as h,Y as g,t as l,p as c,O as n,s as u}from"./property-CbgY9QKj.js";(f
|
|
|
6
6
|
viewBox="0 0 256 256"
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
|
-
${
|
|
10
|
-
</svg>`}};
|
|
9
|
+
${t.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
+
</svg>`}};t.weightsMap=new Map([["thin",l`<path d="M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm34.83-86.83a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66,0l-32-32a4,4,0,0,1,5.66-5.66L124,158.34V88a4,4,0,0,1,8,0v70.34l25.17-25.17A4,4,0,0,1,162.83,133.17Z"/>`],["light",l`<path d="M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm36.24-86.24a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48,0l-32-32a6,6,0,0,1,8.48-8.48L122,153.51V88a6,6,0,0,1,12,0v65.51l21.76-21.75A6,6,0,0,1,164.24,131.76Z"/>`],["regular",l`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm37.66-85.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L120,148.69V88a8,8,0,0,1,16,0v60.69l18.34-18.35A8,8,0,0,1,165.66,130.34Z"/>`],["bold",l`<path d="M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm40.49-84.49a12,12,0,0,1,0,17l-32,32a12,12,0,0,1-17,0l-32-32a12,12,0,1,1,17-17L116,139V88a12,12,0,0,1,24,0v51l11.51-11.52A12,12,0,0,1,168.49,127.51Z"/>`],["fill",l`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,117.66-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L120,148.69V88a8,8,0,0,1,16,0v60.69l18.34-18.35a8,8,0,0,1,11.32,11.32Z"/>`],["duotone",l`<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"/><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm37.66-85.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L120,148.69V88a8,8,0,0,1,16,0v60.69l18.34-18.35A8,8,0,0,1,165.66,130.34Z"/>`]]);t.styles=f`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;o([n({type:String,reflect:!0})],
|
|
15
|
-
//# sourceMappingURL=PhArrowCircleDown-
|
|
14
|
+
`;o([n({type:String,reflect:!0})],t.prototype,"size",2);o([n({type:String,reflect:!0})],t.prototype,"weight",2);o([n({type:String,reflect:!0})],t.prototype,"color",2);o([n({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=o([g("ph-arrow-circle-down")],t);export{t as PhArrowCircleDown};
|
|
15
|
+
//# sourceMappingURL=PhArrowCircleDown-DBmTctYK.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as p,Y as
|
|
1
|
+
import{n as p,Y as f,t as o,p as g,O as n,s as c}from"./property-CbgY9QKj.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]="1cefd8a1-8e7f-4a95-bf0f-eb10a5d62034",e._sentryDebugIdIdentifier="sentry-dbid-1cefd8a1-8e7f-4a95-bf0f-eb10a5d62034")}catch{}})();var u=Object.defineProperty,w=Object.getOwnPropertyDescriptor,s=(e,r,l,i)=>{for(var a=i>1?void 0:i?w(r,l):r,h=e.length-1,d;h>=0;h--)(d=e[h])&&(a=(i?d(r,l,a):d(a))||a);return i&&a&&u(r,l,a),a};let t=class extends p{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return f`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -7,9 +7,9 @@ import{n as p,Y as g,t as o,p as c,O as n,s as f}from"./property-CbgY9QKj.js";(f
|
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
9
|
${t.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",o`<path d="M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"/>`],["light",o`<path d="M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"/>`],["regular",o`<path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"/>`],["bold",o`<path d="M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"/>`],["fill",o`<path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"/>`],["duotone",o`<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"/><path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"/>`]]);t.styles=
|
|
10
|
+
</svg>`}};t.weightsMap=new Map([["thin",o`<path d="M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"/>`],["light",o`<path d="M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"/>`],["regular",o`<path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"/>`],["bold",o`<path d="M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"/>`],["fill",o`<path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"/>`],["duotone",o`<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"/><path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"/>`]]);t.styles=g`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;s([n({type:String,reflect:!0})],t.prototype,"size",2);s([n({type:String,reflect:!0})],t.prototype,"weight",2);s([n({type:String,reflect:!0})],t.prototype,"color",2);s([n({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=s([
|
|
15
|
-
//# sourceMappingURL=PhArrowClockwise-
|
|
14
|
+
`;s([n({type:String,reflect:!0})],t.prototype,"size",2);s([n({type:String,reflect:!0})],t.prototype,"weight",2);s([n({type:String,reflect:!0})],t.prototype,"color",2);s([n({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=s([c("ph-arrow-clockwise")],t);export{t as PhArrowClockwise};
|
|
15
|
+
//# sourceMappingURL=PhArrowClockwise-ZWBqR1iF.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as
|
|
1
|
+
import{n as h,Y as g,t as o,p as f,O as d,s as u}from"./property-CbgY9QKj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="2b956453-5c7d-49ef-854d-d1fab71bbeba",t._sentryDebugIdIdentifier="sentry-dbid-2b956453-5c7d-49ef-854d-d1fab71bbeba")}catch{}})();var c=Object.defineProperty,w=Object.getOwnPropertyDescriptor,l=(t,r,i,s)=>{for(var a=s>1?void 0:s?w(r,i):r,n=t.length-1,p;n>=0;n--)(p=t[n])&&(a=(s?p(r,i,a):p(a))||a);return s&&a&&c(r,i,a),a};let e=class extends h{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var t;return g`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -7,9 +7,9 @@ import{n as p,Y as h,t as o,p as g,O as n,s as u}from"./property-CbgY9QKj.js";(f
|
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
9
|
${e.weightsMap.get((t=this.weight)!=null?t:"regular")}
|
|
10
|
-
</svg>`}};e.weightsMap=new Map([["thin",o`<path d="M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"/>`],["light",o`<path d="M204.24,148.24l-72,72a6,6,0,0,1-8.48,0l-72-72a6,6,0,0,1,8.48-8.48L122,201.51V40a6,6,0,0,1,12,0V201.51l61.76-61.75a6,6,0,0,1,8.48,8.48Z"/>`],["regular",o`<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"/>`],["bold",o`<path d="M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z"/>`],["fill",o`<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z"/>`],["duotone",o`<path d="M200,144l-72,72L56,144Z" opacity="0.2"/><path d="M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z"/>`]]);e.styles=
|
|
10
|
+
</svg>`}};e.weightsMap=new Map([["thin",o`<path d="M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"/>`],["light",o`<path d="M204.24,148.24l-72,72a6,6,0,0,1-8.48,0l-72-72a6,6,0,0,1,8.48-8.48L122,201.51V40a6,6,0,0,1,12,0V201.51l61.76-61.75a6,6,0,0,1,8.48,8.48Z"/>`],["regular",o`<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"/>`],["bold",o`<path d="M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z"/>`],["fill",o`<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z"/>`],["duotone",o`<path d="M200,144l-72,72L56,144Z" opacity="0.2"/><path d="M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z"/>`]]);e.styles=f`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;l([
|
|
15
|
-
//# sourceMappingURL=PhArrowDown-
|
|
14
|
+
`;l([d({type:String,reflect:!0})],e.prototype,"size",2);l([d({type:String,reflect:!0})],e.prototype,"weight",2);l([d({type:String,reflect:!0})],e.prototype,"color",2);l([d({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=l([u("ph-arrow-down")],e);export{e as PhArrowDown};
|
|
15
|
+
//# sourceMappingURL=PhArrowDown-WIeXIufM.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as h,Y as f,t as l,p as g,O as
|
|
1
|
+
import{n as h,Y as f,t as l,p as g,O as d,s as u}from"./property-CbgY9QKj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="44d37563-14fe-4f7a-ad2d-4b1aaa35b21d",t._sentryDebugIdIdentifier="sentry-dbid-44d37563-14fe-4f7a-ad2d-4b1aaa35b21d")}catch{}})();var y=Object.defineProperty,c=Object.getOwnPropertyDescriptor,o=(t,r,i,s)=>{for(var a=s>1?void 0:s?c(r,i):r,n=t.length-1,p;n>=0;n--)(p=t[n])&&(a=(s?p(r,i,a):p(a))||a);return s&&a&&y(r,i,a),a};let e=class extends h{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var t;return f`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -11,5 +11,5 @@ import{n as h,Y as f,t as l,p as g,O as n,s as u}from"./property-CbgY9QKj.js";(f
|
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;o([
|
|
15
|
-
//# sourceMappingURL=PhArrowLeft-
|
|
14
|
+
`;o([d({type:String,reflect:!0})],e.prototype,"size",2);o([d({type:String,reflect:!0})],e.prototype,"weight",2);o([d({type:String,reflect:!0})],e.prototype,"color",2);o([d({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=o([u("ph-arrow-left")],e);export{e as PhArrowLeft};
|
|
15
|
+
//# sourceMappingURL=PhArrowLeft-DvlPA_kr.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as p,Y as
|
|
1
|
+
import{n as p,Y as c,t as s,p as g,O as d,s as f}from"./property-CbgY9QKj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="dd2fbc72-106d-4c6e-89f6-5dd74c6c69c6",t._sentryDebugIdIdentifier="sentry-dbid-dd2fbc72-106d-4c6e-89f6-5dd74c6c69c6")}catch{}})();var u=Object.defineProperty,y=Object.getOwnPropertyDescriptor,i=(t,r,a,l)=>{for(var o=l>1?void 0:l?y(r,a):r,n=t.length-1,h;n>=0;n--)(h=t[n])&&(o=(l?h(r,a,o):h(o))||o);return l&&o&&u(r,a,o),o};let e=class extends p{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var t;return c`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -7,9 +7,9 @@ import{n as p,Y as g,t as s,p as c,O as d,s as u}from"./property-CbgY9QKj.js";(f
|
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
9
|
${e.weightsMap.get((t=this.weight)!=null?t:"regular")}
|
|
10
|
-
</svg>`}};e.weightsMap=new Map([["thin",s`<path d="M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"/>`],["light",s`<path d="M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"/>`],["regular",s`<path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"/>`],["bold",s`<path d="M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"/>`],["fill",s`<path d="M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"/>`],["duotone",s`<path d="M216,128l-72,72V56Z" opacity="0.2"/><path d="M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"/>`]]);e.styles=
|
|
10
|
+
</svg>`}};e.weightsMap=new Map([["thin",s`<path d="M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"/>`],["light",s`<path d="M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"/>`],["regular",s`<path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"/>`],["bold",s`<path d="M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"/>`],["fill",s`<path d="M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"/>`],["duotone",s`<path d="M216,128l-72,72V56Z" opacity="0.2"/><path d="M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"/>`]]);e.styles=g`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;
|
|
15
|
-
//# sourceMappingURL=PhArrowRight-
|
|
14
|
+
`;i([d({type:String,reflect:!0})],e.prototype,"size",2);i([d({type:String,reflect:!0})],e.prototype,"weight",2);i([d({type:String,reflect:!0})],e.prototype,"color",2);i([d({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=i([f("ph-arrow-right")],e);export{e as PhArrowRight};
|
|
15
|
+
//# sourceMappingURL=PhArrowRight-CcUcrmQK.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as p,Y as
|
|
1
|
+
import{n as p,Y as c,t as o,p as g,O as h,s as u}from"./property-CbgY9QKj.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="b2f6f5c4-47d8-4ce6-b487-83945815c2ea",a._sentryDebugIdIdentifier="sentry-dbid-b2f6f5c4-47d8-4ce6-b487-83945815c2ea")}catch{}})();var H=Object.defineProperty,f=Object.getOwnPropertyDescriptor,i=(a,t,s,l)=>{for(var r=l>1?void 0:l?f(t,s):t,n=a.length-1,d;n>=0;n--)(d=a[n])&&(r=(l?d(t,s,r):d(r))||r);return l&&r&&H(t,s,r),r};let e=class extends p{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var a;return c`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -7,9 +7,9 @@ import{n as p,Y as g,t as o,p as u,O as h,s as c}from"./property-CbgY9QKj.js";(f
|
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
9
|
${e.weightsMap.get((a=this.weight)!=null?a:"regular")}
|
|
10
|
-
</svg>`}};e.weightsMap=new Map([["thin",o`<path d="M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"/>`],["light",o`<path d="M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"/>`],["regular",o`<path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/>`],["bold",o`<path d="M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"/>`],["fill",o`<path d="M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"/>`],["duotone",o`<path d="M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z" opacity="0.2"/><path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/>`]]);e.styles=
|
|
10
|
+
</svg>`}};e.weightsMap=new Map([["thin",o`<path d="M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"/>`],["light",o`<path d="M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"/>`],["regular",o`<path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/>`],["bold",o`<path d="M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"/>`],["fill",o`<path d="M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"/>`],["duotone",o`<path d="M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z" opacity="0.2"/><path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/>`]]);e.styles=g`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;i([h({type:String,reflect:!0})],e.prototype,"size",2);i([h({type:String,reflect:!0})],e.prototype,"weight",2);i([h({type:String,reflect:!0})],e.prototype,"color",2);i([h({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=i([
|
|
15
|
-
//# sourceMappingURL=PhArrowSquareOut-
|
|
14
|
+
`;i([h({type:String,reflect:!0})],e.prototype,"size",2);i([h({type:String,reflect:!0})],e.prototype,"weight",2);i([h({type:String,reflect:!0})],e.prototype,"color",2);i([h({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=i([u("ph-arrow-square-out")],e);export{e as PhArrowSquareOut};
|
|
15
|
+
//# sourceMappingURL=PhArrowSquareOut-eQSuZWr9.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as h,Y as
|
|
1
|
+
import{n as h,Y as f,t as o,p as g,O as n,s as u}from"./property-CbgY9QKj.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]="e271502e-618b-4ca3-a86e-2dbaf4e7f0f8",e._sentryDebugIdIdentifier="sentry-dbid-e271502e-618b-4ca3-a86e-2dbaf4e7f0f8")}catch{}})();var c=Object.defineProperty,y=Object.getOwnPropertyDescriptor,l=(e,r,s,i)=>{for(var a=i>1?void 0:i?y(r,s):r,p=e.length-1,d;p>=0;p--)(d=e[p])&&(a=(i?d(r,s,a):d(a))||a);return i&&a&&c(r,s,a),a};let t=class extends h{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return f`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -6,10 +6,10 @@ import{n as h,Y as c,t as o,p as g,O as n,s as u}from"./property-CbgY9QKj.js";(f
|
|
|
6
6
|
viewBox="0 0 256 256"
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
|
-
${
|
|
10
|
-
</svg>`}};
|
|
9
|
+
${t.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
+
</svg>`}};t.weightsMap=new Map([["thin",o`<path d="M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z"/>`],["light",o`<path d="M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"/>`],["regular",o`<path d="M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"/>`],["bold",o`<path d="M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"/>`],["fill",o`<path d="M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"/>`],["duotone",o`<path d="M200,112H56l72-72Z" opacity="0.2"/><path d="M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"/>`]]);t.styles=g`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;l([n({type:String,reflect:!0})],
|
|
15
|
-
//# sourceMappingURL=PhArrowUp-
|
|
14
|
+
`;l([n({type:String,reflect:!0})],t.prototype,"size",2);l([n({type:String,reflect:!0})],t.prototype,"weight",2);l([n({type:String,reflect:!0})],t.prototype,"color",2);l([n({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=l([u("ph-arrow-up")],t);export{t as PhArrowUp};
|
|
15
|
+
//# sourceMappingURL=PhArrowUp-oNKVxFhx.js.map
|