1(function(w,d){ 2 w.pvSearchSlug=function(v){ 3 return String(v||"").trim().toLowerCase() 4 .replace(/(?:%20|%2b|\+|\s)+/gi,"-") 5 .replace(/[\/\\?#&]+/g,"-") 6 .replace(/-+/g,"-") 7 .replace(/^-|-$/g,""); 8 }; 9 w.pvSearchSubmit=function(e){ 10 if(e)e.preventDefault(); 11 var input=d.getElementById("iv"); 12 var slug=w.pvSearchSlug(input?input.value:""); 13 if(!slug)return false; 14 try{if(typeof w.noPop==="function")w.noPop();}catch(_e){} 15 w.location.assign("/search/"+encodeURIComponent(slug).replace(/%2D/gi,"-")+"/"); 16 return false; 17 }; 18})(window,document);
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.