(function () {
var intro = document.getElementById("intro-animation-screen");
if (!intro) {
return;
}
intro.setAttribute("data-animation-ready", "true");
}());
showButton();
}, 5000);
// If Lottie completes, show button immediately
lottie.addEventListener("complete", () => {
clearTimeout(fallbackTimer);
showButton();
});
function showButton() {
if (button.style.display === "none") {
button.style.display = "inline-block";
setTimeout(() => {
button.style.opacity = "1";
button.style.animation = "pulseOnce 1s ease";
}, 100);
}
}
});