1
function t_animationExt__init(){var t=document.querySelector(".t-records"),t=!!t&&"edit"===t.getAttribute("data-tilda-mode");/Bot/i.test(navigator.userAgent)||t_animateParallax__checkOldIE()||t||t_animationExt__isZeroBlocksRender(function(){t_animationExt__wrapFixEls(),t_animationExt__wrapParallaxEls(),t_animateParallax__initScroll(),t_animateParallax__initMouse();var t=t_animationExt__getElsByBreakpoints("fix",[]);t_animationExt__createResizeObserver(t,t_animationExt__getElsByBreakpoints("prx",["mouse"])),t_animateFix__init(t)}
2
)}
3
function t_animationExt__isZeroBlocksRender(e){var t,a,n=t_animationExt__getArtboards("396",!0);(n=n.length?n:t_animationExt__getArtboards("121",!0)).length&&(n.every(function(t){return t.classList.contains("rendered")}
4
)?e():document.querySelector('script[src*="tilda-blocks-2.7"]')?(t=Date.now(),t_animationExt__backwardCompatibilityWait(n,t,e)):(a=n.filter(function(t){return t.classList.contains("rendered")}
5
),n.forEach(function(t){t.classList.contains("rendered")||t.addEventListener("artBoardRendered",function(){a.push(t),a.length===n.length&&e()}
6
)}
7
)))}
8
function t_animationExt__getArtboards(t,e){t='.r[data-record-type="'+t+'"]';return e&&(t+=":not(.t397__off):not(.t395__off):not(.t400__off)"),t+=" .t396__artboard",Array.prototype.slice.call(document.querySelectorAll(t))}
9
function t_animationExt__backwardCompatibilityWait(t,e,a){t.every(function(t){return t.classList.contains("rendered")}
10
)?a():1e4<Date.now()-e?console.warn("all zero-blocks can't be rendered"):setTimeout(function(){t_animationExt__backwardCompatibilityWait(t,e,a)}
11
,500)}
12
function t_animationExt__createResizeObserver(a,n){var i,r;!n.length&&!a.length||(i=document.body.getClientRects()).length&&"ResizeObserver"in window&&(r=i[0].height,new ResizeObserver(function(t){for(var e=0;e<t.length;e++)t[e].contentRect.height!==r&&(r=i[0].height,n.forEach(function(t){t_animateParallax__cacheOffsets(t)}
13
),t_animateFix__cacheElsInfo(a))}
14
).observe(document.body))}
15
function t_animationExt__wrapFixEls(){var t=t_animationExt__getElsByBreakpoints("fix",[]),a=t_animationExt__getArtBoardsScreens();t.forEach(function(i){t_animationExt__getAttrByRes(i,"prx","data-animate-",0)&&a.forEach(function(t){var e,a;document.querySelector('[data-artboard-recid="'+t.recid+'"]')&&(e=t.screens,a=t.screenMax,e.forEach(function(t){i.removeAttribute(t===a?"data-animate-prx":"data-animate-prx-res-"+t)}
16
))}
17
);var r,t=i.querySelector(".tn-atom"),e=t.closest(".tn-atom__scale-wrapper"),o=(t_animationExt__wrapEl(t,"tn-atom__sticky-wrapper",e),i.querySelector(".tn-atom__sticky-wrapper"));i.classList.contains("t-animate")&&o&&(i.classList.remove("t-animate"),o.classList.add("t-animate"),r=["style","distance","duration","scale","delay"],a.forEach(function(t){var e,n;document.querySelector('[data-artboard-recid="'+t.recid+'"]')&&(e=t.screens,n=t.screenMax,e.forEach(function(a){r.forEach(function(t){var e=t_animationExt__getAttrByRes(i,t,"data-animate-",a);e&&(a===n?(o.setAttribute("data-animate-"+t,e),i.removeAttribute("data-animate-"+t)):(o.setAttribute("data-animate-"+t+"-res-"+a,e),i.removeAttribute("data-animate-"+t+"-res-"+a)))}
18
)}
19
))}
20
))}
21
)}
22
function t_animationExt__wrapParallaxEls(){t_animationExt__getElsByBreakpoints("prx",["scroll","mouse"]).forEach(function(t){var t=t.querySelector(".tn-atom"),e=t.closest(".tn-atom__scale-wrapper, .tn-atom__sbs-anim-wrapper");t_animationExt__wrapEl(t,"tn-atom__prx-wrapper",e)}
23
)}
24
function t_animateFix__init(e){var t;e.length&&(t_animateFix__cacheElsInfo(e),t_animateFix__updatePositions(e,!1),t=!!(t=document.getElementById("allrecords"))&&"yes"===t.getAttribute("data-tilda-lazy"),"y"!==window.lazy&&!t||(window.t_animationExt__isLazy=!0,t_onFuncLoad("t_lazyload_update",function(){t_lazyload_update()}
25
)),window.addEventListener("resize",t_throttle(function(){t_animateFix__cacheElsInfo(e),t_animateFix__updatePositions(e,!0)}
26
,100)),window.addEventListener("scroll",t_throttle(function(){t_animateFix__updatePositions(e,!1)}
27
,30)),t=document.querySelectorAll(".t396"),Array.prototype.forEach.call(t,function(t){t.addEventListener("displayChanged",t_throttle(function(){t_animateFix__cacheElsInfo(e),t_animateFix__updatePositions(e,!0)}
28
,30))}
29
))}
30
function t_animateFix__updatePositions(t,c){var d=window.pageYOffset;t.forEach(function(t){var e,a,n,i,r,o,l,s,_=t_animate__getScaledOnePixShape(t);0===t.distance?c&&(t.fixedWrapperEl.style.position="",t.fixedWrapperEl.style.top="",t.fixedWrapperEl.classList.remove("t-sticky_going"),t.fixedWrapperEl.classList.remove("t-sticky_ended")):(e=t_animationExt__getZoom(t),r=d+t.triggerOffset*e,s=t.querySelector(".tn-atom__scale-wrapper"),window.t_animationExt__isOnlyScalable&&s&&t.fixedWrapperEl&&"fixed"!==t.fixedWrapperEl.style.position&&(a=t.getBoundingClientRect().top-s.getBoundingClientRect().top,t.setAttribute("data-scaled-diff",a.toString())),a=0,window.t_animationExt__isOnlyScalable&&s&&(a=t.getAttribute("data-scaled-diff")||"0",a=parseInt(a,10),r=d+t.triggerOffset+a),s=r>=t.topOffset,n=r<t.topOffset,i=r<t.end,r=r>=t.end,o=!!t.fixedWrapperEl&&t.fixedWrapperEl.classList.contains("t-sticky_going"),l=!!t.fixedWrapperEl&&t.fixedWrapperEl.classList.contains("t-sticky_ended"),(s&&i&&(!o||c)||i&&l)&&(t.style.transform="",t.style.willChange="unset",t.fixedWrapperEl.style.position="fixed",t.fixedWrapperEl.style.top=(_?t.triggerOffset*e:t.triggerOffset)+a+"px",t.fixedWrapperEl.classList.add("t-sticky_going"),t.fixedWrapperEl.classList.remove("t-sticky_ended")),r&&!l&&(s=window.t_animationExt__isOnlyScalable?t.distance:t.distance/e,t.style.transform="translateY("+s+"px)",t.style.willChange="",t.fixedWrapperEl.style.top="",t.fixedWrapperEl.style.position="",t.fixedWrapperEl.classList.remove("t-sticky_going"),t.fixedWrapperEl.classList.add("t-sticky_ended")),n&&o&&(t.style.willChange="",t.fixedWrapperEl.style.top="",t.fixedWrapperEl.style.position="",t.fixedWrapperEl.classList.remove("t-sticky_going")))}
31
)}
32
function t_animateFix__cacheElsInfo(o){var l=window.innerHeight;o.forEach(function(t){var e=t_animationExt__getZoom(t),a=parseInt(t.style.top,10),n=t_animate__getScaledOnePixShape(t),n=(window.t_animationExt__isOnlyScalable||n||(a*=e),t.closest(".r")),i=n?n.getBoundingClientRect().top+window.pageYOffset:0,n=n&&parseInt(n.style.paddingTop,10)||0,r=(t.topOffset=(i+=n||0)+a,t.trigger=parseFloat(t_animationExt__getAttrByRes(t,"fix","data-animate-",0))||0,t.distance=parseInt(t_animationExt__getAttrByRes(t,"fix-dist","data-animate-",0),10)||0,t.distance*=e,t.end=t.topOffset+t.distance,t.fixedWrapperEl=t.querySelector(".tn-atom__sticky-wrapper"),t.querySelector(".t-img"));r?r.addEventListener("load",function(){t_animateWaitForUploadImg(r,function(){t_animateFix__getElTrigger(t,l),t_animateFix__updatePositions(o,!1)}
33
)}
34
):t_animateFix__getElTrigger(t,l)}
35
)}
36
function t_animate__getScaledOnePixShape(t){if(!("shape"===t.getAttribute("data-elem-type")))return!1;if("yes"===t.getAttribute("data-scale-off"))return!0;t=getComputedStyle(t);return(parseInt(t.height,10)<=2||parseInt(t.width,10)<=2)&&"0px"===t.borderWidth&&"none"===t.backgroundImage}
37
function t_animateWaitForUploadImg(t,e){var a;window.t_animationExt__isLazy?a=setTimeout(function(){t.classList.contains("loaded")&&t.clientWidth&&t.src?(e(),clearTimeout(a)):t_animateWaitForUploadImg(t,e)}
38
,300):e()}
39
function t_animateFix__getElTrigger(t,e){var a,n=t_animationExt__getZoom(t);t.triggerOffset=parseInt(t_animationExt__getAttrByRes(t,"fix-trgofst","data-animate-",0),10)||0,window.t_animationExt__isOnlyScalable&&(t.triggerOffset*=n),.5!==t.trigger&&1!==t.trigger||(e=e*t.trigger,a=t_animateFix__getPureElHeight(t)*t.trigger,a*=n,t.triggerOffset+=e,t.triggerOffset-=a,t.triggerOffset>t.topOffset&&t.triggerOffset<=e&&(t.triggerOffset=t.topOffset),window.t_animationExt__isOnlyScalable||(t.triggerOffset/=n))}
40
function t_animateFix__getPureElHeight(t){var e=t_animationExt__getPureHeight(t);return e||t_animationExt__getPureHeight(t.querySelector(".tn-atom"))}
...
</html>