1if (document.getElementById('top-nav-search')) { 2 document.querySelectorAll('.top-nav-search-trigger').forEach(function(elem) { 3 elem.addEventListener('click',function(ev) { 4 ev.stopPropagation(); 5 ev.preventDefault(); 6 document.getElementById('top-nav-search').show(); 7 document.querySelector('#top-nav-search input[type="text"]').focus(); 8 }) 9 }); 10 document.addEventListener('mousedown', (event) => { 11 if (document.getElementById('top-nav-search').open) { 12 if(!event.target.closest('#top-nav-search')) { 13 document.getElementById('top-nav-search').close(); 14 } 15 } 16 }); 17}
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.