PageSourceSearch

https://forescout.jp/wp-content/themes/forescout_custom_theme2021/…/element-in-view.js?ver=1849568885

js forescout.jp collected 2026-10-06 15:12:10 UTC 2,214 bytes, 1 lines download raw bytes

1!function o(r,i,l){function c(t,e){if(!i[t]){if(!r[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(s)return s(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}n=i[t]={exports:{}},r[t][0].call(n.exports,function(e){return c(r[t][1][e]||e)},n,n.exports,o,r,i,l)}return i[t].exports}for(var s="function"==typeof require&&require,e=0;e<l.length;e++)c(l[e]);return c}({1:[function(e,t,n){function o(e){(window.IntersectionObserver?new window.IntersectionObserver((e,t)=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("element-visible"),t.unobserve(e.target))})},{threshold:0}):{observe:e=>{e.classList.add("element-visible")}}).observe(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.elementInView=function(){window.setTimeout(()=>{window.requestAnimationFrame(()=>{window.Array.prototype.forEach.call(document.getElementsByClassName("element-visibility"),e=>{o(e)})})},500),window.setTimeout(()=>{window.requestAnimationFrame(()=>{window.Array.prototype.forEach.call(document.querySelectorAll('[style*="--background-style-background_image"]'),e=>{o(e)})})},500)},n.observeElementInView=o,n.observeTargetTopInView=function(e){let n=document.querySelectorAll(`[href="#${e}"]`);if(n&&n.length){let t=document.getElementById(e);t&&((e=()=>{var e=t.getBoundingClientRect();0<=e.top&&e.top<window.innerHeight?window.Array.prototype.forEach.call(n,e=>{e.classList.add("target-element-visible")}):window.Array.prototype.forEach.call(n,e=>{e.classList.remove("target-element-visible")})})(),window.addEventListener("scroll",e))}},n.scrollToElementWithoutHistory=function(e){var n=document.querySelectorAll(`[href="#${e}"]`);if(n&&n.length){let t=document.getElementById(e);t&&window.Array.prototype.forEach.call(n,e=>{e.addEventListener("click",e=>{t.scrollIntoView&&(e.preventDefault(),t.scrollIntoView())})})}}},{}],2:[function(e,t,n){e=e("./components/element-in-view");window.observeElementInView=e.observeElementInView,"complete"===document.readyState||"interactive"===document.readyState?(0,e.elementInView)():document.documentElement.ownerDocument.addEventListener("DOMContentLoaded",e.elementInView)},{"./components/element-in-view":1}]},{},[2]);

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.