1import{t as e}from"./jsx-runtime-BkSabwWG.js";import{i as t}from"./auth-context-P344NdwM.js";import{t as n}from"./headphones-C_WSCSBL.js";import{b as r}from"./index-Dcy-Gs2b.js";var i=e();function a({station:e}){let{currentStation:a,isPlaying:o}=r(),s=(a?.id===e.id||a?.tag===e.tag)&&o;return(0,i.jsxs)(t,{to:`/station/$tag`,params:{tag:e.tag},className:`group flex flex-col items-center rounded-2xl border p-4 text-center transition-all hover:-translate-y-0.5 hover:shadow-xl hover:shadow-cyan-500/10 ${s?`border-cyan-400/60 bg-cyan-400/10`:`border-white/10 bg-white/[0.03] hover:border-white/25`}`,children:[(0,i.jsxs)(`span`,{className:`relative`,children:[(0,i.jsx)(`img`,{src:e.logoURL??`/logo_small.png`,alt:e.name,loading:`lazy`,className:`h-20 w-20 rounded-full border-2 border-white/20 bg-slate-900 object-cover`}),s?(0,i.jsx)(`span`,{className:`absolute -right-1 -bottom-1 flex h-6 w-6 items-center justify-center rounded-full bg-cyan-400 text-slate-950`,children:(0,i.jsxs)(`span`,{className:`flex gap-[2px]`,children:[(0,i.jsx)(`span`,{className:`equalizer-bar h-3`}),(0,i.jsx)(`span`,{className:`equalizer-bar h-3 [animation-delay:0.25s]`}),(0,i.jsx)(`span`,{className:`equalizer-bar h-3 [animation-delay:0.5s]`})]})}):null]}),(0,i.jsx)(`span`,{className:`mt-3 line-clamp-2 text-sm font-bold text-white`,children:e.name}),(0,i.jsxs)(`span`,{className:`mt-1 flex items-center gap-1 text-xs text-white/60`,children:[(0,i.jsx)(n,{className:`size-3.5`}),e.todayListenerCount??0]})]})}function o({stations:e}){return e.length?(0,i.jsx)(`div`,{className:`grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4`,children:e.map(e=>(0,i.jsx)(a,{station:e},e.id??e.tag))}):null}function s({title:e,subtitle:t}){return(0,i.jsxs)(`div`,{className:`mb-3`,children:[(0,i.jsx)(`h2`,{className:`text-xl font-extrabold tracking-tight text-white`,children:e}),t?(0,i.jsx)(`p`,{className:`text-sm text-white/60`,children:t}):null]})}export{a as n,o as r,s as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.