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&&now<last+threshhold){clearTimeout(deferTimer);deferTimer=setTimeout(function(){last=now;fn.apply(context,args)},threshhold)}else{last=now;fn.apply(context,args)}}}
function t923_init(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var container=rec.querySelector('.t923');if(!container)return;t923_unifyHeights(recId);window.addEventListener('resize',t_throttle(function(){t923_unifyHeights(recId)}));container.addEventListener('displayChanged',function(){t923_unifyHeights(recId)});window.addEventListener('load',function(){t923_unifyHeights(recId)});t_onFuncLoad('t_card__moveClickOnCard',function(){t_card__moveClickOnCard(recId)});t_onFuncLoad('t_card__addFocusOnTab',function(){t_card__addFocusOnTab(recId)})}
function t923_unifyHeights(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var container=rec.querySelector('.t923');if(!container)return;var cols=rec.querySelectorAll('.t923__col');var img=container.querySelector('.t923__imgwrapper');var imgHeight=img?img.offsetHeight:0;var maxContentHeight=0;for(var i=0;i<cols.length;i++){var col=cols[i];var colWrapper=col.closest('.t-card__col');var isInactive=!1;if(colWrapper.classList.contains('t-slds__item-innactive')){colWrapper.classList.remove('t-slds__item-innactive');isInactive=!0}
var colText=col.querySelector('.t923__textwrapper');var colBtn=col.querySelectorAll('.t-card__btn-wrapper, .t-card__btntext-wrapper')[0];var colContentHeight=colText.offsetHeight+(colBtn?colBtn.offsetHeight:0);if(isInactive){colWrapper.classList.add('t-slds__item-innactive');isInactive=!1}
if(colContentHeight>maxContentHeight)maxContentHeight=colContentHeight}
for(var i=0;i<cols.length;i++){cols[i].querySelector('.t923__content').style.height=0}
for(var i=0;i<cols.length;i++){var image=cols[i].querySelector('.t923__imgwrapper');var contentHeight=image?maxContentHeight:maxContentHeight+imgHeight;cols[i].querySelector('.t923__content').style.height=contentHeight+'px'}
t_onFuncLoad('t_slds_updateSlider',function(){t_slds_updateSlider(recId)})}
function t142_checkSize(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var button=rec.querySelector('.t142__submit');if(!button)return;var buttonStyle=getComputedStyle(button,null);var buttonPaddingTop=parseInt(buttonStyle.paddingTop)||0;var buttonPaddingBottom=parseInt(buttonStyle.paddingBottom)||0;var buttonHeight=button.clientHeight-(buttonPaddingTop+buttonPaddingBottom)+5;var textHeight=button.scrollHeight;if(buttonHeight<textHeight){button.classList.add('t142__submit-overflowed')}}