window.isMobile=!1;if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){window.isMobile=!0} function t_throttle(fn,threshhold,scope){var last;var deferTimer;threshhold||(threshhold=250);return function(){var context=scope||this;var now=+new Date();var args=arguments;if(last&&now960){var textWraps=rec.querySelectorAll('.t843__textwrapper');var deskImages=rec.querySelectorAll('.t843__desktopimg');for(var i=0;ilargestHeight)largestHeight=textHeight} if(window.innerWidth>=960){if(largestHeight>ratioHeight){for(var j=0;j0){var currentRowHeight=getComputedStyle(row.querySelector('.t856__table')).height;row.querySelector('.t856__bg').style.height=currentRowHeight+'px';row.querySelector('.t856__overlay').style.height=currentRowHeight+'px'}}} function t856_GetIEVersion(){var userAgent=window.navigator.userAgent;var index=userAgent.indexOf('MSIE');if(index>0){return parseInt(userAgent.substring(index+5,userAgent.indexOf('.',index)))}else if(!!navigator.userAgent.match(/Trident\/7\./)){return 11}else{return 0}} function t856_updateLazyLoad(recId){var scrollContainer=document.querySelector('#rec'+recId+' .t856__container_mobile-flex');var allRecords=document.getElementById('allrecords');var currentMode=allRecords.getAttribute('data-tilda-mode');if(scrollContainer&¤tMode!=='edit'&¤tMode!=='preview'){scrollContainer.addEventListener('scroll',t_throttle(function(){if(window.lazy==='y'||allRecords.getAttribute('data-tilda-lazy')==='yes'){t_onFuncLoad('t_lazyload_update',function(){t_lazyload_update()})}},500))}} function t857__init(recId){var allRecords=document.getElementById('allrecords');var rec=document.getElementById('rec'+recId);if(!rec)return;t_onFuncLoad('t_card__moveClickOnCard',function(){t_card__moveClickOnCard(recId)});t_onFuncLoad('t_card__addFocusOnTab',function(){t_card__addFocusOnTab(recId)});var container=rec.querySelector('.t857__container_mobile-flex');if(!container)return;var cols=container.querySelectorAll('.t857__col');function t857__touchmoveEvent(){if(typeof allRecords.getAttribute('data-tilda-mode')==='undefined'){if(window.lazy==='y'||allRecords.getAttribute('data-tilda-lazy')==='yes'){t_onFuncLoad('t_lazyload_update',function(){t_lazyload_update()})}}} container.addEventListener('touchstart',function(){for(var i=0;i1024){for(var i=0;icachedTop&&window.scrollY>cachedTop){window.scrollTo(window.scrollX,targetTop-cachedHeight-visibleTop)}} target.style.overflow='hidden';target.style.height='0';target.style.paddingTop='0';target.style.paddingBottom='0';target.style.marginTop='0';target.style.marginBottom='0';target.offsetHeight;target.style.boxSizing='border-box';target.style.transitionProperty='height, margin, padding';target.style.transitionDuration=duration+'ms';target.style.height=targetHeight+'px';target.style.paddingTop='';target.style.paddingBottom='';target.style.marginTop='';target.style.marginBottom='';setTimeout(function(){triggerElement.style.pointerEvents='auto';target.style.height='';target.style.overflow='';target.style.transitionDuration='';target.style.transitionProperty='';cachedHeight=targetHeight;cachedTop=targetTop},duration)}} function t1118_init(recId){t_onFuncLoad('t_faq_init',function(){t_faq_init(recId)});t1118_closeSecondOpenedCard(recId)} function t1118_closeSecondOpenedCard(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var cards=rec.querySelectorAll('.t_faq__header_opened');if(!cards[1])return;if(window.innerWidth<960){cards[1].classList.remove('t_faq__header_opened');cards[1].nextElementSibling.style.display='none'}} function t1119_init(recId){t_onFuncLoad('t_faq_init',function(){t_faq_init(recId)})}