import{S as t,g as o}from"./ScrollTrigger.C8IefbVz.js";const i=()=>{console.log("Initializing Mission animations..."),o.registerPlugin(t),o.to(".mission-image-container",{yPercent:25,scale:1.15,ease:"none",scrollTrigger:{trigger:"#mission-section",start:"top bottom",end:"bottom top",scrub:1.8}});const e=document.querySelectorAll(".value-card");console.log("Value cards found:",e.length),e.length>0?(o.set(e,{opacity:0,y:30,scale:.95}),o.to(e,{opacity:1,y:0,scale:1,stagger:.2,duration:.8,ease:"back.out(1.4)",scrollTrigger:{trigger:"#mission-section",start:"top 60%",end:"top 20%",toggleActions:"play none none none"},onStart:()=>{console.log("Value cards animation started")}})):console.warn("No value cards found!"),t.refresh(),console.log("Mission animations initialized")};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",i):i();document.addEventListener("astro:page-load",()=>{console.log("Astro page load - reinitializing Mission animations"),setTimeout(i,100)});let n;window.addEventListener("resize",()=>{clearTimeout(n),n=setTimeout(()=>{t.refresh()},200)});
