function t_animationSBS__checkVisibilityPage(){"visible"===document.visibilityState&&(t_animationSBS__onReady(t_animationSBS__init),document.removeEventListener("visibilitychange",t_animationSBS__checkVisibilityPage))}function t_animationSBS__onReady(t){"loading"!==document.readyState?t():document.addEventListener("DOMContentLoaded",t)}function t_animationSBS__init(){var t=document.getElementById("allrecords"),e=(e=t?"edit"===t.getAttribute("data-tilda-mode"):null)||Boolean(document.getElementById("for_redactor_toolbar"));/Bot/i.test(navigator.userAgent)||document.documentMode<11||e||(document.querySelector('[data-animate-sbs-event="scroll"]')&&(t.style.overflowX="hidden"),t_animationSBS__isZeroBlocksRendered(function(){t_animationSBS_isInstagramRendered(function(){t_animationSBS__wrapAndUpdateEls(Array.prototype.slice.call(document.querySelectorAll("[data-animate-sbs-event]"))),t_animationSBS__initAllRes(e)})}))}function t_animationSBS__isZeroBlocksRendered(e){var n,i,a=t_animationSBS__getArtboards("396");(a=a.length?a:t_animationSBS__getArtboards("121")).length&&(n=!1,a.every(function(t){return t.classList.contains("rendered")})?e():document.querySelectorAll('script[src*="tilda-blocks-2"], script[src*="tilda-blocks-1"]').length?t_animationSBS__backwardCompatibilityWait(a,Date.now(),e):(i=a.filter(function(t){return t.classList.contains("rendered")}),a.forEach(function(t){t.classList.contains("rendered")||t.addEventListener("artBoardRendered",function(){i.push(t),i.length!==a.length||n||e()})}),setTimeout(function(){n=!0,i.length!==a.length&&e()},3e3)))}function t_animationSBS__getArtboards(t){return Array.prototype.slice.call(document.querySelectorAll('.r[data-record-type="'+t+'"]:not(.t397__off):not(.t395__off):not(.t400__off) .t396__artboard'))}function t_animationSBS__backwardCompatibilityWait(t,e,n){t.every(function(t){return t.classList.contains("rendered")})?n():1e4window.innerWidth?t_animationSBS_isInstagramRendered(t):(clearTimeout(e),t())},100):t()}function t_animationSBS__wrapAndUpdateEls(t){var l=-1!==navigator.userAgent.indexOf("Chrome");t.forEach(function(t){var e,n,i,a,r,o,s=t.querySelector(".tn-molecule, .tn-atom");s&&(e=".tn-atom__sbs-anim-wrapper:not(.tn-molecule__sbs-anim-wrapper)",n=["tn-atom__sbs-anim-wrapper"],(a=s.classList.contains("tn-molecule"))&&(e=".tn-molecule__sbs-anim-wrapper",n.push("tn-molecule__sbs-anim-wrapper")),-1===navigator.userAgent.indexOf("Chrome")&&(s.style.WebkitBackfaceVisibility="hidden",s.style.backfaceVisibility="hidden"),i=s.closest(e),r=t_animationSBS__getAnimOptions(t,"published",null),!i&&r&&(r=getComputedStyle(s).display,a&&"flex"!==r&&(s.style.display="inherit"),a=t_animationSBS__getScaleWrapper(s),(r=t.style.transform)&&-1!==r.indexOf("matrix(")&&(t_animationSBS__wrapEl(a||s,"tn-atom__sbs-transform-wrapper"),(o=t.querySelector(".tn-atom__sbs-transform-wrapper")).style.transform=r,t.style.transform=""),t_animationSBS__wrapEl((o=t.querySelector(".tn-atom__sbs-transform-wrapper"))||a||s,n),i=(s=t.querySelector(".tn-molecule, .tn-atom")).closest(e),t_animationSBS__updateStylesAfterWrapping(t,o||i,l)))})}function t_animationSBS__getScaleWrapper(t){if(!t)return null;var e=t.closest(".t396__group"),n=t.classList.contains("tn-atom");return e&&n?null:t.closest(".tn-atom__scale-wrapper")}function t_animationSBS__wrapAndUpdateElOnResize(t){!t.length||(t=t.filter(function(t){return!t.querySelector(".tn-atom__sbs-anim-wrapper")})).length&&t_animationSBS__wrapAndUpdateEls(t)}function t_animationSBS__updateStylesAfterWrapping(e,n,i){var a=e.getAttribute("data-elem-type"),r=getComputedStyle(e),t=r.getPropertyValue("border-radius"),t=("shape"!==a&&"button"!==a&&"image"!==a||!parseInt(t,10)||(n.style.borderRadius=t),["filter","backdrop-filter"]),o=(t=(t=t.map(function(t){var e="-webkit-"+t,n=r.getPropertyValue(t);if("none"!==(n="none"!==n&&""!==n?n:r.getPropertyValue(e))&&""!==n)return{filter:t,webkitFilter:e,value:n}})).filter(function(t){return t}),e.querySelector(".tn-atom")),s=getComputedStyle(o).transform,l=document.createEvent("Event"),t=(l.initEvent("backdropFilterImgWrappered",!0,!0),t.forEach(function(t){window.t_animationSBS__isFirefox&&(n.style.backfaceVisibility="visible"),n.style[t.webkitFilter]=t.value,n.style[t.filter]=t.value,e.style[t.webkitFilter]="none",e.style[t.filter]="none","image"===a&&window.t_animationSBS__isSafari&&(e.dispatchEvent(l),e.classList.add("t396__elem--backdrop-filter-img-wrappered")),i&&"backdrop-filter"===t.filter&&(o.style[t.webkitFilter]="inherit",o.style[t.filter]="inherit"),"none"===s&&(o.style.transform="translateZ(0)")}),t.some(function(t){return"backdrop-filter"===t.filter}));i&&t&&t_animationSBS__chromeFixBackdropFilter(o,n)}function t_animationSBS__chromeFixBackdropFilter(t,e){var n=getComputedStyle(t),i=n.getPropertyValue("background-color"),a=n.getPropertyValue("opacity"),n=n.getPropertyValue("box-shadow");"rgba(0, 0, 0, 0)"!==i&&"1"!==a&&(i=i.substring(i.indexOf("(")+1,i.indexOf(")")),(n=t_animationSBS__processBoxShadowRGB(n,a))&&(e.style.boxShadow=n,t.style.boxShadow="none"),e.style.backgroundColor="rgba("+i+","+a+")",t.style.opacity="1",t.style.backgroundColor="transparent",t.style.backdropFilter="initial",t.style.WebkitBackdropFilter="initial")}function t_animationSBS__processBoxShadowRGB(t,e){if(!t)return!1;if(-1===t.indexOf("rgba")&&-1===t.indexOf("rgb")||"1"===e)return!1;var n=t.substring(t.indexOf("(")+1,t.indexOf(")")),i=n.split(", "),e=(3===i.length?i.push(e):i[3]*=e,t.replace(n,i.join(", ")));return e=-1!==e.indexOf("rgb(")?e.replace("rgb(","rgba("):e}function t_animationSBS__initAllRes(t){var e,n,i,a={elements:Array.prototype.slice.call(document.querySelectorAll("[data-animate-sbs-event]")),scrollTop:window.pageYOffset,isEditMode:t,clickedTriggerEls:[],hoverTriggerEls:[]};function r(){clearTimeout(n),n=setTimeout(function(){var t=Array.prototype.slice.call(document.querySelectorAll("[data-animate-sbs-event]"));t_animationSBS__updateAnimatedObjectState(a,"elements",t),t_animationSBS__wrapAndUpdateElOnResize(a.elements),t_animationSBS__cacheAndSetData(a),t_animationSBS__triggerScrollAnim(a),e=t_animationSBS__getAnimElsOnView(a.elements),t_animationSBS__triggerNoScrollAnimation(a,e),t_animationSBS__generateKeyframes(a)},500)}a.elements.length&&(t_animationSBS__cacheAndSetData(a),t_animationSBS__generateKeyframes(a),t=!!(t=document.getElementById("allrecords"))&&"yes"===t.getAttribute("data-tilda-lazy"),"y"!==window.lazy&&!t||t_onFuncLoad("t_lazyload_update",function(){t_lazyload_update()}),e=t_animationSBS__getAnimElsOnView(a.elements),t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),"ResizeObserver"in window?t_animationSBS__createResizeObserver({breakpoints:i=t_animationSBS__getAllBreakpoints(),currentRes:t_animationSBS__getCurrentRes(i,t),isMobile:t},r):t?window.addEventListener("orientationchange",function(){setTimeout(function(){r()},300)}):window.addEventListener("resize",r),i=document.querySelectorAll(".t396"),Array.prototype.forEach.call(i,function(t){t.addEventListener("displayChanged",r)}),window.t_animationSBS__isSafari&&window.addEventListener("scroll",function t(){0!==window.pageYOffset&&r();window.removeEventListener("scroll",t)}),t_animationSBS__triggerNoScrollAnimation(a,e),document.querySelectorAll('[data-animate-sbs-event="scroll"]').length&&(t_animationSBS__triggerScrollAnim(a),t_animationSBS__checkFrame(a)),window.addEventListener("load",function(){t_animationSBS__changeElValues(a)}),setTimeout(function(){"complete"!==document.readyState&&t_animationSBS__changeElValues(a)},3e3))}function t_animationSBS__getAnimElsOnView(t){return t.filter(function(t){var e="data-animate-sbs-event";return"intoview"===t.getAttribute(e)||"blockintoview"===t.getAttribute(e)})}function t_animationSBS__getAllBreakpoints(){var t=Array.prototype.slice.call(document.querySelectorAll(".r .t396__artboard")),n=[];return t.forEach(function(t){var t=t_animationSBS__getResOpts(t),e=t.breakpoints.filter(function(t){return-1===n.indexOf(t)});-1===(n=n.concat(e)).indexOf(t.resMax)&&n.push(t.resMax)}),n.sort(function(t,e){return e-t})}function t_animationSBS__getCurrentRes(t,e){var n=e||"ontouchend"in document&&-1!==navigator.userAgent.indexOf("AppleWebKit")?document.documentElement.clientWidth:window.innerWidth;return t.find(function(t){return t=t.start),r=nn;a&&s&&(t.state="started",_.wrapperEl&&(_.wrapperEl.style.willChange="transform"),a=n-t.start,s=0===t.dist?1:a/t.dist,c.prevUnfixedDist=t.prevUnfixedDist,t_animationSBS__scrollAnimationCalcStepStyles(c,t,s,e,i)),o&&(t.state="finished",_.wrapperEl&&(_.wrapperEl.style.willChange=""),t_animationSBS__scrollAnimationCalcStepStyles(c,t,1,e,i)),!r||"started"!==t.state&&"finished"!==t.state||(t.state="unactive",_.wrapperEl&&(_.wrapperEl.style.willChange=""),t_animationSBS__scrollAnimationCalcStepStyles(c,t,0,e,i))}),_.classList.remove("t396__elem--anim-hidden"),_.steps[1]&&0===_.steps[1].dist&&0===_.steps[1].styles.opacity&&"unactive"===_.steps[1].state&&(c.opacity=0)}function t_animationSBS__scrollAnimationCalcStepStyles(t,e,n,i,a){if(!0===e.styles.fix&&"started"===e.state&&(t.fix=!0,t.fixedShiftY=0),!0===e.styles.fix&&"finished"===e.state&&(t.fix=!1,t.fixedShiftY+=e.dist/a),!0===e.styles.fix&&"unactive"===e.state){if(0t.topOffset&&t.triggerOffset<=e*t.trigger&&(t.triggerOffset=t.topOffset,t.scaledDifference&&(t.triggerOffset<0||t.triggerOffset===t.scaledDifference)&&(t.scaledDifference=0)),"blockintoview"===t.animType&&t.triggerOffset>t.parentRecTopPos&&t.triggerOffset<=e*t.trigger&&(t.triggerOffset=t.parentRecTopPos))}function t_animationSBS__triggerNoScrollAnimation(t,e){t_animationSBS__processElsIntoView(t,e),t_animationSBS__removeHoverClickTriggers(t),t_animationSBS__initClickTriggers(t),t_animationSBS__initHoverTriggers(t)}function t_animationSBS__processElsIntoView(t,e){t_animationSBS__updateIntoViewElsState(e);var n=0;t_animationSBS__setKeyForAnimatedObject(t,"onScrollUpdateElsIntoView",function(){n=n||setTimeout(function(){t_animationSBS__updateIntoViewElsState(e),n=0},200)}),window.removeEventListener("scroll",t.onScrollUpdateElsIntoView),window.addEventListener("scroll",t.onScrollUpdateElsIntoView)}function t_animationSBS__removeHoverClickTriggers(t){var n=["js-sbs-anim-trigger_click","js-sbs-anim-trigger_hover"],e=document.querySelectorAll("."+n.join(", ."));e.length&&((e=Array.prototype.slice.call(e)).forEach(function(e){n.forEach(function(t){e.classList.remove(t)})}),t.clickedTriggerEls.forEach(function(t){t.removeEventListener("click",t_animationSBS__initClickCallback),t_animationSBS__removeTriggerList(t,"click")}),t.hoverTriggerEls.forEach(function(t){t.removeEventListener("click",t_animationSBS__initHoverTrigger),t.removeEventListener("mouseenter",t_animationSBS__initHoverTrigger),t.removeEventListener("mouseleave",t_animationSBS__initHoverTrigger),t_animationSBS__removeTriggerList(t,"hover")}),t_animationSBS__updateAnimatedObjectState(t,"clickedTriggerEls",[]),t_animationSBS__updateAnimatedObjectState(t,"hoverTriggerEls",[]))}function t_animationSBS__removeTriggerList(t,e){t["triggerList-on-"+e]&&(t["triggerList-on-"+e]=[]),t["triggerOnceList-on-"+e]&&(t["triggerOnceList-on-"+e]=[])}function t_animationSBS__initClickTriggers(t){var e,n=t.elements.filter(function(t){return"click"===t.getAttribute("data-animate-sbs-event")});n.length&&(t_animationSBS__connectTriggersWithAnimEls(n),(n=Array.prototype.slice.call(document.querySelectorAll(".js-sbs-anim-trigger_click"))).length&&(document.getElementById("js-sbs-anim-trigger-styles")||((e=document.createElement("style")).id="js-sbs-anim-trigger-styles",e.textContent=".js-sbs-anim-trigger_click { cursor: pointer; }",document.head.insertAdjacentElement("beforeend",e)),(t.clickedTriggerEls=n).forEach(function(t){t_animationSBS__preventAnimatedParentTrigger(t),t.removeEventListener("click",t_animationSBS__initClickCallback),t.addEventListener("click",t_animationSBS__initClickCallback)})))}function t_animationSBS__initClickCallback(){var t=this["triggerList-on-click"]||[],e=this["triggerOnceList-on-click"]||[];(t.length||e.length)&&(t_animationSBS__playOnceAnimation(this,e,"click"),t.forEach(function(t){(t.classList.contains("t-sbs-anim_started")&&!t.classList.contains("t-sbs-anim_reversed")?t_animationSBS__setActionOnEnd:t_animationSBS__setActionOnStart)(t)}))}function t_animationSBS__playOnceAnimation(t,e,n){var i;e&&e.length&&(t_animationSBS__actionOnStart(e),(i=document.createEvent("Event")).initEvent("updateAnimOnce",!0,!0),e.forEach(function(t){t.dispatchEvent(i)}),t["triggerOnceList-on-"+n]=[])}function t_animationSBS__initHoverTriggers(t){var e=t.elements.filter(function(t){return"hover"===t.getAttribute("data-animate-sbs-event")});e.length&&(t_animationSBS__connectTriggersWithAnimEls(e),e=document.querySelectorAll(".js-sbs-anim-trigger_hover"),e=Array.prototype.slice.call(e),(t.hoverTriggerEls=e).forEach(function(t){t_animationSBS__preventAnimatedParentTrigger(t),window.animationSBS__isIOS?(t.removeEventListener("click",t_animationSBS__initHoverTrigger),t.addEventListener("click",t_animationSBS__initHoverTrigger)):(t.removeEventListener("mouseenter",t_animationSBS__initHoverTrigger),t.removeEventListener("mouseleave",t_animationSBS__initHoverTrigger),t.addEventListener("mouseenter",t_animationSBS__initHoverTrigger),t.addEventListener("mouseleave",t_animationSBS__initHoverTrigger))}))}function t_animationSBS__preventAnimatedParentTrigger(t){var e;"none"!==getComputedStyle(t).pointerEvents&&(e=t.querySelector(".tn-molecule, .tn-atom"),t.style.pointerEvents="none",e.style.pointerEvents="auto")}function t_animationSBS__initHoverTrigger(t){var e=t.currentTarget,n=t.currentTarget["triggerList-on-hover"],i=t.currentTarget["triggerOnceList-on-hover"];function a(t){e.closest(".t396__elem")!==t.target.closest(".t396__elem")&&(t_animationSBS__actionOnEnd(n),e.classList.remove("t-hover-mob-active"),document.removeEventListener("click",a))}(n&&n.length||i&&i.length)&&(t_animationSBS__playOnceAnimation(e,i,"hover"),n&&n.length&&("mouseenter"===t.type&&t_animationSBS__actionOnStart(n),"mouseleave"===t.type&&t_animationSBS__actionOnEnd(n),"click"!==t.type||e.classList.contains("t-hover-mob-active")||(setTimeout(function(){t_animationSBS__actionOnStart(n),e.classList.add("t-hover-mob-active")}),setTimeout(function(){document.addEventListener("click",a)}))))}function t_animationSBS__connectTriggersWithAnimEls(t){var a=t[0].getAttribute("data-animate-sbs-event");t.forEach(function(e){var t,n,i=e.triggerElems;i?(i=i?i.split(","):[],t=e.closest(".t396__artboard"),n=t?t.getAttribute("data-artboard-recid"):"",i.forEach(function(t){t=n+t;t_animationSBS__processTriggersElemList(document.querySelector(".tn-elem__"+t+", .tn-group__"+t),e,a)})):t_animationSBS__processTriggersElemList(e.querySelector(".tn-atom__sbs-anim-wrapper"),e,a)})}function t_animationSBS__processTriggersElemList(t,e,n){t&&("once"===e.loop?e.classList.contains("t-sbs-anim_started")||t_animationSBS__initTriggersList(t,"triggerOnceList",n,e):t_animationSBS__initTriggersList(t,"triggerList",n,e))}function t_animationSBS__initTriggersList(t,e,n,i){t[e+"-on-"+n]?-1===t[e+"-on-"+n].indexOf(i)&&t[e+"-on-"+n].push(i):t[e+"-on-"+n]=[i],t[e+"-on-"+n].length&&!t.classList.contains("js-sbs-anim-trigger_"+n)&&t.classList.add("js-sbs-anim-trigger_"+n),i.addEventListener("updateAnimOnce",function(){t[e+"-on-"+n]=t[e+"-on-"+n].filter(function(t){return t!==i}),t["triggerList-on-"+n]&&t["triggerList-on-"+n].length||t.classList.remove("js-sbs-anim-trigger_"+n)})}function t_animationSBS__actionOnStart(t){t.forEach(t_animationSBS__setActionOnStart)}function t_animationSBS__setActionOnStart(t){t.classList.contains("t-sbs-anim_playing")?t.setAttribute("data-planned-dir","play"):t_animationSBS__playAnimation(t,!1)}function t_animationSBS__actionOnEnd(t){t.forEach(t_animationSBS__setActionOnEnd)}function t_animationSBS__setActionOnEnd(t){var e=t.loop,n="noreverse"===e&&"hover"===t.getAttribute("data-animate-sbs-event");e&&-1!==e.indexOf("loop")?t.addEventListener("animationiteration",t_animationSBS__setIterationAnimation):t.classList.contains("t-sbs-anim_playing")&&!n?t.setAttribute("data-planned-dir","reverse"):n||t_animationSBS__playAnimation(t,!0)}function t_animationSBS__setIterationAnimation(t){var e=t.target.closest(".t396__elem");if(e){if("loopwithreverse"===e.loop){var n=t_animationSBS__getAnimationFullTime(e,!0);if(1e3*t.elapsedTime/n%2!=0)return}e.classList.remove("t-sbs-anim_started"),e.classList.remove("t-sbs-anim_reversed"),e.classList.remove("t-sbs-anim_playing"),e.removeEventListener("animationiteration",t_animationSBS__setIterationAnimation)}}function t_animationSBS__animationEnd(t){t.removeEventListener("animationend",t_animationSBS__animationEndingEvent),t.addEventListener("animationend",t_animationSBS__animationEndingEvent)}function t_animationSBS__animationEndingEvent(){this.classList.remove("t-sbs-anim_playing");var t=this.getAttribute("data-planned-dir");"play"===t&&this.classList.contains("t-sbs-anim_reversed")?t_animationSBS__playAnimation(this,!1):"reverse"!==t||this.classList.contains("t-sbs-anim_reversed")||t_animationSBS__playAnimation(this,!0),this.setAttribute("data-planned-dir","")}function t_animationSBS__getAnimationFullTime(t,n){return t.getAttribute("data-animate-sbs-opts")?JSON.parse(t.getAttribute("data-animate-sbs-opts").split("'").join('"')).reduce(function(t,e){return n&&(t+=parseInt(e.dt,10)||0),t+(parseInt(e.ti,10)||0)},0):0}function t_animationSBS__playAnimation(e,t){e.classList.remove("t-sbs-anim_started"),t||e.classList.remove("t-sbs-anim_reversed"),t_animationSBS__forceRepaint(e);var n=t_animationSBS__getAnimationFullTime(e,!1),i=["t-sbs-anim_started"];t&&i.push("t-sbs-anim_reversed"),0=t.parentRecTopPos:e>=t.topOffset,n=t.closest(".t396").parentElement,i=["t397__off","t395__off","t400__off"].some(function(t){return n.classList.contains(t)});!e||i||t.classList.contains("t-sbs-anim_started")||t.classList.add("t-sbs-anim_started")})}function t_animationSBS__getZoom(t){t=t.closest(".t396__artboard");if(!t)return 1;var e=t.getAttribute("data-artboard-recid");return t.classList.contains("t396__artboard_scale")||!window.animationSBS__isOldPage&&"undefined"!=typeof t396_ab__getFieldValue&&"window"===t396_ab__getFieldValue(t,"upscale")?e&&window.tn["ab"+e]&&window.tn["ab"+e].scaleFactor||window.tn_scale_factor:1}function t_animateSbs__wrapAtomEls(){var t=document.querySelectorAll("[data-animate-sbs-event]");Array.prototype.forEach.call(t,function(t){var e,n=t.querySelector(".tn-atom");n&&!n.closest(".tn-atom__sbs-anim-wrapper")&&(t_animationSBS__wrapEl(n,"tn-atom__sbs-anim-wrapper"),n=t.getAttribute("data-elem-type"),e=window.getComputedStyle(t).getPropertyValue("border-radius"),"shape"===n&&e&&parseInt(e)&&((n=t.querySelector(".tn-atom__sbs-anim-wrapper"))&&(n.style.borderRadius=e)))})}function t_animateSbs__cashElsInfo(o){var t=o.els;o.triggerElemsAttrName="edit"===o.mode?"data-field-sbstrgels-value":"data-animate-sbs-trgels",Array.prototype.forEach.call(t,function(t){if(t.state="unactive",t.animType="edit"===o.mode?t.getAttribute("data-field-sbsevent-value"):t.getAttribute("data-animate-sbs-event"),t.changeType="scroll"===t.animType?"scroll":"time",t.trigger="edit"===o.mode?t.getAttribute("data-field-sbstrg-value"):t.getAttribute("data-animate-sbs-trg"),t.trigger=t.trigger||1,t.triggerElems=t.getAttribute(o.triggerElemsAttrName),t.wrapperEl=t.querySelector(".tn-atom__sbs-anim-wrapper"),t.steps=[],e="edit"===o.mode?t.getAttribute("data-field-sbsopts-value"):t.getAttribute("data-animate-sbs-opts")){-1!==e.indexOf("fixed")&&(t.zIndex=window.getComputedStyle(t).getPropertyValue("z-index"));for(var e=e.replace(/'/g,'"'),n=JSON.parse(e),i=(t_animationSBS__addDelayToSteps(n),t.loop="edit"===o.mode?t.getAttribute("data-field-sbsloop-value"):t.getAttribute("data-animate-sbs-loop"),t_animationSBS__setAndCacheElTopPos(t,o),0),a=0;a