+ {filteredItems.map((item) => {
+ const html = sanitize(item.raw.replaceAll(/\r?\n/g, "
"), {
+ ALLOWED_TAGS: ["c", "b", "i", "u", "span", "ruby", "rt", "br"],
+ ADD_TAGS: ["v", "lang"],
+ ALLOWED_ATTR: ["title", "lang"],
+ });
+
+ const isActive = activeKey === item.key;
+
+ return (
+
+ handleSeek(item.start)}
+ clickable
+ className="items-start"
+ active={isActive}
+ >
+
+ {formatSeconds(item.start, showHours)}
+
+
+
+
+
+
+ );
+ })}
+
+