"use strict";!function(){var a=JSON.parse(document.body.getAttribute("data-animate"))||{};a[".animate"]="";var e,n=[];for(e in a){var t=document.querySelectorAll(e);t.forEach(function(t){t.setAttribute("data-animate",a[e])}),n.push(t)}"IntersectionObserver"in window?window.addEventListener("load",function(t){var a=new IntersectionObserver(function(t,i){var r=0;t.forEach(function(t,a){var e,n;0<t.intersectionRatio&&((e=t.target.getAttribute("data-animate"))||t.target.classList.forEach(function(t){0===t.indexOf("an__")&&(e=t.slice(4))}),n=e||"fadeInUp",r++,setTimeout(function(){t.target.classList.add("animated",n),i.unobserve(t.target)},200*r,t))})},{root:null,rootMargin:"0px",threshold:.04});n.forEach(function(t){t.forEach(function(t){a.observe(t)})})},!1):n.forEach(function(t){t.forEach(function(t){t.classList.add("animated",t.getAttribute("data-animate"))})})}();