{cover ? ( ) : ( )} {r.badgeLabel ? ( {r.badgeLabel} ) : null} {r.title} {r.categoryName} · {dateStr} {dl ? ( { e.preventDefault(); e.stopPropagation(); if (r.downloadPostId && r.downloadAttachmentId) { void downloadAttachment( r.downloadPostId, r.downloadAttachmentId, r.title, ).catch(() => {}); return; } try { await postJSON(`/api/resources/${r.id}/download`, {}); } catch { /* ignore */ } void downloadFile(dl, r.title).catch(() => {}); }} > ) : null}