1function r(s){return s.charAt(0).toUpperCase()+s.slice(1)}function c(s,t){const o=s.toLowerCase(),n=t==="programs"?"public programs":t.toLowerCase();if(o.indexOf(n)===-1)return!1;const e=[],a=o.indexOf(n);return a===-1?e.push(`<span>${s}</span>`):(a>0&&e.push(`<span>${r(s.slice(0,a))}</span>`),e.push(`<span class="main">${n}</span>`),e.push(`<span>${s.slice(a+n.length)}</span>`)),e.join("")}export{c as b,r as c};
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.