(function(){
"use strict";function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);if(t)r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable});n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:POS_PREFIX_24;Object.keys(e).forEach(function(r){t.style.setProperty(n+r,e[r])})},removeStyles=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:POS_PREFIX_24;Object.keys(e).forEach(function(e){t.style.removeProperty(n+e)})};function changePosBannerOnResize(){var e=document.documentElement,t=_objectSpread({},posOptionsInitialBanner24),n=document.getElementById("js-show-iframe-wrapper"),r=n?n.offsetWidth:document.body.offsetWidth;if(r>920)t["bg-size"]="contain",t["bg-url-position"]="calc(100% - 36px) calc(100% + 20px)";if(r>1903)t["grid-template-columns"]="52% 1fr",t["grid-template-rows"]="1fr",t["max-width"]="1920px",t["text-grid-row"]="1",t["container-padding"]="69px 294px 35px 292px",t["text-margin"]="0 0 40px 0",t["text-font-size"]="45px",t["text-align"]="left",t["text-width"]="100%",t["logo-width"]="120px",t["slogan-font-size"]="24px",t["slogan-margin-left"]="-1px",t["footer-margin"]="160px 0 0 0",t["button-width"]="300px",t["button-min-height"]="73px",t["button-font-size"]="20px",t["bg-url-position"]="calc(100% - 285px) calc(100% + 20px)",t["decor-bg-url"]="url('https://pos.gosuslugi.ru/bin/banner-fluid/24/banner-fluid-bg-24-bg-2.svg')";setStyles(t,e)}changePosBannerOnResize(),window.addEventListener("resize",changePosBannerOnResize),window.onunload=function(){var e=document.documentElement,t=_objectSpread({},posOptionsInitialBanner24);window.removeEventListener("resize",changePosBannerOnResize),removeStyles(t,e)};
})()