1document.addEventListener('DOMContentLoaded',function(){var menu=document.querySelector('.list-group');var footer=document.querySelector('footer');var companyContent=document.querySelector('.company_content');var topOffset=menu.getBoundingClientRect().top+window.scrollY;var footerOffset=footer.getBoundingClientRect().top+window.scrollY;var menuHeight=menu.offsetHeight;var contentHeight=companyContent?companyContent.offsetHeight:0;var lastKnownScrollTop=0;var isFixed=!1;function updateMenuPosition(scrollTop){if(contentHeight<=menuHeight){menu.style.position='relative';menu.style.top='0px';isFixed=!1;return} 2 var menuBottom=scrollTop+menuHeight+10;if(scrollTop>topOffset&&menuBottom<footerOffset){if(!isFixed){menu.style.position='fixed';menu.style.top='1px';isFixed=!0}}else if(menuBottom>=footerOffset){menu.style.position='absolute';menu.style.top=(footerOffset-menuHeight-topOffset)+'px';isFixed=!1}else{menu.style.position='relative';menu.style.top='0px';isFixed=!1}} 3 window.addEventListener('scroll',function(){var scrollTop=window.scrollY||document.documentElement.scrollTop;if(scrollTop!==lastKnownScrollTop){updateMenuPosition(scrollTop);lastKnownScrollTop=scrollTop}});window.addEventListener('resize',function(){menuHeight=menu.offsetHeight;footerOffset=footer.getBoundingClientRect().top+window.scrollY;contentHeight=companyContent?companyContent.offsetHeight:0;updateMenuPosition(lastKnownScrollTop)})})
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.