PageSourceSearch

https://academy21.co.uk/wp-content/cache/min/1/wp-content/themes/nw-theme/lib/gsap/nw-gsap.js?ver=1791288796

js academy21.co.uk collected 2026-10-07 15:15:07 UTC 728 bytes, 6 lines download raw bytes

1gsap.registerPlugin(ScrollTrigger);const lenis=new Lenis({duration:1.5,easing:(t)=>Math.min(1,1.001-Math.pow(2,-10*t))})
2function raf(time){lenis.raf(time)
3requestAnimationFrame(raf)}
4requestAnimationFrame(raf)
5function animateElementExample(){const block_parent_class=document.getElementsByClassName('block_parent_class').length>0;if(block_parent_class){const animateElementIn=gsap.fromTo("#animate_element_in",{y:100,},{y:0,duration:1,stagger:0.1,onComplete:function(){jQuery('#element_parent').addClass('completed_animation')}});ScrollTrigger.create({trigger:"#element_parent",animation:animateElementIn,});if(ScrollTrigger.isInViewport("#element_parent")){animateElementIn.progress(1)}}}
6jQuery(document).ready(function(){})

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.