
/** "1.2M", "430k" — a listener or play count beside a row, the desktop's
 *  short form. Nothing under a thousand is abbreviated. */
export const fmtCount = (n) => (!n ? "" : n >= 1e6 ? (n / 1e6).toFixed(1).replace(/\.0$/, "") + "M" : n >= 1e3 ? Math.round(n / 1e3) + "k" : String(n));
