1let s = ""; 2function r(i) { 3 s = i; 4} 5function l(i = "") { 6 if (!s) { 7 const a = [...document.getElementsByTagName("script")], o = a.find((n) => n.hasAttribute("data-nwhlit")); 8 if (o) 9 r(o.getAttribute("data-nwhlit")); 10 else { 11 const n = a.find((t) => /outline(\.min)?\.js($|\?)/.test(t.src) || /outline-loader(\.min)?\.js($|\?)/.test(t.src) || /nwhlit-loader(\.min)?\.js($|\?)/.test(t.src)); 12 let e = ""; 13 if (n) { 14 e = n.getAttribute("src"); 15 try { 16 const t = new URL(e, window.location.href), c = window.location.origin; 17 t.origin !== c && (e = t.pathname); 18 } catch { 19 console.warn("Failed to parse script URL, using as relative path:", e); 20 } 21 } 22 r(e.split("/").slice(0, -1).join("/")); 23 } 24 } 25 return s.replace(/\/$/, "") + (i ? `/${i.replace(/^\//, "")}` : ""); 26} 27export { 28 l as getBasePath, 29 r as setBasePath 30}; 31//# sourceMappingURL=base-path-1790716371.js.map
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.