1document.addEventListener("DOMContentLoaded",function(){initMySlider()});let mySlider,mySliderIsScrollingAutomatically=!0,mySliderScrollStep=900;function initMySlider(){(mySlider=document.querySelector("ul.myslider"))?(startAutomaticSliding(),addButtonListeners()):console.warn("No slider found")}let automaticSlidingInterval=-1;function startAutomaticSliding(){mySlider&&(automaticSlidingInterval=setInterval(function(){mySliderIsScrollingAutomatically&&scrollSliderRight()},3E3))} 2function addButtonListeners(){let a=document.querySelector("div.myslider-wrapper a.go-left"),b=document.querySelector("div.myslider-wrapper a.go-right");a&&a.addEventListener("click",scrollSliderLeft);b&&b.addEventListener("click",scrollSliderRight)}function scrollSliderLeft(a=null){mySlider&&(a&&(mySliderIsScrollingAutomatically=!1),a=mySlider.scrollLeft-mySliderScrollStep,0>a&&(a=0),animateScrollLeft(mySlider,a,800))} 3function scrollSliderRight(a=null){mySlider&&(a&&(mySliderIsScrollingAutomatically=!1),a=mySlider.scrollLeft+mySliderScrollStep,a>mySlider.scrollWidth&&(a=mySlider.scrollWidth),animateScrollLeft(mySlider,a,800))}let mysliderAnimationTimer=-1; 4function animateScrollLeft(a,b,e){let c=Math.round(e/15),f=Math.round((b-a.scrollLeft)/c);window.clearInterval(mysliderAnimationTimer);let d=0;mysliderAnimationTimer=setInterval(function(){d++;window.requestAnimationFrame(function(){a.scrollLeft+=f});d>c&&window.clearInterval(mysliderAnimationTimer)},15)};
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.