var/cache/dev/twig/8e/8efd7d0a316bbc16e02f6c1521e2292f74cc7841a4c3fda136873759e822aa4a.php line 49

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. /* Slivki/mobile/base.html.twig */
  14. class __TwigTemplate_7a32ec6d2afaa7bc6943aeb0e1fdaf0106a8af003588c089f655b7b434cc3ae1 extends 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.             'meta' => [$this'block_meta'],
  25.             'styles' => [$this'block_styles'],
  26.             'favicon' => [$this'block_favicon'],
  27.             'linkToStore' => [$this'block_linkToStore'],
  28.             'linkToPartner' => [$this'block_linkToPartner'],
  29.             'messenger' => [$this'block_messenger'],
  30.             'headerBanner' => [$this'block_headerBanner'],
  31.             'header' => [$this'block_header'],
  32.             'topContent' => [$this'block_topContent'],
  33.             'content' => [$this'block_content'],
  34.             'footer' => [$this'block_footer'],
  35.             'popup' => [$this'block_popup'],
  36.             'brandingBanner' => [$this'block_brandingBanner'],
  37.             'floatingMobileBanner' => [$this'block_floatingMobileBanner'],
  38.             'javascripts' => [$this'block_javascripts'],
  39.             'metrikaEvent' => [$this'block_metrikaEvent'],
  40.         ];
  41.     }
  42.     protected function doDisplay(array $context, array $blocks = [])
  43.     {
  44.         $macros $this->macros;
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/mobile/base.html.twig"));
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/mobile/base.html.twig"));
  49.         // line 1
  50.         $context["metaInfo"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getMetaInfo();
  51.         // line 2
  52.         $context["path"] = twig_urlencode_filter(twig_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.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "requestUri", [], "any"falsefalsefalse2));
  53.         // line 3
  54.         if (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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "query", [], "any"falsefalsefalse3), "get", [=> "path"], "method"falsefalsefalse3)) {
  55.             // line 4
  56.             echo "    ";
  57.             $context["path"] = twig_urlencode_filter(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.'4$this->source); })()), "request", [], "any"falsefalsefalse4), "query", [], "any"falsefalsefalse4), "get", [=> "path"], "method"falsefalsefalse4));
  58.         }
  59.         // line 6
  60.         if ((!== twig_compare((isset($context["path"]) || array_key_exists("path"$context) ? $context["path"] : (function () { throw new RuntimeError('Variable "path" does not exist.'6$this->source); })()), "%2F"))) {
  61.             // line 7
  62.             echo "    ";
  63.             $context["path"] = ("?path=" . (isset($context["path"]) || array_key_exists("path"$context) ? $context["path"] : (function () { throw new RuntimeError('Variable "path" does not exist.'7$this->source); })()));
  64.         } else {
  65.             // line 9
  66.             echo "    ";
  67.             $context["path"] = "";
  68.         }
  69.         // line 11
  70.         echo "<!DOCTYPE html>
  71. <html lang=\"ru\">
  72. <head>
  73.     ";
  74.         // line 14
  75.         $this->loadTemplate((("Slivki" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'14$this->source); })())) . "/mobile/meta_block.html.twig"), "Slivki/mobile/base.html.twig"14)->display($context);
  76.         // line 15
  77.         echo "    <link href=\"/css/flowersHotLent.css?v=";
  78.         echo twig_escape_filter($this->env, (isset($context["flowers_hot_lent_css_version"]) || array_key_exists("flowers_hot_lent_css_version"$context) ? $context["flowers_hot_lent_css_version"] : (function () { throw new RuntimeError('Variable "flowers_hot_lent_css_version" does not exist.'15$this->source); })()), "html"nulltrue);
  79.         echo "\" rel=\"stylesheet\" type=\"text/css\" />
  80.     <link rel=\"stylesheet\" href=\"/css/beauty/beauty-masters.css?v=";
  81.         // line 16
  82.         echo twig_escape_filter($this->env, (isset($context["beauty_masters_css_version"]) || array_key_exists("beauty_masters_css_version"$context) ? $context["beauty_masters_css_version"] : (function () { throw new RuntimeError('Variable "beauty_masters_css_version" does not exist.'16$this->source); })()), "html"nulltrue);
  83.         echo "\" type=\"text/css\"/>
  84.     ";
  85.         // line 17
  86.         $this->displayBlock('meta'$context$blocks);
  87.         // line 18
  88.         echo "    <link href=\"/css/bootstrap4.3.1.min.css\" rel=\"stylesheet\">
  89.     <link href=\"/js/jgallery-1.5.5/dist/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
  90.     <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\"/>
  91.     <link href=\"/css/jform-styler/vanillaSelectBox.css\" rel=\"stylesheet\">
  92.     <link rel=\"stylesheet\" href=\"/css/botstrap-dropdowns-v3/dropdowns.css\"/>
  93.     <link href=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css\" rel=\"stylesheet\">
  94.     <link rel=\"stylesheet\" href=\"/css/intTelInput.css?v=5\" />
  95.     <link rel=\"stylesheet\" href=\"/css/slick.min.css\"/>
  96.     <link rel=\"stylesheet\" href=\"/css/slick-theme.min.css\" />
  97.     <link rel=\"stylesheet\" href=\"/css/jquery.toast.min.css\" />
  98.     <link rel=\"stylesheet\" href=\"/css/cookies.css\"/>
  99.     <link href=\" /css/universal-parallax.min.css \" rel=\"stylesheet\">
  100.     ";
  101.         // line 31
  102.         $this->displayBlock('styles'$context$blocks);
  103.         // line 39
  104.         echo "    ";
  105.         $this->displayBlock('favicon'$context$blocks);
  106.         // line 56
  107.         echo "    <meta name=\"google-site-verification\" content=\"LZdJyY-ROJZoDrU1Akiha-FF7W_PmSiN4mJRSyWexog\" />
  108.     <link rel=\"manifest\" href=\"/manifest.json?v=0\">
  109.     <script src=\"//code-eu1.jivosite.com/widget/nNpsUw68ys\" async></script>
  110.     <script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU&apikey=ced3d85f-6a99-4208-93d6-b578ba5e8f8a\"></script>
  111.     <script>
  112.         var userAgent = navigator.userAgent || navigator.vendor || window.opera;
  113.         if (userAgent.indexOf('FBAN') == -1 && userAgent.indexOf('FBAV') == -1 && userAgent.indexOf('Instagram') == -1 &&
  114.             userAgent.indexOf('Skype') == -1 && userAgent.indexOf('Viber') == -1 && userAgent.indexOf('WhatsApp') == -1) {
  115.             var d = document,
  116.                 h = d.getElementsByTagName('head')[0],
  117.                 s = d.createElement('script');
  118.             s.type = 'text/javascript';
  119.             s.async = true;
  120.             s.src = '//cdn.sendpulse.com/js/push/260be6a77276a4d176159328b4b7175c_1.js?v=0';
  121.             h.appendChild(s);
  122.         }
  123.     </script>
  124.     <!-- Global site tag (gtag.js) - Google Analytics -->
  125.     ";
  126.         // line 75
  127.         $context["currentCity"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCurrentCity();
  128.         // line 76
  129.         echo "
  130.     ";
  131.         // line 77
  132.         if (( !array_key_exists("category"$context) &&  !array_key_exists("offer"$context))) {
  133.             // line 78
  134.             echo "        <script src=\"/js/smart-app-banner.js\"></script>
  135.         <script type=\"text/javascript\">
  136.             new SmartBanner({
  137.                 daysHidden: 15,   // days to hide banner after close button is clicked (defaults to 15)
  138.                 daysReminder: 90, // days to hide banner after \"VIEW\" button is clicked (defaults to 90)
  139.                 appStoreLanguage: 'ru', // language code for the App Store (defaults to user's browser language)
  140.                 title: 'Slivki - промокоды и скидки',
  141.                 author: 'Slivki',
  142.                 button: 'Посмотреть',
  143.                 store: {
  144.                     ios: 'On the App Store',
  145.                     android: 'В Google Play',
  146.                     windows: 'In Windows store'
  147.                 },
  148.                 price: {
  149.                     ios: 'FREE',
  150.                     android: 'FREE',
  151.                     windows: 'FREE'
  152.                 }
  153.                 // , theme: '' // put platform type ('ios', 'android', etc.) here to force single theme on all device
  154.                 , icon: '/images/app-icon.png' // full path to icon image if not using website icon image
  155.                 // , force: 'ios' // Uncomment for platform emulation
  156.             });
  157.         </script>
  158.     ";
  159.         }
  160.         // line 103
  161.         echo "    <script data-noptimize=\"1\" data-cfasync=\"false\" data-wpfc-render=\"false\">
  162.         (function () {
  163.             var script = document.createElement(\"script\");
  164.             script.async = 1;
  165.             script.src = 'https://tpembars.com/NDgzMzU2.js?t=483356';
  166.             document.head.appendChild(script);
  167.         })();
  168.     </script>
  169. </head>
  170. ";
  171.         // line 112
  172.         $context["bodyClass"] = "";
  173.         // line 113
  174.         if (( !array_key_exists("noToken"$context) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN_USER"))) {
  175.             // line 114
  176.             echo "    ";
  177.             $context["bodyClass"] = "a-u";
  178.         }
  179.         // line 116
  180.         echo "<body class=\"";
  181.         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.'116$this->source); })()), "html"nulltrue);
  182.         echo "\">
  183. ";
  184.         // line 117
  185.         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.'117$this->source); })()), "debug", [], "any"falsefalsefalse117)) {
  186.             // line 118
  187.             echo "    <input type=\"hidden\" id=\"debugMode\" value=\"1\"/>
  188. ";
  189.         }
  190.         // line 120
  191.         echo "
  192. ";
  193.         // line 121
  194.         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.'121$this->source); })()), "user", [], "any"falsefalsefalse121)) {
  195.             // line 122
  196.             echo "    <input type=\"hidden\" id=\"customerID\" value=\"";
  197.             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.'122$this->source); })()), "user", [], "any"falsefalsefalse122), "getID", [], "method"falsefalsefalse122), "html"nulltrue);
  198.             echo "\"/>
  199.     ";
  200.             // line 123
  201.             if ((!== twig_compare(twig_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.'123$this->source); })()), "user", [], "any"falsefalsefalse123), "getEmail", [], "method"falsefalsefalse123), ""))) {
  202.                 // line 124
  203.                 echo "        <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"";
  204.                 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.'124$this->source); })()), "user", [], "any"falsefalsefalse124), "getEmail", [], "method"falsefalsefalse124), "html"nulltrue);
  205.                 echo "\">
  206.     ";
  207.             } else {
  208.                 // line 126
  209.                 echo "        <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"";
  210.                 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.'126$this->source); })()), "user", [], "any"falsefalsefalse126), "getPhone", [], "method"falsefalsefalse126), "html"nulltrue);
  211.                 echo "\">
  212.     ";
  213.             }
  214.         }
  215.         // line 129
  216.         echo "<input type=\"hidden\" id=\"serverTime\" value=\"";
  217.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y-m-d H:i:s"), "html"nulltrue);
  218.         echo "\">
  219. <input type=\"hidden\" id=\"cityID\" value=\"";
  220.         // line 130
  221.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'130$this->source); })()), "getID", [], "method"falsefalsefalse130), "html"nulltrue);
  222.         echo "\">
  223. <input id=\"cityName\" type=\"hidden\" value=\"";
  224.         // line 131
  225.         ((twig_in_filter(twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'131$this->source); })()), "getID", [], "method"falsefalsefalse131), [=> twig_constant("Slivki\\Entity\\City::DEFAULT_CITY_ID"), => twig_constant("Slivki\\Entity\\City::TASHKENT_CITY_ID")])) ? (print ("/")) : (print (twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL(twig_constant("Slivki\\Repository\\SeoRepository::RESOURCE_URL_CITY"), twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'131$this->source); })()), "getID", [], "method"falsefalsefalse131)), "html"nulltrue))));
  226.         echo "\"/>
  227. <input type=\"hidden\" id=\"rtbhUID\" value=\"";
  228.         // line 132
  229.         echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getRTBHouseUID(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.'132$this->source); })()), "user", [], "any"falsefalsefalse132)), "html"nulltrue);
  230.         echo "\">
  231. <input id=\"userId\" type=\"hidden\" value=\" ";
  232.         // line 133
  233.         (( !(null === 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.'133$this->source); })()), "user", [], "any"falsefalsefalse133))) ? (print (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.'133$this->source); })()), "user", [], "any"falsefalsefalse133), "ID", [], "any"falsefalsefalse133), "html"nulltrue))) : (print (null)));
  234.         echo "\">
  235. <input id=\"metricaUrl\" type=\"hidden\" value=\" ";
  236.         // line 134
  237.         echo twig_escape_filter($this->env, (isset($context["slivki_metrica_url"]) || array_key_exists("slivki_metrica_url"$context) ? $context["slivki_metrica_url"] : (function () { throw new RuntimeError('Variable "slivki_metrica_url" does not exist.'134$this->source); })()), "html"nulltrue);
  238.         echo "/api/v1/metric\">
  239. ";
  240.         // line 135
  241.         $context["geoIpLocation"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getIPLocationData();
  242.         // line 136
  243.         echo "<input type=\"hidden\" id=\"geoIpLatitude\" value=\"";
  244.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["geoIpLocation"]) || array_key_exists("geoIpLocation"$context) ? $context["geoIpLocation"] : (function () { throw new RuntimeError('Variable "geoIpLocation" does not exist.'136$this->source); })()), 0, [], "array"falsefalsefalse136), "html"nulltrue);
  245.         echo "\"/>
  246. <input type=\"hidden\" id=\"geoIpLongitude\" value=\"";
  247.         // line 137
  248.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["geoIpLocation"]) || array_key_exists("geoIpLocation"$context) ? $context["geoIpLocation"] : (function () { throw new RuntimeError('Variable "geoIpLocation" does not exist.'137$this->source); })()), 1, [], "array"falsefalsefalse137), "html"nulltrue);
  249.         echo "\"/>
  250. ";
  251.         // line 138
  252.         $context["subscription"] = ((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.'138$this->source); })()), "user", [], "any"falsefalsefalse138)) ? ($this->env->getRuntime('Slivki\Twig\SubscriptionTwigRuntime')->getSubscription(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.'138$this->source); })()), "user", [], "any"falsefalsefalse138))) : (null));
  253.         // line 139
  254.         echo "
  255. ";
  256.         // line 140
  257.         $this->displayBlock('linkToStore'$context$blocks);
  258.         // line 152
  259.         echo "
  260. ";
  261.         // line 153
  262.         $this->displayBlock('linkToPartner'$context$blocks);
  263.         // line 162
  264.         echo "
  265. ";
  266.         // line 163
  267.         $this->displayBlock('messenger'$context$blocks);
  268.         // line 167
  269.         $this->displayBlock('headerBanner'$context$blocks);
  270.         // line 174
  271.         $this->displayBlock('header'$context$blocks);
  272.         // line 215
  273.         echo "<main id=\"content\" class=\"container-fluid\">
  274.     <div id=\"topContent\" class=\"row no-gutters\">
  275.         <div class=\"col-12\">
  276.             ";
  277.         // line 218
  278.         $this->displayBlock('topContent'$context$blocks);
  279.         // line 219
  280.         echo "        </div>
  281.     </div>
  282.     <div class=\"row no-gutters\">
  283.         <div class=\"col-12\">
  284.             ";
  285.         // line 223
  286.         $this->displayBlock('content'$context$blocks);
  287.         // line 224
  288.         echo "        </div>
  289.     </div>
  290. </main>
  291. ";
  292.         // line 227
  293.         $this->displayBlock('footer'$context$blocks);
  294.         // line 230
  295.         echo "<nav id=\"sidebarMenu\">
  296.     ";
  297.         // line 231
  298.         $context["landingUrl"] = "/subscription-landing?utm_source=main_menu";
  299.         // line 232
  300.         echo "    ";
  301.         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.'232$this->source); })()), "user", [], "any"falsefalsefalse232)) {
  302.             // line 233
  303.             echo "        ";
  304.             $context["landingUrl"] = "/profile/subscription/manage?utm_source=main_menu";
  305.             // line 234
  306.             echo "    ";
  307.         }
  308.         // line 235
  309.         echo "    <div class=\"row sf-font h-100\">
  310.         <div class=\"col-10 bg-white px-0 side-bar-menu\">
  311.             ";
  312.         // line 237
  313.         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.'237$this->source); })()), "user", [], "any"falsefalsefalse237) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
  314.             // line 238
  315.             echo "                <div class=\"col w-fit-content my-3 ml-3\">
  316.                     <a class=\"d-block text-white text-center font-weight-bold bg-violet text-white rounded-14 py-2 px-3 text-uppercase mt-2\" href=\"/partner\">кабинет партнера</a>
  317.                     <p class=\"text-violet sf-font mb-0 mt-1\">Войдите для проверки промокода</p>
  318.                 </div>
  319.             ";
  320.         }
  321.         // line 243
  322.         echo "            <div class=\"bg-light-gray p-2 d-flex user-info__wrapper\">
  323.                 ";
  324.         // line 244
  325.         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.'244$this->source); })()), "user", [], "any"falsefalsefalse244)) {
  326.             // line 245
  327.             echo "                    <a class=\"w-100\" href=\"";
  328.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
  329.             echo "\">
  330.                         <div id=\"userTopInfo\" class=\"user-info\">
  331.                             <p class=\"user-info__title\"><strong>Личный кабинет</strong></p>
  332.                             <p id=\"username\">";
  333.             // line 248
  334.             echo twig_escape_filter($this->env, ((twig_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.'248$this->source); })()), "user", [], "any"falsefalsefalse248), "getPhone", [], "method"falsefalsefalse248)) ? (("***" twig_slice($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->phoneFilter(twig_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.'248$this->source); })()), "user", [], "any"falsefalsefalse248), "getPhone", [], "method"falsefalsefalse248)), 3null))) : (twig_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.'248$this->source); })()), "user", [], "any"falsefalsefalse248), "getEmail", [], "method"falsefalsefalse248))), "html"nulltrue);
  335.             echo "</p>
  336.                             ";
  337.             // line 249
  338.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_IMPERSONATOR")) {
  339.                 // line 250
  340.                 echo "                                <a class=\"text-danger pl-2\" href=\"";
  341.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->getImpersonateExitPath($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage")), "html"nulltrue);
  342.                 echo "\"><i class=\"slivki-icon-off text-danger p-0\"></i> Вернутся в свой акк</a>
  343.                             ";
  344.             }
  345.             // line 252
  346.             echo "                        </div>
  347.                     </a>
  348.                 ";
  349.         } else {
  350.             // line 255
  351.             echo "                    <i class=\"slivki-icon-user-o user-avatar\"></i>
  352.                     <a href=\"#\" data-toggle=\"modal\" data-target=\".modal-auth\" class=\"my-auto\">Вход/Регистрация</a></li>
  353.                 ";
  354.         }
  355.         // line 258
  356.         echo "            </div>
  357.             <ul class=\"list-unstyled menu-list__wrapper\">
  358.                 ";
  359.         // line 260
  360.         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.'260$this->source); })()), "user", [], "any"falsefalsefalse260) && $this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::REPLENISHMENT_BALANCE")))) {
  361.             // line 261
  362.             echo "                    <li>
  363.                         <a href=";
  364.             // line 262
  365.             echo (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT"))) ? ("/profile/oplata-pay") : ("/oplata"));
  366.             echo ">
  367.                             <img class=\"side-bar-menu-icons\" alt=\"Баланс\" src=\"/images/money.svg\">
  368.                             <lable style=\"font-weight: bold; font-size: 16px\">
  369.                                 <span id=\"balance\">";
  370.             // line 265
  371.             echo twig_escape_filter($this->envtwig_number_format_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.'265$this->source); })()), "user", [], "any"falsefalsefalse265), "getFullBalance", [], "method"falsefalsefalse265), 2","""), "html"nulltrue);
  372.             echo "</span> р";
  373.             if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT"))) {
  374.                 echo "/<span id=\"balance\">";
  375.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (twig_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.'265$this->source); })()), "user", [], "any"falsefalsefalse265), "virtualWalletAmount", [], "any"falsefalsefalse265) + twig_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.'265$this->source); })()), "user", [], "any"falsefalsefalse265), "virtualWalletCashBack", [], "any"falsefalsefalse265)), 2","""), "html"nulltrue);
  376.                 echo "</span> р";
  377.             }
  378.             // line 266
  379.             echo "                            </lable>
  380.                             <br>
  381.                             <a href=";
  382.             // line 268
  383.             echo (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT"))) ? ("/profile/oplata-pay") : ("/oplata"));
  384.             echo " class=\"text-violet\" style=\"margin-left: 0.5rem;\">Пополнить и получить бонус</a>
  385.                         </a>
  386.                     </li>
  387.                     <li><a href=\"";
  388.             // line 271
  389.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
  390.             echo "#profilePromocodesTab\"><img class=\"side-bar-menu-icons\" src=\"/images/promo-code.svg\" alt=\"Промокод\">Мои промокоды</a></li>
  391.                 ";
  392.         }
  393.         // line 273
  394.         echo "                ";
  395.         $this->loadTemplate((("Slivki/mobile" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'273$this->source); })())) . "/select_city_opener.html.twig"), "Slivki/mobile/base.html.twig"273)->display($context);
  396.         // line 274
  397.         echo "                ";
  398.         $this->loadTemplate((("Slivki/mobile" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'274$this->source); })())) . "/translate_block.html.twig"), "Slivki/mobile/base.html.twig"274)->display($context);
  399.         // line 275
  400.         echo "                ";
  401.         if (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SUBSCRIPTION")) && ( !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.'275$this->source); })()), "user", [], "any"falsefalsefalse275) || ((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.'275$this->source); })()), "user", [], "any"falsefalsefalse275) &&  !(null === (isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'275$this->source); })()))) && (=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'275$this->source); })()), "status", [], "any"falsefalsefalse275), twig_constant("Slivki\\Bundle\\SubscriptionBundle\\Enum\\SubscriptionStatus::CANCELED"))))))) {
  402.             // line 276
  403.             echo "                    <li>
  404.                         <a href=\"";
  405.             // line 277
  406.             echo twig_escape_filter($this->env, (isset($context["landingUrl"]) || array_key_exists("landingUrl"$context) ? $context["landingUrl"] : (function () { throw new RuntimeError('Variable "landingUrl" does not exist.'277$this->source); })()), "html"nulltrue);
  407.             echo "\">
  408.                             <div class=\"d-flex subscription-button-sidebar\">
  409.                                 <div class=\"icon-lightning align-self-center\"></div>
  410.                                 <div class=\"col\">
  411.                                     <div class=\"text-violet\">ПОДПИСКА</div>
  412.                                     <div>1 промокод  5 копеек</div>
  413.                                 </div>
  414.                             </div>
  415.                         </a>
  416.                     </li>
  417.                 ";
  418.         }
  419.         // line 289
  420.         echo "                <li class=\"bg-light-gray menu-list__title\">
  421.                     Интересное на сайте
  422.                 </li>
  423.                 ";
  424.         // line 293
  425.         if ((=== twig_compare(twig_length_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getActiveSubCategories(0)), 1))) {
  426.             // line 294
  427.             echo "                    <li><a href=\"javascript:void(0)\" role=\"button\" data-toggle=\"modal\" data-target=\"#offerCategoryMenuPopup\"><img class=\"side-bar-menu-icons\" alt=\"Промокод\" src=\"/images/category-promo.svg\">Категории</a></li>
  428.                 ";
  429.         } else {
  430.             // line 296
  431.             echo "                    <li><a href=\"";
  432.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCurrentCityURL(), "html"nulltrue);
  433.             echo "\" role=\"button\"><i class=\"slivki-icon-percentage\"></i>Категории</a></li>
  434.                 ";
  435.         }
  436.         // line 298
  437.         echo "                ";
  438.         $context["menuItem"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getTestMenuItem(2);
  439.         // line 299
  440.         echo "                ";
  441.         if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SALES"))) {
  442.             // line 300
  443.             echo "                    <li><a href=\"";
  444.             echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'300$this->source); })()), "html"nulltrue);
  445.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sales");
  446.             echo "\"><img class=\"side-bar-menu-icons\" alt=\"Новости\" src=\"/images/new-news.svg\">Новости скидок</a></li>
  447.                 ";
  448.         }
  449.         // line 302
  450.         echo "                ";
  451.         if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::FLIERS"))) {
  452.             // line 303
  453.             echo "                    <li><a href=\"";
  454.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL(twig_constant("Slivki\\Repository\\SeoRepository::RESOURCE_URL_SALE_CATEGORY"), twig_constant("Slivki\\Entity\\Category::FLIER_SALE_CATEGORY_ID")), "html"nulltrue);
  455.             echo "\"><img class=\"side-bar-menu-icons\" alt=\"Листовки\" src=\"/images/listovki.svg\">Листовки</a></li>
  456.                 ";
  457.         }
  458.         // line 305
  459.         echo "                ";
  460.         if ( !$this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::PAYMENT_PAYME"))) {
  461.             // line 306
  462.             echo "                    <li class=\"py-2\">
  463.                         <a href=\"";
  464.             // line 307
  465.             echo twig_escape_filter($this->env, (isset($context["landingUrl"]) || array_key_exists("landingUrl"$context) ? $context["landingUrl"] : (function () { throw new RuntimeError('Variable "landingUrl" does not exist.'307$this->source); })()), "html"nulltrue);
  466.             echo "\">
  467.                             <div class=\"d-flex pl-2\">
  468.                                 <div class=\"icon-lightning align-self-center\"></div>
  469.                                 <div class=\"col pl-2\">
  470.                                     <div>Подписка</div>
  471.                                 </div>
  472.                             </div>
  473.                         </a>
  474.                     </li>
  475.                 ";
  476.         }
  477.         // line 317
  478.         echo "                <li><a href=\"/moya_akciya\" onclick=\"ga('send', 'event', 'create-own-offer-button--mobile-menu', 'Click', '1');\"><img class=\"side-bar-menu-icons\" src=\"/images/add-offer.svg\" alt=\"Добавление\">Разместить свою акцию</a></li>
  479.                 ";
  480.         // line 318
  481.         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.'318$this->source); })()), "user", [], "any"falsefalsefalse318) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN_USER"))) {
  482.             // line 319
  483.             echo "                    <li><a href=\"/admin\"><img class=\"side-bar-menu-icons\" alt=\"Администрирование\" src=\"/images/admin-new-icon.svg\">Администрирование</a></li>
  484.                     <li><a href=\"/admin/past_offers\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие акции</a></li>
  485.                     <li><a href=\"/admin/past_sales\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие НС</a></li>
  486.                 ";
  487.         }
  488.         // line 323
  489.         echo "                ";
  490.         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.'323$this->source); })()), "user", [], "any"falsefalsefalse323) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
  491.             // line 324
  492.             echo "                    <li class=\"mar-b-5\"><a href=\"";
  493.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("partner");
  494.             echo "\"><img class=\"side-bar-menu-icons\" src=\"/images/partner.svg\" alt=\"Кабинет партнера\">Кабинет партнера</a></li>
  495.                 ";
  496.         }
  497.         // line 326
  498.         echo "            </ul>
  499.         </div>
  500.         <div class=\"col-2 bg-modal px-0 sidebar-overlay\">
  501.             <div class=\"sidebar-close__wrapper\">
  502.                 <i id=\"sidebarOverlay\" class=\"slivki-icon-close-thin sidebar-close\" data-dismiss=\"modal\"></i>
  503.             </div>
  504.         </div>
  505.     </div>
  506. </nav>
  507. ";
  508.         // line 335
  509.         $this->displayBlock('popup'$context$blocks);
  510.         // line 353
  511.         $this->displayBlock('brandingBanner'$context$blocks);
  512.         // line 354
  513.         $this->displayBlock('floatingMobileBanner'$context$blocks);
  514.         // line 359
  515.         $this->loadTemplate("Slivki/mobile/popup/confirm_popup.html.twig""Slivki/mobile/base.html.twig"359)->display($context);
  516.         // line 360
  517.         $this->loadTemplate("Slivki/delivery/modal/questions.html.twig""Slivki/mobile/base.html.twig"360)->display($context);
  518.         // line 361
  519.         $this->loadTemplate("Slivki/mobile/popup/alert_popup.html.twig""Slivki/mobile/base.html.twig"361)->display($context);
  520.         // line 362
  521.         $this->loadTemplate("Slivki/popups/examples_of_works_popup_small.html.twig""Slivki/mobile/base.html.twig"362)->display($context);
  522.         // line 363
  523.         $this->loadTemplate("Slivki/popups/examples_of_works_popup.html.twig""Slivki/mobile/base.html.twig"363)->display($context);
  524.         // line 364
  525.         $this->loadTemplate("Slivki/mobile/popup/new_alert_popup.html.twig""Slivki/mobile/base.html.twig"364)->display($context);
  526.         // line 365
  527.         $this->loadTemplate("Slivki/mobile/popup/mail_popup.html.twig""Slivki/mobile/base.html.twig"365)->display($context);
  528.         // line 366
  529.         $this->loadTemplate((("Slivki/mobile" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'366$this->source); })())) . "/popup/info_message_popup.html.twig"), "Slivki/mobile/base.html.twig"366)->display($context);
  530.         // line 367
  531.         $this->loadTemplate("Slivki/beauty/beauty_master_popup.html.twig""Slivki/mobile/base.html.twig"367)->display($context);
  532.         // line 368
  533.         $this->loadTemplate("Slivki/mobile/payment/oplati/oplati_renew_codes.html.twig""Slivki/mobile/base.html.twig"368)->display($context);
  534.         // line 369
  535.         $this->loadTemplate("Slivki/add_batch_codes/error.html.twig""Slivki/mobile/base.html.twig"369)->display($context);
  536.         // line 370
  537.         $this->loadTemplate("Slivki/add_batch_codes/success.html.twig""Slivki/mobile/base.html.twig"370)->display($context);
  538.         // line 371
  539.         $this->loadTemplate("Slivki/add_batch_codes/auth.html.twig""Slivki/mobile/base.html.twig"371)->display($context);
  540.         // line 372
  541.         $this->loadTemplate("Slivki/popups/cookies_popup.html.twig""Slivki/mobile/base.html.twig"372)->display($context);
  542.         // line 373
  543.         echo "<!-- Yandex.Metrika counter -->
  544. <script type=\"text/javascript\" >
  545.     (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
  546.         m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
  547.     (window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
  548.     ym(20933521, \"init\", {
  549.         clickmap:true,
  550.         trackLinks:true,
  551.         accurateTrackBounce:true
  552.     });
  553. </script>
  554. <noscript><div><img src=\"https://mc.yandex.ru/watch/20933521\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
  555. <!-- /Yandex.Metrika counter -->
  556. <script src=\"/js/jquery-3.3.1.min.js\"></script>
  557. ";
  558.         // line 388
  559.         $context["coordinate"] = twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'388$this->source); })()), "getCoordinate", [], "method"falsefalsefalse388);
  560.         // line 389
  561.         echo "<input type=\"hidden\" id=\"cityCoord\" value=\"[";
  562.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["coordinate"]) || array_key_exists("coordinate"$context) ? $context["coordinate"] : (function () { throw new RuntimeError('Variable "coordinate" does not exist.'389$this->source); })()), "getLatitude", [], "method"falsefalsefalse389), "html"nulltrue);
  563.         echo ", ";
  564.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["coordinate"]) || array_key_exists("coordinate"$context) ? $context["coordinate"] : (function () { throw new RuntimeError('Variable "coordinate" does not exist.'389$this->source); })()), "getLongitude", [], "method"falsefalsefalse389), "html"nulltrue);
  565.         echo "]\">
  566. ";
  567.         // line 390
  568.         $this->displayBlock('javascripts'$context$blocks);
  569.         // line 440
  570.         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.'440$this->source); })()), "user", [], "any"falsefalsefalse440) && (=== twig_compare(twig_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.'440$this->source); })()), "user", [], "any"falsefalsefalse440), "isGeoLocationAccepted", [], "method"falsefalsefalse440), null)))) {
  571.             // line 441
  572.             echo "    <input type=\"hidden\" id=\"storeGeoLocationData\"/>
  573. ";
  574.         }
  575.         // line 443
  576.         echo "<div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
  577. <div type=\"hidden\" id=\"newMobileVersionIndicator\"></div>
  578. ";
  579.         // line 446
  580.         $this->displayBlock('metrikaEvent'$context$blocks);
  581.         // line 447
  582.         echo "</body>
  583. </html>";
  584.         
  585.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  586.         
  587.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  588.     }
  589.     // line 17
  590.     public function block_meta($context, array $blocks = [])
  591.     {
  592.         $macros $this->macros;
  593.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  594.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  595.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  596.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  597.         
  598.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  599.         
  600.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  601.     }
  602.     // line 31
  603.     public function block_styles($context, array $blocks = [])
  604.     {
  605.         $macros $this->macros;
  606.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  607.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  608.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  609.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  610.         // line 32
  611.         echo "        <link href=\"/mobile/css/style.min.css?v=";
  612.         echo twig_escape_filter($this->env, (isset($context["mobile_style_css_version"]) || array_key_exists("mobile_style_css_version"$context) ? $context["mobile_style_css_version"] : (function () { throw new RuntimeError('Variable "mobile_style_css_version" does not exist.'32$this->source); })()), "html"nulltrue);
  613.         echo "\" rel=\"stylesheet\">
  614.         <link href=\"/css/new_popup.css?v=";
  615.         // line 33
  616.         echo twig_escape_filter($this->env, (isset($context["new_popup_css_version"]) || array_key_exists("new_popup_css_version"$context) ? $context["new_popup_css_version"] : (function () { throw new RuntimeError('Variable "new_popup_css_version" does not exist.'33$this->source); })()), "html"nulltrue);
  617.         echo "\" rel=\"stylesheet\" type=\"text/css\" />
  618.         ";
  619.         // line 34
  620.         if ((=== twig_compare(twig_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.'34$this->source); })()), "request", [], "any"falsefalsefalse34), "getPathInfo", [], "method"falsefalsefalse34), "/profile"))) {
  621.             // line 35
  622.             echo "            <link href=\"/css/crt-fonts.css?v=";
  623.             echo twig_escape_filter($this->env, (isset($context["crt_fonts_css_version"]) || array_key_exists("crt_fonts_css_version"$context) ? $context["crt_fonts_css_version"] : (function () { throw new RuntimeError('Variable "crt_fonts_css_version" does not exist.'35$this->source); })()), "html"nulltrue);
  624.             echo "\" rel=\"stylesheet\" type=\"text/css\" />
  625.             <link href=\"/css/certificate-creator/certificate-creator.css\" rel=\"stylesheet\" type=\"text/css\" />
  626.         ";
  627.         }
  628.         // line 38
  629.         echo "    ";
  630.         
  631.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  632.         
  633.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  634.     }
  635.     // line 39
  636.     public function block_favicon($context, array $blocks = [])
  637.     {
  638.         $macros $this->macros;
  639.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  640.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  641.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  642.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  643.         // line 40
  644.         echo "        <link type=\"image/x-icon\" rel=\"shortcut icon\" href=\"/images/favicon/favicon.ico\">
  645.         <link type=\"image/png\" sizes=\"72x72\" rel=\"icon\" href=\"/images/favicon/android-icon-72x72.png\">
  646.         <link type=\"image/png\" sizes=\"96x96\" rel=\"icon\" href=\"/images/favicon/android-icon-96x96.png\">
  647.         <link type=\"image/png\" sizes=\"144x144\" rel=\"icon\" href=\"/images/favicon/android-icon-144x144.png\">
  648.         <link type=\"image/png\" sizes=\"192x192\" rel=\"icon\" href=\"/images/favicon/android-icon-192x192.png\">
  649.         <link type=\"image/png\" sizes=\"512x512\" rel=\"icon\" href=\"/images/favicon/android-icon-512x512.png\">
  650.         <link sizes=\"57x57\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-57x57.png\">
  651.         <link sizes=\"60x60\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-60x60.png\">
  652.         <link sizes=\"72x72\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-72x72.png\">
  653.         <link sizes=\"76x76\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-76x76.png\">
  654.         <link sizes=\"114x114\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-114x114.png\">
  655.         <link sizes=\"120x120\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-120x120.png\">
  656.         <link sizes=\"144x144\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-144x144.png\">
  657.         <link sizes=\"152x152\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-152x152.png\">
  658.         <link sizes=\"180x180\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-180x180.png\">
  659.     ";
  660.         
  661.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  662.         
  663.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  664.     }
  665.     // line 140
  666.     public function block_linkToStore($context, array $blocks = [])
  667.     {
  668.         $macros $this->macros;
  669.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  670.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkToStore"));
  671.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  672.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkToStore"));
  673.         // line 141
  674.         echo "    ";
  675.         if (((array_key_exists("category"$context) && (!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'141$this->source); })()), "getID", [], "method"falsefalsefalse141), 4))) || (array_key_exists("offer"$context) && (!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'141$this->source); })()), "getID", [], "method"falsefalsefalse141), 4))))) {
  676.             // line 142
  677.             echo "        <div id=\"linkToStore\" class=\"d-flex\">
  678.             <img src=\"/images/logo/logo_mob.svg\" height=\"35\" alt=\"\">
  679.             <div class=\"col pl-0\">
  680.                 <p class=\"sf-bold-font\">Slivki: промокоды  и скидки</p>
  681.                 <p>В приложении</p>
  682.             </div>
  683.             <div id=\"deepLinksHeader\" class=\"button-store-index-page\">Открыть</div>
  684.         </div>
  685.     ";
  686.         }
  687.         
  688.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  689.         
  690.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  691.     }
  692.     // line 153
  693.     public function block_linkToPartner($context, array $blocks = [])
  694.     {
  695.         $macros $this->macros;
  696.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  697.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkToPartner"));
  698.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  699.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkToPartner"));
  700.         // line 154
  701.         echo "    ";
  702.         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.'154$this->source); })()), "user", [], "any"falsefalsefalse154) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
  703.             // line 155
  704.             echo "        <div class=\"bg-gray text-violet text-center py-3 px-4 sf-font font-size-14\">
  705.             <div>Здравствуйте, <span class=\"sf-bold-font\">";
  706.             // line 156
  707.             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.'156$this->source); })()), "user", [], "any"falsefalsefalse156), "getFirstName", [], "method"falsefalsefalse156), "html"nulltrue);
  708.             echo "!</span></div>
  709.             <div>Здесь вы можете проверить промокод</div>
  710.             <a class=\"d-block text-white font-weight-bold bg-violet text-white rounded-14 py-2 px-3 text-uppercase mt-2\" href=\"";
  711.             // line 158
  712.             echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'158$this->source); })()), "html"nulltrue);
  713.             echo "/partner\">перейти в кабинет партнера</a>
  714.         </div>
  715.     ";
  716.         }
  717.         
  718.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  719.         
  720.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  721.     }
  722.     // line 163
  723.     public function block_messenger($context, array $blocks = [])
  724.     {
  725.         $macros $this->macros;
  726.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  727.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messenger"));
  728.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  729.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messenger"));
  730.         // line 164
  731.         echo "    ";
  732.         $this->loadTemplate("Slivki/jivosite/button_mobile.html.twig""Slivki/mobile/base.html.twig"164)->display($context);
  733.         // line 165
  734.         echo "    ";
  735.         $this->loadTemplate((("Slivki" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'165$this->source); })())) . "/jivosite/modal_mobile.html.twig"), "Slivki/mobile/base.html.twig"165)->display($context);
  736.         
  737.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  738.         
  739.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  740.     }
  741.     // line 167
  742.     public function block_headerBanner($context, array $blocks = [])
  743.     {
  744.         $macros $this->macros;
  745.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  746.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerBanner"));
  747.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  748.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerBanner"));
  749.         // line 168
  750.         echo "    ";
  751.         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.'168$this->source); })()), "user", [], "any"falsefalsefalse168) && twig_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.'168$this->source); })()), "user", [], "any"falsefalsefalse168), "hasRole", [=> twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method"falsefalsefalse168))) {
  752.             // line 169
  753.             echo "        <div id=\"headerBanner\" class=\"head-banner-container\">
  754.             ";
  755.             // line 170
  756.             echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getTopSiteBanner(((array_key_exists("brandingBannerCategoryIDs"$context)) ? ((isset($context["brandingBannerCategoryIDs"]) || array_key_exists("brandingBannerCategoryIDs"$context) ? $context["brandingBannerCategoryIDs"] : (function () { throw new RuntimeError('Variable "brandingBannerCategoryIDs" does not exist.'170$this->source); })())) : ([])), truetrue);
  757.             echo "
  758.         </div>
  759.     ";
  760.         }
  761.         
  762.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  763.         
  764.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  765.     }
  766.     // line 174
  767.     public function block_header($context, array $blocks = [])
  768.     {
  769.         $macros $this->macros;
  770.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  771.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  772.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  773.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  774.         // line 175
  775.         echo "<div id=\"headerWrapper\">
  776.     <div id=\"header\" class=\"";
  777.         // line 176
  778.         echo (((=== twig_compare(twig_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.'176$this->source); })()), "request", [], "any"falsefalsefalse176), "get", [=> "_route"], "method"falsefalsefalse176), "deliveryOrder"))) ? ("no-fixed") : (""));
  779.         echo "\">
  780.         <nav id=\"headerTop\" class=\"navbar navbar-expand p-0\">
  781.             <a class=\"navbar-brand mx-3\" href=\"";
  782.         // line 178
  783.         echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'178$this->source); })()), "html"nulltrue);
  784.         echo "\"><img src=\"/images/logo/logo_mob.svg\" height=\"35\" alt=\"\"></a>
  785.             <div class=\"navbar-collapse collapse\">
  786.                 <form id=\"headerSearchForm\" class=\"d-inline w-100\" action=\"";
  787.         // line 180
  788.         echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'180$this->source); })()), "html"nulltrue);
  789.         echo "/search\">
  790.                     <div class=\"input-group\">
  791.                         <input id=\"headerSearchInput\" name=\"text\" type=\"text\" class=\"search-input form-control py-1\" placeholder=\"Найти все что выгодно\" value=\"";
  792.         // line 182
  793.         echo twig_escape_filter($this->envtwig_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.'182$this->source); })()), "request", [], "any"falsefalsefalse182), "query", [], "any"falsefalsefalse182), "get", [=> "text"=> ""], "method"falsefalsefalse182), "html"nulltrue);
  794.         echo "\">
  795.                         <button class=\"input-group-append button-search-landing\" type=\"submit\">
  796.                             <img alt=\"\" src=\"/images/searchNewWhite.svg\" />
  797.                         </button>
  798.                         <button class=\"voice-search-btn\" type=\"button\"></button>
  799.                         ";
  800.         // line 187
  801.         $this->loadTemplate("search_equalizer.html.twig""Slivki/mobile/base.html.twig"187)->display(twig_to_array(["barCount" => 36"barPadding" => 6]));
  802.         // line 188
  803.         echo "                    </div>
  804.                     <input type=\"hidden\" name=\"sortBy\" id=\"sortBy\" value=\"";
  805.         // line 189
  806.         echo twig_escape_filter($this->envtwig_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.'189$this->source); })()), "request", [], "any"falsefalsefalse189), "query", [], "any"falsefalsefalse189), "get", [=> "sortBy"=> "default"], "method"falsefalsefalse189), "html"nulltrue);
  807.         echo "\">
  808.                     <input type=\"hidden\" name=\"distance\" id=\"distance\" value=\"";
  809.         // line 190
  810.         echo twig_escape_filter($this->envtwig_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.'190$this->source); })()), "request", [], "any"falsefalsefalse190), "query", [], "any"falsefalsefalse190), "get", [=> "distance"=> "0"], "method"falsefalsefalse190), "html"nulltrue);
  811.         echo "\">
  812.                     <input type=\"hidden\" name=\"isVoice\" id=\"searchByVoice\"  value=\"false\"/>
  813.                 </form>
  814.                 <ul class=\"list-unstyled navbar-nav\">
  815.                     ";
  816.         // line 194
  817.         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.'194$this->source); })()), "user", [], "any"falsefalsefalse194)) {
  818.             // line 195
  819.             echo "                        <li class=\"nav-item focus-tel\">
  820.                             <a href=\"#\" class=\"nav-link\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
  821.                         </li>
  822.                     ";
  823.         } else {
  824.             // line 199
  825.             echo "                        <li class=\"nav-item d-none d-sm-block\">
  826.                             <a id=\"headerUserName\" class=\"nav-link\" href=\"";
  827.             // line 200
  828.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
  829.             echo "\">";
  830.             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.'200$this->source); })()), "user", [], "any"falsefalsefalse200), "getFirstName", [], "method"falsefalsefalse200), "html"nulltrue);
  831.             echo "</a>
  832.                         </li>
  833.                     ";
  834.         }
  835.         // line 203
  836.         echo "                    <li class=\"nav-item\">
  837.                         <a class=\"nav-link p-0\" href=\"#\" id=\"sidebarMenuLink\">
  838.                             <i class=\"slivki-icon-menu text-black\"></i>
  839.                         </a>
  840.                     </li>
  841.                 </ul>
  842.             </div>
  843.         </nav>
  844.         ";
  845.         // line 211
  846.         $this->loadTemplate((("Slivki/mobile/" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'211$this->source); })())) . "/header_menu.html.twig"), "Slivki/mobile/base.html.twig"211)->display($context);
  847.         // line 212
  848.         echo "    </div>
  849. </div>
  850. ";
  851.         
  852.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  853.         
  854.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  855.     }
  856.     // line 218
  857.     public function block_topContent($context, array $blocks = [])
  858.     {
  859.         $macros $this->macros;
  860.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  861.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""topContent"));
  862.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  863.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""topContent"));
  864.         
  865.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  866.         
  867.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  868.     }
  869.     // line 223
  870.     public function block_content($context, array $blocks = [])
  871.     {
  872.         $macros $this->macros;
  873.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  874.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  875.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  876.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  877.         
  878.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  879.         
  880.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  881.     }
  882.     // line 227
  883.     public function block_footer($context, array $blocks = [])
  884.     {
  885.         $macros $this->macros;
  886.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  887.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  888.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  889.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  890.         // line 228
  891.         echo "    ";
  892.         $this->loadTemplate((("Slivki/mobile" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'228$this->source); })())) . "/footer.html.twig"), "Slivki/mobile/base.html.twig"228)->display($context);
  893.         
  894.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  895.         
  896.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  897.     }
  898.     // line 335
  899.     public function block_popup($context, array $blocks = [])
  900.     {
  901.         $macros $this->macros;
  902.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  903.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popup"));
  904.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  905.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popup"));
  906.         // line 336
  907.         echo "    ";
  908.         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.'336$this->source); })()), "user", [], "any"falsefalsefalse336)) {
  909.             // line 337
  910.             echo "        ";
  911.             $this->loadTemplate("Slivki/reset_password/popup_reset_pass_mob.html.twig""Slivki/mobile/base.html.twig"337)->display($context);
  912.             // line 338
  913.             echo "    ";
  914.         }
  915.         // line 339
  916.         echo "    ";
  917.         $this->loadTemplate("Slivki/mobile/popup/loading_popup.html.twig""Slivki/mobile/base.html.twig"339)->display($context);
  918.         // line 340
  919.         echo "    ";
  920.         echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getMainMenu($this->envfalsefalse);
  921.         echo "
  922.     ";
  923.         // line 341
  924.         if ((=== twig_compare(twig_length_filter($this->envtwig_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.'341$this->source); })()), "session", [], "any"falsefalsefalse341), "flashbag", [], "any"falsefalsefalse341), "get", [=> "showMogilevMailingBonusPopup"], "method"falsefalsefalse341)), 0))) {
  925.             // line 342
  926.             echo "        ";
  927.             $this->loadTemplate("Slivki/mobile/popup/mogilev_mailing_popup.html.twig""Slivki/mobile/base.html.twig"342)->display($context);
  928.             // line 343
  929.             echo "    ";
  930.         }
  931.         // line 344
  932.         echo "    ";
  933.         $this->loadTemplate("Slivki/mobile/select_city.html.twig""Slivki/mobile/base.html.twig"344)->display($context);
  934.         // line 345
  935.         echo "    ";
  936.         $this->loadTemplate("Slivki/mobile/popup/push.html.twig""Slivki/mobile/base.html.twig"345)->display($context);
  937.         // line 346
  938.         echo "    ";
  939.         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.'346$this->source); })()), "user", [], "any"falsefalsefalse346)) {
  940.             // line 347
  941.             echo "        ";
  942.             $this->loadTemplate("Slivki/mobile/popup/login.html.twig""Slivki/mobile/base.html.twig"347)->display($context);
  943.             // line 348
  944.             echo "        ";
  945.             $this->loadTemplate("Slivki/mobile/popup/restore_password.html.twig""Slivki/mobile/base.html.twig"348)->display($context);
  946.             // line 349
  947.             echo "        ";
  948.             $this->loadTemplate("Slivki/mobile/popup/succes_restore_password.html.twig""Slivki/mobile/base.html.twig"349)->display($context);
  949.             // line 350
  950.             echo "    ";
  951.         }
  952.         // line 351
  953.         echo "    ";
  954.         $this->loadTemplate("Slivki/popups/deep_links_popup.html.twig""Slivki/mobile/base.html.twig"351)->display($context);
  955.         
  956.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  957.         
  958.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  959.     }
  960.     // line 353
  961.     public function block_brandingBanner($context, array $blocks = [])
  962.     {
  963.         $macros $this->macros;
  964.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  965.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""brandingBanner"));
  966.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  967.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""brandingBanner"));
  968.         
  969.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  970.         
  971.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  972.     }
  973.     // line 354
  974.     public function block_floatingMobileBanner($context, array $blocks = [])
  975.     {
  976.         $macros $this->macros;
  977.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  978.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""floatingMobileBanner"));
  979.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  980.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""floatingMobileBanner"));
  981.         // line 355
  982.         echo "    ";
  983.         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.'355$this->source); })()), "user", [], "any"falsefalsefalse355) && twig_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.'355$this->source); })()), "user", [], "any"falsefalsefalse355), "hasRole", [=> twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method"falsefalsefalse355))) {
  984.             // line 356
  985.             echo "        ";
  986.             echo $this->env->getRuntime('Slivki\Twig\MobileFloatingBannerRuntime')->getMobileFloatingBanner(((array_key_exists("brandingBannerCategoryIDs"$context)) ? ((isset($context["brandingBannerCategoryIDs"]) || array_key_exists("brandingBannerCategoryIDs"$context) ? $context["brandingBannerCategoryIDs"] : (function () { throw new RuntimeError('Variable "brandingBannerCategoryIDs" does not exist.'356$this->source); })())) : ([])));
  987.             echo "
  988.     ";
  989.         }
  990.         
  991.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  992.         
  993.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  994.     }
  995.     // line 390
  996.     public function block_javascripts($context, array $blocks = [])
  997.     {
  998.         $macros $this->macros;
  999.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1000.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1001.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1002.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1003.         // line 391
  1004.         echo "    <script src=\"/js/menuAim/main.min.js\"></script>
  1005. ";
  1006.         // line 393
  1007.         echo "    <script src=\"/js/jquery-ui-1.8.16.custom.min.js\"></script>
  1008.     <script src=\"/mobile/js/parallax.js\"></script>
  1009.     <script src=\"/js/voices/app.js?v=6\"></script>
  1010.     <script src=\"/js/voices/recorder.js\"></script>
  1011.     <script src=\"/js/bodyScrollLock.min.js?v=1\"></script>
  1012.     <script type=\"module\" src=\"/js/botsrap-custom-dropdowns/custom-dropdowns.js\"></script>
  1013.     <script src=\"/js/jform-styler/vanillaSelectBox.min.js\"></script>
  1014.     <script src=\"/js/swiper-js/swiper.min.js\"></script>
  1015.     <script src=\"/mobile/js/paralax.min.js\"></script>
  1016.     <script src=\"/js/slick.min.js\"></script>
  1017.     <script src=\"/js/jquery.mobile-events.min.js\"></script>
  1018.     <script src=\"/js/popper.min.js\"></script>
  1019.     <script src=\"/js/js.cookie.min.js\"></script>
  1020.     <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"></script>
  1021.     <script src=\"/js/jquery.lazyload.min.js?v=2\"></script>
  1022.     <script src=\"/js/lottie_light.min.js\"></script>
  1023.     <script src=\"/js/jquery.maskedinput.min.js\"></script>
  1024.     <script src=\"/js/jquery.inputmask.min.js\"></script>
  1025.     <script src=\"/js/helper.js?v=";
  1026.         // line 411
  1027.         echo twig_escape_filter($this->env, (isset($context["helper_version_js"]) || array_key_exists("helper_version_js"$context) ? $context["helper_version_js"] : (function () { throw new RuntimeError('Variable "helper_version_js" does not exist.'411$this->source); })()), "html"nulltrue);
  1028.         echo "\"></script>
  1029.     <script src=\"/js/captcha/main.js?v=13\"></script>
  1030.     <script type=\"text/javascript\" src=\"/js/jquery.cookie.js\"></script>
  1031.     <script src=\"https://yastatic.net/pcode/adfox/loader.js\" crossorigin=\"anonymous\"></script>
  1032.     <script src=\"/js/jquery.matchHeight-min.js\"></script>
  1033.     <script src=\"/js/intlTelInput-jquery.min.js\"></script>
  1034.     <script src=\"/js/utils.min.js\"></script>
  1035.    <script src=\"/js/recaptcha_api.js\"></script>
  1036.     <script src=\"/js/common.min.js?v=";
  1037.         // line 419
  1038.         echo twig_escape_filter($this->env, (isset($context["common_js_version"]) || array_key_exists("common_js_version"$context) ? $context["common_js_version"] : (function () { throw new RuntimeError('Variable "common_js_version" does not exist.'419$this->source); })()), "html"nulltrue);
  1039.         echo "\"></script>
  1040.     <script type=\"module\" src=\"/js/time_block_category/main.js?v=";
  1041.         // line 420
  1042.         echo twig_escape_filter($this->env, (isset($context["time_block_category_js"]) || array_key_exists("time_block_category_js"$context) ? $context["time_block_category_js"] : (function () { throw new RuntimeError('Variable "time_block_category_js" does not exist.'420$this->source); })()), "html"nulltrue);
  1043.         echo "\"></script>
  1044.     <script src=\"/mobile/js/script.min.js?v=";
  1045.         // line 421
  1046.         echo twig_escape_filter($this->env, (isset($context["mobile_script_js_version"]) || array_key_exists("mobile_script_js_version"$context) ? $context["mobile_script_js_version"] : (function () { throw new RuntimeError('Variable "mobile_script_js_version" does not exist.'421$this->source); })()), "html"nulltrue);
  1047.         echo "\"></script>
  1048.     <script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
  1049.     <script src=\"/js/gtranslate.js\"></script>
  1050.     <script src=\"/js/subscription.js?v=";
  1051.         // line 424
  1052.         echo twig_escape_filter($this->env, (isset($context["subscription_js_version"]) || array_key_exists("subscription_js_version"$context) ? $context["subscription_js_version"] : (function () { throw new RuntimeError('Variable "subscription_js_version" does not exist.'424$this->source); })()), "html"nulltrue);
  1053.         echo "\"></script>
  1054.     <script src=\"/js/maps_index_page/roundedControlls.js?v=1\"></script>
  1055.     <script src=\"/js/jquery.sameheight.js\"></script>
  1056.     <script type=\"module\" src=\"/js/flowersCategoryCarousel.js?v=";
  1057.         // line 427
  1058.         echo twig_escape_filter($this->env, (isset($context["flowers_category_carousel_js_version"]) || array_key_exists("flowers_category_carousel_js_version"$context) ? $context["flowers_category_carousel_js_version"] : (function () { throw new RuntimeError('Variable "flowers_category_carousel_js_version" does not exist.'427$this->source); })()), "html"nulltrue);
  1059.         echo "\"></script>
  1060.     <script src=\"/js/moment.min.js\"></script>
  1061.     <script type=\"module\" src=\"/js/family_subscription/api_family_subscription.js?v=";
  1062.         // line 429
  1063.         echo twig_escape_filter($this->env, (isset($context["family_subscription_js_version"]) || array_key_exists("family_subscription_js_version"$context) ? $context["family_subscription_js_version"] : (function () { throw new RuntimeError('Variable "family_subscription_js_version" does not exist.'429$this->source); })()), "html"nulltrue);
  1064.         echo "\"></script>
  1065.     <script type=\"module\" src=\"/js/family_subscription/family_subscription.js?v=";
  1066.         // line 430
  1067.         echo twig_escape_filter($this->env, (isset($context["family_subscription_js_version"]) || array_key_exists("family_subscription_js_version"$context) ? $context["family_subscription_js_version"] : (function () { throw new RuntimeError('Variable "family_subscription_js_version" does not exist.'430$this->source); })()), "html"nulltrue);
  1068.         echo "\"></script>
  1069.     <script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
  1070.     <script type=\"module\" src=\"/js/work_examples/api_work_examples.js?v=";
  1071.         // line 432
  1072.         echo twig_escape_filter($this->env, (isset($context["api_work_examples_js_version"]) || array_key_exists("api_work_examples_js_version"$context) ? $context["api_work_examples_js_version"] : (function () { throw new RuntimeError('Variable "api_work_examples_js_version" does not exist.'432$this->source); })()), "html"nulltrue);
  1073.         echo "\"></script>
  1074.     <script src=\"/js/maps_index_page/roundedControlls.js?v=5\"></script>
  1075.     <script type=\"module\" src=\"/js/beauty/mainMapBeauty.js?v=";
  1076.         // line 434
  1077.         echo twig_escape_filter($this->env, (isset($context["main_map_beauty_js_version"]) || array_key_exists("main_map_beauty_js_version"$context) ? $context["main_map_beauty_js_version"] : (function () { throw new RuntimeError('Variable "main_map_beauty_js_version" does not exist.'434$this->source); })()), "html"nulltrue);
  1078.         echo "\"></script>
  1079.     <script type=\"module\" src=\"/js/beauty/masters.js?v=";
  1080.         // line 435
  1081.         echo twig_escape_filter($this->env, (isset($context["beauty_masters_js_version"]) || array_key_exists("beauty_masters_js_version"$context) ? $context["beauty_masters_js_version"] : (function () { throw new RuntimeError('Variable "beauty_masters_js_version" does not exist.'435$this->source); })()), "html"nulltrue);
  1082.         echo "\"></script>
  1083.     <script type=\"module\" src=\"/js/oplati/main.js?v=";
  1084.         // line 436
  1085.         echo twig_escape_filter($this->env, (isset($context["oplati_js_version"]) || array_key_exists("oplati_js_version"$context) ? $context["oplati_js_version"] : (function () { throw new RuntimeError('Variable "oplati_js_version" does not exist.'436$this->source); })()), "html"nulltrue);
  1086.         echo "\" />
  1087.     <script src=\"/js/jquery.toast.min.js\"></script>
  1088.     <script src=\"/js/cookies/cookies.js?v=";
  1089.         // line 438
  1090.         echo twig_escape_filter($this->env, (isset($context["cookies_js_version"]) || array_key_exists("cookies_js_version"$context) ? $context["cookies_js_version"] : (function () { throw new RuntimeError('Variable "cookies_js_version" does not exist.'438$this->source); })()), "html"nulltrue);
  1091.         echo "\"></script>
  1092. ";
  1093.         
  1094.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1095.         
  1096.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1097.     }
  1098.     // line 446
  1099.     public function block_metrikaEvent($context, array $blocks = [])
  1100.     {
  1101.         $macros $this->macros;
  1102.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1103.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metrikaEvent"));
  1104.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1105.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metrikaEvent"));
  1106.         
  1107.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1108.         
  1109.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1110.     }
  1111.     public function getTemplateName()
  1112.     {
  1113.         return "Slivki/mobile/base.html.twig";
  1114.     }
  1115.     public function isTraitable()
  1116.     {
  1117.         return false;
  1118.     }
  1119.     public function getDebugInfo()
  1120.     {
  1121.         return array (  1191 => 446,  1179 => 438,  1174 => 436,  1170 => 435,  1166 => 434,  1161 => 432,  1156 => 430,  1152 => 429,  1147 => 427,  1141 => 424,  1135 => 421,  1131 => 420,  1127 => 419,  1116 => 411,  1096 => 393,  1093 => 391,  1083 => 390,  1069 => 356,  1066 => 355,  1056 => 354,  1038 => 353,  1027 => 351,  1024 => 350,  1021 => 349,  1018 => 348,  1015 => 347,  1012 => 346,  1009 => 345,  1006 => 344,  1003 => 343,  1000 => 342,  998 => 341,  993 => 340,  990 => 339,  987 => 338,  984 => 337,  981 => 336,  971 => 335,  960 => 228,  950 => 227,  932 => 223,  914 => 218,  902 => 212,  900 => 211,  890 => 203,  882 => 200,  879 => 199,  873 => 195,  871 => 194,  864 => 190,  860 => 189,  857 => 188,  855 => 187,  847 => 182,  842 => 180,  837 => 178,  832 => 176,  829 => 175,  819 => 174,  805 => 170,  802 => 169,  799 => 168,  789 => 167,  778 => 165,  775 => 164,  765 => 163,  751 => 158,  746 => 156,  743 => 155,  740 => 154,  730 => 153,  711 => 142,  708 => 141,  698 => 140,  673 => 40,  663 => 39,  653 => 38,  646 => 35,  644 => 34,  640 => 33,  635 => 32,  625 => 31,  607 => 17,  596 => 447,  594 => 446,  589 => 443,  585 => 441,  583 => 440,  581 => 390,  574 => 389,  572 => 388,  555 => 373,  553 => 372,  551 => 371,  549 => 370,  547 => 369,  545 => 368,  543 => 367,  541 => 366,  539 => 365,  537 => 364,  535 => 363,  533 => 362,  531 => 361,  529 => 360,  527 => 359,  525 => 354,  523 => 353,  521 => 335,  510 => 326,  504 => 324,  501 => 323,  495 => 319,  493 => 318,  490 => 317,  477 => 307,  474 => 306,  471 => 305,  465 => 303,  462 => 302,  455 => 300,  452 => 299,  449 => 298,  443 => 296,  439 => 294,  437 => 293,  431 => 289,  417 => 277,  414 => 276,  411 => 275,  408 => 274,  405 => 273,  400 => 271,  394 => 268,  390 => 266,  382 => 265,  376 => 262,  373 => 261,  371 => 260,  367 => 258,  362 => 255,  357 => 252,  351 => 250,  349 => 249,  345 => 248,  338 => 245,  336 => 244,  333 => 243,  326 => 238,  324 => 237,  320 => 235,  317 => 234,  314 => 233,  311 => 232,  309 => 231,  306 => 230,  304 => 227,  299 => 224,  297 => 223,  291 => 219,  289 => 218,  284 => 215,  282 => 174,  280 => 167,  278 => 163,  275 => 162,  273 => 153,  270 => 152,  268 => 140,  265 => 139,  263 => 138,  259 => 137,  254 => 136,  252 => 135,  248 => 134,  244 => 133,  240 => 132,  236 => 131,  232 => 130,  227 => 129,  220 => 126,  214 => 124,  212 => 123,  207 => 122,  205 => 121,  202 => 120,  198 => 118,  196 => 117,  191 => 116,  187 => 114,  185 => 113,  183 => 112,  172 => 103,  145 => 78,  143 => 77,  140 => 76,  138 => 75,  117 => 56,  114 => 39,  112 => 31,  97 => 18,  95 => 17,  91 => 16,  86 => 15,  84 => 14,  79 => 11,  75 => 9,  71 => 7,  69 => 6,  65 => 4,  63 => 3,  61 => 2,  59 => 1,);
  1122.     }
  1123.     public function getSourceContext()
  1124.     {
  1125.         return new Source("{% set metaInfo = getMetaInfo() %}
  1126. {% set path = app.request.requestUri|url_encode %}
  1127. {% if app.request.query.get('path') %}
  1128.     {% set path = app.request.query.get('path')|url_encode %}
  1129. {% endif %}
  1130. {% if path != '%2F' %}
  1131.     {% set path = '?path=' ~ path %}
  1132. {% else %}
  1133.     {% set path = '' %}
  1134. {% endif %}
  1135. <!DOCTYPE html>
  1136. <html lang=\"ru\">
  1137. <head>
  1138.     {% include \"Slivki#{regional_template_path}/mobile/meta_block.html.twig\" %}
  1139.     <link href=\"/css/flowersHotLent.css?v={{ flowers_hot_lent_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
  1140.     <link rel=\"stylesheet\" href=\"/css/beauty/beauty-masters.css?v={{ beauty_masters_css_version }}\" type=\"text/css\"/>
  1141.     {% block meta %}{% endblock %}
  1142.     <link href=\"/css/bootstrap4.3.1.min.css\" rel=\"stylesheet\">
  1143.     <link href=\"/js/jgallery-1.5.5/dist/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
  1144.     <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\"/>
  1145.     <link href=\"/css/jform-styler/vanillaSelectBox.css\" rel=\"stylesheet\">
  1146.     <link rel=\"stylesheet\" href=\"/css/botstrap-dropdowns-v3/dropdowns.css\"/>
  1147.     <link href=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css\" rel=\"stylesheet\">
  1148.     <link rel=\"stylesheet\" href=\"/css/intTelInput.css?v=5\" />
  1149.     <link rel=\"stylesheet\" href=\"/css/slick.min.css\"/>
  1150.     <link rel=\"stylesheet\" href=\"/css/slick-theme.min.css\" />
  1151.     <link rel=\"stylesheet\" href=\"/css/jquery.toast.min.css\" />
  1152.     <link rel=\"stylesheet\" href=\"/css/cookies.css\"/>
  1153.     <link href=\" /css/universal-parallax.min.css \" rel=\"stylesheet\">
  1154.     {% block styles %}
  1155.         <link href=\"/mobile/css/style.min.css?v={{ mobile_style_css_version }}\" rel=\"stylesheet\">
  1156.         <link href=\"/css/new_popup.css?v={{ new_popup_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
  1157.         {% if app.request.getPathInfo() == '/profile' %}
  1158.             <link href=\"/css/crt-fonts.css?v={{ crt_fonts_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
  1159.             <link href=\"/css/certificate-creator/certificate-creator.css\" rel=\"stylesheet\" type=\"text/css\" />
  1160.         {% endif %}
  1161.     {% endblock %}
  1162.     {% block favicon %}
  1163.         <link type=\"image/x-icon\" rel=\"shortcut icon\" href=\"/images/favicon/favicon.ico\">
  1164.         <link type=\"image/png\" sizes=\"72x72\" rel=\"icon\" href=\"/images/favicon/android-icon-72x72.png\">
  1165.         <link type=\"image/png\" sizes=\"96x96\" rel=\"icon\" href=\"/images/favicon/android-icon-96x96.png\">
  1166.         <link type=\"image/png\" sizes=\"144x144\" rel=\"icon\" href=\"/images/favicon/android-icon-144x144.png\">
  1167.         <link type=\"image/png\" sizes=\"192x192\" rel=\"icon\" href=\"/images/favicon/android-icon-192x192.png\">
  1168.         <link type=\"image/png\" sizes=\"512x512\" rel=\"icon\" href=\"/images/favicon/android-icon-512x512.png\">
  1169.         <link sizes=\"57x57\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-57x57.png\">
  1170.         <link sizes=\"60x60\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-60x60.png\">
  1171.         <link sizes=\"72x72\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-72x72.png\">
  1172.         <link sizes=\"76x76\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-76x76.png\">
  1173.         <link sizes=\"114x114\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-114x114.png\">
  1174.         <link sizes=\"120x120\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-120x120.png\">
  1175.         <link sizes=\"144x144\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-144x144.png\">
  1176.         <link sizes=\"152x152\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-152x152.png\">
  1177.         <link sizes=\"180x180\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-180x180.png\">
  1178.     {% endblock %}
  1179.     <meta name=\"google-site-verification\" content=\"LZdJyY-ROJZoDrU1Akiha-FF7W_PmSiN4mJRSyWexog\" />
  1180.     <link rel=\"manifest\" href=\"/manifest.json?v=0\">
  1181.     <script src=\"//code-eu1.jivosite.com/widget/nNpsUw68ys\" async></script>
  1182.     <script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU&apikey=ced3d85f-6a99-4208-93d6-b578ba5e8f8a\"></script>
  1183.     <script>
  1184.         var userAgent = navigator.userAgent || navigator.vendor || window.opera;
  1185.         if (userAgent.indexOf('FBAN') == -1 && userAgent.indexOf('FBAV') == -1 && userAgent.indexOf('Instagram') == -1 &&
  1186.             userAgent.indexOf('Skype') == -1 && userAgent.indexOf('Viber') == -1 && userAgent.indexOf('WhatsApp') == -1) {
  1187.             var d = document,
  1188.                 h = d.getElementsByTagName('head')[0],
  1189.                 s = d.createElement('script');
  1190.             s.type = 'text/javascript';
  1191.             s.async = true;
  1192.             s.src = '//cdn.sendpulse.com/js/push/260be6a77276a4d176159328b4b7175c_1.js?v=0';
  1193.             h.appendChild(s);
  1194.         }
  1195.     </script>
  1196.     <!-- Global site tag (gtag.js) - Google Analytics -->
  1197.     {% set currentCity = getCurrentCity() %}
  1198.     {% if category is not defined and offer is not defined %}
  1199.         <script src=\"/js/smart-app-banner.js\"></script>
  1200.         <script type=\"text/javascript\">
  1201.             new SmartBanner({
  1202.                 daysHidden: 15,   // days to hide banner after close button is clicked (defaults to 15)
  1203.                 daysReminder: 90, // days to hide banner after \"VIEW\" button is clicked (defaults to 90)
  1204.                 appStoreLanguage: 'ru', // language code for the App Store (defaults to user's browser language)
  1205.                 title: 'Slivki - промокоды и скидки',
  1206.                 author: 'Slivki',
  1207.                 button: 'Посмотреть',
  1208.                 store: {
  1209.                     ios: 'On the App Store',
  1210.                     android: 'В Google Play',
  1211.                     windows: 'In Windows store'
  1212.                 },
  1213.                 price: {
  1214.                     ios: 'FREE',
  1215.                     android: 'FREE',
  1216.                     windows: 'FREE'
  1217.                 }
  1218.                 // , theme: '' // put platform type ('ios', 'android', etc.) here to force single theme on all device
  1219.                 , icon: '/images/app-icon.png' // full path to icon image if not using website icon image
  1220.                 // , force: 'ios' // Uncomment for platform emulation
  1221.             });
  1222.         </script>
  1223.     {% endif %}
  1224.     <script data-noptimize=\"1\" data-cfasync=\"false\" data-wpfc-render=\"false\">
  1225.         (function () {
  1226.             var script = document.createElement(\"script\");
  1227.             script.async = 1;
  1228.             script.src = 'https://tpembars.com/NDgzMzU2.js?t=483356';
  1229.             document.head.appendChild(script);
  1230.         })();
  1231.     </script>
  1232. </head>
  1233. {% set bodyClass =  '' %}
  1234. {% if noToken is not defined and is_granted('ROLE_ADMIN_USER') %}
  1235.     {% set bodyClass =  'a-u' %}
  1236. {% endif %}
  1237. <body class=\"{{ bodyClass }}\">
  1238. {% if app.debug %}
  1239.     <input type=\"hidden\" id=\"debugMode\" value=\"1\"/>
  1240. {% endif %}
  1241. {% if app.user %}
  1242.     <input type=\"hidden\" id=\"customerID\" value=\"{{ app.user.getID() }}\"/>
  1243.     {% if app.user.getEmail() != '' %}
  1244.         <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"{{ app.user.getEmail() }}\">
  1245.     {% else %}
  1246.         <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"{{ app.user.getPhone() }}\">
  1247.     {% endif %}
  1248. {% endif %}
  1249. <input type=\"hidden\" id=\"serverTime\" value=\"{{ 'now'|date('Y-m-d H:i:s') }}\">
  1250. <input type=\"hidden\" id=\"cityID\" value=\"{{ currentCity.getID() }}\">
  1251. <input id=\"cityName\" type=\"hidden\" value=\"{{ currentCity.getID() in [constant('Slivki\\\\Entity\\\\City::DEFAULT_CITY_ID'), constant('Slivki\\\\Entity\\\\City::TASHKENT_CITY_ID')] ? '/' : getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_CITY'), currentCity.getID()) }}\"/>
  1252. <input type=\"hidden\" id=\"rtbhUID\" value=\"{{ getRTBHouseUID(app.user) }}\">
  1253. <input id=\"userId\" type=\"hidden\" value=\" {{ app.user is not null ? app.user.ID : null }}\">
  1254. <input id=\"metricaUrl\" type=\"hidden\" value=\" {{ slivki_metrica_url }}/api/v1/metric\">
  1255. {% set geoIpLocation = getIPLocationData() %}
  1256. <input type=\"hidden\" id=\"geoIpLatitude\" value=\"{{ geoIpLocation[0] }}\"/>
  1257. <input type=\"hidden\" id=\"geoIpLongitude\" value=\"{{ geoIpLocation[1] }}\"/>
  1258. {% set subscription = app.user ? getSubscription(app.user) : null %}
  1259. {% block linkToStore %}
  1260.     {% if category is defined and currentCity.getID() != 4 or offer is defined and currentCity.getID() != 4 %}
  1261.         <div id=\"linkToStore\" class=\"d-flex\">
  1262.             <img src=\"/images/logo/logo_mob.svg\" height=\"35\" alt=\"\">
  1263.             <div class=\"col pl-0\">
  1264.                 <p class=\"sf-bold-font\">Slivki: промокоды  и скидки</p>
  1265.                 <p>В приложении</p>
  1266.             </div>
  1267.             <div id=\"deepLinksHeader\" class=\"button-store-index-page\">Открыть</div>
  1268.         </div>
  1269.     {% endif %}
  1270. {% endblock %}
  1271. {% block linkToPartner %}
  1272.     {% if app.user and is_granted('ROLE_SUPPLIER') %}
  1273.         <div class=\"bg-gray text-violet text-center py-3 px-4 sf-font font-size-14\">
  1274.             <div>Здравствуйте, <span class=\"sf-bold-font\">{{ app.user.getFirstName() }}!</span></div>
  1275.             <div>Здесь вы можете проверить промокод</div>
  1276.             <a class=\"d-block text-white font-weight-bold bg-violet text-white rounded-14 py-2 px-3 text-uppercase mt-2\" href=\"{{ base_url }}/partner\">перейти в кабинет партнера</a>
  1277.         </div>
  1278.     {% endif %}
  1279. {% endblock %}
  1280. {% block messenger %}
  1281.     {% include 'Slivki/jivosite/button_mobile.html.twig' %}
  1282.     {% include \"Slivki#{regional_template_path}/jivosite/modal_mobile.html.twig\" %}
  1283. {% endblock %}
  1284. {% block headerBanner %}
  1285.     {% if not (app.user and app.user.hasRole(constant('\\\\Slivki\\\\Entity\\\\UserGroup::ROLE_ADS_FREE'))) %}
  1286.         <div id=\"headerBanner\" class=\"head-banner-container\">
  1287.             {{ getTopSiteBanner(brandingBannerCategoryIDs is defined ? brandingBannerCategoryIDs : [], true, true) }}
  1288.         </div>
  1289.     {% endif %}
  1290. {% endblock %}
  1291. {% block header %}
  1292. <div id=\"headerWrapper\">
  1293.     <div id=\"header\" class=\"{{ app.request.get('_route') == 'deliveryOrder' ? 'no-fixed' }}\">
  1294.         <nav id=\"headerTop\" class=\"navbar navbar-expand p-0\">
  1295.             <a class=\"navbar-brand mx-3\" href=\"{{ base_url }}\"><img src=\"/images/logo/logo_mob.svg\" height=\"35\" alt=\"\"></a>
  1296.             <div class=\"navbar-collapse collapse\">
  1297.                 <form id=\"headerSearchForm\" class=\"d-inline w-100\" action=\"{{ base_url }}/search\">
  1298.                     <div class=\"input-group\">
  1299.                         <input id=\"headerSearchInput\" name=\"text\" type=\"text\" class=\"search-input form-control py-1\" placeholder=\"Найти все что выгодно\" value=\"{{ app.request.query.get('text', '') }}\">
  1300.                         <button class=\"input-group-append button-search-landing\" type=\"submit\">
  1301.                             <img alt=\"\" src=\"/images/searchNewWhite.svg\" />
  1302.                         </button>
  1303.                         <button class=\"voice-search-btn\" type=\"button\"></button>
  1304.                         {% include 'search_equalizer.html.twig' with {'barCount': 36, 'barPadding': 6} only %}
  1305.                     </div>
  1306.                     <input type=\"hidden\" name=\"sortBy\" id=\"sortBy\" value=\"{{ app.request.query.get('sortBy', 'default') }}\">
  1307.                     <input type=\"hidden\" name=\"distance\" id=\"distance\" value=\"{{ app.request.query.get('distance', '0') }}\">
  1308.                     <input type=\"hidden\" name=\"isVoice\" id=\"searchByVoice\"  value=\"false\"/>
  1309.                 </form>
  1310.                 <ul class=\"list-unstyled navbar-nav\">
  1311.                     {% if not app.user %}
  1312.                         <li class=\"nav-item focus-tel\">
  1313.                             <a href=\"#\" class=\"nav-link\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
  1314.                         </li>
  1315.                     {% else %}
  1316.                         <li class=\"nav-item d-none d-sm-block\">
  1317.                             <a id=\"headerUserName\" class=\"nav-link\" href=\"{{ path('profile') }}\">{{ app.user.getFirstName() }}</a>
  1318.                         </li>
  1319.                     {% endif %}
  1320.                     <li class=\"nav-item\">
  1321.                         <a class=\"nav-link p-0\" href=\"#\" id=\"sidebarMenuLink\">
  1322.                             <i class=\"slivki-icon-menu text-black\"></i>
  1323.                         </a>
  1324.                     </li>
  1325.                 </ul>
  1326.             </div>
  1327.         </nav>
  1328.         {% include \"Slivki/mobile/#{regional_template_path}/header_menu.html.twig\" %}
  1329.     </div>
  1330. </div>
  1331. {% endblock %}
  1332. <main id=\"content\" class=\"container-fluid\">
  1333.     <div id=\"topContent\" class=\"row no-gutters\">
  1334.         <div class=\"col-12\">
  1335.             {% block topContent %}{% endblock %}
  1336.         </div>
  1337.     </div>
  1338.     <div class=\"row no-gutters\">
  1339.         <div class=\"col-12\">
  1340.             {% block content %}{% endblock %}
  1341.         </div>
  1342.     </div>
  1343. </main>
  1344. {% block footer %}
  1345.     {% include \"Slivki/mobile#{regional_template_path}/footer.html.twig\" %}
  1346. {% endblock %}
  1347. <nav id=\"sidebarMenu\">
  1348.     {% set landingUrl = '/subscription-landing?utm_source=main_menu' %}
  1349.     {% if app.user %}
  1350.         {% set landingUrl = '/profile/subscription/manage?utm_source=main_menu' %}
  1351.     {% endif %}
  1352.     <div class=\"row sf-font h-100\">
  1353.         <div class=\"col-10 bg-white px-0 side-bar-menu\">
  1354.             {% if app.user and is_granted('ROLE_SUPPLIER') %}
  1355.                 <div class=\"col w-fit-content my-3 ml-3\">
  1356.                     <a class=\"d-block text-white text-center font-weight-bold bg-violet text-white rounded-14 py-2 px-3 text-uppercase mt-2\" href=\"/partner\">кабинет партнера</a>
  1357.                     <p class=\"text-violet sf-font mb-0 mt-1\">Войдите для проверки промокода</p>
  1358.                 </div>
  1359.             {% endif %}
  1360.             <div class=\"bg-light-gray p-2 d-flex user-info__wrapper\">
  1361.                 {% if app.user %}
  1362.                     <a class=\"w-100\" href=\"{{ path('profile') }}\">
  1363.                         <div id=\"userTopInfo\" class=\"user-info\">
  1364.                             <p class=\"user-info__title\"><strong>Личный кабинет</strong></p>
  1365.                             <p id=\"username\">{{ app.user.getPhone() ? '***' ~ app.user.getPhone()|phone[3:] : app.user.getEmail() }}</p>
  1366.                             {% if is_granted('IS_IMPERSONATOR') %}
  1367.                                 <a class=\"text-danger pl-2\" href=\"{{ impersonation_exit_path(path('homepage')) }}\"><i class=\"slivki-icon-off text-danger p-0\"></i> Вернутся в свой акк</a>
  1368.                             {% endif %}
  1369.                         </div>
  1370.                     </a>
  1371.                 {% else %}
  1372.                     <i class=\"slivki-icon-user-o user-avatar\"></i>
  1373.                     <a href=\"#\" data-toggle=\"modal\" data-target=\".modal-auth\" class=\"my-auto\">Вход/Регистрация</a></li>
  1374.                 {% endif %}
  1375.             </div>
  1376.             <ul class=\"list-unstyled menu-list__wrapper\">
  1377.                 {% if app.user and isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::REPLENISHMENT_BALANCE')) %}
  1378.                     <li>
  1379.                         <a href={{ isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT'))  ? '/profile/oplata-pay' : '/oplata'}}>
  1380.                             <img class=\"side-bar-menu-icons\" alt=\"Баланс\" src=\"/images/money.svg\">
  1381.                             <lable style=\"font-weight: bold; font-size: 16px\">
  1382.                                 <span id=\"balance\">{{ app.user.getFullBalance()|number_format(2, ',', '') }}</span> р{% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT')) %}/<span id=\"balance\">{{ (app.user.virtualWalletAmount + app.user.virtualWalletCashBack)|number_format(2, ',', '') }}</span> р{% endif %}
  1383.                             </lable>
  1384.                             <br>
  1385.                             <a href={{ isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT'))  ? '/profile/oplata-pay' : '/oplata'}} class=\"text-violet\" style=\"margin-left: 0.5rem;\">Пополнить и получить бонус</a>
  1386.                         </a>
  1387.                     </li>
  1388.                     <li><a href=\"{{ path('profile') }}#profilePromocodesTab\"><img class=\"side-bar-menu-icons\" src=\"/images/promo-code.svg\" alt=\"Промокод\">Мои промокоды</a></li>
  1389.                 {% endif %}
  1390.                 {% include \"Slivki/mobile#{regional_template_path}/select_city_opener.html.twig\" %}
  1391.                 {% include \"Slivki/mobile#{regional_template_path}/translate_block.html.twig\" %}
  1392.                 {% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::SUBSCRIPTION')) and (not app.user or (app.user and subscription is not null and subscription.status == constant('Slivki\\\\Bundle\\\\SubscriptionBundle\\\\Enum\\\\SubscriptionStatus::CANCELED'))) %}
  1393.                     <li>
  1394.                         <a href=\"{{ landingUrl }}\">
  1395.                             <div class=\"d-flex subscription-button-sidebar\">
  1396.                                 <div class=\"icon-lightning align-self-center\"></div>
  1397.                                 <div class=\"col\">
  1398.                                     <div class=\"text-violet\">ПОДПИСКА</div>
  1399.                                     <div>1 промокод  5 копеек</div>
  1400.                                 </div>
  1401.                             </div>
  1402.                         </a>
  1403.                     </li>
  1404.                 {% endif %}
  1405. {#                <li><a href=\"/profile/external-codes/index\"><img class=\"side-bar-menu-icons\" src=\"/images/mts_bonus.svg\">МТС-бонус</a></li>#}
  1406.                 <li class=\"bg-light-gray menu-list__title\">
  1407.                     Интересное на сайте
  1408.                 </li>
  1409.                 {% if getActiveSubCategories(0)|length > 1 %}
  1410.                     <li><a href=\"javascript:void(0)\" role=\"button\" data-toggle=\"modal\" data-target=\"#offerCategoryMenuPopup\"><img class=\"side-bar-menu-icons\" alt=\"Промокод\" src=\"/images/category-promo.svg\">Категории</a></li>
  1411.                 {% else %}
  1412.                     <li><a href=\"{{ getCurrentCityURL() }}\" role=\"button\"><i class=\"slivki-icon-percentage\"></i>Категории</a></li>
  1413.                 {% endif %}
  1414.                 {% set menuItem = getTestMenuItem(2) %}
  1415.                 {% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::SALES')) %}
  1416.                     <li><a href=\"{{ base_url }}{{ path('sales') }}\"><img class=\"side-bar-menu-icons\" alt=\"Новости\" src=\"/images/new-news.svg\">Новости скидок</a></li>
  1417.                 {% endif %}
  1418.                 {% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::FLIERS')) %}
  1419.                     <li><a href=\"{{ getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_SALE_CATEGORY'), constant('Slivki\\\\Entity\\\\Category::FLIER_SALE_CATEGORY_ID')) }}\"><img class=\"side-bar-menu-icons\" alt=\"Листовки\" src=\"/images/listovki.svg\">Листовки</a></li>
  1420.                 {% endif %}
  1421.                 {% if not isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::PAYMENT_PAYME')) %}
  1422.                     <li class=\"py-2\">
  1423.                         <a href=\"{{ landingUrl }}\">
  1424.                             <div class=\"d-flex pl-2\">
  1425.                                 <div class=\"icon-lightning align-self-center\"></div>
  1426.                                 <div class=\"col pl-2\">
  1427.                                     <div>Подписка</div>
  1428.                                 </div>
  1429.                             </div>
  1430.                         </a>
  1431.                     </li>
  1432.                 {% endif %}
  1433.                 <li><a href=\"/moya_akciya\" onclick=\"ga('send', 'event', 'create-own-offer-button--mobile-menu', 'Click', '1');\"><img class=\"side-bar-menu-icons\" src=\"/images/add-offer.svg\" alt=\"Добавление\">Разместить свою акцию</a></li>
  1434.                 {% if app.user and is_granted('ROLE_ADMIN_USER') %}
  1435.                     <li><a href=\"/admin\"><img class=\"side-bar-menu-icons\" alt=\"Администрирование\" src=\"/images/admin-new-icon.svg\">Администрирование</a></li>
  1436.                     <li><a href=\"/admin/past_offers\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие акции</a></li>
  1437.                     <li><a href=\"/admin/past_sales\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие НС</a></li>
  1438.                 {% endif %}
  1439.                 {% if app.user and is_granted('ROLE_SUPPLIER') %}
  1440.                     <li class=\"mar-b-5\"><a href=\"{{ path('partner') }}\"><img class=\"side-bar-menu-icons\" src=\"/images/partner.svg\" alt=\"Кабинет партнера\">Кабинет партнера</a></li>
  1441.                 {% endif %}
  1442.             </ul>
  1443.         </div>
  1444.         <div class=\"col-2 bg-modal px-0 sidebar-overlay\">
  1445.             <div class=\"sidebar-close__wrapper\">
  1446.                 <i id=\"sidebarOverlay\" class=\"slivki-icon-close-thin sidebar-close\" data-dismiss=\"modal\"></i>
  1447.             </div>
  1448.         </div>
  1449.     </div>
  1450. </nav>
  1451. {% block popup %}
  1452.     {% if not app.user %}
  1453.         {% include 'Slivki/reset_password/popup_reset_pass_mob.html.twig'%}
  1454.     {% endif %}
  1455.     {% include 'Slivki/mobile/popup/loading_popup.html.twig' %}
  1456.     {{ getMainMenu(false, false) }}
  1457.     {% if app.session.flashbag.get(\"showMogilevMailingBonusPopup\")|length > 0 %}
  1458.         {% include 'Slivki/mobile/popup/mogilev_mailing_popup.html.twig' %}
  1459.     {% endif %}
  1460.     {% include 'Slivki/mobile/select_city.html.twig' %}
  1461.     {% include 'Slivki/mobile/popup/push.html.twig' %}
  1462.     {% if not app.user %}
  1463.         {% include 'Slivki/mobile/popup/login.html.twig' %}
  1464.         {% include 'Slivki/mobile/popup/restore_password.html.twig'%}
  1465.         {% include 'Slivki/mobile/popup/succes_restore_password.html.twig'%}
  1466.     {% endif %}
  1467.     {% include 'Slivki/popups/deep_links_popup.html.twig' %}
  1468. {% endblock %}
  1469. {% block brandingBanner %}{% endblock %}
  1470. {% block floatingMobileBanner %}
  1471.     {% if not (app.user and app.user.hasRole(constant('\\\\Slivki\\\\Entity\\\\UserGroup::ROLE_ADS_FREE'))) %}
  1472.         {{ getMobileFloatingBanner(brandingBannerCategoryIDs is defined ? brandingBannerCategoryIDs : [])|raw }}
  1473.     {% endif %}
  1474. {% endblock %}
  1475. {% include 'Slivki/mobile/popup/confirm_popup.html.twig' %}
  1476. {% include 'Slivki/delivery/modal/questions.html.twig' %}
  1477. {% include 'Slivki/mobile/popup/alert_popup.html.twig' %}
  1478. {% include 'Slivki/popups/examples_of_works_popup_small.html.twig' %}
  1479. {% include 'Slivki/popups/examples_of_works_popup.html.twig' %}
  1480. {% include 'Slivki/mobile/popup/new_alert_popup.html.twig' %}
  1481. {% include 'Slivki/mobile/popup/mail_popup.html.twig' %}
  1482. {% include \"Slivki/mobile#{regional_template_path}/popup/info_message_popup.html.twig\" %}
  1483. {% include 'Slivki/beauty/beauty_master_popup.html.twig' %}
  1484. {% include 'Slivki/mobile/payment/oplati/oplati_renew_codes.html.twig' %}
  1485. {% include 'Slivki/add_batch_codes/error.html.twig' %}
  1486. {% include 'Slivki/add_batch_codes/success.html.twig' %}
  1487. {% include 'Slivki/add_batch_codes/auth.html.twig' %}
  1488. {% include 'Slivki/popups/cookies_popup.html.twig' %}
  1489. <!-- Yandex.Metrika counter -->
  1490. <script type=\"text/javascript\" >
  1491.     (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
  1492.         m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
  1493.     (window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
  1494.     ym(20933521, \"init\", {
  1495.         clickmap:true,
  1496.         trackLinks:true,
  1497.         accurateTrackBounce:true
  1498.     });
  1499. </script>
  1500. <noscript><div><img src=\"https://mc.yandex.ru/watch/20933521\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
  1501. <!-- /Yandex.Metrika counter -->
  1502. <script src=\"/js/jquery-3.3.1.min.js\"></script>
  1503. {% set coordinate = currentCity.getCoordinate() %}
  1504. <input type=\"hidden\" id=\"cityCoord\" value=\"[{{ coordinate.getLatitude() }}, {{ coordinate.getLongitude() }}]\">
  1505. {% block javascripts %}
  1506.     <script src=\"/js/menuAim/main.min.js\"></script>
  1507. {#    <script src=\"/js/jquery-ui.min.js\"></script>#}
  1508.     <script src=\"/js/jquery-ui-1.8.16.custom.min.js\"></script>
  1509.     <script src=\"/mobile/js/parallax.js\"></script>
  1510.     <script src=\"/js/voices/app.js?v=6\"></script>
  1511.     <script src=\"/js/voices/recorder.js\"></script>
  1512.     <script src=\"/js/bodyScrollLock.min.js?v=1\"></script>
  1513.     <script type=\"module\" src=\"/js/botsrap-custom-dropdowns/custom-dropdowns.js\"></script>
  1514.     <script src=\"/js/jform-styler/vanillaSelectBox.min.js\"></script>
  1515.     <script src=\"/js/swiper-js/swiper.min.js\"></script>
  1516.     <script src=\"/mobile/js/paralax.min.js\"></script>
  1517.     <script src=\"/js/slick.min.js\"></script>
  1518.     <script src=\"/js/jquery.mobile-events.min.js\"></script>
  1519.     <script src=\"/js/popper.min.js\"></script>
  1520.     <script src=\"/js/js.cookie.min.js\"></script>
  1521.     <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"></script>
  1522.     <script src=\"/js/jquery.lazyload.min.js?v=2\"></script>
  1523.     <script src=\"/js/lottie_light.min.js\"></script>
  1524.     <script src=\"/js/jquery.maskedinput.min.js\"></script>
  1525.     <script src=\"/js/jquery.inputmask.min.js\"></script>
  1526.     <script src=\"/js/helper.js?v={{ helper_version_js }}\"></script>
  1527.     <script src=\"/js/captcha/main.js?v=13\"></script>
  1528.     <script type=\"text/javascript\" src=\"/js/jquery.cookie.js\"></script>
  1529.     <script src=\"https://yastatic.net/pcode/adfox/loader.js\" crossorigin=\"anonymous\"></script>
  1530.     <script src=\"/js/jquery.matchHeight-min.js\"></script>
  1531.     <script src=\"/js/intlTelInput-jquery.min.js\"></script>
  1532.     <script src=\"/js/utils.min.js\"></script>
  1533.    <script src=\"/js/recaptcha_api.js\"></script>
  1534.     <script src=\"/js/common.min.js?v={{ common_js_version }}\"></script>
  1535.     <script type=\"module\" src=\"/js/time_block_category/main.js?v={{ time_block_category_js }}\"></script>
  1536.     <script src=\"/mobile/js/script.min.js?v={{ mobile_script_js_version }}\"></script>
  1537.     <script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
  1538.     <script src=\"/js/gtranslate.js\"></script>
  1539.     <script src=\"/js/subscription.js?v={{ subscription_js_version }}\"></script>
  1540.     <script src=\"/js/maps_index_page/roundedControlls.js?v=1\"></script>
  1541.     <script src=\"/js/jquery.sameheight.js\"></script>
  1542.     <script type=\"module\" src=\"/js/flowersCategoryCarousel.js?v={{ flowers_category_carousel_js_version }}\"></script>
  1543.     <script src=\"/js/moment.min.js\"></script>
  1544.     <script type=\"module\" src=\"/js/family_subscription/api_family_subscription.js?v={{ family_subscription_js_version }}\"></script>
  1545.     <script type=\"module\" src=\"/js/family_subscription/family_subscription.js?v={{ family_subscription_js_version }}\"></script>
  1546.     <script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
  1547.     <script type=\"module\" src=\"/js/work_examples/api_work_examples.js?v={{ api_work_examples_js_version }}\"></script>
  1548.     <script src=\"/js/maps_index_page/roundedControlls.js?v=5\"></script>
  1549.     <script type=\"module\" src=\"/js/beauty/mainMapBeauty.js?v={{ main_map_beauty_js_version }}\"></script>
  1550.     <script type=\"module\" src=\"/js/beauty/masters.js?v={{ beauty_masters_js_version }}\"></script>
  1551.     <script type=\"module\" src=\"/js/oplati/main.js?v={{ oplati_js_version }}\" />
  1552.     <script src=\"/js/jquery.toast.min.js\"></script>
  1553.     <script src=\"/js/cookies/cookies.js?v={{ cookies_js_version }}\"></script>
  1554. {% endblock %}
  1555. {% if app.user and app.user.isGeoLocationAccepted() == null %}
  1556.     <input type=\"hidden\" id=\"storeGeoLocationData\"/>
  1557. {% endif %}
  1558. <div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
  1559. <div type=\"hidden\" id=\"newMobileVersionIndicator\"></div>
  1560. {% block metrikaEvent %}{% endblock %}
  1561. </body>
  1562. </html>""Slivki/mobile/base.html.twig""/mnt/data/virtwww/test/templates/Slivki/mobile/base.html.twig");
  1563.     }
  1564. }