1function h(){let i=new URLSearchParams(window.location.hash.slice(1)).get("highlight");if(!i)return;let s=i.split(/[\s+]+/).filter(e=>e.length>1);if(!s.length)return;let l=document.querySelector("main")??document.body,f=s.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),o=new RegExp(`(${f.join("|")})`,"gi");function a(e){if(e.nodeType===Node.TEXT_NODE){let t=e.textContent??"";if(!o.test(t))return;o.lastIndex=0;let n=document.createElement("span");n.innerHTML=t.replace(o,'<mark class="bg-yellow-200">$1</mark>'),e.parentNode?.replaceChild(n,e)}else if(e.nodeType===Node.ELEMENT_NODE){let t=e;if(["SCRIPT","STYLE","NOSCRIPT","MARK"].includes(t.tagName))return;Array.from(t.childNodes).forEach(a)}}a(l);let c=Array.from(l.querySelectorAll("mark")),d=c.find(e=>e.getBoundingClientRect().height>0)??null,r=e=>{let t=e.getBoundingClientRect().top+window.scrollY,n=Math.max(0,t-100);window.scrollTo({top:n,behavior:"smooth"})},u=()=>{if(d){r(d);return}let e=c[0];if(!e)return;let t=e.closest("[x-show]"),n=t?.previousElementSibling;if(n){n.click();let m=!1,g=()=>{m||(m=!0,r(e))};t.addEventListener("transitionend",g,{once:!0}),setTimeout(g,600)}else r(e)};document.readyState==="complete"?u():window.addEventListener("load",u,{once:!0})}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",h):h();
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.