1window.isMobile=!1;if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){window.isMobile=!0} 2window.isSafari=!1;if(/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){window.isSafari=!0} 3window.isSafariVersion='';if(window.isSafari){var version=(navigator.appVersion).match(/Version\/(\d+)\.(\d+)\.?(\d+)? Safari/);if(version!==null){window.isSafariVersion=[parseInt(version[1],10),parseInt(version[2],10),parseInt(version[3]||0,10)]}} 4window.browserLang=(window.navigator.userLanguage||window.navigator.language).toUpperCase().slice(0,2);window.tildaBrowserLang=window.browserLang;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)}}} 5function t446_init(recid){var rec=document.getElementById('rec'+recid);if(!rec)return;var linkItems=rec.querySelectorAll('.t-menu__link-item');var subMenuLinks=rec.querySelectorAll('.t-menusub__link-item');var menu=rec.querySelector('.t446');Array.prototype.forEach.call(linkItems,function(link){link.addEventListener('click',function(){if(link.classList.contains('t-menusub__target-link')||link.classList.contains('tooltipstered')||link.classList.contains('t794__tm-link')||link.classList.contains('t966__tm-link')||link.classList.contains('t978__tm-link')) 6return;t446_hideMenuOnMobile(link,rec)})});Array.prototype.forEach.call(subMenuLinks,function(subMenuLink){subMenuLink.addEventListener('click',function(){t446_hideMenuOnMobile(subMenuLink,rec)})})} 7function t446_setLogoPadding(recid){var rec=document.getElementById('rec'+recid);if(!rec||window.innerWidth<=980)return;var menu=rec.querySelector('.t446');var logo=menu?menu.querySelector('.t446__logowrapper'):null;var logoWidth=logo?logo.offsetWidth:0;var leftWrapper=menu?menu.querySelector('.t446__leftwrapper'):null;var rightWrapper=menu?menu.querySelector('.t446__rightwrapper'):null;if(leftWrapper)leftWrapper.style.paddingRight=logoWidth/2+50+'px';if(rightWrapper)rightWrapper.style.paddingLeft=logoWidth/2+50+'px'} 8function t446_checkOverflow(recid,menuheight){var rec=document.getElementById('rec'+recid);var menu=rec?rec.querySelector('.t446'):null;if(!menu)return;var rightWrapper=menu.querySelector('.t446__rightwrapper');var rightMenuWrap=rightWrapper?rightWrapper.querySelector('.t446__rightmenuwrapper'):null;var additionalWrap=rightWrapper?rightWrapper.querySelector('.t446__additionalwrapper'):null;var burgerWrapOverflow=rightWrapper?rightWrapper.querySelector('.t446__burgerwrapper_overflow'):null;var burgerWrap=rightWrapper?rightWrapper.querySelector('.t446__burgerwrapper_withoutoverflow'):null;var rightWrapperWidth=t446_getPureWidth(rightWrapper);var rightMenuWrapWidth=rightMenuWrap?rightMenuWrap.offsetWidth:0;var additionalWrapWidth=additionalWrap?additionalWrap.offsetWidth:0;var additionalWrapFloating=additionalWrap?additionalWrap.style.float||window.getComputedStyle(additionalWrap).float:'';var blockHeight=menuheight>0?menuheight:80;if(window.innerWidth>980&&rightMenuWrapWidth+additionalWrapWidth>rightWrapperWidth){menu.style.height=blockHeight*2+'px';if(additionalWrap)additionalWrap.style.float='right';if(burgerWrapOverflow)burgerWrapOverflow.style.display='table-cell';if(burgerWrap)burgerWrap.style.display='none'}else{if(menu.offsetHeight>blockHeight)menu.style.height=blockHeight+'px';if(additionalWrap&&additionalWrapFloating==='right')additionalWrap.style.float='none';if(burgerWrapOverflow)burgerWrapOverflow.style.display='none';if(burgerWrap)burgerWrap.style.display='table-cell'}} 9function t446_getPureWidth(el){if(!el)return 0;var elWidth=el.offsetWidth;var elPaddingLeft=parseInt(window.getComputedStyle(el).paddingLeft,10)||0;var elPaddingRight=parseInt(window.getComputedStyle(el).paddingRight,10)||0;var width=elWidth-(elPaddingLeft+elPaddingRight);return width>0?width:0} 10function t446_createMobileMenu(recid){var rec=document.getElementById('rec'+recid);if(!rec)return;t_onFuncLoad('t_menu__createMobileMenu',function(){t_menu__createMobileMenu(recid,'.t446')});var linkItems=rec.querySelectorAll('.t-menu__link-item');var submenuClassList=['t978__menu-link_hook','t978__tm-link','t966__tm-link','t794__tm-link','t-menusub__target-link',];Array.prototype.forEach.call(linkItems,function(link){link.addEventListener('click',function(){var isSubmenuHook=submenuClassList.some(function(submenuClass){return link.classList.contains(submenuClass)});if(isSubmenuHook)return;t446_hideMenuOnMobile(link,rec)})});var wrappersLinks=rec.querySelectorAll('.t446__logowrapper2 a, .t446__right_buttons_wrap a');Array.prototype.forEach.call(wrappersLinks,function(link){link.addEventListener('click',function(){t446_hideMenuOnMobile(link,rec)})})} 11function t446_hideMenuOnMobile(link,rec){if(!rec||!link||window.innerWidth>=980)return!1;var url=link.href?link.href.trim():'';var menu=rec.querySelector('.t446');var burger=rec.querySelector('.tmenu-mobile');if(url&&link.matches('[href*="#"]')){if(burger)burger.classList.remove('tmenu-mobile_opened');if(menu){if(menu.classList.contains('t446__positionabsolute')||(burger&&!burger.classList.contains('.tmenu-mobile_positionfixed'))){menu.style.display='none';menu.style.opacity='0'}else{t_onFuncLoad('t_menu__FadeOut',function(){t_menu__FadeOut(menu,300)})}}}} 12function t282_showMenu(recid){var rec=document.getElementById('rec'+recid);if(!rec)return;var menu=rec.querySelector('.t282');var submenu=rec.querySelector('.t-menusub__container');var allRec=document.getElementById('allrecords');var isEdit=allRec?allRec.getAttribute('data-tilda-mode')==='edit':!1;
12if(isEdit&&submenu){submenu.style.position='relative';submenu.style.zIndex='10';submenu.style.pointerEvents='none'} 13var menuLinks=rec.querySelectorAll('.t-menusub__link-item');var menuContainer=rec.querySelector('.t282__container');var menuAndOverlay=rec.querySelectorAll('.t282__container, .t282__menu__container, .t282__overlay');var canBeClickedItems=rec.querySelectorAll('.t282 .t-menuburger, .t282__menu__link:not(.tooltipstered):not(.t282__menu__link_submenu), .t282__overlay');var menuBlock=rec.querySelector('.t282__menu__container');var menuWrapper=menu.querySelector('.t282__menu__wrapper');var menuContainerHeight=menuContainer?menuContainer.getBoundingClientRect().height:0;var menuBurger=menu?menu.querySelector('.t-menuburger'):null;Array.prototype.forEach.call(canBeClickedItems,function(element){element.addEventListener('click',function(){if((element.classList.contains('t282__overlay')&&element.classList.contains('t282__closed'))||element.closest('.t282__menu__link.tooltipstered, .t794__tm-link, .t978__tm-link, .t966__tm-link')) 14return;if(document.body.classList.contains('t282_opened')){if(typeof t_triggerEvent==='function')t_triggerEvent(document.body,'popupHidden');document.body.classList.remove('t282_opened')}else{if(typeof t_triggerEvent==='function')t_triggerEvent(document.body,'popupShowed');document.body.classList.add('t282_opened')} 15Array.prototype.forEach.call(menuAndOverlay,function(el){el.style.transform='';if(element.closest('.t-menuburger')&&el.closest('.t282__menu__container')&&el.classList.contains('t282__closed')&&!window.isMobile){el.style.pointerEvents='none';setTimeout(function(){el.style.pointerEvents=''},500)} 16var menuContainerHeight=menuContainer?menuContainer.getBoundingClientRect().height:0;if(element.closest('.t-menuburger')&&menuWrapper.clientHeight>menuBlock.clientHeight&&!el.classList.contains('t282__closed')&&!el.classList.contains('t282__container')){el.style.transform='translateY(calc(-100% - '+menuContainerHeight+'px))'} 17el.classList.toggle('t282__closed')});if(menuBlock)menuBlock.style.top=menuContainerHeight+'px';var menuBurger=rec.querySelector('.t-menuburger');if(menuBurger) 18menuBurger.classList.toggle('t-menuburger-opened',document.body.classList.contains('t282_opened'));if(element.classList.contains('t-menuburger')){var expandedStatus=element.classList.contains('t-menuburger-opened');element.setAttribute('aria-expanded',expandedStatus)} 19t282_highlight(recid)})});menu.addEventListener('clickedAnchorInTooltipMenu',function(){if(typeof t_triggerEvent==='function')t_triggerEvent(document.body,'popupHidden');document.body.classList.remove('t282_opened');Array.prototype.forEach.call(menuAndOverlay,function(el){el.classList.add('t282__closed')})});Array.prototype.forEach.call(menuLinks,function(link){link.addEventListener('click',function(){if(typeof t_triggerEvent==='function')t_triggerEvent(document.body,'popupHidden');document.body.classList.remove('t282_opened');Array.prototype.forEach.call(menuAndOverlay,function(el){el.classList.add('t282__closed');if(menuBurger){menuBurger.classList.remove('t-menuburger-opened');menuBurger.setAttribute('aria-expanded',!1)}})})})} 20function t282_changeSize(recid){var rec=document.getElementById('rec'+recid);if(!rec)return;var menu=rec.querySelector('.t282__container');var menuContainer=rec.querySelector('.t282__menu__container');var menuWrapper=document.getElementById('nav'+recid);var menuHeight=menu?menu.offsetHeight:0;var menuContainerHeight=menuContainer?menuContainer.offsetHeight:0;if(menuHeight>document.documentElement.clientHeight-menuContainerHeight){if(menuWrapper)menuWrapper.classList.add('t282__menu_static')}else{if(menuWrapper)menuWrapper.classList.remove('t282__menu_static')}} 21function t282_changeBgOpacityMenu(recid){var rec=document.getElementById('rec'+recid);if(!rec)return;var menuBlocks=rec.querySelectorAll('.t282__container__bg');Array.prototype.forEach.call(menuBlocks,function(menu){var bgColor=menu.getAttribute('data-bgcolor-rgba');var bgColorAfterScroll=menu.getAttribute('data-bgcolor-rgba-afterscroll');var bgOpacity=menu.getAttribute('data-bgopacity');var bgOpacityTwo=menu.getAttribute('data-bgopacity2');var menuShadowOpacity=parseInt(menu.getAttribute('data-menushadow'),10)||0;menuShadowOpacity/=100;var menuShadowCSS=menu.getAttribute('data-menushadow-css');menu.style.backgroundColor=window.pageYOffset>20?bgColorAfterScroll:bgColor;if((window.pageYOffset>20&&bgOpacityTwo==='0')||(window.pageYOffset<=20&&(bgOpacity==='0.0'||bgOpacity==='0'))||(!menuShadowOpacity&&!menuShadowCSS)){menu.style.boxShadow='none'}else if(menuShadowCSS){menu.style.boxShadow=menuShadowCSS}else if(menuShadowOpacity){menu.style.boxShadow='0px 1px 3px rgba(0,0,0,'+menuShadowOpacity+')'}})} 22function t282_highlight(recid){var url=window.location.href;var pathname=window.location.pathname;var hash=window.location.hash;if(url.substr(url.length-1)==='/'){url=url.slice(0,-1)} 23if(pathname.substr(pathname.length-1)==='/'){pathname=pathname.slice(0,-1)} 24if(pathname.charAt(0)==='/'){pathname=pathname.slice(1)} 25if(pathname===''){pathname='/'} 26var shouldBeActiveElements=document.querySelectorAll(".t282__menu a[href='"+url+"'], "+".t282__menu a[href='"+url+"/'], "+".t282__menu a[href='"+pathname+"'], "+".t282__menu a[href='/"+pathname+"'], "+".t282__menu a[href='"+pathname+"/'], "+".t282__menu a[href='/"+pathname+"/']"+(hash?", .t282__menu a[href='"+hash+"']":'')+(hash?", .t282__menu a[href='/"+hash+"']":'')+(hash?", .t282__menu a[href='"+hash+"/']":'')+(hash?", .t282__menu a[href='/"+hash+"/']":''));var rec=document.getElementById('rec'+recid);var menuLinks=rec?rec.querySelectorAll('.t282__menu a'):[];Array.prototype.forEach.call(menuLinks,function(link){link.classList.remove('t-active')});Array.prototype.forEach.call(shouldBeActiveElements,function(link){link.classList.add('t-active')})} 27function t282_appearMenu(recid){var record=document.getElementById('rec'+recid);
27var menuBlock=record.querySelector('.t282');var fixedMenu=menuBlock?menuBlock.querySelector('.t282__positionfixed'):null;if(!fixedMenu)return;var appearOffset=menuBlock.getAttribute('data-appearoffset');if(appearOffset&&appearOffset.indexOf('vh')!==-1){appearOffset=Math.floor(window.innerHeight*(parseInt(appearOffset)/100))} 28appearOffset=parseInt(appearOffset,10);var menuHeight=fixedMenu.clientHeight;if(typeof appearOffset==='number'&&window.pageYOffset>=appearOffset){if(fixedMenu.style.transform==='translateY(-'+menuHeight+'px)'){t282_slideUpElement(fixedMenu,menuHeight,'toBottom')}}else if(fixedMenu.style.transform==='translateY(0px)'){t282_slideUpElement(fixedMenu,menuHeight,'toTop')}else{fixedMenu.style.transform='translateY(-'+menuHeight+'px)';fixedMenu.style.opacity='0'}} 29function t282_slideUpElement(menu,menuHeight,direction){var diff=direction==='toTop'?0:menuHeight;var diffOpacity=direction==='toTop'?1:0;var timerID=setInterval(function(){menu.style.transform='translateY(-'+diff+'px)';menu.style.opacity=diffOpacity.toString();diffOpacity=direction==='toTop'?diffOpacity-0.1:diffOpacity+0.1;diff=direction==='toTop'?diff+menuHeight/20:diff-menuHeight/20;if(direction==='toTop'&&diff>=menuHeight){menu.style.transform='translateY(-'+menuHeight+'px)';menu.style.opacity='0';clearInterval(timerID)} 30if(direction==='toBottom'&&diff<=0){menu.style.transform='translateY(0px)';menu.style.opacity='1';clearInterval(timerID)}},10)} 31function t190_init(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;rec.addEventListener('click',function(e){if(e.target.closest('.t190__button')){t190_scrollToTop()}})} 32function t190_scrollToTop(){var duration=700;var start=(window.pageYOffset||document.documentElement.scrollTop)-(document.documentElement.clientTop||0);var change=0-start;var currentTime=0;var increment=16;document.body.setAttribute('data-scrollable','true');var isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);if(isSafari){t190__animateScrollPolyfill(0)}else{t190__animateScroll()} 33function t190__easeInOutCubic(currentTime){if((currentTime/=duration/2)<1){return(change/2)*currentTime*currentTime*currentTime+start}else{return(change/2)*((currentTime-=2)*currentTime*currentTime+2)+start}} 34function t190__animateScroll(){currentTime+=increment;window.scrollTo(0,t190__easeInOutCubic(currentTime));if(currentTime<duration){setTimeout(t190__animateScroll,increment)}else{document.body.removeAttribute('data-scrollable')}}} 35function t190__animateScrollPolyfill(target){var documentHeight=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight);var bottomViewportPoint=documentHeight-document.documentElement.clientHeight;if(target>bottomViewportPoint)target=bottomViewportPoint;if(target===window.pageYOffset)return!1;var currentPosition=window.pageYOffset;var step=(target-currentPosition)/30;var difference=window.pageYOffset;var timerID=setInterval(function(){difference+=step;window.scrollTo(0,difference);document.body.setAttribute('data-scrollable','true');if((target-currentPosition<0&&window.pageYOffset<=target)||(target-currentPosition>0&&window.pageYOffset>=target)){clearInterval(timerID);document.body.removeAttribute('data-scrollable')}},10)} 36function t657_init(recid){var rec=document.querySelector('#rec'+recid);if(!rec)return;var wrapperBlock=rec.querySelector('.t657');var storageItem=wrapperBlock.getAttribute('data-storage-item');var lastOpen;try{lastOpen=localStorage.getItem(storageItem)}catch(error){console.log('Your web browser does not support localStorage. Error status: ',error)} 37if(!lastOpen){wrapperBlock.classList.remove('t657_closed')} 38wrapperBlock.addEventListener('click',function(event){if(event.target&&event.target.closest('.t657__btn, .t657__close-button')){wrapperBlock.classList.add('t657_closed');try{localStorage.setItem(storageItem,Math.floor(Date.now()/1000))}catch(error){console.log('Your web browser does not support localStorage. Error status: ',error)} 39event.preventDefault()}})} 40function t972_init(recId){t972_runGtag([],'default');t972_handleWidgetLinks(recId);var rec=document.querySelector('#rec'+recId);if(!rec)return;var widget=rec.querySelector('.t972__widget');var links=document.querySelectorAll('a[href="#opencookiebanner"]');var cookieConsent=t972_getCookie('t_cookiesConsentGiven');var cookieReject=t972_getCookie('t_cookiesRejectAll');if(cookieConsent.val){t972_acceptCookies();if(!widget&&!links.length)return} 41if(!cookieConsent.val&&!cookieReject.val){var wrapper=rec.querySelector('.t972');
41var cookiesBanner=wrapper.querySelector('.t972__banner');if(widget){var widgetBtn=wrapper.querySelector('.t972__widget-button');t972_showWidget(widgetBtn,cookiesBanner)}else{cookiesBanner.classList.add('t972__banner_show')}} 42t972_addEvents(recId);t972_addCookieEvents(recId);t972_translateToggle(recId)} 43function t972_initPreview(recId){t972_addEvents(recId);t972_translateToggle(recId)} 44function t972_runGtag(allowedCookiesList,action){var advertisingStatus=allowedCookiesList.indexOf('advertising')!==-1?'granted':'denied';var analyticsStatus=allowedCookiesList.indexOf('analytics')!==-1?'granted':'denied';t972_gtag('consent',action,{ad_storage:advertisingStatus,ad_user_data:advertisingStatus,ad_personalization:advertisingStatus,analytics_storage:analyticsStatus,})} 45function t972_gtag(){dataLayer.push(arguments)} 46function t972_getCookie(name){var matches=document.cookie.match(new RegExp('(?:^|; )'+name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,'\\$1')+'=([^;]*)'));var cookie={name:'',val:'',};if(matches){try{cookie={name:name,val:decodeURIComponent(matches[1]),}}catch(e){}} 47return cookie} 48function t972_createCookie(name,value,days){var expires;if(days){var date=new Date();var dayInMs=24*60*60*1000;date.setTime(date.getTime()+days*dayInMs);expires='; expires='+date.toGMTString()}else{expires=''} 49var isInIframe=window.self!==window.top;var isHTTPS=window.location.protocol==='https:';var cookieString=name+'='+value+expires+'; path=/';if(isInIframe){if(isHTTPS){cookieString+='; SameSite=None; Secure'}else{cookieString+='; SameSite=Lax'}}else{cookieString+='; path=/'} 50document.cookie=cookieString} 51function t972_deleteCookie(name){var cookieString=name+'=; max-age=0; path=/';document.cookie=cookieString} 52function t972_confirmCookies(list){var checkBoxes=document.querySelectorAll('.t972__categories input[name="cookie_type"]');var selectedCookies=[];if(list==='all'){Array.prototype.forEach.call(checkBoxes,function(checkBox){checkBox.checked=!0})}else if(list==='reject'){Array.prototype.forEach.call(checkBoxes,function(checkBox){checkBox.checked=!1})} 53Array.prototype.forEach.call(checkBoxes,function(checkBox){if(checkBox.checked===!0){selectedCookies.push(checkBox.value)}});var cookiesRejectAll=t972_getCookie('t_cookiesRejectAll').val;if(cookiesRejectAll&&list!=='reject'){t972_deleteCookie('t_cookiesRejectAll')} 54var allowedCookiesList=JSON.stringify(selectedCookies);t972_createCookie('t_cookiesCategories',allowedCookiesList,365);t972_acceptCookies();t972_runGtag(allowedCookiesList,'update')} 55function t972_acceptCookies(){var allowedCookiesList=t972_getCookie('t_cookiesCategories').val;var scriptsList=document.querySelectorAll('script[data-tilda-cookie-type]:not([data-tilda-cookie-consent="accepted"])');Array.prototype.forEach.call(scriptsList,function(item){if(allowedCookiesList.indexOf(item.getAttribute('data-tilda-cookie-type'))!==-1){if(item.getAttribute('type')&&item.getAttribute('type')==='text/plain'){var str=item.innerHTML;item.innerHTML='';item.setAttribute('type','text/javascript');item.innerHTML=str.replace('}, 2000);','}, 200);');if(allowedCookiesList.indexOf('advertising')==-1){if(str.indexOf('google-analytics')!==-1){item.innerHTML=str.replace('auto','{ storeGac: false }')}} 56if(allowedCookiesList.indexOf('analytics')!==-1){if(typeof tildastat=='function'){tildastat('cookieenabled')}else{setTimeout(function(){if(typeof tildastat=='function'){tildastat('cookieenabled')}},1000)}} 57item.setAttribute('data-tilda-cookie-consent','accepted')} 58if(item.getAttribute('data-src')){item.setAttribute('src',item.getAttribute('data-src'));item.setAttribute('data-tilda-cookie-consent','accepted')}}});t972_createCookie('t_cookiesConsentGiven','true',365)} 59function t972_addEvents(recId){var rec=document.querySelector('#rec'+recId);if(!rec)return;var wrapper=rec.querySelector('.t972');if(!wrapper)return;var allowedCookiesListData=t972_getCookie('t_cookiesCategories');var allowedCookiesList=[];if(allowedCookiesListData&&allowedCookiesListData.val){allowedCookiesList=JSON.parse(allowedCookiesListData.val)} 60var settingsBtn=wrapper.querySelector('.t972__settings-btn');var settingsHeader=wrapper.querySelector('.t972__settings-header');var categoryTitle=wrapper.querySelectorAll('.t972__category-header');var categoryToggle=wrapper.querySelectorAll('.t972__toggle-input');
60var cookiesBanner=wrapper.querySelector('.t972__banner');var settingsBanner=wrapper.querySelector('.t972__settings');var widgetBtn=wrapper.querySelector('.t972__widget-button');settingsBtn.addEventListener('click',function(){cookiesBanner.classList.remove('t972__banner_show');settingsBanner.classList.add('t972__settings_show')});settingsHeader.addEventListener('click',function(){cookiesBanner.classList.add('t972__banner_show');settingsBanner.classList.remove('t972__settings_show')});Array.prototype.forEach.call(categoryTitle,function(title){title.addEventListener('click',function(){var categoryBody=title.closest('.t972__category').querySelector('.t972__category-body');title.classList.toggle('t972__opened');title.style.pointerEvents='none';t972_slideToggle(categoryBody,title,300)})});Array.prototype.forEach.call(categoryToggle,function(toggle){toggle.addEventListener('change',function(){var toggleText=toggle.closest('.t972__category-toggle').querySelector('.t972__toggle-txt');if(toggle.checked){toggleText.classList.add('t972__category-enabled');toggleText.textContent=t972_trans('enabled')}else{toggleText.classList.remove('t972__category-enabled');toggleText.textContent=t972_trans('disabled')}})});Array.prototype.forEach.call(allowedCookiesList,function(allowed){var checkBox=wrapper.querySelector('.t972__toggle-input[value="'+allowed+'"]');if(!checkBox)return;checkBox.checked=!0});if(!widgetBtn)return;widgetBtn.addEventListener('click',function(){t972_toggleWidget(widgetBtn,cookiesBanner,settingsBanner)})} 61function t972_toggleWidget(widgetBtn,cookiesBanner,settingsBanner){if(widgetBtn.classList.contains('t972__widget-button_active')){t972_hideWidget(widgetBtn,cookiesBanner,settingsBanner)}else{t972_showWidget(widgetBtn,cookiesBanner)}} 62function t972_showWidget(widgetBtn,cookiesBanner){widgetBtn.classList.add('t972__widget-button_active');cookiesBanner.classList.add('t972__banner_show')} 63function t972_hideWidget(widgetBtn,cookiesBanner,settingsBanner){if(widgetBtn)widgetBtn.classList.remove('t972__widget-button_active');t972_hideBanners(cookiesBanner,settingsBanner)} 64function t972_hideBanners(cookiesBanner,settingsBanner){cookiesBanner.classList.remove('t972__banner_show');settingsBanner.classList.remove('t972__settings_show')} 65function t972_addCookieEvents(recId){var rec=document.querySelector('#rec'+recId);if(!rec)return;var wrapper=rec.querySelector('.t972');if(!wrapper)return;var confirmBtn=wrapper.querySelector('.t972__confirm-btn');var acceptBtn=wrapper.querySelector('.t972__accept-btn');var rejectBtn=wrapper.querySelector('.t972__reject-btn');var widgetBtn=wrapper.querySelector('.t972__widget-button');var cookiesBanner=wrapper.querySelector('.t972__banner');var settingsBanner=wrapper.querySelector('.t972__settings');confirmBtn.addEventListener('click',function(event){event.preventDefault();t972_confirmCookies('selected');t972_hideWidget(widgetBtn,cookiesBanner,settingsBanner)});acceptBtn.addEventListener('click',function(event){event.preventDefault();t972_confirmCookies('all');t972_hideWidget(widgetBtn,cookiesBanner,settingsBanner)});if(!rejectBtn)return;rejectBtn.addEventListener('click',function(event){var cookieCategories=t972_getCookie('t_cookiesCategories');event.preventDefault();t972_confirmCookies('reject');t972_hideWidget(widgetBtn,cookiesBanner,settingsBanner);t972_createCookie('t_cookiesRejectAll','true',365);if(cookieCategories.val){var cookieCategoriesList=JSON.parse(cookieCategories.val);if(cookieCategoriesList.length){window.location.reload()}}})} 66function t972_handleWidgetLinks(recId){var links=document.querySelectorAll('a[href="#opencookiebanner"]');if(!links.length)return;var rec=document.querySelector('#rec'+recId);if(!rec)return;var wrapper=rec.querySelector('.t972');var cookiesBanner=rec.querySelector('.t972__banner');var widgetBtn=rec.querySelector('.t972__widget-button');if(!cookiesBanner||!wrapper)return;Array.prototype.forEach.call(links,function(link){link.addEventListener('click',function(event){event.preventDefault();if(widgetBtn){widgetBtn.click();return} 67cookiesBanner.classList.add('t972__banner_show')})})} 68function t972_slideToggle(target,triggerElement,duration){if(!target)return;if(!duration&&duration!==0)duration=500;if(window.getComputedStyle(target).display==='none'){return t972_slideDown(target,triggerElement,duration)}else{return t972_slideUp(target,triggerElement,duration)}} 69function t972_slideUp(target,triggerElement,duration){if(!target)return;if(!duration&&duration!==0)duration=500;target.style.transitionProperty='height, margin, padding';target.style.transitionDuration=duration+'ms';target.style.boxSizing='border-box';target.style.height=target.offsetHeight+'px';target.offsetHeight;target.style.overflow='hidden';target.style.height='0';target.style.paddingTop='0';target.style.paddingBottom='0';target.style.marginTop='0';target.style.marginBottom='0';setTimeout(function(){triggerElement.style.pointerEvents='auto';target.style.display='none';target.style.height='';target.style.paddingTop='';target.style.paddingBottom='';target.style.marginTop='';target.style.marginBottom='';target.style.overflow='';target.style.transitionDuration='';target.style.transitionProperty=''},duration)} 70function t972_slideDown(target,triggerElement,duration){if(!target)return;if(!duration&&duration!==0)duration=500;target.style.display='';var cashedDisplay=window.getComputedStyle(target).display;
70if(cashedDisplay==='none')cashedDisplay='block';target.style.display=cashedDisplay;var targetHeight=target.offsetHeight;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=''},duration)} 71function t972_translateToggle(recId){var rec=document.querySelector('#rec'+recId);if(!rec)return;var wrapper=rec.querySelector('.t972');if(!wrapper)return;var category=wrapper.querySelectorAll('.t972__category-toggle');Array.prototype.forEach.call(category,function(cat){var categoryText=cat.querySelectorAll('.t972__toggle-txt');Array.prototype.forEach.call(categoryText,function(item){if(item.classList.contains('js_always-enabled')){item.textContent=t972_trans('alwaysEnabled')}else{var itemParent=item.parentNode;var categoryInput=itemParent.querySelector('.t972__toggle-input');if(categoryInput.checked){item.textContent=t972_trans('enabled')}else{item.textContent=t972_trans('disabled')}}})})} 72function t972_trans(key){var data={alwaysEnabled:{EN:'Always Enabled',RU:'ÐÑегда ÑазÑеÑено',FR:'Toujours actif',DE:'Immer aktiv',ES:'Activas siempre',PT:'Sempre ativos',JA:'常ã«ã¢ã¯ãã£ã',ZH:'å§çµåç¨',UK:'Ðавжди дозволено',PL:'Zawsze aktywne',KK:'ÓÑÒаÑан ÒоÑÑладÑ',IT:'Sempre attivi',LV:'VienmÄr iespÄjots',},enabled:{EN:'Enabled',RU:'РазÑеÑено',FR:'Actif',DE:'Aktiv',ES:'Activas',PT:'Ativos',JA:'ã¢ã¯ãã£ã',ZH:'å¯ç¨',UK:'Ðозволено',PL:'Aktywne',KK:'ÒоÑÑлдÑ',IT:'Attivi',LV:'IespÄjots',},disabled:{EN:'Disabled',RU:'ÐапÑеÑено',FR:'Désactivé',DE:'Inaktiv',ES:'Deshabilitadas',PT:'Desativado',JA:'ãªãã«ãã',ZH:'å·²ç¦ç¨',UK:'Ðимкнено',PL:'WyÅÄ czone',KK:'Ó¨ÑÑÑÑлген',IT:'Disabilitato',LV:'AtspÄjots',},};var lang=(document.documentElement.lang||window.browserLang).toUpperCase()||'RU';return lang&&data[key][lang]?data[key][lang]:data[key].EN}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.