1function initScroll(){var moveAvailable=!0;var wheelPosition=0;var wheelvariation=50;$('section').on('wheel',(function(e){e.preventDefault();wheelPosition=e.originalEvent.deltaY;var active=$('section.active');console.log('on scroll 2 '+moveAvailable);console.log('on scroll 2 '+$(this).attr('class'));console.log('on scroll 2- '+$(this).next().attr('class'));if(wheelPosition>wheelvariation||wheelPosition<(wheelvariation*-1)){if(moveAvailable){moveAvailable=!1;next=$(this).next();$('body, html').animate({scrollTop:next.offset().top},300,'swing');next.addClass('active').siblings().removeClass('active');setTimeout(function(){moveAvailable=!0;console.log('on scroll 3 '+moveAvailable)},1000)}}}))} 2function checkSectioninView(){let sectionsNum=$('section').length;for(var i=0;i<sectionsNum;i++){var result=isScrolledIntoView($('section:eq('+i+')'));if(result){console.log('sec '+i)}}} 3function isScrolledIntoView(elem){var docViewTop=$(window).scrollTop();var docViewBottom=docViewTop+$(window).height();var elemTop=$(elem).offset().top;var elemBottom=elemTop+$(elem).height();return((elemBottom<=docViewBottom)&&(elemTop>=docViewTop))} 4function arrowBackTop(){$(window).scroll(function(){var scrollTop=$(window).scrollTop() 5var headerOffset=$(window).innerHeight();var distance=headerOffset-scrollTop 6var distanceStiky=-50;if(distance<distanceStiky){$('.back-to-top').addClass('sticky')}else{$('.back-to-top').removeClass('sticky')}})} 7$(document).ready(function(){arrowBackTop()})
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.