import{I as e,N as t,t as n,z as r}from"./jsx-runtime-ktpX_HJe.js";import{n as i,t as a}from"./LastPlayed-CtFlEIGx.js";import{r as o}from"./Image-iLcFsxYI.js";import{n as s,r as c,t as l}from"./TopAlbumsCard-ckyldQbM.js";import{t as u}from"./TopTracks-Cm34vZys.js";import{t as d}from"./PeriodSelector-DA82l1SR.js";var f=r(e(),1),p=n();function m({}){return[{title:`Koito`},{name:`description`,content:`Koito`}]}var h=t(function(){let[e,t]=(0,f.useState)(`week`),{homeItems:n}=o();return(0,p.jsx)(`main`,{className:`flex grow justify-center pb-4 w-full`,children:(0,p.jsxs)(`div`,{className:`flex-1 flex flex-col items-center gap-10 md:gap-12 min-h-0 mt-8 sm:mt-10 mx-4 sm:mx-10`,children:[(0,p.jsxs)(`div`,{className:`flex flex-col lg:flex-row gap-10 md:gap-20`,children:[(0,p.jsx)(c,{}),(0,p.jsx)(i,{configurable:!0})]}),(0,p.jsx)(d,{setter:t,current:e}),(0,p.jsxs)(`div`,{className:`container justify-center flex flex-wrap gap-10`,children:[(0,p.jsx)(s,{period:e}),(0,p.jsx)(l,{period:e}),(0,p.jsx)(u,{period:e,limit:10,className:`min-w-[350px] w-full max-w-[750px] 2xl:max-w-[450px]`}),(0,p.jsx)(a,{showNowPlaying:!0,limit:28,showSeeMore:!0})]})]})})});export{h as default,m as meta};