gsap.set(".gsmouseball, .gsmouseballsmall",{xPercent:-50,yPercent:-50});let xTo=gsap.quickTo(".gsmouseball","x",{duration:.25,ease:"power3"}),yTo=gsap.quickTo(".gsmouseball","y",{duration:.25,ease:"power3"}),xToS=gsap.quickTo(".gsmouseballsmall","x",{duration:.1,ease:"power3"}),yToS=gsap.quickTo(".gsmouseballsmall","y",{duration:.1,ease:"power3"});var showMouseAnimation=gsap.to(".gsmouseballsmall, .gsmouseball",{opacity:1,paused:!0});function initmovemouse(){window.removeEventListener("mousemove",initmovemouse),window.addEventListener("mousemove",e=>{xTo(e.clientX),yTo(e.clientY),xToS(e.clientX),yToS(e.clientY)}),document.addEventListener("mouseleave",e=>{showMouseAnimation.reverse()}),document.addEventListener("mouseenter",e=>{showMouseAnimation.play()}),showMouseAnimation.play()}window.addEventListener("mousemove",initmovemouse);let elements=document.querySelectorAll('a[class*="button"]');for(let e=0,o=elements.length;e<o;e++)elements[e].onmouseenter=function(){gsap.to(".gsmouseballsmall",{scale:2.7}),gsap.to(".gsmouseball",{scale:1.3,ease:"power4.out"})},elements[e].onmouseleave=function(){gsap.to(".gsmouseballsmall",{scale:1}),gsap.to(".gsmouseball",{scale:1})};