<?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_02c692a9d9a255ad8898b14b594b5511 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'navbar_class_masseur_profiles' => [$this, 'block_navbar_class_masseur_profiles'],
'stylesheet_postload' => [$this, 'block_stylesheet_postload'],
'preconnect' => [$this, 'block_preconnect'],
'mainContainer' => [$this, 'block_mainContainer'],
'javascripts' => [$this, 'block_javascripts'],
'iconsSet' => [$this, 'block_iconsSet'],
];
$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 3
$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("ProfilePreview/utils/macros.partial.twig", "ProfilePreview/page.html.twig", 3)->unwrap();
// line 31
$macros["__internal_parse_0"] = $this->macros["__internal_parse_0"] = $this;
// line 33
$context["headingTitle"] = twig_trim_filter(twig_call_macro($macros["__internal_parse_0"], "macro__profile_heading", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 33, $this->source); })())], 33, $context, $this->getSourceContext()));
// line 73
$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 35
public function block_navbar_class_masseur_profiles($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", "navbar_class_masseur_profiles"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar_class_masseur_profiles"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar_class_masseur_profiles"));
// line 36
echo "\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 39
public function block_stylesheet_postload($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_postload"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet_postload"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet_postload"));
// line 40
echo "\t";
// line 41
$this->displayParentBlock("stylesheet_postload", $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 51
public function block_preconnect($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", "preconnect"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preconnect"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preconnect"));
// line 52
$this->displayParentBlock("preconnect", $context, $blocks);
// line 53
echo "<link rel=\"preconnect\" href=\"https://api-maps.yandex.ru\">
<link rel=\"preconnect\" href=\"https://google.com\" />
\t";
// line 59
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.', 59, $this->source); })()), "deleted", [], "any", false, false, false, 59)) {
// line 60
echo "<link rel=\"preconnect\" href=\"https://cdnjs.cloudflare.com\" />
\t<link rel=\"dns-prefetch\" href=\"https://cdnjs.cloudflare.com\" />";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 75
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 76
$context["haveMetro"] = (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 76, $this->source); })()), "stationsSortedByPrimary", [], "any", false, false, false, 76)) > 0);
// line 77
$context["commentsCount"] = twig_number_format_filter($this->env, 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.', 77, $this->source); })()), "comments", [], "any", false, false, false, 77)), 0, ".", " ");
// line 78
$context["commentPlural"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%count% отзывов", ["num" => 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.', 78, $this->source); })()), "comments", [], "any", false, false, false, 78))]);
// line 80
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "__design/v2023/_menu/breadcrumbs.html.twig", "profile" => (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 80, $this->source); })())]);
// line 82
echo "<div class=\"profile full-w-xs\">
\t\t<div class=\"profile-heading d-flex-c mb-3\">
\t\t\t<h1 class=\"profile-heading-title text-title\">";
// line 84
echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
echo "</h1>";
// line 85
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.', 85, $this->source); })()), "approved", [], "any", false, false, false, 85)) {
// line 86
echo "<svg class=\"ml-1\" viewbox=\"0 0 26 26\" width=\"26\" height=\"26\" fill=\"none\"><path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"m22.273 9.983 2.644 3.012-2.644 3.011.369 3.987-3.911.888-2.048 3.445L13 22.745l-3.683 1.592-2.048-3.445-3.91-.888.368-3.998-2.644-3.011 2.644-3.023-.369-3.986 3.911-.878 2.048-3.445L13 3.245l3.683-1.582 2.048 3.445 3.91.888-.368 3.987ZM8.038 12.361l3.434 3.434 7.14-7.128 1.527 1.527-8.666 8.667L6.5 13.888l1.538-1.527Z\" clip-rule=\"evenodd\"/></svg>";
}
// line 88
echo "</div>
\t\t";
// line 91
echo "\t\t<div class=\"profile-bio\">
\t\t\t";
// line 93
echo "\t\t\t<div class=\"profile-data d-flex\">
\t\t\t\t";
// line 94
$context["station_alt"] = "";
// line 95
if ((isset($context["haveMetro"]) || array_key_exists("haveMetro", $context) ? $context["haveMetro"] : (function () { throw new RuntimeError('Variable "haveMetro" does not exist.', 95, $this->source); })())) {
// line 96
$context["station_alt"] = (((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "primaryStation", [], "any", true, true, false, 96) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 96, $this->source); })()), "primaryStation", [], "any", false, false, false, 96)))) ? (twig_get_attribute($this->env, $this->source, // line 97
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 97, $this->source); })()), "primaryStation", [], "any", false, false, false, 97)) : (null));
}
// line 101
echo "<div class=\"profile-avatar\" itemtype=\"http://schema.org/ImageObject\" id=\"avatar-preview\" data-favorite-button>";
// line 102
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.', 102, $this->source); })()), "deleted", [], "any", false, false, false, 102)) {
// line 103
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.', 103, $this->source); })()), "city", [], "any", false, false, false, 103), "uriIdentity", [], "any", false, false, false, 103) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "uriIdentity", [], "any", false, false, false, 103))) {
// line 104
echo "\t\t\t\t\t\t\t";
$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.', 104, $this->source); })()), "name", [], "any", false, false, false, 104)) . ", ") . 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.', 104, $this->source); })()), "city", [], "any", false, false, false, 104), "name", [], "any", false, false, false, 104)) . (((isset($context["station_alt"]) || array_key_exists("station_alt", $context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.', 104, $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.', 104, $this->source); })()), "name", [], "any", false, false, false, 104)))) : (""))) . ", ") . $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.', 104, $this->source); })()), "personParameters", [], "any", false, false, false, 104), "age", [], "any", false, false, false, 104))) . ", анкета ") . twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 104, $this->source); })()), "id", [], "any", false, false, false, 104)) . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 104), "phone", [], "any", true, true, false, 104)) ? ((", " . 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.', 104, $this->source); })()), "seo", [], "any", false, false, false, 104), "phone", [], "any", false, false, false, 104))) : ("")));
// line 105
echo "\t\t\t\t\t\t";
} else {
// line 106
echo "\t\t\t\t\t\t\t";
$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.', 106, $this->source); })()), "name", [], "any", false, false, false, 106)) . ", ") . 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.', 106, $this->source); })()), "city", [], "any", false, false, false, 106), "name", [], "any", false, false, false, 106)) . ", ") . $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.', 106, $this->source); })()), "personParameters", [], "any", false, false, false, 106), "age", [], "any", false, false, false, 106))) . ", анкета ") . twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 106, $this->source); })()), "id", [], "any", false, false, false, 106)) . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 106), "phone", [], "any", true, true, false, 106)) ? ((", " . 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.', 106, $this->source); })()), "seo", [], "any", false, false, false, 106), "phone", [], "any", false, false, false, 106))) : ("")));
}
// line 108
$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.', 108, $this->source); })()));
// line 109
if (((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 109, $this->source); })()) && 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.', 109, $this->source); })()), "path", [], "any", false, false, false, 109))) {
// line 110
$context["photoType"] = (((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.', 110, $this->source); })()), "type", [], "any", false, false, false, 110) == "photo")) ? ("profile_media") : ("profile_media_avatar"));
// line 111
echo "<a class=\"photoswipe image-fade profile-avatar-link";
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.', 111, $this->source); })()), "user", [], "any", false, false, false, 111))) {
echo " profile-avatar-link--shadow";
}
echo "\" href=\"";
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.', 111, $this->source); })()), "path", [], "any", false, false, false, 111), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" data-gallery=\"girl-avatar\" data-index=\"0\">
\t\t\t\t\t\t\t\t<img class=\"profile-avatar-image\" itemprop=\"contentUrl\"
\t\t\t\t\t\t\t\t\tsrcset=\"";
// line 114
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.', 114, $this->source); })()), "path", [], "any", false, false, false, 114), (isset($context["photoType"]) || array_key_exists("photoType", $context) ? $context["photoType"] : (function () { throw new RuntimeError('Variable "photoType" does not exist.', 114, $this->source); })()), "220x308", "jpg"), "html", null, true);
echo " 220w,";
// line 115
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.', 115, $this->source); })()), "path", [], "any", false, false, false, 115), (isset($context["photoType"]) || array_key_exists("photoType", $context) ? $context["photoType"] : (function () { throw new RuntimeError('Variable "photoType" does not exist.', 115, $this->source); })()), "310x434", "jpg"), "html", null, true);
echo " 310w
\t\t\t\t\t\t\t\t\t\"
\t\t\t\t\t\t\t\t\tsizes=\"
\t\t\t\t\t\t\t\t\t\t(max-width: 768px) 220px,
\t\t\t\t\t\t\t\t\t\t310px
\t\t\t\t\t\t\t\t\t\"
\t\t\t\t\t\t\t\t\tsrc=\"";
// line 121
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.', 121, $this->source); })()), "path", [], "any", false, false, false, 121), (isset($context["photoType"]) || array_key_exists("photoType", $context) ? $context["photoType"] : (function () { throw new RuntimeError('Variable "photoType" does not exist.', 121, $this->source); })()), "310x434", "jpg"), "html", null, true);
echo "\" alt=\"";
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.', 121, $this->source); })()), "html", null, true);
echo "\" width=\"310\" height=\"434\">
\t\t\t\t\t\t\t</a>";
} else {
// line 124
echo "<div class=\"photoswipe image-fade profile-avatar-link";
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.', 124, $this->source); })()), "user", [], "any", false, false, false, 124))) {
echo " profile-avatar-link--shadow";
}
echo "\">
\t\t\t\t\t\t\t\t<img class=\"profile-avatar-image profile-avatar-image-empty\" src=\"";
// line 125
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/empty-photo.svg"), "html", null, true);
echo "\" alt=\"";
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.', 125, $this->source); })()), "html", null, true);
echo "\" width=\"310\" height=\"434\" style=\"object-fit:contain;padding:10px;\">
\t\t\t\t\t\t\t</div>";
}
// line 129
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.', 129, $this->source); })()), "user", [], "any", false, false, false, 129))) {
// line 130
echo "<favorite-button
\t\t\t\t\t\t\t\tapi-check=\"";
// line 131
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.check", ["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.', 131, $this->source); })()), "id", [], "any", false, false, false, 131)]), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\tapi-like=\"";
// line 132
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.', 132, $this->source); })()), "id", [], "any", false, false, false, 132)]), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\tapi-unlike=\"";
// line 133
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.', 133, $this->source); })()), "id", [], "any", false, false, false, 133)]), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\tregistration-url=\"";
// line 134
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
echo "?user=visitor\"
\t\t\t\t\t\t\t\talternative=\"true\"
\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t<button class=\"btn btn-favorite favorite unlike favorite-loading\" data-tippy-main=\"Добавить в избранное\" title=\"Добавить в избранное\"><svg class=\"btn-favorite-icon\" width=\"40\" height=\"40\" fill=\"none\">
\t\t\t\t\t\t\t\t\t<path data-like d=\"m20 35.58-2.42-2.16c-2.8-2.53-5.12-4.71-6.95-6.55a46.04 46.04 0 0 1-4.38-4.93 15.65 15.65 0 0 1-2.27-4.02 11.25 11.25 0 0 1-.65-3.75c0-2.61.88-4.8 2.63-6.54A8.88 8.88 0 0 1 12.5 5 9.88 9.88 0 0 1 20 8.5 9.88 9.88 0 0 1 27.5 5c2.61 0 4.8.88 6.54 2.63a8.88 8.88 0 0 1 2.63 6.54c0 1.27-.22 2.52-.65 3.75a15.63 15.63 0 0 1-2.27 4.02 46.03 46.03 0 0 1-4.38 4.93 188.43 188.43 0 0 1-6.95 6.55L20 35.58Z\"/>
\t\t\t\t\t\t\t\t\t<path data-unlike d=\"m20 35.58-2.42-2.16a188.5 188.5 0 0 1-6.95-6.55 46.04 46.04 0 0 1-4.38-4.93 15.65 15.65 0 0 1-2.27-4.02 11.25 11.25 0 0 1-.65-3.75c0-2.61.88-4.8 2.63-6.54A8.88 8.88 0 0 1 12.5 5 9.88 9.88 0 0 1 20 8.5 9.88 9.88 0 0 1 27.5 5c2.61 0 4.8.88 6.54 2.63a8.88 8.88 0 0 1 2.63 6.54c0 1.27-.22 2.52-.65 3.75a15.63 15.63 0 0 1-2.27 4.02 46.05 46.05 0 0 1-4.38 4.93 188.52 188.52 0 0 1-6.95 6.55L20 35.58Zm0-4.5c2.67-2.39 4.86-4.43 6.58-6.14 1.73-1.7 3.09-3.2 4.09-4.46 1-1.26 1.7-2.39 2.08-3.38.39-.98.58-1.96.58-2.93a5.65 5.65 0 0 0-5.83-5.83c-1.3 0-2.51.36-3.63 1.1a5.67 5.67 0 0 0-2.29 2.81h-3.16a5.67 5.67 0 0 0-2.3-2.81 6.45 6.45 0 0 0-3.62-1.1 5.65 5.65 0 0 0-5.83 5.83c0 .97.2 1.95.58 2.94.39.98 1.08 2.1 2.08 3.37a52.1 52.1 0 0 0 4.09 4.46c1.72 1.7 3.91 3.76 6.58 6.14Z\"/>
\t\t\t\t\t\t\t\t</svg></button>
\t\t\t\t\t\t\t</favorite-button>";
}
} else {
// line 145
echo "<svg class=\"profile-avatar-image\" xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 358 500\" width=\"358\" height=\"500\" fill=\"none\"><g clip-path=\"url(#a)\"><path fill=\"#F3F3F3\" d=\"M0 0h357.14v500H0z\"/><path fill=\"#E0E0E0\" d=\"M238.51 119.9c-1.21 6.1-5.04 15.97-5.4 21.42a85.61 85.61 0 0 0-.02 9.15c.26.07.45.15.54.24 1.75 1.47 6.45 5.1 7.15 13.32.68 8.24-6.8 13.34-6.8 13.34l-.19.12c-.07 3.79-.42 9.24-1.56 12.9-1.92 6.08-6.97 13.66-7.67 16.45-.68 2.8-5.75 14.81-5.21 20.1.51 5.27 1.73 17.44-.19 24.37-1.91 6.9-6.8 13.67-8.37 15.63-1.56 1.97-3.83 6.9-4.34 8.74-.52 1.8-10.64 18.27-13.42 20.4-2.78 2.16-4.89 7.43-7.5 10.54a15.39 15.39 0 0 0-3.49 9.88c0 3.13.9 7.9 2.46 9.7 1.56 1.83 8.18 10.56 9.93 16.49 1.73 5.92 5.05 21.55 5.75 26.17.68 4.6 1.38 17.62 2.43 23.05 1.05 5.43 2.08 14.65 4.89 17.13 2.78 2.46 8.18 5.92 9.23 8.57 1.05 2.62 1.05 6.25-.51 7.4-1.6 1.14-5.94 6.6-7.16 10.04-1.21 3.46-1.4 9.22-1.56 11.05-.19 1.8-3.67 4.1-4.89 4.77-1.21.66-8.53 1.48-10.28 1.48-1.73 0-2.78 2.13-4.19 1.8a4.14 4.14 0 0 1-2.61-1.97c-1.22.17-3.14 1.48-3.65.33-1.57.5-4.53.16-5.05-.98-.54-1.17 0-3.63 2.95-4.45 2.96-.82 5.23-1.33 6.28-1.66 1.06-.33 2.08-3.28 2.62-4.61.4-1.03 1.26-3.33 1.24-6.8-.75-.16-1.52.06-1.94.55-.7.82-.54 3.62-1.22 5.26-.7 1.67-3.48 3.14-5.4 2.81-1.91-.33-9.41.17-10.98.66-1.57.49-2.78.98-2.78-1.31 0-2.32 2.08-5.27 3.64-6.6 1.57-1.31 3.32-6.25 4.19-7.9.86-1.65 2.27-6.6 2.78-8.23.54-1.64 2.45-4.78 3.16-8.57.67-3.79-2.97-11.19-4.73-13.34-1.73-2.13-9.23-15.63-15.14-25.51-5.94-9.88-5.75-20.9-6.1-22.4-.35-1.48.7-3.96-.54-5.6-1.22-1.63-3.3-9.87-3.3-11.51 0-1.66-1.4-5.62-2.97-9.06-1.56-3.46-5.75-15.99-6.61-20.25-.89-4.28-10.47-22.23-13.6-45.94-1.66-12.6.65-21.05 3.64-27.13-1.1-1.9-4.6-7.75-5.91-9.27-1.57-1.8-6.78-12-8.35-13.67-1.59-1.64-4.53-7.72-3.5-11.51 1.05-3.8 5.58-15.48 6.45-17.63.89-2.13 8.37-19.6 10.28-22.38 1.92-2.8 3.84-9.55 4.19-11.54.35-1.96 7.15-14.98 9.42-17.27 2.24-2.32 10.96-4.28 15.33-3.3 0-.42-.1-.87-.23-1.29-12.32-2.5-7.95-18.65-7.44-19.96.52-1.31 1.22-9.55 1.22-13.16 0-3.63 1.92-9.38 2.27-11.37.35-1.97-.35-3.8.35-8.9-1.05.68-4.37 4.29-5.07 5.46 0 .82-1.03 1.63-1.92 1.63-.87 0-1.03.99-1.57 1.97-.51.98-1.38.5-1.91-.82-.52-1.3-2.08-6.08-2.08-7.4 0 0-1.06 1.15-1.92.99.16.98-.54 1.96-.87 2.95-.35 1-1.05 3.3-1.91 3.3-.9 0-.9-1.48-.7-2.46a152 152 0 0 1 1.21-6.27c.16-.66-.7-2.3.35-3.12 1.05-.84 1.73-1.99 3.13-3.3 1.4-1.3 3.67-4.93 3.49-5.75-.17-.82.51-2.48 2.61-2.48 2.09 0 2.62-.5 6.27-.99 3.67-.49 10.98-5.1 12.55-5.43 1.57-.33 3.48-1.47 4.7-1.66 1.24-.16 2.27-.66 3.32.19 1.05.82 1.75.98 6.26.65 4.54-.33 39.04 2.62 41.5 3.12 2.42.49 8.88 1.5 10.6.81 1.76-.65 4.54 1.18 5.4 2.81.9 1.64 1.4 7.75 1.24 10.2-.18 2.49 2.95 16.49 3.3 27.02.35 10.53-4.35 23.71-5.57 29.8ZM149.8 63.09a2.75 2.75 0 0 0-1.26 2.36c0 .98.41 3.37.41 3.37s0 .58 1.06-.4c-.21-1.2-.21-5.33-.21-5.33Zm6.47 53.53c-.96-1.34-1.75-3.4-2.55-6.6a11.52 11.52 0 0 0-.07 5.94c.56 2.1 4 3.88 5.36 4.54-.84-1.54-2.08-2.95-2.74-3.88Zm5.92 51.86c-.73-.8-4.8-6.2-7.84-10.27l-1.21.89s-6.8 11.37-10.28 15.16c-3.49 3.77-5.92 13.49-11 18.92-3.47 3.95-.5 5.45-.5 5.45s4.18 8.7 5.58 11.19c1.29 2.3 3.16 4.82 4.25 5.73 5.12-6.3 16.86-15.21 19.43-17.92 2.97-3.12 5.07-2.46 7.5-4.94 2.43-2.46 1.92-7.07 2.43-10.54-8.36-1.96-8.36-11.35-8.36-13.67Zm46.18-105.7c-2.27-.82-12.71-3.3-12.71-3.3l-.17.28c2.74 1.92 7.6 5.76 8.7 9.62 1.56 5.43 3.13 13 3.48 19.43.33 5.9 1.68 21.02 5.03 28.65 1.03-3.28 3.78-7.89 5.6-10.89 1.92-3.1 2.09-3.76 4-7.72 0-7.91 1.6-28.65 1.6-31.95-2.98-.33-13.26-3.3-15.53-4.12Z\"/><circle cx=\"179.07\" cy=\"250.1\" r=\"80.03\" fill=\"#BDBDBD\"/><path fill=\"#E7E7E7\" d=\"M205.08 242.6h-7.5v-18.76a18.76 18.76 0 0 0-37.52 0v18.76h-7.5a7.5 7.5 0 0 0-7.5 7.5v37.52a7.5 7.5 0 0 0 7.5 7.5h52.52a7.5 7.5 0 0 0 7.5-7.5V250.1a7.5 7.5 0 0 0-7.5-7.5Zm-26.26 33.76a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Zm7.5-33.76h-15v-18.76a7.5 7.5 0 0 1 15 0v18.76Z\"/></g><defs><clipPath id=\"a\"><rect width=\"357.14\" height=\"500\" fill=\"#fff\" rx=\"20\"/></clipPath></defs></svg>";
}
// line 147
echo "</div>
\t\t\t\t<div class=\"profile-info\">
\t\t\t\t\t<div class=\"profile-contacts profile-contacts--desktop\">";
// line 150
$this->loadTemplate("ProfilePreview/components/profile-phone.partial.twig", "ProfilePreview/page.html.twig", 150)->display(twig_array_merge($context, []));
// line 152
echo "<div class=\"profile-contacts-text clr-green-text\">Сообщите мне, что звоните с сайта \"МосДосуг\" и я всё пойму</div>
\t\t\t\t\t\t<div class=\"profile-contacts-answer-type\">
\t\t\t\t\t\t\t<span>Отвечаю на</span>
\t\t\t\t\t\t\t";
// line 156
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.', 156, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 156), "answeringTo", [], "any", false, false, false, 156)) > 0)) {
// line 157
echo "\t\t\t\t\t\t\t\t";
$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.', 157, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 157), "answeringTo", [], "any", false, false, false, 157));
$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 158
echo "\t\t\t\t\t\t\t\t\t";
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, 158)) {
echo ",";
}
// line 159
echo "\t\t\t\t\t\t\t\t";
++$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 160
echo "\t\t\t\t\t\t\t";
} else {
// line 161
echo "\t\t\t\t\t\t\t\tНе указано
\t\t\t\t\t\t\t";
}
// line 163
echo "\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-contacts-answer-time\">";
// line 164
echo twig_call_macro($macros["macros"], "macro__time_to_work", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 164, $this->source); })())], 164, $context, $this->getSourceContext());
echo "</div>
\t\t\t\t\t</div>
\t\t\t\t\t";
// line 177
$this->loadTemplate("ProfilePreview/components/profile-approved.partial.twig", "ProfilePreview/page.html.twig", 177)->display(twig_array_merge($context, ["type" => "desktop"]));
// line 180
$this->loadTemplate("ProfilePreview/components/profile-location.partial.twig", "ProfilePreview/page.html.twig", 180)->display(twig_array_merge($context, ["type" => "desktop", "template" => "profile"]));
// line 183
echo "\t\t\t\t\t<div class=\"profile-time d-flex\">";
// line 184
ob_start();
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.', 184, $this->source); })()), "city", [], "any", false, false, false, 184), "countryCode", [], "any", false, false, false, 184)), "html", null, true);
$context["currencyProfile"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 185
echo "<div class=\"profile-time-table\">";
// line 186
ob_start();
echo twig_call_macro($macros["macros"], "macro__get_time_price", [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.', 186, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 186), "oneHourPrice", [], "any", false, false, false, 186), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 186, $this->source); })())], 186, $context, $this->getSourceContext());
$context["oneHour"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 187
ob_start();
echo twig_call_macro($macros["macros"], "macro__get_time_price", [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.', 187, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 187), "twoHoursPrice", [], "any", false, false, false, 187), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 187, $this->source); })())], 187, $context, $this->getSourceContext());
$context["twoHours"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 188
ob_start();
echo twig_call_macro($macros["macros"], "macro__get_time_price", [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.', 188, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 188), "nightPrice", [], "any", false, false, false, 188), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 188, $this->source); })())], 188, $context, $this->getSourceContext());
$context["fullNight"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 189
$context["express"] = ((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.', 189, $this->source); })()), "expressPricing", [], "any", false, false, false, 189), "provided", [], "any", false, false, false, 189)) ? (twig_call_macro($macros["macros"], "macro__get_time_price", [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.', 189, $this->source); })()), "expressPricing", [], "any", false, false, false, 189), "price", [], "any", false, false, false, 189), $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.', 189, $this->source); })()), "city", [], "any", false, false, false, 189), "countryCode", [], "any", false, false, false, 189))], 189, $context, $this->getSourceContext())) : ("-"));
// line 190
echo "<div class=\"profile-time-heading mb-1 fw-700\">У меня</div>
\t\t\t\t\t\t\t<div class=\"profile-time-cell-list d-flex\">
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Час</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
// line 194
echo twig_escape_filter($this->env, (isset($context["oneHour"]) || array_key_exists("oneHour", $context) ? $context["oneHour"] : (function () { throw new RuntimeError('Variable "oneHour" does not exist.', 194, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">2 часа</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
// line 198
echo twig_escape_filter($this->env, (isset($context["twoHours"]) || array_key_exists("twoHours", $context) ? $context["twoHours"] : (function () { throw new RuntimeError('Variable "twoHours" does not exist.', 198, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Ночь</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
// line 202
echo twig_escape_filter($this->env, (isset($context["fullNight"]) || array_key_exists("fullNight", $context) ? $context["fullNight"] : (function () { throw new RuntimeError('Variable "fullNight" does not exist.', 202, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Экспресс</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
// line 206
echo twig_escape_filter($this->env, (isset($context["express"]) || array_key_exists("express", $context) ? $context["express"] : (function () { throw new RuntimeError('Variable "express" does not exist.', 206, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-time-table\">";
// line 212
ob_start();
echo twig_call_macro($macros["macros"], "macro__get_time_price", [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); })()), "takeOutPricing", [], "any", false, false, false, 212), "oneHourPrice", [], "any", false, false, false, 212), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 212, $this->source); })())], 212, $context, $this->getSourceContext());
$context["oneHour"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 213
ob_start();
echo twig_call_macro($macros["macros"], "macro__get_time_price", [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); })()), "takeOutPricing", [], "any", false, false, false, 213), "twoHoursPrice", [], "any", false, false, false, 213), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 213, $this->source); })())], 213, $context, $this->getSourceContext());
$context["twoHours"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 214
ob_start();
echo twig_call_macro($macros["macros"], "macro__get_time_price", [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.', 214, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 214), "nightPrice", [], "any", false, false, false, 214), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 214, $this->source); })())], 214, $context, $this->getSourceContext());
$context["fullNight"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 216
echo "<div class=\"profile-time-heading mb-1 fw-700\">У Вас</div>
\t\t\t\t\t\t\t<div class=\"profile-time-cell-list d-flex\">
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Час</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
// line 220
echo twig_escape_filter($this->env, (isset($context["oneHour"]) || array_key_exists("oneHour", $context) ? $context["oneHour"] : (function () { throw new RuntimeError('Variable "oneHour" does not exist.', 220, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">2 часа</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
// line 224
echo twig_escape_filter($this->env, (isset($context["twoHours"]) || array_key_exists("twoHours", $context) ? $context["twoHours"] : (function () { throw new RuntimeError('Variable "twoHours" does not exist.', 224, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Ночь</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
// line 228
echo twig_escape_filter($this->env, (isset($context["fullNight"]) || array_key_exists("fullNight", $context) ? $context["fullNight"] : (function () { throw new RuntimeError('Variable "fullNight" does not exist.', 228, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Экспресс</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">-</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"profile-stat\">
\t\t\t\t\t<div class=\"profile-stat-rating d-flex-c\">
\t\t\t\t\t\t<svg class=\"mr-1\" width=\"16\" height=\"16\" fill=\"none\"><path fill=\"#FF3F40\" d=\"M7.5 12.86c.3-.22.7-.22 1 0l3.02 2.3a.82.82 0 0 0 1.27-.9l-1.19-3.82c-.1-.33.02-.7.3-.9L15 7.23a.82.82 0 0 0-.49-1.48h-3.74a.82.82 0 0 1-.78-.57L8.78 1.24a.82.82 0 0 0-1.56 0L6.01 5.18a.82.82 0 0 1-.78.57H1.49a.82.82 0 0 0-.5 1.48l3.12 2.31c.27.2.4.57.29.9l-1.2 3.83a.82.82 0 0 0 1.28.9l3.03-2.3Z\"/></svg>
\t\t\t\t\t\t<span class=\"fw-600 mr-2\">
\t\t\t\t\t\t\t";
// line 243
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.', 243, $this->source); })()), "html", null, true);
echo "
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<a href=\"#comments\">";
// line 245
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.', 245, $this->source); })()), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["commentPlural"]) || array_key_exists("commentPlural", $context) ? $context["commentPlural"] : (function () { throw new RuntimeError('Variable "commentPlural" does not exist.', 245, $this->source); })()), "html", null, true);
echo "</a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"profile-stat-table\">";
// line 248
echo twig_call_macro($macros["macros"], "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.', 248, $this->source); })()), "personParameters", [], "any", false, false, false, 248), "age", [], "any", false, false, false, 248)], 248, $context, $this->getSourceContext());
// line 249
echo twig_call_macro($macros["macros"], "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.', 249, $this->source); })()), "personParameters", [], "any", false, false, false, 249), "height", [], "any", false, false, false, 249)], 249, $context, $this->getSourceContext());
// line 250
echo twig_call_macro($macros["macros"], "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.', 250, $this->source); })()), "personParameters", [], "any", false, false, false, 250), "weight", [], "any", false, false, false, 250)], 250, $context, $this->getSourceContext());
// line 251
echo twig_call_macro($macros["macros"], "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.', 251, $this->source); })()), "personParameters", [], "any", false, false, false, 251), "breastSize", [], "any", false, false, false, 251)], 251, $context, $this->getSourceContext());
// line 252
if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("has_breast_type")) {
// line 253
echo "\t\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
\t\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Тип груди</span>
\t\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">";
// line 256
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.', 256, $this->source); })()), "personParameters", [], "any", false, false, false, 256), "breastType", [], "any", false, false, false, 256)) {
// line 257
echo "<a class=\"link\" target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_breast_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.', 257, $this->source); })()), "uriIdentity", [], "any", false, false, false, 257), "breastType" => $this->extensions['App\Twig\PersonParametersExtension']->breastTypeUri(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.', 257, $this->source); })()), "personParameters", [], "any", false, false, false, 257), "breastType", [], "any", false, false, false, 257))]), "html", null, true);
echo "\">";
// line 258
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->breastTypeLabel(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.', 258, $this->source); })()), "personParameters", [], "any", false, false, false, 258), "breastType", [], "any", false, false, false, 258)), [], "breast_types"), "html", null, true);
// line 259
echo "</a>";
} else {
// line 261
echo "-";
}
// line 263
echo "</span>
\t\t\t\t\t\t\t</div>";
}
// line 267
echo twig_call_macro($macros["macros"], "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.', 267, $this->source); })()), "personParameters", [], "any", false, false, false, 267), "clothSize", [], "any", false, false, false, 267)], 267, $context, $this->getSourceContext());
// line 268
echo twig_call_macro($macros["macros"], "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.', 268, $this->source); })()), "personParameters", [], "any", false, false, false, 268), "shoesSize", [], "any", false, false, false, 268)], 268, $context, $this->getSourceContext());
// line 270
echo twig_call_macro($macros["macros"], "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.', 270, $this->source); })()), "personParameters", [], "any", false, false, false, 270), "tattoo", [], "any", false, false, false, 270), true], 270, $context, $this->getSourceContext());
// line 271
echo twig_call_macro($macros["macros"], "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.', 271, $this->source); })()), "personParameters", [], "any", false, false, false, 271), "piercing", [], "any", false, false, false, 271), true], 271, $context, $this->getSourceContext());
// line 273
echo "<div class=\"profile-stat-table-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Телосложение</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">";
// line 276
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.', 276, $this->source); })()), "personParameters", [], "any", false, false, false, 276), "bodyType", [], "any", false, false, false, 276)) {
// line 277
echo "<a class=\"link\" href=\"";
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.', 277, $this->source); })()), "uriIdentity", [], "any", false, false, false, 277), "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.', 277, $this->source); })()), "personParameters", [], "any", false, false, false, 277), "bodyType", [], "any", false, false, false, 277))]), "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.', 277, $this->source); })()), "personParameters", [], "any", false, false, false, 277), "bodyType", [], "any", false, false, false, 277)), [], "body_types"), "html", null, true);
echo "</a>";
} else {
// line 279
echo "-";
}
// line 281
echo "</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Цвет волос</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">";
// line 286
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.', 286, $this->source); })()), "personParameters", [], "any", false, false, false, 286), "hairColor", [], "any", false, false, false, 286)) {
// line 287
echo "<a class=\"link\" target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_hair_color", ["city" => twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 287, $this->source); })()), "uriIdentity", [], "any", false, false, false, 287), "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.', 287, $this->source); })()), "personParameters", [], "any", false, false, false, 287), "hairColor", [], "any", false, false, false, 287)))]), "html", null, true);
echo "\">";
// line 288
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.', 288, $this->source); })()), "personParameters", [], "any", false, false, false, 288), "hairColor", [], "any", false, false, false, 288)), [], "hair_colors"), "html", null, true);
// line 289
echo "</a>";
} else {
// line 291
echo "-";
}
// line 293
echo "</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Национальность</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">";
// line 298
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.', 298, $this->source); })()), "personParameters", [], "any", false, false, false, 298), "nationality", [], "any", false, false, false, 298)) {
// line 299
echo "<a class=\"link\" target=\"_blank\" href=\"";
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.', 299, $this->source); })()), "uriIdentity", [], "any", false, false, false, 299), "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.', 299, $this->source); })()), "personParameters", [], "any", false, false, false, 299), "nationality", [], "any", false, false, false, 299))]), "html", null, true);
echo "\">";
// line 300
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.', 300, $this->source); })()), "personParameters", [], "any", false, false, false, 300), "nationality", [], "any", false, false, false, 300)), [], "nationalities"), "html", null, true);
// line 301
echo "</a>";
} else {
// line 303
echo "-";
}
// line 305
echo "</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Интимная стрижка</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">";
// line 310
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.', 310, $this->source); })()), "personParameters", [], "any", false, false, false, 310), "privateHaircut", [], "any", false, false, false, 310)) {
// line 311
echo "<a class=\"link\" target=\"_blank\" href=\"";
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.', 311, $this->source); })()), "uriIdentity", [], "any", false, false, false, 311), "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.', 311, $this->source); })()), "personParameters", [], "any", false, false, false, 311), "privateHaircut", [], "any", false, false, false, 311))]), "html", null, true);
echo "\">";
// line 312
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.', 312, $this->source); })()), "personParameters", [], "any", false, false, false, 312), "privateHaircut", [], "any", false, false, false, 312)), [], "private_haircuts"), "html", null, true);
// line 313
echo "</a>";
} else {
// line 315
echo "-";
}
// line 317
echo "</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"profile-stat-table\">
\t\t\t\t\t\t";
// line 321
$context["threshold"] = twig_get_attribute($this->env, $this->source, twig_date_modify_filter($this->env, "now", "-14 days"), "getTimestamp", [], "method", false, false, false, 321);
// line 322
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.', 322, $this->source); })()), "updatedAt", [], "any", false, false, false, 322)) ? (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.', 322, $this->source); })()), "updatedAt", [], "any", false, false, false, 322), "getTimestamp", [], "method", false, false, false, 322)) : (null));
// line 323
echo twig_call_macro($macros["macros"], "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.', 323, $this->source); })()), "createdAt", [], "any", false, false, false, 323), "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.', 323, $this->source); })()), "createdAt", [], "any", false, false, false, 323), "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.', 323, $this->source); })()), "createdAt", [], "any", false, false, false, 323), "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.', 323, $this->source); })()), "createdAt", [], "any", false, false, false, 323), "H:i"))], 323, $context, $this->getSourceContext());
// line 324
if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 324, $this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold", $context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.', 324, $this->source); })()))) {
// line 325
echo twig_call_macro($macros["macros"], "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.', 325, $this->source); })()), "updatedAt", [], "any", false, false, false, 325), "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.', 325, $this->source); })()), "updatedAt", [], "any", false, false, false, 325), "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.', 325, $this->source); })()), "updatedAt", [], "any", false, false, false, 325), "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.', 325, $this->source); })()), "updatedAt", [], "any", false, false, false, 325), "H:i"))], 325, $context, $this->getSourceContext());
}
// line 327
echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["ID анкеты", twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 327, $this->source); })()), "id", [], "any", false, false, false, 327)], 327, $context, $this->getSourceContext());
// line 328
echo "</div>
\t\t\t\t</div>
\t\t\t</div>";
// line 332
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.', 332, $this->source); })()), "deleted", [], "any", false, false, false, 332)) {
// line 333
$this->loadTemplate("ProfilePreview/components/deleted-profile.partial.twig", "ProfilePreview/page.html.twig", 333)->display(twig_array_merge($context, ["type" => "profile", "template" => "mobile"]));
}
// line 337
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.', 337, $this->source); })()), "photos", [], "any", false, false, false, 337), twig_get_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); })()), "selfies", [], "any", false, false, false, 337), twig_get_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); })()), "confirmedVideos", [], "any", false, false, false, 337)], 337, $context, $this->getSourceContext()) == "true") && !twig_get_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); })()), "deleted", [], "any", false, false, false, 337))) {
// line 338
$this->loadTemplate("ProfilePreview/components/media.partial.twig", "ProfilePreview/page.html.twig", 338)->display(twig_array_merge($context, ["template" => "profile"]));
}
// line 341
$this->loadTemplate("ProfilePreview/components/table-contacts.partial.twig", "ProfilePreview/page.html.twig", 341)->display(twig_array_merge($context, ["template" => "profile"]));
// line 343
echo "<div class=\"profile-location profile-block\">";
// line 344
$this->loadTemplate("ProfilePreview/components/profile-location.partial.twig", "ProfilePreview/page.html.twig", 344)->display(twig_array_merge($context, ["type" => "mobile", "template" => "profile"]));
// line 345
echo "</div>
\t\t\t
\t\t\t<div class=\"profile-stat-mobile profile-block\">
\t\t\t\t<div class=\"profile-stat-table-mobile d-flex-c\">";
// line 349
echo twig_call_macro($macros["macros"], "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.', 349, $this->source); })()), "personParameters", [], "any", false, false, false, 349), "age", [], "any", false, false, false, 349)], 349, $context, $this->getSourceContext());
// line 350
echo twig_call_macro($macros["macros"], "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.', 350, $this->source); })()), "personParameters", [], "any", false, false, false, 350), "height", [], "any", false, false, false, 350)], 350, $context, $this->getSourceContext());
// line 351
echo twig_call_macro($macros["macros"], "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.', 351, $this->source); })()), "personParameters", [], "any", false, false, false, 351), "weight", [], "any", false, false, false, 351)], 351, $context, $this->getSourceContext());
// line 352
echo twig_call_macro($macros["macros"], "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.', 352, $this->source); })()), "personParameters", [], "any", false, false, false, 352), "breastSize", [], "any", false, false, false, 352)], 352, $context, $this->getSourceContext());
// line 353
echo twig_call_macro($macros["macros"], "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.', 353, $this->source); })()), "personParameters", [], "any", false, false, false, 353), "clothSize", [], "any", false, false, false, 353)], 353, $context, $this->getSourceContext());
// line 354
echo twig_call_macro($macros["macros"], "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), "shoesSize", [], "any", false, false, false, 354)], 354, $context, $this->getSourceContext());
// line 356
echo twig_call_macro($macros["macros"], "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.', 356, $this->source); })()), "personParameters", [], "any", false, false, false, 356), "tattoo", [], "any", false, false, false, 356), true], 356, $context, $this->getSourceContext());
// line 357
echo twig_call_macro($macros["macros"], "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.', 357, $this->source); })()), "personParameters", [], "any", false, false, false, 357), "piercing", [], "any", false, false, false, 357), true], 357, $context, $this->getSourceContext());
// line 358
echo "</div>
\t\t\t\t<div class=\"profile-stat-rating d-flex-c\">
\t\t\t\t\t<svg class=\"mr-1\" width=\"16\" height=\"16\" fill=\"none\"><path fill=\"#FF3F40\" d=\"M7.5 12.86c.3-.22.7-.22 1 0l3.02 2.3a.82.82 0 0 0 1.27-.9l-1.19-3.82c-.1-.33.02-.7.3-.9L15 7.23a.82.82 0 0 0-.49-1.48h-3.74a.82.82 0 0 1-.78-.57L8.78 1.24a.82.82 0 0 0-1.56 0L6.01 5.18a.82.82 0 0 1-.78.57H1.49a.82.82 0 0 0-.5 1.48l3.12 2.31c.27.2.4.57.29.9l-1.2 3.83a.82.82 0 0 0 1.28.9l3.03-2.3Z\"/></svg>
\t\t\t\t\t<span class=\"fw-600 mr-2\">
\t\t\t\t\t\t";
// line 363
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.', 363, $this->source); })()), "html", null, true);
echo "
\t\t\t\t\t</span>
\t\t\t\t\t<a href=\"#comments\">";
// line 365
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.', 365, $this->source); })()), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["commentPlural"]) || array_key_exists("commentPlural", $context) ? $context["commentPlural"] : (function () { throw new RuntimeError('Variable "commentPlural" does not exist.', 365, $this->source); })()), "html", null, true);
echo "</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"profile-stat-list d-flex\">
\t\t\t\t\t<div class=\"profile-stat-list-column d-flex\">
\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Телосложение</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
// line 373
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.', 373, $this->source); })()), "personParameters", [], "any", false, false, false, 373), "bodyType", [], "any", false, false, false, 373)) {
// line 374
echo "<a class=\"link\" href=\"";
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.', 374, $this->source); })()), "uriIdentity", [], "any", false, false, false, 374), "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.', 374, $this->source); })()), "personParameters", [], "any", false, false, false, 374), "bodyType", [], "any", false, false, false, 374))]), "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.', 374, $this->source); })()), "personParameters", [], "any", false, false, false, 374), "bodyType", [], "any", false, false, false, 374)), [], "body_types"), "html", null, true);
echo "</a>";
} else {
// line 376
echo "-";
}
// line 378
echo "</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Цвет волос</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
// line 383
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.', 383, $this->source); })()), "personParameters", [], "any", false, false, false, 383), "hairColor", [], "any", false, false, false, 383)) {
// line 384
echo "<a class=\"link\" target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_hair_color", ["city" => twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 384, $this->source); })()), "uriIdentity", [], "any", false, false, false, 384), "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.', 384, $this->source); })()), "personParameters", [], "any", false, false, false, 384), "hairColor", [], "any", false, false, false, 384)))]), "html", null, true);
echo "\">";
// line 385
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->hairColorLabel(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 385, $this->source); })()), "personParameters", [], "any", false, false, false, 385), "hairColor", [], "any", false, false, false, 385)), [], "hair_colors"), "html", null, true);
// line 386
echo "</a>";
} else {
// line 388
echo "-";
}
// line 390
echo "</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
// line 392
if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("has_breast_type")) {
// line 393
echo "\t\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Тип груди</span>
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
// line 396
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), "hairColor", [], "any", false, false, false, 396)) {
// line 397
echo "<a class=\"link\" target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_breast_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.', 397, $this->source); })()), "uriIdentity", [], "any", false, false, false, 397), "breastType" => $this->extensions['App\Twig\PersonParametersExtension']->breastTypeUri(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.', 397, $this->source); })()), "personParameters", [], "any", false, false, false, 397), "breastType", [], "any", false, false, false, 397))]), "html", null, true);
echo "\">";
// line 398
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->breastTypeLabel(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.', 398, $this->source); })()), "personParameters", [], "any", false, false, false, 398), "breastType", [], "any", false, false, false, 398)), [], "breast_types"), "html", null, true);
// line 399
echo "</a>";
} else {
// line 401
echo "-";
}
// line 403
echo "</span>
\t\t\t\t\t\t\t</div>";
}
// line 406
echo "<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Национальность</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
// line 409
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.', 409, $this->source); })()), "personParameters", [], "any", false, false, false, 409), "nationality", [], "any", false, false, false, 409)) {
// line 410
echo "<a class=\"link\" target=\"_blank\" href=\"";
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.', 410, $this->source); })()), "uriIdentity", [], "any", false, false, false, 410), "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.', 410, $this->source); })()), "personParameters", [], "any", false, false, false, 410), "nationality", [], "any", false, false, false, 410))]), "html", null, true);
echo "\">";
// line 411
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.', 411, $this->source); })()), "personParameters", [], "any", false, false, false, 411), "nationality", [], "any", false, false, false, 411)), [], "nationalities"), "html", null, true);
// line 412
echo "</a>";
} else {
// line 414
echo "-";
}
// line 416
echo "</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Интимная стрижка</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
// line 421
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.', 421, $this->source); })()), "personParameters", [], "any", false, false, false, 421), "privateHaircut", [], "any", false, false, false, 421)) {
// line 422
echo "<a class=\"link\" target=\"_blank\" href=\"";
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.', 422, $this->source); })()), "uriIdentity", [], "any", false, false, false, 422), "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.', 422, $this->source); })()), "personParameters", [], "any", false, false, false, 422), "privateHaircut", [], "any", false, false, false, 422))]), "html", null, true);
echo "\">";
// line 423
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.', 423, $this->source); })()), "personParameters", [], "any", false, false, false, 423), "privateHaircut", [], "any", false, false, false, 423)), [], "private_haircuts"), "html", null, true);
// line 424
echo "</a>";
} else {
// line 426
echo "-";
}
// line 428
echo "</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"profile-stat-list-column d-flex\">";
// line 432
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.', 432, $this->source); })()), "createdAt", [], "any", false, false, false, 432)) {
// line 433
echo "<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Дата регистрации</span>
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
// line 436
echo twig_escape_filter($this->env, ((((((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.', 436, $this->source); })()), "createdAt", [], "any", false, false, false, 436), "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.', 436, $this->source); })()), "createdAt", [], "any", false, false, false, 436), "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.', 436, $this->source); })()), "createdAt", [], "any", false, false, false, 436), "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.', 436, $this->source); })()), "createdAt", [], "any", false, false, false, 436), "H:i")), "html", null, true);
// line 437
echo "</span>
\t\t\t\t\t\t\t</div>";
}
// line 441
$context["threshold"] = twig_get_attribute($this->env, $this->source, twig_date_modify_filter($this->env, "now", "-14 days"), "getTimestamp", [], "method", false, false, false, 441);
// line 442
$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.', 442, $this->source); })()), "updatedAt", [], "any", false, false, false, 442)) ? (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.', 442, $this->source); })()), "updatedAt", [], "any", false, false, false, 442), "getTimestamp", [], "method", false, false, false, 442)) : (""));
// line 443
if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 443, $this->source); })()) && ((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 443, $this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold", $context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.', 443, $this->source); })())))) {
// line 444
echo "<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Дата обновления</span>
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
// line 447
echo twig_escape_filter($this->env, ((((((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.', 447, $this->source); })()), "updatedAt", [], "any", false, false, false, 447), "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.', 447, $this->source); })()), "updatedAt", [], "any", false, false, false, 447), "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.', 447, $this->source); })()), "updatedAt", [], "any", false, false, false, 447), "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.', 447, $this->source); })()), "updatedAt", [], "any", false, false, false, 447), "H:i")), "html", null, true);
// line 448
echo "</span>
\t\t\t\t\t\t\t</div>";
}
// line 452
echo "<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">ID анкеты</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
// line 455
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.', 455, $this->source); })()), "id", [], "any", false, false, false, 455), "html", null, true);
// line 456
echo "</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>";
// line 461
$this->loadTemplate("ProfilePreview/components/profile-approved.partial.twig", "ProfilePreview/page.html.twig", 461)->display(twig_array_merge($context, ["type" => "mobile"]));
// line 462
echo "</div>
\t\t</div>
\t\t";
// line 466
echo "\t\t<div class=\"profile-block profile-block--about d-flex white-round\">
\t\t\t<h2 class=\"text-xl\">О СЕБЕ</h2>
\t\t\t<p class=\"text-basic\">";
// line 468
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.', 468, $this->source); })()), "description", [], "any", false, false, false, 468), "html", null, true));
echo "</p>
\t\t</div>
\t\t";
// line 472
echo "\t\t";
$context["template"] = "profiles";
// line 473
echo "\t\t";
$context["mappingService"] = ((((isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 473, $this->source); })()) == "profiles")) ? (twig_array_filter($this->env, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 473, $this->source); })()), function ($__serviceGroup__, $__group__) use ($context, $macros) { $context["serviceGroup"] = $__serviceGroup__; $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.', 473, $this->source); })()), "masseur", [], "any", false, false, false, 473) || !twig_in_filter((isset($context["group"]) || array_key_exists("group", $context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.', 473, $this->source); })()), (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups", $context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.', 473, $this->source); })()))); })) : ((isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 473, $this->source); })())));
// line 474
echo "\t\t";
$context["haveServices"] = false;
// line 475
echo "\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["mappingService"]) || array_key_exists("mappingService", $context) ? $context["mappingService"] : (function () { throw new RuntimeError('Variable "mappingService" does not exist.', 475, $this->source); })()));
foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
// line 476
echo "\t\t\t";
// line 477
echo "\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 478
echo "\t\t\t\t";
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.', 478, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 478)) {
// line 479
echo "\t\t\t\t\t";
$context["haveServices"] = true;
// line 480
echo "\t\t\t\t";
}
// line 481
echo "\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 482
echo "\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 483
echo "\t\t";
if ((isset($context["haveServices"]) || array_key_exists("haveServices", $context) ? $context["haveServices"] : (function () { throw new RuntimeError('Variable "haveServices" does not exist.', 483, $this->source); })())) {
// line 484
echo "\t\t<div class=\"profile-block d-flex white-round mb-4\">
\t\t\t<div class=\"profile-block-heading profile-block-heading--service d-flex-c\">
\t\t\t\t<h2 class=\"text-xl\">УСЛУГИ, ОКАЗЫВАЕМЫЕ ДЕВУШКОЙ</h2>
\t\t\t\t<div class=\"service-heading\">
\t\t\t\t\t<div class=\"service-heading-list d-flex-c\">
\t\t\t\t\t\t<div class=\"d-flex-c\">
\t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
\t\t\t\t\t\t\t\t<use xlink:href=\"#service-green\"></use>
\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t<span>- включено в стоимость</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"d-flex-c\">
\t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
\t\t\t\t\t\t\t\t<use xlink:href=\"#service-orange\"></use>
\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t<span>- по симпатии</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"d-flex-c\">
\t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
\t\t\t\t\t\t\t\t<use xlink:href=\"#service-red\"></use>
\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t<span>- за дополнительную плату</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
// line 513
echo "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"profile-services\">";
// line 518
$this->loadTemplate("ProfilePreview/components/services.partial.twig", "ProfilePreview/page.html.twig", 518)->display(twig_array_merge($context, ["template" => "profiles"]));
// line 519
echo "</div>";
// line 521
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.', 521, $this->source); })()), "clientTypes", [], "any", false, false, false, 521)) > 0)) {
// line 522
echo "<div class=\"service-special d-flex-c\">
\t\t\t\t\t<h3 class=\"service-special-title\">Услуги для</h3>
\t\t\t\t\t<div class=\"service-special-list d-flex-c\">";
// line 525
$context["client_types_text"] = ["1", "2", "3", "4", "5"];
// line 526
$context["includeService"] = false;
// line 527
$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.', 527, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["clientTypeText"]) {
// line 528
$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.', 528, $this->source); })()), "clientTypes", [], "any", false, false, false, 528));
foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
// line 529
if (($context["clientTypeText"] == $context["clientType"])) {
// line 530
$context["includeService"] = true;
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientType'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 533
if (($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]) != "TRANS")) {
// line 534
if (((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 534, $this->source); })()) == true)) {
// line 535
echo "<div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 20 20\" width=\"20\"><use xlink:href=\"#service-include\"></use></svg><span>";
// line 536
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]), [], "client_types"), "html", null, true);
// line 537
echo "</span></div>";
} else {
}
}
// line 544
$context["includeService"] = false;
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientTypeText'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 546
echo "</div>
\t\t\t\t</div>";
}
// line 550
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.', 550, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 550), "locations", [], "any", false, false, false, 550)) > 0)) {
// line 551
echo "<div class=\"service-special d-flex-c\">
\t\t\t\t\t<h3 class=\"service-special-title\">Выезд</h3>
\t\t\t\t\t<div class=\"service-special-list d-flex-c\">";
// line 554
$context["locations_text"] = ["1", "2", "3", "4", "5", "6"];
// line 555
$context["includeService"] = false;
// line 556
$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.', 556, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["locationsText"]) {
// line 557
$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.', 557, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 557), "locations", [], "any", false, false, false, 557));
foreach ($context['_seq'] as $context["_key"] => $context["locations"]) {
// line 558
if (($context["locationsText"] == $context["locations"])) {
// line 559
$context["includeService"] = true;
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locations'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 562
if (((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 562, $this->source); })()) == true)) {
// line 563
echo "<div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 20 20\" width=\"20\"><use xlink:href=\"#service-include\"></use></svg><span>";
// line 564
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);
// line 565
echo "</span></div>";
} else {
}
// line 571
$context["includeService"] = false;
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locationsText'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 573
echo "</div>
\t\t\t\t</div>";
}
// line 576
echo "</div>
\t\t";
}
// line 578
echo "
\t\t";
// line 580
echo "\t\t<div class=\"profile-map profile-map--desktop white-round mb-4 skeleton\">
\t\t\t<div class=\"profile-map-block\" id=\"profile-map\"></div>
\t\t</div>
\t\t";
// line 585
if (($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("profile_comments") && !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 585, $this->source); })()), "deleted", [], "any", false, false, false, 585))) {
// line 586
$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.', 586, $this->source); })()), "comments", [], "any", false, false, false, 586));
// line 587
echo "<noindex>
\t\t\t\t<div class=\"review profile-block d-flex white-round mb-4\"
\t\t\t\t\t\tdata-user=\"";
// line 589
echo (($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.', 589, $this->source); })()), "user", [], "any", false, false, false, 589))) ? ("true") : ("false"));
echo "\"
\t\t\t\t\t\tdata-url=\"";
// line 590
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.', 590, $this->source); })()), "id", [], "any", false, false, false, 590)]), "html", null, true);
echo "\"
\t\t\t\t\t\tdata-reg-url=\"";
// line 591
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
echo "\"
\t\t\t\t\t\t";
// line 592
if (array_key_exists("comment_form", $context)) {
// line 593
echo "\t\t\t\t\t\t\tdata-entity-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["comment_form"]) || array_key_exists("comment_form", $context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.', 593, $this->source); })()), "entity_id", [], "any", false, false, false, 593), "vars", [], "any", false, false, false, 593), "id", [], "any", false, false, false, 593), "html", null, true);
echo "\"
\t\t\t\t\t\t\tdata-mark=\"";
// line 594
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["comment_form"]) || array_key_exists("comment_form", $context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.', 594, $this->source); })()), "mark", [], "any", false, false, false, 594), "vars", [], "any", false, false, false, 594), "full_name", [], "any", false, false, false, 594), "html", null, true);
echo "\"
\t\t\t\t\t\t\tdata-text=\"";
// line 595
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["comment_form"]) || array_key_exists("comment_form", $context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.', 595, $this->source); })()), "text", [], "any", false, false, false, 595), "vars", [], "any", false, false, false, 595), "id", [], "any", false, false, false, 595), "html", null, true);
echo "\"
\t\t\t\t\t\t";
}
// line 597
echo "\t\t\t\t\t\tid=\"comments\"
\t\t\t\t>
\t\t\t\t\t<div class=\"review-heading d-flex-c mb-4\">
\t\t\t\t\t\t<h2 class=\"review-heading-title text-xl\">ОТЗЫВЫ</h2>
\t\t\t\t\t\t<div class=\"review-rating d-flex-c\" ";
// line 601
if (((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 601, $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.', 601, $this->source); })()), "html", null, true);
echo "\">";
// line 602
if (((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 602, $this->source); })()) > 0)) {
// line 603
echo "<meta itemprop=\"worstRating\" content=\"1\">
\t\t\t\t\t\t\t\t<meta itemprop=\"ratingValue\" content=\"";
// line 604
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.', 604, $this->source); })()), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t<meta itemprop=\"bestRating\" content=\"5\">
\t\t\t\t\t\t\t\t<meta itemprop=\"reviewCount\" content=\"";
// line 606
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.', 606, $this->source); })()), "html", null, true);
echo "\">";
}
// line 608
echo "<div class=\"review-rating-text d-flex-c\" itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\">
\t\t\t\t\t\t\t\t<meta itemprop=\"address\" content=\"";
// line 609
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.', 609, $this->source); })()), "city", [], "any", false, false, false, 609), "name", [], "any", false, false, false, 609), "html", null, true);
echo "\" />
\t\t\t\t\t\t\t\t<meta itemprop=\"telephone\" content=\"";
// line 610
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.', 610, $this->source); })()), "phoneNumber", [], "any", false, false, false, 610), "html", null, true);
echo "\" />
\t\t\t\t\t\t\t\t<meta itemprop=\"name\" content=\"Рейтинг анкеты ";
// line 611
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.', 611, $this->source); })()), "name", [], "any", false, false, false, 611), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t<span class=\"review-rating-value";
// line 612
echo ((((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 612, $this->source); })()) == 0)) ? (" zero") : (""));
echo " mr-1\">";
// line 613
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.', 613, $this->source); })()), "html", null, true);
// line 614
echo "</span>
\t\t\t\t\t\t\t\t<span class=\"review-rating-count\">
\t\t\t\t\t\t\t\t\tпо ";
// line 616
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.', 616, $this->source); })()), "html", null, true);
echo " ";
echo ((((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 616, $this->source); })()) == 1)) ? ("отзыву") : ("отзывам"));
// line 617
echo "</span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"rating-star-block d-flex-c\">";
// line 620
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 621
echo "<svg width=\"24\" height=\"25\" class=\"rating-star";
if (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 621, $this->source); })()) >= $context["i"])) {
echo " active";
}
echo "\"><use xlink:href=\"#review-star\"></use></svg>";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 623
echo "</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"review-comments d-flex\">";
// line 628
if (((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 628, $this->source); })()) > 0)) {
// line 629
echo "<div class=\"review-comments-list\" id=\"review-comments-list\">";
// line 630
$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.', 630, $this->source); })()), "comments", [], "any", false, false, false, 630));
$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 631
$this->loadTemplate("ProfilePreview/comment.html.twig", "ProfilePreview/page.html.twig", 631)->display($context);
++$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 633
echo "</div>";
} else {
// line 635
echo "<div class=\"review-comments-list review-comments-list-empty\" id=\"review-comments-list\">
\t\t\t\t\t\t\t\t<span class=\"review-comments-list-empty-text\">Пока отзывов нет. ";
// line 636
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.', 636, $this->source); })()), "user", [], "any", false, false, false, 636))) {
echo "Оставьте первый отзыв.";
}
echo "</span>
\t\t\t\t\t\t\t</div>";
}
// line 641
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.', 641, $this->source); })()), "user", [], "any", false, false, false, 641))) {
// line 642
echo "<div class=\"review-form skeleton\" id=\"review-form\">
\t\t\t\t\t\t\t\t";
// line 644
echo "\t\t\t\t\t\t\t</div>";
}
// line 646
echo "</div>
\t\t\t\t</div>
\t\t\t</noindex>";
}
// line 652
echo "\t\t";
// line 675
echo "
\t\t";
// line 677
echo "\t\t<div id=\"recommendations\">";
// line 678
$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.', 678, $this->source); })()), "id", [], "any", false, false, false, 678)];
// line 679
$this->loadTemplate("Recommendations/_profile_recommendations.html.twig", "ProfilePreview/page.html.twig", 679)->display(twig_array_merge($context, ["componentClass" => "mobile"]));
// line 680
echo "</div>
\t";
// line 682
echo twig_include($this->env, $context, "ProfilePreview/nearest_profiles.html.twig");
echo "
\t\t";
// line 685
echo "\t\t";
// line 686
echo "\t\t";
// line 688
$this->loadTemplate("ProfilePreview/components/mobile-contacts.partial.twig", "ProfilePreview/page.html.twig", 688)->display(twig_array_merge($context, ["template" => "profile"]));
// line 689
echo "</div>";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 692
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 693
echo "<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
\t<script>
\t\twindow.comment_data = {
\t\t\t'comment_create': '";
// line 696
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.', 696, $this->source); })()), "id", [], "any", false, false, false, 696)]), "html", null, true);
echo "',
\t\t\t'form_get': '";
// line 697
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.', 697, $this->source); })()), "id", [], "any", false, false, false, 697)]), "html", null, true);
echo "',
\t\t\t'sitekey': \"";
// line 698
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.', 698, $this->source); })()), "html", null, true);
echo "\",
\t\t\t'registrationUrl': \"";
// line 699
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
echo "\",
\t\t\t'avatar_anonymous': \"";
// line 700
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/avatar-user-anonymous.svg"), "html", null, true);
echo "\",
\t\t\t'avatar_default': \"";
// line 701
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/default-user-avatar.svg"), "html", null, true);
echo "\"
\t\t};
window._lD = {
setLastViewedListing: '";
// line 705
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 705, $this->source); })()), "request", [], "any", false, false, false, 705), "attributes", [], "any", false, false, false, 705), "get", ["_route"], "method", false, false, false, 705), "html", null, true);
echo "',
cityUrl: \"";
// line 706
echo twig_escape_filter($this->env, 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.', 706, $this->source); })()), "uriIdentity", [], "any", false, false, false, 706), "html", null, true);
echo "\",
};
\t\tdocument.addEventListener('header:update', (event) => {
\t\t\tconst userData = event.detail?.data;
\t\t\tif (userData.user && userData.role === 'advertiser') return;
\t\t\t";
// line 713
$this->loadTemplate("ProfileList/_favorite-button.partial.script.js", "ProfilePreview/page.html.twig", 713)->display($context);
// line 714
echo "\t\t});
\t\twindow.siteData = {
\t\t\tstations: {";
// line 718
$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 719
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, 719)), "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, 719), "uriIdentity", [], "any", false, false, false, 719), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 719)]), "html", null, true);
echo "\"";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 719)) {
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 721
echo "}
\t\t};
\t</script>";
// line 725
$this->displayParentBlock("javascripts", $context, $blocks);
// line 726
echo "<script>
\t\t(function() {
let isRenderRecommendationsWidget = false;
let isRenderBotWidget = false;
let isRenderRecentlyViewedWidget = false;
function loadWidgets() {
try {
if (!isRenderRecommendationsWidget) {
isRenderRecommendationsWidget = true;
//window.profileRecommendations.addViewedProfile(";
// line 736
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.', 736, $this->source); })()), "id", [], "any", false, false, false, 736), "html", null, true);
echo ")
\t\t\t\t\t\twindow.Recommendation.addViewedProfile(";
// line 737
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.', 737, $this->source); })()), "id", [], "any", false, false, false, 737), "html", null, true);
echo ")
}
// if (!isRenderBotWidget) {
// isRenderBotWidget = true;
// window.profileBotHelper.addViewedProfile(";
// line 741
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.', 741, $this->source); })()), "id", [], "any", false, false, false, 741), "html", null, true);
echo ");
// }
if (!isRenderRecentlyViewedWidget) {
isRenderRecentlyViewedWidget = true;
//window.recentlyViewed.addViewedProfile(";
// line 745
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.', 745, $this->source); })()), "id", [], "any", false, false, false, 745), "html", null, true);
echo ");
}
} catch (error) {
console.error(error);
}
}
document.addEventListener('DOMContentLoaded', function() {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
\t\t\t\tfunction createMap(id) {
\t\t\t\t\tnew window.YandexMap({
\t\t\t\t\t\tid:id,
\t\t\t\t\t\tlat:\"";
// line 761
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, 761), "latitude", [], "any", true, true, false, 761)) ? (_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, 761), "latitude", [], "any", false, false, false, 761), 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.', 761, $this->source); })()), "city", [], "any", false, false, false, 761), "mapCoordinate", [], "any", false, false, false, 761), "latitude", [], "any", false, false, false, 761))) : (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.', 761, $this->source); })()), "city", [], "any", false, false, false, 761), "mapCoordinate", [], "any", false, false, false, 761), "latitude", [], "any", false, false, false, 761))), "html", null, true);
echo "\",
\t\t\t\t\t\tlon:\"";
// line 762
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, 762), "longitude", [], "any", true, true, false, 762)) ? (_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, 762), "longitude", [], "any", false, false, false, 762), 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.', 762, $this->source); })()), "city", [], "any", false, false, false, 762), "mapCoordinate", [], "any", false, false, false, 762), "longitude", [], "any", false, false, false, 762))) : (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.', 762, $this->source); })()), "city", [], "any", false, false, false, 762), "mapCoordinate", [], "any", false, false, false, 762), "longitude", [], "any", false, false, false, 762))), "html", null, true);
echo "\",
\t\t\t\t\t\tlabel:\"";
// line 763
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/map-label.svg"), "html", null, true);
echo "\"
\t\t\t\t\t});
\t\t\t\t}
\t\t\t\tcreateMap('profile-map');
\t\t\t\tdocument.addEventListener('click', (e) => {
\t\t\t\t\tconst mobileMap = e.target.closest('#show-map-btn');
\t\t\t\t\tif (mobileMap) {
\t\t\t\t\t\tmobileMap.parentElement.classList.toggle('active');
\t\t\t\t\t\tcreateMap('profile-map-mobile');
\t\t\t\t\t}
\t\t\t\t});
\twindow.increase_views(";
// line 777
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.', 777, $this->source); })()), "id", [], "any", false, false, false, 777), "html", null, true);
echo ");
});
";
// line 786
echo " })();
\t</script>";
// line 789
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.', 789, $this->source); })()), "deleted", [], "any", false, false, false, 789)) {
// line 790
echo "<script type=\"module\">
\t\t\timport PhotoSwipeLightbox from 'https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe-lightbox.esm.min.js';
\t\t\tconst [w,h] = [window.innerWidth * 0.9, window.innerHeight * 0.9]
\t\t\tconst options = {
\t\t\t\tdataSource: [";
// line 795
$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.', 795, $this->source); })()));
// line 796
if (((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 796, $this->source); })()) && 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.', 796, $this->source); })()), "path", [], "any", false, false, false, 796))) {
// line 797
echo "{
\t\t\t\t\t\t\tsrc: '";
// line 798
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.', 798, $this->source); })()), "path", [], "any", false, false, false, 798), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "',
\t\t\t\t\t\t\twidth: w,
\t\t\t\t\t\t\theight: h,
\t\t\t\t\t\t\talt: 'Avatar'
\t\t\t\t\t\t},";
}
// line 805
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 805) && (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.', 805, $this->source); })()), "photos", [], "any", false, false, false, 805)) > 0))) {
// line 806
$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.', 806, $this->source); })()), "photos", [], "any", false, false, false, 806));
$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 807
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 807)) {
// line 808
echo "{
\t\t\t\t\t\t\t\t\tsrc: '";
// line 809
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, 809), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "',
\t\t\t\t\t\t\t\t\twidth: w,
\t\t\t\t\t\t\t\t\theight: h,
\t\t\t\t\t\t\t\t\talt: 'Фото профиля ";
// line 812
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 812), "html", null, true);
echo "'
\t\t\t\t\t\t\t\t},";
}
++$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 818
if (twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 818)) {
// line 819
echo "\t\t\t\t\t\t";
$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.', 819, $this->source); })()), "selfies", [], "any", false, false, false, 819));
$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 820
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 820)) {
// line 821
echo "{
\t\t\t\t\t\t\t\t\tsrc: '";
// line 822
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, 822), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "',
\t\t\t\t\t\t\t\t\twidth: w,
\t\t\t\t\t\t\t\t\theight: h,
\t\t\t\t\t\t\t\t\talt: 'Селфи профиля ";
// line 825
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 825), "html", null, true);
echo "'
\t\t\t\t\t\t\t\t}";
// line 826
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 826)) {
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 830
echo "],
\t\t\t\tshowHideAnimationType: 'none',
\t\t\t\tpswpModule: () => import('https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe.esm.min.js'),
\t\t\t};
\t\t\tconst lightbox = new PhotoSwipeLightbox(options);
\t\t\tlightbox.init();
\t\t\tconst avatarEl = document.querySelector('.profile-avatar');
\t\t\tconst mediaEl = document.querySelector('.profile-media');
\t\t\tif (avatarEl) avatarEl.classList.add('profile-avatar-loaded');
\t\t\tif (mediaEl) mediaEl.classList.add('profile-media-loaded');
\t\t\t;[...document.querySelectorAll('a[data-gallery]')].forEach(element => {
\t\t\t\telement.addEventListener('click', (e) => {
\t\t\t\t\te.preventDefault();
\t\t\t\t\tconst id = +e.currentTarget.getAttribute('data-index');
\t\t\t\t\tlightbox.loadAndOpen(id); // defines start slide index
\t\t\t\t})
\t\t\t});
\t\t</script>
\t\t<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe.min.css\" integrity=\"sha512-LFWtdAXHQuwUGH9cImO9blA3a3GfQNkpF2uRlhaOpSbDevNyK1rmAjs13mtpjvWyi+flP7zYWboqY+8Mkd42xA==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 857
public function block_iconsSet($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", "iconsSet"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "iconsSet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "iconsSet"));
// line 858
echo "<svg class=\"d-none\" xmlns=\"http://www.w3.org/2000/svg\">
<symbol id=\"service-green\" viewBox=\"0 0 20 20\">
<path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"M1.667 10c0-4.6 3.724-8.333 8.324-8.333 4.609 0 8.342 3.733 8.342 8.333s-3.733 8.333-8.341 8.333c-4.6 0-8.325-3.733-8.325-8.333ZM10 16.666A6.665 6.665 0 0 1 3.333 10 6.665 6.665 0 0 1 10 3.333a6.65 6.65 0 0 1 5.003 2.26l-5.676 5.671-2.432-2.432-1.062 1.055 3.494 3.494 6.544-6.544A6.64 6.64 0 0 1 16.666 10 6.665 6.665 0 0 1 10 16.666Z\" clip-rule=\"evenodd\"/>
</symbol>
<symbol id=\"service-orange\" viewBox=\"0 0 20 20\">
<path fill=\"#FF6D03\" fill-rule=\"evenodd\" d=\"M9.992 1.667c-4.6 0-8.325 3.733-8.325 8.333s3.724 8.333 8.325 8.333c4.608 0 8.341-3.733 8.341-8.333S14.6 1.667 9.992 1.667Zm-2.909 5a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm5.833 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-5.791 5c.583.991 1.641 1.666 2.875 1.666 1.233 0 2.291-.675 2.875-1.667h1.391a4.58 4.58 0 0 1-8.533 0h1.392ZM3.333 10A6.665 6.665 0 0 0 10 16.666 6.665 6.665 0 0 0 16.666 10 6.665 6.665 0 0 0 10 3.333 6.665 6.665 0 0 0 3.333 10Z\" clip-rule=\"evenodd\"/>
</symbol>
<symbol id=\"service-red\" viewBox=\"0 0 20 20\">
<path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M10 1.667A8.336 8.336 0 0 0 1.667 10c0 4.6 3.733 8.333 8.333 8.333S18.333 14.6 18.333 10 14.6 1.667 10 1.667Zm.833 7.5V5.832H9.166v3.333H5.833v1.667h3.333v3.333h1.667v-3.333h3.333V9.166h-3.333Zm-7.5.833A6.676 6.676 0 0 0 10 16.666 6.676 6.676 0 0 0 16.666 10 6.676 6.676 0 0 0 10 3.333 6.676 6.676 0 0 0 3.333 10Z\" clip-rule=\"evenodd\"/>
</symbol>
";
// line 871
echo " <symbol id=\"service-include\" viewBox=\"0 0 20 20\">
<path fill=\"#333\" d=\"M7.3 13.2L4 9.8l-1.2 1.1 4.6 4.7 10-10-1.1-1.2-8.9 8.8z\"/>
</symbol>
<symbol id=\"profile-approved\" viewBox=\"0 0 24 24\">
<path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"m20.56 9.215 2.44 2.78-2.44 2.78.34 3.68-3.61.82-1.89 3.18-3.4-1.46-3.4 1.47-1.89-3.18-3.61-.82.34-3.69L1 11.995l2.44-2.79-.34-3.68 3.61-.81 1.89-3.18 3.4 1.46 3.4-1.46 1.89 3.18 3.61.82-.34 3.68ZM7.42 11.41l3.17 3.17L17.18 8l1.41 1.41-8 8L6 12.82l1.42-1.41Z\" clip-rule=\"evenodd\"/>
</symbol>
<symbol id=\"review-star\" viewBox=\"0 0 24 25\">
<path d=\"M11.326 19.987c.399-.303.95-.303 1.348 0l4.127 3.14c.864.656 2.06-.185 1.737-1.222l-1.626-5.218c-.141-.452.019-.945.4-1.228l4.236-3.15c.862-.641.41-2.012-.664-2.012h-5.101c-.489 0-.92-.319-1.064-.786l-1.655-5.366c-.323-1.049-1.805-1.049-2.128 0L9.28 9.51a1.114 1.114 0 0 1-1.064.786H3.116c-1.073 0-1.526 1.37-.664 2.011l4.237 3.151c.38.283.54.776.399 1.229l-1.626 5.217c-.323 1.037.873 1.878 1.737 1.221l4.127-3.14Z\"/>
</symbol>
</svg>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 6
public function macro__show_tabs($__photos__ = null, $__selfies__ = null, $__videos__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"photos" => $__photos__,
"selfies" => $__selfies__,
"videos" => $__videos__,
"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 7
if ((((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.', 7, $this->source); })())) > 0)) || ( // line 8
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.', 8, $this->source); })())) > 0))) || ( // line 9
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.', 9, $this->source); })())) > 0)))) {
// line 11
echo "true";
} else {
// line 13
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 17
public function macro__profile_heading($__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", "_profile_heading"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_profile_heading"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_profile_heading"));
// line 18
echo "\t";
$context["price_apartments"] = ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 18, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 18)) ? (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.', 18, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 18), "oneHourPrice", [], "any", false, false, false, 18)) : (null));
// line 19
echo "\t";
$context["price_take_out"] = ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 19, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 19)) ? (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.', 19, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 19), "oneHourPrice", [], "any", false, false, false, 19)) : (null));
// line 20
echo "\t";
$context["price"] = max((isset($context["price_apartments"]) || array_key_exists("price_apartments", $context) ? $context["price_apartments"] : (function () { throw new RuntimeError('Variable "price_apartments" does not exist.', 20, $this->source); })()), (isset($context["price_take_out"]) || array_key_exists("price_take_out", $context) ? $context["price_take_out"] : (function () { throw new RuntimeError('Variable "price_take_out" does not exist.', 20, $this->source); })()));
// line 21
echo "\t";
// line 22
echo "\t";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("profile_heading", ["name" => twig_get_attribute($this->env, $this->source, // line 23
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 23, $this->source); })()), "name", [], "any", false, false, false, 23), "is_masseur" => ((twig_get_attribute($this->env, $this->source, // line 24
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 24, $this->source); })()), "masseur", [], "any", false, false, false, 24)) ? ("masseur") : ("other")), "age" => (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 25
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 25, $this->source); })()), "personParameters", [], "any", false, false, false, 25), "age", [], "any", false, false, false, 25) < 20)) ? ("young") : ((((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.', 25, $this->source); })()), "personParameters", [], "any", false, false, false, 25), "age", [], "any", false, false, false, 25) > 35)) ? ("old") : ("other")))), "is_nice" => (((($this->extensions['App\Twig\PersonParametersExtension']->bodyTypeLabel(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 26
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 26, $this->source); })()), "personParameters", [], "any", false, false, false, 26), "bodyType", [], "any", false, false, false, 26)) == "SLIM") && twig_in_filter($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.', 26, $this->source); })()), "personParameters", [], "any", false, false, false, 26), "hairColor", [], "any", false, false, false, 26)), ["BLONDE", "BRUNETTE"]))) ? ("nice") : ("other")), "body" => $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, // line 27
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 27, $this->source); })()), "personParameters", [], "any", false, false, false, 27), "bodyType", [], "any", false, false, false, 27)), [], "body_types"), "price" => (((( // line 28
(isset($context["price_apartments"]) || array_key_exists("price_apartments", $context) ? $context["price_apartments"] : (function () { throw new RuntimeError('Variable "price_apartments" does not exist.', 28, $this->source); })()) >= 5000) || ((isset($context["price_take_out"]) || array_key_exists("price_take_out", $context) ? $context["price_take_out"] : (function () { throw new RuntimeError('Variable "price_take_out" does not exist.', 28, $this->source); })()) >= 7000))) ? ("high") : (((((isset($context["price"]) || array_key_exists("price", $context) ? $context["price"] : (function () { throw new RuntimeError('Variable "price" does not exist.', 28, $this->source); })()) && ((isset($context["price"]) || array_key_exists("price", $context) ? $context["price"] : (function () { throw new RuntimeError('Variable "price" does not exist.', 28, $this->source); })()) <= 1500))) ? ("low") : ("other"))))], "seo_heading");
$__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 ( 1763 => 28, 1762 => 27, 1761 => 26, 1760 => 25, 1759 => 24, 1758 => 23, 1756 => 22, 1754 => 21, 1751 => 20, 1748 => 19, 1745 => 18, 1723 => 17, 1704 => 13, 1701 => 11, 1699 => 9, 1698 => 8, 1697 => 7, 1673 => 6, 1650 => 871, 1638 => 858, 1625 => 857, 1589 => 830, 1571 => 826, 1567 => 825, 1561 => 822, 1558 => 821, 1556 => 820, 1538 => 819, 1536 => 818, 1518 => 812, 1512 => 809, 1509 => 808, 1507 => 807, 1490 => 806, 1488 => 805, 1480 => 798, 1477 => 797, 1475 => 796, 1473 => 795, 1467 => 790, 1465 => 789, 1462 => 786, 1457 => 777, 1440 => 763, 1436 => 762, 1432 => 761, 1413 => 745, 1406 => 741, 1399 => 737, 1395 => 736, 1383 => 726, 1381 => 725, 1377 => 721, 1356 => 719, 1339 => 718, 1334 => 714, 1332 => 713, 1322 => 706, 1318 => 705, 1311 => 701, 1307 => 700, 1303 => 699, 1299 => 698, 1295 => 697, 1291 => 696, 1286 => 693, 1273 => 692, 1260 => 689, 1258 => 688, 1256 => 686, 1254 => 685, 1249 => 682, 1245 => 680, 1243 => 679, 1241 => 678, 1239 => 677, 1236 => 675, 1234 => 652, 1229 => 646, 1226 => 644, 1223 => 642, 1221 => 641, 1214 => 636, 1211 => 635, 1208 => 633, 1194 => 631, 1177 => 630, 1175 => 629, 1173 => 628, 1167 => 623, 1157 => 621, 1153 => 620, 1149 => 617, 1145 => 616, 1141 => 614, 1139 => 613, 1136 => 612, 1132 => 611, 1128 => 610, 1124 => 609, 1121 => 608, 1117 => 606, 1112 => 604, 1109 => 603, 1107 => 602, 1100 => 601, 1094 => 597, 1089 => 595, 1085 => 594, 1080 => 593, 1078 => 592, 1074 => 591, 1070 => 590, 1066 => 589, 1062 => 587, 1060 => 586, 1058 => 585, 1052 => 580, 1049 => 578, 1045 => 576, 1041 => 573, 1035 => 571, 1031 => 565, 1029 => 564, 1027 => 563, 1025 => 562, 1018 => 559, 1016 => 558, 1012 => 557, 1008 => 556, 1006 => 555, 1004 => 554, 1000 => 551, 998 => 550, 994 => 546, 988 => 544, 983 => 537, 981 => 536, 979 => 535, 977 => 534, 975 => 533, 968 => 530, 966 => 529, 962 => 528, 958 => 527, 956 => 526, 954 => 525, 950 => 522, 948 => 521, 946 => 519, 944 => 518, 938 => 513, 913 => 484, 910 => 483, 904 => 482, 898 => 481, 895 => 480, 892 => 479, 889 => 478, 884 => 477, 882 => 476, 877 => 475, 874 => 474, 871 => 473, 868 => 472, 862 => 468, 858 => 466, 853 => 462, 851 => 461, 846 => 456, 844 => 455, 840 => 452, 836 => 448, 834 => 447, 830 => 444, 828 => 443, 826 => 442, 824 => 441, 820 => 437, 818 => 436, 814 => 433, 812 => 432, 807 => 428, 804 => 426, 801 => 424, 799 => 423, 795 => 422, 793 => 421, 787 => 416, 784 => 414, 781 => 412, 779 => 411, 775 => 410, 773 => 409, 769 => 406, 765 => 403, 762 => 401, 759 => 399, 757 => 398, 753 => 397, 751 => 396, 747 => 393, 745 => 392, 741 => 390, 738 => 388, 735 => 386, 733 => 385, 729 => 384, 727 => 383, 721 => 378, 718 => 376, 711 => 374, 709 => 373, 697 => 365, 692 => 363, 685 => 358, 683 => 357, 681 => 356, 679 => 354, 677 => 353, 675 => 352, 673 => 351, 671 => 350, 669 => 349, 664 => 345, 662 => 344, 660 => 343, 658 => 341, 655 => 338, 653 => 337, 650 => 333, 648 => 332, 644 => 328, 642 => 327, 639 => 325, 637 => 324, 635 => 323, 632 => 322, 630 => 321, 624 => 317, 621 => 315, 618 => 313, 616 => 312, 612 => 311, 610 => 310, 604 => 305, 601 => 303, 598 => 301, 596 => 300, 592 => 299, 590 => 298, 584 => 293, 581 => 291, 578 => 289, 576 => 288, 572 => 287, 570 => 286, 564 => 281, 561 => 279, 554 => 277, 552 => 276, 548 => 273, 546 => 271, 544 => 270, 542 => 268, 540 => 267, 536 => 263, 533 => 261, 530 => 259, 528 => 258, 524 => 257, 522 => 256, 518 => 253, 516 => 252, 514 => 251, 512 => 250, 510 => 249, 508 => 248, 501 => 245, 496 => 243, 478 => 228, 471 => 224, 464 => 220, 458 => 216, 454 => 214, 450 => 213, 446 => 212, 438 => 206, 431 => 202, 424 => 198, 417 => 194, 411 => 190, 409 => 189, 405 => 188, 401 => 187, 397 => 186, 395 => 185, 391 => 184, 389 => 183, 387 => 180, 385 => 177, 379 => 164, 376 => 163, 372 => 161, 369 => 160, 355 => 159, 349 => 158, 331 => 157, 329 => 156, 323 => 152, 321 => 150, 317 => 147, 314 => 145, 302 => 134, 298 => 133, 294 => 132, 290 => 131, 287 => 130, 285 => 129, 278 => 125, 271 => 124, 264 => 121, 255 => 115, 252 => 114, 242 => 111, 240 => 110, 238 => 109, 236 => 108, 232 => 106, 229 => 105, 226 => 104, 224 => 103, 222 => 102, 220 => 101, 217 => 97, 216 => 96, 214 => 95, 212 => 94, 209 => 93, 206 => 91, 202 => 88, 199 => 86, 197 => 85, 194 => 84, 190 => 82, 188 => 80, 186 => 78, 184 => 77, 182 => 76, 169 => 75, 154 => 60, 152 => 59, 148 => 53, 146 => 52, 133 => 51, 120 => 41, 118 => 40, 105 => 39, 92 => 36, 79 => 35, 65 => 1, 63 => 73, 61 => 33, 59 => 31, 57 => 3, 41 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'ProfilePreview/grid.html.twig' %}
{% import 'ProfilePreview/utils/macros.partial.twig' as macros %}
{# Проверяем есть ли у нас вообще данные для табов #}
{%- macro _show_tabs(photos,selfies,videos) -%}
\t{%- if (photos is defined and photos|length > 0) or
\t\t(selfies is defined and selfies|length > 0) or
\t\t(videos is defined and videos|length > 0)
\t-%}
\t\ttrue
\t{%- else -%}
\t\tfalse
\t{%- endif -%}
{%- endmacro -%}
{% macro _profile_heading(profile) %}
\t{% set price_apartments = profile.apartmentsPricing ? profile.apartmentsPricing.oneHourPrice : null %}
\t{% set price_take_out = profile.takeOutPricing ? profile.takeOutPricing.oneHourPrice : null %}
\t{% set price = max(price_apartments, price_take_out) %}
\t{# PriceApart >= 5000 ? Вип. Иначе PriceTaleOut >= 7000 ? Вип. Иначе PriceApart <=1500 ? Дешёвая Иначе PriceTakeOut <= 1500 ? Дешёвая #}
\t{% trans with {
'name': profile.name,
'is_masseur': profile.masseur ? 'masseur' : 'other',
'age': profile.personParameters.age < 20 ? 'young' : (profile.personParameters.age > 35 ? 'old' : 'other'),
'is_nice': profile.personParameters.bodyType|body_type == 'SLIM' and (profile.personParameters.hairColor|hair_color in ['BLONDE', 'BRUNETTE']) ? 'nice' : 'other',
'body': profile.personParameters.bodyType|body_type|trans({}, 'body_types'),
'price': (price_apartments >= 5000 or price_take_out >= 7000) ? 'high' : (price and price <= 1500 ? 'low' : 'other'),
} from 'seo_heading' %}profile_heading{% endtrans %}
{% endmacro %}
{% from _self import _profile_heading %}
{% set headingTitle = _profile_heading(profile)|trim %}
{% block navbar_class_masseur_profiles %}
\t{# {% if profile.isMasseur %}active{% endif %} #}
{% endblock %}
{% block stylesheet_postload %}
\t{# {{ encore_entry_link_tags(\"styles/public-girl-page\") }} #}
\t{{- parent() -}}
\t{# {% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
\t\t<link href=\"//vjs.zencdn.net/7.0.3/video-js.min.css\" rel=\"stylesheet\" media=\"print\" onload=\"setTimeout(()=>{this.media='all'},200)\">
\t\t<!--noindex-->
\t\t<script src=\"//vjs.zencdn.net/7.0.3/video.min.js\"></script>
\t\t<script src=\"//cdn.jsdelivr.net/npm/videojs-flash@2/dist/videojs-flash.min.js\"></script>
\t\t<!--/noindex-->
\t{% endif %} #}
{% endblock %}
{% block preconnect %}
{{- parent() -}}
\t<link rel=\"preconnect\" href=\"https://api-maps.yandex.ru\">
<link rel=\"preconnect\" href=\"https://google.com\" />
\t{# {% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
\t\t<link rel=\"preconnect\" href=\"//vjs.zencdn.net\" />
\t\t<link rel=\"preconnect\" href=\"//cdn.jsdelivr.net\" />
\t{% endif %} #}
\t{%- if not profile.deleted -%}
\t<link rel=\"preconnect\" href=\"https://cdnjs.cloudflare.com\" />
\t<link rel=\"dns-prefetch\" href=\"https://cdnjs.cloudflare.com\" />
\t{%- endif -%}
{% endblock %}
{# {% block metaSpecial %}
\t{{ parent() }}
\t{%- if profile.deleted -%}
\t{%- else -%}
\t\t{{ profile_kv(profile, 'meta_googlebot') }}
\t{%- endif -%}
{% endblock %} #}
{%- set servicesList = \"Секс классический|Секс анальный|Секс групповой|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь\" -%}
{%- block mainContainer -%}
\t{%- set haveMetro = profile.stationsSortedByPrimary|length > 0 -%}
\t{%- set commentsCount = profile.comments|length|number_format(0, '.', ' ') -%}
\t{%- set commentPlural = '%count% отзывов'|trans({'num': profile.comments|length }) -%}
\t{{- knp_menu_render('breadcrumbs', {'template': '__design/v2023/_menu/breadcrumbs.html.twig', profile: profile }) -}}
\t<div class=\"profile full-w-xs\">
\t\t<div class=\"profile-heading d-flex-c mb-3\">
\t\t\t<h1 class=\"profile-heading-title text-title\">{{ seo_heading() }}</h1>
\t\t\t{%- if profile.approved -%}
\t\t\t\t<svg class=\"ml-1\" viewbox=\"0 0 26 26\" width=\"26\" height=\"26\" fill=\"none\"><path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"m22.273 9.983 2.644 3.012-2.644 3.011.369 3.987-3.911.888-2.048 3.445L13 22.745l-3.683 1.592-2.048-3.445-3.91-.888.368-3.998-2.644-3.011 2.644-3.023-.369-3.986 3.911-.878 2.048-3.445L13 3.245l3.683-1.582 2.048 3.445 3.91.888-.368 3.987ZM8.038 12.361l3.434 3.434 7.14-7.128 1.527 1.527-8.666 8.667L6.5 13.888l1.538-1.527Z\" clip-rule=\"evenodd\"/></svg>
\t\t\t{%- endif -%}
\t\t</div>
\t\t{# профиль + данные + фотки #}
\t\t<div class=\"profile-bio\">
\t\t\t{# профиль + данные #}
\t\t\t<div class=\"profile-data d-flex\">
\t\t\t\t{% set station_alt = '' -%}
\t\t\t\t{% if haveMetro -%}
\t\t\t\t\t{%- set station_alt = profile.primaryStation is defined and profile.primaryStation is not empty
\t\t\t\t\t\t? profile.primaryStation
\t\t\t\t\t\t: null -%}
\t\t\t\t{% endif -%}
\t\t\t\t<div class=\"profile-avatar\" itemtype=\"http://schema.org/ImageObject\" id=\"avatar-preview\" data-favorite-button>
\t\t\t\t\t{%- if not profile.deleted -%}
\t\t\t\t\t\t{% if profile.city.uriIdentity == default_city().uriIdentity %}
\t\t\t\t\t\t\t{% set alt = profile.name|trans ~ ', ' ~ profile.city.name ~ (station_alt ? ', ' ~ station_alt.name|trans : '' ) ~ ', ' ~ 'год'|plural(profile.personParameters.age) ~ ', анкета ' ~ profile.id ~ (profile.seo.phone is defined ? \", \" ~ profile.seo.phone : '') %}
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t{% set alt = profile.name|trans ~ ', ' ~ profile.city.name ~ ', ' ~ 'год'|plural(profile.personParameters.age) ~ ', анкета ' ~ profile.id ~ (profile.seo.phone is defined ? \", \" ~ profile.seo.phone : '') %}
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{%- set photo = profile|avatar -%}
\t\t\t\t\t\t{%- if photo and photo.path -%}
\t\t\t\t\t\t\t{%- set photoType = photo.type == 'photo' ? 'profile_media' : 'profile_media_avatar' -%}
\t\t\t\t\t\t\t<a class=\"photoswipe image-fade profile-avatar-link{% if not is_user_advertiser(app.user) %} profile-avatar-link--shadow{% endif %}\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" data-gallery=\"girl-avatar\" data-index=\"0\">
\t\t\t\t\t\t\t\t<img class=\"profile-avatar-image\" itemprop=\"contentUrl\"
\t\t\t\t\t\t\t\t\tsrcset=\"
\t\t\t\t\t\t\t\t\t\t{{- responsive_asset(photo.path, photoType, \"220x308\", \"jpg\") }} 220w,
\t\t\t\t\t\t\t\t\t\t{{- responsive_asset(photo.path, photoType, \"310x434\", \"jpg\") }} 310w
\t\t\t\t\t\t\t\t\t\"
\t\t\t\t\t\t\t\t\tsizes=\"
\t\t\t\t\t\t\t\t\t\t(max-width: 768px) 220px,
\t\t\t\t\t\t\t\t\t\t310px
\t\t\t\t\t\t\t\t\t\"
\t\t\t\t\t\t\t\t\tsrc=\"{{ responsive_asset(photo.path, photoType, \"310x434\", \"jpg\") }}\" alt=\"{{ alt }}\" width=\"310\" height=\"434\">
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t<div class=\"photoswipe image-fade profile-avatar-link{% if not is_user_advertiser(app.user) %} profile-avatar-link--shadow{% endif %}\">
\t\t\t\t\t\t\t\t<img class=\"profile-avatar-image profile-avatar-image-empty\" src=\"{{ asset('assets/images/empty-photo.svg') }}\" alt=\"{{ alt }}\" width=\"310\" height=\"434\" style=\"object-fit:contain;padding:10px;\">
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{%- if not is_user_advertiser(app.user) -%}
\t\t\t\t\t\t\t<favorite-button
\t\t\t\t\t\t\t\tapi-check=\"{{ path('account.favourites.check', {'profile': profile.id}) }}\"
\t\t\t\t\t\t\t\tapi-like=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
\t\t\t\t\t\t\t\tapi-unlike=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
\t\t\t\t\t\t\t\tregistration-url=\"{{ path('app_security_register') }}?user=visitor\"
\t\t\t\t\t\t\t\talternative=\"true\"
\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t<button class=\"btn btn-favorite favorite unlike favorite-loading\" data-tippy-main=\"Добавить в избранное\" title=\"Добавить в избранное\"><svg class=\"btn-favorite-icon\" width=\"40\" height=\"40\" fill=\"none\">
\t\t\t\t\t\t\t\t\t<path data-like d=\"m20 35.58-2.42-2.16c-2.8-2.53-5.12-4.71-6.95-6.55a46.04 46.04 0 0 1-4.38-4.93 15.65 15.65 0 0 1-2.27-4.02 11.25 11.25 0 0 1-.65-3.75c0-2.61.88-4.8 2.63-6.54A8.88 8.88 0 0 1 12.5 5 9.88 9.88 0 0 1 20 8.5 9.88 9.88 0 0 1 27.5 5c2.61 0 4.8.88 6.54 2.63a8.88 8.88 0 0 1 2.63 6.54c0 1.27-.22 2.52-.65 3.75a15.63 15.63 0 0 1-2.27 4.02 46.03 46.03 0 0 1-4.38 4.93 188.43 188.43 0 0 1-6.95 6.55L20 35.58Z\"/>
\t\t\t\t\t\t\t\t\t<path data-unlike d=\"m20 35.58-2.42-2.16a188.5 188.5 0 0 1-6.95-6.55 46.04 46.04 0 0 1-4.38-4.93 15.65 15.65 0 0 1-2.27-4.02 11.25 11.25 0 0 1-.65-3.75c0-2.61.88-4.8 2.63-6.54A8.88 8.88 0 0 1 12.5 5 9.88 9.88 0 0 1 20 8.5 9.88 9.88 0 0 1 27.5 5c2.61 0 4.8.88 6.54 2.63a8.88 8.88 0 0 1 2.63 6.54c0 1.27-.22 2.52-.65 3.75a15.63 15.63 0 0 1-2.27 4.02 46.05 46.05 0 0 1-4.38 4.93 188.52 188.52 0 0 1-6.95 6.55L20 35.58Zm0-4.5c2.67-2.39 4.86-4.43 6.58-6.14 1.73-1.7 3.09-3.2 4.09-4.46 1-1.26 1.7-2.39 2.08-3.38.39-.98.58-1.96.58-2.93a5.65 5.65 0 0 0-5.83-5.83c-1.3 0-2.51.36-3.63 1.1a5.67 5.67 0 0 0-2.29 2.81h-3.16a5.67 5.67 0 0 0-2.3-2.81 6.45 6.45 0 0 0-3.62-1.1 5.65 5.65 0 0 0-5.83 5.83c0 .97.2 1.95.58 2.94.39.98 1.08 2.1 2.08 3.37a52.1 52.1 0 0 0 4.09 4.46c1.72 1.7 3.91 3.76 6.58 6.14Z\"/>
\t\t\t\t\t\t\t\t</svg></button>
\t\t\t\t\t\t\t</favorite-button>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t<svg class=\"profile-avatar-image\" xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 358 500\" width=\"358\" height=\"500\" fill=\"none\"><g clip-path=\"url(#a)\"><path fill=\"#F3F3F3\" d=\"M0 0h357.14v500H0z\"/><path fill=\"#E0E0E0\" d=\"M238.51 119.9c-1.21 6.1-5.04 15.97-5.4 21.42a85.61 85.61 0 0 0-.02 9.15c.26.07.45.15.54.24 1.75 1.47 6.45 5.1 7.15 13.32.68 8.24-6.8 13.34-6.8 13.34l-.19.12c-.07 3.79-.42 9.24-1.56 12.9-1.92 6.08-6.97 13.66-7.67 16.45-.68 2.8-5.75 14.81-5.21 20.1.51 5.27 1.73 17.44-.19 24.37-1.91 6.9-6.8 13.67-8.37 15.63-1.56 1.97-3.83 6.9-4.34 8.74-.52 1.8-10.64 18.27-13.42 20.4-2.78 2.16-4.89 7.43-7.5 10.54a15.39 15.39 0 0 0-3.49 9.88c0 3.13.9 7.9 2.46 9.7 1.56 1.83 8.18 10.56 9.93 16.49 1.73 5.92 5.05 21.55 5.75 26.17.68 4.6 1.38 17.62 2.43 23.05 1.05 5.43 2.08 14.65 4.89 17.13 2.78 2.46 8.18 5.92 9.23 8.57 1.05 2.62 1.05 6.25-.51 7.4-1.6 1.14-5.94 6.6-7.16 10.04-1.21 3.46-1.4 9.22-1.56 11.05-.19 1.8-3.67 4.1-4.89 4.77-1.21.66-8.53 1.48-10.28 1.48-1.73 0-2.78 2.13-4.19 1.8a4.14 4.14 0 0 1-2.61-1.97c-1.22.17-3.14 1.48-3.65.33-1.57.5-4.53.16-5.05-.98-.54-1.17 0-3.63 2.95-4.45 2.96-.82 5.23-1.33 6.28-1.66 1.06-.33 2.08-3.28 2.62-4.61.4-1.03 1.26-3.33 1.24-6.8-.75-.16-1.52.06-1.94.55-.7.82-.54 3.62-1.22 5.26-.7 1.67-3.48 3.14-5.4 2.81-1.91-.33-9.41.17-10.98.66-1.57.49-2.78.98-2.78-1.31 0-2.32 2.08-5.27 3.64-6.6 1.57-1.31 3.32-6.25 4.19-7.9.86-1.65 2.27-6.6 2.78-8.23.54-1.64 2.45-4.78 3.16-8.57.67-3.79-2.97-11.19-4.73-13.34-1.73-2.13-9.23-15.63-15.14-25.51-5.94-9.88-5.75-20.9-6.1-22.4-.35-1.48.7-3.96-.54-5.6-1.22-1.63-3.3-9.87-3.3-11.51 0-1.66-1.4-5.62-2.97-9.06-1.56-3.46-5.75-15.99-6.61-20.25-.89-4.28-10.47-22.23-13.6-45.94-1.66-12.6.65-21.05 3.64-27.13-1.1-1.9-4.6-7.75-5.91-9.27-1.57-1.8-6.78-12-8.35-13.67-1.59-1.64-4.53-7.72-3.5-11.51 1.05-3.8 5.58-15.48 6.45-17.63.89-2.13 8.37-19.6 10.28-22.38 1.92-2.8 3.84-9.55 4.19-11.54.35-1.96 7.15-14.98 9.42-17.27 2.24-2.32 10.96-4.28 15.33-3.3 0-.42-.1-.87-.23-1.29-12.32-2.5-7.95-18.65-7.44-19.96.52-1.31 1.22-9.55 1.22-13.16 0-3.63 1.92-9.38 2.27-11.37.35-1.97-.35-3.8.35-8.9-1.05.68-4.37 4.29-5.07 5.46 0 .82-1.03 1.63-1.92 1.63-.87 0-1.03.99-1.57 1.97-.51.98-1.38.5-1.91-.82-.52-1.3-2.08-6.08-2.08-7.4 0 0-1.06 1.15-1.92.99.16.98-.54 1.96-.87 2.95-.35 1-1.05 3.3-1.91 3.3-.9 0-.9-1.48-.7-2.46a152 152 0 0 1 1.21-6.27c.16-.66-.7-2.3.35-3.12 1.05-.84 1.73-1.99 3.13-3.3 1.4-1.3 3.67-4.93 3.49-5.75-.17-.82.51-2.48 2.61-2.48 2.09 0 2.62-.5 6.27-.99 3.67-.49 10.98-5.1 12.55-5.43 1.57-.33 3.48-1.47 4.7-1.66 1.24-.16 2.27-.66 3.32.19 1.05.82 1.75.98 6.26.65 4.54-.33 39.04 2.62 41.5 3.12 2.42.49 8.88 1.5 10.6.81 1.76-.65 4.54 1.18 5.4 2.81.9 1.64 1.4 7.75 1.24 10.2-.18 2.49 2.95 16.49 3.3 27.02.35 10.53-4.35 23.71-5.57 29.8ZM149.8 63.09a2.75 2.75 0 0 0-1.26 2.36c0 .98.41 3.37.41 3.37s0 .58 1.06-.4c-.21-1.2-.21-5.33-.21-5.33Zm6.47 53.53c-.96-1.34-1.75-3.4-2.55-6.6a11.52 11.52 0 0 0-.07 5.94c.56 2.1 4 3.88 5.36 4.54-.84-1.54-2.08-2.95-2.74-3.88Zm5.92 51.86c-.73-.8-4.8-6.2-7.84-10.27l-1.21.89s-6.8 11.37-10.28 15.16c-3.49 3.77-5.92 13.49-11 18.92-3.47 3.95-.5 5.45-.5 5.45s4.18 8.7 5.58 11.19c1.29 2.3 3.16 4.82 4.25 5.73 5.12-6.3 16.86-15.21 19.43-17.92 2.97-3.12 5.07-2.46 7.5-4.94 2.43-2.46 1.92-7.07 2.43-10.54-8.36-1.96-8.36-11.35-8.36-13.67Zm46.18-105.7c-2.27-.82-12.71-3.3-12.71-3.3l-.17.28c2.74 1.92 7.6 5.76 8.7 9.62 1.56 5.43 3.13 13 3.48 19.43.33 5.9 1.68 21.02 5.03 28.65 1.03-3.28 3.78-7.89 5.6-10.89 1.92-3.1 2.09-3.76 4-7.72 0-7.91 1.6-28.65 1.6-31.95-2.98-.33-13.26-3.3-15.53-4.12Z\"/><circle cx=\"179.07\" cy=\"250.1\" r=\"80.03\" fill=\"#BDBDBD\"/><path fill=\"#E7E7E7\" d=\"M205.08 242.6h-7.5v-18.76a18.76 18.76 0 0 0-37.52 0v18.76h-7.5a7.5 7.5 0 0 0-7.5 7.5v37.52a7.5 7.5 0 0 0 7.5 7.5h52.52a7.5 7.5 0 0 0 7.5-7.5V250.1a7.5 7.5 0 0 0-7.5-7.5Zm-26.26 33.76a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Zm7.5-33.76h-15v-18.76a7.5 7.5 0 0 1 15 0v18.76Z\"/></g><defs><clipPath id=\"a\"><rect width=\"357.14\" height=\"500\" fill=\"#fff\" rx=\"20\"/></clipPath></defs></svg>
\t\t\t\t\t{%- endif -%}
\t\t\t\t</div>
\t\t\t\t<div class=\"profile-info\">
\t\t\t\t\t<div class=\"profile-contacts profile-contacts--desktop\">
\t\t\t\t\t\t{%- include 'ProfilePreview/components/profile-phone.partial.twig' with {} -%}
\t\t\t\t\t\t<div class=\"profile-contacts-text clr-green-text\">Сообщите мне, что звоните с сайта \"МосДосуг\" и я всё пойму</div>
\t\t\t\t\t\t<div class=\"profile-contacts-answer-type\">
\t\t\t\t\t\t\t<span>Отвечаю на</span>
\t\t\t\t\t\t\t{% if profile.phoneCallRestrictions.answeringTo|length > 0 %}
\t\t\t\t\t\t\t\t{% for answeringTo in profile.phoneCallRestrictions.answeringTo %}
\t\t\t\t\t\t\t\t\t{{ answeringTo|answering_to|trans({}, 'phone_call_restrictions') }}{% if not loop.last %},{% endif %}
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\tНе указано
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-contacts-answer-time\">{{ macros._time_to_work(profile) }}</div>
\t\t\t\t\t</div>
\t\t\t\t\t{# {% if not profile.approved %}
\t\t\t\t\t\t<div class=\"profile-attention profile-attention--desktop d-flex-c clr-green-text clr-pre-white-bg fw-700\">
\t\t\t\t\t\t\t<svg class=\"mr-1\" width=\"24\" height=\"24\" fill=\"none\"><path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"M20.56 9.22 23 12l-2.44 2.78.34 3.68-3.61.82-1.89 3.18L12 21l-3.4 1.47-1.89-3.18-3.61-.82.34-3.7L1 12l2.44-2.8-.34-3.67 3.61-.81L8.6 1.54 12 3l3.4-1.46 1.89 3.18 3.61.82-.34 3.68ZM7.42 11.4l3.17 3.17L17.18 8l1.41 1.41-8 8L6 12.82l1.42-1.41Z\" clip-rule=\"evenodd\"/></svg>
\t\t\t\t\t\t\t<span>Фото проверено</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t<div class=\"profile-attention profile-attention--desktop d-flex-c clr-main-text clr-pre-white-bg fw-700\">
\t\t\t\t\t\t\t<span>Никогда не отправляйте предоплату!</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t{%- endif -%} #}
\t\t\t\t\t{%- include 'ProfilePreview/components/profile-approved.partial.twig' with {type: 'desktop'} -%}
\t\t\t\t\t{#/* ---------------------------- Метро город район --------------------------- */#}
\t\t\t\t\t{%- include 'ProfilePreview/components/profile-location.partial.twig' with {type: 'desktop', template: 'profile'} -%}
\t\t\t\t\t{#/* ---------------------------------- Прайс --------------------------------- */#}
\t\t\t\t\t<div class=\"profile-time d-flex\">
\t\t\t\t\t\t{%- set currencyProfile -%}{{ profile.city.countryCode|country_currency }}{%- endset -%}
\t\t\t\t\t\t<div class=\"profile-time-table\">
\t\t\t\t\t\t\t{%- set oneHour -%}{{ macros._get_time_price(profile.apartmentsPricing.oneHourPrice, currencyProfile) }}{%- endset -%}
\t\t\t\t\t\t\t{%- set twoHours -%}{{ macros._get_time_price(profile.apartmentsPricing.twoHoursPrice, currencyProfile) }}{%- endset -%}
\t\t\t\t\t\t\t{%- set fullNight -%}{{ macros._get_time_price(profile.apartmentsPricing.nightPrice, currencyProfile) }}{%- endset -%}
\t\t\t\t\t\t\t{%- set express = profile.expressPricing.provided ? (macros._get_time_price(profile.expressPricing.price, profile.city.countryCode|country_currency) ) : \"-\" -%}
\t\t\t\t\t\t\t<div class=\"profile-time-heading mb-1 fw-700\">У меня</div>
\t\t\t\t\t\t\t<div class=\"profile-time-cell-list d-flex\">
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Час</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ oneHour }}</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">2 часа</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ twoHours }}</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Ночь</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ fullNight }}</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Экспресс</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ express }}</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-time-table\">
\t\t\t\t\t\t\t{%- set oneHour -%}{{ macros._get_time_price(profile.takeOutPricing.oneHourPrice, currencyProfile) }}{%- endset -%}
\t\t\t\t\t\t\t{%- set twoHours -%}{{ macros._get_time_price(profile.takeOutPricing.twoHoursPrice, currencyProfile) }}{%- endset -%}
\t\t\t\t\t\t\t{%- set fullNight -%}{{ macros._get_time_price(profile.takeOutPricing.nightPrice, currencyProfile) }}{%- endset -%}
\t\t\t\t\t\t\t<div class=\"profile-time-heading mb-1 fw-700\">У Вас</div>
\t\t\t\t\t\t\t<div class=\"profile-time-cell-list d-flex\">
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Час</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ oneHour }}</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">2 часа</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ twoHours }}</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Ночь</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ fullNight }}</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Экспресс</span>
\t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">-</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"profile-stat\">
\t\t\t\t\t<div class=\"profile-stat-rating d-flex-c\">
\t\t\t\t\t\t<svg class=\"mr-1\" width=\"16\" height=\"16\" fill=\"none\"><path fill=\"#FF3F40\" d=\"M7.5 12.86c.3-.22.7-.22 1 0l3.02 2.3a.82.82 0 0 0 1.27-.9l-1.19-3.82c-.1-.33.02-.7.3-.9L15 7.23a.82.82 0 0 0-.49-1.48h-3.74a.82.82 0 0 1-.78-.57L8.78 1.24a.82.82 0 0 0-1.56 0L6.01 5.18a.82.82 0 0 1-.78.57H1.49a.82.82 0 0 0-.5 1.48l3.12 2.31c.27.2.4.57.29.9l-1.2 3.83a.82.82 0 0 0 1.28.9l3.03-2.3Z\"/></svg>
\t\t\t\t\t\t<span class=\"fw-600 mr-2\">
\t\t\t\t\t\t\t{{ rating }}
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<a href=\"#comments\">{{ commentsCount }} {{commentPlural}}</a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"profile-stat-table\">
\t\t\t\t\t\t{{- macros._data_wrapper('Возраст', profile.personParameters.age) -}}
\t\t\t\t\t\t{{- macros._data_wrapper('Рост', profile.personParameters.height) -}}
\t\t\t\t\t\t{{- macros._data_wrapper('Вес', profile.personParameters.weight) -}}
\t\t\t\t\t\t{{- macros._data_wrapper('Грудь', profile.personParameters.breastSize) -}}
\t\t\t\t\t\t{% if feature('has_breast_type') %}
\t\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
\t\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Тип груди</span>
\t\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">
\t\t\t\t\t\t\t\t\t{%- if profile.personParameters.breastType -%}
\t\t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_breast_type', {'city': city.uriIdentity, 'breastType': profile.personParameters.breastType|breast_type_uri}) }}\">
\t\t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.breastType|breast_type|trans({}, 'breast_types') -}}
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{{- macros._data_wrapper('Размер одежды', profile.personParameters.clothSize) -}}
\t\t\t\t\t\t{{- macros._data_wrapper('Размер обуви', profile.personParameters.shoesSize) -}}
\t\t\t\t\t\t{{- macros._data_wrapper('Тату', profile.personParameters.tattoo, true) -}}
\t\t\t\t\t\t{{- macros._data_wrapper('Пирсинг', profile.personParameters.piercing, true) -}}
\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Телосложение</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">
\t\t\t\t\t\t\t\t{%- if profile.personParameters.bodyType -%}
\t\t\t\t\t\t\t\t\t<a class=\"link\" 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>
\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Цвет волос</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">
\t\t\t\t\t\t\t\t{%- if profile.personParameters.hairColor -%}
\t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color_uri|slugify}) }}\">
\t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors') -}}
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Национальность</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">
\t\t\t\t\t\t\t\t{%- if profile.personParameters.nationality -%}
\t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_nationality', {'city': city.uriIdentity,'nationality': profile.personParameters.nationality|nationality_uri}) }}\">
\t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.nationality|nationality|trans({}, 'nationalities') -}}
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Интимная стрижка</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">
\t\t\t\t\t\t\t\t{%- if profile.personParameters.privateHaircut -%}
\t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_private_haircut', {'city': city.uriIdentity,'privateHaircut': profile.personParameters.privateHaircut|private_haircut_uri}) }}\">
\t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') -}}
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"profile-stat-table\">
\t\t\t\t\t\t{% set threshold = (\"now\"|date_modify(\"-14 days\")).getTimestamp() %}
\t\t\t\t\t\t{% set updatedAtTs = profile.updatedAt ? profile.updatedAt.getTimestamp() : null %}
\t\t\t\t\t\t{{- macros._data_wrapper('Дата регистрации', profile.createdAt|date(\"d\") ~ ' ' ~ profile.createdAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.createdAt|date(\"Y\") ~ ' ' ~ profile.createdAt|date(\"H:i\")) -}}
\t\t\t\t\t\t{% if updatedAtTs >= threshold %}
\t\t\t\t\t\t\t{{- macros._data_wrapper('Дата обновления', profile.updatedAt|date(\"d\") ~ ' ' ~ profile.updatedAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.updatedAt|date(\"Y\") ~ ' ' ~ profile.updatedAt|date(\"H:i\")) -}}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{{- macros._data_wrapper('ID анкеты', profile.id) -}}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{%- if profile.deleted -%}
\t\t\t\t{%- include 'ProfilePreview/components/deleted-profile.partial.twig' with {type: \"profile\", template: 'mobile'} -%}
\t\t\t{%- endif -%}
\t\t\t{# фотки #}
\t\t\t{%- if _self._show_tabs(profile.photos, profile.selfies, profile.confirmedVideos) == 'true' and not profile.deleted -%}
\t\t\t\t{%- include 'ProfilePreview/components/media.partial.twig' with {template: 'profile'} -%}
\t\t\t{%- endif -%}
\t\t\t{%- include 'ProfilePreview/components/table-contacts.partial.twig' with {template: 'profile'} -%}
\t\t\t<div class=\"profile-location profile-block\">
\t\t\t\t{%- include 'ProfilePreview/components/profile-location.partial.twig' with {type: 'mobile', template: 'profile'} -%}
\t\t\t</div>
\t\t\t
\t\t\t<div class=\"profile-stat-mobile profile-block\">
\t\t\t\t<div class=\"profile-stat-table-mobile d-flex-c\">
\t\t\t\t\t{{- macros._data_wrapper('Возраст', profile.personParameters.age) -}}
\t\t\t\t\t{{- macros._data_wrapper('Рост', profile.personParameters.height) -}}
\t\t\t\t\t{{- macros._data_wrapper('Вес', profile.personParameters.weight) -}}
\t\t\t\t\t{{- macros._data_wrapper('Грудь', profile.personParameters.breastSize) -}}
\t\t\t\t\t{{- macros._data_wrapper('Одежда', profile.personParameters.clothSize) -}}
\t\t\t\t\t{{- macros._data_wrapper('Обувь', profile.personParameters.shoesSize) -}}
\t\t\t\t\t{{- macros._data_wrapper('Тату', profile.personParameters.tattoo, true) -}}
\t\t\t\t\t{{- macros._data_wrapper('Пирсинг', profile.personParameters.piercing, true) -}}
\t\t\t\t</div>
\t\t\t\t<div class=\"profile-stat-rating d-flex-c\">
\t\t\t\t\t<svg class=\"mr-1\" width=\"16\" height=\"16\" fill=\"none\"><path fill=\"#FF3F40\" d=\"M7.5 12.86c.3-.22.7-.22 1 0l3.02 2.3a.82.82 0 0 0 1.27-.9l-1.19-3.82c-.1-.33.02-.7.3-.9L15 7.23a.82.82 0 0 0-.49-1.48h-3.74a.82.82 0 0 1-.78-.57L8.78 1.24a.82.82 0 0 0-1.56 0L6.01 5.18a.82.82 0 0 1-.78.57H1.49a.82.82 0 0 0-.5 1.48l3.12 2.31c.27.2.4.57.29.9l-1.2 3.83a.82.82 0 0 0 1.28.9l3.03-2.3Z\"/></svg>
\t\t\t\t\t<span class=\"fw-600 mr-2\">
\t\t\t\t\t\t{{ rating }}
\t\t\t\t\t</span>
\t\t\t\t\t<a href=\"#comments\">{{ commentsCount }} {{commentPlural}}</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"profile-stat-list d-flex\">
\t\t\t\t\t<div class=\"profile-stat-list-column d-flex\">
\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Телосложение</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
\t\t\t\t\t\t\t\t{%- if profile.personParameters.bodyType -%}
\t\t\t\t\t\t\t\t\t<a class=\"link\" 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>
\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Цвет волос</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
\t\t\t\t\t\t\t\t{%- if profile.personParameters.hairColor -%}
\t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color_uri|slugify}) }}\">
\t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors') -}}
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% if feature('has_breast_type') %}
\t\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Тип груди</span>
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
\t\t\t\t\t\t\t\t\t{%- if profile.personParameters.hairColor -%}
\t\t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_breast_type', {'city': city.uriIdentity, 'breastType': profile.personParameters.breastType|breast_type_uri}) }}\">
\t\t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.breastType|breast_type|trans({}, 'breast_types') -}}
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Национальность</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
\t\t\t\t\t\t\t\t{%- if profile.personParameters.nationality -%}
\t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_nationality', {'city': city.uriIdentity,'nationality': profile.personParameters.nationality|nationality_uri}) }}\">
\t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.nationality|nationality|trans({}, 'nationalities') -}}
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Интимная стрижка</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
\t\t\t\t\t\t\t\t{%- if profile.personParameters.privateHaircut -%}
\t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_private_haircut', {'city': city.uriIdentity,'privateHaircut': profile.personParameters.privateHaircut|private_haircut_uri}) }}\">
\t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') -}}
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"profile-stat-list-column d-flex\">
\t\t\t\t\t\t{%- if profile.createdAt -%}
\t\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Дата регистрации</span>
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
\t\t\t\t\t\t\t\t\t{{- profile.createdAt|date(\"d\") ~ ' ' ~ profile.createdAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.createdAt|date(\"Y\") ~ ' ' ~ profile.createdAt|date(\"H:i\") -}}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{%- set threshold = (\"now\"|date_modify(\"-14 days\")).getTimestamp() -%}
\t\t\t\t\t\t{%- set updatedAtTs = profile.updatedAt ? profile.updatedAt.getTimestamp() : '' -%}
\t\t\t\t\t\t{%- if updatedAtTs and updatedAtTs >= threshold -%}
\t\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Дата обновления</span>
\t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
\t\t\t\t\t\t\t\t\t{{- profile.updatedAt|date(\"d\") ~ ' ' ~ profile.updatedAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.updatedAt|date(\"Y\") ~ ' ' ~ profile.updatedAt|date(\"H:i\") -}}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">ID анкеты</span>
\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
\t\t\t\t\t\t\t\t{{- profile.id -}}
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t{%- include 'ProfilePreview/components/profile-approved.partial.twig' with {type: 'mobile'} -%}
\t\t\t</div>
\t\t</div>
\t\t{# о себе #}
\t\t<div class=\"profile-block profile-block--about d-flex white-round\">
\t\t\t<h2 class=\"text-xl\">О СЕБЕ</h2>
\t\t\t<p class=\"text-basic\">{{ profile.description|nl2br }}</p>
\t\t</div>
\t\t{# сервис #}
\t\t{% set template = 'profiles' %}
\t\t{% set mappingService = template == 'profiles' ? services|filter((serviceGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) : services %}
\t\t{% set haveServices = false %}
\t\t{% for group, servicesGroup in mappingService %}
\t\t\t{# на случай если нужно было показывать только укомплектованные услуги #}
\t\t\t{% for service in servicesGroup %}
\t\t\t\t{% if profile.providedService(service) %}
\t\t\t\t\t{% set haveServices = true %}
\t\t\t\t{% endif %}
\t\t\t{% endfor %}
\t\t{% endfor %}
\t\t{% if haveServices %}
\t\t<div class=\"profile-block d-flex white-round mb-4\">
\t\t\t<div class=\"profile-block-heading profile-block-heading--service d-flex-c\">
\t\t\t\t<h2 class=\"text-xl\">УСЛУГИ, ОКАЗЫВАЕМЫЕ ДЕВУШКОЙ</h2>
\t\t\t\t<div class=\"service-heading\">
\t\t\t\t\t<div class=\"service-heading-list d-flex-c\">
\t\t\t\t\t\t<div class=\"d-flex-c\">
\t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
\t\t\t\t\t\t\t\t<use xlink:href=\"#service-green\"></use>
\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t<span>- включено в стоимость</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"d-flex-c\">
\t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
\t\t\t\t\t\t\t\t<use xlink:href=\"#service-orange\"></use>
\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t<span>- по симпатии</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"d-flex-c\">
\t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
\t\t\t\t\t\t\t\t<use xlink:href=\"#service-red\"></use>
\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t<span>- за дополнительную плату</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t{# <div class=\"d-flex-c\">
\t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
\t\t\t\t\t\t\t\t<use xlink:href=\"#service-grey\"></use>
\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t<span>- услуга не предоставляется</span>
\t\t\t\t\t\t</div> #}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"profile-services\">
\t\t\t\t{%- include 'ProfilePreview/components/services.partial.twig' with {template: 'profiles'} -%}
\t\t\t</div>
\t\t\t{%- if (profile.clientTypes|length > 0) -%}
\t\t\t\t<div class=\"service-special d-flex-c\">
\t\t\t\t\t<h3 class=\"service-special-title\">Услуги для</h3>
\t\t\t\t\t<div class=\"service-special-list d-flex-c\">
\t\t\t\t\t\t{%- set client_types_text = ['1','2','3','4','5'] -%}
\t\t\t\t\t\t{%- set includeService = false -%}
\t\t\t\t\t\t{%- for clientTypeText in client_types_text -%}
\t\t\t\t\t\t\t{%- for clientType in profile.clientTypes -%}
\t\t\t\t\t\t\t\t{%- if (clientTypeText == clientType) -%}
\t\t\t\t\t\t\t\t\t{%- set includeService = true -%}
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t{%- endfor -%}
\t\t\t\t\t\t\t{%- if clientTypeText|client_type != 'TRANS' -%}
\t\t\t\t\t\t\t\t{%- if includeService == true -%}
\t\t\t\t\t\t\t\t\t<div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 20 20\" width=\"20\"><use xlink:href=\"#service-include\"></use></svg><span>
\t\t\t\t\t\t\t\t\t\t{{- clientTypeText|client_type|trans({}, 'client_types') -}}
\t\t\t\t\t\t\t\t\t</span></div>
\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\t{# <div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 18 18\" width=\"18\"><path fill=\"#E0E0E0\" fill-rule=\"evenodd\" d=\"M9 .666A8.336 8.336 0 00.667 8.999c0 4.6 3.733 8.334 8.333 8.334s8.334-3.734 8.334-8.334S13.6.666 9 .666zM5.001 7.999h8v2h-8V8zM2.334 9A6.676 6.676 0 009 15.666a6.676 6.676 0 006.667-6.667A6.676 6.676 0 009 2.333a6.676 6.676 0 00-6.666 6.666z\" clip-rule=\"evenodd\"/></svg><span>
\t\t\t\t\t\t\t\t\t\t{{- clientTypeText|client_type|trans({}, 'client_types') -}}
\t\t\t\t\t\t\t\t\t</span></div> #}
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t{%- set includeService = false -%}
\t\t\t\t\t\t{%- endfor -%}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t{%- endif -%}
\t\t\t{%- if (profile.takeOutPricing.locations|length > 0) -%}
\t\t\t\t<div class=\"service-special d-flex-c\">
\t\t\t\t\t<h3 class=\"service-special-title\">Выезд</h3>
\t\t\t\t\t<div class=\"service-special-list d-flex-c\">
\t\t\t\t\t\t{%- set locations_text = ['1','2','3','4','5','6'] -%}
\t\t\t\t\t\t{%- set includeService = false -%}
\t\t\t\t\t\t{%- for locationsText in locations_text -%}
\t\t\t\t\t\t\t{%- for locations in profile.takeOutPricing.locations -%}
\t\t\t\t\t\t\t\t{%- if (locationsText == locations) -%}
\t\t\t\t\t\t\t\t\t{%- set includeService = true -%}
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t{%- endfor -%}
\t\t\t\t\t\t\t{%- if includeService == true -%}
\t\t\t\t\t\t\t\t<div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 20 20\" width=\"20\"><use xlink:href=\"#service-include\"></use></svg><span>
\t\t\t\t\t\t\t\t\t{{- locationsText|take_out_location|trans({}, 'take_out_location') -}}
\t\t\t\t\t\t\t\t</span></div>
\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t{# <div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 18 18\" width=\"18\"><path fill=\"#E0E0E0\" fill-rule=\"evenodd\" d=\"M9 .666A8.336 8.336 0 00.667 8.999c0 4.6 3.733 8.334 8.333 8.334s8.334-3.734 8.334-8.334S13.6.666 9 .666zM5.001 7.999h8v2h-8V8zM2.334 9A6.676 6.676 0 009 15.666a6.676 6.676 0 006.667-6.667A6.676 6.676 0 009 2.333a6.676 6.676 0 00-6.666 6.666z\" clip-rule=\"evenodd\"/></svg><span>
\t\t\t\t\t\t\t\t\t{{- clientTypeText|client_type|trans({}, 'client_types') -}}
\t\t\t\t\t\t\t\t</span></div> #}
\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t{%- set includeService = false -%}
\t\t\t\t\t\t{%- endfor -%}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t{%- endif -%}
\t\t</div>
\t\t{% endif %}
\t\t{# карта пк #}
\t\t<div class=\"profile-map profile-map--desktop white-round mb-4 skeleton\">
\t\t\t<div class=\"profile-map-block\" id=\"profile-map\"></div>
\t\t</div>
\t\t{# ревью #}
\t\t{%- if feature('profile_comments') and not profile.deleted -%}
\t\t\t{%- set commentsCount = profile.comments|length -%}
\t\t\t<noindex>
\t\t\t\t<div class=\"review profile-block d-flex white-round mb-4\"
\t\t\t\t\t\tdata-user=\"{{ is_user_customer(app.user) ? 'true' : 'false' }}\"
\t\t\t\t\t\tdata-url=\"{{ path('profile.comment.create', {profile: profile.id}) }}\"
\t\t\t\t\t\tdata-reg-url=\"{{ path('app_security_register') }}\"
\t\t\t\t\t\t{% if comment_form is defined %}
\t\t\t\t\t\t\tdata-entity-id=\"{{ comment_form.entity_id.vars.id }}\"
\t\t\t\t\t\t\tdata-mark=\"{{ comment_form.mark.vars.full_name }}\"
\t\t\t\t\t\t\tdata-text=\"{{ comment_form.text.vars.id }}\"
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\tid=\"comments\"
\t\t\t\t>
\t\t\t\t\t<div class=\"review-heading d-flex-c mb-4\">
\t\t\t\t\t\t<h2 class=\"review-heading-title text-xl\">ОТЗЫВЫ</h2>
\t\t\t\t\t\t<div class=\"review-rating d-flex-c\" {% if commentsCount > 0 %}itemscope itemtype=\"https://schema.org/AggregateRating\"{% endif %} data-rating=\"{{ rating }}\">
\t\t\t\t\t\t\t{%- if commentsCount > 0 -%}
\t\t\t\t\t\t\t\t<meta itemprop=\"worstRating\" content=\"1\">
\t\t\t\t\t\t\t\t<meta itemprop=\"ratingValue\" content=\"{{ rating }}\">
\t\t\t\t\t\t\t\t<meta itemprop=\"bestRating\" content=\"5\">
\t\t\t\t\t\t\t\t<meta itemprop=\"reviewCount\" content=\"{{ commentsCount }}\">
\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t<div class=\"review-rating-text d-flex-c\" itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\">
\t\t\t\t\t\t\t\t<meta itemprop=\"address\" content=\"{{ profile.city.name }}\" />
\t\t\t\t\t\t\t\t<meta itemprop=\"telephone\" content=\"{{ profile.phoneNumber }}\" />
\t\t\t\t\t\t\t\t<meta itemprop=\"name\" content=\"Рейтинг анкеты {{ profile.name }}\">
\t\t\t\t\t\t\t\t<span class=\"review-rating-value{{ commentsCount == 0 ? ' zero' : '' }} mr-1\">
\t\t\t\t\t\t\t\t\t{{- rating -}}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<span class=\"review-rating-count\">
\t\t\t\t\t\t\t\t\tпо {{ commentsCount }} {{ commentsCount == 1 ? 'отзыву' : 'отзывам' -}}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"rating-star-block d-flex-c\">
\t\t\t\t\t\t\t\t{%- for i in 1..5 -%}
\t\t\t\t\t\t\t\t\t<svg width=\"24\" height=\"25\" class=\"rating-star{% if rating >= i %} active{% endif %}\"><use xlink:href=\"#review-star\"></use></svg>
\t\t\t\t\t\t\t\t{%- endfor -%}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"review-comments d-flex\">
\t\t\t\t\t\t{%- if commentsCount > 0 -%}
\t\t\t\t\t\t\t<div class=\"review-comments-list\" id=\"review-comments-list\">
\t\t\t\t\t\t\t\t{%- for comment in profile.comments -%}
\t\t\t\t\t\t\t\t\t{%- include 'ProfilePreview/comment.html.twig' -%}
\t\t\t\t\t\t\t\t{%- endfor -%}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t<div class=\"review-comments-list review-comments-list-empty\" id=\"review-comments-list\">
\t\t\t\t\t\t\t\t<span class=\"review-comments-list-empty-text\">Пока отзывов нет. {% if not is_user_advertiser(app.user) %}Оставьте первый отзыв.{% endif %}</span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{%- if not is_user_advertiser(app.user) -%}
\t\t\t\t\t\t\t<div class=\"review-form skeleton\" id=\"review-form\">
\t\t\t\t\t\t\t\t{# {% include 'ProfilePreview/form-comment.html.twig' %} #}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</noindex>
\t\t{%- endif -%}
\t\t{# 2 ссылки #}
\t\t{# {%- if profile.personParameters.hairColor and haveMetro -%}
\t\t<div class=\"two-links d-flex-c mb-4\">
\t\t\t{%- if haveMetro -%}
\t\t\t\t<a href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': station_alt.uriIdentity}) }}\" class=\"two-links-item d-flex-c\">
\t\t\t\t\t<svg class=\"two-links-icon\" viewbox=\"0 0 48 49\" width=\"48\" height=\"49\" fill=\"none\"><path fill=\"#FF3F40\" d=\"M16.875 22.156h-1.134v1.502h5.841v-1.502h-1.711l1.126-3.763L24 23.79l3.003-5.396 1.127 3.763h-1.712v1.502h5.84v-1.502h-1.154l-3.852-9.93L24 18.78l-3.274-6.552-3.85 9.93Z\"/><path fill=\"#FF3F40\" d=\"M24 4.97c-7.74 0-14 6.26-14 14 0 4.05 2.082 8.843 4.64 13.204 0 0 1.243 1.669 2.769.787 1.526-.881.806-2.627.806-2.627C15.853 26.351 14 22.182 14 18.971c0-5.52 4.48-10 10-10s10 4.48 10 10c0 5.76-8.677 17.124-12.917 22.504L24 44.971s14-15.5 14-26c0-7.74-6.26-14-14-14Z\"/></svg>
\t\t\t\t\t<span class=\"two-links-text\">Все проститутки у метро <span class=\"two-links-text-highlight fw-700\">{{ station_alt.name|trans }}</span></span>
\t\t\t\t</a>
\t\t\t\t{% if station_alt.name == '' %}
\t\t\t\t\t<div class=\"d-none\">
\t\t\t\t\tstation.name = {{ station_alt.name }}<br>
\t\t\t\t\tstation.uriIdentity = {{ station_alt.uriIdentity }}<br>
\t\t\t\t\tstation = {{ station_alt }}<br>
\t\t\t\t\t</div>
\t\t\t\t{% endif %}
\t\t\t{%- endif -%}
\t\t\t{%- if profile.personParameters.hairColor -%}
\t\t\t\t<a href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color_uri|slugify}) }}\" class=\"two-links-item d-flex-c\">
\t\t\t\t\t<svg class=\"two-links-icon\" viewbox=\"0 0 48 49\" width=\"48\" height=\"49\" fill=\"none\"><path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M19.68 41.52c-.838 1.945-3.17 3.067-5.336 1.959-4.092-2.098-6.908-4.496-8.63-7.16-1.742-2.698-2.28-5.532-2.038-8.3.472-5.366 3.892-10.468 6.724-14.248 3.768-5.024 8.56-7.8 13.6-7.8 5.04 0 9.832 2.776 13.6 7.8 2.802 3.736 6.48 8.868 7.08 14.25.31 2.794-.2 5.664-2.016 8.388-1.788 2.684-4.746 5.08-9.076 7.17-2.166 1.046-4.476-.094-5.286-2.046-1.444.908-2.956 1.438-4.3 1.438-1.352 0-2.874-.536-4.324-1.45h.002ZM13.6 16.17c3.232-4.307 6.94-6.2 10.4-6.2s7.168 1.893 10.4 6.2c2.908 3.877 5.844 8.165 6.304 12.295.218 1.96-.13 3.866-1.368 5.726-1.252 1.876-3.502 3.84-7.336 5.714v-1.802c1.732-2.3 3-5.384 3-9.132 0-.766-.04-1.51-.122-2.226a2 2 0 0 0-1.968-1.774 9.002 9.002 0 0 1-8.85-7.954 2.019 2.019 0 0 0-2.536-1.694C16.736 16.69 13 21.78 13 28.97c0 3.748 1.268 6.832 3 9.132v1.728c-3.574-1.856-5.712-3.808-6.926-5.686-1.214-1.876-1.586-3.804-1.412-5.774.36-4.11 3.078-8.392 5.938-12.2Zm3.4 12.8c0-4.443 1.7-7.347 3.686-8.823A13.017 13.017 0 0 0 31 28.819c.024 2.816-.936 5.578-2.848 7.664-1.664 1.814-3.42 2.488-4.152 2.488-.732 0-2.486-.674-4.15-2.488C18.276 34.765 17 32.237 17 28.97Z\" clip-rule=\"evenodd\"/></svg>
\t\t\t\t\t<span class=\"two-links-text\">Все проститутки <span class=\"two-links-text-highlight fw-700\">{{ profile.personParameters.hairColor|hair_color|trans({}, 'left_menu') }}</span></span>
\t\t\t\t</a>
\t\t\t{%- endif -%}
\t\t</div>
\t\t{%- endif -%} #}
\t\t{# Реки? #}
\t\t<div id=\"recommendations\">
\t\t\t{%- set excludeRecommendationProfileIds = [profile.id] -%}
\t\t\t{%- include 'Recommendations/_profile_recommendations.html.twig' with {componentClass: 'mobile'} -%}
\t\t</div>
\t{{ include('ProfilePreview/nearest_profiles.html.twig') }}
\t\t{# Популярные ссылки? #}
\t\t{# css removed #}
\t\t{# {%- include 'ProfilePreview/popular_links.html.twig' with {} -%} #}
\t\t{%- include 'ProfilePreview/components/mobile-contacts.partial.twig' with {template: 'profile'} -%}
\t</div>
{%- endblock -%}
{%- block javascripts -%}
\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
\t<script>
\t\twindow.comment_data = {
\t\t\t'comment_create': '{{ path('profile.comment.create', {profile: profile.id}) }}',
\t\t\t'form_get': '{{ path('profile.comment.comment_form', {profile: profile.id}) }}',
\t\t\t'sitekey': \"{{ ewz_recaptcha_site_key }}\",
\t\t\t'registrationUrl': \"{{ path('app_security_register') }}\",
\t\t\t'avatar_anonymous': \"{{ asset('assets/images/avatar-user-anonymous.svg') }}\",
\t\t\t'avatar_default': \"{{ asset('assets/images/default-user-avatar.svg') }}\"
\t\t};
window._lD = {
setLastViewedListing: '{{ app.request.attributes.get('_route') }}',
cityUrl: \"{{city.uriIdentity}}\",
};
\t\tdocument.addEventListener('header:update', (event) => {
\t\t\tconst userData = event.detail?.data;
\t\t\tif (userData.user && userData.role === 'advertiser') return;
\t\t\t{% include 'ProfileList/_favorite-button.partial.script.js' %}
\t\t});
\t\twindow.siteData = {
\t\t\tstations: {
{%- 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 -%}
}
\t\t};
\t</script>
\t{{- parent() -}}
\t<script>
\t\t(function() {
let isRenderRecommendationsWidget = false;
let isRenderBotWidget = false;
let isRenderRecentlyViewedWidget = false;
function loadWidgets() {
try {
if (!isRenderRecommendationsWidget) {
isRenderRecommendationsWidget = true;
//window.profileRecommendations.addViewedProfile({{ profile.id }})
\t\t\t\t\t\twindow.Recommendation.addViewedProfile({{ profile.id }})
}
// if (!isRenderBotWidget) {
// isRenderBotWidget = true;
// window.profileBotHelper.addViewedProfile({{ profile.id }});
// }
if (!isRenderRecentlyViewedWidget) {
isRenderRecentlyViewedWidget = true;
//window.recentlyViewed.addViewedProfile({{ profile.id }});
}
} catch (error) {
console.error(error);
}
}
document.addEventListener('DOMContentLoaded', function() {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
\t\t\t\tfunction createMap(id) {
\t\t\t\t\tnew window.YandexMap({
\t\t\t\t\t\tid:id,
\t\t\t\t\t\tlat:\"{{ profile.mapCoordinate.latitude | default(profile.city.mapCoordinate.latitude) }}\",
\t\t\t\t\t\tlon:\"{{ profile.mapCoordinate.longitude | default(profile.city.mapCoordinate.longitude) }}\",
\t\t\t\t\t\tlabel:\"{{ asset('assets/images/map-label.svg') }}\"
\t\t\t\t\t});
\t\t\t\t}
\t\t\t\tcreateMap('profile-map');
\t\t\t\tdocument.addEventListener('click', (e) => {
\t\t\t\t\tconst mobileMap = e.target.closest('#show-map-btn');
\t\t\t\t\tif (mobileMap) {
\t\t\t\t\t\tmobileMap.parentElement.classList.toggle('active');
\t\t\t\t\t\tcreateMap('profile-map-mobile');
\t\t\t\t\t}
\t\t\t\t});
\twindow.increase_views({{profile.id}});
});
{# document.addEventListener(\"recommendations:ready\", function() {
try {
//loadWidgets();
} catch (error) {
console.error(error);
}
}); #}
})();
\t</script>
\t{%- if not profile.deleted -%}
\t\t<script type=\"module\">
\t\t\timport PhotoSwipeLightbox from 'https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe-lightbox.esm.min.js';
\t\t\tconst [w,h] = [window.innerWidth * 0.9, window.innerHeight * 0.9]
\t\t\tconst options = {
\t\t\t\tdataSource: [
\t\t\t\t\t{%- set photo = profile|avatar -%}
\t\t\t\t\t{%- if photo and photo.path -%}
\t\t\t\t\t\t{
\t\t\t\t\t\t\tsrc: '{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}',
\t\t\t\t\t\t\twidth: w,
\t\t\t\t\t\t\theight: h,
\t\t\t\t\t\t\talt: 'Avatar'
\t\t\t\t\t\t},
\t\t\t\t\t{%- endif -%}
\t\t\t\t\t{%- if profile.photos is defined and profile.photos|length > 0 -%}
\t\t\t\t\t\t{%- for photo in profile.photos -%}
\t\t\t\t\t\t\t{%- if photo.path -%}
\t\t\t\t\t\t\t\t{
\t\t\t\t\t\t\t\t\tsrc: '{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}',
\t\t\t\t\t\t\t\t\twidth: w,
\t\t\t\t\t\t\t\t\theight: h,
\t\t\t\t\t\t\t\t\talt: 'Фото профиля {{loop.index}}'
\t\t\t\t\t\t\t\t},
\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{%- endfor -%}
\t\t\t\t\t{%- endif -%}
\t\t\t\t\t{% if profile.selfies is defined %}
\t\t\t\t\t\t{% for photo in profile.selfies %}
\t\t\t\t\t\t\t{%- if photo.path -%}
\t\t\t\t\t\t\t\t{
\t\t\t\t\t\t\t\t\tsrc: '{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}',
\t\t\t\t\t\t\t\t\twidth: w,
\t\t\t\t\t\t\t\t\theight: h,
\t\t\t\t\t\t\t\t\talt: 'Селфи профиля {{loop.index}}'
\t\t\t\t\t\t\t\t}{% if not loop.last %},{% endif %}
\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{%- endfor -%}
\t\t\t\t\t{%- endif -%}
\t\t\t\t],
\t\t\t\tshowHideAnimationType: 'none',
\t\t\t\tpswpModule: () => import('https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe.esm.min.js'),
\t\t\t};
\t\t\tconst lightbox = new PhotoSwipeLightbox(options);
\t\t\tlightbox.init();
\t\t\tconst avatarEl = document.querySelector('.profile-avatar');
\t\t\tconst mediaEl = document.querySelector('.profile-media');
\t\t\tif (avatarEl) avatarEl.classList.add('profile-avatar-loaded');
\t\t\tif (mediaEl) mediaEl.classList.add('profile-media-loaded');
\t\t\t;[...document.querySelectorAll('a[data-gallery]')].forEach(element => {
\t\t\t\telement.addEventListener('click', (e) => {
\t\t\t\t\te.preventDefault();
\t\t\t\t\tconst id = +e.currentTarget.getAttribute('data-index');
\t\t\t\t\tlightbox.loadAndOpen(id); // defines start slide index
\t\t\t\t})
\t\t\t});
\t\t</script>
\t\t<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe.min.css\" integrity=\"sha512-LFWtdAXHQuwUGH9cImO9blA3a3GfQNkpF2uRlhaOpSbDevNyK1rmAjs13mtpjvWyi+flP7zYWboqY+8Mkd42xA==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
\t{%- endif -%}
{%- endblock -%}
{%- block iconsSet -%}
<svg class=\"d-none\" xmlns=\"http://www.w3.org/2000/svg\">
<symbol id=\"service-green\" viewBox=\"0 0 20 20\">
<path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"M1.667 10c0-4.6 3.724-8.333 8.324-8.333 4.609 0 8.342 3.733 8.342 8.333s-3.733 8.333-8.341 8.333c-4.6 0-8.325-3.733-8.325-8.333ZM10 16.666A6.665 6.665 0 0 1 3.333 10 6.665 6.665 0 0 1 10 3.333a6.65 6.65 0 0 1 5.003 2.26l-5.676 5.671-2.432-2.432-1.062 1.055 3.494 3.494 6.544-6.544A6.64 6.64 0 0 1 16.666 10 6.665 6.665 0 0 1 10 16.666Z\" clip-rule=\"evenodd\"/>
</symbol>
<symbol id=\"service-orange\" viewBox=\"0 0 20 20\">
<path fill=\"#FF6D03\" fill-rule=\"evenodd\" d=\"M9.992 1.667c-4.6 0-8.325 3.733-8.325 8.333s3.724 8.333 8.325 8.333c4.608 0 8.341-3.733 8.341-8.333S14.6 1.667 9.992 1.667Zm-2.909 5a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm5.833 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-5.791 5c.583.991 1.641 1.666 2.875 1.666 1.233 0 2.291-.675 2.875-1.667h1.391a4.58 4.58 0 0 1-8.533 0h1.392ZM3.333 10A6.665 6.665 0 0 0 10 16.666 6.665 6.665 0 0 0 16.666 10 6.665 6.665 0 0 0 10 3.333 6.665 6.665 0 0 0 3.333 10Z\" clip-rule=\"evenodd\"/>
</symbol>
<symbol id=\"service-red\" viewBox=\"0 0 20 20\">
<path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M10 1.667A8.336 8.336 0 0 0 1.667 10c0 4.6 3.733 8.333 8.333 8.333S18.333 14.6 18.333 10 14.6 1.667 10 1.667Zm.833 7.5V5.832H9.166v3.333H5.833v1.667h3.333v3.333h1.667v-3.333h3.333V9.166h-3.333Zm-7.5.833A6.676 6.676 0 0 0 10 16.666 6.676 6.676 0 0 0 16.666 10 6.676 6.676 0 0 0 10 3.333 6.676 6.676 0 0 0 3.333 10Z\" clip-rule=\"evenodd\"/>
</symbol>
{# <symbol id=\"service-grey\" viewBox=\"0 0 20 20\">
<path fill=\"#A5A5A5\" fill-rule=\"evenodd\" d=\"M10 1.667A8.336 8.336 0 0 0 1.667 10c0 4.6 3.733 8.333 8.333 8.333S18.333 14.6 18.333 10 14.6 1.667 10 1.667ZM6 9h8v2H6V9Zm-2.667 1A6.676 6.676 0 0 0 10 16.666 6.676 6.676 0 0 0 16.667 10 6.676 6.676 0 0 0 10 3.333 6.676 6.676 0 0 0 3.333 10Z\" clip-rule=\"evenodd\"/>
</symbol> #}
<symbol id=\"service-include\" viewBox=\"0 0 20 20\">
<path fill=\"#333\" d=\"M7.3 13.2L4 9.8l-1.2 1.1 4.6 4.7 10-10-1.1-1.2-8.9 8.8z\"/>
</symbol>
<symbol id=\"profile-approved\" viewBox=\"0 0 24 24\">
<path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"m20.56 9.215 2.44 2.78-2.44 2.78.34 3.68-3.61.82-1.89 3.18-3.4-1.46-3.4 1.47-1.89-3.18-3.61-.82.34-3.69L1 11.995l2.44-2.79-.34-3.68 3.61-.81 1.89-3.18 3.4 1.46 3.4-1.46 1.89 3.18 3.61.82-.34 3.68ZM7.42 11.41l3.17 3.17L17.18 8l1.41 1.41-8 8L6 12.82l1.42-1.41Z\" clip-rule=\"evenodd\"/>
</symbol>
<symbol id=\"review-star\" viewBox=\"0 0 24 25\">
<path d=\"M11.326 19.987c.399-.303.95-.303 1.348 0l4.127 3.14c.864.656 2.06-.185 1.737-1.222l-1.626-5.218c-.141-.452.019-.945.4-1.228l4.236-3.15c.862-.641.41-2.012-.664-2.012h-5.101c-.489 0-.92-.319-1.064-.786l-1.655-5.366c-.323-1.049-1.805-1.049-2.128 0L9.28 9.51a1.114 1.114 0 0 1-1.064.786H3.116c-1.073 0-1.526 1.37-.664 2.011l4.237 3.151c.38.283.54.776.399 1.229l-1.626 5.217c-.323 1.037.873 1.878 1.737 1.221l4.127-3.14Z\"/>
</symbol>
</svg>
{% endblock %}", "ProfilePreview/page.html.twig", "/app/templates/ProfilePreview/page.html.twig");
}
}