const initLottieAnimation=(t=document)=>{let e=async(e=t)=>{let a=e.querySelectorAll("canvas[data-canvas-type='lottie']"),{DotLottie:n}=await import("https://cdn.jsdelivr.net/npm/@lottiefiles/dotlottie-web/+esm");a.forEach(t=>{let e=t.getAttribute("data-canvas-src"),a=t.getAttribute("data-canvas-id"),o=new n({canvas:t,src:e,autoplay:!0,loop:!0});window[a]=o})},a=async()=>{document.getElementById("lottie-js"),await e()},n=t.querySelectorAll("canvas[data-canvas-type='lottie']");if(n&&n.length>0){let o=!1;n.forEach(t=>{t.getAttribute("data-canvas-smart-lazy-load")&&(o=!0)}),o?(document.body.addEventListener("mouseover",a,{once:!0}),document.body.addEventListener("touchmove",a,{once:!0}),window.addEventListener("scroll",a,{once:!0}),document.body.addEventListener("keydown",a,{once:!0})):a()}};initLottieAnimation();