import { coverUrl, escapeAttr, escapeHtml, formatCount, formatDate, formatDelta, formatDuration, formatPercent, formatSignedPercent, metricLabel, statusLabel, } from "./format.js"; export function cover(item, className = "thumb") { const url = coverUrl(item.cover); const title = escapeAttr(item.title || "视频封面"); if (!url) { return `
`; } return `${escapeHtml(message)}
` : ""}${action}