1const t=/^[a-z]{2}(?:[-_][a-z]{2,})+$/i;function n(n,o){const e=String(n).toLowerCase();try{const n=new URL(window.location.href||o||""),a=n.pathname.split("/").filter(Boolean);return a.length>0&&t.test(a[0])?a[0]=e:a.unshift(e),n.pathname=`/${a.join("/")}`,n.toString()}catch{return o||window.location.href}}export{n as b};
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.