document.querySelectorAll('[class*="will-animate"]').forEach((e=>{new IntersectionObserver(((e,t)=>{e.forEach((e=>{const a=e.target,s=window.getComputedStyle(a).getPropertyValue("--animation");let[l,o,i]=s.split(" ");var n;null!=e&&e.isIntersecting&&(i=null!==(n=i)&&void 0!==n?n:"0s",a.classList.add("has-animation"),setTimeout((()=>{a.classList.remove("will-animate"),t.unobserve(a)}),"0s"===i?1:1e3*parseFloat(i)))}))}),{rootMargin:"0px 0px 100px 0px"}).observe(e)}));