29.06.2022
Решаем вместе
Не можете записать ребёнка в сад? Хотите рассказать о воспитателях? Знаете, как улучшить питание и занятия?
(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_30;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_30;Object.keys(e).forEach(function(e){t.style.removeProperty(n+e)})};function changePosBannerOnResize(){var e=document.documentElement,t=_objectSpread({},posOptionsInitialBanner30),n=document.getElementById("js-show-iframe-wrapper"),r=n?n.offsetWidth:document.body.offsetWidth;if(r>308)t["bg-url"]="url('https://pos.gosuslugi.ru/bin/banner-fluid/25/banner-fluid-bg-25-1.svg')",t["bg-url-position"]="center calc(100% + 22px)";if(r>340)t["button-wrap-max-width"]="206px";if(r>568)t["grid-template-columns"]="1fr 292px",t["grid-template-rows"]="100%",t["content-grid-row"]="1",t["content-padding"]="32px 24px",t["bg-url"]="url('https://pos.gosuslugi.ru/bin/banner-fluid/25/banner-fluid-bg-25-2.svg')",t["bg-url-position"]="center bottom";if(r>610)t["bg-url"]="url('https://pos.gosuslugi.ru/bin/banner-fluid/25/banner-fluid-bg-25-1.svg')",t["bg-url-position"]="calc(50% + 29px) calc(100% + 25px)";if(r>782)t["grid-template-columns"]="1fr 400px";if(r>820)t["grid-template-columns"]="1fr 420px",t["bg-url-position"]="center -12px";if(r>1098)t["grid-template-columns"]="1fr 557px",t["text-font-size"]="28px",t["content-padding"]="32px 32px 32px 50px",t["logo-width"]="78px",t["slogan-font-size"]="15px",t["logo-wrap-padding"]="20px 16px 16px";if(r>1300)t["content-padding"]="32px 40px 32px 140px",t["bg-url-position"]="center calc(100% + 33px)";if(r>1422)t["max-width"]="1422px",t["grid-template-columns"]="1fr 720px",t["text-font-size"]="32px",t.background="linear-gradient(90deg, #ffffff 50%, #ffffff 50%)";setStyles(t,e)}changePosBannerOnResize(),window.addEventListener("resize",changePosBannerOnResize),window.onunload=function(){var e=document.documentElement,t=_objectSpread({},posOptionsInitialBanner30);window.removeEventListener("resize",changePosBannerOnResize),removeStyles(t,e)};
})()