1var module_196252504143=void document.addEventListener("DOMContentLoaded",(function(){Array.from(document.querySelectorAll(".sr-hero-01")).forEach((function(instance){if("true"==instance.dataset.parallax){var coverInner=instance.querySelector(".sr-cover-inner");gsap.to(coverInner,{scrollTrigger:{trigger:instance,start:"bottom bottom",end:"60%",scrub:!0},y:30});var backgroundOption=instance.dataset.backgroundOption;if("image"==backgroundOption||"video"==backgroundOption){var coverImage=instance.querySelector(".sr-cover-image");gsap.to(coverImage,{scrollTrigger:{trigger:instance,start:"top bottom",end:"350%",scrub:!0},y:"30%",ease:"none"}),gsap.to(coverImage,{scrollTrigger:{trigger:instance,start:"top bottom",end:"50%",scrub:!0},opacity:.4,ease:"none"})}var parallaxScrollImage=instance.querySelector(".sr-parallax-scroll-image");parallaxScrollImage&&(gsap.fromTo(parallaxScrollImage,{y:"-40%"},{y:"40%",scrollTrigger:{trigger:instance,start:"top bottom",end:"bottom top",scrub:1,ease:"none"}}),gsap.fromTo(parallaxScrollImage,{rotation:-5},{rotation:5,scrollTrigger:{trigger:instance,start:"top bottom",end:"bottom top",scrub:2,ease:"none"}}))}}))})); 2//# sourceURL=https://2949423.fs1.hubspotusercontent-na1.net/hubfs/2949423/hub_generated/module_assets/1/196252504143/1758206271311/module_SR_Hero_01.js
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.