<?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; 
 
/* Slivki/index.html.twig */ 
class __TwigTemplate_202ab0e4cfe620ffca40ad4af51aaa2776a994e6e2b55efd2c3bc5329655a407 extends Template 
{ 
    private $source; 
    private $macros = []; 
 
    public function __construct(Environment $env) 
    { 
        parent::__construct($env); 
 
        $this->source = $this->getSourceContext(); 
 
        $this->blocks = [ 
            'meta' => [$this, 'block_meta'], 
            'stylesheets' => [$this, 'block_stylesheets'], 
            'left_sidebar' => [$this, 'block_left_sidebar'], 
            'topContentBlock' => [$this, 'block_topContentBlock'], 
            'mainHotFeedBlock' => [$this, 'block_mainHotFeedBlock'], 
            'main_content' => [$this, 'block_main_content'], 
            'javascripts' => [$this, 'block_javascripts'], 
            'popups' => [$this, 'block_popups'], 
            'RTBHouse' => [$this, 'block_RTBHouse'], 
        ]; 
    } 
 
    protected function doGetParent(array $context) 
    { 
        // line 1 
        return "base.html.twig"; 
    } 
 
    protected function doDisplay(array $context, array $blocks = []) 
    { 
        $macros = $this->macros; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/index.html.twig")); 
 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/index.html.twig")); 
 
        $this->parent = $this->loadTemplate("base.html.twig", "Slivki/index.html.twig", 1); 
        $this->parent->display($context, array_merge($this->blocks, $blocks)); 
         
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); 
 
         
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); 
 
    } 
 
    // line 3 
    public function block_meta($context, array $blocks = []) 
    { 
        $macros = $this->macros; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta")); 
 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta")); 
 
        // line 4 
        echo "    "; 
        $this->displayParentBlock("meta", $context, $blocks); 
        echo " 
    <meta name=\"verify-admitad\" content=\"422955a37d\" /> 
"; 
         
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); 
 
         
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); 
 
    } 
 
    // line 8 
    public function block_stylesheets($context, array $blocks = []) 
    { 
        $macros = $this->macros; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets")); 
 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets")); 
 
        // line 9 
        echo "    <link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css\"/> 
    <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\" /> 
    "; 
        // line 11 
        $this->displayParentBlock("stylesheets", $context, $blocks); 
        echo " 
"; 
         
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); 
 
         
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); 
 
    } 
 
    // line 14 
    public function block_left_sidebar($context, array $blocks = []) 
    { 
        $macros = $this->macros; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "left_sidebar")); 
 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "left_sidebar")); 
 
        // line 15 
        echo "    "; 
        $this->loadTemplate("left_sidebar.html.twig", "Slivki/index.html.twig", 15)->display($context); 
         
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); 
 
         
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); 
 
    } 
 
    // line 18 
    public function block_topContentBlock($context, array $blocks = []) 
    { 
        $macros = $this->macros; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "topContentBlock")); 
 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "topContentBlock")); 
 
        // line 19 
        echo "    <div class=\"top-content-block clearfix\"> 
        <div class=\"content--main news-and-comments-block px-2\"> 
            <div class=\"content-wrapper\"> 
                "; 
        // line 22 
        if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SHOW_TOP_NEWS_BLOCK"))) { 
            // line 23 
            echo "                    "; 
            $this->loadTemplate("Slivki/news/top_news.html.twig", "Slivki/index.html.twig", 23)->display(twig_array_merge($context, ["salesList" => (isset($context["salesList"]) || array_key_exists("salesList", $context) ? $context["salesList"] : (function () { throw new RuntimeError('Variable "salesList" does not exist.', 23, $this->source); })())])); 
            // line 24 
            echo "                    "; 
            $this->loadTemplate("Slivki/comments/live_comments.html.twig", "Slivki/index.html.twig", 24)->display(twig_array_merge($context, ["lastComments" => (isset($context["lastComments"]) || array_key_exists("lastComments", $context) ? $context["lastComments"] : (function () { throw new RuntimeError('Variable "lastComments" does not exist.', 24, $this->source); })())])); 
            // line 25 
            echo "                "; 
        } else { 
            // line 26 
            echo "                    "; 
            $this->loadTemplate("Slivki/uz/top_block.html.twig", "Slivki/index.html.twig", 26)->display($context); 
            // line 27 
            echo "                "; 
        } 
        // line 28 
        echo "                <div class=\"clear\"></div> 
            </div> 
        </div> 
        <div class=\"content--aside\"> 
            "; 
        // line 32 
        echo (isset($context["sidebarBanner"]) || array_key_exists("sidebarBanner", $context) ? $context["sidebarBanner"] : (function () { throw new RuntimeError('Variable "sidebarBanner" does not exist.', 32, $this->source); })()); 
        echo " 
        </div> 
        <div class=\"clear\"></div> 
    </div> 
    <input type=\"hidden\" id=\"mainPage\"/> 
"; 
         
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); 
 
         
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); 
 
    } 
 
    // line 40 
    public function block_mainHotFeedBlock($context, array $blocks = []) 
    { 
        $macros = $this->macros; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainHotFeedBlock")); 
 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainHotFeedBlock")); 
 
        // line 41 
        echo "    "; 
        if (array_key_exists("mainHotFeed", $context)) { 
            // line 42 
            echo "        <div id=\"mainHotFeed\"> 
            "; 
            // line 43 
            if ($this->extensions['Slivki\Twig\SlivkiTwigExtension']->isMobileDevice()) { 
                // line 44 
                echo "                <div class=\"title\"><i> </i> ГОРЯЧАЯ ЛЕНТА</div> 
            "; 
            } 
            // line 46 
            echo "            <div id=\"mainHotFeedSlider\" class=\"swiper-container\" data-offset=\"0\" data-type=\""; 
            echo twig_escape_filter($this->env, twig_constant("Slivki\\Entity\\HotFeed::TYPE_MAIN_PAGE"), "html", null, true); 
            echo "\"> 
                <div class=\"swiper-wrapper\"> 
                    "; 
            // line 48 
            echo (isset($context["mainHotFeed"]) || array_key_exists("mainHotFeed", $context) ? $context["mainHotFeed"] : (function () { throw new RuntimeError('Variable "mainHotFeed" does not exist.', 48, $this->source); })()); 
            echo " 
                </div> 
                <div class=\"swiper-button swiper-button-prev\"></div> 
                <div class=\"swiper-button swiper-button-next\"></div> 
            </div> 
        </div> 
    "; 
        } 
         
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); 
 
         
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); 
 
    } 
 
    // line 57 
    public function block_main_content($context, array $blocks = []) 
    { 
        $macros = $this->macros; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content")); 
 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content")); 
 
        // line 58 
        echo "    "; 
        if ((twig_get_attribute($this->env, $this->source, (isset($context["metaInfo"]) || array_key_exists("metaInfo", $context) ? $context["metaInfo"] : (function () { throw new RuntimeError('Variable "metaInfo" does not exist.', 58, $this->source); })()), "title", [], "any", false, false, false, 58) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["metaInfo"]) || array_key_exists("metaInfo", $context) ? $context["metaInfo"] : (function () { throw new RuntimeError('Variable "metaInfo" does not exist.', 58, $this->source); })()), "title", [], "any", false, false, false, 58), "")))) { 
            // line 59 
            echo "        <div class=\"content-block-title\" data-html=\"true\" data-original-title=\"Промокоды  <br>  Уникальные предложения!  <br>  Лучшие цены!  <br> \" data-placement=\"bottom\" data-toggle=\"tooltip\"> 
            <h1>"; 
            // line 60 
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["metaInfo"]) || array_key_exists("metaInfo", $context) ? $context["metaInfo"] : (function () { throw new RuntimeError('Variable "metaInfo" does not exist.', 60, $this->source); })()), "title", [], "any", false, false, false, 60), "html", null, true); 
            echo "</h1> ("; 
            echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getActiveOffersCount((isset($context["cityID"]) || array_key_exists("cityID", $context) ? $context["cityID"] : (function () { throw new RuntimeError('Variable "cityID" does not exist.', 60, $this->source); })())), "html", null, true); 
            echo ") 
        </div> 
    "; 
        } 
        // line 63 
        echo "    "; 
        $this->loadTemplate("Slivki/offers/category_list.html.twig", "Slivki/index.html.twig", 63)->display(twig_array_merge($context, (isset($context["categoryBoxList"]) || array_key_exists("categoryBoxList", $context) ? $context["categoryBoxList"] : (function () { throw new RuntimeError('Variable "categoryBoxList" does not exist.', 63, $this->source); })()))); 
        // line 64 
        echo "    <div class=\"d-none\"> 
        "; 
        // line 65 
        $context['_parent'] = $context; 
        $context['_seq'] = twig_ensure_traversable((isset($context["topLevelCategoryIDList"]) || array_key_exists("topLevelCategoryIDList", $context) ? $context["topLevelCategoryIDList"] : (function () { throw new RuntimeError('Variable "topLevelCategoryIDList" does not exist.', 65, $this->source); })())); 
        foreach ($context['_seq'] as $context["_key"] => $context["categoryID"]) { 
            // line 66 
            echo "            <li data-oid=\""; 
            echo twig_escape_filter($this->env, $context["categoryID"], "html", null, true); 
            echo "\" class=\"root-category-li\"></li> 
        "; 
        } 
        $_parent = $context['_parent']; 
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categoryID'], $context['_parent'], $context['loop']); 
        $context = array_intersect_key($context, $_parent) + $_parent; 
        // line 68 
        echo "    </div> 
"; 
         
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); 
 
         
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); 
 
    } 
 
    // line 71 
    public function block_javascripts($context, array $blocks = []) 
    { 
        $macros = $this->macros; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts")); 
 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts")); 
 
        // line 72 
        echo "    <script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js\"></script> 
    <script src=\"/js/swiper-js/swiper.min.js\"></script> 
    "; 
        // line 74 
        $this->displayParentBlock("javascripts", $context, $blocks); 
        echo " 
    <script type=\"text/javascript\"> 
        \$(function () { //WTF? 
            scrollDecriptionCategory(); 
        }); 
    </script> 
    "; 
        // line 80 
        if ((array_key_exists("smallCity", $context) && (isset($context["smallCity"]) || array_key_exists("smallCity", $context) ? $context["smallCity"] : (function () { throw new RuntimeError('Variable "smallCity" does not exist.', 80, $this->source); })()))) { 
            // line 81 
            echo "        <script src=\"//api-maps.yandex.ru/2.1.29/?lang=ru-RU\" type=\"text/javascript\"></script> 
        <script src=\"//mourner.github.io/simplify-js/simplify.js\"></script> 
        <script type=\"module\" src=\"/js/category.js?v="; 
            // line 83 
            echo twig_escape_filter($this->env, (isset($context["category_js_version"]) || array_key_exists("category_js_version", $context) ? $context["category_js_version"] : (function () { throw new RuntimeError('Variable "category_js_version" does not exist.', 83, $this->source); })()), "html", null, true); 
            echo "\" type=\"text/javascript\"></script> 
    "; 
        } 
         
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); 
 
         
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); 
 
    } 
 
    // line 87 
    public function block_popups($context, array $blocks = []) 
    { 
        $macros = $this->macros; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popups")); 
 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popups")); 
 
        // line 88 
        echo "    "; 
        $this->displayParentBlock("popups", $context, $blocks); 
        echo " 
    "; 
        // line 89 
        if (( !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.', 89, $this->source); })()), "user", [], "any", false, false, false, 89) || (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.', 89, $this->source); })()), "user", [], "any", false, false, false, 89) &&  !$this->env->getRuntime('Slivki\Twig\SubscriptionTwigRuntime')->isSubscriber(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.', 89, $this->source); })()), "user", [], "any", false, false, false, 89))))) { 
            // line 90 
            echo "        "; 
            $this->loadTemplate("Slivki/popups/popup_subscribe.html.twig", "Slivki/index.html.twig", 90)->display($context); 
            // line 91 
            echo "    "; 
        } 
        // line 92 
        echo "    "; 
        $this->loadTemplate("Slivki/popups/video_guide_popup.html.twig", "Slivki/index.html.twig", 92)->display($context); 
        // line 93 
        echo "    "; 
        $this->loadTemplate("Slivki/popups/subscription_success.html.twig", "Slivki/index.html.twig", 93)->display($context); 
         
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); 
 
         
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); 
 
    } 
 
    // line 96 
    public function block_RTBHouse($context, array $blocks = []) 
    { 
        $macros = $this->macros; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; 
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "RTBHouse")); 
 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; 
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "RTBHouse")); 
 
        // line 97 
        echo "    <script> 
        try{ (function() { 
            var prefix = \"\", hash = \"TS5TS2S9bdSbgKBA4Q2H\", rtbhTags = []; rtbhTags.push(\"pr_\"+hash+\"_home\"); rtbhTags.push(\"pr_\"+hash+\"_uid_\"+document.getElementById('rtbhUID').value); 
            var key = \"__rtbhouse.lid\", lid = window.localStorage.getItem(key); if (!lid) { 
                lid = \"\"; var pool = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\"; 
                for (var i = 0; i < 20; i++) lid += pool.charAt(Math.floor(Math.random() * pool.length)); window.localStorage.setItem(key, lid);} 
            rtbhTags.push(\"pr_\"+hash+\"_lid_\" + lid); 
            var ifr = document.createElement(\"iframe\"), 
                sr = encodeURIComponent(document.referrer ? document.referrer : \"\"), 
                su = encodeURIComponent(document.location.href ? document.location.href : \"\"), 
                ifrSrc = \"https://\"+prefix+\"creativecdn.com/tags?type=iframe\", tmstmp = encodeURIComponent(\"\" + Date.now()); for(var i=0; i<rtbhTags.length; i++) {ifrSrc += \"&id=\" + encodeURIComponent(rtbhTags[i]);} 
            ifrSrc += \"&su=\" + su + \"&sr=\" + sr + \"&ts=\" + tmstmp; 
            ifr.setAttribute(\"src\", ifrSrc); ifr.setAttribute(\"width\", \"1\"); 
            ifr.setAttribute(\"height\", \"1\"); ifr.setAttribute(\"scrolling\", \"no\"); 
            ifr.setAttribute(\"frameBorder\", \"0\"); ifr.setAttribute(\"style\", \"display:none\"); 
            ifr.setAttribute(\"referrerpolicy\", \"no-referrer-when-downgrade\"); if(document.body){document.body.appendChild(ifr);} 
            else{window.addEventListener('DOMContentLoaded', function(){document.body.appendChild(ifr);});} 
        })();} catch(e) {} </script> 
"; 
         
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); 
 
         
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); 
 
    } 
 
    public function getTemplateName() 
    { 
        return "Slivki/index.html.twig"; 
    } 
 
    public function isTraitable() 
    { 
        return false; 
    } 
 
    public function getDebugInfo() 
    { 
        return array (  380 => 97,  370 => 96,  359 => 93,  356 => 92,  353 => 91,  350 => 90,  348 => 89,  343 => 88,  333 => 87,  320 => 83,  316 => 81,  314 => 80,  305 => 74,  301 => 72,  291 => 71,  280 => 68,  271 => 66,  267 => 65,  264 => 64,  261 => 63,  253 => 60,  250 => 59,  247 => 58,  237 => 57,  219 => 48,  213 => 46,  209 => 44,  207 => 43,  204 => 42,  201 => 41,  191 => 40,  175 => 32,  169 => 28,  166 => 27,  163 => 26,  160 => 25,  157 => 24,  154 => 23,  152 => 22,  147 => 19,  137 => 18,  126 => 15,  116 => 14,  104 => 11,  100 => 9,  90 => 8,  76 => 4,  66 => 3,  43 => 1,); 
    } 
 
    public function getSourceContext() 
    { 
        return new Source("{% extends 'base.html.twig' %} 
 
{% block meta %} 
    {{ parent() }} 
    <meta name=\"verify-admitad\" content=\"422955a37d\" /> 
{% endblock %} 
 
{% block stylesheets %} 
    <link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css\"/> 
    <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\" /> 
    {{ parent() }} 
{% endblock %} 
 
{% block left_sidebar %} 
    {% include 'left_sidebar.html.twig' %} 
{% endblock %} 
 
{% block topContentBlock %} 
    <div class=\"top-content-block clearfix\"> 
        <div class=\"content--main news-and-comments-block px-2\"> 
            <div class=\"content-wrapper\"> 
                {% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::SHOW_TOP_NEWS_BLOCK')) %} 
                    {% include 'Slivki/news/top_news.html.twig' with { 'salesList': salesList } %} 
                    {% include 'Slivki/comments/live_comments.html.twig' with { 'lastComments': lastComments } %} 
                {% else %} 
                    {% include 'Slivki/uz/top_block.html.twig' %} 
                {% endif %} 
                <div class=\"clear\"></div> 
            </div> 
        </div> 
        <div class=\"content--aside\"> 
            {{ sidebarBanner|raw }} 
        </div> 
        <div class=\"clear\"></div> 
    </div> 
    <input type=\"hidden\" id=\"mainPage\"/> 
{% endblock %} 
 
 
{% block mainHotFeedBlock %} 
    {% if mainHotFeed is defined %} 
        <div id=\"mainHotFeed\"> 
            {% if isMobileDevice() %} 
                <div class=\"title\"><i> </i> ГОРЯЧАЯ ЛЕНТА</div> 
            {% endif %} 
            <div id=\"mainHotFeedSlider\" class=\"swiper-container\" data-offset=\"0\" data-type=\"{{ constant('Slivki\\\\Entity\\\\HotFeed::TYPE_MAIN_PAGE') }}\"> 
                <div class=\"swiper-wrapper\"> 
                    {{ mainHotFeed|raw }} 
                </div> 
                <div class=\"swiper-button swiper-button-prev\"></div> 
                <div class=\"swiper-button swiper-button-next\"></div> 
            </div> 
        </div> 
    {% endif %} 
{% endblock %} 
 
{% block main_content %} 
    {% if metaInfo.title and metaInfo.title != '' %} 
        <div class=\"content-block-title\" data-html=\"true\" data-original-title=\"Промокоды  <br>  Уникальные предложения!  <br>  Лучшие цены!  <br> \" data-placement=\"bottom\" data-toggle=\"tooltip\"> 
            <h1>{{ metaInfo.title }}</h1> ({{ getActiveOffersCount(cityID) }}) 
        </div> 
    {% endif %} 
    {% include 'Slivki/offers/category_list.html.twig' with categoryBoxList %} 
    <div class=\"d-none\"> 
        {% for categoryID in topLevelCategoryIDList %} 
            <li data-oid=\"{{ categoryID }}\" class=\"root-category-li\"></li> 
        {% endfor %} 
    </div> 
{% endblock %} 
 
{% block javascripts %} 
    <script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js\"></script> 
    <script src=\"/js/swiper-js/swiper.min.js\"></script> 
    {{ parent() }} 
    <script type=\"text/javascript\"> 
        \$(function () { //WTF? 
            scrollDecriptionCategory(); 
        }); 
    </script> 
    {% if smallCity is defined and smallCity %} 
        <script src=\"//api-maps.yandex.ru/2.1.29/?lang=ru-RU\" type=\"text/javascript\"></script> 
        <script src=\"//mourner.github.io/simplify-js/simplify.js\"></script> 
        <script type=\"module\" src=\"/js/category.js?v={{ category_js_version }}\" type=\"text/javascript\"></script> 
    {% endif %} 
{% endblock %} 
 
{% block popups %} 
    {{ parent() }} 
    {% if not app.user or (app.user and not isSubscriber(app.user)) %} 
        {% include 'Slivki/popups/popup_subscribe.html.twig' %} 
    {% endif %} 
    {% include 'Slivki/popups/video_guide_popup.html.twig' %} 
    {% include 'Slivki/popups/subscription_success.html.twig' %} 
{% endblock %} 
 
{% block RTBHouse %} 
    <script> 
        try{ (function() { 
            var prefix = \"\", hash = \"TS5TS2S9bdSbgKBA4Q2H\", rtbhTags = []; rtbhTags.push(\"pr_\"+hash+\"_home\"); rtbhTags.push(\"pr_\"+hash+\"_uid_\"+document.getElementById('rtbhUID').value); 
            var key = \"__rtbhouse.lid\", lid = window.localStorage.getItem(key); if (!lid) { 
                lid = \"\"; var pool = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\"; 
                for (var i = 0; i < 20; i++) lid += pool.charAt(Math.floor(Math.random() * pool.length)); window.localStorage.setItem(key, lid);} 
            rtbhTags.push(\"pr_\"+hash+\"_lid_\" + lid); 
            var ifr = document.createElement(\"iframe\"), 
                sr = encodeURIComponent(document.referrer ? document.referrer : \"\"), 
                su = encodeURIComponent(document.location.href ? document.location.href : \"\"), 
                ifrSrc = \"https://\"+prefix+\"creativecdn.com/tags?type=iframe\", tmstmp = encodeURIComponent(\"\" + Date.now()); for(var i=0; i<rtbhTags.length; i++) {ifrSrc += \"&id=\" + encodeURIComponent(rtbhTags[i]);} 
            ifrSrc += \"&su=\" + su + \"&sr=\" + sr + \"&ts=\" + tmstmp; 
            ifr.setAttribute(\"src\", ifrSrc); ifr.setAttribute(\"width\", \"1\"); 
            ifr.setAttribute(\"height\", \"1\"); ifr.setAttribute(\"scrolling\", \"no\"); 
            ifr.setAttribute(\"frameBorder\", \"0\"); ifr.setAttribute(\"style\", \"display:none\"); 
            ifr.setAttribute(\"referrerpolicy\", \"no-referrer-when-downgrade\"); if(document.body){document.body.appendChild(ifr);} 
            else{window.addEventListener('DOMContentLoaded', function(){document.body.appendChild(ifr);});} 
        })();} catch(e) {} </script> 
{% endblock %}", "Slivki/index.html.twig", "/mnt/data/virtwww/dima/templates/Slivki/index.html.twig"); 
    } 
}