PageSourceSearch

https://npo-ysc.jp/wp2024/wp-content/themes/snow-monkey/assets/js/page-top.js?ver=1732262177

js npo-ysc.jp collected 2026-10-05 03:25:12 UTC 941 bytes, 1 lines download raw bytes

1(()=>{"use strict";document.addEventListener("DOMContentLoaded",(()=>{const e=document.getElementById("page-top");if(!e)return;let t=e.getAttribute("aria-hidden");const n=function(e,t){let n=Date.now();return()=>{n+t-Date.now()<0&&(e.apply(this,arguments),n=Date.now())}}((()=>{500<=window.scrollY?"false"!==t&&(e.setAttribute("aria-hidden","false"),t="false"):"true"!==t&&(e.setAttribute("aria-hidden","true"),t="true")}),150);window.addEventListener("scroll",n,!!function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get:()=>{e=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e}()&&{passive:!0});const r=document.getElementById("footer-sticky-nav");r&&new ResizeObserver((()=>{e.style.setProperty("--page-top-y",r.offsetHeight-parseInt(function(e,t){if(e)return window.getComputedStyle(e).getPropertyValue(t)}(e,"--safe-area-inset-bottom"))+"px")})).observe(r)}),!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.