function t_animate__init(){t_animate__checkAnimationAvailability()&&(t_animate__generateStyles(),t_animate__wrapTextWithOpacity(),t_animate__addNoHoverClassToBtns(),t_animate__preventHorizontalScroll(),document.documentElement.clientWidth>=1200&&t_animate__parseNumberText(),setTimeout((function(){t_animate__startAnimation()}),1500))}function t_animate__checkMobile(t){return t.filter((function(t){var e=t.closest(".t396__elem, .t396__group"),a,n;return!(!e||"y"!==e.getAttribute("data-animate-mobile"))||(t.classList.contains("r")?Array.prototype.forEach.call(t.querySelectorAll(".t-animate"),(function(t){t_animate__removeAnimationClass(t,"")})):t_animate__removeAnimationClass(t,""),!1)}))}function t_animate__removeAnimationClass(t,e){if(t){var a="t-animate";t.classList.remove(a),e&&("string"==typeof e&&(e=[e]),e.forEach((function(e){var n=a+"_"+e;t.classList.remove(n)})))}}function t_animate__preventHorizontalScroll(){var t,e=Array.from(document.querySelectorAll('[data-animate-style="fadeinleft"]')).filter((function(t){return!t.closest(".t396__artboard, .t-cover")&&t.getBoundingClientRect().right>window.innerWidth}));!e.length||window.innerWidth<980||e.forEach((function(t){var e;t.closest(".r").classList.add("t-animate__overflow-x-hidden")}))}function t_animate__checkAnimationAvailability(){var t=document.querySelector(".t-records"),e=t?t.getAttribute("data-blocks-animationoff"):null,a=t?t.getAttribute("data-tilda-mode"):null;if(/Bot/i.test(navigator.userAgent)||"yes"===e||t_animate__checkIE()||"edit"===a){var n=document.querySelectorAll(".t-animate");return Array.prototype.forEach.call(n,(function(t){t_animate__removeAnimationClass(t,"")})),!1}return!0}function t_animate__generateStyles(){var t;if(!!document.querySelector(".t396")){for(var e=t_animate__getBreakpointsArr(),a='.t396 .t-animate[data-animate-style="fadein"],.t396 .t-animate[data-animate-style="fadeinup"],.t396 .t-animate[data-animate-style="fadeindown"],.t396 .t-animate[data-animate-style="fadeinleft"],.t396 .t-animate[data-animate-style="fadeinright"],.t396 .t-animate[data-animate-style="zoomin"],.t396 .t-animate[data-animate-style="zoomout"] {opacity: 0;-webkit-transition-property: opacity, transform;transition-property: opacity, transform;-webkit-transition-duration: 1s;transition-duration: 1s;-webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);-webkit-backface-visibility: hidden;backface-visibility: hidden;}',n=0;n/g," ").replace(/[^\d., ]+/g,"").replace(/ (\.|,)/g,"").replace(/(\d)(?=\d) /g,"$1").trim(),c=m;if(-1===a.indexOf(m)&&(c=m=m.split(" ")[0]),""!==m){e.setAttribute("data-animate-number-count",a),t_animate__changeNumberOnZero(e,a.replace(c,"num"));var _=e.querySelectorAll("span");_=Array.prototype.filter.call(_,(function(t){return!t.classList.contains(".t-animate__number")})),Array.prototype.forEach.call(_,(function(t){t.setAttribute("style",n)}))}}}))}function t_animate__changeNumberOnZero(t,e){t.innerHTML=e.replace(/num/g,'0')}function t_animate__animateNumbers(t){if(!t)return!1;var e=t.getAttribute("data-animate-number-count"),a=[],n=t.querySelectorAll("span");(n=Array.prototype.filter.call(n,(function(t){return!t.classList.contains(".t-animate__number")}))).length&&(a=n[0].getAttribute("style")||"");var i=[],r=null;if(e){r=e.match(/\d+\.\d+|\d+,\d+/g);var o=e.match(/\d+/g),s,l;e.replace(/(\d)(?= \d) /g,"$1").split(" ").forEach((function(t){isNaN(parseInt(t.replace(/[^\d., ]+/g,""),10))||i.push(t.replace(/[^\d., ]+/g,""))}))}var m=0,c=!1,_=!1;t.removeAttribute("data-animate-number-count"),null!==r&&(_=-1!==r[0].indexOf(",")),i.forEach((function(t,e){var a;null!==r&&(-1!==t.indexOf(",")&&(a=t.split(",")),-1!==t.indexOf(".")&&(a=t.split(".")),-1===t.indexOf(",")&&-1===t.indexOf(".")||(m=a[1].length,i[e]=+a.join("."),c=!0))}));var f=t.querySelector(".t-animate__number");if(i[0]){var d=Number(i[0])||0,u=0,y=Math.pow(10,m);c&&(d*=y,u*=y);var p=12,h=0,g=setInterval((function(){if(u+=d/108,h=c?(Math.round(u)/y).toFixed(m)+"":Math.floor(u)+"",o.length>1&&(h=h.replace(/(\d)(?=(\d{3})+([^\d]|$))/g,"$1 ")),_&&(h=h.replace(/\./g,",")),f&&(f.textContent=h),u>=d){clearInterval(g),t.innerHTML=e;var n=t.querySelectorAll("span");Array.prototype.forEach.call(n,(function(t){t.setAttribute("style",a)}))}}),p)}}function t_animate__setAnimationState(t,e,a){var n=window.pageYOffset,i=n+window.innerHeight;t_animate__setGroupsBlocksState(t,n,i),e.forEach((function(t){t_animate__assignChainDelay(t,i,n),t_animate__checkSectionButtonAnimation__outOfTurn(t)})),t_animate__setAnimELemsState(a,n,i),window.addEventListener("resize",t_throttle(t_animate__removeInlineAnimStyles))}function t_animate__setAnimELemsState(t,e,a){t.forEach((function(t){var n=t.getBoundingClientRect().top+window.pageYOffset;if(n=i||t.closest(".t1093"))&&t.classList.add("t-animate_wait")}))}function t_animate__setGroupsBlocksState(t,e,a){t.forEach((function(t){var n=t.querySelectorAll(".t-animate");n=Array.prototype.filter.call(n,(function(t){return!("yes"===t.getAttribute("data-animate-chain"))}));var i=t.getBoundingClientRect().top+window.pageYOffset;t_animate__removeAnimFromHiddenSlides(t);var r=t_animate__assignSectionDelay(t);t_animate__assignGroupDelay(t,r),Array.prototype.forEach.call(n,(function(n){var r=n.closest(".t397__off")||n.closest(".t395__off")||n.closest(".t400__off");if(n.classList.contains("t-animate_no-hover")&&r&&n.classList.remove("t-animate_no-hover"),i<=e-100)return t_animate__saveSectionHeaderStartTime(t),t_animate__removeAnimationClass(n,"no-hover"),n.style.transitionDelay="",!0;ie-100&&(t_animate__makeSectionButtonWait(t),n.classList.contains(".t-animate__btn-wait-chain")||(t_animate__removeNoHoverClassFromBtns(n),r?n.classList.add("t-animate_wait"):t_animate__setStartAnimationClass(n,!1))),i>=a&&n.classList.add("t-animate_wait")}))}))}function t_animate__setAnimationStateChains(t){if(!t||!t.length)return!1;var e=window.pageYOffset,a=e+window.innerHeight;Array.prototype.forEach.call(t,(function(t){t_animate__assignChainDelay(t,a,e),t_animate__checkSectionButtonAnimation__outOfTurn(t)}))}function t_animate__assignSectionDelay(t){var e=0,a=t.querySelectorAll(".t-section__title.t-animate"),n=t.querySelectorAll(".t-section__descr.t-animate");return a.length&&(e=.16),n.length&&(Array.prototype.forEach.call(n,(function(t){t.style.transitionDelay=e+"s"})),e+=.16),e}function t_animate__assignGroupDelay(t,e){var a=0;if(t.querySelectorAll("[data-animate-order]").length)t_animate__assignOrderedElemsDelay(t,e);else{var n=t.querySelectorAll(".t-img.t-animate"),i=t.querySelectorAll(".t-uptitle.t-animate"),r=t.querySelectorAll(".t-title.t-animate");r=Array.prototype.filter.call(r,(function(t){return!t.classList.contains("t-section__title")}));var o=t.querySelectorAll(".t-descr.t-animate");o=Array.prototype.filter.call(o,(function(t){return!t.classList.contains("t-section__descr")}));var s=t.querySelectorAll(".t-btn.t-animate, .t-btnwrapper.t-animate");s=Array.prototype.filter.call(s,(function(t){return!t.closest(".t-section__bottomwrapper")}));var l=t.querySelectorAll(".t-timer.t-animate"),m=t.querySelectorAll("form.t-animate");n.length&&(a=.5),r.length&&Array.prototype.forEach.call(r,(function(t){t.style.transitionDelay=a+"s"})),r.length&&(a+=.3),o.length&&Array.prototype.forEach.call(o,(function(t){t.style.transitionDelay=a+"s"})),o.length&&(a+=.3),i.length&&Array.prototype.forEach.call(i,(function(t){t.style.transitionDelay=a+"s"})),i.length&&(a+=.3),(i.length||r.length||o.length)&&(a+=.2),l.length&&Array.prototype.forEach.call(l,(function(t){t.style.transitionDelay=a+"s"})),l.length&&(a+=.5),s.length&&(s[0].style.transitionDelay=a+"s"),2===s.length&&(a+=.4),2===s.length&&(s[1].style.transitionDelay=a+"s"),0!==m.length&&Array.prototype.forEach.call(m,(function(t){t.style.transitionDelay=a+"s"}))}}function t_animate__assignOrderedElemsDelay(t,e){var a=0;e&&(a=e);var n=t.querySelectorAll('.t-animate[data-animate-order="1"]'),i=t.querySelectorAll('.t-animate[data-animate-order="2"]'),r=t.querySelectorAll('.t-animate[data-animate-order="3"]'),o=t.querySelectorAll('.t-animate[data-animate-order="4"]'),s=t.querySelectorAll('.t-animate[data-animate-order="5"]'),l=t.querySelectorAll('.t-animate[data-animate-order="6"]'),m=t.querySelectorAll('.t-animate[data-animate-order="7"]'),c=t.querySelectorAll('.t-animate[data-animate-order="8"]'),_=t.querySelectorAll('.t-animate[data-animate-order="9"]');n.length&&Array.prototype.forEach.call(n,(function(t){t.style.transitionDelay=a+"s"})),n.length&&i.length&&(a+=1*t_animate__getAttrByResBase(i[0],"delay"),Array.prototype.forEach.call(i,(function(t){t.style.transitionDelay=a+"s"}))),(n.length||i.length)&&r.length&&(a+=1*t_animate__getAttrByResBase(r[0],"delay"),Array.prototype.forEach.call(r,(function(t){t.style.transitionDelay=a+"s"}))),(n.length||i.length||r.length)&&o.length&&(a+=1*t_animate__getAttrByResBase(o[0],"delay"),Array.prototype.forEach.call(o,(function(t){t.style.transitionDelay=a+"s"}))),(n.length||i.length||r.length||o.length)&&s.length&&(a+=1*t_animate__getAttrByResBase(s[0],"delay"),Array.prototype.forEach.call(s,(function(t){t.style.transitionDelay=a+"s"}))),(n.length||i.length||r.length||o.length||s.length)&&l.length&&(a+=1*t_animate__getAttrByResBase(l[0],"delay"),Array.prototype.forEach.call(l,(function(t){t.style.transitionDelay=a+"s"}))),(n.length||i.length||r.length||o.length||s.length||l.length)&&m.length&&(a+=1*t_animate__getAttrByResBase(m[0],"delay"),Array.prototype.forEach.call(m,(function(t){t.style.transitionDelay=a+"s"}))),(n.length||i.length||r.length||o.length||s.length||l.length||m.length)&&c.length&&(a+=1*t_animate__getAttrByResBase(c[0],"delay"),Array.prototype.forEach.call(c,(function(t){t.style.transitionDelay=a+"s"}))),(n.length||i.length||r.length||o.length||s.length||l.length||m.length||c.length)&&_.length&&(a+=1*t_animate__getAttrByResBase(_[0],"delay"),Array.prototype.forEach.call(_,(function(t){t.style.transitionDelay=a+"s"})))}function t_animate__assignChainDelay(t,e,a){var n=t.querySelectorAll(".t-animate[data-animate-chain=yes]"),i=0;if(n.length){var r=n[0],o=r.getBoundingClientRect().top+window.pageYOffset;r.classList.add("t-animate__chain_first-in-row");var s=t_animate__getCurBlockSectionHeadDelay(t);Array.prototype.forEach.call(n,(function(l){var m=l.getBoundingClientRect().top+window.pageYOffset;if(m0){t.style.opacity="";var n=document.createElement("div");n.style.opacity=a;var i=t.childNodes;Array.prototype.forEach.call(i,(function(t){var e=t.cloneNode(!0);n.appendChild(e)})),t.innerHTML="",t.appendChild(n)}}}))}function t_animate__checkIE(){var t=window.navigator.userAgent,e=t.indexOf("MSIE"),a="",n=!1;return e>0&&(8!==(a=parseInt(t.substring(e+5,t.indexOf(".",e))))&&9!==a||(n=!0)),n}"loading"!==document.readyState?t_animate__init():document.addEventListener("DOMContentLoaded",t_animate__init);