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

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