PageSourceSearch

https://drinkpathwater.com/cdn/shop/t/147/assets/bottlefill.js?v=119379254414859143651788459186

js drinkpathwater.com collected 2026-09-24 09:54:03 UTC 2,676 bytes, 2 lines download raw bytes

1function mobile_anim(){gsap.set(".bottle-water",{height:"0"}),gsap.to(".bottle-water",{height:"80%",scrollTrigger:{trigger:".animated-water",start:"top center",scrub:.3,end:"bottom center",markers:!1}}),ScrollTrigger.create({trigger:".features",start:"top top",end:"bottom bottom",pin:".animation-wrap",pinSpacing:!1,invalidateOnRefresh:!0});const featureImgs=gsap.utils.toArray(".feature__img-wrapper .img-overlay"),featureBoxes_2=document.querySelectorAll(".feature__info_2"),featureBoxes=document.querySelectorAll(".feature__info"),featureBoxes_mobile=document.querySelectorAll(".feature__info_mobile");featureImgs.forEach((img,i)=>{let featureBox_mobile=featureBoxes_mobile[i];ScrollTrigger.create({trigger:img,toggleClass:{targets:featureBox_mobile,className:"active"},start:"top 50%",end:"bottom 50%"}),gsap.timeline({scrollTrigger:{trigger:img,start:"top 70%",end:"bottom 70%",markers:!1,toggleActions:"play reverse play reverse"}}).from(featureBox_mobile,{autoAlpha:0,y:20,delay:.5,duration:.25})})}function desktop_anim(){gsap.set(".bottle-water",{height:"0"}),gsap.to(".bottle-water",{height:"80%",scrollTrigger:{trigger:".animated-water",start:"top center",scrub:.3,end:"bottom center",markers:!1}}),ScrollTrigger.create({trigger:".features",start:"top top",end:"bottom bottom",pin:".animation-wrap",pinSpacing:!1,invalidateOnRefresh:!0});const featureImgs=gsap.utils.toArray(".feature__img-wrapper .img-overlay"),featureBoxes_2=document.querySelectorAll(".feature__info_2"),featureBoxes=document.querySelectorAll(".feature__info"),featureBoxes_mobile=document.querySelectorAll(".feature__info_mobile");featureImgs.forEach((img,i)=>{let featureBox=featureBoxes[i];ScrollTrigger.create({trigger:img,toggleClass:{targets:featureBox,className:"active"},start:"top 50%",end:"bottom 50%"});let featureBox_2=featureBoxes_2[i];ScrollTrigger.create({trigger:img,toggleClass:{targets:featureBox_2,className:"active"},start:"top 50%",end:"bottom 50%"}),gsap.timeline({scrollTrigger:{trigger:img,start:"top 70%",end:"bottom 70%",markers:!1,toggleActions:"play reverse play reverse"}}).from(featureBox,{autoAlpha:0,y:20,delay:.5,duration:.25}),gsap.timeline({scrollTrigger:{trigger:img,start:"top 70%",end:"bottom 70%",markers:!1,toggleActions:"play reverse play reverse"}}).from(featureBox_2,{autoAlpha:0,y:20,delay:.5,duration:.25})})}$(window).width()<1240?mobile_anim():desktop_anim();var id;$(window).on("resize",function(){clearTimeout(id),id=setTimeout(doneResizing,500),ScrollTrigger.refresh()});function doneResizing(){$(window).width()>=1240?desktop_anim():mobile_anim()}
2//# sourceMappingURL=/cdn/shop/t/147/assets/bottlefill.js.map?v=119379254414859143651788459186

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.