1import { v as _ } from "./functions-DLrKIvnr.js"; 2import { o as t, c as s, d as x, t as r, C as g, b as o, F as f, r as h, g as a, G as y } from "./app-yg_pP4S4.js"; 3const k = { class: "text-sm font-normal text-gray-900" }, b = { key: 0, class: "truncate" }, C = { key: 1 }, w = { __name: "ShowMoreWithNumber", props: { lines: { type: Array, required: true }, expandable: { type: Boolean, default: true } }, setup(c) { 4 const e = c, n = y(false), u = a(() => e.lines.length > 0), p = a(() => e.lines.at(0)), d = a(() => e.lines.slice(1)), l = a(() => e.lines.length - 1), m = a(() => _(["text-sm font-normal text-blue-600", e.expandable && "cursor-pointer"])), v = () => { 5 e.expandable && (n.value = !n.value); 6 }; 7 return (L, B) => (t(), s("div", k, [u.value ? (t(), s("div", b, [x(r(p.value) + " ", 1), l.value > 0 ? (t(), s("span", { key: 0, class: g(m.value), onClick: v }, " +" + r(l.value), 3)) : o("", true)])) : o("", true), n.value ? (t(), s("div", C, [(t(true), s(f, null, h(d.value, (i) => (t(), s("div", { key: i }, r(i), 1))), 128))])) : o("", true)])); 8} }; 9export { 10 w as _ 11};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.