Полезная информация
Вы стали свидетелем нарушения режима ООПТ?
Сообщите нам

Решаем вместе
(function(){
"use strict";function ownKeys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);if(e)i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable});n.push.apply(n,i)}return n}function _objectSpread(t){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:POS_PREFIX_64;Object.keys(t).forEach(function(i){e.style.setProperty(n+i,t[i])})},removeStyles=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:POS_PREFIX_64;Object.keys(t).forEach(function(t){e.style.removeProperty(n+t)})};function changePosBannerOnResize(){var t=document.documentElement,e=_objectSpread({},posOptionsInitialBanner64),n=document.getElementById("js-show-iframe-wrapper"),i=n?n.offsetWidth:document.body.offsetWidth;if(i>374)e.padding="30px 40px 0 40px",e["text-font-size"]="20px",e["text-margin"]="0 0 12px 0",e["text-small-font-size"]="16px",e["description-margin"]="0 0 24px 0",e["btn-width"]="193px",e["btn-height"]="48px",e["btn-min-height"]="48px",e["btn-margin"]="0 0 17px 0",e["logo-width"]="61px",e["slogan-font-size"]="12px",e["bottom-margin"]="0",e["decor-height"]="182px",e["decor-position"]="center calc(100% + 15px)";if(i>799)e.padding="5px 50px 0 60px",e["grid-template-columns"]="auto 170px auto",e["grid-template-rows"]="auto",e["description-width"]="233px",e["description-margin"]="0 110px 0 0",e["text-align"]="left",e["text-font-size"]="16px",e["text-small-font-size"]="14px",e["text-line-height"]="1.5",e["bottom-margin"]="44px 0 0 60px",e["bottom-order"]="3",e["decor-order"]="2",e["decor-height"]="144px",e["decor-position"]="center bottom",e["btn-width"]="113px",e["btn-height"]="38px",e["btn-min-height"]="38px",e["btn-font-size"]="12px",e["btn-margin"]="0 0 12px 0",e["logo-width"]="52px",e["slogan-font-size"]="10px";if(i>1249)e.padding="0 80px 0 60px",e["grid-template-columns"]="auto 273px auto",e["description-width"]="380px",e["description-margin"]="0 200px 0 0",e["text-font-size"]="26px",e["text-small-font-size"]="20px",e["bottom-margin"]="68px 0 0 80px",e["decor-height"]="220px",e["btn-width"]="174px",e["btn-height"]="60px",e["btn-min-height"]="60px",e["btn-font-size"]="16px",e["btn-margin"]="0 0 18px 0",e["logo-width"]="81.5px",e["slogan-font-size"]="16px",e["decor-position"]="center calc(100% + 10px)";if(i>1759)e.padding="0 80px 0 70px",e["grid-template-columns"]="auto 255px auto",e["description-width"]="auto",e["description-margin"]="0 85px 0 0",e["text-font-size"]="36px",e["text-small-font-size"]="30px",e["text-margin"]="0 0 16px 0",e["bottom-margin"]="60px 0 0 90px",e["decor-height"]="214px",e["btn-width"]="208px",e["btn-height"]="68px",e["btn-min-height"]="68px",e["btn-margin"]="0 0 22px 0",e["logo-width"]="94.5px",e["slogan-font-size"]="19px",e["decor-position"]="center calc(100% + 15px)";setStyles(e,t)}changePosBannerOnResize(),window.addEventListener("resize",changePosBannerOnResize),window.onunload=function(){var t=document.documentElement,e=_objectSpread({},posOptionsInitialBanner64);window.removeEventListener("resize",changePosBannerOnResize),removeStyles(e,t)};
})()