{list.map((m) => {
const home = teamById(teams, m.homeTeamId);
const away = teamById(teams, m.awayTeamId);
const st = statusText(m, dict);
const displayText = st.text || fmtDate(m.utcDate, locale);
const homeWin = m.homeScore != null && m.awayScore != null && m.homeScore > m.awayScore;
const awayWin = m.homeScore != null && m.awayScore != null && m.awayScore > m.homeScore;
return (
{st.live && }
{displayText}
{teamName(home, locale)}
{teamName(away, locale)}
{(() => {
const stadium = [m.stadiumName, m.stadiumCity].filter(Boolean).join(", ");
const crowd = m.attendance != null ? m.attendance.toLocaleString(intlLocale) : "";
const sep = stadium && crowd ? " · " : "";
const text = stadium + sep + crowd;
return text ? {text} : null;
})()}
);
})}