PageSourceSearch

https://www.idid.fi/hubfs/hub_generated/module_assets/1/109795997045/1744328580927/module_logo-wall.min.js

js idid.fi collected 2026-10-08 16:30:17 UTC 1,326 bytes, 1 lines download raw bytes

1var module_109795997045=function(){const sliderUl=document.querySelector(".slider"),sliderItems=Array.from(sliderUl.querySelectorAll(".slider-items"));console.log("scrollSpeed",.75);let isHovering=!1,isDragging=!1,currentSpeed=.75;const loadImagePromises=Array.from(sliderItems).flatMap((item=>Array.from(item.querySelectorAll("img")))).filter((img=>!img.complete)).map((img=>new Promise((resolve=>{img.onload=img.onerror=resolve}))));Promise.all(loadImagePromises).then((()=>{})),window.onload=function(){!function(){console.log("initializeSlider");let sliderItemsClone=[];for(let i=0;i<4;i++){const clone=sliderItems[i%sliderItems.length].cloneNode(!0);clone.classList.add("first"),sliderItemsClone.push(clone)}sliderItemsClone.forEach((clone=>sliderUl.appendChild(clone)));let slideWidth=sliderItems[0].offsetWidth,currentMargin=-sliderItems[0].offsetWidth;setInterval((function(){isHovering?currentSpeed=currentSpeed>.1?currentSpeed/1.1:0:currentSpeed+=1.1*(.75-currentSpeed),currentMargin-=currentSpeed,currentMargin<2*-slideWidth&&(currentMargin+=slideWidth),sliderUl.style.transform=`translateX(${currentMargin}px)`}),16),sliderUl.addEventListener("mouseenter",(()=>{isHovering=!0,console.log("mouseenter")})),sliderUl.addEventListener("mouseleave",(()=>{isHovering=!1,isDragging=!1,console.log("mouseleave")}))}()}}();

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.