PageSourceSearch

https://spire.solutions/modules/Pages/js/general.js?v=1787298405917

js spire.solutions collected 2026-10-01 15:01:56 UTC 1,508 bytes, 1 lines download raw bytes

1import{f as r}from"./find-hash-target.js";function S(){document.querySelectorAll("img").forEach(e=>{e.setAttribute("loading","eager")})}function p(){const t=document.querySelectorAll("img");return Array.from(t).every(e=>e.complete)}function s(t,e=!0){const o=r(t);o&&o.scrollIntoView({behavior:e?"smooth":"auto"})}function v(t){const e=new URL(window.location.href);e.hash=t,window.history.pushState({},"",e)}function f(t){return t.hasAttribute("tabindex")||t.tagName.toLowerCase()==="main"}function T(t){requestAnimationFrame(()=>{t.focus({preventScroll:!0})})}let n=null;function m(t,e=!1){const o=r(t);if(!o)return;n!==null&&(clearInterval(n),n=null),S(),s(t,!0);let i=window.scrollY,l=0;const d=5e3,h=Date.now();let c=!0;setTimeout(()=>{c=!1},1e3),n=setInterval(()=>{const u=window.scrollY,g=Date.now()-h,w=p();Math.abs(u-i)<5?l++:(l=0,c||s(t,!1)),i=u,(w&&l>=2||g>=d)&&(n!==null&&(clearInterval(n),n=null),s(t,!1),e&&T(o))},100)}function b(){const t=window.location.hash.substring(1);if(t){const e=r(t);if(!e)return;m(t,f(e))}}const a=()=>{const t=document.getElementById("top-sticky-blocks");if(t){const e=t.getBoundingClientRect().height;document.documentElement.style.scrollPaddingTop=`${e}px`}},I=()=>{document.querySelectorAll('a[href^="#"]').forEach(t=>{t.addEventListener("click",function(e){e.preventDefault();const o=this.getAttribute("href");if(!o)return;const i=o.substring(1),l=r(i);l&&(v(i),a(),m(i,f(l)))})})},y=()=>{a(),window.addEventListener("resize",a),I(),b()};typeof window<"u"&&y();

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.