<?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=\"/css/bootstrap4.3.1.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=\"/css/intTelInput.css?v=2\" />
<link rel=\"stylesheet\" href=\"/css/slick.min.css\"/>
<link rel=\"stylesheet\" href=\"/css/slick-theme.min.css\" />
<link rel=\"stylesheet\" href=\"/css/jquery.toast.min.css\" />
<link rel=\"stylesheet\" href=\"/css/cookies.css\"/>
<link href=\" /css/universal-parallax.min.css \" rel=\"stylesheet\">
";
// line 31
$this->displayBlock('styles', $context, $blocks);
// line 39
echo " ";
$this->displayBlock('favicon', $context, $blocks);
// line 56
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>
<!-- 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', \${currentCity.getID() > 1 ? '675534651528670' : '1202694461570299'});
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id=1202694461570299&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 95
if (array_key_exists("fitnessOffer", $context)) {
// line 96
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 111
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 125
$context["currentCity"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCurrentCity();
// line 126
echo "
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=AW-978097094\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-978097094');
</script>
";
// line 136
if (( !array_key_exists("category", $context) && !array_key_exists("offer", $context))) {
// line 137
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 162
echo "</head>
";
// line 163
$context["bodyClass"] = "";
// line 164
if (( !array_key_exists("noToken", $context) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN_USER"))) {
// line 165
echo " ";
$context["bodyClass"] = "a-u";
}
// line 167
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.', 167, $this->source); })()), "html", null, true);
echo "\">
";
// line 168
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 168, $this->source); })()), "debug", [], "any", false, false, false, 168)) {
// line 169
echo " <input type=\"hidden\" id=\"debugMode\" value=\"1\"/>
";
}
// line 171
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 178
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 178, $this->source); })()), "user", [], "any", false, false, false, 178)) {
// line 179
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.', 179, $this->source); })()), "user", [], "any", false, false, false, 179), "getID", [], "method", false, false, false, 179), "html", null, true);
echo "');
";
}
// line 181
echo "</script>
";
// line 182
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 182, $this->source); })()), "user", [], "any", false, false, false, 182)) {
// line 183
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.', 183, $this->source); })()), "user", [], "any", false, false, false, 183), "getID", [], "method", false, false, false, 183), "html", null, true);
echo "\"/>
";
// line 184
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.', 184, $this->source); })()), "user", [], "any", false, false, false, 184), "getEmail", [], "method", false, false, false, 184), ""))) {
// line 185
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.', 185, $this->source); })()), "user", [], "any", false, false, false, 185), "getEmail", [], "method", false, false, false, 185), "html", null, true);
echo "\">
";
} else {
// line 187
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.', 187, $this->source); })()), "user", [], "any", false, false, false, 187), "getPhone", [], "method", false, false, false, 187), "html", null, true);
echo "\">
";
}
}
// line 190
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 191
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.', 191, $this->source); })()), "getID", [], "method", false, false, false, 191), "html", null, true);
echo "\">
<input id=\"cityName\" type=\"hidden\" value=\"";
// line 192
((twig_in_filter(twig_get_attribute($this->env, $this->source, (isset($context["currentCity"]) || array_key_exists("currentCity", $context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.', 192, $this->source); })()), "getID", [], "method", false, false, false, 192), [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.', 192, $this->source); })()), "getID", [], "method", false, false, false, 192)), "html", null, true))));
echo "\"/>
<input type=\"hidden\" id=\"rtbhUID\" value=\"";
// line 193
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getRTBHouseUID(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 193, $this->source); })()), "user", [], "any", false, false, false, 193)), "html", null, true);
echo "\">
<input id=\"userId\" type=\"hidden\" value=\" ";
// line 194
(( !(null === twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 194, $this->source); })()), "user", [], "any", false, false, false, 194))) ? (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.', 194, $this->source); })()), "user", [], "any", false, false, false, 194), "ID", [], "any", false, false, false, 194), "html", null, true))) : (print (null)));
echo "\">
<input id=\"metricaUrl\" type=\"hidden\" value=\" ";
// line 195
echo twig_escape_filter($this->env, (isset($context["slivki_metrica_url"]) || array_key_exists("slivki_metrica_url", $context) ? $context["slivki_metrica_url"] : (function () { throw new RuntimeError('Variable "slivki_metrica_url" does not exist.', 195, $this->source); })()), "html", null, true);
echo "/api/v1/metric\">
";
// line 196
$context["geoIpLocation"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getIPLocationData();
// line 197
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.', 197, $this->source); })()), 0, [], "array", false, false, false, 197), "html", null, true);
echo "\"/>
<input type=\"hidden\" id=\"geoIpLongitude\" value=\"";
// line 198
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.', 198, $this->source); })()), 1, [], "array", false, false, false, 198), "html", null, true);
echo "\"/>
";
// line 199
$context["subscription"] = ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 199, $this->source); })()), "user", [], "any", false, false, false, 199)) ? ($this->env->getRuntime('Slivki\Twig\SubscriptionTwigRuntime')->getSubscription(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 199, $this->source); })()), "user", [], "any", false, false, false, 199))) : (null));
// line 200
echo "
";
// line 201
$this->displayBlock('linkToStore', $context, $blocks);
// line 213
echo "
";
// line 214
$this->displayBlock('linkToPartner', $context, $blocks);
// line 223
echo "
";
// line 224
$this->displayBlock('messenger', $context, $blocks);
// line 228
$this->displayBlock('headerBanner', $context, $blocks);
// line 235
$this->displayBlock('header', $context, $blocks);
// line 276
echo "<main id=\"content\" class=\"container-fluid\">
<div id=\"topContent\" class=\"row no-gutters\">
<div class=\"col-12\">
";
// line 279
$this->displayBlock('topContent', $context, $blocks);
// line 280
echo " </div>
</div>
<div class=\"row no-gutters\">
<div class=\"col-12\">
";
// line 284
$this->displayBlock('content', $context, $blocks);
// line 285
echo " </div>
</div>
</main>
";
// line 288
$this->displayBlock('footer', $context, $blocks);
// line 291
echo "<nav id=\"sidebarMenu\">
";
// line 292
$context["landingUrl"] = "/subscription-landing?utm_source=main_menu";
// line 293
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.', 293, $this->source); })()), "user", [], "any", false, false, false, 293)) {
// line 294
echo " ";
$context["landingUrl"] = "/profile/subscription/manage?utm_source=main_menu";
// line 295
echo " ";
}
// line 296
echo " <div class=\"row sf-font h-100\">
<div class=\"col-10 bg-white px-0 side-bar-menu\">
";
// line 298
if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 298, $this->source); })()), "user", [], "any", false, false, false, 298) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
// line 299
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 304
echo " <div class=\"bg-light-gray p-2 d-flex user-info__wrapper\">
";
// line 305
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 305, $this->source); })()), "user", [], "any", false, false, false, 305)) {
// line 306
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 309
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.', 309, $this->source); })()), "user", [], "any", false, false, false, 309), "getPhone", [], "method", false, false, false, 309)) ? (("***" . 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.', 309, $this->source); })()), "user", [], "any", false, false, false, 309), "getPhone", [], "method", false, false, false, 309)), 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.', 309, $this->source); })()), "user", [], "any", false, false, false, 309), "getEmail", [], "method", false, false, false, 309))), "html", null, true);
echo "</p>
";
// line 310
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_IMPERSONATOR")) {
// line 311
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 313
echo " </div>
</a>
";
} else {
// line 316
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 319
echo " </div>
<ul class=\"list-unstyled menu-list__wrapper\">
";
// line 321
if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 321, $this->source); })()), "user", [], "any", false, false, false, 321) && $this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::REPLENISHMENT_BALANCE")))) {
// line 322
echo " <li>
<a href=";
// line 323
echo (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT"))) ? ("/profile/oplata-pay") : ("/oplata"));
echo ">
<img class=\"side-bar-menu-icons\" alt=\"Баланс\" src=\"/images/money.svg\">
<lable style=\"font-weight: bold; font-size: 16px\">
<span id=\"balance\">";
// line 326
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.', 326, $this->source); })()), "user", [], "any", false, false, false, 326), "getFullBalance", [], "method", false, false, false, 326), 2, ",", ""), "html", null, true);
echo "</span> р";
if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT"))) {
echo "/<span id=\"balance\">";
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.', 326, $this->source); })()), "user", [], "any", false, false, false, 326), "virtualWalletAmount", [], "any", false, false, false, 326) + 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.', 326, $this->source); })()), "user", [], "any", false, false, false, 326), "virtualWalletCashBack", [], "any", false, false, false, 326)), 2, ",", ""), "html", null, true);
echo "</span> р";
}
// line 327
echo " </lable>
<br>
<a href=";
// line 329
echo (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT"))) ? ("/profile/oplata-pay") : ("/oplata"));
echo " class=\"text-violet\" style=\"margin-left: 0.5rem;\">Пополнить и получить бонус</a>
</a>
</li>
<li><a href=\"";
// line 332
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 334
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.', 334, $this->source); })())) . "/select_city_opener.html.twig"), "Slivki/mobile/base.html.twig", 334)->display($context);
// line 335
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.', 335, $this->source); })())) . "/translate_block.html.twig"), "Slivki/mobile/base.html.twig", 335)->display($context);
// line 336
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.', 336, $this->source); })()), "user", [], "any", false, false, false, 336) || ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 336, $this->source); })()), "user", [], "any", false, false, false, 336) && !(null === (isset($context["subscription"]) || array_key_exists("subscription", $context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.', 336, $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.', 336, $this->source); })()), "status", [], "any", false, false, false, 336), twig_constant("Slivki\\Bundle\\SubscriptionBundle\\Enum\\SubscriptionStatus::CANCELED"))))))) {
// line 337
echo " <li>
<a href=\"";
// line 338
echo twig_escape_filter($this->env, (isset($context["landingUrl"]) || array_key_exists("landingUrl", $context) ? $context["landingUrl"] : (function () { throw new RuntimeError('Variable "landingUrl" does not exist.', 338, $this->source); })()), "html", 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 350
echo " <li class=\"bg-light-gray menu-list__title\">
Интересное на сайте
</li>
";
// line 354
if ((1 === twig_compare(twig_length_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getActiveSubCategories(0)), 1))) {
// line 355
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 357
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 359
echo " ";
$context["menuItem"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getTestMenuItem(2);
// line 360
echo " ";
if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SALES"))) {
// line 361
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.', 361, $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 363
echo " ";
if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::FLIERS"))) {
// line 364
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 366
echo " ";
if ( !$this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::PAYMENT_PAYME"))) {
// line 367
echo " <li class=\"py-2\">
<a href=\"";
// line 368
echo twig_escape_filter($this->env, (isset($context["landingUrl"]) || array_key_exists("landingUrl", $context) ? $context["landingUrl"] : (function () { throw new RuntimeError('Variable "landingUrl" does not exist.', 368, $this->source); })()), "html", 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 378
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 379
if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 379, $this->source); })()), "user", [], "any", false, false, false, 379) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN_USER"))) {
// line 380
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 384
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.', 384, $this->source); })()), "user", [], "any", false, false, false, 384) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
// line 385
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 387
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 396
$this->displayBlock('popup', $context, $blocks);
// line 414
$this->displayBlock('brandingBanner', $context, $blocks);
// line 415
$this->displayBlock('floatingMobileBanner', $context, $blocks);
// line 420
$this->loadTemplate("Slivki/mobile/popup/confirm_popup.html.twig", "Slivki/mobile/base.html.twig", 420)->display($context);
// line 421
$this->loadTemplate("Slivki/delivery/modal/questions.html.twig", "Slivki/mobile/base.html.twig", 421)->display($context);
// line 422
$this->loadTemplate("Slivki/mobile/popup/alert_popup.html.twig", "Slivki/mobile/base.html.twig", 422)->display($context);
// line 423
$this->loadTemplate("Slivki/popups/examples_of_works_popup_small.html.twig", "Slivki/mobile/base.html.twig", 423)->display($context);
// line 424
$this->loadTemplate("Slivki/popups/examples_of_works_popup.html.twig", "Slivki/mobile/base.html.twig", 424)->display($context);
// line 425
$this->loadTemplate("Slivki/mobile/popup/new_alert_popup.html.twig", "Slivki/mobile/base.html.twig", 425)->display($context);
// line 426
$this->loadTemplate("Slivki/mobile/popup/mail_popup.html.twig", "Slivki/mobile/base.html.twig", 426)->display($context);
// line 427
$this->loadTemplate((("Slivki/mobile" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path", $context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.', 427, $this->source); })())) . "/popup/info_message_popup.html.twig"), "Slivki/mobile/base.html.twig", 427)->display($context);
// line 428
$this->loadTemplate("Slivki/beauty/beauty_master_popup.html.twig", "Slivki/mobile/base.html.twig", 428)->display($context);
// line 429
$this->loadTemplate("Slivki/mobile/payment/oplati/oplati_renew_codes.html.twig", "Slivki/mobile/base.html.twig", 429)->display($context);
// line 430
$this->loadTemplate("Slivki/add_batch_codes/error.html.twig", "Slivki/mobile/base.html.twig", 430)->display($context);
// line 431
$this->loadTemplate("Slivki/add_batch_codes/success.html.twig", "Slivki/mobile/base.html.twig", 431)->display($context);
// line 432
$this->loadTemplate("Slivki/add_batch_codes/auth.html.twig", "Slivki/mobile/base.html.twig", 432)->display($context);
// line 433
$this->loadTemplate("Slivki/popups/cookies_popup.html.twig", "Slivki/mobile/base.html.twig", 433)->display($context);
// line 434
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=\"/js/jquery-3.3.1.min.js\"></script>
";
// line 449
$context["coordinate"] = twig_get_attribute($this->env, $this->source, (isset($context["currentCity"]) || array_key_exists("currentCity", $context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.', 449, $this->source); })()), "getCoordinate", [], "method", false, false, false, 449);
// line 450
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.', 450, $this->source); })()), "getLatitude", [], "method", false, false, false, 450), "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.', 450, $this->source); })()), "getLongitude", [], "method", false, false, false, 450), "html", null, true);
echo "]\">
";
// line 451
$this->displayBlock('javascripts', $context, $blocks);
// line 501
if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 501, $this->source); })()), "user", [], "any", false, false, false, 501) && (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.', 501, $this->source); })()), "user", [], "any", false, false, false, 501), "isGeoLocationAccepted", [], "method", false, false, false, 501), null)))) {
// line 502
echo " <input type=\"hidden\" id=\"storeGeoLocationData\"/>
";
}
// line 504
echo "<div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
<div type=\"hidden\" id=\"newMobileVersionIndicator\"></div>
";
// line 506
$this->displayBlock('RTBHouse', $context, $blocks);
// line 526
$this->displayBlock('metrikaEvent', $context, $blocks);
// line 527
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 31
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 32
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.', 32, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"/css/new_popup.css?v=";
// line 33
echo twig_escape_filter($this->env, (isset($context["new_popup_css_version"]) || array_key_exists("new_popup_css_version", $context) ? $context["new_popup_css_version"] : (function () { throw new RuntimeError('Variable "new_popup_css_version" does not exist.', 33, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
";
// line 34
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.', 34, $this->source); })()), "request", [], "any", false, false, false, 34), "getPathInfo", [], "method", false, false, false, 34), "/profile"))) {
// line 35
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.', 35, $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 38
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 39
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 40
echo " <link type=\"image/x-icon\" rel=\"shortcut icon\" href=\"/images/favicon/favicon.ico\">
<link type=\"image/png\" sizes=\"72x72\" rel=\"icon\" href=\"/images/favicon/android-icon-72x72.png\">
<link type=\"image/png\" sizes=\"96x96\" rel=\"icon\" href=\"/images/favicon/android-icon-96x96.png\">
<link type=\"image/png\" sizes=\"144x144\" rel=\"icon\" href=\"/images/favicon/android-icon-144x144.png\">
<link type=\"image/png\" sizes=\"192x192\" rel=\"icon\" href=\"/images/favicon/android-icon-192x192.png\">
<link type=\"image/png\" sizes=\"512x512\" rel=\"icon\" href=\"/images/favicon/android-icon-512x512.png\">
<link sizes=\"57x57\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-57x57.png\">
<link sizes=\"60x60\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-60x60.png\">
<link sizes=\"72x72\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-72x72.png\">
<link sizes=\"76x76\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-76x76.png\">
<link sizes=\"114x114\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-114x114.png\">
<link sizes=\"120x120\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-120x120.png\">
<link sizes=\"144x144\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-144x144.png\">
<link sizes=\"152x152\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-152x152.png\">
<link sizes=\"180x180\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-180x180.png\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 201
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 202
echo " ";
if (((array_key_exists("category", $context) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["currentCity"]) || array_key_exists("currentCity", $context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.', 202, $this->source); })()), "getID", [], "method", false, false, false, 202), 4))) || (array_key_exists("offer", $context) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["currentCity"]) || array_key_exists("currentCity", $context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.', 202, $this->source); })()), "getID", [], "method", false, false, false, 202), 4))))) {
// line 203
echo " <div id=\"linkToStore\" class=\"d-flex\">
<img src=\"/images/logo/logo_mob.svg\" 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 214
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 215
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.', 215, $this->source); })()), "user", [], "any", false, false, false, 215) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
// line 216
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 217
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.', 217, $this->source); })()), "user", [], "any", false, false, false, 217), "getFirstName", [], "method", false, false, false, 217), "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 219
echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 219, $this->source); })()), "html", null, true);
echo "/partner\">перейти в кабинет партнера</a>
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 224
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 225
echo " ";
$this->loadTemplate("Slivki/jivosite/button_mobile.html.twig", "Slivki/mobile/base.html.twig", 225)->display($context);
// line 226
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.', 226, $this->source); })())) . "/jivosite/modal_mobile.html.twig"), "Slivki/mobile/base.html.twig", 226)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 228
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 229
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.', 229, $this->source); })()), "user", [], "any", false, false, false, 229) && 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.', 229, $this->source); })()), "user", [], "any", false, false, false, 229), "hasRole", [0 => twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method", false, false, false, 229))) {
// line 230
echo " <div id=\"headerBanner\" class=\"head-banner-container\">
";
// line 231
echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getTopSiteBanner(((array_key_exists("brandingBannerCategoryIDs", $context)) ? ((isset($context["brandingBannerCategoryIDs"]) || array_key_exists("brandingBannerCategoryIDs", $context) ? $context["brandingBannerCategoryIDs"] : (function () { throw new RuntimeError('Variable "brandingBannerCategoryIDs" does not exist.', 231, $this->source); })())) : ([])), true, true);
echo "
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 235
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 236
echo "<div id=\"headerWrapper\">
<div id=\"header\" class=\"";
// line 237
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.', 237, $this->source); })()), "request", [], "any", false, false, false, 237), "get", [0 => "_route"], "method", false, false, false, 237), "deliveryOrder"))) ? ("no-fixed") : (""));
echo "\">
<nav id=\"headerTop\" class=\"navbar navbar-expand p-0\">
<a class=\"navbar-brand mx-3\" href=\"";
// line 239
echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 239, $this->source); })()), "html", null, true);
echo "\"><img src=\"/images/logo/logo_mob.svg\" height=\"35\" alt=\"\"></a>
<div class=\"navbar-collapse collapse\">
<form id=\"headerSearchForm\" class=\"d-inline w-100\" action=\"";
// line 241
echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 241, $this->source); })()), "html", 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 243
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.', 243, $this->source); })()), "request", [], "any", false, false, false, 243), "query", [], "any", false, false, false, 243), "get", [0 => "text", 1 => ""], "method", false, false, false, 243), "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 248
$this->loadTemplate("search_equalizer.html.twig", "Slivki/mobile/base.html.twig", 248)->display(twig_to_array(["barCount" => 36, "barPadding" => 6]));
// line 249
echo " </div>
<input type=\"hidden\" name=\"sortBy\" id=\"sortBy\" value=\"";
// line 250
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.', 250, $this->source); })()), "request", [], "any", false, false, false, 250), "query", [], "any", false, false, false, 250), "get", [0 => "sortBy", 1 => "default"], "method", false, false, false, 250), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"distance\" id=\"distance\" value=\"";
// line 251
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.', 251, $this->source); })()), "request", [], "any", false, false, false, 251), "query", [], "any", false, false, false, 251), "get", [0 => "distance", 1 => "0"], "method", false, false, false, 251), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"isVoice\" id=\"searchByVoice\" value=\"false\"/>
</form>
<ul class=\"list-unstyled navbar-nav\">
";
// line 255
if ( !twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 255, $this->source); })()), "user", [], "any", false, false, false, 255)) {
// line 256
echo " <li class=\"nav-item focus-tel\">
<a href=\"#\" class=\"nav-link\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
</li>
";
} else {
// line 260
echo " <li class=\"nav-item d-none d-sm-block\">
<a id=\"headerUserName\" class=\"nav-link\" href=\"";
// line 261
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.', 261, $this->source); })()), "user", [], "any", false, false, false, 261), "getFirstName", [], "method", false, false, false, 261), "html", null, true);
echo "</a>
</li>
";
}
// line 264
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 272
$this->loadTemplate((("Slivki/mobile/" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path", $context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.', 272, $this->source); })())) . "/header_menu.html.twig"), "Slivki/mobile/base.html.twig", 272)->display($context);
// line 273
echo " </div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 279
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 284
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 288
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 289
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.', 289, $this->source); })())) . "/footer.html.twig"), "Slivki/mobile/base.html.twig", 289)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 396
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 397
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.', 397, $this->source); })()), "user", [], "any", false, false, false, 397)) {
// line 398
echo " ";
$this->loadTemplate("Slivki/reset_password/popup_reset_pass_mob.html.twig", "Slivki/mobile/base.html.twig", 398)->display($context);
// line 399
echo " ";
}
// line 400
echo " ";
$this->loadTemplate("Slivki/mobile/popup/loading_popup.html.twig", "Slivki/mobile/base.html.twig", 400)->display($context);
// line 401
echo " ";
echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getMainMenu($this->env, false, false);
echo "
";
// line 402
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.', 402, $this->source); })()), "session", [], "any", false, false, false, 402), "flashbag", [], "any", false, false, false, 402), "get", [0 => "showMogilevMailingBonusPopup"], "method", false, false, false, 402)), 0))) {
// line 403
echo " ";
$this->loadTemplate("Slivki/mobile/popup/mogilev_mailing_popup.html.twig", "Slivki/mobile/base.html.twig", 403)->display($context);
// line 404
echo " ";
}
// line 405
echo " ";
$this->loadTemplate("Slivki/mobile/select_city.html.twig", "Slivki/mobile/base.html.twig", 405)->display($context);
// line 406
echo " ";
$this->loadTemplate("Slivki/mobile/popup/push.html.twig", "Slivki/mobile/base.html.twig", 406)->display($context);
// line 407
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.', 407, $this->source); })()), "user", [], "any", false, false, false, 407)) {
// line 408
echo " ";
$this->loadTemplate("Slivki/mobile/popup/login.html.twig", "Slivki/mobile/base.html.twig", 408)->display($context);
// line 409
echo " ";
$this->loadTemplate("Slivki/mobile/popup/restore_password.html.twig", "Slivki/mobile/base.html.twig", 409)->display($context);
// line 410
echo " ";
$this->loadTemplate("Slivki/mobile/popup/succes_restore_password.html.twig", "Slivki/mobile/base.html.twig", 410)->display($context);
// line 411
echo " ";
}
// line 412
echo " ";
$this->loadTemplate("Slivki/popups/deep_links_popup.html.twig", "Slivki/mobile/base.html.twig", 412)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 414
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 415
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 416
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.', 416, $this->source); })()), "user", [], "any", false, false, false, 416) && 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.', 416, $this->source); })()), "user", [], "any", false, false, false, 416), "hasRole", [0 => twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method", false, false, false, 416))) {
// line 417
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.', 417, $this->source); })())) : ([])));
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 451
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 452
echo " <script src=\"/js/menuAim/main.min.js\"></script>
";
// line 454
echo " <script src=\"/js/jquery-ui-1.8.16.custom.min.js\"></script>
<script src=\"/mobile/js/parallax.js\"></script>
<script src=\"/js/voices/app.js?v=6\"></script>
<script src=\"/js/voices/recorder.js\"></script>
<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=\"/mobile/js/paralax.min.js\"></script>
<script src=\"/js/slick.min.js\"></script>
<script src=\"/js/jquery.mobile-events.min.js\"></script>
<script src=\"/js/popper.min.js\"></script>
<script src=\"/js/js.cookie.min.js\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"></script>
<script src=\"/js/jquery.lazyload.min.js?v=2\"></script>
<script src=\"/js/lottie_light.min.js\"></script>
<script src=\"/js/jquery.maskedinput.min.js\"></script>
<script src=\"/js/jquery.inputmask.min.js\"></script>
<script src=\"/js/helper.js?v=";
// line 472
echo twig_escape_filter($this->env, (isset($context["helper_version_js"]) || array_key_exists("helper_version_js", $context) ? $context["helper_version_js"] : (function () { throw new RuntimeError('Variable "helper_version_js" does not exist.', 472, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/js/captcha/main.js?v=13\"></script>
<script type=\"text/javascript\" src=\"/js/jquery.cookie.js\"></script>
<script src=\"https://yastatic.net/pcode/adfox/loader.js\" crossorigin=\"anonymous\"></script>
<script src=\"/js/jquery.matchHeight-min.js\"></script>
<script src=\"/js/intlTelInput-jquery.min.js\"></script>
<script src=\"/js/utils.min.js\"></script>
<script src=\"/js/recaptcha_api.js\"></script>
<script src=\"/js/common.min.js?v=";
// line 480
echo twig_escape_filter($this->env, (isset($context["common_js_version"]) || array_key_exists("common_js_version", $context) ? $context["common_js_version"] : (function () { throw new RuntimeError('Variable "common_js_version" does not exist.', 480, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/time_block_category/main.js?v=";
// line 481
echo twig_escape_filter($this->env, (isset($context["time_block_category_js"]) || array_key_exists("time_block_category_js", $context) ? $context["time_block_category_js"] : (function () { throw new RuntimeError('Variable "time_block_category_js" does not exist.', 481, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/mobile/js/script.min.js?v=";
// line 482
echo twig_escape_filter($this->env, (isset($context["mobile_script_js_version"]) || array_key_exists("mobile_script_js_version", $context) ? $context["mobile_script_js_version"] : (function () { throw new RuntimeError('Variable "mobile_script_js_version" does not exist.', 482, $this->source); })()), "html", null, true);
echo "\"></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 485
echo twig_escape_filter($this->env, (isset($context["subscription_js_version"]) || array_key_exists("subscription_js_version", $context) ? $context["subscription_js_version"] : (function () { throw new RuntimeError('Variable "subscription_js_version" does not exist.', 485, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/js/maps_index_page/roundedControlls.js?v=1\"></script>
<script src=\"/js/jquery.sameheight.js\"></script>
<script type=\"module\" src=\"/js/flowersCategoryCarousel.js?v=";
// line 488
echo twig_escape_filter($this->env, (isset($context["flowers_category_carousel_js_version"]) || array_key_exists("flowers_category_carousel_js_version", $context) ? $context["flowers_category_carousel_js_version"] : (function () { throw new RuntimeError('Variable "flowers_category_carousel_js_version" does not exist.', 488, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/js/moment.min.js\"></script>
<script type=\"module\" src=\"/js/family_subscription/api_family_subscription.js?v=";
// line 490
echo twig_escape_filter($this->env, (isset($context["family_subscription_js_version"]) || array_key_exists("family_subscription_js_version", $context) ? $context["family_subscription_js_version"] : (function () { throw new RuntimeError('Variable "family_subscription_js_version" does not exist.', 490, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/family_subscription/family_subscription.js?v=";
// line 491
echo twig_escape_filter($this->env, (isset($context["family_subscription_js_version"]) || array_key_exists("family_subscription_js_version", $context) ? $context["family_subscription_js_version"] : (function () { throw new RuntimeError('Variable "family_subscription_js_version" does not exist.', 491, $this->source); })()), "html", 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 493
echo twig_escape_filter($this->env, (isset($context["api_work_examples_js_version"]) || array_key_exists("api_work_examples_js_version", $context) ? $context["api_work_examples_js_version"] : (function () { throw new RuntimeError('Variable "api_work_examples_js_version" does not exist.', 493, $this->source); })()), "html", 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 495
echo twig_escape_filter($this->env, (isset($context["main_map_beauty_js_version"]) || array_key_exists("main_map_beauty_js_version", $context) ? $context["main_map_beauty_js_version"] : (function () { throw new RuntimeError('Variable "main_map_beauty_js_version" does not exist.', 495, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/beauty/masters.js?v=";
// line 496
echo twig_escape_filter($this->env, (isset($context["beauty_masters_js_version"]) || array_key_exists("beauty_masters_js_version", $context) ? $context["beauty_masters_js_version"] : (function () { throw new RuntimeError('Variable "beauty_masters_js_version" does not exist.', 496, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/oplati/main.js?v=";
// line 497
echo twig_escape_filter($this->env, (isset($context["oplati_js_version"]) || array_key_exists("oplati_js_version", $context) ? $context["oplati_js_version"] : (function () { throw new RuntimeError('Variable "oplati_js_version" does not exist.', 497, $this->source); })()), "html", null, true);
echo "\" />
<script src=\"/js/jquery.toast.min.js\"></script>
<script src=\"/js/cookies/cookies.js\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 506
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 507
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 526
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 ( 1301 => 526, 1273 => 507, 1263 => 506, 1249 => 497, 1245 => 496, 1241 => 495, 1236 => 493, 1231 => 491, 1227 => 490, 1222 => 488, 1216 => 485, 1210 => 482, 1206 => 481, 1202 => 480, 1191 => 472, 1171 => 454, 1168 => 452, 1158 => 451, 1144 => 417, 1141 => 416, 1131 => 415, 1113 => 414, 1102 => 412, 1099 => 411, 1096 => 410, 1093 => 409, 1090 => 408, 1087 => 407, 1084 => 406, 1081 => 405, 1078 => 404, 1075 => 403, 1073 => 402, 1068 => 401, 1065 => 400, 1062 => 399, 1059 => 398, 1056 => 397, 1046 => 396, 1035 => 289, 1025 => 288, 1007 => 284, 989 => 279, 977 => 273, 975 => 272, 965 => 264, 957 => 261, 954 => 260, 948 => 256, 946 => 255, 939 => 251, 935 => 250, 932 => 249, 930 => 248, 922 => 243, 917 => 241, 912 => 239, 907 => 237, 904 => 236, 894 => 235, 880 => 231, 877 => 230, 874 => 229, 864 => 228, 853 => 226, 850 => 225, 840 => 224, 826 => 219, 821 => 217, 818 => 216, 815 => 215, 805 => 214, 786 => 203, 783 => 202, 773 => 201, 748 => 40, 738 => 39, 728 => 38, 721 => 35, 719 => 34, 715 => 33, 710 => 32, 700 => 31, 682 => 17, 671 => 527, 669 => 526, 667 => 506, 663 => 504, 659 => 502, 657 => 501, 655 => 451, 648 => 450, 646 => 449, 629 => 434, 627 => 433, 625 => 432, 623 => 431, 621 => 430, 619 => 429, 617 => 428, 615 => 427, 613 => 426, 611 => 425, 609 => 424, 607 => 423, 605 => 422, 603 => 421, 601 => 420, 599 => 415, 597 => 414, 595 => 396, 584 => 387, 578 => 385, 575 => 384, 569 => 380, 567 => 379, 564 => 378, 551 => 368, 548 => 367, 545 => 366, 539 => 364, 536 => 363, 529 => 361, 526 => 360, 523 => 359, 517 => 357, 513 => 355, 511 => 354, 505 => 350, 491 => 338, 488 => 337, 485 => 336, 482 => 335, 479 => 334, 474 => 332, 468 => 329, 464 => 327, 456 => 326, 450 => 323, 447 => 322, 445 => 321, 441 => 319, 436 => 316, 431 => 313, 425 => 311, 423 => 310, 419 => 309, 412 => 306, 410 => 305, 407 => 304, 400 => 299, 398 => 298, 394 => 296, 391 => 295, 388 => 294, 385 => 293, 383 => 292, 380 => 291, 378 => 288, 373 => 285, 371 => 284, 365 => 280, 363 => 279, 358 => 276, 356 => 235, 354 => 228, 352 => 224, 349 => 223, 347 => 214, 344 => 213, 342 => 201, 339 => 200, 337 => 199, 333 => 198, 328 => 197, 326 => 196, 322 => 195, 318 => 194, 314 => 193, 310 => 192, 306 => 191, 301 => 190, 294 => 187, 288 => 185, 286 => 184, 281 => 183, 279 => 182, 276 => 181, 270 => 179, 268 => 178, 259 => 171, 255 => 169, 253 => 168, 248 => 167, 244 => 165, 242 => 164, 240 => 163, 237 => 162, 210 => 137, 208 => 136, 196 => 126, 194 => 125, 178 => 111, 161 => 96, 159 => 95, 118 => 56, 115 => 39, 113 => 31, 98 => 18, 96 => 17, 92 => 16, 87 => 15, 85 => 14, 80 => 11, 76 => 9, 72 => 7, 70 => 6, 66 => 4, 64 => 3, 62 => 2, 60 => 1,);
}
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=\"/css/bootstrap4.3.1.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=\"/css/intTelInput.css?v=2\" />
<link rel=\"stylesheet\" href=\"/css/slick.min.css\"/>
<link rel=\"stylesheet\" href=\"/css/slick-theme.min.css\" />
<link rel=\"stylesheet\" href=\"/css/jquery.toast.min.css\" />
<link rel=\"stylesheet\" href=\"/css/cookies.css\"/>
<link href=\" /css/universal-parallax.min.css \" rel=\"stylesheet\">
{% 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 %}
<link type=\"image/x-icon\" rel=\"shortcut icon\" href=\"/images/favicon/favicon.ico\">
<link type=\"image/png\" sizes=\"72x72\" rel=\"icon\" href=\"/images/favicon/android-icon-72x72.png\">
<link type=\"image/png\" sizes=\"96x96\" rel=\"icon\" href=\"/images/favicon/android-icon-96x96.png\">
<link type=\"image/png\" sizes=\"144x144\" rel=\"icon\" href=\"/images/favicon/android-icon-144x144.png\">
<link type=\"image/png\" sizes=\"192x192\" rel=\"icon\" href=\"/images/favicon/android-icon-192x192.png\">
<link type=\"image/png\" sizes=\"512x512\" rel=\"icon\" href=\"/images/favicon/android-icon-512x512.png\">
<link sizes=\"57x57\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-57x57.png\">
<link sizes=\"60x60\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-60x60.png\">
<link sizes=\"72x72\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-72x72.png\">
<link sizes=\"76x76\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-76x76.png\">
<link sizes=\"114x114\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-114x114.png\">
<link sizes=\"120x120\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-120x120.png\">
<link sizes=\"144x144\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-144x144.png\">
<link sizes=\"152x152\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-152x152.png\">
<link sizes=\"180x180\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-180x180.png\">
{% 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>
<!-- 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', \${currentCity.getID() > 1 ? '675534651528670' : '1202694461570299'});
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id=1202694461570299&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() %}
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=AW-978097094\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-978097094');
</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 and currentCity.getID() != 4 or offer is defined and currentCity.getID() != 4 %}
<div id=\"linkToStore\" class=\"d-flex\">
<img src=\"/images/logo/logo_mob.svg\" 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/logo/logo_mob.svg\" height=\"35\" 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={{ isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT')) ? '/profile/oplata-pay' : '/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> р{% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT')) %}/<span id=\"balance\">{{ (app.user.virtualWalletAmount + app.user.virtualWalletCashBack)|number_format(2, ',', '') }}</span> р{% endif %}
</lable>
<br>
<a href={{ isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT')) ? '/profile/oplata-pay' : '/oplata'}} 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><a href=\"/profile/external-codes/index\"><img class=\"side-bar-menu-icons\" src=\"/images/mts_bonus.svg\">МТС-бонус</a></li>#}
<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 %}
{% if not app.user %}
{% include 'Slivki/reset_password/popup_reset_pass_mob.html.twig'%}
{% endif %}
{% 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' %}
{% include 'Slivki/add_batch_codes/error.html.twig' %}
{% include 'Slivki/add_batch_codes/success.html.twig' %}
{% include 'Slivki/add_batch_codes/auth.html.twig' %}
{% include 'Slivki/popups/cookies_popup.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=\"/js/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/menuAim/main.min.js\"></script>
{# <script src=\"/js/jquery-ui.min.js\"></script>#}
<script src=\"/js/jquery-ui-1.8.16.custom.min.js\"></script>
<script src=\"/mobile/js/parallax.js\"></script>
<script src=\"/js/voices/app.js?v=6\"></script>
<script src=\"/js/voices/recorder.js\"></script>
<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=\"/mobile/js/paralax.min.js\"></script>
<script src=\"/js/slick.min.js\"></script>
<script src=\"/js/jquery.mobile-events.min.js\"></script>
<script src=\"/js/popper.min.js\"></script>
<script src=\"/js/js.cookie.min.js\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"></script>
<script src=\"/js/jquery.lazyload.min.js?v=2\"></script>
<script src=\"/js/lottie_light.min.js\"></script>
<script src=\"/js/jquery.maskedinput.min.js\"></script>
<script src=\"/js/jquery.inputmask.min.js\"></script>
<script src=\"/js/helper.js?v={{ helper_version_js }}\"></script>
<script src=\"/js/captcha/main.js?v=13\"></script>
<script type=\"text/javascript\" src=\"/js/jquery.cookie.js\"></script>
<script src=\"https://yastatic.net/pcode/adfox/loader.js\" crossorigin=\"anonymous\"></script>
<script src=\"/js/jquery.matchHeight-min.js\"></script>
<script src=\"/js/intlTelInput-jquery.min.js\"></script>
<script src=\"/js/utils.min.js\"></script>
<script src=\"/js/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=\"//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=\"/js/jquery.sameheight.js\"></script>
<script type=\"module\" src=\"/js/flowersCategoryCarousel.js?v={{ flowers_category_carousel_js_version }}\"></script>
<script src=\"/js/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/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=\"/js/jquery.toast.min.js\"></script>
<script src=\"/js/cookies/cookies.js\"></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/test/templates/Slivki/mobile/base.html.twig");
}
}