PageSourceSearch

https://metsa-hanno.com/wp-content/themes/metsa_mvp/assets/js/script.js?ver=202608270107

js metsa-hanno.com collected 2026-09-25 02:32:54 UTC 1,870 bytes, 1 lines download raw bytes

1var headerCollapseQuery,lastScrollY,updateSiteHeaderScroll,$loading=$("#loading"),$loader=$("#loader"),$body=($(window).on("load",function(){$loader.fadeOut(800),$loading.delay(800).fadeOut(800)}),document.body),$mainNavToggle=document.getElementById("main-nav-toggle"),$mainNavOpen=document.getElementById("main-nav-open"),$mainNavClose=document.getElementById("main-nav-close"),$siteHeader=(null!=$mainNavToggle&&$mainNavToggle.addEventListener("click",function(){$body.classList.toggle("nav-open")}),null!=$mainNavOpen&&$mainNavOpen.addEventListener("click",function(){$body.classList.add("nav-open")}),null!=$mainNavClose&&$mainNavClose.addEventListener("click",function(){$body.classList.remove("nav-open")}),document.getElementById("masthead")),$siteHeaderMenu=$siteHeader?$siteHeader.querySelector(".site-header__menu"):null,$pageTop=(null!=$siteHeader&&null!=$siteHeaderMenu&&(headerCollapseQuery=window.matchMedia("(max-width: 1023px)"),lastScrollY=window.scrollY,window.addEventListener("scroll",updateSiteHeaderScroll=function(){var e,o,n;lastScrollY=headerCollapseQuery.matches?(e=window.scrollY,n=(o=$siteHeader.offsetHeight)-$siteHeaderMenu.offsetHeight,lastScrollY<e&&o<e?$siteHeader.style.transform="translateY(-".concat(n,"px)"):e<lastScrollY&&($siteHeader.style.transform=""),e):($siteHeader.style.transform="",window.scrollY)},{passive:!0}),headerCollapseQuery.addEventListener("change",updateSiteHeaderScroll)),$("#page-top")),showPoint=300,scrollSpeed=600,isShow=!1;function showButton(){$pageTop.addClass("show"),isShow=!0}function hideButton(){$pageTop.removeClass("show"),isShow=!1}$(window).scrollTop()>showPoint&&showButton(),$(window).on("scroll",function(){$(window).scrollTop()>showPoint?isShow||showButton():isShow&&hideButton()}),$pageTop.on("click",function(){return $("html, body").stop().animate({scrollTop:0},scrollSpeed,"swing"),!1});

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.