<?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;
/* ProfilePreview/page.html.twig */
class __TwigTemplate_c169b2457306e63df82a8554c8176c37 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'name_page' => [$this, 'block_name_page'],
'metaRobots' => [$this, 'block_metaRobots'],
'stylesheet' => [$this, 'block_stylesheet'],
'mainContainer' => [$this, 'block_mainContainer'],
'javascripts' => [$this, 'block_javascripts'],
];
$macros["_self"] = $this->macros["_self"] = $this;
}
protected function doGetParent(array $context)
{
// line 1
return "ProfilePreview/grid.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
// line 37
$context["servicesList"] = "Секс классический|Секс анальный|Секс групповой|Секс лесбийский|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Лесби откровенное|Лесби-шоу легкое|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь";
// line 1
$this->parent = $this->loadTemplate("ProfilePreview/grid.html.twig", "ProfilePreview/page.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 39
public function block_name_page($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
echo "profile";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 41
public function block_metaRobots($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaRobots"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaRobots"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaRobots"));
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 41, $this->source); })()), "deleted", [], "any", false, false, false, 41)) {
echo "<meta name=\"robots\" content=\"noindex,follow\" />";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 43
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 44
echo " ";
$this->displayParentBlock("stylesheet", $context, $blocks);
echo "
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\">
<link rel=\"stylesheet\" href=\"/assets/vendors/lightgallery/css/lightgallery.min.css\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 49
public function block_mainContainer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
// line 50
echo " ";
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "_menu/breadcrumbs.html.twig", "profile" => (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 50, $this->source); })())]);
echo "
<div class=\"d-flex flex-fill model-header\">
<h1 class=\"border-line\" id=\"profile-heading\">";
// line 52
echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
echo "</h1>
";
// line 53
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 53, $this->source); })()), "approved", [], "any", false, false, false, 53)) {
// line 54
echo " <div class=\"model-header__verification\"
data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 57
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-verify-new\"></use>
</svg>
</div>
";
}
// line 61
echo " </div>
<div class=\"d-lg-flex\">
<div class=\"modal-main flex-fill order-lg-2\">
<div class=\"modal-info d-xxl-flex rounding\">
<div class=\"modal-col modal-info__items first\">
<div class=\"modal-info__items-preview d-block d-lg-none float-left\" id=\"girl_avatar\">
";
// line 67
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 67, $this->source); })()), "deleted", [], "any", false, false, false, 67)) {
// line 68
echo " <img itemprop=\"contentUrl\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg"), "html", null, true);
echo "\"
alt=\"Анкета ";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 69, $this->source); })()), "name", [], "any", false, false, false, 69)), "html", null, true);
echo " удалена\"
class=\"img-fluid\">
";
} else {
// line 72
echo " ";
$context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 72, $this->source); })()));
// line 73
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 73, $this->source); })())) {
// line 74
echo "
";
// line 75
$context["station_alt"] = "";
// line 76
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 76, $this->source); })()), "stations", [], "any", false, false, false, 76)) > 0)) {
// line 77
$context["station_alt"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 77, $this->source); })()), "stations", [], "any", false, false, false, 77));
}
// line 80
$context["alt"] = ((((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 80, $this->source); })()), "name", [], "any", false, false, false, 80)) . ", ") . $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 80, $this->source); })()), "personParameters", [], "any", false, false, false, 80), "age", [], "any", false, false, false, 80))) . (((isset($context["station_alt"]) || array_key_exists("station_alt", $context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.', 80, $this->source); })())) ? ((", метро " . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["station_alt"]) || array_key_exists("station_alt", $context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.', 80, $this->source); })()), "name", [], "any", false, false, false, 80)))) : (""))) . " в Москве, ") . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 80), "phone", [], "any", true, true, false, 80)) ? ((", тел. " . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 80, $this->source); })()), "seo", [], "any", false, false, false, 80), "phone", [], "any", false, false, false, 80))) : (""))) . ", объявление ") . twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 80, $this->source); })()), "id", [], "any", false, false, false, 80));
// line 81
echo " <img itemprop=\"contentUrl\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, (isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 81, $this->source); })()), "path", [], "any", false, false, false, 81), "profile_media", "357x500", "jpg"), "html", null, true);
echo "\"
class=\"img-fluid\"
data-type=\"lg\"
data-index-lg=\"0\"
alt=\"";
// line 85
echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt", $context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.', 85, $this->source); })()), "html", null, true);
echo "\">
";
}
// line 87
echo " ";
}
// line 88
echo " ";
if (($this->extensions['App\Twig\UserExtension']->isUserCustomer(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.', 88, $this->source); })()), "user", [], "any", false, false, false, 88)) && !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 88, $this->source); })()), "deleted", [], "any", false, false, false, 88))) {
// line 89
echo " <button type=\"button\"
data-url-add=\"";
// line 90
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.remove", ["profile" => twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 90, $this->source); })()), "id", [], "any", false, false, false, 90)]), "html", null, true);
echo "\"
data-url-remove=\"";
// line 91
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.add", ["profile" => twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 91, $this->source); })()), "id", [], "any", false, false, false, 91)]), "html", null, true);
echo "\"
title=\"Добавить в избранное\"
";
// line 93
if ($this->extensions['App\Twig\UserExtension']->isProfileInFavourites((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 93, $this->source); })()))) {
// line 94
echo " class=\"btn favorite like\" id=\"favorite2\">
";
} else {
// line 96
echo " class=\"btn favorite unlike\" id=\"favorite2\">
";
}
// line 98
echo " <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
<path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
</svg>
</button>
";
}
// line 105
echo " </div>
<div>
<div class=\"modal-info__items-block first d-flex flex-column flex-md-row\">
<div class=\"block-item pb-2 pb-md-0 w-100\">
<div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
<svg class=\"icon mr-2 clr-1\">
<use xlink:href=\"";
// line 111
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-apartments\"></use>
</svg>
Апартаменты
</div>
<div class=\"block-item__description clr-1\">
<p class=\"d-flex\">Час <span class=\"ml-auto\">";
// line 117
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 117, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 117), "oneHourPrice", [], "any", false, false, false, 117)) {
// line 118
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 118, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 118), "oneHourPrice", [], "any", false, false, false, 118), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 118, $this->source); })()), "city", [], "any", false, false, false, 118), "countryCode", [], "any", false, false, false, 118)), "html", null, true);
} else {
// line 119
echo "-";
}
// line 120
echo "</span></p>
<p class=\"d-flex\">2 часа <span class=\"ml-auto\">";
// line 122
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 122, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 122), "twoHoursPrice", [], "any", false, false, false, 122)) {
// line 123
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 123, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 123), "twoHoursPrice", [], "any", false, false, false, 123), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 123, $this->source); })()), "city", [], "any", false, false, false, 123), "countryCode", [], "any", false, false, false, 123)), "html", null, true);
} else {
// line 124
echo "-";
}
// line 125
echo "</span></p>
<p class=\"d-flex\">Ночь <span class=\"ml-auto\">";
// line 127
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 127, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 127), "nightPrice", [], "any", false, false, false, 127)) {
// line 128
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 128, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 128), "nightPrice", [], "any", false, false, false, 128), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 128, $this->source); })()), "city", [], "any", false, false, false, 128), "countryCode", [], "any", false, false, false, 128)), "html", null, true);
} else {
// line 129
echo "-";
}
// line 130
echo "</span></p>
<p class=\"d-flex\">Экспресс <span class=\"ml-auto\">";
// line 132
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 132, $this->source); })()), "expressPricing", [], "any", false, false, false, 132), "provided", [], "any", false, false, false, 132)) {
// line 133
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 133, $this->source); })()), "expressPricing", [], "any", false, false, false, 133), "price", [], "any", false, false, false, 133)) {
// line 134
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 134, $this->source); })()), "expressPricing", [], "any", false, false, false, 134), "price", [], "any", false, false, false, 134), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 134, $this->source); })()), "city", [], "any", false, false, false, 134), "countryCode", [], "any", false, false, false, 134)), "html", null, true);
} else {
// line 136
echo "-";
}
} else {
// line 139
echo "-";
}
// line 141
echo "</span></p>
</div>
</div>
<div class=\"block-item pl-0 pl-md-3 pl-xl-5 w-100\">
<div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
<svg class=\"icon mr-2 clr-2\">
<use xlink:href=\"";
// line 147
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-car\"></use>
</svg>
Выезд
</div>
<div class=\"block-item__description clr-2\">
<p class=\"d-flex\">Час <span class=\"ml-auto\">";
// line 153
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 153, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 153), "oneHourPrice", [], "any", false, false, false, 153)) {
// line 154
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 154, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 154), "oneHourPrice", [], "any", false, false, false, 154), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 154, $this->source); })()), "city", [], "any", false, false, false, 154), "countryCode", [], "any", false, false, false, 154)), "html", null, true);
} else {
// line 155
echo "-";
}
// line 156
echo "</span></p>
<p class=\"d-flex\">2 часа <span class=\"ml-auto\">";
// line 158
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 158, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 158), "twoHoursPrice", [], "any", false, false, false, 158)) {
// line 159
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 159, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 159), "twoHoursPrice", [], "any", false, false, false, 159), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 159, $this->source); })()), "city", [], "any", false, false, false, 159), "countryCode", [], "any", false, false, false, 159)), "html", null, true);
} else {
// line 160
echo "-";
}
// line 161
echo "</span></p>
<p class=\"d-flex\">Ночь <span class=\"ml-auto\">";
// line 163
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 163, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 163), "nightPrice", [], "any", false, false, false, 163)) {
// line 164
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 164, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 164), "nightPrice", [], "any", false, false, false, 164), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 164, $this->source); })()), "city", [], "any", false, false, false, 164), "countryCode", [], "any", false, false, false, 164)), "html", null, true);
} else {
// line 165
echo "-";
}
// line 166
echo "</span></p>
</div>
</div>
</div>";
// line 170
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 170, $this->source); })()), "deleted", [], "any", false, false, false, 170)) {
// line 171
echo "<div class=\"modal-info__items-block deleted\">
<svg width=\"48\" height=\"48\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M24 43.7647C34.9157 43.7647 43.7647 34.9157 43.7647 24C43.7647 13.0843 34.9157 4.23529 24 4.23529C13.0843 4.23529 4.23529 13.0843 4.23529 24C4.23529 34.9157 13.0843 43.7647 24 43.7647ZM24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48Z\" fill=\"#ED0C34\"/>
<path d=\"M15.7647 18.3529V33.0353C15.7647 33.6344 16.0126 34.2089 16.4539 34.6325C16.8951 35.0561 17.4936 35.2941 18.1176 35.2941H29.8824C30.5064 35.2941 31.1049 35.0561 31.5461 34.6325C31.9874 34.2089 32.2353 33.6344 32.2353 33.0353V18.3529H15.7647ZM21.6471 31.9059H19.2941V21.7412H21.6471V31.9059ZM28.7059 31.9059H26.3529V21.7412H28.7059V31.9059ZM29.4329 14.9647L27.5294 12.7059H20.4706L18.5671 14.9647H13.4118V17.2235H34.5882V14.9647H29.4329Z\" fill=\"#ED0C34\"/>
</svg>
<p>
<span class=\"title\">Девушка не работает</span>
<span>Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</span>
</p>
</div>
";
} else {
// line 182
echo " <div class=\"modal-info__items-block second\">
<div class=\"d-flex flex-wrap mb-2 mb-sm-3\">
<div class=\"model-phone d-flex align-items-center\" id=\"phone-sticky-donor\">
";
// line 185
if ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 185, $this->source); })()), "isActive", [], "any", false, false, false, 185) || !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 185, $this->source); })()), "hidden", [], "any", false, false, false, 185))) {
// line 186
echo " ";
$context["onlyPhoneNumber"] = twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 186, $this->source); })()), "phoneNumber", [], "any", false, false, false, 186), [" " => "", "-" => "", "+" => "", "(" => "", ")" => ""]);
// line 187
echo " <!--noindex-->
";
// line 191
echo " <div class=\"model-phone__element model-phone__number rounding\">
<button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
<svg class=\"models-item__phone-icon\">
<use xlink:href=\"";
// line 194
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#phone\"></use>
</svg>
Показать телефон
</button>
<!--noindex--><a href=\"tel:";
// line 198
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 198, $this->source); })()), "phoneNumber", [], "any", false, false, false, 198), [" " => "", "-" => ""]), "html", null, true);
echo "\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
<svg class=\"models-item__phone-icon\">
<use xlink:href=\"";
// line 200
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#phone\"></use>
</svg>
";
// line 202
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 202, $this->source); })()), "phoneNumber", [], "any", false, false, false, 202), "html", null, true);
echo "
</a><!--/noindex-->
</div>
";
// line 205
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 205, $this->source); })()), "messengers", [], "any", false, false, false, 205), "whatsApp", [], "any", false, false, false, 205)) {
// line 206
echo " <a class=\"model-phone__element model-phone__whatsup\" target=\"_blank\" href=\"https://wa.me/";
echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber", $context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.', 206, $this->source); })()), "html", null, true);
echo "?text=Привет,%20";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 206, $this->source); })()), "name", [], "any", false, false, false, 206), "html", null, true);
echo "!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 208
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-viber\"></use>
</svg>
</a>
";
}
// line 212
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 212, $this->source); })()), "messengers", [], "any", false, false, false, 212), "telegram", [], "any", false, false, false, 212)) {
// line 213
echo " <div class=\"model-phone__element model-phone__telegram\" title=\"Telegram\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 215
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-messager\"></use>
</svg>
</div>
";
}
// line 219
echo " <!--/noindex-->
";
} else {
// line 221
echo " <p class=\"model-phone__arhive m-0 color-silver\">анкета в архиве</p>
";
}
// line 223
echo " </div>
";
// line 230
echo " </div>
<p class=\"model-thank mb-2 mb-sm-3\">Скажите что звоните с МосПрос и я всё пойму</p>
<div class=\"modal-info__block\">
<div class=\"modal-info__element\">
<div class=\"modal-info__label\">
Отвечаю на
</div>
<div class=\"modal-info__value\">
";
// line 238
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 238, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 238), "answeringTo", [], "any", false, false, false, 238)) > 0)) {
// line 239
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 239, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 239), "answeringTo", [], "any", false, false, false, 239));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["answeringTo"]) {
// line 240
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PhoneCallExtension']->answeringTo($context["answeringTo"]), [], "phone_call_restrictions"), "html", null, true);
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 240)) {
echo ",";
}
// line 241
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['answeringTo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 242
echo " ";
} else {
// line 243
echo " Не указано
";
}
// line 245
echo " </div>
</div>
<div class=\"modal-info__element\">
<div class=\"modal-info__label\">
Удобное время для звонка
</div>
<div class=\"modal-info__value\">
";
// line 252
echo twig_call_macro($macros["_self"], "macro__time_to_work", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 252, $this->source); })())], 252, $context, $this->getSourceContext());
echo "
</div>
</div>
<div class=\"modal-info__element\">
<div class=\"modal-info__label\">
Ограничение по возрасту
</div>
<div class=\"modal-info__value\">";
// line 260
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 260, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 260), "minAge", [], "any", false, false, false, 260) || twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 260, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 260), "maxAge", [], "any", false, false, false, 260))) {
// line 261
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 261, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 261), "minAge", [], "any", false, false, false, 261)) ? (print (twig_escape_filter($this->env, ("от " . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 261, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 261), "minAge", [], "any", false, false, false, 261)), "html", null, true))) : (print ("")));
echo "
";
// line 262
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 262, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 262), "maxAge", [], "any", false, false, false, 262)) ? (print (twig_escape_filter($this->env, ("до " . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 262, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 262), "maxAge", [], "any", false, false, false, 262)), "html", null, true))) : (print ("")));
echo "
лет";
} else {
// line 265
echo "Не указано";
}
// line 267
echo "</div>
</div>
</div>
</div>
";
}
// line 272
echo "
";
// line 273
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 273, $this->source); })()), "stations", [], "any", false, false, false, 273)) > 0)) {
// line 274
echo " <div class=\"modal-info__items-block pb-0 pb-sm-3 d-flex d-sm-block\">
<div class=\"metro-items metro-items--metro d-sm-flex w-100 align-items-center flex-wrap\">
Метро
";
// line 277
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 277, $this->source); })()), "stations", [], "any", false, false, false, 277), 0, 3));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 278
echo " <div class=\"metro-item\">
";
// line 279
$this->loadTemplate("components/metro/icon_generate.partial.twig", "ProfilePreview/page.html.twig", 279)->display(twig_array_merge($context, ["data" => twig_get_attribute($this->env, $this->source, $context["station"], "lines", [], "any", false, false, false, 279)]));
// line 280
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_station", ["city" => twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 280, $this->source); })()), "uriIdentity", [], "any", false, false, false, 280), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 280)]), "html", null, true);
echo "\" title=\"Метро ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["station"], "name", [], "any", false, false, false, 280)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["station"], "name", [], "any", false, false, false, 280)), "html", null, true);
echo "</a>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 283
echo " </div>
";
// line 284
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 284, $this->source); })()), "stations", [], "any", false, false, false, 284)) > 0)) {
echo "<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap\">
Район
";
// line 286
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 286, $this->source); })()), "stations", [], "any", false, false, false, 286));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 287
echo " ";
$context["stationDistrict"] = twig_get_attribute($this->env, $this->source, $context["station"], "district", [], "any", false, false, false, 287);
// line 288
echo " ";
if ((isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 288, $this->source); })())) {
// line 289
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 289)) {
// line 290
echo " ";
$context["districtCounty"] = twig_get_attribute($this->env, $this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 290, $this->source); })()), "county", [], "any", false, false, false, 290);
// line 291
echo " ";
if ((isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 291, $this->source); })())) {
// line 292
echo " <div class=\"metro-item metro-item--district\">
<a href=\"";
// line 293
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_county", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 293, $this->source); })()), "city", [], "any", false, false, false, 293), "uriIdentity", [], "any", false, false, false, 293), "county" => twig_get_attribute($this->env, $this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 293, $this->source); })()), "uriIdentity", [], "any", false, false, false, 293)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 293, $this->source); })()), "name", [], "any", false, false, false, 293)), "html", null, true);
echo "</a>,
<a href=\"";
// line 294
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_district", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 294, $this->source); })()), "city", [], "any", false, false, false, 294), "uriIdentity", [], "any", false, false, false, 294), "district" => twig_get_attribute($this->env, $this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 294, $this->source); })()), "uriIdentity", [], "any", false, false, false, 294)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 294, $this->source); })()), "name", [], "any", false, false, false, 294)), "html", null, true);
echo "</a>
</div>
";
} else {
// line 297
echo " <div class=\"metro-item metro-item--district\">
Не указан
</div>
";
}
// line 301
echo " ";
}
// line 302
echo " ";
}
// line 303
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 304
echo " </div>";
}
// line 305
echo " </div>
";
}
// line 307
echo " </div>
</div>
<div class=\"modal-col modal-info__items rounding\">
<div class=\"modal-info__items-row d-flex flex-wrap\">
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Возраст</span>";
// line 314
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Возраст", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 314, $this->source); })()), "personParameters", [], "any", false, false, false, 314), "age", [], "any", false, false, false, 314)], 314, $context, $this->getSourceContext());
// line 315
echo "</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Рост</span>";
// line 320
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Рост", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 320, $this->source); })()), "personParameters", [], "any", false, false, false, 320), "height", [], "any", false, false, false, 320)], 320, $context, $this->getSourceContext());
// line 321
echo "</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Вес</span>";
// line 326
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Вес", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 326, $this->source); })()), "personParameters", [], "any", false, false, false, 326), "weight", [], "any", false, false, false, 326)], 326, $context, $this->getSourceContext());
// line 327
echo "</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Одежда</span>
";
// line 332
$context["cloth_size"] = "XXS";
// line 333
echo "
";
// line 334
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 334, $this->source); })()), "personParameters", [], "any", false, false, false, 334), "clothSize", [], "any", false, false, false, 334) == "42")) {
$context["cloth_size"] = "XS";
// line 335
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 335, $this->source); })()), "personParameters", [], "any", false, false, false, 335), "clothSize", [], "any", false, false, false, 335) == "44")) {
$context["cloth_size"] = "S";
// line 336
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 336, $this->source); })()), "personParameters", [], "any", false, false, false, 336), "clothSize", [], "any", false, false, false, 336) == "46")) {
$context["cloth_size"] = "M";
// line 337
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 337, $this->source); })()), "personParameters", [], "any", false, false, false, 337), "clothSize", [], "any", false, false, false, 337) == "48")) {
$context["cloth_size"] = "L";
// line 338
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 338, $this->source); })()), "personParameters", [], "any", false, false, false, 338), "clothSize", [], "any", false, false, false, 338) == "50")) {
$context["cloth_size"] = "XL";
// line 339
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 339, $this->source); })()), "personParameters", [], "any", false, false, false, 339), "clothSize", [], "any", false, false, false, 339) == "52")) {
$context["cloth_size"] = "XXL";
// line 340
echo " ";
}
// line 342
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер одежды", (isset($context["cloth_size"]) || array_key_exists("cloth_size", $context) ? $context["cloth_size"] : (function () { throw new RuntimeError('Variable "cloth_size" does not exist.', 342, $this->source); })()), "Одежда"], 342, $context, $this->getSourceContext());
// line 343
echo "</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Обувь</span>";
// line 348
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер обуви", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 348, $this->source); })()), "personParameters", [], "any", false, false, false, 348), "shoesSize", [], "any", false, false, false, 348), "Обувь"], 348, $context, $this->getSourceContext());
// line 349
echo "</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Грудь</span>";
// line 354
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер груди", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 354, $this->source); })()), "personParameters", [], "any", false, false, false, 354), "breastSize", [], "any", false, false, false, 354), "Грудь"], 354, $context, $this->getSourceContext());
// line 355
echo "</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Тату</span>
";
// line 360
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 360, $this->source); })()), "personParameters", [], "any", false, false, false, 360), "tattoo", [], "any", false, false, false, 360)) {
// line 361
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 362
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-check\"></use>
</svg>
";
} else {
// line 365
echo " -
";
}
// line 367
echo " </div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Пирсинг</span>
";
// line 372
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 372, $this->source); })()), "personParameters", [], "any", false, false, false, 372), "piercing", [], "any", false, false, false, 372)) {
// line 373
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 374
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-check\"></use>
</svg>
";
} else {
// line 377
echo " -
";
}
// line 379
echo " </div>
</div>
</div>
<div class=\"modal-info__items-block modal-info__items-block--basic d-sm-flex\">
<div class=\"description-items\" style=\"color:#b5b5b5\">
";
// line 384
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 384, $this->source); })()), "personParameters", [], "any", false, false, false, 384), "bodyType", [], "any", false, false, false, 384)) {
echo "<p class=\"description-item d-flex align-items-center\"><span>Телосложение</span> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->bodyTypeLabel(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 384, $this->source); })()), "personParameters", [], "any", false, false, false, 384), "bodyType", [], "any", false, false, false, 384)), [], "body_types"), "html", null, true);
echo "</p>";
}
// line 385
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 385, $this->source); })()), "personParameters", [], "any", false, false, false, 385), "hairColor", [], "any", false, false, false, 385)) {
echo "<p class=\"description-item d-flex align-items-center\"><span>Цвет волос</span> <a target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_hair_color", ["city" => twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 385, $this->source); })()), "uriIdentity", [], "any", false, false, false, 385), "hairColor" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($this->extensions['App\Twig\PersonParametersExtension']->hairColorUri(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 385, $this->source); })()), "personParameters", [], "any", false, false, false, 385), "hairColor", [], "any", false, false, false, 385)))]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->hairColorLabel(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 385, $this->source); })()), "personParameters", [], "any", false, false, false, 385), "hairColor", [], "any", false, false, false, 385)), [], "hair_colors"), "html", null, true);
echo "</a></p>";
}
// line 386
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 386, $this->source); })()), "personParameters", [], "any", false, false, false, 386), "nationality", [], "any", false, false, false, 386)) {
echo "<p class=\"description-item d-flex align-items-center\"><span>Национальность</span> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->nationalityLabel(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 386, $this->source); })()), "personParameters", [], "any", false, false, false, 386), "nationality", [], "any", false, false, false, 386)), [], "nationalities"), "html", null, true);
echo "</p>";
}
// line 387
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 387, $this->source); })()), "personParameters", [], "any", false, false, false, 387), "privateHaircut", [], "any", false, false, false, 387)) {
echo "<p class=\"description-item d-flex align-items-center\"><span>Интимная стрижка</span> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->privateHaircutLabel(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 387, $this->source); })()), "personParameters", [], "any", false, false, false, 387), "privateHaircut", [], "any", false, false, false, 387)), [], "private_haircuts"), "html", null, true);
echo "</p>";
}
// line 388
echo " </div>
<div class=\"description-items\">
";
// line 390
$context["threshold"] = twig_get_attribute($this->env, $this->source, twig_date_modify_filter($this->env, "now", "-14 days"), "getTimestamp", [], "method", false, false, false, 390);
// line 391
echo "\t\t\t\t\t\t ";
$context["updatedAtTs"] = ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 391, $this->source); })()), "updatedAt", [], "any", false, false, false, 391)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 391, $this->source); })()), "updatedAt", [], "any", false, false, false, 391), "getTimestamp", [], "method", false, false, false, 391)) : (null));
// line 392
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 392, $this->source); })()), "createdAt", [], "any", false, false, false, 392)) {
// line 393
echo " <p class=\"description-item d-flex align-items-center\"><span>Дата регистрации</span> <span
class=\"date\" data-template=\"dd авг. YYYY г. hh:ii\">";
// line 394
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Дата регистрации", ((((((twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 394, $this->source); })()), "createdAt", [], "any", false, false, false, 394), "d") . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 394, $this->source); })()), "createdAt", [], "any", false, false, false, 394), "m"), [], "date")) . " ") . twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 394, $this->source); })()), "createdAt", [], "any", false, false, false, 394), "Y")) . " ") . twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 394, $this->source); })()), "createdAt", [], "any", false, false, false, 394), "H:i"))], 394, $context, $this->getSourceContext());
echo "</span></p>
";
}
// line 396
echo " ";
if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 396, $this->source); })()) && ((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 396, $this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold", $context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.', 396, $this->source); })())))) {
// line 397
echo " <p class=\"description-item d-flex align-items-center\"><span>Дата обновления</span> <span
class=\"date\">";
// line 398
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Дата обновления", ((((((twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 398, $this->source); })()), "updatedAt", [], "any", false, false, false, 398), "d") . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 398, $this->source); })()), "updatedAt", [], "any", false, false, false, 398), "m"), [], "date")) . " ") . twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 398, $this->source); })()), "updatedAt", [], "any", false, false, false, 398), "Y")) . " ") . twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 398, $this->source); })()), "updatedAt", [], "any", false, false, false, 398), "H:i"))], 398, $context, $this->getSourceContext());
echo "</span></p>
";
}
// line 400
echo " <p class=\"description-item d-flex align-items-center\"><span>ID</span><span class=\"date\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 400, $this->source); })()), "id", [], "any", false, false, false, 400), "html", null, true);
echo "</span></p>
";
// line 401
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 401, $this->source); })()), "approved", [], "any", false, false, false, 401)) {
// line 402
echo " <p class=\"description-item\">
<strong class=\"d-flex align-items-center\">
Фото проверено
<span class=\"description-item__verify\"
data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 408
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-verify-new\"></use>
</svg>
</span>
</strong>
</p>
";
}
// line 414
echo " </div>
</div>
<div class=\"modal-info__items-block mb-0\">
<div class=\"model-description\">
<h2 class=\"border-line\">О себе</h2>
<noindex><p class=\"m-0\" id=\"profile-about\">";
// line 419
echo twig_nl2br(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 419, $this->source); })()), "description", [], "any", false, false, false, 419), "html", null, true));
echo "</p></noindex>
</div>
</div>
</div>
</div>
";
// line 426
if ((twig_call_macro($macros["_self"], "macro__show_tabs", [twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 426, $this->source); })()), "photos", [], "any", false, false, false, 426), twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 426, $this->source); })()), "selfies", [], "any", false, false, false, 426), twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 426, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 426), twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 426, $this->source); })()), "deleted", [], "any", false, false, false, 426)], 426, $context, $this->getSourceContext()) == "true")) {
// line 427
echo " <div class=\"model-aside__images model-aside__images--middle rounding\">
<ul class=\"nav nav-pills nav-pills--mobile list-unstyled m-0 p-0 d-flex\" id=\"model-tab_2\" role=\"tablist\">
";
// line 429
$context["currentPage"] = "";
// line 430
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 430) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 430, $this->source); })()), "photos", [], "any", false, false, false, 430)) > 0))) {
$context["currentPage"] = "photo";
// line 431
echo " <li class=\"nav-item flex-fill\">
<a class=\"active\" id=\"model-photo-tab_2\" data-toggle=\"pill\" href=\"#model-photo_2\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 434
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-photo-thumb\"></use>
</svg>
Фото
</a>
</li>
";
}
// line 440
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 440) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 440, $this->source); })()), "selfies", [], "any", false, false, false, 440)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 440, $this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 440, $this->source); })())));
// line 441
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 442
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 442, $this->source); })()) == "selfie")) {
echo "active";
}
echo "\" id=\"model-selfie-tab_2\" data-toggle=\"pill\" href=\"#model-selfie_2\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 444
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-selfie-thumb\"></use>
</svg>
Селфи
</a>
</li>
";
}
// line 450
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 450) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 450, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 450)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 450, $this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 450, $this->source); })())));
// line 451
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 452
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 452, $this->source); })()) == "video")) {
echo "active";
}
echo "\" id=\"model-video-tab_2\" data-toggle=\"pill\" href=\"#model-video_2\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 454
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-video-thumb\"></use>
</svg>
Видео
</a>
</li>
";
}
// line 460
echo " </ul>
<div class=\"tab-content\" id=\"model-tabContent_2\">
";
// line 462
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 462) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 462, $this->source); })()), "photos", [], "any", false, false, false, 462)) > 0))) {
// line 463
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 463, $this->source); })()) == "photo")) {
echo " show active";
}
echo "\" id=\"model-photo_2\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab_2\">
<div class=\"model-aside-row d-flex flex-wrap\">
";
// line 465
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 465, $this->source); })()), "photos", [], "any", false, false, false, 465));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 466
echo "\t\t\t\t\t\t\t\t\t ";
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 466)) {
// line 467
echo "\t\t\t\t\t\t\t\t\t\t\t";
$context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 467, $this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 467, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 467)], 467, $context, $this->getSourceContext());
// line 468
echo " <div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"";
// line 469
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 469), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\">
<img class=\"img-fluid lazy\"
data-srcset=\"";
// line 471
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 471), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
";
// line 472
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 472), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
";
// line 473
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 473), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
";
// line 474
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 474), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
data-src=\"";
// line 480
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 480), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
data-type=\"lg\"
data-index-lg=\"";
// line 482
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 482), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"";
// line 483
echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt", $context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.', 483, $this->source); })()), "html", null, true);
echo "\">
</a>
</div>
\t\t\t\t\t\t\t\t\t ";
}
// line 487
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 488
echo " </div>
</div>
";
}
// line 491
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 491) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 491, $this->source); })()), "selfies", [], "any", false, false, false, 491)) > 0))) {
// line 492
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 492, $this->source); })()) == "selfie")) {
echo " show active";
}
echo "\" id=\"model-selfie_2\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab_2\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
";
// line 494
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 494, $this->source); })()), "selfies", [], "any", false, false, false, 494));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 495
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 495)) {
// line 496
echo "\t\t\t\t\t\t\t\t\t\t\t";
$context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 496, $this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 496, $this->source); })()), (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 496) + twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 496, $this->source); })()), "photos", [], "any", false, false, false, 496)))], 496, $context, $this->getSourceContext());
// line 497
echo " <div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"";
// line 498
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 498), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\">
<img class=\"img-fluid lazy\"
data-srcset=\"";
// line 500
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 500), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 501
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 501), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 502
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 502), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 503
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 503), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
data-type=\"lg\"
data-index-lg=\"";
// line 509
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 509) + twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 509, $this->source); })()), "photos", [], "any", false, false, false, 509))), "html", null, true);
echo "\"
src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
data-src=\"";
// line 511
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 511), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"";
// line 512
echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt", $context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.', 512, $this->source); })()), "html", null, true);
echo "\">
</a>
</div>
\t\t\t\t\t\t\t\t\t ";
}
// line 516
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 517
echo " </div>
</div>
";
}
// line 520
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 520) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 520, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 520)) > 0))) {
// line 521
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 521, $this->source); })()) == "video")) {
echo " show active";
}
echo "\" id=\"model-video_2\" role=\"tabpanel\" aria-labelledby=\"model-video-tab_2\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
";
// line 523
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 523, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 523));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 524
echo " <div class=\"model-video-container rounding\">
<video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"";
// line 525
if (twig_get_attribute($this->env, $this->source, $context["video"], "previewPath", [], "any", false, false, false, 525)) {
echo " poster=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, $context["video"], "previewPath", [], "any", false, false, false, 525), "profile_media", "fullsize"), "html", null, true);
}
echo "\">
<source src=\"";
// line 526
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, $context["video"], "path", [], "any", false, false, false, 526), "profile_media"), "html", null, true);
echo "\" type='video/mp4'/>
</video>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 530
echo " </div>
</div>
";
}
// line 533
echo " </div>
</div>
";
}
// line 536
echo "
<div class=\"modal-services mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
<div class=\"modal-services__header d-flex flex-wrap align-items-start\">
<h2 class=\"border-line\">Интим-услуги</h2>
<div class=\"modal-services__header-info d-flex flex-wrap align-items-center pb-2\">
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 543
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
- включено в стоимость
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 549
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-liking\"></use>
</svg>
- по симпатии
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 555
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-charge\"></use>
</svg>
- за дополнительную плату
</div>
";
// line 565
echo " </div>
</div>
<div class=\"modal-services__main\">
<div class=\"modal-services__items ";
// line 568
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 568, $this->source); })()), "masseur", [], "any", false, false, false, 568)) {
echo "d-flex justify-content-between mr-xl-3 flex-wrap ";
} else {
echo "column";
}
echo " w-100\" id=\"services_items\" data-type=\"";
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 568, $this->source); })()), "masseur", [], "any", false, false, false, 568)) {
echo "masseur";
} else {
echo "profile";
}
echo "\">
";
// line 569
$context["initional_group_2"] = 0;
// line 570
echo " ";
$context["group_2_minet"] = [];
// line 571
echo " ";
$context["group_2_okon"] = [];
// line 572
echo " ";
$context["group_2_okon_trigger"] = ["Окончание на грудь", "Окончание на лицо", "Окончание в рот", "На грудь", "На лицо", "В рот"];
echo " ";
// line 573
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 573, $this->source); })()), function ($__servicesGroup__, $__group__) use ($context, $macros) { $context["servicesGroup"] = $__servicesGroup__; $context["group"] = $__group__; return ( !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 573, $this->source); })()), "masseur", [], "any", false, false, false, 573) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups", $context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.', 573, $this->source); })()))); }));
foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
// line 574
echo " ";
if (($context["group"] == 2)) {
// line 575
echo " ";
// line 576
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 577
echo " ";
if (twig_in_filter($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 577)), (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger", $context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.', 577, $this->source); })()))) {
// line 578
echo " ";
$context["group_2_okon"] = twig_array_merge((isset($context["group_2_okon"]) || array_key_exists("group_2_okon", $context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.', 578, $this->source); })()), [$context["service"]]);
// line 579
echo " ";
} else {
// line 580
echo " ";
$context["group_2_minet"] = twig_array_merge((isset($context["group_2_minet"]) || array_key_exists("group_2_minet", $context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.', 580, $this->source); })()), [$context["service"]]);
// line 581
echo " ";
}
// line 582
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 583
echo " ";
} elseif ((($context["group"] == 3) && ((isset($context["initional_group_2"]) || array_key_exists("initional_group_2", $context) ? $context["initional_group_2"] : (function () { throw new RuntimeError('Variable "initional_group_2" does not exist.', 583, $this->source); })()) == 0))) {
// line 584
echo " ";
// line 585
echo " ";
$context["initional_group_2"] = 1;
// line 586
echo " <div class=\"modal-services__item\">
<p class=\"item-title\">Минет</p>
";
// line 588
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["group_2_minet"]) || array_key_exists("group_2_minet", $context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.', 588, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 589
echo " ";
$context["providedService"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 589, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 589);
// line 590
echo " ";
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 590, $this->source); })())) {
// line 591
echo " <div class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 591, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 592
if ((twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 592, $this->source); })()), "condition", [], "any", false, false, false, 592) == 1)) {
// line 593
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 594
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 596
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 596, $this->source); })()), "condition", [], "any", false, false, false, 596) == 2)) {
// line 597
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 598
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 600
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 600, $this->source); })()), "condition", [], "any", false, false, false, 600) == 3)) {
// line 601
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 602
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-charge\"></use>
</svg>
";
}
// line 605
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 605, $this->source); })()), "city", [], "any", false, false, false, 605), "uriIdentity", [], "any", false, false, false, 605), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 605)]), "html", null, true);
echo "\" data-s=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 605), "html", null, true);
echo "\">
";
// line 606
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 606)), "html", null, true);
echo "
</a>
";
// line 608
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 608, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 608, $this->source); })()), "condition", [], "any", false, false, false, 608) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 608, $this->source); })()), "extraCharge", [], "any", false, false, false, 608))) {
echo "<span class=\"item__price\">+";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 608, $this->source); })()), "extraCharge", [], "any", false, false, false, 608), "html", null, true);
echo " Р</span>";
}
// line 609
echo " ";
if (((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 609, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 609, $this->source); })()), "comment", [], "any", false, false, false, 609))) {
// line 610
echo " <div class=\"item__comment\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 610, $this->source); })()), "comment", [], "any", false, false, false, 610), "html", null, true);
echo "</div>
";
}
// line 612
echo " </div>
";
}
// line 614
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 615
echo " </div>
<div class=\"modal-services__item\">
<p class=\"item-title\">Окончание</p>
";
// line 618
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["group_2_okon"]) || array_key_exists("group_2_okon", $context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.', 618, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 619
echo " ";
$context["providedService"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 619, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 619);
// line 620
echo " ";
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 620, $this->source); })())) {
// line 621
echo " <div class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 621, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 622
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 622, $this->source); })())) {
// line 623
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 623, $this->source); })()), "condition", [], "any", false, false, false, 623) == 1)) {
// line 624
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 625
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 627
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 627, $this->source); })()), "condition", [], "any", false, false, false, 627) == 2)) {
// line 628
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 629
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 631
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 631, $this->source); })()), "condition", [], "any", false, false, false, 631) == 3)) {
// line 632
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 633
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-charge\"></use>
</svg>
";
}
// line 636
echo " ";
}
// line 637
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 637, $this->source); })()), "city", [], "any", false, false, false, 637), "uriIdentity", [], "any", false, false, false, 637), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 637)]), "html", null, true);
echo "\" data-s=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 637), "html", null, true);
echo "\">
";
// line 638
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 638)), "html", null, true);
echo "
</a>
";
// line 640
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 640, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 640, $this->source); })()), "condition", [], "any", false, false, false, 640) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 640, $this->source); })()), "extraCharge", [], "any", false, false, false, 640))) {
echo "<span class=\"item__price\">+";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 640, $this->source); })()), "extraCharge", [], "any", false, false, false, 640), "html", null, true);
echo " Р</span>";
}
// line 641
echo " ";
if (((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 641, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 641, $this->source); })()), "comment", [], "any", false, false, false, 641))) {
// line 642
echo " <div class=\"item__comment\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 642, $this->source); })()), "comment", [], "any", false, false, false, 642), "html", null, true);
echo "</div>
";
}
// line 644
echo " </div>
";
}
// line 646
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 647
echo " </div>
<div class=\"modal-services__item\">
<p class=\"item-title\" data-group=\"";
// line 649
echo twig_escape_filter($this->env, $context["group"], "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel($context["group"]), [], "service_groups"), "html", null, true);
echo "</p>
";
// line 650
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 651
echo " ";
$context["providedService"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 651, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 651);
// line 652
echo " ";
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 652, $this->source); })())) {
// line 653
echo " <div class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 653, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 654
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 654, $this->source); })())) {
// line 655
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 655, $this->source); })()), "condition", [], "any", false, false, false, 655) == 1)) {
// line 656
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 657
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 659
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 659, $this->source); })()), "condition", [], "any", false, false, false, 659) == 2)) {
// line 660
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 661
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 663
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 663, $this->source); })()), "condition", [], "any", false, false, false, 663) == 3)) {
// line 664
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 665
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-charge\"></use>
</svg>
";
}
// line 668
echo "
<a href=\"";
// line 669
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 669, $this->source); })()), "city", [], "any", false, false, false, 669), "uriIdentity", [], "any", false, false, false, 669), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 669)]), "html", null, true);
echo "\" data-s=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 669), "html", null, true);
echo "\">
";
// line 670
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 670)), "html", null, true);
echo "
</a>
";
// line 672
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 672, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 672, $this->source); })()), "condition", [], "any", false, false, false, 672) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 672, $this->source); })()), "extraCharge", [], "any", false, false, false, 672))) {
echo "<span class=\"item__price\">+";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 672, $this->source); })()), "extraCharge", [], "any", false, false, false, 672), "html", null, true);
echo " Р</span>";
}
// line 673
echo " ";
if (((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 673, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 673, $this->source); })()), "comment", [], "any", false, false, false, 673))) {
// line 674
echo " <div class=\"item__comment\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 674, $this->source); })()), "comment", [], "any", false, false, false, 674), "html", null, true);
echo "</div>
";
}
// line 676
echo " ";
}
// line 677
echo " </div>
";
}
// line 679
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 680
echo " </div>
";
} else {
// line 682
echo " ";
if (((($context["group"] == 1) || ($context["group"] == 5)) || ($context["group"] == 7))) {
// line 684
echo " ";
}
// line 685
echo " <div class=\"modal-services__item";
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 685, $this->source); })()), "masseur", [], "any", false, false, false, 685)) {
echo " modal-services__item--masseur";
}
echo "\">
<p class=\"item-title\">";
// line 686
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel($context["group"]), [], "service_groups"), "html", null, true);
echo "</p>
";
// line 687
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 688
echo " ";
$context["providedService"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 688, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 688);
// line 689
echo " ";
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 689, $this->source); })())) {
// line 690
echo " <div class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 690, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 691
if ((twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 691, $this->source); })()), "condition", [], "any", false, false, false, 691) == 1)) {
// line 692
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 693
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 695
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 695, $this->source); })()), "condition", [], "any", false, false, false, 695) == 2)) {
// line 696
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 697
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 699
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 699, $this->source); })()), "condition", [], "any", false, false, false, 699) == 3)) {
// line 700
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 701
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-charge\"></use>
</svg>
";
}
// line 704
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 704, $this->source); })()), "city", [], "any", false, false, false, 704), "uriIdentity", [], "any", false, false, false, 704), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 704)]), "html", null, true);
echo "\">
";
// line 705
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 705)), "html", null, true);
echo "
</a>
";
// line 707
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 707, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 707, $this->source); })()), "condition", [], "any", false, false, false, 707) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 707, $this->source); })()), "extraCharge", [], "any", false, false, false, 707))) {
echo "<span class=\"item__price\">+";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 707, $this->source); })()), "extraCharge", [], "any", false, false, false, 707), "html", null, true);
echo " Р</span>";
}
// line 708
echo " ";
if (((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 708, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 708, $this->source); })()), "comment", [], "any", false, false, false, 708))) {
// line 709
echo " <div class=\"item__comment\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 709, $this->source); })()), "comment", [], "any", false, false, false, 709), "html", null, true);
echo "</div>
";
}
// line 711
echo " </div>
";
}
// line 713
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 714
echo " </div>
";
// line 715
if (((($context["group"] == 4) || ($context["group"] == 6)) || ($context["group"] == 7))) {
// line 717
echo " ";
}
// line 718
echo " ";
}
// line 719
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 720
echo " </div>
<div class=\"modal-services__extend__items rounding\">
<div class=\"modal-services__extend__box\">
<div class=\"modal-services__extend__item\">
<h3 class=\"modal-services__extend__item__title\">Услуги для</h3>
";
// line 725
$context["client_types_text"] = ["1", "2", "3", "4", "5"];
// line 726
echo " ";
$context["includeService"] = false;
// line 727
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["client_types_text"]) || array_key_exists("client_types_text", $context) ? $context["client_types_text"] : (function () { throw new RuntimeError('Variable "client_types_text" does not exist.', 727, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["clientTypeText"]) {
// line 728
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 728, $this->source); })()), "clientTypes", [], "any", false, false, false, 728));
foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
// line 729
echo " ";
if (($context["clientTypeText"] == $context["clientType"])) {
// line 730
echo " ";
$context["includeService"] = true;
// line 731
echo " ";
}
// line 732
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientType'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 733
echo " ";
if ((((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 733, $this->source); })()) == true) && ($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]) != "TRANS"))) {
// line 734
echo " <div class=\"item\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 736
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
// line 739
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]), [], "client_types_f"), "html", null, true);
echo "
</div>
";
// line 741
$context["includeService"] = false;
// line 742
echo " ";
}
// line 743
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientTypeText'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 744
echo " </div>
<div class=\"modal-services__extend__item\">
<h3 class=\"modal-services__extend__item__title\">Выезд</h3>
";
// line 747
$context["locations_text"] = ["1", "2", "3", "4", "5", "6"];
// line 748
echo " ";
$context["includeService"] = false;
// line 749
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["locations_text"]) || array_key_exists("locations_text", $context) ? $context["locations_text"] : (function () { throw new RuntimeError('Variable "locations_text" does not exist.', 749, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["locationsText"]) {
// line 750
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 750, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 750), "locations", [], "any", false, false, false, 750));
foreach ($context['_seq'] as $context["_key"] => $context["locations"]) {
// line 751
echo " ";
if (($context["locationsText"] == $context["locations"])) {
// line 752
echo " ";
$context["includeService"] = true;
// line 753
echo " ";
}
// line 754
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locations'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 755
echo " ";
if (((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 755, $this->source); })()) == true)) {
// line 756
echo " <div class=\"item\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 758
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
// line 760
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\TakeOutLocationsExtension']->locationLabel($context["locationsText"]), [], "take_out_location"), "html", null, true);
echo "
</div>
";
// line 762
$context["includeService"] = false;
// line 763
echo " ";
}
// line 764
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locationsText'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 765
echo " </div>
</div>
</div>
<script>
(function(){
var list = document.querySelectorAll('.modal-services__item');
Array.prototype.forEach.call(list, function(el) {
var elementOfList = el.querySelectorAll('.item');
if (elementOfList.length === 0){
el.remove();
}
});
var listExt = document.querySelectorAll('.modal-services__extend__item');
var listExtCount = 0;
Array.prototype.forEach.call(listExt, function(el) {
var elementOfList = el.querySelectorAll('.item');
listExtCount++;
if (elementOfList.length === 0){
el.remove();
listExtCount--;
}
});
if (listExtCount === 0){
var block = document.querySelector('.modal-services__extend__items');
block.classList.add('d-none');
}
})()
</script>
</div>
";
// line 878
echo " </div>
<div class=\"modal-map mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
<h2 class=\"border-line\">
Расположение
</h2>
<div class=\"map-block rounding\" id=\"map\" style=\"width: 100%; height: 400px;\"
data-lat=\"";
// line 884
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any", false, true, false, 884), "latitude", [], "any", true, true, false, 884)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any", false, true, false, 884), "latitude", [], "any", false, false, false, 884), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 884, $this->source); })()), "city", [], "any", false, false, false, 884), "mapCoordinate", [], "any", false, false, false, 884), "latitude", [], "any", false, false, false, 884))) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 884, $this->source); })()), "city", [], "any", false, false, false, 884), "mapCoordinate", [], "any", false, false, false, 884), "latitude", [], "any", false, false, false, 884))), "html", null, true);
echo "\"
data-lon=\"";
// line 885
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any", false, true, false, 885), "longitude", [], "any", true, true, false, 885)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any", false, true, false, 885), "longitude", [], "any", false, false, false, 885), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 885, $this->source); })()), "city", [], "any", false, false, false, 885), "mapCoordinate", [], "any", false, false, false, 885), "longitude", [], "any", false, false, false, 885))) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 885, $this->source); })()), "city", [], "any", false, false, false, 885), "mapCoordinate", [], "any", false, false, false, 885), "longitude", [], "any", false, false, false, 885))), "html", null, true);
echo "\"
data-map-label=\"";
// line 886
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/map-balloon.svg", "basicConfig"), "html", null, true);
echo "\">
</div>
</div>
";
// line 889
if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("profile_comments")) {
// line 890
echo " ";
$context["commentsCount"] = twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 890, $this->source); })()), "comments", [], "any", false, false, false, 890));
// line 891
echo " <section class=\"model-comments mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
<div class=\"d-flex align-items-start comments-header\">
<h2 class=\"border-line\">";
// line 893
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отзывы", [], "profile");
echo " </h2>
<div class=\"rate d-flex align-items-center ml-auto\"";
// line 894
if (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 894, $this->source); })()) > 0)) {
echo " itemscope itemtype=\"https://schema.org/AggregateRating\"";
}
echo " data-rating=\"";
echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 894, $this->source); })()), "html", null, true);
echo "\">
";
// line 895
if (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 895, $this->source); })()) > 0)) {
// line 896
echo " <meta itemprop=\"worstRating\" content=\"1\">
<meta itemprop=\"ratingValue\" content=\"";
// line 897
echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 897, $this->source); })()), "html", null, true);
echo "\">
<meta itemprop=\"bestRating\" content=\"5\">
<meta itemprop=\"reviewCount\" content=\"";
// line 899
echo twig_escape_filter($this->env, (isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 899, $this->source); })()), "html", null, true);
echo "\">
";
}
// line 901
echo " <div class=\"rating-text d-flex level\"";
if (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 901, $this->source); })()) > 0)) {
echo " itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\" ";
}
echo ">
";
// line 902
if (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 902, $this->source); })()) > 0)) {
// line 903
echo " <meta itemprop=\"address\" content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 903, $this->source); })()), "city", [], "any", false, false, false, 903), "name", [], "any", false, false, false, 903), "html", null, true);
echo "\" />
<meta itemprop=\"telephone\" content=\"";
// line 904
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 904, $this->source); })()), "phoneNumber", [], "any", false, false, false, 904), "html", null, true);
echo "\" />
<meta itemprop=\"name\" content=\"Рейтинг анкеты ";
// line 905
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 905, $this->source); })()), "name", [], "any", false, false, false, 905), "html", null, true);
echo "\">
";
}
// line 907
echo " <span class=\"rating-text-value";
echo ((((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 907, $this->source); })()) == 0)) ? (" zero") : (""));
echo " mr-1\">
\t\t\t\t\t\t\t ";
// line 908
echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 908, $this->source); })()), "html", null, true);
echo "
</span>
<span class=\"rating-text-count mr-2\">
по ";
// line 911
echo twig_escape_filter($this->env, (isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 911, $this->source); })()), "html", null, true);
echo " ";
if (((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 911, $this->source); })()) == 1)) {
echo "отзыву";
} else {
echo "отзывам";
}
// line 912
echo " </span>
</div>
";
// line 914
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 915
echo " <div class=\"star";
if (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 915, $this->source); })()) >= $context["i"])) {
echo " mark";
}
echo "\"></div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 917
echo " </div>
</div>
<div class=\"row comments-main\">
<div class=\"col-12 col-lg-7 mb-2 mb-sm-3 mb-lg-0\">
";
// line 922
if (((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 922, $this->source); })()) > 0)) {
// line 923
echo " <div class=\"items-comments\" id=\"review-block-list\">
<ul>
";
// line 925
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 925, $this->source); })()), "comments", [], "any", false, false, false, 925));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["comment"]) {
// line 926
echo " ";
$this->loadTemplate("ProfilePreview/comment.html.twig", "ProfilePreview/page.html.twig", 926)->display($context);
// line 927
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 928
echo " </ul>
</div>
";
} else {
// line 931
echo " <div class=\"items-comments not-comments text-center empty\" id=\"review-block-list\">
<div id=\"text-to-remove\">
<svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\"
xmlns=\"http://www.w3.org/2000/svg\">
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
d=\"M20.8333 14.5C19.1536 14.5 17.5427 15.1673 16.355 16.355C15.1673 17.5427 14.5 19.1536 14.5 20.8333V82.6716L27.7525 69.4191C28.1275 69.044 28.6362 68.8333 29.1667 68.8333H79.1667C80.8464 68.8333 82.4573 68.1661 83.645 66.9783C84.8327 65.7906 85.5 64.1797 85.5 62.5V20.8333C85.5 19.1536 84.8327 17.5427 83.645 16.355C82.4573 15.1673 80.8464 14.5 79.1667 14.5H20.8333ZM13.5266 13.5266C15.4644 11.5887 18.0928 10.5 20.8333 10.5H79.1667C81.9072 10.5 84.5356 11.5887 86.4734 13.5266C88.4113 15.4644 89.5 18.0928 89.5 20.8333V62.5C89.5 65.2406 88.4113 67.8689 86.4734 69.8068C84.5356 71.7446 81.9072 72.8333 79.1667 72.8333H29.9951L13.9142 88.9142C13.3422 89.4862 12.482 89.6573 11.7346 89.3478C10.9873 89.0382 10.5 88.3089 10.5 87.5V20.8333C10.5 18.0928 11.5887 15.4644 13.5266 13.5266Z\"
fill=\"#595959\"/>
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
d=\"M37.722 48.245C39.4121 46.7824 41.65 46 43.9333 46H56.0667C58.35 46 60.5879 46.7824 62.278 48.245C63.9773 49.7155 65 51.7773 65 54V57C65 58.1046 64.1046 59 63 59C61.8954 59 61 58.1046 61 57V54C61 53.0401 60.5618 52.0496 59.6605 51.2697C58.7502 50.4819 57.461 50 56.0667 50H43.9333C42.539 50 41.2498 50.4819 40.3395 51.2697C39.4382 52.0496 39 53.0401 39 54V57C39 58.1046 38.1046 59 37 59C35.8954 59 35 58.1046 35 57V54C35 51.7773 36.0227 49.7155 37.722 48.245Z\"
fill=\"#595959\"/>
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
d=\"M50.5 29C47.4624 29 45 31.4624 45 34.5C45 37.5376 47.4624 40 50.5 40C53.5376 40 56 37.5376 56 34.5C56 31.4624 53.5376 29 50.5 29ZM41 34.5C41 29.2533 45.2533 25 50.5 25C55.7467 25 60 29.2533 60 34.5C60 39.7467 55.7467 44 50.5 44C45.2533 44 41 39.7467 41 34.5Z\"
fill=\"#595959\"/>
</svg>
<p id=\"text-to-remove\">К этой анкете ещё нет ни одного отзыва. Вы можете быть первым</p>
</div>
<ul>
</ul>
</div>
";
}
// line 952
echo " </div>
<div class=\"col-12 col-lg-5\">
";
// line 954
if ( !$this->extensions['App\Twig\UserExtension']->isUserAdvertiser(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.', 954, $this->source); })()), "user", [], "any", false, false, false, 954))) {
// line 955
echo " <div class=\"review-form\" id=\"review-form-comment\">
";
// line 957
echo " </div>
<div
class=\"dialog-container\"
id=\"form-dialog\"
aria-hidden=\"true\"
aria-labelledby=\"form-dialog-title\"
aria-describedby=\"form-dialog-description\"
>
<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
<div class=\"dialog-content\" role=\"document\">
<div class=\"dialog-header\">
<button
data-a11y-dialog-hide
class=\"dialog-close\"
aria-label=\"Close this dialog window\"
>
<svg class=\"dialog-close__icon\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\"/></svg>
</button>
</div>
<div class=\"dialog-body\">
</div>
</div>
</div>
";
}
// line 982
echo " </div>
</div>
</section>
";
}
// line 986
echo "
</div>
<div class=\"model-aside order-lg-1 mb-3 pr-3 pr-xl-4\">
<div class=\"model-aside__preview mb-1 d-none d-lg-block rounding\" id=\"girl-avatar__big\" style=\"--rounding:20px\">
";
// line 990
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 990, $this->source); })()), "deleted", [], "any", false, false, false, 990)) {
// line 991
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg", "basicConfig"), "html", null, true);
echo "\" class=\"girl-avatar__small\">
<img itemprop=\"contentUrl\" src=\"";
// line 992
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg"), "html", null, true);
echo "\"
alt=\"Анкета ";
// line 993
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 993, $this->source); })()), "name", [], "any", false, false, false, 993)), "html", null, true);
echo " удалена\"
class=\"img-fluid\">
</a>
";
} else {
// line 997
echo " ";
$context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 997, $this->source); })()));
// line 998
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 998, $this->source); })())) {
// line 999
echo " ";
$context["station_alt"] = "";
// line 1000
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1000, $this->source); })()), "stations", [], "any", false, false, false, 1000)) > 0)) {
// line 1001
$context["station_alt"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1001, $this->source); })()), "stations", [], "any", false, false, false, 1001));
}
// line 1003
$context["alt"] = ((((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1003, $this->source); })()), "name", [], "any", false, false, false, 1003)) . ", ") . $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1003, $this->source); })()), "personParameters", [], "any", false, false, false, 1003), "age", [], "any", false, false, false, 1003))) . (((isset($context["station_alt"]) || array_key_exists("station_alt", $context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.', 1003, $this->source); })())) ? ((", метро " . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["station_alt"]) || array_key_exists("station_alt", $context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.', 1003, $this->source); })()), "name", [], "any", false, false, false, 1003)))) : (""))) . " в Москве") . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 1003), "phone", [], "any", true, true, false, 1003)) ? ((", тел. " . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1003, $this->source); })()), "seo", [], "any", false, false, false, 1003), "phone", [], "any", false, false, false, 1003))) : (""))) . ", объявление ") . twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1003, $this->source); })()), "id", [], "any", false, false, false, 1003));
// line 1004
echo " ";
// line 1005
echo " <img itemprop=\"contentUrl\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, (isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 1005, $this->source); })()), "path", [], "any", false, false, false, 1005), "profile_media", "357x500", "jpg"), "html", null, true);
echo "\"
class=\"img-fluid\"
data-type=\"lg\"
data-index-lg=\"0\"
alt=\"";
// line 1009
echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt", $context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.', 1009, $this->source); })()), "html", null, true);
echo "\">
";
// line 1011
echo " ";
}
// line 1012
echo " ";
}
// line 1013
echo " ";
if (($this->extensions['App\Twig\UserExtension']->isUserCustomer(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.', 1013, $this->source); })()), "user", [], "any", false, false, false, 1013)) && !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1013, $this->source); })()), "deleted", [], "any", false, false, false, 1013))) {
// line 1014
echo " <button type=\"button\"
data-url-add=\"";
// line 1015
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.remove", ["profile" => twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1015, $this->source); })()), "id", [], "any", false, false, false, 1015)]), "html", null, true);
echo "\"
data-url-remove=\"";
// line 1016
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.add", ["profile" => twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1016, $this->source); })()), "id", [], "any", false, false, false, 1016)]), "html", null, true);
echo "\"
title=\"Добавить в избранное\"
";
// line 1018
if ($this->extensions['App\Twig\UserExtension']->isProfileInFavourites((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1018, $this->source); })()))) {
// line 1019
echo " class=\"btn favorite like\" id=\"favorite\">
";
} else {
// line 1021
echo " class=\"btn favorite unlike\" id=\"favorite\">
";
}
// line 1023
echo " <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
<path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
</svg>
</button>
";
}
// line 1030
echo " </div>
";
// line 1031
if ((twig_call_macro($macros["_self"], "macro__show_tabs", [twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1031, $this->source); })()), "photos", [], "any", false, false, false, 1031), twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1031, $this->source); })()), "selfies", [], "any", false, false, false, 1031), twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1031, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1031), twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1031, $this->source); })()), "deleted", [], "any", false, false, false, 1031)], 1031, $context, $this->getSourceContext()) == "true")) {
// line 1032
echo " <div class=\"model-aside__images model-aside__images--aside\">
<ul class=\"nav nav-pills list-unstyled m-0 p-0 d-flex\" id=\"model-tab\" role=\"tablist\">
";
// line 1034
$context["currentPage"] = "";
// line 1035
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 1035) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1035, $this->source); })()), "photos", [], "any", false, false, false, 1035)) > 0))) {
$context["currentPage"] = "photo";
// line 1036
echo " <li class=\"nav-item flex-fill\">
<a class=\"active\" id=\"model-photo-tab\" data-toggle=\"pill\" href=\"#model-photo\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 1039
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-photo-thumb\"></use>
</svg>
Фото
</a>
</li>
";
}
// line 1045
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 1045) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1045, $this->source); })()), "selfies", [], "any", false, false, false, 1045)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1045, $this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1045, $this->source); })())));
// line 1046
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 1047
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1047, $this->source); })()) == "selfie")) {
echo "active";
}
echo "\" id=\"model-selfie-tab\" data-toggle=\"pill\" href=\"#model-selfie\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 1049
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-selfie-thumb\"></use>
</svg>
Селфи
</a>
</li>
";
}
// line 1055
echo " ";
if (((((false == twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1055, $this->source); })()), "isModerationRejected", [], "any", false, false, false, 1055)) && !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1055, $this->source); })()), "deleted", [], "any", false, false, false, 1055)) && twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 1055)) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1055, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1055)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1055, $this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1055, $this->source); })())));
// line 1056
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 1057
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1057, $this->source); })()) == "video")) {
echo "active";
}
echo "\" id=\"model-video-tab\" data-toggle=\"pill\" href=\"#model-video\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 1059
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-video-thumb\"></use>
</svg>
Видео
</a>
</li>
";
}
// line 1065
echo " </ul>
<div class=\"tab-content\" id=\"model-tabContent\">
";
// line 1067
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 1067) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1067, $this->source); })()), "photos", [], "any", false, false, false, 1067)) > 0))) {
// line 1068
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1068, $this->source); })()) == "photo")) {
echo " show active";
}
echo "\" id=\"model-photo\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab\">
<div class=\"model-aside-row d-flex flex-wrap\">
";
// line 1070
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1070, $this->source); })()), "photos", [], "any", false, false, false, 1070));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 1071
echo "\t\t\t\t\t\t\t\t\t ";
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1071)) {
// line 1072
echo "\t\t\t\t\t\t\t\t\t\t\t";
$context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1072, $this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 1072, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1072)], 1072, $context, $this->getSourceContext());
// line 1073
echo " <div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"";
// line 1074
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1074), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\">
<img class=\"img-fluid lazy\"
data-srcset=\"";
// line 1076
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1076), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
";
// line 1077
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1077), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
";
// line 1078
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1078), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
";
// line 1079
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1079), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
data-src=\"";
// line 1085
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1085), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 1086
echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt", $context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.', 1086, $this->source); })()), "html", null, true);
echo "\"
data-type=\"lg\"
data-index-lg=\"";
// line 1088
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1088), "html", null, true);
echo "\">
</a>
</div>
\t\t\t\t\t\t\t\t\t ";
}
// line 1092
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1093
echo " </div>
</div>
";
}
// line 1096
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 1096) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1096, $this->source); })()), "selfies", [], "any", false, false, false, 1096)) > 0))) {
// line 1097
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1097, $this->source); })()) == "selfie")) {
echo " show active";
}
echo "\" id=\"model-selfie\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
";
// line 1099
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1099, $this->source); })()), "selfies", [], "any", false, false, false, 1099));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 1100
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1100)) {
// line 1101
echo "\t\t\t\t\t\t\t\t\t\t\t";
$context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1101, $this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 1101, $this->source); })()), (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1101) + twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1101, $this->source); })()), "photos", [], "any", false, false, false, 1101)))], 1101, $context, $this->getSourceContext());
// line 1102
echo " <div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"";
// line 1103
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1103), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\">
<img class=\"img-fluid lazy\"
data-srcset=\"";
// line 1105
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1105), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1106
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1106), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1107
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1107), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1108
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1108), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
data-type=\"lg\"
data-index-lg=\"";
// line 1114
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1114) + twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1114, $this->source); })()), "photos", [], "any", false, false, false, 1114))), "html", null, true);
echo "\"
src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
data-src=\"";
// line 1116
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1116), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 1117
echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt", $context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.', 1117, $this->source); })()), "html", null, true);
echo "\">
</a>
</div>
\t\t\t\t\t\t\t\t\t ";
}
// line 1121
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1122
echo " </div>
</div>
";
}
// line 1125
echo " ";
if (((((false == twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1125, $this->source); })()), "isModerationRejected", [], "any", false, false, false, 1125)) && !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1125, $this->source); })()), "deleted", [], "any", false, false, false, 1125)) && twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 1125)) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1125, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1125)) > 0))) {
// line 1126
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1126, $this->source); })()) == "video")) {
echo " show active";
}
echo "\" id=\"model-video\" role=\"tabpanel\" aria-labelledby=\"model-video-tab\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
";
// line 1128
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1128, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1128));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 1129
echo " <div class=\"model-video-container rounding\">
<video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"";
// line 1130
if (twig_get_attribute($this->env, $this->source, $context["video"], "previewPath", [], "any", false, false, false, 1130)) {
echo " poster=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["video"], "previewPath", [], "any", false, false, false, 1130), "profile_media", "fullsize"), "html", null, true);
}
echo "\">
<source src=\"";
// line 1131
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, $context["video"], "path", [], "any", false, false, false, 1131), "profile_media"), "html", null, true);
echo "\" type='video/mp4'/>
</video>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1135
echo " </div>
</div>
";
}
// line 1138
echo " </div>
</div>
";
}
// line 1141
echo " </div>
</div>
";
// line 1145
echo "
\t";
// line 1148
echo " <div id=\"recommendations\">";
// line 1149
$context["excludeRecommendationProfileIds"] = [twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1149, $this->source); })()), "id", [], "any", false, false, false, 1149)];
// line 1150
$this->loadTemplate("recommendations/_profile_recommendations.html.twig", "ProfilePreview/page.html.twig", 1150)->display(twig_array_merge($context, ["componentClass" => "with-profile"]));
// line 1151
echo "</div>
";
// line 1153
echo twig_include($this->env, $context, "ProfilePreview/nearest_profiles.html.twig");
echo "
";
// line 1313
echo "
";
// line 1315
if ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1315, $this->source); })()), "isActive", [], "any", false, false, false, 1315) || !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1315, $this->source); })()), "hidden", [], "any", false, false, false, 1315))) {
// line 1316
echo " <div class=\"sticky-phone sticky-phone--hide\" id=\"phone-sticky\">
<div class=\"sticky-phone__mobile d-flex\" id=\"phone-sticky-donor\">
<div class=\"model-phone__element model-phone__number rounding\">
<button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
<svg class=\"models-item__phone-icon\">
<use xlink:href=\"";
// line 1322
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#phone\"></use>
</svg>
Показать телефон
</button>
<a href=\"tel:";
// line 1326
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1326, $this->source); })()), "phoneNumber", [], "any", false, false, false, 1326), [" " => "", "-" => ""]), "html", null, true);
echo "\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
<svg class=\"models-item__phone-icon\">
<use xlink:href=\"";
// line 1328
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#phone\"></use>
</svg>
";
// line 1330
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1330, $this->source); })()), "phoneNumber", [], "any", false, false, false, 1330), "html", null, true);
echo "
</a>
</div>
";
// line 1333
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1333, $this->source); })()), "messengers", [], "any", false, false, false, 1333), "whatsApp", [], "any", false, false, false, 1333)) {
// line 1334
echo " <a class=\"sticky-phone__mobile__element sticky-phone__mobile__whatsup\" target=\"_blank\" href=\"https://wa.me/";
echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber", $context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.', 1334, $this->source); })()), "html", null, true);
echo "?text=Привет,%20";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1334, $this->source); })()), "name", [], "any", false, false, false, 1334), "html", null, true);
echo "!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 1336
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-viber\"></use>
</svg>
</a>
";
}
// line 1340
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1340, $this->source); })()), "messengers", [], "any", false, false, false, 1340), "telegram", [], "any", false, false, false, 1340)) {
// line 1341
echo " <a class=\"sticky-phone__mobile__element sticky-phone__mobile__telegram\" target=\"_blank\" href=\"https://t.me/+";
echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber", $context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.', 1341, $this->source); })()), "html", null, true);
echo "\" title=\"Telegram\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 1343
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-messager\"></use>
</svg>
</a>
";
}
// line 1347
echo " </div>
<p class=\"sticky-phone__text color-verify\">
Скажите что звоните с МосПрос и я всё пойму
</p>
</div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 1355
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 1356
echo " ";
// line 1357
echo " ";
// line 1358
echo " <script src=\"/assets/vendors/lightgallery_v2/lightgallery.min.js\"></script>
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/lightgallery@2.0.0-beta.3/css/lightgallery-bundle.css\">
";
// line 1387
echo "
<script type=\"text/javascript\">
document.addEventListener(\"DOMContentLoaded\", () => {
function getWidthScrollbar() {
let div = document.createElement('div');
div.style.overflowY = 'scroll';
div.style.width = '50px';
div.style.height = '50px';
document.body.append(div);
let scrollWidth = div.offsetWidth - div.clientWidth;
div.remove();
return scrollWidth;
}
function galleryInit() {
const dynamicGallery = document.getElementById('profile-heading');
dynamicGallery.addEventListener('lgAfterOpen', (event) => {
document.body.style.overflow = 'hidden'
document.body.style.paddingRight = getWidthScrollbar() + 'px'
});
dynamicGallery.addEventListener('lgAfterClose', (event) => {
document.body.style.overflow = ''
document.body.style.paddingRight = '0'
});
const dynamicLG = lightGallery(dynamicGallery, {
dynamic: true,
licenseKey: \"2564-4867-3007-0501\",
startClass:'',
dynamicEl: [
";
// line 1423
$context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1423, $this->source); })()));
// line 1424
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 1424, $this->source); })())) {
echo "{ src: \"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, (isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 1424, $this->source); })()), "path", [], "any", false, false, false, 1424), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" },";
}
// line 1425
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 1425) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1425, $this->source); })()), "photos", [], "any", false, false, false, 1425)) > 0))) {
// line 1426
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1426, $this->source); })()), "photos", [], "any", false, false, false, 1426));
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 1427
echo " { src: \"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1427), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" },
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1429
echo " ";
}
// line 1430
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 1430) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1430, $this->source); })()), "selfies", [], "any", false, false, false, 1430)) > 0))) {
// line 1431
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1431, $this->source); })()), "selfies", [], "any", false, false, false, 1431));
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 1432
echo " { src: \"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1432), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" },
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1434
echo " ";
}
// line 1435
echo " ]
});
document.addEventListener('click', function (event) {
const {target} = event;
if (target.closest('.tab-content')) {
event.preventDefault();
}
if (target.dataset && target.dataset.type === 'lg'){
const index = target.dataset.indexLg ? +target.dataset.indexLg : 0;
dynamicLG.openGallery(index);
}
});
}
setTimeout(() => {
galleryInit();
}, 600);
//---------------------------------
var allTabs = document.querySelectorAll('a[data-toggle=\"pill\"]');
var contentBlock = document.getElementById('model-tabContent');
var contentBlock2 = document.getElementById('model-tabContent_2');
for (let i = 0; i < allTabs.length; i++) {
allTabs[i].addEventListener('click', clickToTab.bind(this, allTabs[i]));
}
function clickToTab(tab, event) {
event.preventDefault();
var id = tab.getAttribute('aria-controls');
setContent(id);
setTab(tab,id);
}
function setContent(id) {
for (let i = 0; i < contentBlock.children.length; i++) {
if (contentBlock.children[i].id === id){
contentBlock.children[i].classList.add('active')
contentBlock.children[i].classList.add('show')
contentBlock2.children[i].classList.add('active')
contentBlock2.children[i].classList.add('show')
} else {
contentBlock.children[i].classList.remove('active')
contentBlock.children[i].classList.remove('show')
contentBlock2.children[i].classList.remove('active')
contentBlock2.children[i].classList.remove('show')
}
}
}
function setTab(activeTab, id) {
for (let i = 0; i < allTabs.length; i++) {
allTabs[i].classList.remove('active')
}
activeTab.classList.add('active')
}
// ------------------------------------
var servicesBlock = document.getElementById('services_items');
if (!servicesBlock) return;
var servicesExtendBlock = servicesBlock.nextElementSibling;
var servicesType = servicesBlock.dataset.type;
switch (servicesBlock.childElementCount) {
case 0:
servicesExtendBlock.classList.add('modal-services__extend__items--no-services')
break;
default:
servicesBlock.classList.add(`modal-services__items--count-\${servicesBlock.childElementCount}`)
break;
}
if (servicesExtendBlock.children[0].childElementCount === 0){
servicesExtendBlock.classList.add('modal-services__extend__items--no-extend-services')
if (servicesBlock.childElementCount === 0){
servicesExtendBlock.parentElement.parentElement.classList.add('d-none');
}
}
});
\t\twindow.comment_data = {
\t\t\t'urlCreate': '";
// line 1522
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile.comment.create", ["profile" => twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1522, $this->source); })()), "id", [], "any", false, false, false, 1522)]), "html", null, true);
echo "',
\t\t\t'urlGet': '";
// line 1523
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile.comment.comment_form", ["profile" => twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1523, $this->source); })()), "id", [], "any", false, false, false, 1523)]), "html", null, true);
echo "',
\t\t\t'sitekey': \"";
// line 1524
echo twig_escape_filter($this->env, (isset($context["ewz_recaptcha_site_key"]) || array_key_exists("ewz_recaptcha_site_key", $context) ? $context["ewz_recaptcha_site_key"] : (function () { throw new RuntimeError('Variable "ewz_recaptcha_site_key" does not exist.', 1524, $this->source); })()), "html", null, true);
echo "\",
\t\t\t'registrationUrl': \"/signup/\"
\t\t};
\t</script>
\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
";
// line 1530
$context["excludeRecommendationProfileIds"] = [twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1530, $this->source); })()), "id", [], "any", false, false, false, 1530)];
// line 1531
echo "\t";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script>
window._mp = {
stations: {";
// line 1535
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 1536
echo "\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["station"], "name", [], "any", false, false, false, 1536)), "html", null, true);
echo "\": \"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_station", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["station"], "city", [], "any", false, false, false, 1536), "uriIdentity", [], "any", false, false, false, 1536), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 1536)]), "html", null, true);
echo "\"";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 1536)) {
echo ",";
}
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1538
echo "}
};
(function() {
let isRenderRecommendationsWidget = false;
let isRenderBotWidget = false;
let isRenderRecentlyViewedWidget = false;
function loadWidgets() {
if (!isRenderRecommendationsWidget) {
isRenderRecommendationsWidget = true;
console.log(window.Recommendation)
window.Recommendation.addViewedProfile(";
// line 1549
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1549, $this->source); })()), "id", [], "any", false, false, false, 1549), "html", null, true);
echo ")
}
if (!isRenderBotWidget) {
isRenderBotWidget = true;
window.profileBotHelper.addViewedProfile(";
// line 1553
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1553, $this->source); })()), "id", [], "any", false, false, false, 1553), "html", null, true);
echo ");
}
if (!isRenderRecentlyViewedWidget) {
isRenderRecentlyViewedWidget = true;
window.recentlyViewed.addViewedProfile(";
// line 1557
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1557, $this->source); })()), "id", [], "any", false, false, false, 1557), "html", null, true);
echo ");
}
//const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
}
window.addEventListener('load', () => {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
})
document.addEventListener('DOMContentLoaded', function() {
window.increase_views(";
// line 1570
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1570, $this->source); })()), "id", [], "any", false, false, false, 1570), "html", null, true);
echo ");
});
document.addEventListener(\"recommendations:ready\", () => {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
});
})();
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 4
public function macro__show_tabs($__photos__ = null, $__selfies__ = null, $__videos__ = null, $__hasDeleted__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"photos" => $__photos__,
"selfies" => $__selfies__,
"videos" => $__videos__,
"hasDeleted" => $__hasDeleted__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_show_tabs"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_show_tabs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_show_tabs"));
// line 5
if ((isset($context["hasDeleted"]) || array_key_exists("hasDeleted", $context) ? $context["hasDeleted"] : (function () { throw new RuntimeError('Variable "hasDeleted" does not exist.', 5, $this->source); })())) {
echo "false
";
} elseif (((( // line 6
array_key_exists("photos", $context) && (twig_length_filter($this->env, (isset($context["photos"]) || array_key_exists("photos", $context) ? $context["photos"] : (function () { throw new RuntimeError('Variable "photos" does not exist.', 6, $this->source); })())) > 0)) || ( // line 7
array_key_exists("selfies", $context) && (twig_length_filter($this->env, (isset($context["selfies"]) || array_key_exists("selfies", $context) ? $context["selfies"] : (function () { throw new RuntimeError('Variable "selfies" does not exist.', 7, $this->source); })())) > 0))) || ( // line 8
array_key_exists("videos", $context) && (twig_length_filter($this->env, (isset($context["videos"]) || array_key_exists("videos", $context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.', 8, $this->source); })())) > 0)))) {
// line 9
echo "true";
} else {
echo "false";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 12
public function macro__get_alt($__profile__ = null, $__servicesList__ = null, $__index__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"profile" => $__profile__,
"servicesList" => $__servicesList__,
"index" => $__index__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_get_alt"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_get_alt"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_get_alt"));
// line 13
$context["station_alt"] = "";
// line 14
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 14, $this->source); })()), "stations", [], "any", false, false, false, 14)) > 0)) {
// line 15
$context["station_alt"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 15, $this->source); })()), "stations", [], "any", false, false, false, 15));
}
// line 17
echo twig_escape_filter($this->env, ((((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 17, $this->source); })()), "name", [], "any", false, false, false, 17)) . ", возраст ") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 17, $this->source); })()), "personParameters", [], "any", false, false, false, 17), "age", [], "any", false, false, false, 17)) . (((isset($context["station_alt"]) || array_key_exists("station_alt", $context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.', 17, $this->source); })())) ? ((", " . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["station_alt"]) || array_key_exists("station_alt", $context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.', 17, $this->source); })()), "name", [], "any", false, false, false, 17)))) : (""))) . ", ") . twig_lower_filter($this->env, $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 17, $this->source); })()), (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 17, $this->source); })()), "id", [], "any", false, false, false, 17) + (13 * (isset($context["index"]) || array_key_exists("index", $context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.', 17, $this->source); })())))))) . ", объявление ") . twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 17, $this->source); })()), "id", [], "any", false, false, false, 17)), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 20
public function macro__data_wrapper($__text__ = null, $__value__ = null, $__shortText__ = "", ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"text" => $__text__,
"value" => $__value__,
"shortText" => $__shortText__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_data_wrapper"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_data_wrapper"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_data_wrapper"));
// line 21
echo " ";
$context["value"] = (((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 21, $this->source); })())) ? ((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 21, $this->source); })())) : ("-"));
// line 22
echo " ";
echo twig_escape_filter($this->env, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 22, $this->source); })()), "html", null, true);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 25
public function macro__time_to_work($__profile__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"profile" => $__profile__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_time_to_work"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_time_to_work"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_time_to_work"));
// line 26
echo " ";
if ((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 26, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 26), "timeFrom", [], "any", false, false, false, 26) == "") && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 26, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 26), "timeTo", [], "any", false, false, false, 26) == "")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 27
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 27, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 27), "timeFrom", [], "any", false, false, false, 27) == twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 27, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 27), "timeTo", [], "any", false, false, false, 27)))) {
// line 28
echo " ";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Круглосуточно", [], "profile");
// line 29
echo " ";
} else {
// line 30
echo " с
";
// line 31
(((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 31, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 31), "timeFrom", [], "any", false, false, false, 31) == "")) ? (print (0)) : (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 31, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 31), "timeFrom", [], "any", false, false, false, 31), "html", null, true))));
echo "
до
";
// line 33
(((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 33, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 33), "timeTo", [], "any", false, false, false, 33) == "")) ? (print (0)) : (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 33, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 33), "timeTo", [], "any", false, false, false, 33), "html", null, true))));
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "ProfilePreview/page.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 3260 => 33, 3255 => 31, 3252 => 30, 3249 => 29, 3246 => 28, 3244 => 27, 3242 => 26, 3220 => 25, 3199 => 22, 3196 => 21, 3172 => 20, 3154 => 17, 3151 => 15, 3149 => 14, 3147 => 13, 3123 => 12, 3102 => 9, 3100 => 8, 3099 => 7, 3098 => 6, 3094 => 5, 3069 => 4, 3043 => 1570, 3027 => 1557, 3020 => 1553, 3013 => 1549, 3000 => 1538, 2979 => 1536, 2962 => 1535, 2955 => 1531, 2953 => 1530, 2944 => 1524, 2940 => 1523, 2936 => 1522, 2847 => 1435, 2844 => 1434, 2835 => 1432, 2830 => 1431, 2827 => 1430, 2824 => 1429, 2815 => 1427, 2810 => 1426, 2807 => 1425, 2800 => 1424, 2798 => 1423, 2760 => 1387, 2755 => 1358, 2753 => 1357, 2751 => 1356, 2738 => 1355, 2719 => 1347, 2712 => 1343, 2706 => 1341, 2703 => 1340, 2696 => 1336, 2688 => 1334, 2686 => 1333, 2680 => 1330, 2675 => 1328, 2670 => 1326, 2663 => 1322, 2655 => 1316, 2653 => 1315, 2649 => 1313, 2644 => 1153, 2640 => 1151, 2638 => 1150, 2636 => 1149, 2634 => 1148, 2630 => 1145, 2626 => 1141, 2621 => 1138, 2616 => 1135, 2606 => 1131, 2599 => 1130, 2596 => 1129, 2592 => 1128, 2584 => 1126, 2581 => 1125, 2576 => 1122, 2562 => 1121, 2555 => 1117, 2551 => 1116, 2546 => 1114, 2537 => 1108, 2533 => 1107, 2529 => 1106, 2525 => 1105, 2520 => 1103, 2517 => 1102, 2514 => 1101, 2511 => 1100, 2494 => 1099, 2486 => 1097, 2483 => 1096, 2478 => 1093, 2464 => 1092, 2457 => 1088, 2452 => 1086, 2448 => 1085, 2439 => 1079, 2435 => 1078, 2431 => 1077, 2427 => 1076, 2422 => 1074, 2419 => 1073, 2416 => 1072, 2413 => 1071, 2396 => 1070, 2388 => 1068, 2386 => 1067, 2382 => 1065, 2373 => 1059, 2366 => 1057, 2363 => 1056, 2359 => 1055, 2350 => 1049, 2343 => 1047, 2340 => 1046, 2336 => 1045, 2327 => 1039, 2322 => 1036, 2318 => 1035, 2316 => 1034, 2312 => 1032, 2310 => 1031, 2307 => 1030, 2298 => 1023, 2294 => 1021, 2290 => 1019, 2288 => 1018, 2283 => 1016, 2279 => 1015, 2276 => 1014, 2273 => 1013, 2270 => 1012, 2267 => 1011, 2263 => 1009, 2255 => 1005, 2253 => 1004, 2251 => 1003, 2248 => 1001, 2246 => 1000, 2243 => 999, 2240 => 998, 2237 => 997, 2230 => 993, 2226 => 992, 2221 => 991, 2219 => 990, 2213 => 986, 2207 => 982, 2180 => 957, 2177 => 955, 2175 => 954, 2171 => 952, 2148 => 931, 2143 => 928, 2129 => 927, 2126 => 926, 2109 => 925, 2105 => 923, 2103 => 922, 2096 => 917, 2085 => 915, 2081 => 914, 2077 => 912, 2069 => 911, 2063 => 908, 2058 => 907, 2053 => 905, 2049 => 904, 2044 => 903, 2042 => 902, 2035 => 901, 2030 => 899, 2025 => 897, 2022 => 896, 2020 => 895, 2012 => 894, 2008 => 893, 2004 => 891, 2001 => 890, 1999 => 889, 1993 => 886, 1989 => 885, 1985 => 884, 1977 => 878, 1945 => 765, 1939 => 764, 1936 => 763, 1934 => 762, 1929 => 760, 1924 => 758, 1920 => 756, 1917 => 755, 1911 => 754, 1908 => 753, 1905 => 752, 1902 => 751, 1897 => 750, 1892 => 749, 1889 => 748, 1887 => 747, 1882 => 744, 1876 => 743, 1873 => 742, 1871 => 741, 1866 => 739, 1860 => 736, 1856 => 734, 1853 => 733, 1847 => 732, 1844 => 731, 1841 => 730, 1838 => 729, 1833 => 728, 1828 => 727, 1825 => 726, 1823 => 725, 1816 => 720, 1810 => 719, 1807 => 718, 1804 => 717, 1802 => 715, 1799 => 714, 1793 => 713, 1789 => 711, 1783 => 709, 1780 => 708, 1774 => 707, 1769 => 705, 1764 => 704, 1758 => 701, 1755 => 700, 1753 => 699, 1748 => 697, 1745 => 696, 1743 => 695, 1738 => 693, 1735 => 692, 1733 => 691, 1726 => 690, 1723 => 689, 1720 => 688, 1716 => 687, 1712 => 686, 1705 => 685, 1702 => 684, 1699 => 682, 1695 => 680, 1689 => 679, 1685 => 677, 1682 => 676, 1676 => 674, 1673 => 673, 1667 => 672, 1662 => 670, 1656 => 669, 1653 => 668, 1647 => 665, 1644 => 664, 1642 => 663, 1637 => 661, 1634 => 660, 1632 => 659, 1627 => 657, 1624 => 656, 1621 => 655, 1619 => 654, 1612 => 653, 1609 => 652, 1606 => 651, 1602 => 650, 1596 => 649, 1592 => 647, 1586 => 646, 1582 => 644, 1576 => 642, 1573 => 641, 1567 => 640, 1562 => 638, 1555 => 637, 1552 => 636, 1546 => 633, 1543 => 632, 1541 => 631, 1536 => 629, 1533 => 628, 1531 => 627, 1526 => 625, 1523 => 624, 1520 => 623, 1518 => 622, 1511 => 621, 1508 => 620, 1505 => 619, 1501 => 618, 1496 => 615, 1490 => 614, 1486 => 612, 1480 => 610, 1477 => 609, 1471 => 608, 1466 => 606, 1459 => 605, 1453 => 602, 1450 => 601, 1448 => 600, 1443 => 598, 1440 => 597, 1438 => 596, 1433 => 594, 1430 => 593, 1428 => 592, 1421 => 591, 1418 => 590, 1415 => 589, 1411 => 588, 1407 => 586, 1404 => 585, 1402 => 584, 1399 => 583, 1393 => 582, 1390 => 581, 1387 => 580, 1384 => 579, 1381 => 578, 1378 => 577, 1373 => 576, 1371 => 575, 1368 => 574, 1363 => 573, 1359 => 572, 1356 => 571, 1353 => 570, 1351 => 569, 1337 => 568, 1332 => 565, 1325 => 555, 1316 => 549, 1307 => 543, 1298 => 536, 1293 => 533, 1288 => 530, 1278 => 526, 1271 => 525, 1268 => 524, 1264 => 523, 1256 => 521, 1253 => 520, 1248 => 517, 1234 => 516, 1227 => 512, 1223 => 511, 1218 => 509, 1209 => 503, 1205 => 502, 1201 => 501, 1197 => 500, 1192 => 498, 1189 => 497, 1186 => 496, 1183 => 495, 1166 => 494, 1158 => 492, 1155 => 491, 1150 => 488, 1136 => 487, 1129 => 483, 1125 => 482, 1120 => 480, 1111 => 474, 1107 => 473, 1103 => 472, 1099 => 471, 1094 => 469, 1091 => 468, 1088 => 467, 1085 => 466, 1068 => 465, 1060 => 463, 1058 => 462, 1054 => 460, 1045 => 454, 1038 => 452, 1035 => 451, 1031 => 450, 1022 => 444, 1015 => 442, 1012 => 441, 1008 => 440, 999 => 434, 994 => 431, 990 => 430, 988 => 429, 984 => 427, 982 => 426, 972 => 419, 965 => 414, 956 => 408, 948 => 402, 946 => 401, 941 => 400, 936 => 398, 933 => 397, 930 => 396, 925 => 394, 922 => 393, 919 => 392, 916 => 391, 914 => 390, 910 => 388, 903 => 387, 896 => 386, 887 => 385, 881 => 384, 874 => 379, 870 => 377, 864 => 374, 861 => 373, 859 => 372, 852 => 367, 848 => 365, 842 => 362, 839 => 361, 837 => 360, 830 => 355, 828 => 354, 822 => 349, 820 => 348, 814 => 343, 812 => 342, 809 => 340, 805 => 339, 801 => 338, 797 => 337, 793 => 336, 789 => 335, 786 => 334, 783 => 333, 781 => 332, 774 => 327, 772 => 326, 766 => 321, 764 => 320, 758 => 315, 756 => 314, 748 => 307, 744 => 305, 741 => 304, 727 => 303, 724 => 302, 721 => 301, 715 => 297, 707 => 294, 701 => 293, 698 => 292, 695 => 291, 692 => 290, 689 => 289, 686 => 288, 683 => 287, 666 => 286, 661 => 284, 658 => 283, 636 => 280, 634 => 279, 631 => 278, 614 => 277, 609 => 274, 607 => 273, 604 => 272, 597 => 267, 594 => 265, 589 => 262, 585 => 261, 583 => 260, 573 => 252, 564 => 245, 560 => 243, 557 => 242, 543 => 241, 537 => 240, 519 => 239, 517 => 238, 507 => 230, 504 => 223, 500 => 221, 496 => 219, 489 => 215, 485 => 213, 482 => 212, 475 => 208, 467 => 206, 465 => 205, 459 => 202, 454 => 200, 449 => 198, 442 => 194, 437 => 191, 434 => 187, 431 => 186, 429 => 185, 424 => 182, 411 => 171, 409 => 170, 404 => 166, 401 => 165, 396 => 164, 394 => 163, 391 => 161, 388 => 160, 383 => 159, 381 => 158, 378 => 156, 375 => 155, 370 => 154, 368 => 153, 360 => 147, 352 => 141, 349 => 139, 345 => 136, 340 => 134, 338 => 133, 336 => 132, 333 => 130, 330 => 129, 325 => 128, 323 => 127, 320 => 125, 317 => 124, 312 => 123, 310 => 122, 307 => 120, 304 => 119, 299 => 118, 297 => 117, 289 => 111, 281 => 105, 272 => 98, 268 => 96, 264 => 94, 262 => 93, 257 => 91, 253 => 90, 250 => 89, 247 => 88, 244 => 87, 239 => 85, 231 => 81, 229 => 80, 226 => 77, 224 => 76, 222 => 75, 219 => 74, 216 => 73, 213 => 72, 207 => 69, 202 => 68, 200 => 67, 192 => 61, 185 => 57, 180 => 54, 178 => 53, 174 => 52, 168 => 50, 155 => 49, 137 => 44, 124 => 43, 97 => 41, 72 => 39, 58 => 1, 56 => 37, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'ProfilePreview/grid.html.twig' %}
{# Проверяем есть ли у нас вообще данные для табов #}
{%- macro _show_tabs(photos,selfies,videos,hasDeleted) -%}
{% if (hasDeleted) %}false
{% elseif (photos is defined and photos|length > 0) or
(selfies is defined and selfies|length > 0) or
(videos is defined and videos|length > 0)
%}true{% else %}false{% endif %}
{%- endmacro -%}
{%- macro _get_alt(profile, servicesList, index) -%}
{% set station_alt = '' -%}
{% if profile.stations|length > 0 -%}
{% set station_alt = profile.stations|first -%}
{% endif -%}
\t{{ profile.name|trans ~ ', возраст ' ~ profile.personParameters.age ~ (station_alt ? ', ' ~ station_alt.name|trans : '' ) ~ ', ' ~ servicesList|seo_morphing(profile.id + 13 * index)|lower ~ ', объявление ' ~ profile.id }}
{%- endmacro -%}
{% macro _data_wrapper(text, value, shortText = '') %}
{% set value = value ? value : '-' %}
{{ value }}
{% endmacro %}
{% macro _time_to_work(profile) %}
{% if (profile.phoneCallRestrictions.timeFrom == '' and profile.phoneCallRestrictions.timeTo == '') or
(profile.phoneCallRestrictions.timeFrom == profile.phoneCallRestrictions.timeTo) %}
{% trans with {} from 'profile' %}Круглосуточно{% endtrans %}
{% else %}
с
{{ profile.phoneCallRestrictions.timeFrom == '' ? 0 : profile.phoneCallRestrictions.timeFrom }}
до
{{ profile.phoneCallRestrictions.timeTo == '' ? 0 : profile.phoneCallRestrictions.timeTo }}
{% endif %}
{% endmacro %}
{%- set servicesList = \"Секс классический|Секс анальный|Секс групповой|Секс лесбийский|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Лесби откровенное|Лесби-шоу легкое|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь\" -%}
{% block name_page %}profile{% endblock %}
{% block metaRobots %}{% if profile.deleted %}<meta name=\"robots\" content=\"noindex,follow\" />{% endif %}{% endblock %}
{% block stylesheet %}
{{ parent() }}
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\">
<link rel=\"stylesheet\" href=\"/assets/vendors/lightgallery/css/lightgallery.min.css\">
{% endblock %}
{% block mainContainer %}
{{ knp_menu_render('breadcrumbs', {'template': '_menu/breadcrumbs.html.twig', profile: profile }) }}
<div class=\"d-flex flex-fill model-header\">
<h1 class=\"border-line\" id=\"profile-heading\">{{ seo_heading() }}</h1>
{% if profile.approved %}
<div class=\"model-header__verification\"
data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verify-new\"></use>
</svg>
</div>
{% endif %}
</div>
<div class=\"d-lg-flex\">
<div class=\"modal-main flex-fill order-lg-2\">
<div class=\"modal-info d-xxl-flex rounding\">
<div class=\"modal-col modal-info__items first\">
<div class=\"modal-info__items-preview d-block d-lg-none float-left\" id=\"girl_avatar\">
{% if profile.deleted %}
<img itemprop=\"contentUrl\" src=\"{{ asset(\"assets/images/deleted-profiles.svg\") }}\"
alt=\"Анкета {{ profile.name|trans }} удалена\"
class=\"img-fluid\">
{% else %}
{% set photo = profile|avatar %}
{% if photo %}
{% set station_alt = '' -%}
{% if profile.stations|length > 0 -%}
{% set station_alt = profile.stations|first -%}
{% endif -%}
{% set alt = profile.name|trans ~ ', ' ~ 'год'|plural(profile.personParameters.age) ~ (station_alt ? ', метро ' ~ station_alt.name|trans : '' ) ~ ' в Москве, ' ~ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') ~ ', объявление ' ~ profile.id %}
<img itemprop=\"contentUrl\" src=\"{{ responsive_asset(photo.path, 'profile_media', \"357x500\", \"jpg\") }}\"
class=\"img-fluid\"
data-type=\"lg\"
data-index-lg=\"0\"
alt=\"{{ alt }}\">
{% endif %}
{% endif %}
{% if is_user_customer(app.user) and not profile.deleted %}{#not app.user or#}
<button type=\"button\"
data-url-add=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
data-url-remove=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
title=\"Добавить в избранное\"
{% if is_profile_in_favourites(profile) %}
class=\"btn favorite like\" id=\"favorite2\">
{% else %}
class=\"btn favorite unlike\" id=\"favorite2\">
{% endif %}
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
<path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
</svg>
</button>
{% endif %}
</div>
<div>
<div class=\"modal-info__items-block first d-flex flex-column flex-md-row\">
<div class=\"block-item pb-2 pb-md-0 w-100\">
<div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
<svg class=\"icon mr-2 clr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-apartments\"></use>
</svg>
Апартаменты
</div>
<div class=\"block-item__description clr-1\">
<p class=\"d-flex\">Час <span class=\"ml-auto\">
{%- if profile.apartmentsPricing.oneHourPrice -%}
{{- profile.apartmentsPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency -}}
{%- else -%}-{%- endif -%}
</span></p>
<p class=\"d-flex\">2 часа <span class=\"ml-auto\">
{%- if profile.apartmentsPricing.twoHoursPrice -%}
{{- profile.apartmentsPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency -}}
{%- else -%}-{%- endif -%}
</span></p>
<p class=\"d-flex\">Ночь <span class=\"ml-auto\">
{%- if profile.apartmentsPricing.nightPrice -%}
{{- profile.apartmentsPricing.nightPrice }} {{ profile.city.countryCode|country_currency -}}
{%- else -%}-{%- endif -%}
</span></p>
<p class=\"d-flex\">Экспресс <span class=\"ml-auto\">
{%- if profile.expressPricing.provided -%}
{%- if profile.expressPricing.price -%}
{{- profile.expressPricing.price }} {{ profile.city.countryCode|country_currency -}}
{%- else -%}
-
{%- endif -%}
{%- else -%}
-
{%- endif -%}
</span></p>
</div>
</div>
<div class=\"block-item pl-0 pl-md-3 pl-xl-5 w-100\">
<div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
<svg class=\"icon mr-2 clr-2\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-car\"></use>
</svg>
Выезд
</div>
<div class=\"block-item__description clr-2\">
<p class=\"d-flex\">Час <span class=\"ml-auto\">
{%- if profile.takeOutPricing.oneHourPrice -%}
{{- profile.takeOutPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency -}}
{%- else -%}-{%- endif -%}
</span></p>
<p class=\"d-flex\">2 часа <span class=\"ml-auto\">
{%- if profile.takeOutPricing.twoHoursPrice -%}
{{- profile.takeOutPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency -}}
{%- else -%}-{%- endif -%}
</span></p>
<p class=\"d-flex\">Ночь <span class=\"ml-auto\">
{%- if profile.takeOutPricing.nightPrice -%}
{{- profile.takeOutPricing.nightPrice }} {{ profile.city.countryCode|country_currency -}}
{%- else -%}-{%- endif -%}
</span></p>
</div>
</div>
</div>
{%- if profile.deleted -%}
<div class=\"modal-info__items-block deleted\">
<svg width=\"48\" height=\"48\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M24 43.7647C34.9157 43.7647 43.7647 34.9157 43.7647 24C43.7647 13.0843 34.9157 4.23529 24 4.23529C13.0843 4.23529 4.23529 13.0843 4.23529 24C4.23529 34.9157 13.0843 43.7647 24 43.7647ZM24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48Z\" fill=\"#ED0C34\"/>
<path d=\"M15.7647 18.3529V33.0353C15.7647 33.6344 16.0126 34.2089 16.4539 34.6325C16.8951 35.0561 17.4936 35.2941 18.1176 35.2941H29.8824C30.5064 35.2941 31.1049 35.0561 31.5461 34.6325C31.9874 34.2089 32.2353 33.6344 32.2353 33.0353V18.3529H15.7647ZM21.6471 31.9059H19.2941V21.7412H21.6471V31.9059ZM28.7059 31.9059H26.3529V21.7412H28.7059V31.9059ZM29.4329 14.9647L27.5294 12.7059H20.4706L18.5671 14.9647H13.4118V17.2235H34.5882V14.9647H29.4329Z\" fill=\"#ED0C34\"/>
</svg>
<p>
<span class=\"title\">Девушка не работает</span>
<span>Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</span>
</p>
</div>
{% else %}
<div class=\"modal-info__items-block second\">
<div class=\"d-flex flex-wrap mb-2 mb-sm-3\">
<div class=\"model-phone d-flex align-items-center\" id=\"phone-sticky-donor\">
{% if profile.isActive or not profile.hidden %}
{% set onlyPhoneNumber = profile.phoneNumber|replace({' ': '', '-': '', '+': '', '(': '', ')': ''}) %}
<!--noindex-->
{# <a class=\"model-phone__element model-phone__number\" href=\"tel:{{ profile.phoneNumber }}\" rel=\"nofollow\">
{{ profile.phoneNumber }}
</a> #}
<div class=\"model-phone__element model-phone__number rounding\">
<button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
<svg class=\"models-item__phone-icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
</svg>
Показать телефон
</button>
<!--noindex--><a href=\"tel:{{ profile.phoneNumber|replace({' ':'', '-':''}) }}\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
<svg class=\"models-item__phone-icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
</svg>
{{ profile.phoneNumber }}
</a><!--/noindex-->
</div>
{% if profile.messengers.whatsApp %}
<a class=\"model-phone__element model-phone__whatsup\" target=\"_blank\" href=\"https://wa.me/{{ onlyPhoneNumber }}?text=Привет,%20{{ profile.name }}!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-viber\"></use>
</svg>
</a>
{% endif %}
{% if profile.messengers.telegram %}
<div class=\"model-phone__element model-phone__telegram\" title=\"Telegram\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-messager\"></use>
</svg>
</div>
{% endif %}
<!--/noindex-->
{% else %}
<p class=\"model-phone__arhive m-0 color-silver\">анкета в архиве</p>
{% endif %}
</div>
{# <div class=\"model-warning d-flex align-items-center ml-md-auto pt-2 pt-md-0\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-warning\"></use>
</svg>
Никогда не отправляйте предоплату!
</div> #}
</div>
<p class=\"model-thank mb-2 mb-sm-3\">Скажите что звоните с МосПрос и я всё пойму</p>
<div class=\"modal-info__block\">
<div class=\"modal-info__element\">
<div class=\"modal-info__label\">
Отвечаю на
</div>
<div class=\"modal-info__value\">
{% if profile.phoneCallRestrictions.answeringTo|length > 0 %}
{% for answeringTo in profile.phoneCallRestrictions.answeringTo %}
{{ answeringTo|answering_to|trans({}, 'phone_call_restrictions') }}{% if not loop.last %},{% endif %}
{% endfor %}
{% else %}
Не указано
{% endif %}
</div>
</div>
<div class=\"modal-info__element\">
<div class=\"modal-info__label\">
Удобное время для звонка
</div>
<div class=\"modal-info__value\">
{{ _self._time_to_work(profile) }}
</div>
</div>
<div class=\"modal-info__element\">
<div class=\"modal-info__label\">
Ограничение по возрасту
</div>
<div class=\"modal-info__value\">
{%- if profile.clientRestrictions.minAge or profile.clientRestrictions.maxAge -%}
{{ profile.clientRestrictions.minAge ? 'от ' ~ profile.clientRestrictions.minAge : '' }}
{{ profile.clientRestrictions.maxAge ? 'до ' ~ profile.clientRestrictions.maxAge : '' }}
лет
{%- else -%}
Не указано
{%- endif -%}
</div>
</div>
</div>
</div>
{% endif %}
{% if profile.stations|length > 0 %}
<div class=\"modal-info__items-block pb-0 pb-sm-3 d-flex d-sm-block\">
<div class=\"metro-items metro-items--metro d-sm-flex w-100 align-items-center flex-wrap\">
Метро
{% for station in profile.stations|slice(0,3) %}
<div class=\"metro-item\">
{% include 'components/metro/icon_generate.partial.twig' with {data: station.lines} %}
<a href=\"{{ path('profile_list.list_by_station', {'city': city.uriIdentity, 'station': station.uriIdentity}) }}\" title=\"Метро {{ station.name|trans }}\">{{ station.name|trans }}</a>
</div>
{% endfor %}
</div>
{% if profile.stations|length > 0 %}<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap\">
Район
{% for station in profile.stations %}
{% set stationDistrict = station.district %}
{% if stationDistrict %}
{% if loop.first %}
{% set districtCounty = stationDistrict.county %}
{% if districtCounty %}
<div class=\"metro-item metro-item--district\">
<a href=\"{{ path('profile_list.list_by_county', {'city': districtCounty.city.uriIdentity, 'county': districtCounty.uriIdentity}) }}\">{{ districtCounty.name|trans }}</a>,
<a href=\"{{ path('profile_list.list_by_district', {'city': districtCounty.city.uriIdentity, 'district': stationDistrict.uriIdentity}) }}\">{{ stationDistrict.name|trans }}</a>
</div>
{% else %}
<div class=\"metro-item metro-item--district\">
Не указан
</div>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</div>{% endif %}
</div>
{% endif %}
</div>
</div>
<div class=\"modal-col modal-info__items rounding\">
<div class=\"modal-info__items-row d-flex flex-wrap\">
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Возраст</span>
{{- _self._data_wrapper('Возраст', profile.personParameters.age) -}}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Рост</span>
{{- _self._data_wrapper('Рост', profile.personParameters.height) -}}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Вес</span>
{{- _self._data_wrapper('Вес', profile.personParameters.weight) -}}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Одежда</span>
{% set cloth_size = 'XXS' %}
{% if profile.personParameters.clothSize == '42' %}{% set cloth_size = 'XS' %}
{% elseif profile.personParameters.clothSize == '44' %}{% set cloth_size = 'S' %}
{% elseif profile.personParameters.clothSize == '46' %}{% set cloth_size = 'M' %}
{% elseif profile.personParameters.clothSize == '48' %}{% set cloth_size = 'L' %}
{% elseif profile.personParameters.clothSize == '50' %}{% set cloth_size = 'XL' %}
{% elseif profile.personParameters.clothSize == '52' %}{% set cloth_size = 'XXL' %}
{% endif %}
{{- _self._data_wrapper('Размер одежды', cloth_size, 'Одежда') -}}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Обувь</span>
{{- _self._data_wrapper('Размер обуви', profile.personParameters.shoesSize, 'Обувь') -}}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Грудь</span>
{{- _self._data_wrapper('Размер груди', profile.personParameters.breastSize, 'Грудь') -}}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Тату</span>
{% if profile.personParameters.tattoo %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-check\"></use>
</svg>
{% else %}
-
{% endif %}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Пирсинг</span>
{% if profile.personParameters.piercing %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-check\"></use>
</svg>
{% else %}
-
{% endif %}
</div>
</div>
</div>
<div class=\"modal-info__items-block modal-info__items-block--basic d-sm-flex\">
<div class=\"description-items\" style=\"color:#b5b5b5\">
{% if profile.personParameters.bodyType %}<p class=\"description-item d-flex align-items-center\"><span>Телосложение</span> {{ profile.personParameters.bodyType|body_type|trans({}, 'body_types') }}</p>{% endif %}
{% if profile.personParameters.hairColor %}<p class=\"description-item d-flex align-items-center\"><span>Цвет волос</span> <a target=\"_blank\" href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color_uri|slugify}) }}\">{{ profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors') }}</a></p>{% endif %}
{% if profile.personParameters.nationality %}<p class=\"description-item d-flex align-items-center\"><span>Национальность</span> {{ profile.personParameters.nationality|nationality|trans({}, 'nationalities') }}</p>{% endif %}
{% if profile.personParameters.privateHaircut %}<p class=\"description-item d-flex align-items-center\"><span>Интимная стрижка</span> {{ profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') }}</p>{% endif %}
</div>
<div class=\"description-items\">
{% set threshold = (\"now\"|date_modify(\"-14 days\")).getTimestamp() %}
\t\t\t\t\t\t {% set updatedAtTs = profile.updatedAt ? profile.updatedAt.getTimestamp() : null %}
{% if profile.createdAt %}
<p class=\"description-item d-flex align-items-center\"><span>Дата регистрации</span> <span
class=\"date\" data-template=\"dd авг. YYYY г. hh:ii\">{{ _self._data_wrapper('Дата регистрации', profile.createdAt|date(\"d\") ~ ' ' ~ profile.createdAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.createdAt|date(\"Y\") ~ ' ' ~ profile.createdAt|date(\"H:i\") ) }}</span></p>
{% endif %}
{% if updatedAtTs and updatedAtTs >= threshold %}
<p class=\"description-item d-flex align-items-center\"><span>Дата обновления</span> <span
class=\"date\">{{ _self._data_wrapper('Дата обновления', profile.updatedAt|date(\"d\") ~ ' ' ~ profile.updatedAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.updatedAt|date(\"Y\") ~ ' ' ~ profile.updatedAt|date(\"H:i\") ) }}</span></p>
{% endif %}
<p class=\"description-item d-flex align-items-center\"><span>ID</span><span class=\"date\">{{ profile.id }}</span></p>
{% if ( profile.approved ) %}
<p class=\"description-item\">
<strong class=\"d-flex align-items-center\">
Фото проверено
<span class=\"description-item__verify\"
data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verify-new\"></use>
</svg>
</span>
</strong>
</p>
{% endif %}
</div>
</div>
<div class=\"modal-info__items-block mb-0\">
<div class=\"model-description\">
<h2 class=\"border-line\">О себе</h2>
<noindex><p class=\"m-0\" id=\"profile-about\">{{ profile.description|nl2br }}</p></noindex>
</div>
</div>
</div>
</div>
{% if _self._show_tabs(profile.photos,profile.selfies,profile.confirmedVideos,profile.deleted) == 'true' %}
<div class=\"model-aside__images model-aside__images--middle rounding\">
<ul class=\"nav nav-pills nav-pills--mobile list-unstyled m-0 p-0 d-flex\" id=\"model-tab_2\" role=\"tablist\">
{% set currentPage = '' %}
{% if profile.photos is defined and profile.photos|length > 0 %}{% set currentPage = 'photo' %}
<li class=\"nav-item flex-fill\">
<a class=\"active\" id=\"model-photo-tab_2\" data-toggle=\"pill\" href=\"#model-photo_2\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-photo-thumb\"></use>
</svg>
Фото
</a>
</li>
{% endif %}
{% if profile.selfies is defined and profile.selfies|length > 0 %}{% set currentPage = currentPage == '' ? 'selfie' : currentPage %}
<li class=\"nav-item flex-fill\">
<a class=\"{% if currentPage == 'selfie' %}active{% endif %}\" id=\"model-selfie-tab_2\" data-toggle=\"pill\" href=\"#model-selfie_2\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
</svg>
Селфи
</a>
</li>
{% endif %}
{% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}{% set currentPage = currentPage == '' ? 'video' : currentPage %}
<li class=\"nav-item flex-fill\">
<a class=\"{% if currentPage == 'video' %}active{% endif %}\" id=\"model-video-tab_2\" data-toggle=\"pill\" href=\"#model-video_2\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
</svg>
Видео
</a>
</li>
{% endif %}
</ul>
<div class=\"tab-content\" id=\"model-tabContent_2\">
{% if profile.photos is defined and profile.photos|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'photo' %} show active{% endif %}\" id=\"model-photo_2\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab_2\">
<div class=\"model-aside-row d-flex flex-wrap\">
{% for photo in profile.photos %}
\t\t\t\t\t\t\t\t\t {% if photo.path %}
\t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index) %}
<div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
<img class=\"img-fluid lazy\"
data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
data-type=\"lg\"
data-index-lg=\"{{loop.index}}\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"{{ alt }}\">
</a>
</div>
\t\t\t\t\t\t\t\t\t {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if profile.selfies is defined and profile.selfies|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'selfie' %} show active{% endif %}\" id=\"model-selfie_2\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab_2\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
{% for photo in profile.selfies %}
{% if photo.path %}
\t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index + profile.photos|length) %}
<div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
<img class=\"img-fluid lazy\"
data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
data-type=\"lg\"
data-index-lg=\"{{loop.index + profile.photos|length}}\"
src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"{{ alt }}\">
</a>
</div>
\t\t\t\t\t\t\t\t\t {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'video' %} show active{% endif %}\" id=\"model-video_2\" role=\"tabpanel\" aria-labelledby=\"model-video-tab_2\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
{% for video in profile.confirmedVideos %}
<div class=\"model-video-container rounding\">
<video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"{% if video.previewPath %} poster=\"{{ asset(video.previewPath, 'profile_media', 'fullsize') }}{% endif %}\">
<source src=\"{{ asset(video.path, 'profile_media') }}\" type='video/mp4'/>
</video>
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
<div class=\"modal-services mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
<div class=\"modal-services__header d-flex flex-wrap align-items-start\">
<h2 class=\"border-line\">Интим-услуги</h2>
<div class=\"modal-services__header-info d-flex flex-wrap align-items-center pb-2\">
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
- включено в стоимость
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
</svg>
- по симпатии
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
</svg>
- за дополнительную плату
</div>
{# <div class=\"header-item provided\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-provided\"></use>
</svg>
- услуга не предоставляется
</div> #}
</div>
</div>
<div class=\"modal-services__main\">
<div class=\"modal-services__items {% if profile.masseur %}d-flex justify-content-between mr-xl-3 flex-wrap {% else %}column{% endif %} w-100\" id=\"services_items\" data-type=\"{% if profile.masseur %}masseur{%else%}profile{%endif%}\">
{% set initional_group_2 = 0 %}
{% set group_2_minet = [] %}
{% set group_2_okon = [] %}
{% set group_2_okon_trigger = ['Окончание на грудь','Окончание на лицо','Окончание в рот','На грудь','На лицо','В рот'] %} {# Слова триггеры в 2 категории для блока Окончание. Все остальные уйдут в минет #}
{% for group, servicesGroup in services | filter((servicesGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) %}
{% if group == 2 %}
{# Тут нам нужно запомнить данные и разбить их на 2 категории - Минет и Окончание#}
{% for service in servicesGroup %}
{% if service.name|trans() in group_2_okon_trigger %}
{% set group_2_okon = group_2_okon|merge([service]) %}
{% else %}
{% set group_2_minet = group_2_minet|merge([service]) %}
{% endif %}
{% endfor %}
{% elseif group == 3 and initional_group_2 == 0 %}
{# Т.к. выводить сразу не можем в виду перемешенного вывода, будем выводить 2ю категории перед третьей #}
{% set initional_group_2 = 1 %}
<div class=\"modal-services__item\">
<p class=\"item-title\">Минет</p>
{% for service in group_2_minet %}
{% set providedService = profile.providedService(service) %}
{% if providedService %}
<div class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
{% if providedService and providedService.comment %}
<div class=\"item__comment\">{{ providedService.comment }}</div>
{% endif %}
</div>
{% endif %}
{% endfor %}
</div>
<div class=\"modal-services__item\">
<p class=\"item-title\">Окончание</p>
{% for service in group_2_okon %}
{% set providedService = profile.providedService(service) %}
{% if providedService %}
<div class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService %}
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
</svg>
{% endif %}
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
{% if providedService and providedService.comment %}
<div class=\"item__comment\">{{ providedService.comment }}</div>
{% endif %}
</div>
{% endif %}
{% endfor %}
</div>
<div class=\"modal-services__item\">
<p class=\"item-title\" data-group=\"{{ group }}\">{{ group|service_group|trans({}, 'service_groups') }}</p>
{% for service in servicesGroup %}
{% set providedService = profile.providedService(service) %}
{% if providedService %}
<div class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService %}
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
{% if providedService and providedService.comment %}
<div class=\"item__comment\">{{ providedService.comment }}</div>
{% endif %}
{% endif %}
</div>
{% endif %}
{% endfor %}
</div>
{% else %}
{% if group == 1 or group == 5 or group == 7 %}
{# <div class=\"modal-services__column\">#}
{% endif %}
<div class=\"modal-services__item{% if profile.masseur %} modal-services__item--masseur{% endif %}\">
<p class=\"item-title\">{{ group|service_group|trans({}, 'service_groups') }}</p>
{% for service in servicesGroup %}
{% set providedService = profile.providedService(service) %}
{% if providedService %}
<div class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
{% if providedService and providedService.comment %}
<div class=\"item__comment\">{{ providedService.comment }}</div>
{% endif %}
</div>
{% endif %}
{% endfor %}
</div>
{% if group == 4 or group == 6 or group == 7 %}
{# </div>#}
{% endif %}
{% endif %}
{% endfor %}
</div>
<div class=\"modal-services__extend__items rounding\">
<div class=\"modal-services__extend__box\">
<div class=\"modal-services__extend__item\">
<h3 class=\"modal-services__extend__item__title\">Услуги для</h3>
{% set client_types_text = ['1','2','3','4','5'] %}
{% set includeService = false %}
{% for clientTypeText in client_types_text %}
{% for clientType in profile.clientTypes %}
{% if (clientTypeText == clientType) %}
{% set includeService = true %}
{% endif %}
{% endfor %}
{% if includeService == true and clientTypeText|client_type != 'TRANS' %}
<div class=\"item\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{{ clientTypeText|client_type|trans({}, 'client_types_f') }}
</div>
{% set includeService = false %}
{% endif %}
{% endfor %}
</div>
<div class=\"modal-services__extend__item\">
<h3 class=\"modal-services__extend__item__title\">Выезд</h3>
{% set locations_text = ['1','2','3','4','5','6'] %}
{% set includeService = false %}
{% for locationsText in locations_text %}
{% for locations in profile.takeOutPricing.locations %}
{% if (locationsText == locations) %}
{% set includeService = true %}
{% endif %}
{% endfor %}
{% if includeService == true %}
<div class=\"item\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{{ locationsText|take_out_location|trans({}, 'take_out_location') }}
</div>
{% set includeService = false %}
{% endif %}
{% endfor %}
</div>
</div>
</div>
<script>
(function(){
var list = document.querySelectorAll('.modal-services__item');
Array.prototype.forEach.call(list, function(el) {
var elementOfList = el.querySelectorAll('.item');
if (elementOfList.length === 0){
el.remove();
}
});
var listExt = document.querySelectorAll('.modal-services__extend__item');
var listExtCount = 0;
Array.prototype.forEach.call(listExt, function(el) {
var elementOfList = el.querySelectorAll('.item');
listExtCount++;
if (elementOfList.length === 0){
el.remove();
listExtCount--;
}
});
if (listExtCount === 0){
var block = document.querySelector('.modal-services__extend__items');
block.classList.add('d-none');
}
})()
</script>
</div>
{#<div class=\"modal-services__friends\">
<h2 class=\"border-line\">Есть подруги</h2>
<div class=\"friends-items d-flex\">
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Марина, 21</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Олеся и Алёна, 22</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Вика, 20</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Диана, 20</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>ПЫШКА ЛИЛЯ ЛИЛЯ ЛИЛЯ</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Марина, 21</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Марина, 21</strong>
</p>
</a>
</div>
</div>#}
</div>
<div class=\"modal-map mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
<h2 class=\"border-line\">
Расположение
</h2>
<div class=\"map-block rounding\" id=\"map\" style=\"width: 100%; height: 400px;\"
data-lat=\"{{ profile.mapCoordinate.latitude | default(profile.city.mapCoordinate.latitude) }}\"
data-lon=\"{{ profile.mapCoordinate.longitude | default(profile.city.mapCoordinate.longitude) }}\"
data-map-label=\"{{ asset('assets/images/icons/map-balloon.svg','basicConfig') }}\">
</div>
</div>
{% if feature('profile_comments') %}
{% set commentsCount = profile.comments|length %}
<section class=\"model-comments mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
<div class=\"d-flex align-items-start comments-header\">
<h2 class=\"border-line\">{% trans with {} from 'profile' %}Отзывы{% endtrans %} </h2>
<div class=\"rate d-flex align-items-center ml-auto\"{% if rating > 0 %} itemscope itemtype=\"https://schema.org/AggregateRating\"{% endif %} data-rating=\"{{ rating }}\">
{% if rating > 0 %}
<meta itemprop=\"worstRating\" content=\"1\">
<meta itemprop=\"ratingValue\" content=\"{{ rating }}\">
<meta itemprop=\"bestRating\" content=\"5\">
<meta itemprop=\"reviewCount\" content=\"{{ commentsCount }}\">
{% endif %}
<div class=\"rating-text d-flex level\"{% if rating > 0 %} itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\" {% endif %}>
{% if rating > 0 %}
<meta itemprop=\"address\" content=\"{{ profile.city.name }}\" />
<meta itemprop=\"telephone\" content=\"{{ profile.phoneNumber }}\" />
<meta itemprop=\"name\" content=\"Рейтинг анкеты {{ profile.name }}\">
{% endif %}
<span class=\"rating-text-value{{ commentsCount == 0 ? ' zero' : '' }} mr-1\">
\t\t\t\t\t\t\t {{ rating }}
</span>
<span class=\"rating-text-count mr-2\">
по {{ commentsCount }} {% if commentsCount == 1 %}отзыву{% else %}отзывам{% endif %}
</span>
</div>
{% for i in 1..5 %}
<div class=\"star{% if rating >= i %} mark{% endif %}\"></div>
{% endfor %}
</div>
</div>
<div class=\"row comments-main\">
<div class=\"col-12 col-lg-7 mb-2 mb-sm-3 mb-lg-0\">
{% if commentsCount > 0 %}
<div class=\"items-comments\" id=\"review-block-list\">
<ul>
{% for comment in profile.comments %}
{% include 'ProfilePreview/comment.html.twig' %}
{% endfor %}
</ul>
</div>
{% else %}
<div class=\"items-comments not-comments text-center empty\" id=\"review-block-list\">
<div id=\"text-to-remove\">
<svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\"
xmlns=\"http://www.w3.org/2000/svg\">
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
d=\"M20.8333 14.5C19.1536 14.5 17.5427 15.1673 16.355 16.355C15.1673 17.5427 14.5 19.1536 14.5 20.8333V82.6716L27.7525 69.4191C28.1275 69.044 28.6362 68.8333 29.1667 68.8333H79.1667C80.8464 68.8333 82.4573 68.1661 83.645 66.9783C84.8327 65.7906 85.5 64.1797 85.5 62.5V20.8333C85.5 19.1536 84.8327 17.5427 83.645 16.355C82.4573 15.1673 80.8464 14.5 79.1667 14.5H20.8333ZM13.5266 13.5266C15.4644 11.5887 18.0928 10.5 20.8333 10.5H79.1667C81.9072 10.5 84.5356 11.5887 86.4734 13.5266C88.4113 15.4644 89.5 18.0928 89.5 20.8333V62.5C89.5 65.2406 88.4113 67.8689 86.4734 69.8068C84.5356 71.7446 81.9072 72.8333 79.1667 72.8333H29.9951L13.9142 88.9142C13.3422 89.4862 12.482 89.6573 11.7346 89.3478C10.9873 89.0382 10.5 88.3089 10.5 87.5V20.8333C10.5 18.0928 11.5887 15.4644 13.5266 13.5266Z\"
fill=\"#595959\"/>
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
d=\"M37.722 48.245C39.4121 46.7824 41.65 46 43.9333 46H56.0667C58.35 46 60.5879 46.7824 62.278 48.245C63.9773 49.7155 65 51.7773 65 54V57C65 58.1046 64.1046 59 63 59C61.8954 59 61 58.1046 61 57V54C61 53.0401 60.5618 52.0496 59.6605 51.2697C58.7502 50.4819 57.461 50 56.0667 50H43.9333C42.539 50 41.2498 50.4819 40.3395 51.2697C39.4382 52.0496 39 53.0401 39 54V57C39 58.1046 38.1046 59 37 59C35.8954 59 35 58.1046 35 57V54C35 51.7773 36.0227 49.7155 37.722 48.245Z\"
fill=\"#595959\"/>
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
d=\"M50.5 29C47.4624 29 45 31.4624 45 34.5C45 37.5376 47.4624 40 50.5 40C53.5376 40 56 37.5376 56 34.5C56 31.4624 53.5376 29 50.5 29ZM41 34.5C41 29.2533 45.2533 25 50.5 25C55.7467 25 60 29.2533 60 34.5C60 39.7467 55.7467 44 50.5 44C45.2533 44 41 39.7467 41 34.5Z\"
fill=\"#595959\"/>
</svg>
<p id=\"text-to-remove\">К этой анкете ещё нет ни одного отзыва. Вы можете быть первым</p>
</div>
<ul>
</ul>
</div>
{% endif %}
</div>
<div class=\"col-12 col-lg-5\">
{% if not is_user_advertiser(app.user) %}
<div class=\"review-form\" id=\"review-form-comment\">
{# {% include 'ProfilePreview/form-comment.html.twig' %} #}
</div>
<div
class=\"dialog-container\"
id=\"form-dialog\"
aria-hidden=\"true\"
aria-labelledby=\"form-dialog-title\"
aria-describedby=\"form-dialog-description\"
>
<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
<div class=\"dialog-content\" role=\"document\">
<div class=\"dialog-header\">
<button
data-a11y-dialog-hide
class=\"dialog-close\"
aria-label=\"Close this dialog window\"
>
<svg class=\"dialog-close__icon\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\"/></svg>
</button>
</div>
<div class=\"dialog-body\">
</div>
</div>
</div>
{% endif %}
</div>
</div>
</section>
{% endif %}
</div>
<div class=\"model-aside order-lg-1 mb-3 pr-3 pr-xl-4\">
<div class=\"model-aside__preview mb-1 d-none d-lg-block rounding\" id=\"girl-avatar__big\" style=\"--rounding:20px\">
{% if profile.deleted %}
<a href=\"{{ asset(\"assets/images/deleted-profiles.svg\", 'basicConfig') }}\" class=\"girl-avatar__small\">
<img itemprop=\"contentUrl\" src=\"{{ asset(\"assets/images/deleted-profiles.svg\") }}\"
alt=\"Анкета {{ profile.name|trans }} удалена\"
class=\"img-fluid\">
</a>
{% else %}
{% set photo = profile|avatar %}
{% if photo %}
{% set station_alt = '' -%}
{% if profile.stations|length > 0 -%}
{% set station_alt = profile.stations|first -%}
{% endif -%}
{% set alt = profile.name|trans ~ ', ' ~ 'год'|plural(profile.personParameters.age) ~ (station_alt ? ', метро ' ~ station_alt.name|trans : '' ) ~ ' в Москве' ~ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') ~ ', объявление ' ~ profile.id %}
{# <a href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" class=\"girl-avatar__small\"> #}
<img itemprop=\"contentUrl\" src=\"{{ responsive_asset(photo.path, 'profile_media', \"357x500\", \"jpg\") }}\"
class=\"img-fluid\"
data-type=\"lg\"
data-index-lg=\"0\"
alt=\"{{ alt }}\">
{# </a> #}
{% endif %}
{% endif %}
{% if is_user_customer(app.user) and not profile.deleted %}{#not app.user or#}
<button type=\"button\"
data-url-add=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
data-url-remove=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
title=\"Добавить в избранное\"
{% if is_profile_in_favourites(profile) %}
class=\"btn favorite like\" id=\"favorite\">
{% else %}
class=\"btn favorite unlike\" id=\"favorite\">
{% endif %}
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
<path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
</svg>
</button>
{% endif %}
</div>
{% if _self._show_tabs(profile.photos,profile.selfies,profile.confirmedVideos,profile.deleted) == 'true' %}
<div class=\"model-aside__images model-aside__images--aside\">
<ul class=\"nav nav-pills list-unstyled m-0 p-0 d-flex\" id=\"model-tab\" role=\"tablist\">
{% set currentPage = '' %}
{% if profile.photos is defined and profile.photos|length > 0 %}{% set currentPage = 'photo' %}
<li class=\"nav-item flex-fill\">
<a class=\"active\" id=\"model-photo-tab\" data-toggle=\"pill\" href=\"#model-photo\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-photo-thumb\"></use>
</svg>
Фото
</a>
</li>
{% endif %}
{% if profile.selfies is defined and profile.selfies|length > 0 %}{% set currentPage = currentPage == '' ? 'selfie' : currentPage %}
<li class=\"nav-item flex-fill\">
<a class=\"{% if currentPage == 'selfie' %}active{% endif %}\" id=\"model-selfie-tab\" data-toggle=\"pill\" href=\"#model-selfie\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
</svg>
Селфи
</a>
</li>
{% endif %}
{% if false == profile.isModerationRejected and not profile.deleted and profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}{% set currentPage = currentPage == '' ? 'video' : currentPage %}
<li class=\"nav-item flex-fill\">
<a class=\"{% if currentPage == 'video' %}active{% endif %}\" id=\"model-video-tab\" data-toggle=\"pill\" href=\"#model-video\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
</svg>
Видео
</a>
</li>
{% endif %}
</ul>
<div class=\"tab-content\" id=\"model-tabContent\">
{% if profile.photos is defined and profile.photos|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'photo' %} show active{% endif %}\" id=\"model-photo\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab\">
<div class=\"model-aside-row d-flex flex-wrap\">
{% for photo in profile.photos %}
\t\t\t\t\t\t\t\t\t {% if photo.path %}
\t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index) %}
<div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
<img class=\"img-fluid lazy\"
data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
alt=\"{{ alt }}\"
data-type=\"lg\"
data-index-lg=\"{{loop.index}}\">
</a>
</div>
\t\t\t\t\t\t\t\t\t {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if profile.selfies is defined and profile.selfies|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'selfie' %} show active{% endif %}\" id=\"model-selfie\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
{% for photo in profile.selfies %}
{% if photo.path %}
\t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index + profile.photos|length) %}
<div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
<img class=\"img-fluid lazy\"
data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
data-type=\"lg\"
data-index-lg=\"{{loop.index + profile.photos|length}}\"
src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
alt=\"{{ alt }}\">
</a>
</div>
\t\t\t\t\t\t\t\t\t {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if false == profile.isModerationRejected and not profile.deleted and profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'video' %} show active{% endif %}\" id=\"model-video\" role=\"tabpanel\" aria-labelledby=\"model-video-tab\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
{% for video in profile.confirmedVideos %}
<div class=\"model-video-container rounding\">
<video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"{% if video.previewPath %} poster=\"{{ responsive_asset(video.previewPath, 'profile_media', 'fullsize') }}{% endif %}\">
<source src=\"{{ asset(video.path, 'profile_media') }}\" type='video/mp4'/>
</video>
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
</div>
</div>
{# {% set excludeRecommendationProfileIds = [profile.id] %}
{{ include('components/_profile_recommendations.html.twig') }} #}
\t{# Реки #}
<div id=\"recommendations\">
{%- set excludeRecommendationProfileIds = [profile.id] -%}
{%- include 'recommendations/_profile_recommendations.html.twig' with {componentClass: 'with-profile'} -%}
</div>
{{ include('ProfilePreview/nearest_profiles.html.twig') }}
{# <div class=\"recommended-widget\">
<h2 class=\"border-line\">Рекомендованные анкеты</h2>
<div class=\"recommended-items-row flex-wrap\">
<div class=\"recommended-item-col\">
<div class=\"recommended-model\">
<a href=\"#\" class=\"d-block recommended-model__url\">
<p class=\"recommended-model__name m-0\">
<span class=\"recommended-model__name__full\">
Марина, 22
</span>
<svg class=\"icon ml-1\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verify-new') }}\"></use>
</svg>
</p>
<div class=\"recommended-model__images\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
</div>
</a>
<p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
+79384382353
<span class=\"ml-sm-auto\">от 2500</span>
</p>
<div class=\"d-flex fr align-items-center recommended-model__metro\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
</svg>
<a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
</div>
</div>
</div>
<div class=\"recommended-item-col\">
<div class=\"recommended-model\">
<a href=\"#\" class=\"d-block recommended-model__url\">
<p class=\"recommended-model__name m-0\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
Марина, 22
</p>
<div class=\"recommended-model__images\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
</div>
</a>
<p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
+79384382353
<span class=\"ml-sm-auto\">от 2500</span>
</p>
<div class=\"d-flex align-items-center recommended-model__metro\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
</svg>
<a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
</div>
</div>
</div>
<div class=\"recommended-item-col\">
<div class=\"recommended-model\">
<a href=\"#\" class=\"d-block recommended-model__url\">
<p class=\"recommended-model__name m-0\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
Марина, 22
</p>
<div class=\"recommended-model__images\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
</div>
</a>
<p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
+79384382353
<span class=\"ml-sm-auto\">от 2500</span>
</p>
<div class=\"d-flex align-items-center recommended-model__metro\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
</svg>
<a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
</div>
</div>
</div>
<div class=\"recommended-item-col\">
<div class=\"recommended-model\">
<a href=\"#\" class=\"d-block recommended-model__url\">
<p class=\"recommended-model__name m-0\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
Марина, 22
</p>
<div class=\"recommended-model__images\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
</div>
</a>
<p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
+79384382353
<span class=\"ml-sm-auto\">от 2500</span>
</p>
<div class=\"d-flex align-items-center recommended-model__metro\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
</svg>
<a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
</div>
</div>
</div>
<div class=\"recommended-item-col\">
<div class=\"recommended-model\">
<a href=\"#\" class=\"d-block recommended-model__url\">
<p class=\"recommended-model__name m-0\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
Марина, 22
</p>
<div class=\"recommended-model__images\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
</div>
</a>
<p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
+79384382353
<span class=\"ml-sm-auto\">от 2500</span>
</p>
<div class=\"d-flex align-items-center recommended-model__metro\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
</svg>
<a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
</div>
</div>
</div>
<div class=\"recommended-item-col\">
<div class=\"recommended-model\">
<a href=\"#\" class=\"d-block recommended-model__url\">
<p class=\"recommended-model__name m-0\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
Марина, 22
</p>
<div class=\"recommended-model__images\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
</div>
</a>
<p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
+79384382353
<span class=\"ml-sm-auto\">от 2500</span>
</p>
<div class=\"d-flex align-items-center recommended-model__metro\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
</svg>
<a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
</div>
</div>
</div>
</div>
</div> #}
{% if profile.isActive or not profile.hidden %}
<div class=\"sticky-phone sticky-phone--hide\" id=\"phone-sticky\">
<div class=\"sticky-phone__mobile d-flex\" id=\"phone-sticky-donor\">
<div class=\"model-phone__element model-phone__number rounding\">
<button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
<svg class=\"models-item__phone-icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
</svg>
Показать телефон
</button>
<a href=\"tel:{{ profile.phoneNumber|replace({' ':'', '-':''}) }}\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
<svg class=\"models-item__phone-icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
</svg>
{{ profile.phoneNumber }}
</a>
</div>
{% if profile.messengers.whatsApp %}
<a class=\"sticky-phone__mobile__element sticky-phone__mobile__whatsup\" target=\"_blank\" href=\"https://wa.me/{{ onlyPhoneNumber }}?text=Привет,%20{{ profile.name }}!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-viber\"></use>
</svg>
</a>
{% endif %}
{% if profile.messengers.telegram %}
<a class=\"sticky-phone__mobile__element sticky-phone__mobile__telegram\" target=\"_blank\" href=\"https://t.me/+{{ onlyPhoneNumber }}\" title=\"Telegram\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-messager\"></use>
</svg>
</a>
{% endif %}
</div>
<p class=\"sticky-phone__text color-verify\">
Скажите что звоните с МосПрос и я всё пойму
</p>
</div>
{% endif %}
{% endblock %}
{% block javascripts %}
{#<script src=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>#}
{#<script src=\"/assets/vendors/lightgallery/js/lightgallery.min.js\"></script>#}
<script src=\"/assets/vendors/lightgallery_v2/lightgallery.min.js\"></script>
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/lightgallery@2.0.0-beta.3/css/lightgallery-bundle.css\">
{#<script type=\"text/javascript\">
// \$(document).ready(function() {
const \$slider__images = \$('.friends-items');
if (\$slider__images.length) {
\$slider__images.slick({
slidesToShow: 7,
slidesToScroll: 1,
dots: false,
centerMode: false,
focusOnSelect: true,
variableWidth: true,
responsive: [
{
breakpoint: 1680,
settings: {
slidesToShow: 6
}
},
]
});
}
// });
</script>#}
<script type=\"text/javascript\">
document.addEventListener(\"DOMContentLoaded\", () => {
function getWidthScrollbar() {
let div = document.createElement('div');
div.style.overflowY = 'scroll';
div.style.width = '50px';
div.style.height = '50px';
document.body.append(div);
let scrollWidth = div.offsetWidth - div.clientWidth;
div.remove();
return scrollWidth;
}
function galleryInit() {
const dynamicGallery = document.getElementById('profile-heading');
dynamicGallery.addEventListener('lgAfterOpen', (event) => {
document.body.style.overflow = 'hidden'
document.body.style.paddingRight = getWidthScrollbar() + 'px'
});
dynamicGallery.addEventListener('lgAfterClose', (event) => {
document.body.style.overflow = ''
document.body.style.paddingRight = '0'
});
const dynamicLG = lightGallery(dynamicGallery, {
dynamic: true,
licenseKey: \"2564-4867-3007-0501\",
startClass:'',
dynamicEl: [
{% set photo = profile|avatar %}
{% if photo %}{ src: \"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" },{% endif %}
{% if profile.photos is defined and profile.photos|length > 0 %}
{% for photo in profile.photos %}
{ src: \"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" },
{% endfor %}
{% endif %}
{% if profile.selfies is defined and profile.selfies|length > 0 %}
{% for photo in profile.selfies %}
{ src: \"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" },
{% endfor %}
{% endif %}
]
});
document.addEventListener('click', function (event) {
const {target} = event;
if (target.closest('.tab-content')) {
event.preventDefault();
}
if (target.dataset && target.dataset.type === 'lg'){
const index = target.dataset.indexLg ? +target.dataset.indexLg : 0;
dynamicLG.openGallery(index);
}
});
}
setTimeout(() => {
galleryInit();
}, 600);
//---------------------------------
var allTabs = document.querySelectorAll('a[data-toggle=\"pill\"]');
var contentBlock = document.getElementById('model-tabContent');
var contentBlock2 = document.getElementById('model-tabContent_2');
for (let i = 0; i < allTabs.length; i++) {
allTabs[i].addEventListener('click', clickToTab.bind(this, allTabs[i]));
}
function clickToTab(tab, event) {
event.preventDefault();
var id = tab.getAttribute('aria-controls');
setContent(id);
setTab(tab,id);
}
function setContent(id) {
for (let i = 0; i < contentBlock.children.length; i++) {
if (contentBlock.children[i].id === id){
contentBlock.children[i].classList.add('active')
contentBlock.children[i].classList.add('show')
contentBlock2.children[i].classList.add('active')
contentBlock2.children[i].classList.add('show')
} else {
contentBlock.children[i].classList.remove('active')
contentBlock.children[i].classList.remove('show')
contentBlock2.children[i].classList.remove('active')
contentBlock2.children[i].classList.remove('show')
}
}
}
function setTab(activeTab, id) {
for (let i = 0; i < allTabs.length; i++) {
allTabs[i].classList.remove('active')
}
activeTab.classList.add('active')
}
// ------------------------------------
var servicesBlock = document.getElementById('services_items');
if (!servicesBlock) return;
var servicesExtendBlock = servicesBlock.nextElementSibling;
var servicesType = servicesBlock.dataset.type;
switch (servicesBlock.childElementCount) {
case 0:
servicesExtendBlock.classList.add('modal-services__extend__items--no-services')
break;
default:
servicesBlock.classList.add(`modal-services__items--count-\${servicesBlock.childElementCount}`)
break;
}
if (servicesExtendBlock.children[0].childElementCount === 0){
servicesExtendBlock.classList.add('modal-services__extend__items--no-extend-services')
if (servicesBlock.childElementCount === 0){
servicesExtendBlock.parentElement.parentElement.classList.add('d-none');
}
}
});
\t\twindow.comment_data = {
\t\t\t'urlCreate': '{{ path('profile.comment.create', {profile: profile.id}) }}',
\t\t\t'urlGet': '{{ path('profile.comment.comment_form', {profile: profile.id}) }}',
\t\t\t'sitekey': \"{{ ewz_recaptcha_site_key }}\",
\t\t\t'registrationUrl': \"/signup/\"
\t\t};
\t</script>
\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
{% set excludeRecommendationProfileIds = [profile.id] %}
\t{{ parent() }}
<script>
window._mp = {
stations: {
{%- for station in stations() -%}
\"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
{%- endfor -%}
}
};
(function() {
let isRenderRecommendationsWidget = false;
let isRenderBotWidget = false;
let isRenderRecentlyViewedWidget = false;
function loadWidgets() {
if (!isRenderRecommendationsWidget) {
isRenderRecommendationsWidget = true;
console.log(window.Recommendation)
window.Recommendation.addViewedProfile({{ profile.id }})
}
if (!isRenderBotWidget) {
isRenderBotWidget = true;
window.profileBotHelper.addViewedProfile({{ profile.id }});
}
if (!isRenderRecentlyViewedWidget) {
isRenderRecentlyViewedWidget = true;
window.recentlyViewed.addViewedProfile({{ profile.id }});
}
//const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
}
window.addEventListener('load', () => {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
})
document.addEventListener('DOMContentLoaded', function() {
window.increase_views({{profile.id}});
});
document.addEventListener(\"recommendations:ready\", () => {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
});
})();
\t</script>
{% endblock %}
", "ProfilePreview/page.html.twig", "/app/templates/ProfilePreview/page.html.twig");
}
}