1/* ***************** */ 2/* Global */ 3/* ***************** */ 4 5/* Prevent # scroll */ 6document.addEventListener('click', e => { 7 if (e.target.closest('[href="#!"]')) { 8 e.preventDefault(); 9 } 10}); 11 12/* Cookiebot */ 13document.addEventListener('DOMContentLoaded', () => { 14 document.querySelector("#renew")?.addEventListener('click', _ => Cookiebot.show()); 15 document.querySelector("#acceptcookies")?.addEventListener('click', _ => Cookiebot.dialog.submitConsent()); 16}); 17 18/* BTN Arrow */ 19document.querySelectorAll('.btn-arrow').forEach(btn => { 20 btn.insertAdjacentHTML('beforeend', ` 21 <svg class="btn-arrow-icon" width="16" height="16" style="display:block" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 16 16"> 22 <path d="M1 8h10"></path> 23 <path d="M7 3l5 5-5 5"></path> 24 </svg> 25 `); 26 btn.classList.add('btn-arrow--ready'); 27});
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.