PageSourceSearch

https://agripurina.ca/wp-content/themes/cargill/assets/_chunk.D7cFOpYG.js

js agripurina.ca collected 2026-10-09 21:52:32 UTC 565 bytes, 1 lines download raw bytes

1import{getCoords as a}from"./_chunk.DRCy_Scn.js";const d=()=>{const n=document.querySelectorAll(".animate");n.length>0&&setTimeout(()=>{const t=[],o=document.documentElement.clientHeight-200;n.forEach((i,s)=>{t.push({isAnimated:!1}),!t[s].isAnimated&&window.pageYOffset+o>=a(i).top&&(i.classList.add("animate--active"),t[s].isAnimated=!0)});let e=!1;document.addEventListener("scroll",()=>{e||(e=!e,n.forEach((i,s)=>{!t[s].isAnimated&&window.scrollY+o>=a(i).top&&(i.classList.add("animate--active"),t[s].isAnimated=!0)}),e=!e)})},500)};export{d as initAnimations};

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.