var/cache/te_dev/twig/14/14245092c3710d3afb165a60fae8d83b2a783cdb75df073490b8db5eec86c400.php line 753

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Web/layout.html.twig */
  14. class __TwigTemplate_a3e59e040eb0c9cb88e3214fa38a652d3ad98c99fc26e2a3200ad33bdeebd268 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'extraGoogleTagScript' => [$this'block_extraGoogleTagScript'],
  25.             'beforeTGM' => [$this'block_beforeTGM'],
  26.             'meta' => [$this'block_meta'],
  27.             'title' => [$this'block_title'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'filter_menu' => [$this'block_filter_menu'],
  30.             'content' => [$this'block_content'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  38.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/layout.html.twig"));
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/layout.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/layout.html.twig"));
  43.         // line 1
  44.         ob_start();
  45.         // line 2
  46.         echo "<!DOCTYPE html>
  47. <html id=\"html-ai8Y8J31\" lang=\"";
  48.         // line 3
  49.         echo twig_escape_filter($this->env$this->extensions['WebBundle\Twig\AppExtension']->userLocale(), "html"nulltrue);
  50.         echo "\"
  51.       data-locale=\"";
  52.         // line 4
  53.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'4$this->source); })()), "request", [], "any"falsefalsefalse4), "get", [=> "_locale"], "method"falsefalsefalse4), "html"nulltrue);
  54.         echo "\"
  55.       data-ga=\"";
  56.         // line 5
  57.         echo twig_escape_filter($this->env$this->extensions['WebBundle\Twig\AppExtension']->userGA(), "html"nulltrue);
  58.         echo "\"
  59.       data-debug=\"";
  60.         // line 6
  61.         echo (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'6$this->source); })()), "request", [], "any"falsefalsefalse6), "get", [=> "d"], "method"falsefalsefalse6) || 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.'6$this->source); })()), "debug", [], "any"falsefalsefalse6))) ? (1) : (0));
  62.         echo "\"
  63.       data-currency=\"";
  64.         // line 7
  65.         echo twig_escape_filter($this->env$this->extensions['WebBundle\Twig\AppExtension']->userCurrency(), "html"nulltrue);
  66.         echo "\"
  67.       data-measure=\"";
  68.         // line 8
  69.         echo twig_escape_filter($this->env$this->extensions['WebBundle\Twig\AppExtension']->userMeasure(), "html"nulltrue);
  70.         echo "\"
  71.       data-env=\"TE\"
  72.       data-logged=\"";
  73.         // line 10
  74.         echo (($this->extensions['WebBundle\Twig\AppExtension']->isLogged()) ? (1) : (0));
  75.         echo "\"
  76.       ";
  77.         // line 12
  78.         echo "      data-jwt=\"";
  79.         echo twig_escape_filter($this->env$this->extensions['WebBundle\Twig\AppExtension']->getJwt(), "html"nulltrue);
  80.         echo "\"
  81.       data-user_channel=\"";
  82.         // line 13
  83.         echo twig_escape_filter($this->env$this->extensions['WebBundle\Twig\AppExtension']->getUserChannel(), "html"nulltrue);
  84.         echo "\"
  85.       data-centrifugo_connection_url=\"";
  86.         // line 14
  87.         echo twig_escape_filter($this->env, (isset($context["centrifugoConnectionUrl"]) || array_key_exists("centrifugoConnectionUrl"$context) ? $context["centrifugoConnectionUrl"] : (function () { throw new RuntimeError('Variable "centrifugoConnectionUrl" does not exist.'14$this->source); })()), "html"nulltrue);
  88.         echo "\"
  89.       data-token=\"";
  90.         // line 15
  91.         echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'15$this->source); })()), "html"nulltrue);
  92.         echo "\"
  93.       data-cons-online-attribute-url=\"";
  94.         // line 16
  95.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("get_cons_online_attribute");
  96.         echo "\"
  97.       data-tokenCF=\"";
  98.         // line 17
  99.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(((isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'17$this->source); })()) . twig_date_format_filter($this->envtwig_date_converter($this->env"now"), "Y-m-d H"))), "html"nulltrue);
  100.         echo "\"
  101.       data-auth-info=\"";
  102.         // line 18
  103.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'18$this->source); })()), "session", [], "any"falsefalsefalse18), "remove", [=> "successAuth"], "method"falsefalsefalse18), "html"nulltrue);
  104.         echo "\"
  105. >
  106. <head>
  107.     ";
  108.         // line 21
  109.         if ((( !twig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'21$this->source); })()), "checkIsDev", [], "any"falsefalsefalse21) && array_key_exists("googleRemarketing"$context)) && (isset($context["googleRemarketing"]) || array_key_exists("googleRemarketing"$context) ? $context["googleRemarketing"] : (function () { throw new RuntimeError('Variable "googleRemarketing" does not exist.'21$this->source); })()))) {
  110.             // line 22
  111.             echo "        <script>
  112.             window.dataLayer = window.dataLayer || [];
  113.             function gtag(){dataLayer.push(arguments);}
  114.             gtag('consent', 'default', {
  115.                 'ad_storage': 'denied',
  116.                 'analytics_storage': 'denied',
  117.                 'ad_user_data': 'denied',
  118.                 'ad_personalization': 'denied'
  119.             });
  120.             setTimeout(function() {
  121.                 gtag('consent', 'update', {
  122.                     'ad_storage': 'granted',
  123.                     'analytics_storage': 'granted',
  124.                     'ad_user_data': 'granted',
  125.                     'ad_personalization': 'granted'
  126.                 });
  127.             }, 2000);
  128.         </script>
  129.         <!-- Google Tag Manager -->
  130.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  131.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  132.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  133.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  134.         })(window,document,'script','dataLayer','GTM-WCNQMZ8');</script>
  135.         <!-- End Google Tag Manager -->
  136.         ";
  137.             // line 47
  138.             $this->displayBlock('extraGoogleTagScript'$context$blocks);
  139.             // line 48
  140.             echo "    ";
  141.         } else {
  142.             // line 49
  143.             echo "        <meta name=\"checkIsDev\" content=\"";
  144.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'49$this->source); })()), "checkIsDev", [], "any"falsefalsefalse49), "html"nulltrue);
  145.             echo "\" />
  146.         <meta name=\"googleRemarketing\" content=\"";
  147.             // line 50
  148.             ((array_key_exists("googleRemarketing"$context)) ? (print (twig_escape_filter($this->env, (isset($context["googleRemarketing"]) || array_key_exists("googleRemarketing"$context) ? $context["googleRemarketing"] : (function () { throw new RuntimeError('Variable "googleRemarketing" does not exist.'50$this->source); })()), "html"nulltrue))) : (print ("-")));
  149.             echo "\" />
  150.     ";
  151.         }
  152.         // line 52
  153.         echo "    ";
  154.         $this->displayBlock('beforeTGM'$context$blocks);
  155.         // line 53
  156.         echo "    ";
  157.         $context["curRoute"] = "";
  158.         // line 54
  159.         echo "    ";
  160.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["te"] ?? null), "request", [], "any"falsetruefalse54), "get", [=> "_route"], "method"truetruefalse54) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'54$this->source); })()), "request", [], "any"falsefalsefalse54), "get", [=> "_route"], "method"falsefalsefalse54))) {
  161.             // line 55
  162.             echo "    \t";
  163.             $context["curRoute"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'55$this->source); })()), "request", [], "any"falsefalsefalse55), "get", [=> "_route"], "method"falsefalsefalse55);
  164.             // line 56
  165.             echo "    ";
  166.         }
  167.         // line 57
  168.         echo "   \t";
  169.         $context["isCollectionPageOrSlideShow"] = twig_in_filter((isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'57$this->source); })()), [=> "app_collection"=> "app_collection_slideshow"=> "app_collection_slideshow_f"]);
  170.         // line 58
  171.         echo "
  172.     ";
  173.         // line 59
  174.         $this->loadTemplate("@Web/base-meta-header.html.twig""@Web/layout.html.twig"59)->display($context);
  175.         // line 60
  176.         echo "\t";
  177.         // line 61
  178.         echo "    <meta content=\"authenticity_token\" name=\"csrf-param\" />
  179.     <meta content=\"";
  180.         // line 62
  181.         echo twig_escape_filter($this->env, (isset($context["csrf_token"]) || array_key_exists("csrf_token"$context) ? $context["csrf_token"] : (function () { throw new RuntimeError('Variable "csrf_token" does not exist.'62$this->source); })()), "html"nulltrue);
  182.         echo "\" name=\"csrf-token\" />
  183.     ";
  184.         // line 64
  185.         echo "    <meta name=\"format-detection\" content=\"telephone=no\" />
  186.     ";
  187.         // line 65
  188.         $this->displayBlock('meta'$context$blocks);
  189.         // line 67
  190.         echo "
  191. \t";
  192.         // line 69
  193.         echo "    ";
  194.         $context["baseLinkRel"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'69$this->source); })()), "request", [], "any"falsefalsefalse69), "getSchemeAndHttpHost", [], "method"falsefalsefalse69);
  195.         // line 70
  196.         echo "    ";
  197.         if (((isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'70$this->source); })()) != "")) {
  198.             // line 71
  199.             echo "        ";
  200.             $context["routeLinkRel"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'71$this->source); })()), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'71$this->source); })()), "request", [], "any"falsefalsefalse71), "get", [=> "_route_params"], "method"falsefalsefalse71));
  201.             // line 72
  202.             echo "        ";
  203.             // line 73
  204.             echo "        ";
  205.             // line 74
  206.             echo "        ";
  207.             $context["routeLinkRel"] = twig_join_filter(twig_slice($this->envtwig_split_filter($this->env, (isset($context["routeLinkRel"]) || array_key_exists("routeLinkRel"$context) ? $context["routeLinkRel"] : (function () { throw new RuntimeError('Variable "routeLinkRel" does not exist.'74$this->source); })()), "/"), 2), "/");
  208.             // line 75
  209.             echo "    ";
  210.         } else {
  211.             // line 76
  212.             echo "        ";
  213.             $context["routeLinkRel"] = "#";
  214.             // line 77
  215.             echo "    ";
  216.         }
  217.         // line 78
  218.         echo "
  219.     ";
  220.         // line 79
  221.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'79$this->source); })()), "request", [], "any"falsefalsefalse79), "get", [=> "v"], "method"falsefalsefalse79) != null)) {
  222.             // line 80
  223.             echo "        <meta name=\"robots\" content=\"noindex, nofollow\" />
  224.     ";
  225.         }
  226.         // line 82
  227.         echo "    ";
  228.         // line 86
  229.         echo "
  230.     ";
  231.         // line 87
  232.         if ((( !array_key_exists("noSEOLink"$context) && ((isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'87$this->source); })()) != "")) && ($this->extensions['WebBundle\Twig\AppExtension']->userCountry() != "ru"))) {
  233.             // line 88
  234.             echo "        ";
  235.             // line 89
  236.             echo "        ";
  237.             if ((((isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'89$this->source); })()) != "") && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["te"] ?? null), "request", [], "any"falsetruefalse89), "get", [=> "_route_params"], "method"truetruefalse89))) {
  238.                 // line 90
  239.                 echo "            ";
  240.                 echo twig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'90$this->source); })()), "SEOLink", [=> (isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'90$this->source); })()), => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'90$this->source); })()), "request", [], "any"falsefalsefalse90), "get", [=> "_route_params"], "method"falsefalsefalse90), => ((array_key_exists("hrefFlag"$context)) ? ((isset($context["hrefFlag"]) || array_key_exists("hrefFlag"$context) ? $context["hrefFlag"] : (function () { throw new RuntimeError('Variable "hrefFlag" does not exist.'90$this->source); })())) : (null))], "method"falsefalsefalse90);
  241.                 echo "
  242.         ";
  243.             }
  244.             // line 92
  245.             echo "    ";
  246.         }
  247.         // line 93
  248.         echo "
  249. \t";
  250.         // line 95
  251.         echo "        ";
  252.         // line 96
  253.         echo "\t";
  254.         // line 97
  255.         echo "
  256.     <meta name=\"msvalidate.01\" content=\"465EFDDEC49D260187BF1FAF4F2FEB88\" />
  257.     <meta name=\"timestamp\" content=\"";
  258.         // line 99
  259.         echo twig_escape_filter($this->env$this->extensions['WebBundle\Twig\AppExtension']->timestamp(), "html"nulltrue);
  260.         echo "\" />
  261.     <title>
  262.         ";
  263.         // line 102
  264.         $this->displayBlock('title'$context$blocks);
  265.         // line 103
  266.         echo "    </title>
  267.     ";
  268.         // line 105
  269.         $this->displayBlock('stylesheets'$context$blocks);
  270.         // line 133
  271.         echo "
  272. \t";
  273.         // line 134
  274.         $this->loadTemplate("@Web/facebookPixelCode.html.twig""@Web/layout.html.twig"134)->display($context);
  275.         // line 135
  276.         echo "</head>
  277. ";
  278.         // line 137
  279.         $context["bodyClass"] = "";
  280.         // line 138
  281.         if (((isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'138$this->source); })()) == "app_collection")) {
  282.             // line 139
  283.             echo "\t";
  284.             $context["bodyClass"] = " collection-active";
  285.         }
  286.         // line 141
  287.         if (((twig_in_filter((isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'141$this->source); })()), [=> "app_collection_slideshow"=> "app_collection_slideshow_f"]) && $this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) &&  !$this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isTablet())) {
  288.             // line 142
  289.             echo "\t";
  290.             $context["bodyClass"] = ((isset($context["bodyClass"]) || array_key_exists("bodyClass"$context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.'142$this->source); })()) . " slider-active");
  291.         }
  292.         // line 144
  293.         echo "
  294. <body id=\"body\" class=\"clearfix";
  295.         // line 145
  296.         echo twig_escape_filter($this->env, (isset($context["bodyClass"]) || array_key_exists("bodyClass"$context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.'145$this->source); })()), "html"nulltrue);
  297.         echo "\">
  298. \t";
  299.         // line 146
  300.         if ((array_key_exists("googleRemarketing"$context) && (isset($context["googleRemarketing"]) || array_key_exists("googleRemarketing"$context) ? $context["googleRemarketing"] : (function () { throw new RuntimeError('Variable "googleRemarketing" does not exist.'146$this->source); })()))) {
  301.             // line 147
  302.             echo "\t<!-- Google Tag Manager (noscript) -->
  303.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WCNQMZ8\"
  304.     height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  305.     <!-- End Google Tag Manager (noscript) -->
  306. \t";
  307.         }
  308.         // line 152
  309.         echo "
  310.     <div class=\"data-confirm\"
  311.          data-confirm-yes=\"";
  312.         // line 154
  313.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("yes"), "html"nulltrue);
  314.         echo "\"
  315.          data-confirm-no=\"";
  316.         // line 155
  317.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no"), "html"nulltrue);
  318.         echo "\"
  319.          data-confirm-ok=\"";
  320.         // line 156
  321.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("order.ok"), "html"nulltrue);
  322.         echo "\"
  323.          data-confirm-header=\"";
  324.         // line 157
  325.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("buyOrder.confirm.header"), "html"nulltrue);
  326.         echo "\"></div>
  327.     <div class=\"data-confirm-sample\"
  328.          ";
  329.         // line 160
  330.         echo "         data-confirm-sample-title=\"";
  331.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("order.sample_is_true"), "html"nulltrue);
  332.         echo "\" ";
  333.         // line 161
  334.         echo "         ";
  335.         // line 163
  336.         echo "         data-confirm-sample-text=\"\" ";
  337.         // line 164
  338.         echo "    ></div>
  339.     <div class=\"data-toastmessage\"
  340.     \t data-header-warning=\"";
  341.         // line 167
  342.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("buyOrder.confirm.header"), "html"nulltrue);
  343.         echo "\"
  344.     \t data-header-error=\"";
  345.         // line 168
  346.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("error"), "html"nulltrue);
  347.         echo "\"
  348.     \t data-header-success=\"";
  349.         // line 169
  350.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("success"), "html"nulltrue);
  351.         echo "\"
  352.    \t></div>
  353. \t<div class=\"swipe-area-menu-open\"></div>
  354. \t";
  355.         // line 175
  356.         echo "\t<div class=\"overlay-bg\"></div>
  357. \t<div class=\"lining\"></div>
  358.     ";
  359.         // line 181
  360.         echo "    <div class=\"set-z-index\"></div>
  361.     ";
  362.         // line 184
  363.         echo "    ";
  364.         // line 185
  365.         echo "    <div class=\"wrap-content js-wrap-content\"
  366.          ";
  367.         // line 186
  368.         if (twig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'186$this->source); })()), "checkIsDev", [], "any"falsefalsefalse186)) {
  369.             echo " data-dev=\"true\" ";
  370.         }
  371.         // line 187
  372.         echo "
  373.     \t ";
  374.         // line 188
  375.         if (($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() &&  !$this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isTablet())) {
  376.             // line 189
  377.             echo "             data-smartphone=\"true\"
  378.          ";
  379.         } elseif ($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
  380.             // line 191
  381.             echo "             data-mobile=\"true\"
  382.          ";
  383.         }
  384.         // line 193
  385.         echo "    >
  386.         ";
  387.         // line 194
  388.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("WebBundle\\Controller\\CommonController::topAction"));
  389.         echo "
  390.         ";
  391.         // line 197
  392.         echo "        ";
  393.         $context["isExhibition"] = (array_key_exists("blog"$context) && twig_get_attribute($this->env$this->source, (isset($context["blog"]) || array_key_exists("blog"$context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.'197$this->source); })()), "isExhibition", [], "any"falsefalsefalse197));
  394.         echo " ";
  395.         // line 198
  396.         echo "        ";
  397.         $this->displayBlock('filter_menu'$context$blocks);
  398.         // line 201
  399.         echo "
  400.         ";
  401.         // line 203
  402.         echo "        <div class=\"wrap ";
  403.         if ((isset($context["isExhibition"]) || array_key_exists("isExhibition"$context) ? $context["isExhibition"] : (function () { throw new RuntimeError('Variable "isExhibition" does not exist.'203$this->source); })())) {
  404.             echo "wrap-exhibition";
  405.         }
  406.         echo "\">
  407.             <div class=\"container-fluid\">
  408.                 <div class=\"row\">
  409.                     <div class=\"col-sm-12\">
  410.                         ";
  411.         // line 208
  412.         echo "                        <div id=\"main\" class=\"main fixed-width clearfix ";
  413.         echo ((((isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'208$this->source); })()) == "app_catalog")) ? ("main-for-catalog") : (""));
  414.         echo "\">
  415.                             ";
  416.         // line 209
  417.         $context['_parent'] = $context;
  418.         $context['_seq'] = twig_ensure_traversable(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.'209$this->source); })()), "flashes", [], "any"falsefalsefalse209));
  419.         $context['loop'] = [
  420.           'parent' => $context['_parent'],
  421.           'index0' => 0,
  422.           'index'  => 1,
  423.           'first'  => true,
  424.         ];
  425.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  426.             $length count($context['_seq']);
  427.             $context['loop']['revindex0'] = $length 1;
  428.             $context['loop']['revindex'] = $length;
  429.             $context['loop']['length'] = $length;
  430.             $context['loop']['last'] = === $length;
  431.         }
  432.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  433.             // line 210
  434.             echo "                                ";
  435.             $context['_parent'] = $context;
  436.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  437.             $context['loop'] = [
  438.               'parent' => $context['_parent'],
  439.               'index0' => 0,
  440.               'index'  => 1,
  441.               'first'  => true,
  442.             ];
  443.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  444.                 $length count($context['_seq']);
  445.                 $context['loop']['revindex0'] = $length 1;
  446.                 $context['loop']['revindex'] = $length;
  447.                 $context['loop']['length'] = $length;
  448.                 $context['loop']['last'] = === $length;
  449.             }
  450.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  451.                 // line 211
  452.                 echo "                                    <div class=\"flash-";
  453.                 echo twig_escape_filter($this->env$context["label"], "html"nulltrue);
  454.                 echo "\">
  455.                                         ";
  456.                 // line 212
  457.                 $this->loadTemplate("@Web/Common/notifications.html.twig""@Web/layout.html.twig"212)->display(twig_array_merge($context, ["notificationType" => $context["label"], "notificationText" => $context["message"]]));
  458.                 // line 213
  459.                 echo "                                    </div>
  460.                                 ";
  461.                 ++$context['loop']['index0'];
  462.                 ++$context['loop']['index'];
  463.                 $context['loop']['first'] = false;
  464.                 if (isset($context['loop']['length'])) {
  465.                     --$context['loop']['revindex0'];
  466.                     --$context['loop']['revindex'];
  467.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  468.                 }
  469.             }
  470.             $_parent $context['_parent'];
  471.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  472.             $context array_intersect_key($context$_parent) + $_parent;
  473.             // line 215
  474.             echo "                            ";
  475.             ++$context['loop']['index0'];
  476.             ++$context['loop']['index'];
  477.             $context['loop']['first'] = false;
  478.             if (isset($context['loop']['length'])) {
  479.                 --$context['loop']['revindex0'];
  480.                 --$context['loop']['revindex'];
  481.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  482.             }
  483.         }
  484.         $_parent $context['_parent'];
  485.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  486.         $context array_intersect_key($context$_parent) + $_parent;
  487.         // line 216
  488.         echo "
  489.                             ";
  490.         // line 217
  491.         $this->displayBlock('content'$context$blocks);
  492.         // line 220
  493.         echo "                        </div>
  494.                     </div>
  495.                 </div>
  496.             </div>
  497.         </div>
  498.         <div class=\"both\"></div>
  499.     </div>
  500.     ";
  501.         // line 230
  502.         if ((((        // line 231
  503. (isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'231$this->source); })()) != "discuss") && (        // line 232
  504. (isset($context["curRoute"]) || array_key_exists("curRoute"$context) ? $context["curRoute"] : (function () { throw new RuntimeError('Variable "curRoute" does not exist.'232$this->source); })()) != "app_chatb_chatbpage")) && ((        // line 233
  505. array_key_exists("noFloor"$context) == false) || ((isset($context["noFloor"]) || array_key_exists("noFloor"$context) ? $context["noFloor"] : (function () { throw new RuntimeError('Variable "noFloor" does not exist.'233$this->source); })()) == false)))) {
  506.             // line 235
  507.             echo "        ";
  508.             echo twig_include($this->env$context"@Web/Common/footer.html.twig");
  509.             echo "
  510.     ";
  511.         } else {
  512.             // line 237
  513.             echo "        <footer id=\"footer\"> </footer>
  514.     ";
  515.         }
  516.         // line 239
  517.         echo "
  518.     ";
  519.         // line 240
  520.         echo twig_include($this->env$context"@Web/base-js.html.twig");
  521.         echo "
  522.     ";
  523.         // line 242
  524.         $this->displayBlock('javascripts'$context$blocks);
  525.         // line 243
  526.         echo "
  527.     ";
  528.         // line 244
  529.         if ((($this->extensions['WebBundle\Twig\AppExtension']->userCountry() == "ru") && (twig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'244$this->source); })()), "checkIsDev", [], "any"falsefalsefalse244) == false))) {
  530.             // line 245
  531.             echo "        <script src=\"//cdn.callibri.ru/callibri.js\" type=\"text/javascript\" charset=\"utf-8\"></script>
  532.     ";
  533.         }
  534.         // line 247
  535.         echo "    ";
  536.         // line 248
  537.         echo "    ";
  538.         // line 260
  539.         echo "    ";
  540.         if (($this->extensions['WebBundle\Twig\AppExtension']->useRTWidget() && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'260$this->source); })()), "request", [], "any"falsefalsefalse260), "attributes", [], "any"falsefalsefalse260), "get", [=> "_route"], "method"falsefalsefalse260) != "app_chatb_chatbpage"))) {
  541.             // line 263
  542.             echo "        <script src=\"https://rtc.remote.team/scripts.js?port-num=3001&chat-id=170619828665B2850E08B2F170619828&client-id=";
  543.             echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'263$this->source); })()), "html"nulltrue);
  544.             echo "&custom-trigger-id=chat-widget-btn&portal-subdomain=te\"></script>
  545.     ";
  546.         }
  547.         // line 265
  548.         echo "</body>
  549. </html>
  550. ";
  551.         echo trim(preg_replace( ['/>\s+</''/[\x00-\x20]+/'], ['><'' '] , ob_get_clean()));
  552.         
  553.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  554.         
  555.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  556.         
  557.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  558.     }
  559.     // line 47
  560.     public function block_extraGoogleTagScript($context, array $blocks = [])
  561.     {
  562.         $macros $this->macros;
  563.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  564.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extraGoogleTagScript"));
  565.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  566.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extraGoogleTagScript"));
  567.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  568.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extraGoogleTagScript"));
  569.         
  570.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  571.         
  572.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  573.         
  574.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  575.     }
  576.     // line 52
  577.     public function block_beforeTGM($context, array $blocks = [])
  578.     {
  579.         $macros $this->macros;
  580.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  581.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""beforeTGM"));
  582.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  583.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""beforeTGM"));
  584.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  585.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""beforeTGM"));
  586.         
  587.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  588.         
  589.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  590.         
  591.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  592.     }
  593.     // line 65
  594.     public function block_meta($context, array $blocks = [])
  595.     {
  596.         $macros $this->macros;
  597.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  598.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  599.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  600.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  601.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  602.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  603.         // line 66
  604.         echo "    ";
  605.         
  606.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  607.         
  608.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  609.         
  610.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  611.     }
  612.     // line 102
  613.     public function block_title($context, array $blocks = [])
  614.     {
  615.         $macros $this->macros;
  616.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  617.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  618.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  619.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  620.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  621.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  622.         
  623.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  624.         
  625.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  626.         
  627.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  628.     }
  629.     // line 105
  630.     public function block_stylesheets($context, array $blocks = [])
  631.     {
  632.         $macros $this->macros;
  633.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  634.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  635.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  636.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  637.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  638.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  639.         // line 106
  640.         echo "        ";
  641.         // line 107
  642.         echo "        ";
  643.         // line 108
  644.         echo "        ";
  645.         // line 109
  646.         echo "        ";
  647.         if ($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isTablet()) {
  648.             // line 110
  649.             echo "            ";
  650.             // line 111
  651.             echo "            <style>
  652.             \t.innerBoxInformer,.share-icons:hover .share-body,.swiper-container .collection-video {display: none;}
  653. \t\t\t\t.share-icons .share-body.shown,.swiper-container .carousel-video-item {display: block;}
  654. \t\t\t\t";
  655.             // line 115
  656.             echo "\t\t\t\t.view-with-collection .collection-viewed-with-header .total-count-viewed-with {padding: 5px;}
  657.             </style>
  658.         ";
  659.         } elseif ($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
  660.             // line 118
  661.             echo "            ";
  662.             // line 119
  663.             echo "            <style>
  664.             \t.innerBoxInformer,.share-icons:hover .share-body {display: none;}
  665. \t\t\t\t.share-icons .share-body.shown,.swiper-container .carousel-video-item {display: block;}
  666. \t\t\t\t@media screen and (max-height: 400px) {
  667. \t\t\t\t\t";
  668.             // line 124
  669.             echo "\t\t\t\t\t.login-locale-block .tab-block.wrap-change-location.active .pseudo-height {height: 0px;}
  670. \t\t\t\t}
  671. \t\t\t\t";
  672.             // line 127
  673.             echo "\t\t\t\tinput,input:focus {font-size: 16px;}
  674. \t\t\t\t";
  675.             // line 129
  676.             echo "\t\t\t\t.view-with-collection .collection-viewed-with-header .total-count-viewed-with {padding: 5px;}
  677.             </style>
  678.         ";
  679.         }
  680.         // line 132
  681.         echo "    ";
  682.         
  683.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  684.         
  685.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  686.         
  687.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  688.     }
  689.     // line 198
  690.     public function block_filter_menu($context, array $blocks = [])
  691.     {
  692.         $macros $this->macros;
  693.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  694.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""filter_menu"));
  695.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  696.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""filter_menu"));
  697.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  698.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""filter_menu"));
  699.         // line 199
  700.         echo "            ";
  701.         echo twig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'199$this->source); })()), "buildLeftMenuLite", [=>  !(isset($context["isExhibition"]) || array_key_exists("isExhibition"$context) ? $context["isExhibition"] : (function () { throw new RuntimeError('Variable "isExhibition" does not exist.'199$this->source); })())], "method"falsefalsefalse199);
  702.         echo "
  703.         ";
  704.         
  705.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  706.         
  707.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  708.         
  709.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  710.     }
  711.     // line 217
  712.     public function block_content($context, array $blocks = [])
  713.     {
  714.         $macros $this->macros;
  715.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  716.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  717.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  718.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  719.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  720.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  721.         // line 218
  722.         echo "                                <div id=\"RightContent\"></div>
  723.                             ";
  724.         
  725.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  726.         
  727.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  728.         
  729.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  730.     }
  731.     // line 242
  732.     public function block_javascripts($context, array $blocks = [])
  733.     {
  734.         $macros $this->macros;
  735.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  736.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  737.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  738.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  739.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  740.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  741.         
  742.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  743.         
  744.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  745.         
  746.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  747.     }
  748.     public function getTemplateName()
  749.     {
  750.         return "@Web/layout.html.twig";
  751.     }
  752.     public function isTraitable()
  753.     {
  754.         return false;
  755.     }
  756.     public function getDebugInfo()
  757.     {
  758.         return array (  809 => 242,  795 => 218,  782 => 217,  766 => 199,  753 => 198,  740 => 132,  735 => 129,  732 => 127,  728 => 124,  722 => 119,  720 => 118,  715 => 115,  710 => 111,  708 => 110,  705 => 109,  703 => 108,  701 => 107,  699 => 106,  686 => 105,  662 => 102,  649 => 66,  636 => 65,  612 => 52,  588 => 47,  572 => 265,  566 => 263,  563 => 260,  561 => 248,  559 => 247,  555 => 245,  553 => 244,  550 => 243,  548 => 242,  543 => 240,  540 => 239,  536 => 237,  530 => 235,  528 => 233,  527 => 232,  526 => 231,  525 => 230,  513 => 220,  511 => 217,  508 => 216,  494 => 215,  479 => 213,  477 => 212,  472 => 211,  454 => 210,  437 => 209,  432 => 208,  422 => 203,  419 => 201,  416 => 198,  412 => 197,  407 => 194,  404 => 193,  400 => 191,  396 => 189,  394 => 188,  391 => 187,  387 => 186,  384 => 185,  382 => 184,  378 => 181,  372 => 175,  364 => 169,  360 => 168,  356 => 167,  351 => 164,  349 => 163,  347 => 161,  343 => 160,  338 => 157,  334 => 156,  330 => 155,  326 => 154,  322 => 152,  315 => 147,  313 => 146,  309 => 145,  306 => 144,  302 => 142,  300 => 141,  296 => 139,  294 => 138,  292 => 137,  288 => 135,  286 => 134,  283 => 133,  281 => 105,  277 => 103,  275 => 102,  269 => 99,  265 => 97,  263 => 96,  261 => 95,  258 => 93,  255 => 92,  249 => 90,  246 => 89,  244 => 88,  242 => 87,  239 => 86,  237 => 82,  233 => 80,  231 => 79,  228 => 78,  225 => 77,  222 => 76,  219 => 75,  216 => 74,  214 => 73,  212 => 72,  209 => 71,  206 => 70,  203 => 69,  200 => 67,  198 => 65,  195 => 64,  191 => 62,  188 => 61,  186 => 60,  184 => 59,  181 => 58,  178 => 57,  175 => 56,  172 => 55,  169 => 54,  166 => 53,  163 => 52,  158 => 50,  153 => 49,  150 => 48,  148 => 47,  121 => 22,  119 => 21,  113 => 18,  109 => 17,  105 => 16,  101 => 15,  97 => 14,  93 => 13,  88 => 12,  84 => 10,  79 => 8,  75 => 7,  71 => 6,  67 => 5,  63 => 4,  59 => 3,  56 => 2,  54 => 1,);
  759.     }
  760.     public function getSourceContext()
  761.     {
  762.         return new Source("{% compress %}
  763. <!DOCTYPE html>
  764. <html id=\"html-ai8Y8J31\" lang=\"{{ userLocale() }}\"
  765.       data-locale=\"{{ te.request.get('_locale') }}\"
  766.       data-ga=\"{{ userGA() }}\"
  767.       data-debug=\"{{ te.request.get('d') or app.debug ? 1 : 0 }}\"
  768.       data-currency=\"{{ userCurrency() }}\"
  769.       data-measure=\"{{ userMeasure() }}\"
  770.       data-env=\"TE\"
  771.       data-logged=\"{{ isLogged() ? 1 : 0 }}\"
  772.       {#data-initial-unread-count=\"{{ getUnreadCount() }}\"#}
  773.       data-jwt=\"{{ getJwt() }}\"
  774.       data-user_channel=\"{{ getUserChannel() }}\"
  775.       data-centrifugo_connection_url=\"{{ centrifugoConnectionUrl }}\"
  776.       data-token=\"{{ token }}\"
  777.       data-cons-online-attribute-url=\"{{ url('get_cons_online_attribute') }}\"
  778.       data-tokenCF=\"{{ csrf_token(token ~ (date('now') | date('Y-m-d H'))) }}\"
  779.       data-auth-info=\"{{ app.session.remove('successAuth') }}\"
  780. >
  781. <head>
  782.     {% if not te.checkIsDev and googleRemarketing is defined and googleRemarketing %}
  783.         <script>
  784.             window.dataLayer = window.dataLayer || [];
  785.             function gtag(){dataLayer.push(arguments);}
  786.             gtag('consent', 'default', {
  787.                 'ad_storage': 'denied',
  788.                 'analytics_storage': 'denied',
  789.                 'ad_user_data': 'denied',
  790.                 'ad_personalization': 'denied'
  791.             });
  792.             setTimeout(function() {
  793.                 gtag('consent', 'update', {
  794.                     'ad_storage': 'granted',
  795.                     'analytics_storage': 'granted',
  796.                     'ad_user_data': 'granted',
  797.                     'ad_personalization': 'granted'
  798.                 });
  799.             }, 2000);
  800.         </script>
  801.         <!-- Google Tag Manager -->
  802.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  803.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  804.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  805.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  806.         })(window,document,'script','dataLayer','GTM-WCNQMZ8');</script>
  807.         <!-- End Google Tag Manager -->
  808.         {% block extraGoogleTagScript %}{% endblock %}
  809.     {% else %}
  810.         <meta name=\"checkIsDev\" content=\"{{ te.checkIsDev }}\" />
  811.         <meta name=\"googleRemarketing\" content=\"{{ googleRemarketing is defined ? googleRemarketing : '-' }}\" />
  812.     {% endif %}
  813.     {% block beforeTGM %}{% endblock %}
  814.     {% set curRoute = '' %}
  815.     {% if te.request.get('_route') is defined and te.request.get('_route') %}
  816.     \t{% set curRoute = te.request.get('_route') %}
  817.     {% endif %}
  818.    \t{% set isCollectionPageOrSlideShow = curRoute in ['app_collection', 'app_collection_slideshow', 'app_collection_slideshow_f'] %}
  819.     {% include '@Web/base-meta-header.html.twig' %}
  820. \t{# CSFR токен для проверки AJAX запросов #}
  821.     <meta content=\"authenticity_token\" name=\"csrf-param\" />
  822.     <meta content=\"{{ csrf_token }}\" name=\"csrf-token\" />
  823.     {# мета-тег, запрещающий устройствам работающим на iOS (iPhone / IPod / IPad) и Android делать из номеров ссылки #}
  824.     <meta name=\"format-detection\" content=\"telephone=no\" />
  825.     {% block meta %}
  826.     {% endblock %}
  827. \t{# оптимизация дублей страниц для поисковиков #}
  828.     {% set baseLinkRel = te.request.getSchemeAndHttpHost() %}
  829.     {% if curRoute != '' %}
  830.         {% set routeLinkRel = path(curRoute, te.request.get('_route_params')) %}
  831.         {# @TODO: уточнить, т.к. routeLinkRel используется и для Google Analytics (@Web/google.html.twig), и в строке 23 #}
  832.         {# после перехода на гугл таг, routeLinkRel - не будет использоваться ! #}
  833.         {% set routeLinkRel = routeLinkRel | split('/') | slice(2) | join('/') %}
  834.     {% else %}
  835.         {% set routeLinkRel = '#' %}
  836.     {% endif %}
  837.     {% if te.request.get('v') != null %}
  838.         <meta name=\"robots\" content=\"noindex, nofollow\" />
  839.     {% endif %}
  840.     {#% if te.request.get('gclid') != null %}
  841.         больше не используем, потому что негативно влияет на языковое распределение
  842.         <link rel=\"canonical\" href=\"{{ baseLinkRel ~ routeLinkRel }}\" />
  843.     {% endif %#}
  844.     {% if not(noSEOLink is defined) and curRoute != '' and userCountry() != 'ru' %}
  845.         {# Важный блок для гугл #}
  846.         {% if curRoute != '' and te.request.get('_route_params') is defined %}
  847.             {{ te.SEOLink(curRoute, te.request.get('_route_params'), (hrefFlag is defined ? hrefFlag : null)) | raw }}
  848.         {% endif %}
  849.     {% endif %}
  850. \t{#{% block canonical %}#}
  851.         {#{{ te.getCanonicalTR() | raw }}#}
  852. \t{#{% endblock %}#}
  853.     <meta name=\"msvalidate.01\" content=\"465EFDDEC49D260187BF1FAF4F2FEB88\" />
  854.     <meta name=\"timestamp\" content=\"{{ timestamp() }}\" />
  855.     <title>
  856.         {% block title %}{% endblock %}
  857.     </title>
  858.     {% block stylesheets %}
  859.         {#<link href=\"https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i\" rel=\"stylesheet\" />#}
  860.         {# возможность подключения стилей только для планшетов или для мобильных #}
  861.         {# чем подключать отдельный файл и замедлять скорость загрузки, лучше вывести такие стили инлайново, т.к. их немного #}
  862.         {% if is_tablet() %}
  863.             {#<link rel=\"stylesheet\" href=\"{{ asset('_css/tablet.min.css') }}\" />#}
  864.             <style>
  865.             \t.innerBoxInformer,.share-icons:hover .share-body,.swiper-container .collection-video {display: none;}
  866. \t\t\t\t.share-icons .share-body.shown,.swiper-container .carousel-video-item {display: block;}
  867. \t\t\t\t{# увеличение области тапа в ссылке на \"collection also viewed\" #}
  868. \t\t\t\t.view-with-collection .collection-viewed-with-header .total-count-viewed-with {padding: 5px;}
  869.             </style>
  870.         {% elseif is_mobile() %}
  871.             {#<link rel=\"stylesheet\" href=\"{{ asset('_css/mobile.min.css') }}\" />#}
  872.             <style>
  873.             \t.innerBoxInformer,.share-icons:hover .share-body {display: none;}
  874. \t\t\t\t.share-icons .share-body.shown,.swiper-container .carousel-video-item {display: block;}
  875. \t\t\t\t@media screen and (max-height: 400px) {
  876. \t\t\t\t\t{# убираем блок, который необходим для предотвращения пробивки списка на десктопах при выборе языка или страны #}
  877. \t\t\t\t\t.login-locale-block .tab-block.wrap-change-location.active .pseudo-height {height: 0px;}
  878. \t\t\t\t}
  879. \t\t\t\t{# для мобильных, чтобы не было авто-зуминга при тапе на любом инпуте #}
  880. \t\t\t\tinput,input:focus {font-size: 16px;}
  881. \t\t\t\t{# увеличение области тапа в ссылке на \"collection also viewed\" #}
  882. \t\t\t\t.view-with-collection .collection-viewed-with-header .total-count-viewed-with {padding: 5px;}
  883.             </style>
  884.         {% endif %}
  885.     {% endblock %}
  886. \t{% include '@Web/facebookPixelCode.html.twig' %}
  887. </head>
  888. {% set bodyClass = '' %}
  889. {% if curRoute == 'app_collection' %}
  890. \t{% set bodyClass = ' collection-active' %}
  891. {% endif %}
  892. {% if curRoute in ['app_collection_slideshow', 'app_collection_slideshow_f'] and is_mobile() and not is_tablet() %}
  893. \t{% set bodyClass = bodyClass ~ ' slider-active' %}
  894. {% endif %}
  895. <body id=\"body\" class=\"clearfix{{ bodyClass }}\">
  896. \t{% if googleRemarketing is defined and googleRemarketing %}
  897. \t<!-- Google Tag Manager (noscript) -->
  898.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WCNQMZ8\"
  899.     height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  900.     <!-- End Google Tag Manager (noscript) -->
  901. \t{% endif %}
  902.     <div class=\"data-confirm\"
  903.          data-confirm-yes=\"{{ 'yes' | trans }}\"
  904.          data-confirm-no=\"{{ 'no' | trans }}\"
  905.          data-confirm-ok=\"{{ 'order.ok' | trans }}\"
  906.          data-confirm-header=\"{{ 'buyOrder.confirm.header' | trans }}\"></div>
  907.     <div class=\"data-confirm-sample\"
  908.          {#\$message, \$count, array \$arguments = array(), \$domain = null, \$locale = null#}
  909.          data-confirm-sample-title=\"{{ 'order.sample_is_true' | trans }}\" {# заголовок в сообщении #}
  910.          {# data-confirm-yes=\"{{ 'order.sample_is_true_yes' | trans }}\"
  911.          data-confirm-no=\"{{ 'order.sample_is_true_no' | trans }}\" #}
  912.          data-confirm-sample-text=\"\" {# текст уведомления #}
  913.     ></div>
  914.     <div class=\"data-toastmessage\"
  915.     \t data-header-warning=\"{{ 'buyOrder.confirm.header' | trans }}\"
  916.     \t data-header-error=\"{{ 'error' | trans }}\"
  917.     \t data-header-success=\"{{ 'success' | trans }}\"
  918.    \t></div>
  919. \t<div class=\"swipe-area-menu-open\"></div>
  920. \t{# оверлей, который появляется после вызова коллапс-меню на мобильных устройствах #}
  921. \t<div class=\"overlay-bg\"></div>
  922. \t<div class=\"lining\"></div>
  923.     {# вспомогательный блок, на который вешается свойство z-index в зависимости от ширины
  924.        экрана - необходимо для скрипта, отображающего блок boxInformer #}
  925.     <div class=\"set-z-index\"></div>
  926.     {# если установлен атрибут data-smartphone, значит просмотр осуществляется со смартфона, #}
  927.     {# если установлен атрибут data-mobile, значит просмотр осуществляется с планшета #}
  928.     <div class=\"wrap-content js-wrap-content\"
  929.          {% if te.checkIsDev %} data-dev=\"true\" {% endif %}
  930.     \t {% if is_mobile() and not is_tablet() %}
  931.              data-smartphone=\"true\"
  932.          {% elseif is_mobile() %}
  933.              data-mobile=\"true\"
  934.          {% endif %}
  935.     >
  936.         {{ render_esi(controller('WebBundle\\\\Controller\\\\CommonController::topAction')) }}
  937.         {# вывел меню фильтров в отдельный блок, подключение JS тоже пришлось, чтобы не было лишних файлов #}
  938.         {% set isExhibition = blog is defined and blog.isExhibition %} {# не рендерить быстрые фильтры для выставок #}
  939.         {% block filter_menu %}
  940.             {{ te.buildLeftMenuLite(not isExhibition) | raw }}
  941.         {% endblock filter_menu %}
  942.         {# wrap-exhibition добавляется в блогах с выставками #}
  943.         <div class=\"wrap {% if isExhibition %}wrap-exhibition{% endif %}\">
  944.             <div class=\"container-fluid\">
  945.                 <div class=\"row\">
  946.                     <div class=\"col-sm-12\">
  947.                         {# main-for-catalog - чтобы изменить отступ для мобилки, main - создает много пустого пространства #}
  948.                         <div id=\"main\" class=\"main fixed-width clearfix {{ curRoute == 'app_catalog' ? 'main-for-catalog' }}\">
  949.                             {% for label, messages in app.flashes %}
  950.                                 {% for message in messages %}
  951.                                     <div class=\"flash-{{ label }}\">
  952.                                         {% include '@Web/Common/notifications.html.twig' with { 'notificationType': label, 'notificationText': message } %}
  953.                                     </div>
  954.                                 {% endfor %}
  955.                             {% endfor %}
  956.                             {% block content %}
  957.                                 <div id=\"RightContent\"></div>
  958.                             {% endblock content %}
  959.                         </div>
  960.                     </div>
  961.                 </div>
  962.             </div>
  963.         </div>
  964.         <div class=\"both\"></div>
  965.     </div>
  966.     {% if (
  967.             curRoute != 'discuss' and
  968.             curRoute != 'app_chatb_chatbpage' and
  969.             (noFloor is defined == false or noFloor == false)
  970.     ) %}
  971.         {{ include('@Web/Common/footer.html.twig') }}
  972.     {% else %}
  973.         <footer id=\"footer\"> </footer>
  974.     {% endif %}
  975.     {{ include('@Web/base-js.html.twig') }}
  976.     {% block javascripts %}{% endblock %}
  977.     {% if userCountry() == 'ru' and te.checkIsDev == false %}
  978.         <script src=\"//cdn.callibri.ru/callibri.js\" type=\"text/javascript\" charset=\"utf-8\"></script>
  979.     {% endif %}
  980.     {# displaying the top filter menu during scroll up #}
  981.     {# <script>
  982.         var prevScrollpos = window.pageYOffset;
  983.         window.onscroll = function() {
  984.         var currentScrollPos = window.pageYOffset;
  985.         if (prevScrollpos > currentScrollPos) {
  986.             document.getElementById('top-filter-menu').style.top = '0';
  987.         } else {
  988.             document.getElementById('top-filter-menu').style.top = '-50px';
  989.         }
  990.             prevScrollpos = currentScrollPos;
  991.         }
  992.     </script> #}
  993.     {% if useRTWidget() and app.request.attributes.get('_route') != 'app_chatb_chatbpage' %}
  994. {#        {% set lang = getCurLocale(false) %}#}
  995. {#        {% set country = userCountry() %}#}
  996.         <script src=\"https://rtc.remote.team/scripts.js?port-num=3001&chat-id=170619828665B2850E08B2F170619828&client-id={{ token }}&custom-trigger-id=chat-widget-btn&portal-subdomain=te\"></script>
  997.     {% endif %}
  998. </body>
  999. </html>
  1000. {% endcompress %}
  1001. ""@Web/layout.html.twig""/var/www/dev5.tile.expert/src/WebBundle/Resources/views/layout.html.twig");
  1002.     }
  1003. }