import{w as r,a as i,o as t}from"./chunk-NL6KNZEE-DfxmOBHd.js";import{T as m}from"./TopTracks-YVqQu31k.js";import{A as a,L as l}from"./LastPlays-DfLSXjsC.js";import{A as p,T as n,a as x}from"./TopArtists-DsmxemQL.js";import{P as c}from"./PeriodSelector-pCJGRgEO.js";import{u as f}from"./AppProvider-ClLlKpPN.js";import"./useTheme-CRMMMnig.js";import"./api-BuTqLiNI.js";import"./TopItemList-BRD-rnKC.js";import"./ArtistLinks-B4A9lGBW.js";import"./createLucideIcon-Bp-vR5YK.js";import"./utils-BqohOHgI.js";function S({}){return[{title:"Koito"},{name:"description",content:"Koito"}]}const k=r(function(){const[o,s]=i.useState("week"),{homeItems:e}=f();return t.jsx("main",{className:"flex flex-grow justify-center pb-4 w-full bg-linear-to-b to-(--color-bg) from-(--color-bg-secondary) to-60%",children:t.jsxs("div",{className:"flex-1 flex flex-col items-center gap-16 min-h-0 sm:mt-20 mt-10",children:[t.jsxs("div",{className:"flex flex-col md:flex-row gap-10 md:gap-20",children:[t.jsx(p,{}),t.jsx(a,{configurable:!0})]}),t.jsx(c,{setter:s,current:o}),t.jsxs("div",{className:"flex flex-wrap gap-10 2xl:gap-20 xl:gap-10 justify-between mx-5 md:gap-5",children:[t.jsx(n,{period:o,limit:e}),t.jsx(x,{period:o,limit:e}),t.jsx(m,{period:o,limit:e}),t.jsx(l,{showNowPlaying:!0,limit:Math.floor(e*2.7)})]})]})})});export{k as default,S as meta};
