import{w as s,av as e,j as t,al as a,T as p}from"./main-D6SjkSWq.js";import{C as n}from"./content-grid-CP4fsHpZ.js";import{b as u}from"./playlist-context-dialog-C29vsVBc.js";import{I as l}from"./infinite-scroll-sentinel-CjTkiVp_.js";import{u as f}from"./use-flat-infinite-query-items-Dk4It3ik.js";import{u as x}from"./useSuspenseInfiniteQuery-CYYJAO4t.js";import{Q as c}from"./QueueMusic-1Gcenro7.js";import"./genre-B_3ZyEC1.js";import"./share-media-button-DKcCMMvL.js";import"./offline-media-items-UIpHpvk8.js";import"./extension-from-filename-O0XMuZye.js";import"./play-arrow-filled-J8D1BDP8.js";import"./use-player-store-_08VVZOs.js";import"./is-ctrl-or-shift-pressed-CY4knlcl.js";import"./middleware-BLXTWOs6.js";import"./traditional-GTMgz7Xu.js";import"./Pause-Dim-ukd3.js";import"./create-playlist-dialog-DRyj1u3i.js";import"./image-selector-CCexW8Lt.js";import"./file-upload-provider-C966C2x1.js";import"./uploaded-file-Dt7HVOVK.js";import"./pretty-bytes-bO14ePu9.js";import"./use-active-upload-DElCZe_0.js";import"./open-upload-window-DxsWEG58.js";import"./AddAPhoto-BPK-B3uy.js";import"./file-input-config-DrcTpI3-.js";import"./switch-CvotT3pn.js";import"./Image-BinyWfFK.js";import"./dialog-footer-es-AfbvV.js";import"./use-auth-click-capture-DFKyTs0M.js";import"./Add-DqbkGfuM.js";import"./KeyboardArrowRight-Cz-JHdeb.js";import"./FavoriteBorder-BVoFzob6.js";import"./use-previous-CZLn_FLd.js";import"./album-image-CV6DMn1J.js";import"./Album-DPLpFLYW.js";import"./album-link-C4KAB_gW.js";import"./small-artist-image-gQ68My-z.js";import"./Mic-CaFVhbCD.js";import"./artist-link-C48CzE2I.js";import"./playlist-image-Iy94DZJb.js";import"./PlaylistPlay-CulIdmnF.js";import"./playlist-link--1x9VYLm.js";import"./share-media-buttons-Bw-FpiIF.js";import"./Share-DoJeT0aJ.js";import"./track-image-DHipIy5D.js";import"./MusicNote-B50jw5lh.js";import"./track-link-BvulRuhc.js";import"./tabs-BwrtVGjA.js";import"./tab-panels-DDLnWdlJ.js";import"./use-clipboard-B8UhuEe-.js";import"./add-to-queue-menu-button-DVWr6Cai.js";import"./update-playlist-dialog-Cy2IHgyQ.js";import"./entitiy-offline-indicator-icon-pnyPN7v-.js";import"./check-circle-filled-nHXYTdsh.js";import"./playable-grid-item-hXbyhak8.js";import"./track-BCLqLBLk.js";import"./MoreHoriz-Bms6kOtf.js";import"./confirmation-dialog-E4zsogCz.js";import"./infiniteQueryObserver-6vEdVgAg.js";function Qt(){const i=s(),r=x(e.playlists.userPlaylists(i.id)),o=f(r);return o.length?t.jsxs("div",{children:[t.jsx(n,{children:o.map(m=>t.jsx(u,{playlist:m},m.id))}),t.jsx(l,{query:r})]}):t.jsx(a,{imageHeight:"h-auto",imageMargin:"mb-14",image:t.jsx(c,{size:"lg",className:"text-muted"}),title:t.jsx(p,{message:"No playlists yet"}),description:t.jsx(p,{message:"Follow :user for updates on playlists they create in the future.",values:{user:i.name}})})}export{Qt as Component};
