<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Slivki/mobile/base.html.twig */
class __TwigTemplate_7a32ec6d2afaa7bc6943aeb0e1fdaf0106a8af003588c089f655b7b434cc3ae1 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'meta' => [$this, 'block_meta'],
'styles' => [$this, 'block_styles'],
'favicon' => [$this, 'block_favicon'],
'linkToStore' => [$this, 'block_linkToStore'],
'linkToPartner' => [$this, 'block_linkToPartner'],
'messenger' => [$this, 'block_messenger'],
'headerBanner' => [$this, 'block_headerBanner'],
'header' => [$this, 'block_header'],
'topContent' => [$this, 'block_topContent'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'popup' => [$this, 'block_popup'],
'brandingBanner' => [$this, 'block_brandingBanner'],
'floatingMobileBanner' => [$this, 'block_floatingMobileBanner'],
'javascripts' => [$this, 'block_javascripts'],
'RTBHouse' => [$this, 'block_RTBHouse'],
'metrikaEvent' => [$this, 'block_metrikaEvent'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/mobile/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/mobile/base.html.twig"));
// line 1
$context["metaInfo"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getMetaInfo();
// line 2
$context["path"] = twig_urlencode_filter(twig_get_attribute($this->env, $this->source, 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "requestUri", [], "any", false, false, false, 2));
// line 3
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "query", [], "any", false, false, false, 3), "get", [0 => "path"], "method", false, false, false, 3)) {
// line 4
echo " ";
$context["path"] = twig_urlencode_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "query", [], "any", false, false, false, 4), "get", [0 => "path"], "method", false, false, false, 4));
}
// line 6
if ((0 !== 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"))) {
// line 7
echo " ";
$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); })()));
} else {
// line 9
echo " ";
$context["path"] = "";
}
// line 11
echo "<!DOCTYPE html>
<html lang=\"ru\">
<head>
";
// line 14
$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);
// line 15
echo " <link href=\"/css/flowersHotLent.css?v=";
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", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"/css/beauty/beauty-masters.css?v=";
// line 16
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", null, true);
echo "\" type=\"text/css\"/>
";
// line 17
$this->displayBlock('meta', $context, $blocks);
// line 18
echo " <link href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\" rel=\"stylesheet\">
<link href=\"/js/jgallery-1.5.5/dist/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\"/>
<link href=\"/css/jform-styler/vanillaSelectBox.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/css/botstrap-dropdowns-v3/dropdowns.css\"/>
<link href=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/css/intlTelInput.css\" />
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css\" integrity=\"sha512-yHknP1/AwR+yx26cB1y0cjvQUMvEa2PFzt1c9LlS4pRQ5NOTZFWbhBig+X9G9eYW/8m0/4OXNx8pxJ6z57x0dw==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css\" integrity=\"sha512-17EgCFERpgZKcm0j0fEq1YCJuyAWdz9KUtv1EjVuaOz8pDnh/0nZxmU6BBXwaaxqoi9PQXnRWqlcDB027hgv9A==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\"
integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"/>
";
// line 30
$this->displayBlock('styles', $context, $blocks);
// line 38
echo " ";
$this->displayBlock('favicon', $context, $blocks);
// line 43
echo " <meta name=\"google-site-verification\" content=\"LZdJyY-ROJZoDrU1Akiha-FF7W_PmSiN4mJRSyWexog\" />
<link rel=\"manifest\" href=\"/manifest.json?v=0\">
<script src=\"//code-eu1.jivosite.com/widget/nNpsUw68ys\" async></script>
<script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU&apikey=ced3d85f-6a99-4208-93d6-b578ba5e8f8a\"></script>
<script type=\"text/javascript\" src=\"";
// line 47
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.', 47, $this->source); })()), "html", null, true);
echo "/js/metric.js\"></script>
<script>
async function metricEvent(urlEvent, data) {
const response = await fetch(urlEvent, {
method: 'POST',
body: JSON.stringify(data)
});
return await response.json();
}
</script>
<!-- TikTok Code -->
<script>
!function (w, d, t) {
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++
)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)};
ttq.load('CAEQUGBC77U9MLGRE66G');
ttq.page();
}(window, document, 'ttq');
</script>
<!-- End TikTok Code -->
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '274301711683015');
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id=274301711683015&ev=PageView&noscript=1\"/></noscript>
<!-- End Meta Pixel Code -->
<noscript>
<img height=\"1\" width=\"1\" src=\"https://www.facebook.com/tr?id=1884900258504761&ev=PageView&noscript=1\" style=\"display: none;\"/>
</noscript>
<!-- End Facebook Pixel Code -->
<script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-167315-4IspB';</script>
";
// line 90
if (array_key_exists("fitnessOffer", $context)) {
// line 91
echo " <script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1615676305118909');
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=1615676305118909&ev=PageView&noscript=1\"/></noscript>
<script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-170417-8Uj6y';</script>
";
}
// line 106
echo " <script>
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
if (userAgent.indexOf('FBAN') == -1 && userAgent.indexOf('FBAV') == -1 && userAgent.indexOf('Instagram') == -1 &&
userAgent.indexOf('Skype') == -1 && userAgent.indexOf('Viber') == -1 && userAgent.indexOf('WhatsApp') == -1) {
var d = document,
h = d.getElementsByTagName('head')[0],
s = d.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = '//cdn.sendpulse.com/js/push/260be6a77276a4d176159328b4b7175c_1.js?v=0';
h.appendChild(s);
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
";
// line 120
$context["currentCity"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCurrentCity();
// line 121
echo " <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-185332166-1\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-185332166-1');
</script>
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-VGFW27H90X\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-VGFW27H90X');
</script>
";
// line 139
if (( !array_key_exists("category", $context) && !array_key_exists("offer", $context))) {
// line 140
echo " <script src=\"/js/smart-app-banner.js\"></script>
<script type=\"text/javascript\">
new SmartBanner({
daysHidden: 15, // days to hide banner after close button is clicked (defaults to 15)
daysReminder: 90, // days to hide banner after \"VIEW\" button is clicked (defaults to 90)
appStoreLanguage: 'ru', // language code for the App Store (defaults to user's browser language)
title: 'Slivki - промокоды и скидки',
author: 'Slivki',
button: 'Посмотреть',
store: {
ios: 'On the App Store',
android: 'В Google Play',
windows: 'In Windows store'
},
price: {
ios: 'FREE',
android: 'FREE',
windows: 'FREE'
}
// , theme: '' // put platform type ('ios', 'android', etc.) here to force single theme on all device
, icon: '/images/app-icon.png' // full path to icon image if not using website icon image
// , force: 'ios' // Uncomment for platform emulation
});
</script>
";
}
// line 165
echo "</head>
";
// line 166
$context["bodyClass"] = "";
// line 167
if (( !array_key_exists("noToken", $context) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN_USER"))) {
// line 168
echo " ";
$context["bodyClass"] = "a-u";
}
// line 170
echo "<body class=\"";
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.', 170, $this->source); })()), "html", null, true);
echo "\">
";
// line 171
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.', 171, $this->source); })()), "debug", [], "any", false, false, false, 171)) {
// line 172
echo " <input type=\"hidden\" id=\"debugMode\" value=\"1\"/>
";
}
// line 174
echo "<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-185332166-1', 'auto');
ga('send', 'pageview');
";
// line 181
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.', 181, $this->source); })()), "user", [], "any", false, false, false, 181)) {
// line 182
echo " ga('set', 'userId', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 182, $this->source); })()), "user", [], "any", false, false, false, 182), "getID", [], "method", false, false, false, 182), "html", null, true);
echo "');
";
}
// line 184
echo "</script>
";
// line 185
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 185, $this->source); })()), "user", [], "any", false, false, false, 185)) {
// line 186
echo " <input type=\"hidden\" id=\"customerID\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 186, $this->source); })()), "user", [], "any", false, false, false, 186), "getID", [], "method", false, false, false, 186), "html", null, true);
echo "\"/>
";
// line 187
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, 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.', 187, $this->source); })()), "user", [], "any", false, false, false, 187), "getEmail", [], "method", false, false, false, 187), ""))) {
// line 188
echo " <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 188, $this->source); })()), "user", [], "any", false, false, false, 188), "getEmail", [], "method", false, false, false, 188), "html", null, true);
echo "\">
";
} else {
// line 190
echo " <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 190, $this->source); })()), "user", [], "any", false, false, false, 190), "getPhone", [], "method", false, false, false, 190), "html", null, true);
echo "\">
";
}
}
// line 193
echo "<input type=\"hidden\" id=\"serverTime\" value=\"";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y-m-d H:i:s"), "html", null, true);
echo "\">
<input type=\"hidden\" id=\"cityID\" value=\"";
// line 194
echo twig_escape_filter($this->env, 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.', 194, $this->source); })()), "getID", [], "method", false, false, false, 194), "html", null, true);
echo "\">
<input id=\"cityName\" type=\"hidden\" value=\"";
// line 195
((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.', 195, $this->source); })()), "getID", [], "method", false, false, false, 195), [0 => twig_constant("Slivki\\Entity\\City::DEFAULT_CITY_ID"), 1 => 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.', 195, $this->source); })()), "getID", [], "method", false, false, false, 195)), "html", null, true))));
echo "\"/>
<input type=\"hidden\" id=\"rtbhUID\" value=\"";
// line 196
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.', 196, $this->source); })()), "user", [], "any", false, false, false, 196)), "html", null, true);
echo "\">
<input id=\"userId\" type=\"hidden\" value=\" ";
// line 197
(( !(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.', 197, $this->source); })()), "user", [], "any", false, false, false, 197))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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", false, false, false, 197), "ID", [], "any", false, false, false, 197), "html", null, true))) : (print (null)));
echo "\">
<input id=\"metricaUrl\" type=\"hidden\" value=\" ";
// line 198
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.', 198, $this->source); })()), "html", null, true);
echo "/api/v1/metric\">
";
// line 199
$context["geoIpLocation"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getIPLocationData();
// line 200
echo "<input type=\"hidden\" id=\"geoIpLatitude\" value=\"";
echo twig_escape_filter($this->env, twig_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.', 200, $this->source); })()), 0, [], "array", false, false, false, 200), "html", null, true);
echo "\"/>
<input type=\"hidden\" id=\"geoIpLongitude\" value=\"";
// line 201
echo twig_escape_filter($this->env, twig_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.', 201, $this->source); })()), 1, [], "array", false, false, false, 201), "html", null, true);
echo "\"/>
";
// line 202
$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.', 202, $this->source); })()), "user", [], "any", false, false, false, 202)) ? ($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.', 202, $this->source); })()), "user", [], "any", false, false, false, 202))) : (null));
// line 203
echo "
";
// line 204
$this->displayBlock('linkToStore', $context, $blocks);
// line 216
echo "
";
// line 217
$this->displayBlock('linkToPartner', $context, $blocks);
// line 226
echo "
";
// line 227
$this->displayBlock('messenger', $context, $blocks);
// line 231
$this->displayBlock('headerBanner', $context, $blocks);
// line 238
$this->displayBlock('header', $context, $blocks);
// line 279
echo "<main id=\"content\" class=\"container-fluid\">
<div id=\"topContent\" class=\"row no-gutters\">
<div class=\"col-12\">
";
// line 282
$this->displayBlock('topContent', $context, $blocks);
// line 283
echo " </div>
</div>
<div class=\"row no-gutters\">
<div class=\"col-12\">
";
// line 287
$this->displayBlock('content', $context, $blocks);
// line 288
echo " </div>
</div>
</main>
";
// line 291
$this->displayBlock('footer', $context, $blocks);
// line 294
echo "<nav id=\"sidebarMenu\">
";
// line 295
$context["landingUrl"] = "/subscription-landing?utm_source=main_menu";
// line 296
echo " ";
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", false, false, false, 296)) {
// line 297
echo " ";
$context["landingUrl"] = "/profile/subscription/manage?utm_source=main_menu";
// line 298
echo " ";
}
// line 299
echo " <div class=\"row sf-font h-100\">
<div class=\"col-10 bg-white px-0 side-bar-menu\">
";
// line 301
if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 301, $this->source); })()), "user", [], "any", false, false, false, 301) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
// line 302
echo " <div class=\"col w-fit-content my-3 ml-3\">
<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>
<p class=\"text-violet sf-font mb-0 mt-1\">Войдите для проверки промокода</p>
</div>
";
}
// line 307
echo " <div class=\"bg-light-gray p-2 d-flex user-info__wrapper\">
";
// line 308
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.', 308, $this->source); })()), "user", [], "any", false, false, false, 308)) {
// line 309
echo " <a class=\"w-100\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
echo "\">
<div id=\"userTopInfo\" class=\"user-info\">
<p class=\"user-info__title\"><strong>Личный кабинет</strong></p>
<p id=\"username\">";
// line 312
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, 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.', 312, $this->source); })()), "user", [], "any", false, false, false, 312), "getPhone", [], "method", false, false, false, 312)) ? (("***" . twig_slice($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->phoneFilter(twig_get_attribute($this->env, $this->source, 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.', 312, $this->source); })()), "user", [], "any", false, false, false, 312), "getPhone", [], "method", false, false, false, 312)), 3, null))) : (twig_get_attribute($this->env, $this->source, 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.', 312, $this->source); })()), "user", [], "any", false, false, false, 312), "getEmail", [], "method", false, false, false, 312))), "html", null, true);
echo "</p>
";
// line 313
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_IMPERSONATOR")) {
// line 314
echo " <a class=\"text-danger pl-2\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->getImpersonateExitPath($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage")), "html", null, true);
echo "\"><i class=\"slivki-icon-off text-danger p-0\"></i> Вернутся в свой акк</a>
";
}
// line 316
echo " </div>
</a>
";
} else {
// line 319
echo " <i class=\"slivki-icon-user-o user-avatar\"></i>
<a href=\"#\" data-toggle=\"modal\" data-target=\".modal-auth\" class=\"my-auto\">Вход/Регистрация</a></li>
";
}
// line 322
echo " </div>
<ul class=\"list-unstyled menu-list__wrapper\">
";
// line 324
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.', 324, $this->source); })()), "user", [], "any", false, false, false, 324) && $this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::REPLENISHMENT_BALANCE")))) {
// line 325
echo " <li>
<a href=\"/oplata\">
<img class=\"side-bar-menu-icons\" alt=\"Баланс\" src=\"/images/money.svg\">
<lable style=\"font-weight: bold; font-size: 16px\">
<span id=\"balance\">";
// line 329
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 329, $this->source); })()), "user", [], "any", false, false, false, 329), "getFullBalance", [], "method", false, false, false, 329), 2, ",", ""), "html", null, true);
echo "</span> р
</lable>
<br>
<a class=\"text-violet\" style=\"margin-left: 0.5rem;\">Пополнить и получить бонус</a>
</a>
</li>
<li><a href=\"";
// line 335
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
echo "#profilePromocodesTab\"><img class=\"side-bar-menu-icons\" src=\"/images/promo-code.svg\" alt=\"Промокод\">Мои промокоды</a></li>
";
}
// line 337
echo " ";
$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.', 337, $this->source); })())) . "/select_city_opener.html.twig"), "Slivki/mobile/base.html.twig", 337)->display($context);
// line 338
echo " ";
$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.', 338, $this->source); })())) . "/translate_block.html.twig"), "Slivki/mobile/base.html.twig", 338)->display($context);
// line 339
echo " ";
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.', 339, $this->source); })()), "user", [], "any", false, false, false, 339) || ((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.', 339, $this->source); })()), "user", [], "any", false, false, false, 339) && !(null === (isset($context["subscription"]) || array_key_exists("subscription", $context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.', 339, $this->source); })()))) && (0 === 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.', 339, $this->source); })()), "status", [], "any", false, false, false, 339), twig_constant("Slivki\\Bundle\\SubscriptionBundle\\Enum\\SubscriptionStatus::CANCELED"))))))) {
// line 340
echo " <li>
<a href=\"";
// line 341
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.', 341, $this->source); })()), "html", null, true);
echo "\">
<div class=\"d-flex subscription-button-sidebar\">
<div class=\"icon-lightning align-self-center\"></div>
<div class=\"col\">
<div class=\"text-violet\">ПОДПИСКА</div>
<div>1 промокод 5 копеек</div>
</div>
</div>
</a>
</li>
";
}
// line 352
echo " <li class=\"bg-light-gray menu-list__title\">
Интересное на сайте
</li>
";
// line 356
if ((1 === twig_compare(twig_length_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getActiveSubCategories(0)), 1))) {
// line 357
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>
";
} else {
// line 359
echo " <li><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCurrentCityURL(), "html", null, true);
echo "\" role=\"button\"><i class=\"slivki-icon-percentage\"></i>Категории</a></li>
";
}
// line 361
echo " ";
$context["menuItem"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getTestMenuItem(2);
// line 362
echo " ";
if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SALES"))) {
// line 363
echo " <li><a href=\"";
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.', 363, $this->source); })()), "html", null, true);
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sales");
echo "\"><img class=\"side-bar-menu-icons\" alt=\"Новости\" src=\"/images/new-news.svg\">Новости скидок</a></li>
";
}
// line 365
echo " ";
if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::FLIERS"))) {
// line 366
echo " <li><a href=\"";
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", null, true);
echo "\"><img class=\"side-bar-menu-icons\" alt=\"Листовки\" src=\"/images/listovki.svg\">Листовки</a></li>
";
}
// line 368
echo " ";
if ( !$this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::PAYMENT_PAYME"))) {
// line 369
echo " <li class=\"py-2\">
<a href=\"";
// line 370
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.', 370, $this->source); })()), "html", null, true);
echo "\">
<div class=\"d-flex pl-2\">
<div class=\"icon-lightning align-self-center\"></div>
<div class=\"col pl-2\">
<div>Подписка</div>
</div>
</div>
</a>
</li>
";
}
// line 380
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>
";
// line 381
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.', 381, $this->source); })()), "user", [], "any", false, false, false, 381) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN_USER"))) {
// line 382
echo " <li><a href=\"/admin\"><img class=\"side-bar-menu-icons\" alt=\"Администрирование\" src=\"/images/admin-new-icon.svg\">Администрирование</a></li>
<li><a href=\"/admin/past_offers\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие акции</a></li>
<li><a href=\"/admin/past_sales\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие НС</a></li>
";
}
// line 386
echo " ";
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.', 386, $this->source); })()), "user", [], "any", false, false, false, 386) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
// line 387
echo " <li class=\"mar-b-5\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("partner");
echo "\"><img class=\"side-bar-menu-icons\" src=\"/images/partner.svg\" alt=\"Кабинет партнера\">Кабинет партнера</a></li>
";
}
// line 389
echo " </ul>
</div>
<div class=\"col-2 bg-modal px-0 sidebar-overlay\">
<div class=\"sidebar-close__wrapper\">
<i id=\"sidebarOverlay\" class=\"slivki-icon-close-thin sidebar-close\" data-dismiss=\"modal\"></i>
</div>
</div>
</div>
</nav>
";
// line 398
$this->displayBlock('popup', $context, $blocks);
// line 413
$this->displayBlock('brandingBanner', $context, $blocks);
// line 414
$this->displayBlock('floatingMobileBanner', $context, $blocks);
// line 419
$this->loadTemplate("Slivki/mobile/popup/confirm_popup.html.twig", "Slivki/mobile/base.html.twig", 419)->display($context);
// line 420
$this->loadTemplate("Slivki/delivery/modal/questions.html.twig", "Slivki/mobile/base.html.twig", 420)->display($context);
// line 421
$this->loadTemplate("Slivki/mobile/popup/alert_popup.html.twig", "Slivki/mobile/base.html.twig", 421)->display($context);
// line 422
$this->loadTemplate("Slivki/popups/examples_of_works_popup_small.html.twig", "Slivki/mobile/base.html.twig", 422)->display($context);
// line 423
$this->loadTemplate("Slivki/popups/examples_of_works_popup.html.twig", "Slivki/mobile/base.html.twig", 423)->display($context);
// line 424
$this->loadTemplate("Slivki/mobile/popup/new_alert_popup.html.twig", "Slivki/mobile/base.html.twig", 424)->display($context);
// line 425
$this->loadTemplate("Slivki/mobile/popup/mail_popup.html.twig", "Slivki/mobile/base.html.twig", 425)->display($context);
// line 426
$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.', 426, $this->source); })())) . "/popup/info_message_popup.html.twig"), "Slivki/mobile/base.html.twig", 426)->display($context);
// line 427
$this->loadTemplate("Slivki/beauty/beauty_master_popup.html.twig", "Slivki/mobile/base.html.twig", 427)->display($context);
// line 428
$this->loadTemplate("Slivki/mobile/payment/oplati/oplati_renew_codes.html.twig", "Slivki/mobile/base.html.twig", 428)->display($context);
// line 429
echo "
<!-- Yandex.Metrika counter -->
<script type=\"text/javascript\" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
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)})
(window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
ym(20933521, \"init\", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
});
</script>
<noscript><div><img src=\"https://mc.yandex.ru/watch/20933521\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<script src=\"https://code.jquery.com/jquery-3.3.1.min.js\"></script>
";
// line 445
$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.', 445, $this->source); })()), "getCoordinate", [], "method", false, false, false, 445);
// line 446
echo "<input type=\"hidden\" id=\"cityCoord\" value=\"[";
echo twig_escape_filter($this->env, twig_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.', 446, $this->source); })()), "getLatitude", [], "method", false, false, false, 446), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, twig_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.', 446, $this->source); })()), "getLongitude", [], "method", false, false, false, 446), "html", null, true);
echo "]\">
";
// line 447
$this->displayBlock('javascripts', $context, $blocks);
// line 493
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.', 493, $this->source); })()), "user", [], "any", false, false, false, 493) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, 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.', 493, $this->source); })()), "user", [], "any", false, false, false, 493), "isGeoLocationAccepted", [], "method", false, false, false, 493), null)))) {
// line 494
echo " <input type=\"hidden\" id=\"storeGeoLocationData\"/>
";
}
// line 496
echo "<div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
<div type=\"hidden\" id=\"newMobileVersionIndicator\"></div>
";
// line 498
$this->displayBlock('RTBHouse', $context, $blocks);
// line 518
$this->displayBlock('metrikaEvent', $context, $blocks);
// line 519
echo "</body>
</html>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 17
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 30
public function block_styles($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
// line 31
echo " <link href=\"/mobile/css/style.min.css?v=";
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.', 31, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"/css/new_popup.css?v=";
// line 32
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.', 32, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
";
// line 33
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, 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.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "getPathInfo", [], "method", false, false, false, 33), "/profile"))) {
// line 34
echo " <link href=\"/css/crt-fonts.css?v=";
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.', 34, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"/css/certificate-creator/certificate-creator.css\" rel=\"stylesheet\" type=\"text/css\" />
";
}
// line 37
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 38
public function block_favicon($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "favicon"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "favicon"));
// line 39
echo " <!-- iPhone(first generation or 2G), iPhone 3G, iPhone 3GS -->
<link rel=\"icon\" type=\"image/x-icon\" href=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico?v=2"), "html", null, true);
echo "\"/>
<!--[if IE]><link rel=\"shortcut icon\" href=\"";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico?v=2"), "html", null, true);
echo "\"><![endif]-->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 204
public function block_linkToStore($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkToStore"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkToStore"));
// line 205
echo " ";
if ((array_key_exists("category", $context) || array_key_exists("offer", $context))) {
// line 206
echo " <div id=\"linkToStore\" class=\"d-flex\">
<img src=\"/images/logomob.png\" height=\"35\" alt=\"\">
<div class=\"col pl-0\">
<p class=\"sf-bold-font\">Slivki: промокоды и скидки</p>
<p>В приложении</p>
</div>
<div id=\"deepLinksHeader\" class=\"button-store-index-page\">Открыть</div>
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 217
public function block_linkToPartner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkToPartner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkToPartner"));
// line 218
echo " ";
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.', 218, $this->source); })()), "user", [], "any", false, false, false, 218) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
// line 219
echo " <div class=\"bg-gray text-violet text-center py-3 px-4 sf-font font-size-14\">
<div>Здравствуйте, <span class=\"sf-bold-font\">";
// line 220
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 220, $this->source); })()), "user", [], "any", false, false, false, 220), "getFirstName", [], "method", false, false, false, 220), "html", null, true);
echo "!</span></div>
<div>Здесь вы можете проверить промокод</div>
<a class=\"d-block text-white font-weight-bold bg-violet text-white rounded-14 py-2 px-3 text-uppercase mt-2\" href=\"";
// line 222
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.', 222, $this->source); })()), "html", null, true);
echo "/partner\">перейти в кабинет партнера</a>
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 227
public function block_messenger($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "messenger"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "messenger"));
// line 228
echo " ";
$this->loadTemplate("Slivki/jivosite/button_mobile.html.twig", "Slivki/mobile/base.html.twig", 228)->display($context);
// line 229
echo " ";
$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.', 229, $this->source); })())) . "/jivosite/modal_mobile.html.twig"), "Slivki/mobile/base.html.twig", 229)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 231
public function block_headerBanner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headerBanner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headerBanner"));
// line 232
echo " ";
if ( !(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 232, $this->source); })()), "user", [], "any", false, false, false, 232) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 232, $this->source); })()), "user", [], "any", false, false, false, 232), "hasRole", [0 => twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method", false, false, false, 232))) {
// line 233
echo " <div id=\"headerBanner\" class=\"head-banner-container\">
";
// line 234
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.', 234, $this->source); })())) : ([])), true, true);
echo "
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 238
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 239
echo "<div id=\"headerWrapper\">
<div id=\"header\" class=\"";
// line 240
echo (((0 === twig_compare(twig_get_attribute($this->env, $this->source, 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.', 240, $this->source); })()), "request", [], "any", false, false, false, 240), "get", [0 => "_route"], "method", false, false, false, 240), "deliveryOrder"))) ? ("no-fixed") : (""));
echo "\">
<nav id=\"headerTop\" class=\"navbar navbar-expand p-0\">
<a class=\"navbar-brand mx-3\" href=\"";
// line 242
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.', 242, $this->source); })()), "html", null, true);
echo "\"><img src=\"/images/logomob.png\" height=\"26\" alt=\"\"></a>
<div class=\"navbar-collapse collapse\">
<form id=\"headerSearchForm\" class=\"d-inline w-100\" action=\"";
// line 244
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.', 244, $this->source); })()), "html", null, true);
echo "/search\">
<div class=\"input-group\">
<input id=\"headerSearchInput\" name=\"text\" type=\"text\" class=\"search-input form-control py-1\" placeholder=\"Я ищу...\" value=\"";
// line 246
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 246, $this->source); })()), "request", [], "any", false, false, false, 246), "query", [], "any", false, false, false, 246), "get", [0 => "text", 1 => ""], "method", false, false, false, 246), "html", null, true);
echo "\">
<button class=\"input-group-append button-search-landing\" type=\"submit\">
<img alt=\"\" src=\"/images/searchNewWhite.svg\" />
</button>
<button class=\"voice-search-btn\" type=\"button\"></button>
";
// line 251
$this->loadTemplate("search_equalizer.html.twig", "Slivki/mobile/base.html.twig", 251)->display(twig_to_array(["barCount" => 36, "barPadding" => 6]));
// line 252
echo " </div>
<input type=\"hidden\" name=\"sortBy\" id=\"sortBy\" value=\"";
// line 253
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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); })()), "request", [], "any", false, false, false, 253), "query", [], "any", false, false, false, 253), "get", [0 => "sortBy", 1 => "default"], "method", false, false, false, 253), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"distance\" id=\"distance\" value=\"";
// line 254
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 254, $this->source); })()), "request", [], "any", false, false, false, 254), "query", [], "any", false, false, false, 254), "get", [0 => "distance", 1 => "0"], "method", false, false, false, 254), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"isVoice\" id=\"searchByVoice\" value=\"false\"/>
</form>
<ul class=\"list-unstyled navbar-nav\">
";
// line 258
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.', 258, $this->source); })()), "user", [], "any", false, false, false, 258)) {
// line 259
echo " <li class=\"nav-item focus-tel\">
<a href=\"#\" class=\"nav-link\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
</li>
";
} else {
// line 263
echo " <li class=\"nav-item d-none d-sm-block\">
<a id=\"headerUserName\" class=\"nav-link\" href=\"";
// line 264
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 264, $this->source); })()), "user", [], "any", false, false, false, 264), "getFirstName", [], "method", false, false, false, 264), "html", null, true);
echo "</a>
</li>
";
}
// line 267
echo " <li class=\"nav-item\">
<a class=\"nav-link p-0\" href=\"#\" id=\"sidebarMenuLink\">
<i class=\"slivki-icon-menu text-black\"></i>
</a>
</li>
</ul>
</div>
</nav>
";
// line 275
$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.', 275, $this->source); })())) . "/header_menu.html.twig"), "Slivki/mobile/base.html.twig", 275)->display($context);
// line 276
echo " </div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 282
public function block_topContent($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "topContent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "topContent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 287
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 291
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 292
echo " ";
$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.', 292, $this->source); })())) . "/footer.html.twig"), "Slivki/mobile/base.html.twig", 292)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 398
public function block_popup($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popup"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popup"));
// line 399
echo " ";
$this->loadTemplate("Slivki/mobile/popup/loading_popup.html.twig", "Slivki/mobile/base.html.twig", 399)->display($context);
// line 400
echo " ";
echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getMainMenu($this->env, false, false);
echo "
";
// line 401
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 401, $this->source); })()), "session", [], "any", false, false, false, 401), "flashbag", [], "any", false, false, false, 401), "get", [0 => "showMogilevMailingBonusPopup"], "method", false, false, false, 401)), 0))) {
// line 402
echo " ";
$this->loadTemplate("Slivki/mobile/popup/mogilev_mailing_popup.html.twig", "Slivki/mobile/base.html.twig", 402)->display($context);
// line 403
echo " ";
}
// line 404
echo " ";
$this->loadTemplate("Slivki/mobile/select_city.html.twig", "Slivki/mobile/base.html.twig", 404)->display($context);
// line 405
echo " ";
$this->loadTemplate("Slivki/mobile/popup/push.html.twig", "Slivki/mobile/base.html.twig", 405)->display($context);
// line 406
echo " ";
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.', 406, $this->source); })()), "user", [], "any", false, false, false, 406)) {
// line 407
echo " ";
$this->loadTemplate("Slivki/mobile/popup/login.html.twig", "Slivki/mobile/base.html.twig", 407)->display($context);
// line 408
echo " ";
$this->loadTemplate("Slivki/mobile/popup/restore_password.html.twig", "Slivki/mobile/base.html.twig", 408)->display($context);
// line 409
echo " ";
$this->loadTemplate("Slivki/mobile/popup/succes_restore_password.html.twig", "Slivki/mobile/base.html.twig", 409)->display($context);
// line 410
echo " ";
}
// line 411
echo " ";
$this->loadTemplate("Slivki/popups/deep_links_popup.html.twig", "Slivki/mobile/base.html.twig", 411)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 413
public function block_brandingBanner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "brandingBanner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "brandingBanner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 414
public function block_floatingMobileBanner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "floatingMobileBanner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "floatingMobileBanner"));
// line 415
echo " ";
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.', 415, $this->source); })()), "user", [], "any", false, false, false, 415) && twig_get_attribute($this->env, $this->source, 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.', 415, $this->source); })()), "user", [], "any", false, false, false, 415), "hasRole", [0 => twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method", false, false, false, 415))) {
// line 416
echo " ";
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.', 416, $this->source); })())) : ([])));
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 447
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 448
echo " <script src=\"/js/bodyScrollLock.min.js?v=1\"></script>
<script type=\"module\" src=\"/js/botsrap-custom-dropdowns/custom-dropdowns.js\"></script>
<script src=\"/js/jform-styler/vanillaSelectBox.min.js\"></script>
<script src=\"/js/swiper-js/swiper.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/universal-parallax@1.3.2/dist/universal-parallax.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js\" integrity=\"sha512-XtmMtDEcNz2j7ekrtHvOVR4iwwaD6o/FUJe6+Zq+HgcCsk3kj4uSQQR8weQ2QVj1o0Pk6PwYLohm206ZzNfubg==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-touch-events/2.0.0/jquery.mobile-events.min.js\"></script>
<script src=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.5.9/lottie_light.min.js\"></script>
<script src=\"/js/jquery.maskedinput.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.5/jquery.inputmask.min.js\"></script>
<script type=\"text/javascript\" src=\"/js/jquery.cookie.min.js?v=1\"></script>
<script src=\"https://yastatic.net/pcode/adfox/loader.js\" crossorigin=\"anonymous\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.2/jquery.matchHeight-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/js/intlTelInput-jquery.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/js/utils.min.js\"></script>
<script src=\"https://www.google.com/recaptcha/api.js\"></script>
<script src=\"/js/common.min.js?v=";
// line 468
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.', 468, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/time_block_category/main.js?v=";
// line 469
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.', 469, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/mobile/js/script.min.js?v=";
// line 470
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.', 470, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js\"></script>
<script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
<script src=\"/js/gtranslate.js\"></script>
<script src=\"/js/subscription.js?v=";
// line 474
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.', 474, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/js/maps_index_page/roundedControlls.js?v=1\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js\"></script>
<script src=\"/js/jquery.sameheight.js\"></script>
<script type=\"module\" src=\"/js/flowersCategoryCarousel.js?v=";
// line 478
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.', 478, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js\"></script>
<script type=\"module\" src=\"/js/family_subscription/api_family_subscription.js?v=";
// line 480
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.', 480, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/family_subscription/family_subscription.js?v=";
// line 481
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.', 481, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
<script type=\"module\" src=\"/js/work_examples/api_work_examples.js?v=";
// line 483
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.', 483, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/js/helper.js?v=";
// line 484
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.', 484, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/js/maps_index_page/roundedControlls.js?v=5\"></script>
<script type=\"module\" src=\"/js/beauty/mainMapBeauty.js?v=";
// line 486
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.', 486, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/beauty/masters.js?v=";
// line 487
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.', 487, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/oplati/main.js?v=";
// line 488
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.', 488, $this->source); })()), "html", null, true);
echo "\" />
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\"
integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 498
public function block_RTBHouse($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "RTBHouse"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "RTBHouse"));
// line 499
echo " <script>
try{ (function() {
var prefix = \"\", hash = \"TS5TS2S9bdSbgKBA4Q2H\", rtbhTags = []; rtbhTags.push(\"pr_\"+hash+\"\"); rtbhTags.push(\"pr_\"+hash+\"_uid_\"+document.getElementById('rtbhUID').value);
var key = \"__rtbhouse.lid\", lid = window.localStorage.getItem(key); if (!lid) {
lid = \"\"; var pool = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";
for (var i = 0; i < 20; i++) lid += pool.charAt(Math.floor(Math.random() * pool.length)); window.localStorage.setItem(key, lid);}
rtbhTags.push(\"pr_\"+hash+\"_lid_\" + lid);
var ifr = document.createElement(\"iframe\"),
sr = encodeURIComponent(document.referrer ? document.referrer : \"\"),
su = encodeURIComponent(document.location.href ? document.location.href : \"\"),
ifrSrc = \"https://\"+prefix+\"creativecdn.com/tags?type=iframe\", tmstmp = encodeURIComponent(\"\" + Date.now()); for(var i=0; i<rtbhTags.length; i++) {ifrSrc += \"&id=\" + encodeURIComponent(rtbhTags[i]);}
ifrSrc += \"&su=\" + su + \"&sr=\" + sr + \"&ts=\" + tmstmp;
ifr.setAttribute(\"src\", ifrSrc); ifr.setAttribute(\"width\", \"1\");
ifr.setAttribute(\"height\", \"1\"); ifr.setAttribute(\"scrolling\", \"no\");
ifr.setAttribute(\"frameBorder\", \"0\"); ifr.setAttribute(\"style\", \"display:none\");
ifr.setAttribute(\"referrerpolicy\", \"no-referrer-when-downgrade\"); if(document.body){document.body.appendChild(ifr);}
else{window.addEventListener('DOMContentLoaded', function(){document.body.appendChild(ifr);});}
})();} catch(e) {} </script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 518
public function block_metrikaEvent($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metrikaEvent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metrikaEvent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Slivki/mobile/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1280 => 518, 1252 => 499, 1242 => 498, 1227 => 488, 1223 => 487, 1219 => 486, 1214 => 484, 1210 => 483, 1205 => 481, 1201 => 480, 1196 => 478, 1189 => 474, 1182 => 470, 1178 => 469, 1174 => 468, 1152 => 448, 1142 => 447, 1128 => 416, 1125 => 415, 1115 => 414, 1097 => 413, 1086 => 411, 1083 => 410, 1080 => 409, 1077 => 408, 1074 => 407, 1071 => 406, 1068 => 405, 1065 => 404, 1062 => 403, 1059 => 402, 1057 => 401, 1052 => 400, 1049 => 399, 1039 => 398, 1028 => 292, 1018 => 291, 1000 => 287, 982 => 282, 970 => 276, 968 => 275, 958 => 267, 950 => 264, 947 => 263, 941 => 259, 939 => 258, 932 => 254, 928 => 253, 925 => 252, 923 => 251, 915 => 246, 910 => 244, 905 => 242, 900 => 240, 897 => 239, 887 => 238, 873 => 234, 870 => 233, 867 => 232, 857 => 231, 846 => 229, 843 => 228, 833 => 227, 819 => 222, 814 => 220, 811 => 219, 808 => 218, 798 => 217, 779 => 206, 776 => 205, 766 => 204, 754 => 41, 750 => 40, 747 => 39, 737 => 38, 727 => 37, 720 => 34, 718 => 33, 714 => 32, 709 => 31, 699 => 30, 681 => 17, 670 => 519, 668 => 518, 666 => 498, 662 => 496, 658 => 494, 656 => 493, 654 => 447, 647 => 446, 645 => 445, 627 => 429, 625 => 428, 623 => 427, 621 => 426, 619 => 425, 617 => 424, 615 => 423, 613 => 422, 611 => 421, 609 => 420, 607 => 419, 605 => 414, 603 => 413, 601 => 398, 590 => 389, 584 => 387, 581 => 386, 575 => 382, 573 => 381, 570 => 380, 557 => 370, 554 => 369, 551 => 368, 545 => 366, 542 => 365, 535 => 363, 532 => 362, 529 => 361, 523 => 359, 519 => 357, 517 => 356, 511 => 352, 497 => 341, 494 => 340, 491 => 339, 488 => 338, 485 => 337, 480 => 335, 471 => 329, 465 => 325, 463 => 324, 459 => 322, 454 => 319, 449 => 316, 443 => 314, 441 => 313, 437 => 312, 430 => 309, 428 => 308, 425 => 307, 418 => 302, 416 => 301, 412 => 299, 409 => 298, 406 => 297, 403 => 296, 401 => 295, 398 => 294, 396 => 291, 391 => 288, 389 => 287, 383 => 283, 381 => 282, 376 => 279, 374 => 238, 372 => 231, 370 => 227, 367 => 226, 365 => 217, 362 => 216, 360 => 204, 357 => 203, 355 => 202, 351 => 201, 346 => 200, 344 => 199, 340 => 198, 336 => 197, 332 => 196, 328 => 195, 324 => 194, 319 => 193, 312 => 190, 306 => 188, 304 => 187, 299 => 186, 297 => 185, 294 => 184, 288 => 182, 286 => 181, 277 => 174, 273 => 172, 271 => 171, 266 => 170, 262 => 168, 260 => 167, 258 => 166, 255 => 165, 228 => 140, 226 => 139, 206 => 121, 204 => 120, 188 => 106, 171 => 91, 169 => 90, 123 => 47, 117 => 43, 114 => 38, 112 => 30, 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,);
}
public function getSourceContext()
{
return new Source("{% set metaInfo = getMetaInfo() %}
{% set path = app.request.requestUri|url_encode %}
{% if app.request.query.get('path') %}
{% set path = app.request.query.get('path')|url_encode %}
{% endif %}
{% if path != '%2F' %}
{% set path = '?path=' ~ path %}
{% else %}
{% set path = '' %}
{% endif %}
<!DOCTYPE html>
<html lang=\"ru\">
<head>
{% include \"Slivki#{regional_template_path}/mobile/meta_block.html.twig\" %}
<link href=\"/css/flowersHotLent.css?v={{ flowers_hot_lent_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"/css/beauty/beauty-masters.css?v={{ beauty_masters_css_version }}\" type=\"text/css\"/>
{% block meta %}{% endblock %}
<link href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\" rel=\"stylesheet\">
<link href=\"/js/jgallery-1.5.5/dist/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\"/>
<link href=\"/css/jform-styler/vanillaSelectBox.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/css/botstrap-dropdowns-v3/dropdowns.css\"/>
<link href=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/css/intlTelInput.css\" />
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css\" integrity=\"sha512-yHknP1/AwR+yx26cB1y0cjvQUMvEa2PFzt1c9LlS4pRQ5NOTZFWbhBig+X9G9eYW/8m0/4OXNx8pxJ6z57x0dw==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css\" integrity=\"sha512-17EgCFERpgZKcm0j0fEq1YCJuyAWdz9KUtv1EjVuaOz8pDnh/0nZxmU6BBXwaaxqoi9PQXnRWqlcDB027hgv9A==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\"
integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"/>
{% block styles %}
<link href=\"/mobile/css/style.min.css?v={{ mobile_style_css_version }}\" rel=\"stylesheet\">
<link href=\"/css/new_popup.css?v={{ new_popup_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
{% if app.request.getPathInfo() == '/profile' %}
<link href=\"/css/crt-fonts.css?v={{ crt_fonts_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"/css/certificate-creator/certificate-creator.css\" rel=\"stylesheet\" type=\"text/css\" />
{% endif %}
{% endblock %}
{% block favicon %}
<!-- iPhone(first generation or 2G), iPhone 3G, iPhone 3GS -->
<link rel=\"icon\" type=\"image/x-icon\" href=\"{{ asset('favicon.ico?v=2') }}\"/>
<!--[if IE]><link rel=\"shortcut icon\" href=\"{{ asset('favicon.ico?v=2') }}\"><![endif]-->
{% endblock %}
<meta name=\"google-site-verification\" content=\"LZdJyY-ROJZoDrU1Akiha-FF7W_PmSiN4mJRSyWexog\" />
<link rel=\"manifest\" href=\"/manifest.json?v=0\">
<script src=\"//code-eu1.jivosite.com/widget/nNpsUw68ys\" async></script>
<script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU&apikey=ced3d85f-6a99-4208-93d6-b578ba5e8f8a\"></script>
<script type=\"text/javascript\" src=\"{{ slivki_metrica_url }}/js/metric.js\"></script>
<script>
async function metricEvent(urlEvent, data) {
const response = await fetch(urlEvent, {
method: 'POST',
body: JSON.stringify(data)
});
return await response.json();
}
</script>
<!-- TikTok Code -->
<script>
!function (w, d, t) {
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++
)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)};
ttq.load('CAEQUGBC77U9MLGRE66G');
ttq.page();
}(window, document, 'ttq');
</script>
<!-- End TikTok Code -->
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '274301711683015');
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id=274301711683015&ev=PageView&noscript=1\"/></noscript>
<!-- End Meta Pixel Code -->
<noscript>
<img height=\"1\" width=\"1\" src=\"https://www.facebook.com/tr?id=1884900258504761&ev=PageView&noscript=1\" style=\"display: none;\"/>
</noscript>
<!-- End Facebook Pixel Code -->
<script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-167315-4IspB';</script>
{% if fitnessOffer is defined %}
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1615676305118909');
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=1615676305118909&ev=PageView&noscript=1\"/></noscript>
<script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-170417-8Uj6y';</script>
{% endif %}
<script>
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
if (userAgent.indexOf('FBAN') == -1 && userAgent.indexOf('FBAV') == -1 && userAgent.indexOf('Instagram') == -1 &&
userAgent.indexOf('Skype') == -1 && userAgent.indexOf('Viber') == -1 && userAgent.indexOf('WhatsApp') == -1) {
var d = document,
h = d.getElementsByTagName('head')[0],
s = d.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = '//cdn.sendpulse.com/js/push/260be6a77276a4d176159328b4b7175c_1.js?v=0';
h.appendChild(s);
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
{% set currentCity = getCurrentCity() %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-185332166-1\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-185332166-1');
</script>
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-VGFW27H90X\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-VGFW27H90X');
</script>
{% if category is not defined and offer is not defined %}
<script src=\"/js/smart-app-banner.js\"></script>
<script type=\"text/javascript\">
new SmartBanner({
daysHidden: 15, // days to hide banner after close button is clicked (defaults to 15)
daysReminder: 90, // days to hide banner after \"VIEW\" button is clicked (defaults to 90)
appStoreLanguage: 'ru', // language code for the App Store (defaults to user's browser language)
title: 'Slivki - промокоды и скидки',
author: 'Slivki',
button: 'Посмотреть',
store: {
ios: 'On the App Store',
android: 'В Google Play',
windows: 'In Windows store'
},
price: {
ios: 'FREE',
android: 'FREE',
windows: 'FREE'
}
// , theme: '' // put platform type ('ios', 'android', etc.) here to force single theme on all device
, icon: '/images/app-icon.png' // full path to icon image if not using website icon image
// , force: 'ios' // Uncomment for platform emulation
});
</script>
{% endif %}
</head>
{% set bodyClass = '' %}
{% if noToken is not defined and is_granted('ROLE_ADMIN_USER') %}
{% set bodyClass = 'a-u' %}
{% endif %}
<body class=\"{{ bodyClass }}\">
{% if app.debug %}
<input type=\"hidden\" id=\"debugMode\" value=\"1\"/>
{% endif %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-185332166-1', 'auto');
ga('send', 'pageview');
{% if app.user %}
ga('set', 'userId', '{{ app.user.getID() }}');
{% endif %}
</script>
{% if app.user %}
<input type=\"hidden\" id=\"customerID\" value=\"{{ app.user.getID() }}\"/>
{% if app.user.getEmail() != '' %}
<input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"{{ app.user.getEmail() }}\">
{% else %}
<input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"{{ app.user.getPhone() }}\">
{% endif %}
{% endif %}
<input type=\"hidden\" id=\"serverTime\" value=\"{{ 'now'|date('Y-m-d H:i:s') }}\">
<input type=\"hidden\" id=\"cityID\" value=\"{{ currentCity.getID() }}\">
<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()) }}\"/>
<input type=\"hidden\" id=\"rtbhUID\" value=\"{{ getRTBHouseUID(app.user) }}\">
<input id=\"userId\" type=\"hidden\" value=\" {{ app.user is not null ? app.user.ID : null }}\">
<input id=\"metricaUrl\" type=\"hidden\" value=\" {{ slivki_metrica_url }}/api/v1/metric\">
{% set geoIpLocation = getIPLocationData() %}
<input type=\"hidden\" id=\"geoIpLatitude\" value=\"{{ geoIpLocation[0] }}\"/>
<input type=\"hidden\" id=\"geoIpLongitude\" value=\"{{ geoIpLocation[1] }}\"/>
{% set subscription = app.user ? getSubscription(app.user) : null %}
{% block linkToStore %}
{% if category is defined or offer is defined %}
<div id=\"linkToStore\" class=\"d-flex\">
<img src=\"/images/logomob.png\" height=\"35\" alt=\"\">
<div class=\"col pl-0\">
<p class=\"sf-bold-font\">Slivki: промокоды и скидки</p>
<p>В приложении</p>
</div>
<div id=\"deepLinksHeader\" class=\"button-store-index-page\">Открыть</div>
</div>
{% endif %}
{% endblock %}
{% block linkToPartner %}
{% if app.user and is_granted('ROLE_SUPPLIER') %}
<div class=\"bg-gray text-violet text-center py-3 px-4 sf-font font-size-14\">
<div>Здравствуйте, <span class=\"sf-bold-font\">{{ app.user.getFirstName() }}!</span></div>
<div>Здесь вы можете проверить промокод</div>
<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>
</div>
{% endif %}
{% endblock %}
{% block messenger %}
{% include 'Slivki/jivosite/button_mobile.html.twig' %}
{% include \"Slivki#{regional_template_path}/jivosite/modal_mobile.html.twig\" %}
{% endblock %}
{% block headerBanner %}
{% if not (app.user and app.user.hasRole(constant('\\\\Slivki\\\\Entity\\\\UserGroup::ROLE_ADS_FREE'))) %}
<div id=\"headerBanner\" class=\"head-banner-container\">
{{ getTopSiteBanner(brandingBannerCategoryIDs is defined ? brandingBannerCategoryIDs : [], true, true) }}
</div>
{% endif %}
{% endblock %}
{% block header %}
<div id=\"headerWrapper\">
<div id=\"header\" class=\"{{ app.request.get('_route') == 'deliveryOrder' ? 'no-fixed' }}\">
<nav id=\"headerTop\" class=\"navbar navbar-expand p-0\">
<a class=\"navbar-brand mx-3\" href=\"{{ base_url }}\"><img src=\"/images/logomob.png\" height=\"26\" alt=\"\"></a>
<div class=\"navbar-collapse collapse\">
<form id=\"headerSearchForm\" class=\"d-inline w-100\" action=\"{{ base_url }}/search\">
<div class=\"input-group\">
<input id=\"headerSearchInput\" name=\"text\" type=\"text\" class=\"search-input form-control py-1\" placeholder=\"Я ищу...\" value=\"{{ app.request.query.get('text', '') }}\">
<button class=\"input-group-append button-search-landing\" type=\"submit\">
<img alt=\"\" src=\"/images/searchNewWhite.svg\" />
</button>
<button class=\"voice-search-btn\" type=\"button\"></button>
{% include 'search_equalizer.html.twig' with {'barCount': 36, 'barPadding': 6} only %}
</div>
<input type=\"hidden\" name=\"sortBy\" id=\"sortBy\" value=\"{{ app.request.query.get('sortBy', 'default') }}\">
<input type=\"hidden\" name=\"distance\" id=\"distance\" value=\"{{ app.request.query.get('distance', '0') }}\">
<input type=\"hidden\" name=\"isVoice\" id=\"searchByVoice\" value=\"false\"/>
</form>
<ul class=\"list-unstyled navbar-nav\">
{% if not app.user %}
<li class=\"nav-item focus-tel\">
<a href=\"#\" class=\"nav-link\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
</li>
{% else %}
<li class=\"nav-item d-none d-sm-block\">
<a id=\"headerUserName\" class=\"nav-link\" href=\"{{ path('profile') }}\">{{ app.user.getFirstName() }}</a>
</li>
{% endif %}
<li class=\"nav-item\">
<a class=\"nav-link p-0\" href=\"#\" id=\"sidebarMenuLink\">
<i class=\"slivki-icon-menu text-black\"></i>
</a>
</li>
</ul>
</div>
</nav>
{% include \"Slivki/mobile/#{regional_template_path}/header_menu.html.twig\" %}
</div>
</div>
{% endblock %}
<main id=\"content\" class=\"container-fluid\">
<div id=\"topContent\" class=\"row no-gutters\">
<div class=\"col-12\">
{% block topContent %}{% endblock %}
</div>
</div>
<div class=\"row no-gutters\">
<div class=\"col-12\">
{% block content %}{% endblock %}
</div>
</div>
</main>
{% block footer %}
{% include \"Slivki/mobile#{regional_template_path}/footer.html.twig\" %}
{% endblock %}
<nav id=\"sidebarMenu\">
{% set landingUrl = '/subscription-landing?utm_source=main_menu' %}
{% if app.user %}
{% set landingUrl = '/profile/subscription/manage?utm_source=main_menu' %}
{% endif %}
<div class=\"row sf-font h-100\">
<div class=\"col-10 bg-white px-0 side-bar-menu\">
{% if app.user and is_granted('ROLE_SUPPLIER') %}
<div class=\"col w-fit-content my-3 ml-3\">
<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>
<p class=\"text-violet sf-font mb-0 mt-1\">Войдите для проверки промокода</p>
</div>
{% endif %}
<div class=\"bg-light-gray p-2 d-flex user-info__wrapper\">
{% if app.user %}
<a class=\"w-100\" href=\"{{ path('profile') }}\">
<div id=\"userTopInfo\" class=\"user-info\">
<p class=\"user-info__title\"><strong>Личный кабинет</strong></p>
<p id=\"username\">{{ app.user.getPhone() ? '***' ~ app.user.getPhone()|phone[3:] : app.user.getEmail() }}</p>
{% if is_granted('IS_IMPERSONATOR') %}
<a class=\"text-danger pl-2\" href=\"{{ impersonation_exit_path(path('homepage')) }}\"><i class=\"slivki-icon-off text-danger p-0\"></i> Вернутся в свой акк</a>
{% endif %}
</div>
</a>
{% else %}
<i class=\"slivki-icon-user-o user-avatar\"></i>
<a href=\"#\" data-toggle=\"modal\" data-target=\".modal-auth\" class=\"my-auto\">Вход/Регистрация</a></li>
{% endif %}
</div>
<ul class=\"list-unstyled menu-list__wrapper\">
{% if app.user and isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::REPLENISHMENT_BALANCE')) %}
<li>
<a href=\"/oplata\">
<img class=\"side-bar-menu-icons\" alt=\"Баланс\" src=\"/images/money.svg\">
<lable style=\"font-weight: bold; font-size: 16px\">
<span id=\"balance\">{{ app.user.getFullBalance()|number_format(2, ',', '') }}</span> р
</lable>
<br>
<a class=\"text-violet\" style=\"margin-left: 0.5rem;\">Пополнить и получить бонус</a>
</a>
</li>
<li><a href=\"{{ path('profile') }}#profilePromocodesTab\"><img class=\"side-bar-menu-icons\" src=\"/images/promo-code.svg\" alt=\"Промокод\">Мои промокоды</a></li>
{% endif %}
{% include \"Slivki/mobile#{regional_template_path}/select_city_opener.html.twig\" %}
{% include \"Slivki/mobile#{regional_template_path}/translate_block.html.twig\" %}
{% 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'))) %}
<li>
<a href=\"{{ landingUrl }}\">
<div class=\"d-flex subscription-button-sidebar\">
<div class=\"icon-lightning align-self-center\"></div>
<div class=\"col\">
<div class=\"text-violet\">ПОДПИСКА</div>
<div>1 промокод 5 копеек</div>
</div>
</div>
</a>
</li>
{% endif %}
<li class=\"bg-light-gray menu-list__title\">
Интересное на сайте
</li>
{% if getActiveSubCategories(0)|length > 1 %}
<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>
{% else %}
<li><a href=\"{{ getCurrentCityURL() }}\" role=\"button\"><i class=\"slivki-icon-percentage\"></i>Категории</a></li>
{% endif %}
{% set menuItem = getTestMenuItem(2) %}
{% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::SALES')) %}
<li><a href=\"{{ base_url }}{{ path('sales') }}\"><img class=\"side-bar-menu-icons\" alt=\"Новости\" src=\"/images/new-news.svg\">Новости скидок</a></li>
{% endif %}
{% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::FLIERS')) %}
<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>
{% endif %}
{% if not isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::PAYMENT_PAYME')) %}
<li class=\"py-2\">
<a href=\"{{ landingUrl }}\">
<div class=\"d-flex pl-2\">
<div class=\"icon-lightning align-self-center\"></div>
<div class=\"col pl-2\">
<div>Подписка</div>
</div>
</div>
</a>
</li>
{% endif %}
<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>
{% if app.user and is_granted('ROLE_ADMIN_USER') %}
<li><a href=\"/admin\"><img class=\"side-bar-menu-icons\" alt=\"Администрирование\" src=\"/images/admin-new-icon.svg\">Администрирование</a></li>
<li><a href=\"/admin/past_offers\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие акции</a></li>
<li><a href=\"/admin/past_sales\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие НС</a></li>
{% endif %}
{% if app.user and is_granted('ROLE_SUPPLIER') %}
<li class=\"mar-b-5\"><a href=\"{{ path('partner') }}\"><img class=\"side-bar-menu-icons\" src=\"/images/partner.svg\" alt=\"Кабинет партнера\">Кабинет партнера</a></li>
{% endif %}
</ul>
</div>
<div class=\"col-2 bg-modal px-0 sidebar-overlay\">
<div class=\"sidebar-close__wrapper\">
<i id=\"sidebarOverlay\" class=\"slivki-icon-close-thin sidebar-close\" data-dismiss=\"modal\"></i>
</div>
</div>
</div>
</nav>
{% block popup %}
{% include 'Slivki/mobile/popup/loading_popup.html.twig' %}
{{ getMainMenu(false, false) }}
{% if app.session.flashbag.get(\"showMogilevMailingBonusPopup\")|length > 0 %}
{% include 'Slivki/mobile/popup/mogilev_mailing_popup.html.twig' %}
{% endif %}
{% include 'Slivki/mobile/select_city.html.twig' %}
{% include 'Slivki/mobile/popup/push.html.twig' %}
{% if not app.user %}
{% include 'Slivki/mobile/popup/login.html.twig' %}
{% include 'Slivki/mobile/popup/restore_password.html.twig'%}
{% include 'Slivki/mobile/popup/succes_restore_password.html.twig'%}
{% endif %}
{% include 'Slivki/popups/deep_links_popup.html.twig' %}
{% endblock %}
{% block brandingBanner %}{% endblock %}
{% block floatingMobileBanner %}
{% if not (app.user and app.user.hasRole(constant('\\\\Slivki\\\\Entity\\\\UserGroup::ROLE_ADS_FREE'))) %}
{{ getMobileFloatingBanner(brandingBannerCategoryIDs is defined ? brandingBannerCategoryIDs : [])|raw }}
{% endif %}
{% endblock %}
{% include 'Slivki/mobile/popup/confirm_popup.html.twig' %}
{% include 'Slivki/delivery/modal/questions.html.twig' %}
{% include 'Slivki/mobile/popup/alert_popup.html.twig' %}
{% include 'Slivki/popups/examples_of_works_popup_small.html.twig' %}
{% include 'Slivki/popups/examples_of_works_popup.html.twig' %}
{% include 'Slivki/mobile/popup/new_alert_popup.html.twig' %}
{% include 'Slivki/mobile/popup/mail_popup.html.twig' %}
{% include \"Slivki/mobile#{regional_template_path}/popup/info_message_popup.html.twig\" %}
{% include 'Slivki/beauty/beauty_master_popup.html.twig' %}
{% include 'Slivki/mobile/payment/oplati/oplati_renew_codes.html.twig' %}
<!-- Yandex.Metrika counter -->
<script type=\"text/javascript\" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
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)})
(window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
ym(20933521, \"init\", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
});
</script>
<noscript><div><img src=\"https://mc.yandex.ru/watch/20933521\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<script src=\"https://code.jquery.com/jquery-3.3.1.min.js\"></script>
{% set coordinate = currentCity.getCoordinate() %}
<input type=\"hidden\" id=\"cityCoord\" value=\"[{{ coordinate.getLatitude() }}, {{ coordinate.getLongitude() }}]\">
{% block javascripts %}
<script src=\"/js/bodyScrollLock.min.js?v=1\"></script>
<script type=\"module\" src=\"/js/botsrap-custom-dropdowns/custom-dropdowns.js\"></script>
<script src=\"/js/jform-styler/vanillaSelectBox.min.js\"></script>
<script src=\"/js/swiper-js/swiper.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/universal-parallax@1.3.2/dist/universal-parallax.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js\" integrity=\"sha512-XtmMtDEcNz2j7ekrtHvOVR4iwwaD6o/FUJe6+Zq+HgcCsk3kj4uSQQR8weQ2QVj1o0Pk6PwYLohm206ZzNfubg==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-touch-events/2.0.0/jquery.mobile-events.min.js\"></script>
<script src=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.5.9/lottie_light.min.js\"></script>
<script src=\"/js/jquery.maskedinput.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.5/jquery.inputmask.min.js\"></script>
<script type=\"text/javascript\" src=\"/js/jquery.cookie.min.js?v=1\"></script>
<script src=\"https://yastatic.net/pcode/adfox/loader.js\" crossorigin=\"anonymous\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.2/jquery.matchHeight-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/js/intlTelInput-jquery.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/js/utils.min.js\"></script>
<script src=\"https://www.google.com/recaptcha/api.js\"></script>
<script src=\"/js/common.min.js?v={{ common_js_version }}\"></script>
<script type=\"module\" src=\"/js/time_block_category/main.js?v={{ time_block_category_js }}\"></script>
<script src=\"/mobile/js/script.min.js?v={{ mobile_script_js_version }}\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js\"></script>
<script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
<script src=\"/js/gtranslate.js\"></script>
<script src=\"/js/subscription.js?v={{ subscription_js_version }}\"></script>
<script src=\"/js/maps_index_page/roundedControlls.js?v=1\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js\"></script>
<script src=\"/js/jquery.sameheight.js\"></script>
<script type=\"module\" src=\"/js/flowersCategoryCarousel.js?v={{ flowers_category_carousel_js_version }}\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js\"></script>
<script type=\"module\" src=\"/js/family_subscription/api_family_subscription.js?v={{ family_subscription_js_version }}\"></script>
<script type=\"module\" src=\"/js/family_subscription/family_subscription.js?v={{ family_subscription_js_version }}\"></script>
<script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
<script type=\"module\" src=\"/js/work_examples/api_work_examples.js?v={{ api_work_examples_js_version }}\"></script>
<script src=\"/js/helper.js?v={{ helper_version_js }}\"></script>
<script src=\"/js/maps_index_page/roundedControlls.js?v=5\"></script>
<script type=\"module\" src=\"/js/beauty/mainMapBeauty.js?v={{ main_map_beauty_js_version }}\"></script>
<script type=\"module\" src=\"/js/beauty/masters.js?v={{ beauty_masters_js_version }}\"></script>
<script type=\"module\" src=\"/js/oplati/main.js?v={{ oplati_js_version }}\" />
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\"
integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
{% endblock %}
{% if app.user and app.user.isGeoLocationAccepted() == null %}
<input type=\"hidden\" id=\"storeGeoLocationData\"/>
{% endif %}
<div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
<div type=\"hidden\" id=\"newMobileVersionIndicator\"></div>
{% block RTBHouse %}
<script>
try{ (function() {
var prefix = \"\", hash = \"TS5TS2S9bdSbgKBA4Q2H\", rtbhTags = []; rtbhTags.push(\"pr_\"+hash+\"\"); rtbhTags.push(\"pr_\"+hash+\"_uid_\"+document.getElementById('rtbhUID').value);
var key = \"__rtbhouse.lid\", lid = window.localStorage.getItem(key); if (!lid) {
lid = \"\"; var pool = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";
for (var i = 0; i < 20; i++) lid += pool.charAt(Math.floor(Math.random() * pool.length)); window.localStorage.setItem(key, lid);}
rtbhTags.push(\"pr_\"+hash+\"_lid_\" + lid);
var ifr = document.createElement(\"iframe\"),
sr = encodeURIComponent(document.referrer ? document.referrer : \"\"),
su = encodeURIComponent(document.location.href ? document.location.href : \"\"),
ifrSrc = \"https://\"+prefix+\"creativecdn.com/tags?type=iframe\", tmstmp = encodeURIComponent(\"\" + Date.now()); for(var i=0; i<rtbhTags.length; i++) {ifrSrc += \"&id=\" + encodeURIComponent(rtbhTags[i]);}
ifrSrc += \"&su=\" + su + \"&sr=\" + sr + \"&ts=\" + tmstmp;
ifr.setAttribute(\"src\", ifrSrc); ifr.setAttribute(\"width\", \"1\");
ifr.setAttribute(\"height\", \"1\"); ifr.setAttribute(\"scrolling\", \"no\");
ifr.setAttribute(\"frameBorder\", \"0\"); ifr.setAttribute(\"style\", \"display:none\");
ifr.setAttribute(\"referrerpolicy\", \"no-referrer-when-downgrade\"); if(document.body){document.body.appendChild(ifr);}
else{window.addEventListener('DOMContentLoaded', function(){document.body.appendChild(ifr);});}
})();} catch(e) {} </script>
{% endblock %}
{% block metrikaEvent %}{% endblock %}
</body>
</html>", "Slivki/mobile/base.html.twig", "/mnt/data/virtwww/slivki/templates/Slivki/mobile/base.html.twig");
}
}