Inputs.table(rows, {
columns: ["title", "authors", "year", "venue", "themes", "taxa"],
header: { title: t.title, authors: t.authors, year: t.year, venue: t.venue,
themes: t.themes, taxa: t.taxa },
format: {
title: (x, i, data) => htl.html`<a href="${paperLink(data[i])}" target="_blank" rel="noopener">${x}</a>`,
authors: x => (x || "").split(";").length > 6 ? x.split(";").slice(0, 6).join(";") + "; et al." : x,
year: x => x ?? "",
themes: x => (x || "").split(";").map(s => t.themeNames[s.trim()] || s.trim()).filter(Boolean).join("; ")
},
layout: "fixed",
rows: 25,
height: 640,
sort: "year",
reverse: true
})