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

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