<?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_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); })()), "primaryStation", [], "any", false, false, false, 76)) {
// line 77
$context["station_alt"] = 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); })()), "primaryStation", [], "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
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) && 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), "telegramUsername", [], "any", false, false, false, 212))) {
// line 213
echo "<a class=\"model-phone__element model-phone__telegram\" target=\"_blank\" href=\"https://t.me/";
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.', 213, $this->source); })()), "messengers", [], "any", false, false, false, 213), "telegramUsername", [], "any", false, false, false, 213), "html", null, true);
echo "\" title=\"Telegram\" rel=\"nofollow\">
<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>
</a>
";
}
// 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); })()), "stationsSortedByPrimary", [], "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); })()), "stationsSortedByPrimary", [], "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); })()), "stationsSortedByPrimary", [], "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); })()), "stationsSortedByPrimary", [], "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)) {
// line 385
echo " <p class=\"description-item d-flex align-items-center\">
<span>Телосложение</span>
<a href=\"";
// line 387
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_body_type", ["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.', 387, $this->source); })()), "uriIdentity", [], "any", false, false, false, 387), "bodyType" => $this->extensions['App\Twig\PersonParametersExtension']->bodyTypeUri(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), "bodyType", [], "any", false, false, false, 387))]), "html", null, true);
echo "\" target=\"_blank\">";
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.', 387, $this->source); })()), "personParameters", [], "any", false, false, false, 387), "bodyType", [], "any", false, false, false, 387)), [], "body_types"), "html", null, true);
echo "</a>
</p>
";
}
// line 390
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.', 390, $this->source); })()), "personParameters", [], "any", false, false, false, 390), "hairColor", [], "any", false, false, false, 390)) {
// line 391
echo " <p class=\"description-item d-flex align-items-center\">
<span>Цвет волос</span>
<a target=\"_blank\" href=\"";
// line 393
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.', 393, $this->source); })()), "uriIdentity", [], "any", false, false, false, 393), "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.', 393, $this->source); })()), "personParameters", [], "any", false, false, false, 393), "hairColor", [], "any", false, false, false, 393)))]), "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.', 393, $this->source); })()), "personParameters", [], "any", false, false, false, 393), "hairColor", [], "any", false, false, false, 393)), [], "hair_colors"), "html", null, true);
echo "</a>
</p>
";
}
// line 396
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.', 396, $this->source); })()), "personParameters", [], "any", false, false, false, 396), "nationality", [], "any", false, false, false, 396)) {
// line 397
echo " <p class=\"description-item d-flex align-items-center\">
<span>Национальность</span>
<a target=\"_blank\" href=\"";
// line 399
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_nationality", ["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.', 399, $this->source); })()), "uriIdentity", [], "any", false, false, false, 399), "nationality" => $this->extensions['App\Twig\PersonParametersExtension']->nationalityUri(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.', 399, $this->source); })()), "personParameters", [], "any", false, false, false, 399), "nationality", [], "any", false, false, false, 399))]), "html", null, true);
echo "\">";
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.', 399, $this->source); })()), "personParameters", [], "any", false, false, false, 399), "nationality", [], "any", false, false, false, 399)), [], "nationalities"), "html", null, true);
echo "</a>
</p>
";
}
// line 402
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.', 402, $this->source); })()), "personParameters", [], "any", false, false, false, 402), "privateHaircut", [], "any", false, false, false, 402)) {
// line 403
echo " <p class=\"description-item d-flex align-items-center\">
<span>Интимная стрижка</span>
<a target=\"_blank\" href=\"";
// line 405
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_private_haircut", ["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.', 405, $this->source); })()), "uriIdentity", [], "any", false, false, false, 405), "privateHaircut" => $this->extensions['App\Twig\PersonParametersExtension']->privateHaircutUri(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.', 405, $this->source); })()), "personParameters", [], "any", false, false, false, 405), "privateHaircut", [], "any", false, false, false, 405))]), "html", null, true);
echo "\">";
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.', 405, $this->source); })()), "personParameters", [], "any", false, false, false, 405), "privateHaircut", [], "any", false, false, false, 405)), [], "private_haircuts"), "html", null, true);
echo "</a>
</p>
";
}
// line 408
echo " </div>
<div class=\"description-items\">
";
// line 410
$context["threshold"] = twig_get_attribute($this->env, $this->source, twig_date_modify_filter($this->env, "now", "-14 days"), "getTimestamp", [], "method", false, false, false, 410);
// line 411
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.', 411, $this->source); })()), "updatedAt", [], "any", false, false, false, 411)) ? (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.', 411, $this->source); })()), "updatedAt", [], "any", false, false, false, 411), "getTimestamp", [], "method", false, false, false, 411)) : (null));
// line 412
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.', 412, $this->source); })()), "createdAt", [], "any", false, false, false, 412)) {
// line 413
echo " <p class=\"description-item d-flex align-items-center\"><span>Дата регистрации</span> <span
class=\"date\" data-template=\"dd авг. YYYY г. hh:ii\">";
// line 414
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.', 414, $this->source); })()), "createdAt", [], "any", false, false, false, 414), "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.', 414, $this->source); })()), "createdAt", [], "any", false, false, false, 414), "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.', 414, $this->source); })()), "createdAt", [], "any", false, false, false, 414), "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.', 414, $this->source); })()), "createdAt", [], "any", false, false, false, 414), "H:i"))], 414, $context, $this->getSourceContext());
echo "</span></p>
";
}
// line 416
echo " ";
if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 416, $this->source); })()) && ((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 416, $this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold", $context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.', 416, $this->source); })())))) {
// line 417
echo " <p class=\"description-item d-flex align-items-center\"><span>Дата обновления</span> <span
class=\"date\">";
// line 418
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.', 418, $this->source); })()), "updatedAt", [], "any", false, false, false, 418), "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.', 418, $this->source); })()), "updatedAt", [], "any", false, false, false, 418), "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.', 418, $this->source); })()), "updatedAt", [], "any", false, false, false, 418), "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.', 418, $this->source); })()), "updatedAt", [], "any", false, false, false, 418), "H:i"))], 418, $context, $this->getSourceContext());
echo "</span></p>
";
}
// line 420
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.', 420, $this->source); })()), "id", [], "any", false, false, false, 420), "html", null, true);
echo "</span></p>
";
// line 421
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.', 421, $this->source); })()), "approved", [], "any", false, false, false, 421)) {
// line 422
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 428
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 434
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 439
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.', 439, $this->source); })()), "description", [], "any", false, false, false, 439), "html", null, true));
echo "</p></noindex>
</div>
</div>
</div>
</div>
";
// line 446
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.', 446, $this->source); })()), "photos", [], "any", false, false, false, 446), 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.', 446, $this->source); })()), "selfies", [], "any", false, false, false, 446), 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.', 446, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 446), 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.', 446, $this->source); })()), "deleted", [], "any", false, false, false, 446)], 446, $context, $this->getSourceContext()) == "true")) {
// line 447
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 449
$context["currentPage"] = "";
// line 450
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "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); })()), "photos", [], "any", false, false, false, 450)) > 0))) {
$context["currentPage"] = "photo";
// line 451
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 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-photo-thumb\"></use>
</svg>
Фото
</a>
</li>
";
}
// line 460
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 460) && (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.', 460, $this->source); })()), "selfies", [], "any", false, false, false, 460)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 460, $this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 460, $this->source); })())));
// line 461
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 462
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 462, $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 464
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 470
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 470) && (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.', 470, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 470)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 470, $this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 470, $this->source); })())));
// line 471
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 472
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 472, $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 474
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 480
echo " </ul>
<div class=\"tab-content\" id=\"model-tabContent_2\">
";
// line 482
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 482) && (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.', 482, $this->source); })()), "photos", [], "any", false, false, false, 482)) > 0))) {
// line 483
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.', 483, $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 485
$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.', 485, $this->source); })()), "photos", [], "any", false, false, false, 485));
$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 486
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, 486)) {
// line 487
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.', 487, $this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 487, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 487)], 487, $context, $this->getSourceContext());
// line 488
echo " <div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"";
// line 489
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, 489), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\">
<img class=\"img-fluid lazy\"
data-srcset=\"";
// line 491
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, 491), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
";
// line 492
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, 492), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
";
// line 493
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, 493), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
";
// line 494
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, 494), "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 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", "250x250", "jpg"), "html", null, true);
echo "\"
data-type=\"lg\"
data-index-lg=\"";
// line 502
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 502), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"";
// line 503
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.', 503, $this->source); })()), "html", null, true);
echo "\">
</a>
</div>
\t\t\t\t\t\t\t\t\t ";
}
// line 507
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 508
echo " </div>
</div>
";
}
// line 511
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 511) && (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.', 511, $this->source); })()), "selfies", [], "any", false, false, false, 511)) > 0))) {
// line 512
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.', 512, $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 514
$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.', 514, $this->source); })()), "selfies", [], "any", false, false, false, 514));
$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 515
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 515)) {
// line 516
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.', 516, $this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 516, $this->source); })()), (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 516) + 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.', 516, $this->source); })()), "photos", [], "any", false, false, false, 516)))], 516, $context, $this->getSourceContext());
// line 517
echo " <div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"";
// line 518
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, 518), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\">
<img class=\"img-fluid lazy\"
data-srcset=\"";
// line 520
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, 520), "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 521
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, 521), "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 522
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, 522), "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 523
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, 523), "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 529
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 529) + 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.', 529, $this->source); })()), "photos", [], "any", false, false, false, 529))), "html", null, true);
echo "\"
src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
data-src=\"";
// line 531
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, 531), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"";
// line 532
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.', 532, $this->source); })()), "html", null, true);
echo "\">
</a>
</div>
\t\t\t\t\t\t\t\t\t ";
}
// line 536
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 537
echo " </div>
</div>
";
}
// line 540
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 540) && (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.', 540, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 540)) > 0))) {
// line 541
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.', 541, $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 543
$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.', 543, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 543));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 544
echo " <div class=\"model-video-container rounding\">
<video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"";
// line 545
if (twig_get_attribute($this->env, $this->source, $context["video"], "previewPath", [], "any", false, false, false, 545)) {
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, 545), "profile_media", "fullsize"), "html", null, true);
}
echo "\">
<source src=\"";
// line 546
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, 546), "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 550
echo " </div>
</div>
";
}
// line 553
echo " </div>
</div>
";
}
// line 556
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 563
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 569
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 575
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 585
echo " </div>
</div>
<div class=\"modal-services__main\">
<div class=\"modal-services__items ";
// line 588
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.', 588, $this->source); })()), "masseur", [], "any", false, false, false, 588)) {
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.', 588, $this->source); })()), "masseur", [], "any", false, false, false, 588)) {
echo "masseur";
} else {
echo "profile";
}
echo "\">
";
// line 589
$context["initional_group_2"] = 0;
// line 590
echo " ";
$context["group_2_minet"] = [];
// line 591
echo " ";
$context["group_2_okon"] = [];
// line 592
echo " ";
$context["group_2_okon_trigger"] = ["Окончание на грудь", "Окончание на лицо", "Окончание в рот", "На грудь", "На лицо", "В рот"];
echo " ";
// line 593
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.', 593, $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.', 593, $this->source); })()), "masseur", [], "any", false, false, false, 593) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups", $context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.', 593, $this->source); })()))); }));
foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
// line 594
echo " ";
if (($context["group"] == 2)) {
// line 595
echo " ";
// line 596
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 597
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, 597)), (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.', 597, $this->source); })()))) {
// line 598
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.', 598, $this->source); })()), [$context["service"]]);
// line 599
echo " ";
} else {
// line 600
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.', 600, $this->source); })()), [$context["service"]]);
// line 601
echo " ";
}
// line 602
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 603
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.', 603, $this->source); })()) == 0))) {
// line 604
echo " ";
// line 605
echo " ";
$context["initional_group_2"] = 1;
// line 606
echo " <div class=\"modal-services__item\">
<p class=\"item-title\">Минет</p>
";
// line 608
$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.', 608, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 609
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.', 609, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 609);
// line 610
echo " ";
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 610, $this->source); })())) {
// line 611
echo " <div class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 611, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 612
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.', 612, $this->source); })()), "condition", [], "any", false, false, false, 612) == 1)) {
// line 613
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 614
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 616
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 616, $this->source); })()), "condition", [], "any", false, false, false, 616) == 2)) {
// line 617
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 618
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 620
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 620, $this->source); })()), "condition", [], "any", false, false, false, 620) == 3)) {
// line 621
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 622
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 625
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.', 625, $this->source); })()), "city", [], "any", false, false, false, 625), "uriIdentity", [], "any", false, false, false, 625), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 625)]), "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, 625), "html", null, true);
echo "\">
";
// line 626
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, 626)), "html", null, true);
echo "
</a>
";
// line 628
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 628, $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.', 628, $this->source); })()), "condition", [], "any", false, false, false, 628) == 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.', 628, $this->source); })()), "extraCharge", [], "any", false, false, false, 628))) {
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.', 628, $this->source); })()), "extraCharge", [], "any", false, false, false, 628), "html", null, true);
echo " Р</span>";
}
// line 629
echo " ";
if (((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 629, $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.', 629, $this->source); })()), "comment", [], "any", false, false, false, 629))) {
// line 630
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.', 630, $this->source); })()), "comment", [], "any", false, false, false, 630), "html", null, true);
echo "</div>
";
}
// line 632
echo " </div>
";
}
// line 634
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 635
echo " </div>
<div class=\"modal-services__item\">
<p class=\"item-title\">Окончание</p>
";
// line 638
$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.', 638, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 639
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.', 639, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 639);
// line 640
echo " ";
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 640, $this->source); })())) {
// line 641
echo " <div class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 641, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 642
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 642, $this->source); })())) {
// line 643
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.', 643, $this->source); })()), "condition", [], "any", false, false, false, 643) == 1)) {
// line 644
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 645
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 647
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 647, $this->source); })()), "condition", [], "any", false, false, false, 647) == 2)) {
// line 648
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 649
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 651
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 651, $this->source); })()), "condition", [], "any", false, false, false, 651) == 3)) {
// line 652
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 653
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 656
echo " ";
}
// line 657
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.', 657, $this->source); })()), "city", [], "any", false, false, false, 657), "uriIdentity", [], "any", false, false, false, 657), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 657)]), "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, 657), "html", null, true);
echo "\">
";
// line 658
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, 658)), "html", null, true);
echo "
</a>
";
// line 660
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 660, $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.', 660, $this->source); })()), "condition", [], "any", false, false, false, 660) == 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.', 660, $this->source); })()), "extraCharge", [], "any", false, false, false, 660))) {
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.', 660, $this->source); })()), "extraCharge", [], "any", false, false, false, 660), "html", null, true);
echo " Р</span>";
}
// line 661
echo " ";
if (((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 661, $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.', 661, $this->source); })()), "comment", [], "any", false, false, false, 661))) {
// line 662
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.', 662, $this->source); })()), "comment", [], "any", false, false, false, 662), "html", null, true);
echo "</div>
";
}
// line 664
echo " </div>
";
}
// line 666
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 667
echo " </div>
<div class=\"modal-services__item\">
<p class=\"item-title\" data-group=\"";
// line 669
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 670
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 671
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.', 671, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 671);
// line 672
echo " ";
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 672, $this->source); })())) {
// line 673
echo " <div class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 673, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 674
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 674, $this->source); })())) {
// line 675
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.', 675, $this->source); })()), "condition", [], "any", false, false, false, 675) == 1)) {
// line 676
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 677
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 679
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 679, $this->source); })()), "condition", [], "any", false, false, false, 679) == 2)) {
// line 680
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 681
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 683
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 683, $this->source); })()), "condition", [], "any", false, false, false, 683) == 3)) {
// line 684
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 685
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 688
echo "
<a href=\"";
// line 689
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.', 689, $this->source); })()), "city", [], "any", false, false, false, 689), "uriIdentity", [], "any", false, false, false, 689), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 689)]), "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, 689), "html", null, true);
echo "\">
";
// line 690
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, 690)), "html", null, true);
echo "
</a>
";
// line 692
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 692, $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.', 692, $this->source); })()), "condition", [], "any", false, false, false, 692) == 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.', 692, $this->source); })()), "extraCharge", [], "any", false, false, false, 692))) {
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.', 692, $this->source); })()), "extraCharge", [], "any", false, false, false, 692), "html", null, true);
echo " Р</span>";
}
// line 693
echo " ";
if (((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 693, $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.', 693, $this->source); })()), "comment", [], "any", false, false, false, 693))) {
// line 694
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.', 694, $this->source); })()), "comment", [], "any", false, false, false, 694), "html", null, true);
echo "</div>
";
}
// line 696
echo " ";
}
// line 697
echo " </div>
";
}
// line 699
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 700
echo " </div>
";
} else {
// line 702
echo " ";
if (((($context["group"] == 1) || ($context["group"] == 5)) || ($context["group"] == 7))) {
// line 704
echo " ";
}
// line 705
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.', 705, $this->source); })()), "masseur", [], "any", false, false, false, 705)) {
echo " modal-services__item--masseur";
}
echo "\">
<p class=\"item-title\">";
// line 706
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 707
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 708
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.', 708, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 708);
// line 709
echo " ";
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 709, $this->source); })())) {
// line 710
echo " <div class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 710, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 711
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.', 711, $this->source); })()), "condition", [], "any", false, false, false, 711) == 1)) {
// line 712
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 713
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 715
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 715, $this->source); })()), "condition", [], "any", false, false, false, 715) == 2)) {
// line 716
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 717
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 719
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 719, $this->source); })()), "condition", [], "any", false, false, false, 719) == 3)) {
// line 720
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 721
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 724
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.', 724, $this->source); })()), "city", [], "any", false, false, false, 724), "uriIdentity", [], "any", false, false, false, 724), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 724)]), "html", null, true);
echo "\">
";
// line 725
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, 725)), "html", null, true);
echo "
</a>
";
// line 727
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 727, $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.', 727, $this->source); })()), "condition", [], "any", false, false, false, 727) == 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.', 727, $this->source); })()), "extraCharge", [], "any", false, false, false, 727))) {
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.', 727, $this->source); })()), "extraCharge", [], "any", false, false, false, 727), "html", null, true);
echo " Р</span>";
}
// line 728
echo " ";
if (((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 728, $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.', 728, $this->source); })()), "comment", [], "any", false, false, false, 728))) {
// line 729
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.', 729, $this->source); })()), "comment", [], "any", false, false, false, 729), "html", null, true);
echo "</div>
";
}
// line 731
echo " </div>
";
}
// line 733
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 734
echo " </div>
";
// line 735
if (((($context["group"] == 4) || ($context["group"] == 6)) || ($context["group"] == 7))) {
// line 737
echo " ";
}
// line 738
echo " ";
}
// line 739
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 740
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 745
$context["client_types_text"] = ["1", "2", "3", "4", "5"];
// line 746
echo " ";
$context["includeService"] = false;
// line 747
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.', 747, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["clientTypeText"]) {
// line 748
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.', 748, $this->source); })()), "clientTypes", [], "any", false, false, false, 748));
foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
// line 749
echo " ";
if (($context["clientTypeText"] == $context["clientType"])) {
// line 750
echo " ";
$context["includeService"] = true;
// line 751
echo " ";
}
// line 752
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 753
echo " ";
if ((((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 753, $this->source); })()) == true) && ($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]) != "TRANS"))) {
// line 754
echo " <div class=\"item\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 756
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 759
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 761
$context["includeService"] = false;
// line 762
echo " ";
}
// line 763
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 764
echo " </div>
<div class=\"modal-services__extend__item\">
<h3 class=\"modal-services__extend__item__title\">Выезд</h3>
";
// line 767
$context["locations_text"] = ["1", "2", "3", "4", "5", "6"];
// line 768
echo " ";
$context["includeService"] = false;
// line 769
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.', 769, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["locationsText"]) {
// line 770
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.', 770, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 770), "locations", [], "any", false, false, false, 770));
foreach ($context['_seq'] as $context["_key"] => $context["locations"]) {
// line 771
echo " ";
if (($context["locationsText"] == $context["locations"])) {
// line 772
echo " ";
$context["includeService"] = true;
// line 773
echo " ";
}
// line 774
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 775
echo " ";
if (((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 775, $this->source); })()) == true)) {
// line 776
echo " <div class=\"item\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 778
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 780
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 782
$context["includeService"] = false;
// line 783
echo " ";
}
// line 784
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 785
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 898
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 904
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, 904), "latitude", [], "any", true, true, false, 904)) ? (_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, 904), "latitude", [], "any", false, false, false, 904), 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.', 904, $this->source); })()), "city", [], "any", false, false, false, 904), "mapCoordinate", [], "any", false, false, false, 904), "latitude", [], "any", false, false, false, 904))) : (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.', 904, $this->source); })()), "city", [], "any", false, false, false, 904), "mapCoordinate", [], "any", false, false, false, 904), "latitude", [], "any", false, false, false, 904))), "html", null, true);
echo "\"
data-lon=\"";
// line 905
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, 905), "longitude", [], "any", true, true, false, 905)) ? (_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, 905), "longitude", [], "any", false, false, false, 905), 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.', 905, $this->source); })()), "city", [], "any", false, false, false, 905), "mapCoordinate", [], "any", false, false, false, 905), "longitude", [], "any", false, false, false, 905))) : (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.', 905, $this->source); })()), "city", [], "any", false, false, false, 905), "mapCoordinate", [], "any", false, false, false, 905), "longitude", [], "any", false, false, false, 905))), "html", null, true);
echo "\"
data-map-label=\"";
// line 906
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 909
if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("profile_comments")) {
// line 910
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.', 910, $this->source); })()), "comments", [], "any", false, false, false, 910));
// line 911
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 913
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отзывы", [], "profile");
echo " </h2>
<div class=\"rate d-flex align-items-center ml-auto\"";
// line 914
if (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 914, $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.', 914, $this->source); })()), "html", null, true);
echo "\">
";
// line 915
if (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 915, $this->source); })()) > 0)) {
// line 916
echo " <meta itemprop=\"worstRating\" content=\"1\">
<meta itemprop=\"ratingValue\" content=\"";
// line 917
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.', 917, $this->source); })()), "html", null, true);
echo "\">
<meta itemprop=\"bestRating\" content=\"5\">
<meta itemprop=\"reviewCount\" content=\"";
// line 919
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.', 919, $this->source); })()), "html", null, true);
echo "\">
";
}
// line 921
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.', 921, $this->source); })()) > 0)) {
echo " itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\" ";
}
echo ">
";
// line 922
if (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 922, $this->source); })()) > 0)) {
// line 923
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.', 923, $this->source); })()), "city", [], "any", false, false, false, 923), "name", [], "any", false, false, false, 923), "html", null, true);
echo "\" />
<meta itemprop=\"telephone\" content=\"";
// line 924
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.', 924, $this->source); })()), "phoneNumber", [], "any", false, false, false, 924), "html", null, true);
echo "\" />
<meta itemprop=\"name\" content=\"Рейтинг анкеты ";
// line 925
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.', 925, $this->source); })()), "name", [], "any", false, false, false, 925), "html", null, true);
echo "\">
";
}
// line 927
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.', 927, $this->source); })()) == 0)) ? (" zero") : (""));
echo " mr-1\">
\t\t\t\t\t\t\t ";
// line 928
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.', 928, $this->source); })()), "html", null, true);
echo "
</span>
<span class=\"rating-text-count mr-2\">
по ";
// line 931
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.', 931, $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.', 931, $this->source); })()) == 1)) {
echo "отзыву";
} else {
echo "отзывам";
}
// line 932
echo " </span>
</div>
";
// line 934
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 935
echo " <div class=\"star";
if (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 935, $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 937
echo " </div>
</div>
<div class=\"row comments-main\">
<div class=\"col-12 col-lg-7 mb-2 mb-sm-3 mb-lg-0\">
";
// line 942
if (((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 942, $this->source); })()) > 0)) {
// line 943
echo " <div class=\"items-comments\" id=\"review-block-list\">
<ul>
";
// line 945
$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.', 945, $this->source); })()), "comments", [], "any", false, false, false, 945));
$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 946
echo " ";
$this->loadTemplate("ProfilePreview/comment.html.twig", "ProfilePreview/page.html.twig", 946)->display($context);
// line 947
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 948
echo " </ul>
</div>
";
} else {
// line 951
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 972
echo " </div>
<div class=\"col-12 col-lg-5\">
";
// line 974
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.', 974, $this->source); })()), "user", [], "any", false, false, false, 974))) {
// line 975
echo " <div class=\"review-form\" id=\"review-form-comment\">
";
// line 977
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 1002
echo " </div>
</div>
</section>
";
}
// line 1006
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 1010
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.', 1010, $this->source); })()), "deleted", [], "any", false, false, false, 1010)) {
// line 1011
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 1012
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 1013
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.', 1013, $this->source); })()), "name", [], "any", false, false, false, 1013)), "html", null, true);
echo " удалена\"
class=\"img-fluid\">
</a>
";
} else {
// line 1017
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.', 1017, $this->source); })()));
// line 1018
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 1018, $this->source); })())) {
// line 1019
echo " ";
$context["station_alt"] = "";
// line 1020
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.', 1020, $this->source); })()), "primaryStation", [], "any", false, false, false, 1020)) {
// line 1021
$context["station_alt"] = 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.', 1021, $this->source); })()), "primaryStation", [], "any", false, false, false, 1021);
}
// line 1023
$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.', 1023, $this->source); })()), "name", [], "any", false, false, false, 1023)) . ", ") . $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.', 1023, $this->source); })()), "personParameters", [], "any", false, false, false, 1023), "age", [], "any", false, false, false, 1023))) . (((isset($context["station_alt"]) || array_key_exists("station_alt", $context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.', 1023, $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.', 1023, $this->source); })()), "name", [], "any", false, false, false, 1023)))) : (""))) . " в Москве") . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 1023), "phone", [], "any", true, true, false, 1023)) ? ((", тел. " . 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.', 1023, $this->source); })()), "seo", [], "any", false, false, false, 1023), "phone", [], "any", false, false, false, 1023))) : (""))) . ", объявление ") . 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.', 1023, $this->source); })()), "id", [], "any", false, false, false, 1023));
// line 1024
echo " ";
// line 1025
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.', 1025, $this->source); })()), "path", [], "any", false, false, false, 1025), "profile_media", "357x500", "jpg"), "html", null, true);
echo "\"
class=\"img-fluid\"
data-type=\"lg\"
data-index-lg=\"0\"
alt=\"";
// line 1029
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.', 1029, $this->source); })()), "html", null, true);
echo "\">
";
// line 1031
echo " ";
}
// line 1032
echo " ";
}
// line 1033
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.', 1033, $this->source); })()), "user", [], "any", false, false, false, 1033)) && !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.', 1033, $this->source); })()), "deleted", [], "any", false, false, false, 1033))) {
// line 1034
echo " <button type=\"button\"
data-url-add=\"";
// line 1035
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.', 1035, $this->source); })()), "id", [], "any", false, false, false, 1035)]), "html", null, true);
echo "\"
data-url-remove=\"";
// line 1036
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.', 1036, $this->source); })()), "id", [], "any", false, false, false, 1036)]), "html", null, true);
echo "\"
title=\"Добавить в избранное\"
";
// line 1038
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.', 1038, $this->source); })()))) {
// line 1039
echo " class=\"btn favorite like\" id=\"favorite\">
";
} else {
// line 1041
echo " class=\"btn favorite unlike\" id=\"favorite\">
";
}
// line 1043
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 1050
echo " </div>
";
// line 1051
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.', 1051, $this->source); })()), "photos", [], "any", false, false, false, 1051), 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.', 1051, $this->source); })()), "selfies", [], "any", false, false, false, 1051), 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.', 1051, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1051), 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.', 1051, $this->source); })()), "deleted", [], "any", false, false, false, 1051)], 1051, $context, $this->getSourceContext()) == "true")) {
// line 1052
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 1054
$context["currentPage"] = "";
// line 1055
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "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); })()), "photos", [], "any", false, false, false, 1055)) > 0))) {
$context["currentPage"] = "photo";
// line 1056
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 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-photo-thumb\"></use>
</svg>
Фото
</a>
</li>
";
}
// line 1065
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 1065) && (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.', 1065, $this->source); })()), "selfies", [], "any", false, false, false, 1065)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1065, $this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1065, $this->source); })())));
// line 1066
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 1067
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1067, $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 1069
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 1075
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.', 1075, $this->source); })()), "isModerationRejected", [], "any", false, false, false, 1075)) && !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.', 1075, $this->source); })()), "deleted", [], "any", false, false, false, 1075)) && twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 1075)) && (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.', 1075, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1075)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1075, $this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1075, $this->source); })())));
// line 1076
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 1077
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1077, $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 1079
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 1085
echo " </ul>
<div class=\"tab-content\" id=\"model-tabContent\">
";
// line 1087
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 1087) && (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.', 1087, $this->source); })()), "photos", [], "any", false, false, false, 1087)) > 0))) {
// line 1088
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.', 1088, $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 1090
$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.', 1090, $this->source); })()), "photos", [], "any", false, false, false, 1090));
$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 1091
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, 1091)) {
// line 1092
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.', 1092, $this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 1092, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1092)], 1092, $context, $this->getSourceContext());
// line 1093
echo " <div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"";
// line 1094
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, 1094), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\">
<img class=\"img-fluid lazy\"
data-srcset=\"";
// line 1096
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, 1096), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
";
// line 1097
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, 1097), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
";
// line 1098
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, 1098), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
";
// line 1099
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, 1099), "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 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", "250x250", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 1106
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.', 1106, $this->source); })()), "html", null, true);
echo "\"
data-type=\"lg\"
data-index-lg=\"";
// line 1108
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1108), "html", null, true);
echo "\">
</a>
</div>
\t\t\t\t\t\t\t\t\t ";
}
// line 1112
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 1113
echo " </div>
</div>
";
}
// line 1116
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 1116) && (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.', 1116, $this->source); })()), "selfies", [], "any", false, false, false, 1116)) > 0))) {
// line 1117
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.', 1117, $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 1119
$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.', 1119, $this->source); })()), "selfies", [], "any", false, false, false, 1119));
$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 1120
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1120)) {
// line 1121
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.', 1121, $this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 1121, $this->source); })()), (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1121) + 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.', 1121, $this->source); })()), "photos", [], "any", false, false, false, 1121)))], 1121, $context, $this->getSourceContext());
// line 1122
echo " <div class=\"model-aside-col rounding\">
<a class=\"nolink\" href=\"";
// line 1123
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, 1123), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\">
<img class=\"img-fluid lazy\"
data-srcset=\"";
// line 1125
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, 1125), "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 1126
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, 1126), "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 1127
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, 1127), "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 1128
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, 1128), "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 1134
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1134) + 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.', 1134, $this->source); })()), "photos", [], "any", false, false, false, 1134))), "html", null, true);
echo "\"
src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
data-src=\"";
// line 1136
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, 1136), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 1137
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.', 1137, $this->source); })()), "html", null, true);
echo "\">
</a>
</div>
\t\t\t\t\t\t\t\t\t ";
}
// line 1141
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 1142
echo " </div>
</div>
";
}
// line 1145
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.', 1145, $this->source); })()), "isModerationRejected", [], "any", false, false, false, 1145)) && !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.', 1145, $this->source); })()), "deleted", [], "any", false, false, false, 1145)) && twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 1145)) && (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.', 1145, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1145)) > 0))) {
// line 1146
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.', 1146, $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 1148
$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.', 1148, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1148));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 1149
echo " <div class=\"model-video-container rounding\">
<video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"";
// line 1150
if (twig_get_attribute($this->env, $this->source, $context["video"], "previewPath", [], "any", false, false, false, 1150)) {
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, 1150), "profile_media", "fullsize"), "html", null, true);
}
echo "\">
<source src=\"";
// line 1151
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, 1151), "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 1155
echo " </div>
</div>
";
}
// line 1158
echo " </div>
</div>
";
}
// line 1161
echo " </div>
</div>
";
// line 1165
echo "
\t";
// line 1168
echo " <div id=\"recommendations\">";
// line 1169
$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.', 1169, $this->source); })()), "id", [], "any", false, false, false, 1169)];
// line 1170
$this->loadTemplate("recommendations/_profile_recommendations.html.twig", "ProfilePreview/page.html.twig", 1170)->display(twig_array_merge($context, ["componentClass" => "with-profile"]));
// line 1171
echo "</div>
";
// line 1173
echo twig_include($this->env, $context, "ProfilePreview/nearest_profiles.html.twig");
echo "
";
// line 1333
echo "
";
// line 1335
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.', 1335, $this->source); })()), "isActive", [], "any", false, false, false, 1335) || !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.', 1335, $this->source); })()), "hidden", [], "any", false, false, false, 1335))) {
// line 1336
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 1342
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 1346
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.', 1346, $this->source); })()), "phoneNumber", [], "any", false, false, false, 1346), [" " => "", "-" => ""]), "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 1348
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 1350
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.', 1350, $this->source); })()), "phoneNumber", [], "any", false, false, false, 1350), "html", null, true);
echo "
</a>
</div>
";
// line 1353
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.', 1353, $this->source); })()), "messengers", [], "any", false, false, false, 1353), "whatsApp", [], "any", false, false, false, 1353)) {
// line 1354
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.', 1354, $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.', 1354, $this->source); })()), "name", [], "any", false, false, false, 1354), "html", null, true);
echo "!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 1356
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 1360
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.', 1360, $this->source); })()), "messengers", [], "any", false, false, false, 1360), "telegram", [], "any", false, false, false, 1360) && 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.', 1360, $this->source); })()), "messengers", [], "any", false, false, false, 1360), "telegramUsername", [], "any", false, false, false, 1360))) {
// line 1361
echo "<a class=\"sticky-phone__mobile__element sticky-phone__mobile__telegram\" target=\"_blank\" href=\"https://t.me/+";
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.', 1361, $this->source); })()), "messengers", [], "any", false, false, false, 1361), "telegramUsername", [], "any", false, false, false, 1361), "html", null, true);
echo "\" title=\"Telegram\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 1363
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 1367
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 1375
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 1376
echo " ";
// line 1377
echo " ";
// line 1378
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 1407
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 1443
$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.', 1443, $this->source); })()));
// line 1444
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 1444, $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.', 1444, $this->source); })()), "path", [], "any", false, false, false, 1444), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" },";
}
// line 1445
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 1445) && (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.', 1445, $this->source); })()), "photos", [], "any", false, false, false, 1445)) > 0))) {
// line 1446
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.', 1446, $this->source); })()), "photos", [], "any", false, false, false, 1446));
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 1447
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, 1447), "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 1449
echo " ";
}
// line 1450
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 1450) && (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.', 1450, $this->source); })()), "selfies", [], "any", false, false, false, 1450)) > 0))) {
// line 1451
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.', 1451, $this->source); })()), "selfies", [], "any", false, false, false, 1451));
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 1452
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, 1452), "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 1454
echo " ";
}
// line 1455
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 1542
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.', 1542, $this->source); })()), "id", [], "any", false, false, false, 1542)]), "html", null, true);
echo "',
\t\t\t'urlGet': '";
// line 1543
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.', 1543, $this->source); })()), "id", [], "any", false, false, false, 1543)]), "html", null, true);
echo "',
\t\t\t'sitekey': \"";
// line 1544
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.', 1544, $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 1550
$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.', 1550, $this->source); })()), "id", [], "any", false, false, false, 1550)];
// line 1551
echo "\t";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script>
window._mp = {
stations: {";
// line 1555
$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 1556
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, 1556)), "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, 1556), "uriIdentity", [], "any", false, false, false, 1556), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 1556)]), "html", null, true);
echo "\"";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 1556)) {
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 1558
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 1569
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.', 1569, $this->source); })()), "id", [], "any", false, false, false, 1569), "html", null, true);
echo ")
}
if (!isRenderBotWidget) {
isRenderBotWidget = true;
window.profileBotHelper.addViewedProfile(";
// line 1573
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.', 1573, $this->source); })()), "id", [], "any", false, false, false, 1573), "html", null, true);
echo ");
}
if (!isRenderRecentlyViewedWidget) {
isRenderRecentlyViewedWidget = true;
window.recentlyViewed.addViewedProfile(";
// line 1577
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.', 1577, $this->source); })()), "id", [], "any", false, false, false, 1577), "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 1590
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.', 1590, $this->source); })()), "id", [], "any", false, false, false, 1590), "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_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); })()), "primaryStation", [], "any", false, false, false, 14)) {
// line 15
$context["station_alt"] = 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); })()), "primaryStation", [], "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 ( 3290 => 33, 3285 => 31, 3282 => 30, 3279 => 29, 3276 => 28, 3274 => 27, 3272 => 26, 3250 => 25, 3229 => 22, 3226 => 21, 3202 => 20, 3184 => 17, 3181 => 15, 3179 => 14, 3177 => 13, 3153 => 12, 3132 => 9, 3130 => 8, 3129 => 7, 3128 => 6, 3124 => 5, 3099 => 4, 3073 => 1590, 3057 => 1577, 3050 => 1573, 3043 => 1569, 3030 => 1558, 3009 => 1556, 2992 => 1555, 2985 => 1551, 2983 => 1550, 2974 => 1544, 2970 => 1543, 2966 => 1542, 2877 => 1455, 2874 => 1454, 2865 => 1452, 2860 => 1451, 2857 => 1450, 2854 => 1449, 2845 => 1447, 2840 => 1446, 2837 => 1445, 2830 => 1444, 2828 => 1443, 2790 => 1407, 2785 => 1378, 2783 => 1377, 2781 => 1376, 2768 => 1375, 2749 => 1367, 2742 => 1363, 2736 => 1361, 2734 => 1360, 2727 => 1356, 2719 => 1354, 2717 => 1353, 2711 => 1350, 2706 => 1348, 2701 => 1346, 2694 => 1342, 2686 => 1336, 2684 => 1335, 2680 => 1333, 2675 => 1173, 2671 => 1171, 2669 => 1170, 2667 => 1169, 2665 => 1168, 2661 => 1165, 2657 => 1161, 2652 => 1158, 2647 => 1155, 2637 => 1151, 2630 => 1150, 2627 => 1149, 2623 => 1148, 2615 => 1146, 2612 => 1145, 2607 => 1142, 2593 => 1141, 2586 => 1137, 2582 => 1136, 2577 => 1134, 2568 => 1128, 2564 => 1127, 2560 => 1126, 2556 => 1125, 2551 => 1123, 2548 => 1122, 2545 => 1121, 2542 => 1120, 2525 => 1119, 2517 => 1117, 2514 => 1116, 2509 => 1113, 2495 => 1112, 2488 => 1108, 2483 => 1106, 2479 => 1105, 2470 => 1099, 2466 => 1098, 2462 => 1097, 2458 => 1096, 2453 => 1094, 2450 => 1093, 2447 => 1092, 2444 => 1091, 2427 => 1090, 2419 => 1088, 2417 => 1087, 2413 => 1085, 2404 => 1079, 2397 => 1077, 2394 => 1076, 2390 => 1075, 2381 => 1069, 2374 => 1067, 2371 => 1066, 2367 => 1065, 2358 => 1059, 2353 => 1056, 2349 => 1055, 2347 => 1054, 2343 => 1052, 2341 => 1051, 2338 => 1050, 2329 => 1043, 2325 => 1041, 2321 => 1039, 2319 => 1038, 2314 => 1036, 2310 => 1035, 2307 => 1034, 2304 => 1033, 2301 => 1032, 2298 => 1031, 2294 => 1029, 2286 => 1025, 2284 => 1024, 2282 => 1023, 2279 => 1021, 2277 => 1020, 2274 => 1019, 2271 => 1018, 2268 => 1017, 2261 => 1013, 2257 => 1012, 2252 => 1011, 2250 => 1010, 2244 => 1006, 2238 => 1002, 2211 => 977, 2208 => 975, 2206 => 974, 2202 => 972, 2179 => 951, 2174 => 948, 2160 => 947, 2157 => 946, 2140 => 945, 2136 => 943, 2134 => 942, 2127 => 937, 2116 => 935, 2112 => 934, 2108 => 932, 2100 => 931, 2094 => 928, 2089 => 927, 2084 => 925, 2080 => 924, 2075 => 923, 2073 => 922, 2066 => 921, 2061 => 919, 2056 => 917, 2053 => 916, 2051 => 915, 2043 => 914, 2039 => 913, 2035 => 911, 2032 => 910, 2030 => 909, 2024 => 906, 2020 => 905, 2016 => 904, 2008 => 898, 1976 => 785, 1970 => 784, 1967 => 783, 1965 => 782, 1960 => 780, 1955 => 778, 1951 => 776, 1948 => 775, 1942 => 774, 1939 => 773, 1936 => 772, 1933 => 771, 1928 => 770, 1923 => 769, 1920 => 768, 1918 => 767, 1913 => 764, 1907 => 763, 1904 => 762, 1902 => 761, 1897 => 759, 1891 => 756, 1887 => 754, 1884 => 753, 1878 => 752, 1875 => 751, 1872 => 750, 1869 => 749, 1864 => 748, 1859 => 747, 1856 => 746, 1854 => 745, 1847 => 740, 1841 => 739, 1838 => 738, 1835 => 737, 1833 => 735, 1830 => 734, 1824 => 733, 1820 => 731, 1814 => 729, 1811 => 728, 1805 => 727, 1800 => 725, 1795 => 724, 1789 => 721, 1786 => 720, 1784 => 719, 1779 => 717, 1776 => 716, 1774 => 715, 1769 => 713, 1766 => 712, 1764 => 711, 1757 => 710, 1754 => 709, 1751 => 708, 1747 => 707, 1743 => 706, 1736 => 705, 1733 => 704, 1730 => 702, 1726 => 700, 1720 => 699, 1716 => 697, 1713 => 696, 1707 => 694, 1704 => 693, 1698 => 692, 1693 => 690, 1687 => 689, 1684 => 688, 1678 => 685, 1675 => 684, 1673 => 683, 1668 => 681, 1665 => 680, 1663 => 679, 1658 => 677, 1655 => 676, 1652 => 675, 1650 => 674, 1643 => 673, 1640 => 672, 1637 => 671, 1633 => 670, 1627 => 669, 1623 => 667, 1617 => 666, 1613 => 664, 1607 => 662, 1604 => 661, 1598 => 660, 1593 => 658, 1586 => 657, 1583 => 656, 1577 => 653, 1574 => 652, 1572 => 651, 1567 => 649, 1564 => 648, 1562 => 647, 1557 => 645, 1554 => 644, 1551 => 643, 1549 => 642, 1542 => 641, 1539 => 640, 1536 => 639, 1532 => 638, 1527 => 635, 1521 => 634, 1517 => 632, 1511 => 630, 1508 => 629, 1502 => 628, 1497 => 626, 1490 => 625, 1484 => 622, 1481 => 621, 1479 => 620, 1474 => 618, 1471 => 617, 1469 => 616, 1464 => 614, 1461 => 613, 1459 => 612, 1452 => 611, 1449 => 610, 1446 => 609, 1442 => 608, 1438 => 606, 1435 => 605, 1433 => 604, 1430 => 603, 1424 => 602, 1421 => 601, 1418 => 600, 1415 => 599, 1412 => 598, 1409 => 597, 1404 => 596, 1402 => 595, 1399 => 594, 1394 => 593, 1390 => 592, 1387 => 591, 1384 => 590, 1382 => 589, 1368 => 588, 1363 => 585, 1356 => 575, 1347 => 569, 1338 => 563, 1329 => 556, 1324 => 553, 1319 => 550, 1309 => 546, 1302 => 545, 1299 => 544, 1295 => 543, 1287 => 541, 1284 => 540, 1279 => 537, 1265 => 536, 1258 => 532, 1254 => 531, 1249 => 529, 1240 => 523, 1236 => 522, 1232 => 521, 1228 => 520, 1223 => 518, 1220 => 517, 1217 => 516, 1214 => 515, 1197 => 514, 1189 => 512, 1186 => 511, 1181 => 508, 1167 => 507, 1160 => 503, 1156 => 502, 1151 => 500, 1142 => 494, 1138 => 493, 1134 => 492, 1130 => 491, 1125 => 489, 1122 => 488, 1119 => 487, 1116 => 486, 1099 => 485, 1091 => 483, 1089 => 482, 1085 => 480, 1076 => 474, 1069 => 472, 1066 => 471, 1062 => 470, 1053 => 464, 1046 => 462, 1043 => 461, 1039 => 460, 1030 => 454, 1025 => 451, 1021 => 450, 1019 => 449, 1015 => 447, 1013 => 446, 1003 => 439, 996 => 434, 987 => 428, 979 => 422, 977 => 421, 972 => 420, 967 => 418, 964 => 417, 961 => 416, 956 => 414, 953 => 413, 950 => 412, 947 => 411, 945 => 410, 941 => 408, 933 => 405, 929 => 403, 926 => 402, 918 => 399, 914 => 397, 911 => 396, 903 => 393, 899 => 391, 896 => 390, 888 => 387, 884 => 385, 882 => 384, 875 => 379, 871 => 377, 865 => 374, 862 => 373, 860 => 372, 853 => 367, 849 => 365, 843 => 362, 840 => 361, 838 => 360, 831 => 355, 829 => 354, 823 => 349, 821 => 348, 815 => 343, 813 => 342, 810 => 340, 806 => 339, 802 => 338, 798 => 337, 794 => 336, 790 => 335, 787 => 334, 784 => 333, 782 => 332, 775 => 327, 773 => 326, 767 => 321, 765 => 320, 759 => 315, 757 => 314, 749 => 307, 745 => 305, 742 => 304, 728 => 303, 725 => 302, 722 => 301, 716 => 297, 708 => 294, 702 => 293, 699 => 292, 696 => 291, 693 => 290, 690 => 289, 687 => 288, 684 => 287, 667 => 286, 662 => 284, 659 => 283, 637 => 280, 635 => 279, 632 => 278, 615 => 277, 610 => 274, 608 => 273, 605 => 272, 598 => 267, 595 => 265, 590 => 262, 586 => 261, 584 => 260, 574 => 252, 565 => 245, 561 => 243, 558 => 242, 544 => 241, 538 => 240, 520 => 239, 518 => 238, 508 => 230, 505 => 223, 501 => 221, 497 => 219, 490 => 215, 484 => 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.primaryStation -%}
{% set station_alt = profile.primaryStation -%}
{% 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.primaryStation -%}
{% set station_alt = profile.primaryStation -%}
{% 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 and profile.messengers.telegramUsername -%}
<a class=\"model-phone__element model-phone__telegram\" target=\"_blank\" href=\"https://t.me/{{ profile.messengers.telegramUsername }}\" title=\"Telegram\" rel=\"nofollow\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-messager\"></use>
</svg>
</a>
{% 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.stationsSortedByPrimary|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.stationsSortedByPrimary|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.stationsSortedByPrimary|length > 0 %}<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap\">
Район
{% for station in profile.stationsSortedByPrimary %}
{% 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>
<a href=\"{{ path('profile_list.list_by_body_type', {'city': city.uriIdentity, 'bodyType': profile.personParameters.bodyType|body_type_uri}) }}\" target=\"_blank\">{{ profile.personParameters.bodyType|body_type|trans({}, 'body_types') }}</a>
</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>
<a target=\"_blank\" href=\"{{ path('profile_list.list_by_nationality', {'city': city.uriIdentity,'nationality': profile.personParameters.nationality|nationality_uri}) }}\">{{ profile.personParameters.nationality|nationality|trans({}, 'nationalities') }}</a>
</p>
{% endif %}
{% if profile.personParameters.privateHaircut %}
<p class=\"description-item d-flex align-items-center\">
<span>Интимная стрижка</span>
<a target=\"_blank\" href=\"{{ path('profile_list.list_by_private_haircut', {'city': city.uriIdentity,'privateHaircut': profile.personParameters.privateHaircut|private_haircut_uri}) }}\">{{ profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') }}</a>
</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.primaryStation -%}
{% set station_alt = profile.primaryStation -%}
{% 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 and profile.messengers.telegramUsername -%}
<a class=\"sticky-phone__mobile__element sticky-phone__mobile__telegram\" target=\"_blank\" href=\"https://t.me/+{{ profile.messengers.telegramUsername }}\" 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");
}
}