1$(function(){var t=!1;$("a.social-icon.search").on("click",function(){var a;$("body").css("width","100%"),$("body").css("overflow","hidden"),$(".search-dialog").velocity("stop").velocity("transition.expandIn",{duration:300,complete:function(){$("#local-search-input input").focus()}}),$(".search-mask").velocity("stop").velocity("transition.fadeIn",{duration:300}),t||(a=GLOBAL_CONFIG.localSearch.path,$.ajax({url:GLOBAL_CONFIG.root+a,dataType:"xml",success:function(t){var e=$("entry",t).map(function(){return{title:$("title",this).text(),content:$("content",this).text(),url:$("url",this).text()}}).get(),a=$("#local-search-input input")[0],i=$("#local-hits")[0];a.addEventListener("input",function(){var t='<div class="search-result-list">',a=this.value.trim().toLowerCase().split(/[\s]+/);if(i.innerHTML="",this.value.trim().length<=0)$(".local-search-stats__hr").hide();else{var o=0;e.forEach(function(e){var i=!0,c=e.title.trim().toLowerCase(),n=e.content.trim().replace(/<[^>]+>/g,"").toLowerCase(),s=e.url,r=-1,l=-1;""!==c&&""!==n&&a.forEach(function(t,e){r=c.indexOf(t),l=n.indexOf(t),r<0&&l<0?i=!1:l<0&&(l=0)}),i&&(t+='<div class="local-search__hit-item"><a href="'+s+'" class="search-result-title">'+c+"</a></div>",o+=1,$(".local-search-stats__hr").show())}),0===o&&(t+='<div id="local-search__hits-empty">'+GLOBAL_CONFIG.localSearch.languages.hits_empty.replace(/\$\{query}/,this.value.trim())+"</div>"),i.innerHTML=t}})}}),t=!0),document.addEventListener("keydown",function t(a){"Escape"===a.code&&(e(),document.removeEventListener("keydown",t))})});var e=function(){$("body").css("overflow","auto"),$(".search-dialog").velocity("stop").velocity("transition.expandOut",{duration:300}),$(".search-mask").velocity("stop").velocity("transition.fadeOut",{duration:300})};$(".search-mask, .search-close-button").on("click",e)});
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.