1
function t_onReady(func){"loading"!=document.readyState?func():document.addEventListener("DOMContentLoaded",func)}
2
function t_addClass(el,className){document.body.classList?el.classList.add(className):el.className+=(el.className?" ":"")+className}
3
function t_removeClass(el,className){document.body.classList?el.classList.remove(className):el.className=el.className.replace(new RegExp("(^|\\s+)"+className+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")}
4
function t_removeEl(el){el&&el.parentNode&&el.parentNode.removeChild(el)}
5
function t_outerWidth(el){var style=getComputedStyle(el),width=style.width,marginLeft=style.marginLeft,marginRight=style.marginRight;return"auto"===width&&(width=0),"auto"===marginLeft&&(marginLeft=0),"auto"===marginRight&&(marginRight=0),width=parseInt(width)+parseInt(marginLeft)+parseInt(marginRight)}
6
var version,version;(window.isSearchBot=!1,/Bot/i.test(navigator.userAgent)&&(window.isSearchBot=!0),window.isMobile=!1,window.$isMobile=!1,/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(window.isMobile=!0,window.$isMobile=!0),window.isTablet=/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/i.test(navigator.userAgent),window.isiOS=!1,/iPhone|iPad|iPod/i.test(navigator.userAgent)&&(window.isiOS=!0),window.isiOSChrome=!!navigator.userAgent.match("CriOS"),window.isFirefox=/firefox/i.test(navigator.userAgent),window.isOpera=!!window.opr&&!!window.opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0,window.isiOSVersion="",window.isiOS)&&(null!==(version=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/))&&(window.isiOSVersion=[parseInt(version[1],10),parseInt(version[2],10),parseInt(version[3]||0,10)]));(window.isSafari=!1,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&(window.isSafari=!0),window.isIE=!!document.documentMode,window.isSafariVersion="",window.isSafari)&&(null!==(version=navigator.appVersion.match(/Version\/(\d+)\.(\d+)\.?(\d+)? Safari/))&&(window.isSafariVersion=[parseInt(version[1],10),parseInt(version[2],10),parseInt(version[3]||0,10)]));function t_throttle(fn,threshhold,scope){var last,deferTimer;return threshhold||(threshhold=250),function(){var context=scope||this,now=+new Date,args=arguments;last&&now<last+threshhold?(clearTimeout(deferTimer),deferTimer=setTimeout((function(){last=now,fn.apply(context,args)}
7
),threshhold)):(last=now,fn.apply(context,args))}
8
}
9
function t_onFuncLoad(funcName,okFunc,time){if("function"==typeof window[funcName])okFunc();else{var startTime=Date.now(),error=new Error(funcName+" is undefined"),callbackError=function(){throw error}
10
;setTimeout((function checkFuncExist(){var currentTime=Date.now();"function"!=typeof window[funcName]?("complete"===document.readyState&¤tTime-startTime>5e3&&"function"!=typeof window[funcName]&&callbackError(),setTimeout(checkFuncExist,time||100)):okFunc()}
11
))}
12
}
13
window.browserLang=(window.navigator.userLanguage||window.navigator.language).toUpperCase().slice(0,2),window.tildaBrowserLang=window.browserLang,t_onReady((function(){var allrecords=document.getElementById("allrecords");if(allrecords)var projectLang=allrecords.getAttribute("data-tilda-project-lang");projectLang&&(window.browserLang=projectLang)}
14
)),t_onReady((function(){var userAgent=window.navigator.userAgent,isInstagram=-1!==userAgent.indexOf("Instagram"),isFacebook=-1!==userAgent.indexOf("FBAV"),isYandex=-1!==userAgent.indexOf("YaSearchBrowser"),isSamsung=-1!==userAgent.indexOf("SamsungBrowser"),isDuckDuckGo=-1!==userAgent.indexOf("DuckDuckGo"),isAndroid;if(-1!==userAgent.indexOf("Android")&&(isFacebook||isInstagram||isYandex||isSamsung||isDuckDuckGo)){var textElement=document.createElement("p");textElement.style.lineHeight="100px",textElement.style.padding="0",textElement.style.margin="0",textElement.style.height="auto",textElement.style.position="absolute",textElement.style.opacity="0.001",textElement.innerText="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",document.body.appendChild(textElement);var factor=100/textElement.getBoundingClientRect().height;textElement.parentNode.removeChild(textElement),factor<.98&&document.body.insertAdjacentHTML("beforeend",'<style>.t396 [data-elem-type="text"] .tn-atom {zoom: '+100*factor+"%;}
15
</style>")}
16
window.isiOS&&!window.MSStream&&(document.body.style.setProperty("-webkit-text-size-adjust","100%"),document.body.style.setProperty("text-size-adjust","100%"))}
17
)),t_onReady((function(){setTimeout((function(){var html=document.querySelector("html"),tildaLabel=document.querySelector(".t-tildalabel"),bodyScrollHeight=html.offsetHeight;if(document.body&&(bodyScrollHeight=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.body.clientHeight,html.offsetHeight)),(document.getElementById("tildacopy")||tildaLabel)&&tildaLabel.querySelectorAll("div"))bodyScrollHeight+70>window.innerHeight&&tildaLabel&&tildaLabel.setAttribute("style","display: block !important; visibility: visible !important; position: relative !important; width: 100% !important; pointer-events: all !important; opacity: 1 !important; margin: 0 !important; z-index: 1 !important");else{for(var childs=document.body.childNodes,arrChilds=[],i=0;i<childs.length;i++){var element=childs[i];8===element.nodeType&&arrChilds.push(element)}
18
for(var i=0;i<arrChilds.length;i++)-1!==arrChilds[i].nodeValue.indexOf("'t remove this l")&&document.getElementById("allrecords").insertAdjacentHTML("afterend",'<div class="t-tildalabel t-tildalabel-free" style="display: block !important; visibility: visible !important; position: relative !important; width: 100% !important; pointer-events: all !important; opacity: 1 !important; margin: 0 !important; z-index: 99900 !important"><div class="t-tildalabel-free__main"><a href="https://tilda.cc" target="_blank" style="padding-bottom:12px; display: block;"><img style="width:40px;" src="https://static.tildacdn.com/img/tildacopy.png"></a><div style="padding-bottom: 15px;">This site was made on <a href="https://tilda.cc" target="_blank" style="text-decoration: none; color:inherit;">Tilda — a website builder</a> that helps to create a website without any code</div><a href="https://tilda.cc/registration/" target="_blank" style="display: inline-block; padding: 10px 20px; font-size: 13px; border-radius: 50px; background-color: #fa8669; color: #fff; text-decoration: none;">Create a website</a></div><div class="t-tildalabel-free__links-wr"><a class="t-tildalabel-free__txt-link" href="https://help'+("RU"===window.browserLang?"-ru":"")+'.tilda.cc/white-label" target="_blank">'+("RU"===window.browserLang?"Как удалить этот лейбл":"How to remove this block")+"?</a></div></div>")}
19
}
20
),500)}
21
)),t_onReady((function(){var allRecords=document.getElementById("allrecords");if(!window.isMobile&&allRecords&&"yes"!==allRecords.getAttribute("data-blocks-animationoff")&&!1===window.isSearchBot){for(var recBlocks=document.querySelectorAll(".r"),i=0;i<recBlocks.length;i++){var rec,style=(rec=recBlocks[i]).getAttribute("style");style&&-1!==style.indexOf("background-color")&&rec.setAttribute("data-animationappear","off")}
22
for(var recBlocksNot=Array.prototype.slice.call(recBlocks).filter((function(el){return!el.getAttribute("data-animationappear")&&!el.getAttribute("data-screen-min")&&!el.getAttribute("data-screen-max")}
23
)),i=0;i<recBlocksNot.length;i++){var rec,recTop=(rec=recBlocksNot[i]).getBoundingClientRect().top+window.pageYOffset,position=window.pageYOffset+window.innerHeight+300;t_addClass(rec,recTop>1e3&&recTop>position?"r_hidden":"r_showed"),t_addClass(rec,"r_anim")}
24
if(recBlocksNot.length){function t_blocksFade(){for(var i=recBlocksNot.length-1;i>=0;i--){var rec=recBlocksNot[i],recTop,position=0;rec.getBoundingClientRect().top+window.pageYOffset<(position=rec.offsetHeight<=100?window.pageYOffset+window.innerHeight:window.pageYOffset+window.innerHeight-100)&&(t_removeClass(rec,"r_hidden"),t_addClass(rec,"r_showed"),(recBlocksNot=Array.prototype.slice.call(recBlocksNot)).splice(i,1))}
25
}
26
window.addEventListener("scroll",t_throttle((function(){t_blocksFade()}
27
),200)),setTimeout((function(){t_blocksFade()}
28
))}
29
}
30
var html=document.querySelector("html"),body=document.body;"none"===html.style.display&&(html.style.display="block");var tildaLabel=document.querySelector(".t-tildalabel"),bodyScrollHeight;(bodyScrollHeight=body?Math.max(body.scrollHeight,body.offsetHeight,body.clientHeight,html.offsetHeight):html.offsetHeight)+70<window.innerHeight?tildaLabel&&(tildaLabel.style.display="none"):tildaLabel&&tildaLabel.setAttribute("style","display: block !important")}
31
)),function(){function t_setWindowVars(){window.winWidth=window.innerWidth,window.winHeight=window.innerHeight}
32
function t_blocksdisplay(){var windowWidth=window.isMobile?document.documentElement.clientWidth:window.innerWidth,recBlocks=document.querySelectorAll(".r[data-screen-max], .r[data-screen-min]"),max,min,display;-1!==navigator.userAgent.indexOf("Instagram")&&(windowWidth=screen.width);for(var i=0;i<recBlocks.length;i++){var rec=recBlocks[i];if("yes"===rec.getAttribute("data-connect-with-tab"))return;display=getComputedStyle(rec).display,(max=rec.getAttribute("data-screen-max"))||(max=1e4),(min=rec.getAttribute("data-screen-min"))||(min=0),max=parseInt(max),(min=parseInt(min))<=max&&(windowWidth<=max&&windowWidth>min?"block"!==display&&(rec.style.display="block"):"none"!==display&&(rec.style.display="none"))}
33
}
34
t_onReady((function(){t_setWindowVars(),t_blocksdisplay(),window.addEventListener("resize",t_throttle((function(){t_setWindowVars()}
35
),200)),window.addEventListener("resize",t_throttle((function(){t_blocksdisplay()}
36
),200))}
37
))}
38
(),function(){var isInstagram=-1!==navigator.userAgent.indexOf("Instagram");function t_correctHeight(){for(var coverCarries=document.querySelectorAll(".t-cover__carrier"),factor=0,i=0;i<coverCarries.length;i++){var element,elementStyle;if((elementStyle=(element=coverCarries[i]).style).height.indexOf("vh")>-1){factor=parseInt(elementStyle.height,10)/100;var div=document.createElement("div");div.id="tempDiv",div.style.cssText="position:absolute;top:0;left:0;width:100%;height:100vh;visibility:hidden;",document.body.appendChild(div);var tempDiv=document.getElementById("tempDiv"),tempDivHeight=parseInt(getComputedStyle(tempDiv).height.replace("px",""));t_removeEl(tempDiv);var newHeight=Math.round(tempDivHeight*factor)+"px",cover=element.closest(".t-cover");if(cover){var opacityLayer=cover.querySelector(".t-cover__filter"),textBox=cover.querySelector(".t-cover__wrapper");cover.style.height=newHeight}
39
opacityLayer&&(opacityLayer.style.height=newHeight),textBox&&(textBox.style.height=newHeight),elementStyle.height=newHeight}
40
}
...
</html>