"use strict";(()=>{document.addEventListener("DOMContentLoaded",()=>{gsap.registerPlugin(ScrollTrigger,SplitText);let e=document.querySelectorAll("[split-text-wrap]"),o="back.out",s="elastic.out(1, 0.5)",l="power2.out";document.fonts.ready.then(()=>{let i=SplitText.create("[split-text]",{type:" words",wordsClass:"words"});gsap.set("[hero-hide]",{visibility:"visible"}),e.forEach(t=>{let n=t.querySelector("[split-text]"),r=t.querySelectorAll("[split-text] .words");gsap.timeline({scrollTrigger:{trigger:t,start:"top 80%",toggleActions:"play none none reverse"}}).from(r,{duration:1.5,yPercent:80,autoAlpha:0,ease:o,stagger:.08})})})});})();