<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* new/base.html.twig */
class __TwigTemplate_5682c8f47f677cca2d385ba75a34740d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'seoDescription' => [$this, 'block_seoDescription'],
'seoKeywords' => [$this, 'block_seoKeywords'],
'opengraph' => [$this, 'block_opengraph'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'header' => [$this, 'block_header'],
'body' => [$this, 'block_body'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "new/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "new/base.html.twig"));
// line 2
echo "<!DOCTYPE html>
<html lang=\"ru\">
<head>
<meta charset=\"UTF-8\">
<meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta name=\"robots\" content=\"index, follow\"/>
<link rel=\"canonical\" href=\"https://mosregco.ru";
// line 9
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 9, $this->source); })()), "request", [], "any", false, false, false, 9), "pathInfo", [], "any", false, false, false, 9), "html", null, true);
echo "\" />
<title>";
// line 10
$this->displayBlock('title', $context, $blocks);
echo "</title>
<meta name=\"description\" content=\"";
// line 11
$this->displayBlock('seoDescription', $context, $blocks);
echo "\" >
<meta name=\"keywords\" content=\"";
// line 12
$this->displayBlock('seoKeywords', $context, $blocks);
echo "\" >
";
// line 14
$this->displayBlock('opengraph', $context, $blocks);
// line 15
echo " <link rel=\"icon\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("fav32.svg"), "html", null, true);
echo "\" sizes=\"any\" type=\"image/svg+xml\">
<link rel=\"stylesheet\" href=\"";
// line 16
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/ibmplexsans/ibmplexsans.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/bootstrap/dist/css/bootstrap.min.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/OwlCarousel/dist/assets/owl.carousel.min.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/OwlCarousel/dist/assets/owl.theme.default.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 20
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/hover/css/hover-min.css"), "html", null, true);
echo "\">
<link href=\"https://cdn.jsdelivr.net/npm/suggestions-jquery@18.3.3/dist/css/suggestions.min.css\" type=\"text/css\" rel=\"stylesheet\" />
<link rel=\"stylesheet\" href=\"";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/fancybox/dist/jquery.fancybox.min.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 24
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/wow/css/libs/animate.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 25
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/google-translate-custom-widget/jquery/css/google-translate.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css\"/>
<link rel=\"stylesheet\" href=\"";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/fontawesome/css/all.css"), "html", null, true);
echo "\">
";
// line 33
echo " ";
// line 34
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/less/fonts.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/less/newsite.css"), "html", null, true);
echo "?14\">
";
// line 36
$this->displayBlock('stylesheets', $context, $blocks);
// line 37
echo "
<script type=\"application/javascript\" src=\"";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/jquery/dist/jquery.min.js"), "html", null, true);
echo "\"></script>
<script type=\"application/javascript\" src=\"";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/jquery-validation/dist/jquery.validate.min.js"), "html", null, true);
echo "\"></script>
<script type=\"application/javascript\" src=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/inputmask/dist/jquery.inputmask.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/npm/suggestions-jquery@18.3.3/dist/js/jquery.suggestions.min.js\"></script>
<script type=\"application/javascript\" src=\"";
// line 43
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/popper.js"), "html", null, true);
echo "\"></script>
<script type=\"application/javascript\" src=\"";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/bootstrap/dist/js/bootstrap.min.js"), "html", null, true);
echo "\"></script>
<script type=\"application/javascript\" src=\"";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/OwlCarousel/dist/owl.carousel.min.js"), "html", null, true);
echo "\"></script>
<script type=\"application/javascript\" src=\"";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/fancybox/dist/jquery.fancybox.min.js"), "html", null, true);
echo "\"></script>
<script type=\"application/javascript\" src=\"";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/wow/dist/wow.min.js"), "html", null, true);
echo "\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js\"></script>
<script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU\" type=\"text/javascript\"></script>
<script type=\"application/javascript\" src=\"";
// line 53
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/fosjsrouting/js/router.js"), "html", null, true);
echo "\"></script>
";
// line 55
echo " <script type=\"application/javascript\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/new_api.js"), "html", null, true);
echo "?1\"></script>
<script type=\"application/javascript\" src=\"";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/validate.js"), "html", null, true);
echo "?2\"></script>
<script type=\"text/javascript\" src=\"//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\"></script>
<script src='https://www.google.com/recaptcha/api.js' async defer></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js\"></script>
<script src=\"";
// line 62
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/google-translate-custom-widget/jquery/js/google-translate.js"), "html", null, true);
echo "\"></script>
";
// line 65
echo " ";
// line 66
echo " ";
// line 67
echo " ";
// line 68
echo " ";
// line 69
echo " ";
// line 70
echo " ";
// line 71
echo " ";
// line 72
echo " ";
// line 73
echo " <script async src=\"//widgets.mango-office.ru/site/31619\"></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MQN95XV5');</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-MQN95XV5\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<script>
\$(document).ready(function (){
\$('body').on('click', '.hvr-underline-from-center', function (e){
if (\$('body').width() < 1200 && \$(this).closest('li').children('.s-menu').length > 0){
e.preventDefault();
console.log('none a');
return false;
}else {
console.log('click a');
}
});
if (\$('body').width() < 1200){
\$('.menu-item a').click(function (){
\$('.menu-item').removeClass('active');
\$('.s-menu').removeClass('active');
\$(this).closest('.menu-item').addClass('active');
});
}
setInterval(function (){
\$('button:contains(\"Royal Division\")').text('Korolev division');
\$('font:contains(\"Royal Division\")').text('Korolev division');
}, 500);
\$('body').on(\"click\", \".form-area button[type='submit']\", function (e){
e.preventDefault();
if (\$(this).closest('form')[0].checkValidity()) {
\$(this).closest('form').find('button[type=\"submit\"]').attr('disabled','disabled');
\$(this).closest('form').find('input[type=\"submit\"]').attr('disabled','disabled');
console.log('button[type=\"submit\"] ' + \$(this).closest('form').find('button[type=\"submit\"]').length);
\$(this).closest('form').submit();
} else {
\$(this).closest('form')[0].reportValidity();
}
});
\$('.svg-map').scrollLeft(150)
\$('.burger').click(function (){
\$('.menu-block').fadeIn();
})
\$('.close-mob-menu').click(function (){
\$('.menu-block').fadeOut();
})
\$('.menu-item>a').click(function (e){
if (\$('body').width() <= 768){
if (\$(this).closest('li').find('.s-menu').length > 0 ){
if (\$(this).closest('li').find('.s-menu').css('display') == 'block'){
e.preventDefault();
\$('.s-menu').css('display', 'none');
\$(this).removeClass('active');
}else{
e.preventDefault();
\$(this).addClass('active')
\$('.s-menu').css('display', 'none');
\$(this).closest('li').find('.s-menu').css('display', 'block');
}
}else{
}
}
});
\$(\".sliding-link\").click(function(e) {
e.preventDefault();
var aid = \$(this).attr(\"href\").split('#').pop();
console.log('aid: ' + aid)
if ( \$(\"#\" + aid).length > 0){
\$('html,body').animate({scrollTop: \$(\"#\" + aid).offset().top},'slow');
\$('.close-mob-menu').click();
}else{
window.location.href = \$(this).attr(\"href\");
}
});
if (window.location.hash == '#modal'){
\$('#formSModal').modal('show');
}
\$('body').on(\"click\", '.map-sector', function (e){
var th = \$(this);
\$.ajax({
url: '";
// line 179
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_project_item");
echo "',
data: {'id' : \$(th).attr('data-id') },
method: 'GET',
success: function (html){
\$('#projectLocalModal .modal-content').html(html)
// #slider-project_item.owl-loaded .owl-item .item img{
// display: inline-block;
// }
\$('#slider-project_item').owlCarousel({
loop:true,
margin:10,
smartSpeed: 500,
nav:true,
dots:true,
navText:[\"<div class='nav-btn prev-slide' ></div>\",\"<div class='nav-btn next-slide'></div>\"],
// animateOut: 'fadeOutDownBig',
// animateIn: 'fadeInDownBig',
responsive: {
0: {
items: 1
},
},
});
setTimeout(function (){
\$('#projectLocalModal').modal('show');
}, 200);
\$('.phone').inputmask('+7(999) 999-99-99')
}
})
});
\$('.map-sector').hover(
function (e){ if (\$(this).hasClass('map-sector')) \$(this).attr('fill', '#BE322B') },
function (e){ if (\$(this).hasClass('map-sector')) \$(this).attr('fill', '#7C8993') },
);
// define([\"jquery\", \"jquery.validate\"], function( \$ ) {
// \$(\"form\").validate();
// });
// \$('.icon_arr').hover(
// function (){
// \$('.icon_arr')
// },
// function (){
//
// }
// )
new WOW().init();
\$('.open-searchblock').click(function (e){
e.preventDefault();
\$('.bg-gray').fadeIn();
\$('.search-block').toggleClass('active');
});
\$('.bg-gray').click(function (){
\$('.bg-gray').fadeOut();
\$('.search-block').removeClass('active');
});
\$('body').on(\"click\", \".link-ajax\", function (){
var th = \$(this);
\$.ajax({
url: \$(th).attr('data-href'),
data: {'page' : \$(th).attr('data-page'), 'notId' : \$(th).attr('data-notId') },
success: function (html){
\$('.link-ajax-remove').fadeIn();
\$(th).attr('data-page', (parseInt(\$(th).attr('data-page'))+1));
\$('.'+\$(th).attr('data-container')).append(html);
if (parseInt(\$(th).attr('data-page')) >= \$(th).attr('data-page-count')){
\$(th).fadeOut();
}
setTimeout(function (){
\$('.project-list:not(.show)').addClass('show');
}, 500)
}
})
});
\$('body').on(\"click\", \".link-ajax-remove\", function () {
var th = \$(this);
\$('.link-ajax').attr('data-page', 1);
\$('.link-ajax').fadeIn();
\$('.link-ajax-remove').fadeOut();
// \$(th).addClass('link-ajax');
\$('.project-list').each(function (index){
if (index > 3){
var tt = \$(this)
\$(tt).animate({'height':0},100)
setTimeout(function(){
\$(tt).remove();
}, 200);
}
});
\$(th).removeClass('arr_rotate');
});
\$('#input-search').keypress(function (){
setTimeout(function (){
if (\$('#input-search').value == ''){
\$('#btn-search').attr('src', '/assets/images/new/icon_search_gray.svg');
}else{
\$('#btn-search').attr('src', '/assets/images/new/icon_search_black.svg');
}
}, 100);
});
\$('#btn-search').click(function (){
\$('.search-text-data').html('');
\$('.search-text-error').fadeOut();
\$('.search-text-error-2').fadeOut();
if (\$('#input-search').val() === ''){
\$('.search-text-error').fadeIn();
}else{
\$.ajax({
url: '";
// line 304
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_search");
echo "',
data: {'search' : \$('#input-search').val()},
success: function (data){
if (data.length == 0){
\$('.search-text-error-2').fadeIn();
}else{
\$.each(data,function(index, value){
\$('.search-text-data').append('<a href=\"'+value.url+'\">'+value.title+'</a>');
});
\$('.search-text-data').append('<div class=\"mt25\"><a href=\"";
// line 314
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_search");
echo "?search='+\$('#input-search').val()+'\"><b>Показать ещё</a></div>');
}
}
})
}
});
\$(\".companyTitle\").suggestions({
token: \"21983b8790d042c97224bebd67c6efc45c3a5238\",
type: \"PARTY\",
count: 5,
onSelect: function(suggestion) {
if (suggestion.data.management){
\$('.director').val(suggestion.data.management.name);
\$('.directorPost').val(suggestion.data.management.post);
}
\$('.companyTitle').val(suggestion.data.name.full_with_opf);
}
});
});
</script>
";
// line 339
$this->displayBlock('javascripts', $context, $blocks);
// line 340
echo "</head>
<body style=\"";
// line 341
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 341, $this->source); })()), "request", [], "any", false, false, false, 341), "pathInfo", [], "any", false, false, false, 341) == "/order")) ? ("background: #EDEDF2") : (""));
echo "\">
";
// line 345
$this->displayBlock('header', $context, $blocks);
// line 350
$this->displayBlock('body', $context, $blocks);
// line 352
echo "
<footer class=\"\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-3 order-3 order-md-1 mob-mt-15\">
<a href=\"mailto:info@mosregco.ru\">info@mosregco.ru</a><br />
<a href=\"tel:+74994506588 \">+7 (499) 450-65-88</a><br />
<div style=\"margin-top: 33px\">
<a href=\"https://mii.mosreg.ru/\" target=\"_blank\"><img src=\"";
// line 362
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/new/footer_l.svg"), "html", null, true);
echo "\" style=\"margin-right: 20px\"></a>
<a href=\"https://t.me/mosregco\"><img src=\"";
// line 363
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/new/icon_telegram.svg"), "html", null, true);
echo "\" class=\" d-inline d-md-none mob-mt-15\"></a>
</div>
</div>
<div class=\"col-md-4 order-2 order-md-2 mob-mt-35\">
г. Москва, ул. Кулакова, д.20, корп.1, <br />
БЦ “Орбита-2”, корп.Альфа, 6 этаж
<div style=\"margin-top: 33px\" class=\" d-none d-md-block\">
<a href=\"https://t.me/mosregco\"><img src=\"";
// line 374
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/new/icon_telegram.svg"), "html", null, true);
echo "\"></a>
</div>
</div>
<div class=\"col-md-5 order-1 order-md-3 \">
<div class=\"btns-group\">
<a href=\"#\" class=\"btn-black\" data-bs-toggle=\"modal\" data-bs-target=\"#formSModal\">подобрать площадку</a>
";
// line 383
echo " </div>
<div class=\"mt25 d-none d-md-block\" style=\"font-size: 12px\">
© «Корпорация развития Московской области», ";
// line 385
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo "
</div>
<div class=\"mt25\" style=\"font-size: 12px\">
<a href=\"";
// line 389
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_map");
echo "\">Карта сайта</a>
</div>
</div>
</div>
<div class=\"mt25 d-block d-md-none\" style=\"font-size: 12px\">
© «Корпорация развития Московской области», ";
// line 398
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo "
</div>
</div>
</footer>
";
// line 405
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\BaseController::modal", ["modalName" => "presentForm"]));
echo "
";
// line 406
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\BaseController::modal", ["modalName" => "emailSuccess"]));
echo "
";
// line 407
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\BaseController::modal", ["modalName" => "formSuccess"]));
echo "
";
// line 408
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\BaseController::modal", ["modalName" => "formS"]));
echo "
";
// line 409
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\BaseController::modal", ["modalName" => "formS2"]));
echo "
";
// line 410
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\BaseController::modal", ["modalName" => "subscriberSuccess"]));
echo "
";
// line 412
echo twig_include($this->env, $context, "new\\modals\\form_iframe.html.twig");
echo "
";
// line 414
echo "
";
// line 416
echo "<script>
";
// line 417
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 417, $this->source); })()), "session", [], "any", false, false, false, 417), "flashbag", [], "any", false, false, false, 417), "all", [], "method", false, false, false, 417));
foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
// line 418
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 419
echo " ";
if (($context["type"] == "modal")) {
// line 420
echo " \$(document).ready(function (){
\$('#";
// line 421
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "Modal').modal('show');
});
";
}
// line 424
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 426
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['type'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 427
echo "
</script>
";
// line 431
echo "
<div class=\"bg-gray\"></div>
";
// line 436
echo "
<script type=\"text/javascript\">
var _tmr = window._tmr || (window._tmr = []);
_tmr.push({id: \"3427044\", type: \"pageView\", start: (new Date()).getTime()});
(function (d, w, id) {
if (d.getElementById(id)) return;
var ts = d.createElement(\"script\"); ts.type = \"text/javascript\"; ts.async = true; ts.id = id;
ts.src = \"https://top-fwz1.mail.ru/js/code.js\";
var f = function () {var s = d.getElementsByTagName(\"script\")[0]; s.parentNode.insertBefore(ts, s);};
if (w.opera == \"[object Opera]\") { d.addEventListener(\"DOMContentLoaded\", f, false); } else { f(); }
})(document, window, \"tmr-code\");
</script>
<noscript><div><img src=\"https://top-fwz1.mail.ru/counter?id=3427044;js=na\" style=\"position:absolute;left:-9999px;\" alt=\"Top.Mail.Ru\" /></div></noscript>
<!-- /Top.Mail.Ru counter -->
<!-- Top100 (Kraken) Counter -->
<script>
(function (w, d, c) {
(w[c] = w[c] || []).push(function() {
var options = {
project: 7727501,
};
try {
w.top100Counter = new top100(options);
} catch(e) { }
});
var n = d.getElementsByTagName(\"script\")[0],
s = d.createElement(\"script\"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = \"text/javascript\";
s.async = true;
s.src =
(d.location.protocol == \"https:\" ? \"https:\" : \"http:\") +
\"//st.top100.ru/top100/top100.js\";
if (w.opera == \"[object Opera]\") {
d.addEventListener(\"DOMContentLoaded\", f, false);
} else { f(); }
})(window, document, \"_top100q\");
</script>
<noscript>
<img src=\"//counter.rambler.ru/top100.cnt?pid=7727501\" alt=\"Топ-100\" />
</noscript>
<!-- END Top100 (Kraken) Counter -->
<!-- Yandex.Metrika counter -->
<script type=\"text/javascript\" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
ym(92929033, \"init\", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true,
ecommerce:\"dataLayer\"
});
</script>
<noscript><div><img src=\"https://mc.yandex.ru/watch/92929033\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
<!-- /Yandex.Metrika counter -->
";
// line 503
echo "
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-WZR3XFB16N\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-WZR3XFB16N');
</script>
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-WZR3XFB16N\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-WZR3XFB16N');
</script>
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 10
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Корпорация развития Московской области - Главная страница";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 11
public function block_seoDescription($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoDescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoDescription"));
echo ((array_key_exists("page", $context)) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 11, $this->source); })()), "seoDescription", [], "any", false, false, false, 11)) : (""));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 12
public function block_seoKeywords($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoKeywords"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoKeywords"));
((array_key_exists("page", $context)) ? (print (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 12, $this->source); })()), "seoKeywords", [], "any", false, false, false, 12))) : (((array_key_exists("publication", $context)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publication"]) || array_key_exists("publication", $context) ? $context["publication"] : (function () { throw new RuntimeError('Variable "publication" does not exist.', 12, $this->source); })()), "seoKeywords", [], "any", false, false, false, 12), "html", null, true))) : (print ("")))));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 14
public function block_opengraph($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "opengraph"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "opengraph"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 36
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 339
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 345
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 346
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\BaseController::header", ["route" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 346, $this->source); })()), "request", [], "any", false, false, false, 346), "get", [0 => "_route"], "method", false, false, false, 346), "request" => twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 346, $this->source); })()), "request", [], "any", false, false, false, 346), "action" => ((array_key_exists("action", $context)) ? ((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 346, $this->source); })())) : (null))]));
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 350
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "new/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 895 => 350, 882 => 346, 872 => 345, 854 => 339, 836 => 36, 818 => 14, 799 => 12, 780 => 11, 761 => 10, 726 => 503, 662 => 436, 658 => 431, 653 => 427, 647 => 426, 640 => 424, 634 => 421, 631 => 420, 628 => 419, 623 => 418, 619 => 417, 616 => 416, 613 => 414, 609 => 412, 605 => 410, 601 => 409, 597 => 408, 593 => 407, 589 => 406, 585 => 405, 577 => 398, 565 => 389, 558 => 385, 554 => 383, 543 => 374, 529 => 363, 525 => 362, 513 => 352, 511 => 350, 509 => 345, 503 => 341, 500 => 340, 498 => 339, 470 => 314, 457 => 304, 329 => 179, 221 => 73, 219 => 72, 217 => 71, 215 => 70, 213 => 69, 211 => 68, 209 => 67, 207 => 66, 205 => 65, 200 => 62, 191 => 56, 186 => 55, 182 => 53, 174 => 48, 170 => 47, 165 => 45, 161 => 44, 157 => 43, 151 => 40, 147 => 39, 143 => 38, 140 => 37, 138 => 36, 134 => 35, 129 => 34, 127 => 33, 121 => 29, 114 => 25, 110 => 24, 105 => 22, 100 => 20, 96 => 19, 92 => 18, 88 => 17, 84 => 16, 79 => 15, 77 => 14, 72 => 12, 68 => 11, 64 => 10, 60 => 9, 51 => 2,);
}
public function getSourceContext()
{
return new Source("{#https://habr.com/ru/post/438588/#}
<!DOCTYPE html>
<html lang=\"ru\">
<head>
<meta charset=\"UTF-8\">
<meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta name=\"robots\" content=\"index, follow\"/>
<link rel=\"canonical\" href=\"https://mosregco.ru{{ app.request.pathInfo }}\" />
<title>{% block title %}Корпорация развития Московской области - Главная страница{% endblock %}</title>
<meta name=\"description\" content=\"{% block seoDescription %}{{ page is defined ? page.seoDescription | raw }}{% endblock %}\" >
<meta name=\"keywords\" content=\"{% block seoKeywords %}{{ page is defined ? page.seoKeywords | raw : publication is defined ? publication.seoKeywords }}{% endblock %}\" >
{% block opengraph %}{% endblock %}
<link rel=\"icon\" href=\"{{ asset('fav32.svg') }}\" sizes=\"any\" type=\"image/svg+xml\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/ibmplexsans/ibmplexsans.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/bootstrap/dist/css/bootstrap.min.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/OwlCarousel/dist/assets/owl.carousel.min.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/OwlCarousel/dist/assets/owl.theme.default.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/hover/css/hover-min.css') }}\">
<link href=\"https://cdn.jsdelivr.net/npm/suggestions-jquery@18.3.3/dist/css/suggestions.min.css\" type=\"text/css\" rel=\"stylesheet\" />
<link rel=\"stylesheet\" href=\"{{ asset('assets/fancybox/dist/jquery.fancybox.min.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/wow/css/libs/animate.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/google-translate-custom-widget/jquery/css/google-translate.css') }}\">
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css\"/>
<link rel=\"stylesheet\" href=\"{{ asset('assets/fontawesome/css/all.css') }}\">
{# <link rel=\"stylesheet\" href=\"{{ asset('assets/less/fonts.css') }}?3\">#}
{# <link href=\"https://fonts.cdnfonts.com/css/ibm-plex-sans\" rel=\"stylesheet\">#}
<link rel=\"stylesheet\" href=\"{{ asset('assets/less/fonts.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/less/newsite.css') }}?14\">
{% block stylesheets %}{% endblock %}
<script type=\"application/javascript\" src=\"{{ asset('assets/jquery/dist/jquery.min.js') }}\"></script>
<script type=\"application/javascript\" src=\"{{ asset('assets/jquery-validation/dist/jquery.validate.min.js') }}\"></script>
<script type=\"application/javascript\" src=\"{{ asset('assets/inputmask/dist/jquery.inputmask.js') }}\"></script>
<script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/npm/suggestions-jquery@18.3.3/dist/js/jquery.suggestions.min.js\"></script>
<script type=\"application/javascript\" src=\"{{ asset('assets/popper.js') }}\"></script>
<script type=\"application/javascript\" src=\"{{ asset('assets/bootstrap/dist/js/bootstrap.min.js') }}\"></script>
<script type=\"application/javascript\" src=\"{{ asset('assets/OwlCarousel/dist/owl.carousel.min.js') }}\"></script>
<script type=\"application/javascript\" src=\"{{ asset('assets/fancybox/dist/jquery.fancybox.min.js') }}\"></script>
<script type=\"application/javascript\" src=\"{{ asset('assets/wow/dist/wow.min.js') }}\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js\"></script>
<script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU\" type=\"text/javascript\"></script>
<script type=\"application/javascript\" src=\"{{ asset('bundles/fosjsrouting/js/router.js') }}\"></script>
{# <script src=\"https://cdn.jsdelivr.net/npm/chart.js\"></script>#}
<script type=\"application/javascript\" src=\"{{ asset('assets/new_api.js') }}?1\"></script>
<script type=\"application/javascript\" src=\"{{ asset('assets/validate.js') }}?2\"></script>
<script type=\"text/javascript\" src=\"//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\"></script>
<script src='https://www.google.com/recaptcha/api.js' async defer></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js\"></script>
<script src=\"{{ asset('assets/google-translate-custom-widget/jquery/js/google-translate.js') }}\"></script>
{# <script>#}
{# (function(w, d, u, i, o, s, p) {#}
{# if (d.getElementById(i)) { return; } w['MangoObject'] = o;#}
{# w[o] = w[o] || function() { (w[o].q = w[o].q || []).push(arguments) }; w[o].u = u; w[o].t = 1 * new Date();#}
{# s = d.createElement('script'); s.async = 1; s.id = i; s.src = u;#}
{# p = d.getElementsByTagName('script')[0]; p.parentNode.insertBefore(s, p);#}
{# }(window, document, '//widgets.mango-office.ru/widgets/mango.js', 'mango-js', 'mgo'));#}
{# mgo({calltracking: {id: 31619, elements: [{\"numberText\":\"74952807984\"}], domain: 'mosregco.ru'}});#}
{# </script>#}
<script async src=\"//widgets.mango-office.ru/site/31619\"></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MQN95XV5');</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-MQN95XV5\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<script>
\$(document).ready(function (){
\$('body').on('click', '.hvr-underline-from-center', function (e){
if (\$('body').width() < 1200 && \$(this).closest('li').children('.s-menu').length > 0){
e.preventDefault();
console.log('none a');
return false;
}else {
console.log('click a');
}
});
if (\$('body').width() < 1200){
\$('.menu-item a').click(function (){
\$('.menu-item').removeClass('active');
\$('.s-menu').removeClass('active');
\$(this).closest('.menu-item').addClass('active');
});
}
setInterval(function (){
\$('button:contains(\"Royal Division\")').text('Korolev division');
\$('font:contains(\"Royal Division\")').text('Korolev division');
}, 500);
\$('body').on(\"click\", \".form-area button[type='submit']\", function (e){
e.preventDefault();
if (\$(this).closest('form')[0].checkValidity()) {
\$(this).closest('form').find('button[type=\"submit\"]').attr('disabled','disabled');
\$(this).closest('form').find('input[type=\"submit\"]').attr('disabled','disabled');
console.log('button[type=\"submit\"] ' + \$(this).closest('form').find('button[type=\"submit\"]').length);
\$(this).closest('form').submit();
} else {
\$(this).closest('form')[0].reportValidity();
}
});
\$('.svg-map').scrollLeft(150)
\$('.burger').click(function (){
\$('.menu-block').fadeIn();
})
\$('.close-mob-menu').click(function (){
\$('.menu-block').fadeOut();
})
\$('.menu-item>a').click(function (e){
if (\$('body').width() <= 768){
if (\$(this).closest('li').find('.s-menu').length > 0 ){
if (\$(this).closest('li').find('.s-menu').css('display') == 'block'){
e.preventDefault();
\$('.s-menu').css('display', 'none');
\$(this).removeClass('active');
}else{
e.preventDefault();
\$(this).addClass('active')
\$('.s-menu').css('display', 'none');
\$(this).closest('li').find('.s-menu').css('display', 'block');
}
}else{
}
}
});
\$(\".sliding-link\").click(function(e) {
e.preventDefault();
var aid = \$(this).attr(\"href\").split('#').pop();
console.log('aid: ' + aid)
if ( \$(\"#\" + aid).length > 0){
\$('html,body').animate({scrollTop: \$(\"#\" + aid).offset().top},'slow');
\$('.close-mob-menu').click();
}else{
window.location.href = \$(this).attr(\"href\");
}
});
if (window.location.hash == '#modal'){
\$('#formSModal').modal('show');
}
\$('body').on(\"click\", '.map-sector', function (e){
var th = \$(this);
\$.ajax({
url: '{{ path('app_project_item') }}',
data: {'id' : \$(th).attr('data-id') },
method: 'GET',
success: function (html){
\$('#projectLocalModal .modal-content').html(html)
// #slider-project_item.owl-loaded .owl-item .item img{
// display: inline-block;
// }
\$('#slider-project_item').owlCarousel({
loop:true,
margin:10,
smartSpeed: 500,
nav:true,
dots:true,
navText:[\"<div class='nav-btn prev-slide' ></div>\",\"<div class='nav-btn next-slide'></div>\"],
// animateOut: 'fadeOutDownBig',
// animateIn: 'fadeInDownBig',
responsive: {
0: {
items: 1
},
},
});
setTimeout(function (){
\$('#projectLocalModal').modal('show');
}, 200);
\$('.phone').inputmask('+7(999) 999-99-99')
}
})
});
\$('.map-sector').hover(
function (e){ if (\$(this).hasClass('map-sector')) \$(this).attr('fill', '#BE322B') },
function (e){ if (\$(this).hasClass('map-sector')) \$(this).attr('fill', '#7C8993') },
);
// define([\"jquery\", \"jquery.validate\"], function( \$ ) {
// \$(\"form\").validate();
// });
// \$('.icon_arr').hover(
// function (){
// \$('.icon_arr')
// },
// function (){
//
// }
// )
new WOW().init();
\$('.open-searchblock').click(function (e){
e.preventDefault();
\$('.bg-gray').fadeIn();
\$('.search-block').toggleClass('active');
});
\$('.bg-gray').click(function (){
\$('.bg-gray').fadeOut();
\$('.search-block').removeClass('active');
});
\$('body').on(\"click\", \".link-ajax\", function (){
var th = \$(this);
\$.ajax({
url: \$(th).attr('data-href'),
data: {'page' : \$(th).attr('data-page'), 'notId' : \$(th).attr('data-notId') },
success: function (html){
\$('.link-ajax-remove').fadeIn();
\$(th).attr('data-page', (parseInt(\$(th).attr('data-page'))+1));
\$('.'+\$(th).attr('data-container')).append(html);
if (parseInt(\$(th).attr('data-page')) >= \$(th).attr('data-page-count')){
\$(th).fadeOut();
}
setTimeout(function (){
\$('.project-list:not(.show)').addClass('show');
}, 500)
}
})
});
\$('body').on(\"click\", \".link-ajax-remove\", function () {
var th = \$(this);
\$('.link-ajax').attr('data-page', 1);
\$('.link-ajax').fadeIn();
\$('.link-ajax-remove').fadeOut();
// \$(th).addClass('link-ajax');
\$('.project-list').each(function (index){
if (index > 3){
var tt = \$(this)
\$(tt).animate({'height':0},100)
setTimeout(function(){
\$(tt).remove();
}, 200);
}
});
\$(th).removeClass('arr_rotate');
});
\$('#input-search').keypress(function (){
setTimeout(function (){
if (\$('#input-search').value == ''){
\$('#btn-search').attr('src', '/assets/images/new/icon_search_gray.svg');
}else{
\$('#btn-search').attr('src', '/assets/images/new/icon_search_black.svg');
}
}, 100);
});
\$('#btn-search').click(function (){
\$('.search-text-data').html('');
\$('.search-text-error').fadeOut();
\$('.search-text-error-2').fadeOut();
if (\$('#input-search').val() === ''){
\$('.search-text-error').fadeIn();
}else{
\$.ajax({
url: '{{ path('app_search') }}',
data: {'search' : \$('#input-search').val()},
success: function (data){
if (data.length == 0){
\$('.search-text-error-2').fadeIn();
}else{
\$.each(data,function(index, value){
\$('.search-text-data').append('<a href=\"'+value.url+'\">'+value.title+'</a>');
});
\$('.search-text-data').append('<div class=\"mt25\"><a href=\"{{ path('app_search') }}?search='+\$('#input-search').val()+'\"><b>Показать ещё</a></div>');
}
}
})
}
});
\$(\".companyTitle\").suggestions({
token: \"21983b8790d042c97224bebd67c6efc45c3a5238\",
type: \"PARTY\",
count: 5,
onSelect: function(suggestion) {
if (suggestion.data.management){
\$('.director').val(suggestion.data.management.name);
\$('.directorPost').val(suggestion.data.management.post);
}
\$('.companyTitle').val(suggestion.data.name.full_with_opf);
}
});
});
</script>
{% block javascripts %}{% endblock %}
</head>
<body style=\"{{ app.request.pathInfo == '/order' ? 'background: #EDEDF2' }}\">
{# <div class=\"container\" style=\"background: #FFF; padding: 0\">#}
{% block header %}
{{ render(controller(\"App\\\\Controller\\\\BaseController::header\", {'route' : app.request.get('_route'), 'request' : app.request, 'action' : (action is defined ? action : null) })) }}
{% endblock %}
{# </div>#}
{# <div class=\"container\" style=\"background: #FFF; padding-left: 10px; padding-right: 10px; padding-bottom: 10px; margin-top: 120px\">#}
{% block body %}{% endblock %}
{# </div>#}
<footer class=\"\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-3 order-3 order-md-1 mob-mt-15\">
<a href=\"mailto:info@mosregco.ru\">info@mosregco.ru</a><br />
<a href=\"tel:+74994506588 \">+7 (499) 450-65-88</a><br />
<div style=\"margin-top: 33px\">
<a href=\"https://mii.mosreg.ru/\" target=\"_blank\"><img src=\"{{ asset('assets/images/new/footer_l.svg') }}\" style=\"margin-right: 20px\"></a>
<a href=\"https://t.me/mosregco\"><img src=\"{{ asset('assets/images/new/icon_telegram.svg') }}\" class=\" d-inline d-md-none mob-mt-15\"></a>
</div>
</div>
<div class=\"col-md-4 order-2 order-md-2 mob-mt-35\">
г. Москва, ул. Кулакова, д.20, корп.1, <br />
БЦ “Орбита-2”, корп.Альфа, 6 этаж
<div style=\"margin-top: 33px\" class=\" d-none d-md-block\">
<a href=\"https://t.me/mosregco\"><img src=\"{{ asset('assets/images/new/icon_telegram.svg') }}\"></a>
</div>
</div>
<div class=\"col-md-5 order-1 order-md-3 \">
<div class=\"btns-group\">
<a href=\"#\" class=\"btn-black\" data-bs-toggle=\"modal\" data-bs-target=\"#formSModal\">подобрать площадку</a>
{# <a href=\"#\" class=\"btn-contrast\">заявка на подбор</a>#}
</div>
<div class=\"mt25 d-none d-md-block\" style=\"font-size: 12px\">
© «Корпорация развития Московской области», {{ 'now' | date('Y') }}
</div>
<div class=\"mt25\" style=\"font-size: 12px\">
<a href=\"{{ path('app_map') }}\">Карта сайта</a>
</div>
</div>
</div>
<div class=\"mt25 d-block d-md-none\" style=\"font-size: 12px\">
© «Корпорация развития Московской области», {{ 'now' | date('Y') }}
</div>
</div>
</footer>
{#{{ include('new\\\\modals\\\\present_form.html.twig') }}#}
{#{{ include('new\\\\modals\\\\email_success.html.twig') }}#}
{{ render(controller(\"App\\\\Controller\\\\BaseController::modal\", {'modalName' : 'presentForm' })) }}
{{ render(controller(\"App\\\\Controller\\\\BaseController::modal\", {'modalName' : 'emailSuccess' })) }}
{{ render(controller(\"App\\\\Controller\\\\BaseController::modal\", {'modalName' : 'formSuccess' })) }}
{{ render(controller(\"App\\\\Controller\\\\BaseController::modal\", {'modalName' : 'formS' })) }}
{{ render(controller(\"App\\\\Controller\\\\BaseController::modal\", {'modalName' : 'formS2' })) }}
{{ render(controller(\"App\\\\Controller\\\\BaseController::modal\", {'modalName' : 'subscriberSuccess' })) }}
{#{{ include('new\\\\modals\\\\form_success.html.twig') }}#}
{{ include('new\\\\modals\\\\form_iframe.html.twig') }}
{#{{ include('new\\\\modals\\\\form_s.html.twig') }}#}
{#{% if app.session.flashbag.get('modal') %}#}
<script>
{% for type, messages in app.session.flashbag.all() %}
{% for message in messages %}
{% if type == 'modal' %}
\$(document).ready(function (){
\$('#{{ message }}Modal').modal('show');
});
{% endif %}
{% endfor %}
{% endfor %}
</script>
{#{% endif %}#}
<div class=\"bg-gray\"></div>
{#{{ include('Element\\\\form_sq.html.twig') }}#}
{#{{ include('Element\\\\form_sq_2.html.twig') }}#}
{#{{ render(controller(\"App\\\\Controller\\\\BaseController::siteSelected\")) }}#}
<script type=\"text/javascript\">
var _tmr = window._tmr || (window._tmr = []);
_tmr.push({id: \"3427044\", type: \"pageView\", start: (new Date()).getTime()});
(function (d, w, id) {
if (d.getElementById(id)) return;
var ts = d.createElement(\"script\"); ts.type = \"text/javascript\"; ts.async = true; ts.id = id;
ts.src = \"https://top-fwz1.mail.ru/js/code.js\";
var f = function () {var s = d.getElementsByTagName(\"script\")[0]; s.parentNode.insertBefore(ts, s);};
if (w.opera == \"[object Opera]\") { d.addEventListener(\"DOMContentLoaded\", f, false); } else { f(); }
})(document, window, \"tmr-code\");
</script>
<noscript><div><img src=\"https://top-fwz1.mail.ru/counter?id=3427044;js=na\" style=\"position:absolute;left:-9999px;\" alt=\"Top.Mail.Ru\" /></div></noscript>
<!-- /Top.Mail.Ru counter -->
<!-- Top100 (Kraken) Counter -->
<script>
(function (w, d, c) {
(w[c] = w[c] || []).push(function() {
var options = {
project: 7727501,
};
try {
w.top100Counter = new top100(options);
} catch(e) { }
});
var n = d.getElementsByTagName(\"script\")[0],
s = d.createElement(\"script\"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = \"text/javascript\";
s.async = true;
s.src =
(d.location.protocol == \"https:\" ? \"https:\" : \"http:\") +
\"//st.top100.ru/top100/top100.js\";
if (w.opera == \"[object Opera]\") {
d.addEventListener(\"DOMContentLoaded\", f, false);
} else { f(); }
})(window, document, \"_top100q\");
</script>
<noscript>
<img src=\"//counter.rambler.ru/top100.cnt?pid=7727501\" alt=\"Топ-100\" />
</noscript>
<!-- END Top100 (Kraken) Counter -->
<!-- Yandex.Metrika counter -->
<script type=\"text/javascript\" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
ym(92929033, \"init\", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true,
ecommerce:\"dataLayer\"
});
</script>
<noscript><div><img src=\"https://mc.yandex.ru/watch/92929033\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
<!-- /Yandex.Metrika counter -->
{#<div class=\"language\">#}
{# <img src=\"{{ asset('assets/google-translate-custom-widget/jquery/images/lang/lang__ru.png') }}\" alt=\"ru\" data-google-lang=\"ru\" class=\"language__img\">#}
{# <img src=\"{{ asset('assets/google-translate-custom-widget/jquery/images/lang/lang__en.png') }}\" alt=\"en\" data-google-lang=\"en\" class=\"language__img\">#}
{# <img src=\"{{ asset('assets/google-translate-custom-widget/jquery/images/lang/lang__de.png') }}\" alt=\"de\" data-google-lang=\"de\" class=\"language__img\">#}
{#</div>#}
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-WZR3XFB16N\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-WZR3XFB16N');
</script>
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-WZR3XFB16N\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-WZR3XFB16N');
</script>
</body>
</html>
", "new/base.html.twig", "/var/www/mosportal/templates/new/base.html.twig");
}
}