function t_animate__init(){t_animate__checkAnimationAvailability()&&(t_animate__wrapTextWithOpacity(),t_animate__addNoHoverClassToBtns(),t_animate__preventHorizontalScroll(),1200<=window.innerWidth&&t_animate__parseNumberText(),setTimeout(function(){t_animate__startAnimation()},1500))}function t_animate__checkMobile(t){return Array.prototype.filter.call(t,function(t){var e,a=t.closest(".t396__elem"),a=a?a.getAttribute("data-animate-mobile"):null;return t.classList.contains("r")?(e=t.querySelectorAll(".t-animate"),Array.prototype.forEach.call(e,function(t){t.classList.remove("t-animate")}),!1):!!a||(t.classList.remove("t-animate"),!1)})}function t_animate__preventHorizontalScroll(){var t=document.querySelector(".t-records"),e=document.querySelectorAll("[data-animate-style=fadeinleft]"),e=Array.prototype.filter.call(e,function(t){return!t.classList.contains("t396__elem")});t&&e.length&&(t.style.overflowX="hidden")}function t_animate__checkAnimationAvailability(){var t=document.querySelector(".t-records"),e=t?t.getAttribute("data-blocks-animationoff"):null,t=t?t.getAttribute("data-tilda-mode"):null;return!/Bot/i.test(navigator.userAgent)&&"yes"!==e&&!t_animate__checkIE()&&"edit"!==t||(e=document.querySelectorAll(".t-animate"),Array.prototype.forEach.call(e,function(t){t.classList.remove("t-animate")}),!1)}function t_animate__startAnimation(){var t,e,a,n=document.querySelectorAll(".r"),i=Array.prototype.filter.call(n,function(t){return t.querySelector(".t-animate[data-animate-group=yes]")}),r=Array.prototype.filter.call(n,function(t){return t.querySelector('.t-animate[data-animate-chain="yes"]')}),o=document.querySelectorAll(".t-animate");o=Array.prototype.filter.call(o,function(t){return!("yes"===t.getAttribute("data-animate-group")||"yes"===t.getAttribute("data-animate-chain")||t.getAttribute("observer-ready"))}),window.innerWidth<1200&&(i=t_animate__checkMobile(i),r=t_animate__checkMobile(r),o=t_animate__checkMobile(o)),(i.length||o.length||r.length)&&(t_animate__setAnimationState(i,r,o),i=t_animate__hasWaitAnimation(i),o=t_animate__hasWaitAnimation(o),r=t_animate__hasWaitAnimation(r),t="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent),"IntersectionObserver"in window&&!t?(i.length&&(e=[],i.forEach(function(t){e.push(t.querySelector(".t-animate"))}),e.forEach(function(t){new IntersectionObserver(function(t,a){t.forEach(function(t){var e;t.isIntersecting&&(t=t.target,a.unobserve(t),e=t.closest(".r").querySelectorAll(".t-animate"),e=Array.prototype.filter.call(e,function(t){return!(t.classList.contains("t-animate__btn-wait-chain")||"yes"===t.getAttribute("data-animate-chain"))}),t_animate__makeSectionButtonWait(t),t_animate__saveSectionHeaderStartTime(t),Array.prototype.forEach.call(e,function(t){t.classList.remove("t-animate_wait"),t_animate__removeNoHoverClassFromBtns(t),t.classList.add("t-animate_started")}))})},{}).observe(t)})),o.length&&o.forEach(function(t){var e={},a=t_animate__getAttrByResBase(t,"trigger-offset"),a=(a&&(e.rootMargin="0px 0px "+-1*a.replace("px","")+"px 0px"),new IntersectionObserver(function(t,n){t.forEach(function(t){var e,a=t.target;!a.demandTransform&&a.style.transform?(a.demandTransform=a.style.transform,a.style.transform="unset"):(e=window.getComputedStyle(a).transform,a.style.transform||"none"===e||(a.demandTransform=e,a.style.transform="unset")),t.isIntersecting&&(n.unobserve(a),e=-1!==(e=a.style.transitionDelay||"0ms").indexOf("ms")?parseInt(e)+250:1e3*parseFloat(e)+250,a.demandTransform&&-1!==a.demandTransform.indexOf("matrix")&&(a.style.transform=""),a.demandTransform&&"unset"===a.style.transform&&(a.style.transform=a.demandTransform,delete a.demandTransform),setTimeout(function(){a.classList.remove("t-animate_wait"),t_animate__removeNoHoverClassFromBtns(a),a.classList.add("t-animate_started"),"animatednumber"===t_animate__getAttrByResBase(a,"style")&&t_animate__animateNumbers(a)},e))})},e));t.dataset.observerReady=!0,a.observe(t)}),r.length&&((a=function(){t_animate__getChainOffsets(r)})(),window.addEventListener("resize",t_throttle(function(){a()})),setInterval(a,5e3),window.addEventListener("scroll",t_throttle(function(){var t=window.pageYOffset+window.innerHeight;t_animate__animateChainsBlocks(r,t)})))):((a=function(){t_animate__getGroupsOffsets(i),t_animate__getChainOffsets(r),t_animate__getElemsOffsets(o)})(),window.addEventListener("resize",t_throttle(a)),setInterval(a,5e3),window.addEventListener("scroll",t_throttle(function(){var t=t_animate__deleteAnimatedEls(i,o),t=(o=t[0],t_animate__animateOnScroll(i=t[1],r,o));t&&t.length&&(i=t[0],r=t[1],o=t[2])}))),Array.prototype.forEach.call(n,function(t){var a=t.querySelector(".t-popup");a&&a.addEventListener("scroll",t_throttle(function(){var t,e=window.pageYOffset+window.innerHeight;(a.classList.contains("t-animate")&&"yes"===a.getAttribute("data-animate-chain")||a.querySelector(".t-animate[data-animate-chain=yes]"))&&(t_animate__setAnimationStateChains(t=[a]),t_animate__getChainOffsets(t=Array.prototype.filter.call(t,function(t){return t.querySelector(".t-animate_wait")})),t_animate__animateChainsBlocks(t,e))}))}))}function t_animate__animateOnScroll(t,e,a){var n,i;if(t.length||e.length||a.length)return n=window.pageYOffset,i=n+window.innerHeight,[t_animate__animateGroups(t,i,n),t_animate__animateChainsBlocks(e,i,n),t_animate__animateElems(a,i,n)]}function t_animate__animateGroups(t,a){return t.forEach(function(t){var e;t.curTopOffset/g," ").replace(/[^\d., ]+/g,"").replace(/ (\.|,)/g,"").replace(/(\d)(?=\d) /g,"$1").trim(),-1===e.indexOf(a)&&(i=a=a.split(" ")[0]),""!==a&&(t.setAttribute("data-animate-number-count",e),t_animate__changeNumberOnZero(t,e.replace(i,"num")),a=t.querySelectorAll("span"),a=Array.prototype.filter.call(a,function(t){return!t.classList.contains(".t-animate__number")}),Array.prototype.forEach.call(a,function(t){t.setAttribute("style",n)})))})}function t_animate__changeNumberOnZero(t,e){t.innerHTML=e.replace(/num/g,'0')}function t_animate__animateNumbers(e){if(!e)return!1;var a,n,i,r,o,s,l=e.getAttribute("data-animate-number-count"),c=[],t=e.querySelectorAll("span"),_=((t=Array.prototype.filter.call(t,function(t){return!t.classList.contains(".t-animate__number")})).length&&(c=t[0].getAttribute("style")||""),[]),m=null,u=(l&&(m=l.match(/\d+\.\d+|\d+,\d+/g),a=l.match(/\d+/g),l.replace(/(\d)(?= \d) /g,"$1").split(" ").forEach(function(t){isNaN(parseInt(t.replace(/[^\d., ]+/g,""),10))||_.push(t.replace(/[^\d., ]+/g,""))})),0),f=!1,d=!1,y=(e.removeAttribute("data-animate-number-count"),null!==m&&(d=-1!==m[0].indexOf(",")),_.forEach(function(t,e){var a;null!==m&&(-1!==t.indexOf(",")&&(a=t.split(",")),-1!==t.indexOf(".")&&(a=t.split(".")),-1===t.indexOf(",")&&-1===t.indexOf(".")||(u=a[1].length,_[e]=+a.join("."),f=!0))}),e.querySelector(".t-animate__number"));_[0]&&(n=Number(_[0])||0,i=0,r=Math.pow(10,u),f&&(n*=r,i*=r),o=0,s=setInterval(function(){var t;i+=n/108,o=f?(Math.round(i)/r).toFixed(u)+"":Math.floor(i)+"",1