'use client'; // Decorative CSS-only equalizer. No audio coupling. Use when waveform shape // doesn't matter (notification bells, generic "audio playing" affordance). import { useMemo } from 'react'; import { usePlayerPaused } from '../../context/selectors'; type Props = { height: number; barWidth: number; barGap: number; bars?: number; }; const BAR_COUNT = 28; export function BarsWaveform({ height, barWidth, barGap, bars = BAR_COUNT }: Props) { const paused = usePlayerPaused(); const items = useMemo(() => { return Array.from({ length: bars }, (_, i) => ({ delay: `${(i % 7) * 90}ms`, duration: `${800 + (i % 5) * 120}ms`, })); }, [bars]); return ( ); }