<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* ProfilePreview/page.html.twig */
class __TwigTemplate_c169b2457306e63df82a8554c8176c37 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'metaDescription' => [$this, 'block_metaDescription'],
'name_page' => [$this, 'block_name_page'],
'stylesheet' => [$this, 'block_stylesheet'],
'mainContainer' => [$this, 'block_mainContainer'],
'mobile_phone' => [$this, 'block_mobile_phone'],
'javascripts' => [$this, 'block_javascripts'],
];
$macros["_self"] = $this->macros["_self"] = $this;
}
protected function doGetParent(array $context)
{
// line 1
return "ProfilePreview/grid.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
// line 47
$context["currencyFront"] = (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 48
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 48, $this->source); })()), "city", [], "any", false, false, false, 48), "countryCode", [], "any", false, false, false, 48) == "RU")) ? ("₽") : ((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 49
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 49, $this->source); })()), "city", [], "any", false, false, false, 49), "countryCode", [], "any", false, false, false, 49) == "UA")) ? ("₴") : ((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 50
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 50, $this->source); })()), "city", [], "any", false, false, false, 50), "countryCode", [], "any", false, false, false, 50) == "KZ")) ? ("\$") : ((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 51
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 51, $this->source); })()), "city", [], "any", false, false, false, 51), "countryCode", [], "any", false, false, false, 51) == "LT")) ? ("€") : ((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 52
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 52, $this->source); })()), "city", [], "any", false, false, false, 52), "countryCode", [], "any", false, false, false, 52) == "LV")) ? ("€") : ((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 53
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 53, $this->source); })()), "city", [], "any", false, false, false, 53), "countryCode", [], "any", false, false, false, 53) == "EE")) ? ("€") : ("\$"))))))))))));
// 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 31
public function block_title($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", "title"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 32
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaTitle(), "html", null, true);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 35
public function block_metaDescription($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", "metaDescription"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
// line 36
echo " <meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaDescription(), "html", null, true);
echo "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 39
public function block_name_page($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
echo "profile";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 41
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 42
echo " ";
$this->displayParentBlock("stylesheet", $context, $blocks);
echo "
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\">
<link rel=\"stylesheet\" href=\"/assets/vendors/lightgallery/css/lightgallery.min.css\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 56
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 57
echo " ";
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "_menu/breadcrumbs.html.twig", "profile" => (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 57, $this->source); })())]);
echo "
<div class=\"flex-fill model-header border-line\">
<h1 class=\"d-flex flex-fill\">Индивидуалка ";
// line 60
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.', 60, $this->source); })()), "name", [], "any", false, false, false, 60), "html", null, true);
echo ", <span class=\"age\">";
((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.', 60, $this->source); })()), "personParameters", [], "any", false, false, false, 60), "age", [], "any", false, false, false, 60)) ? (print (twig_escape_filter($this->env, $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.', 60, $this->source); })()), "personParameters", [], "any", false, false, false, 60), "age", [], "any", false, false, false, 60), "год"), "html", null, true))) : (print ("")));
echo "</span> ID ";
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.', 60, $this->source); })()), "id", [], "any", false, false, false, 60), "html", null, true);
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.', 60, $this->source); })()), "approved", [], "any", false, false, false, 60)) {
echo "<span class=\"verification ml-auto\">Фото проверено</span>";
}
echo "</h1>
</div>";
// line 63
$context["prices1H"] = twig_array_filter($this->env, [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 64
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 64, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 64), "oneHourPrice", [], "any", false, false, false, 64), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 65
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 65, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 65), "oneHourPrice", [], "any", false, false, false, 65)], // line 66
function ($__v__) use ($context, $macros) { $context["v"] = $__v__; return !(null === (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 66, $this->source); })())); });
// line 68
$context["min1HPrice"] = (( !twig_test_empty((isset($context["prices1H"]) || array_key_exists("prices1H", $context) ? $context["prices1H"] : (function () { throw new RuntimeError('Variable "prices1H" does not exist.', 68, $this->source); })()))) ? (min((isset($context["prices1H"]) || array_key_exists("prices1H", $context) ? $context["prices1H"] : (function () { throw new RuntimeError('Variable "prices1H" does not exist.', 68, $this->source); })()))) : (0));
// line 69
$context["min1HPriceOutput"] = ((((isset($context["min1HPrice"]) || array_key_exists("min1HPrice", $context) ? $context["min1HPrice"] : (function () { throw new RuntimeError('Variable "min1HPrice" does not exist.', 69, $this->source); })()) > 0)) ? ((isset($context["min1HPrice"]) || array_key_exists("min1HPrice", $context) ? $context["min1HPrice"] : (function () { throw new RuntimeError('Variable "min1HPrice" does not exist.', 69, $this->source); })())) : (""));
// line 71
$context["firstStation"] = (((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "primaryStation", [], "any", true, true, false, 71) && !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.', 71, $this->source); })()), "primaryStation", [], "any", false, false, false, 71)))) ? (twig_get_attribute($this->env, $this->source, // line 72
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 72, $this->source); })()), "primaryStation", [], "any", false, false, false, 72)) : (null));
// line 74
$context["stationOutput"] = (((isset($context["firstStation"]) || array_key_exists("firstStation", $context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.', 74, $this->source); })())) ? ((("метро " . twig_get_attribute($this->env, $this->source, (isset($context["firstStation"]) || array_key_exists("firstStation", $context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.', 74, $this->source); })()), "name", [], "any", false, false, false, 74)) . ", ")) : (""));
// line 76
$context["isDefaultCity"] = (twig_get_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); })()), "city", [], "any", false, false, false, 76) == $this->extensions['App\Twig\DefaultCityExtension']->defaultCity());
// line 78
$context["morpID"] = twig_get_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); })()), "id", [], "any", false, false, false, 78);
// line 79
$context["serviceNameList"] = [];
// line 80
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 80, $this->source); })()), function ($__servicesGroup__, $__group__) use ($context, $macros) { $context["servicesGroup"] = $__servicesGroup__; $context["group"] = $__group__; return ( !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 80, $this->source); })()), "masseur", [], "any", false, false, false, 80) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups", $context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.', 80, $this->source); })()))); }));
foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
// line 81
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 82
echo " ";
$context["providedService"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 82, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 82);
// line 83
echo " ";
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 83, $this->source); })())) {
// line 84
echo " ";
$context["serviceNameList"] = twig_array_merge((isset($context["serviceNameList"]) || array_key_exists("serviceNameList", $context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.', 84, $this->source); })()), [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 84))]);
// line 85
echo " ";
}
// line 86
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 87
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 89
$context["service1"] = null;
// line 90
$context["service2"] = null;
// line 91
if ( !twig_test_empty((isset($context["serviceNameList"]) || array_key_exists("serviceNameList", $context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.', 91, $this->source); })()))) {
// line 92
$context["service1"] = $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["serviceNameList"]) || array_key_exists("serviceNameList", $context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.', 92, $this->source); })()), (isset($context["morpID"]) || array_key_exists("morpID", $context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.', 92, $this->source); })()));
// line 93
$context["service2"] = $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["serviceNameList"]) || array_key_exists("serviceNameList", $context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.', 93, $this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID", $context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.', 93, $this->source); })()) + 105));
// line 95
if (((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 95, $this->source); })()) == (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 95, $this->source); })()))) {
// line 96
$context["service2"] = $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["serviceNameList"]) || array_key_exists("serviceNameList", $context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.', 96, $this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID", $context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.', 96, $this->source); })()) + 104));
// line 98
if (((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 98, $this->source); })()) == (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 98, $this->source); })()))) {
// line 99
$context["service2"] = null;
}
// line 101
echo " ";
}
// line 102
echo " ";
}
// line 103
echo "
";
// line 105
echo " ";
$context["altTemplates"] = [((("инди " . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, // line 106
(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['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, // line 107
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 107, $this->source); })()), "name", [], "any", false, false, false, 107))) . ", ") . (isset($context["min1HPriceOutput"]) || array_key_exists("min1HPriceOutput", $context) ? $context["min1HPriceOutput"] : (function () { throw new RuntimeError('Variable "min1HPriceOutput" does not exist.', 107, $this->source); })())) . " руб. час"), (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, // line 108
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 108, $this->source); })()), "name", [], "any", false, false, false, 108)) . (((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 108, $this->source); })())) ? ((", " . (isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 108, $this->source); })()))) : (""))) . (((isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 108, $this->source); })())) ? ((", " . (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 108, $this->source); })()))) : (""))), ((("шлюха " . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, // line 109
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 109, $this->source); })()), "name", [], "any", false, false, false, 109))) . ", снять по тел. ") . twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 109, $this->source); })()), "phoneNumber", [], "any", false, false, false, 109)), ((("проститутка " . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, // line 110
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 110, $this->source); })()), "name", [], "any", false, false, false, 110))) . ", в ") . 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.', 110, $this->source); })()), "city", [], "any", false, false, false, 110), "name", [], "any", false, false, false, 110)), ((("проститутка " . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, // line 111
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 111, $this->source); })()), "name", [], "any", false, false, false, 111))) . ", анкета 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.', 111, $this->source); })()), "id", [], "any", false, false, false, 111))];
// line 113
echo "
<div class=\"d-flex profile-wrapper\">
<div class=\"cols-1\">
<section class=\"model-info d-flex\">
<div class=\"wrap\">
<div class=\"avatar\" id=\"avatar-preview\" itemtype=\"http://schema.org/ImageObject\">
";
// line 119
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.', 119, $this->source); })()), "deleted", [], "any", false, false, false, 119)) {
// line 120
echo " ";
$context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 120, $this->source); })()));
// line 121
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 121, $this->source); })())) {
// line 122
echo " <a 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.', 122, $this->source); })()), "path", [], "any", false, false, false, 122), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" class=\"girl-avatar__small\" data-gallery=\"girl-avatar\" data-index=\"0\">
<img itemprop=\"contentUrl\" src=\"";
// line 123
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.', 123, $this->source); })()), "path", [], "any", false, false, false, 123), "profile_media", "300x420", "jpg"), "html", null, true);
echo "\"
alt=\"проститутка ";
// line 124
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 124, $this->source); })()), "name", [], "any", false, false, false, 124)), "html", null, true);
((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.', 124, $this->source); })()), "personParameters", [], "any", false, false, false, 124), "age", [], "any", false, false, false, 124)) ? (print (twig_escape_filter($this->env, (", " . $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.', 124, $this->source); })()), "personParameters", [], "any", false, false, false, 124), "age", [], "any", false, false, false, 124), "год")), "html", null, true))) : (print ("")));
echo "\"
class=\"img-fluid\" loading=\"lazy\">
";
// line 126
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.', 126, $this->source); })()), "approved", [], "any", false, false, false, 126)) {
echo "<div class=\"verify\">
<svg class=\"icon\">
<use xlink:href=\"#icon-models-profile-verify\"></use>
</svg>
</div>";
}
// line 131
echo " </a>
";
}
// line 133
echo " ";
} else {
// line 134
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/avatar-lock.svg"), "html", null, true);
echo "\" loading=\"lazy\">
";
}
// line 136
echo " </div>
";
// line 137
if (($this->extensions['App\Twig\UserExtension']->isUserCustomer(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 137, $this->source); })()), "user", [], "any", false, false, false, 137)) && !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 137, $this->source); })()), "deleted", [], "any", false, false, false, 137))) {
// line 138
echo " <button type=\"button\"
data-url-add=\"";
// line 139
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.', 139, $this->source); })()), "id", [], "any", false, false, false, 139)]), "html", null, true);
echo "\"
data-url-remove=\"";
// line 140
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.', 140, $this->source); })()), "id", [], "any", false, false, false, 140)]), "html", null, true);
echo "\"
";
// line 141
if ($this->extensions['App\Twig\UserExtension']->isProfileInFavourites((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 141, $this->source); })()))) {
// line 142
echo " title=\"Убрать из избранного\"
class=\"btn favorite like\" id=\"favorite\">
";
} else {
// line 145
echo " title=\"Добавить в избранное\"
class=\"btn favorite unlike\" id=\"favorite\">
";
}
// line 148
echo " <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\" fill=\"#254CB1\"/>
<path d=\"M20 33L18.26 31.3455C12.08 25.4921 8 21.6316 8 16.8937C8 13.0332 10.904 10 14.6 10C16.688 10 18.692 11.0153 20 12.6196C21.308 11.0153 23.312 10 25.4 10C29.096 10 32 13.0332 32 16.8937C32 21.6316 27.92 25.4921 21.74 31.358L20 33Z\" fill=\"white\"/>
<path class=\"ar\" d=\"M18.667 25.126L14 20.412L15.424 19.008L18.681 22.294L26.008 15L27.416 16.42L18.667 25.126Z\" fill=\"#254CB1\"/>
</svg>
</button>
";
}
// line 155
echo " <div class=\"main-data\">
";
// line 156
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.', 156, $this->source); })()), "deleted", [], "any", false, false, false, 156)) {
// line 157
$this->loadTemplate("ProfilePreview/components/profile-phone.partial.twig", "ProfilePreview/page.html.twig", 157)->display(twig_array_merge($context, []));
// line 159
echo "<p class=\"answering-type text-data\"><span class=\"name\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отвечаю на:", [], "profile");
echo "</span>
";
// line 160
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.', 160, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 160), "answeringTo", [], "any", false, false, false, 160)) > 0)) {
// line 161
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 161, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 161), "answeringTo", [], "any", false, false, false, 161));
$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 162
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PhoneCallExtension']->answeringTo($context["answeringTo"]), [], "phone_call_restrictions"), "html", null, true);
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 162)) {
echo ",";
}
// line 163
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['answeringTo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 164
echo " ";
} else {
// line 165
echo " Не указано
";
}
// line 167
echo " </p>
<p class=\"answering-time text-data\"><span class=\"name\">";
// line 168
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Работаю:", [], "profile");
echo "</span> ";
echo twig_call_macro($macros["_self"], "macro__time_to_work", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 168, $this->source); })())], 168, $context, $this->getSourceContext());
echo "</p>
<p class=\"alert-info\">
<span>Участились случаи мошенничества. Не отправляйте предоплату.</span>
</p>
";
} else {
// line 173
echo " <div class=\"lock-block\">
<img src=\"";
// line 174
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/profile-lock.svg"), "html", null, true);
echo "\">
<div class=\"text-block\">
<p class=\"title\">Девушка не работает</p>
<p class=\"lock\">Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</p>
</div>
</div>
";
}
// line 181
echo "
<p class=\"text-data city\"><span class=\"name\">Город:</span><span class=\"value\">";
// line 182
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.', 182, $this->source); })()), "city", [], "any", false, false, false, 182), "name", [], "any", false, false, false, 182), "html", null, true);
echo "</span></p>
";
// line 183
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.', 183, $this->source); })()), "stationsSortedByPrimary", [], "any", false, false, false, 183)) > 0)) {
// line 184
echo " <div class=\"metro d-flex\">
<p class=\"text-data\"><span class=\"name\">";
// line 185
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Метро:", [], "basic");
echo "</span></p>
<ul class=\"d-flex\">
";
// line 187
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 187, $this->source); })()), "stationsSortedByPrimary", [], "any", false, false, false, 187), 0, 3));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 188
echo " <li>
<a href=\"";
// line 189
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_station", ["city" => twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 189, $this->source); })()), "uriIdentity", [], "any", false, false, false, 189), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 189)]), "html", null, true);
echo "\" class=\"d-flex\" target=\"_blank\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM10.1682 8.33113L10.1896 11.7383H12.486L12.4646 4.26169H10.3925L8.02136 8.24568L5.58611 4.26169H3.51401V11.7383H5.81041V8.44862L7.43391 11.0654H8.54473L10.1682 8.33113Z\" fill=\"#254CB1\"/>
</svg>
<span>";
// line 192
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, 192)), "html", null, true);
echo "</span></a>";
if (((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 192) < 3) && !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 192))) {
echo ",";
}
// line 193
echo " </li>
";
++$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 195
echo " </ul>
</div>
";
// line 197
$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.', 197, $this->source); })()), "stationsSortedByPrimary", [], "any", false, false, false, 197));
$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 198
echo " ";
$context["stationDistrict"] = twig_get_attribute($this->env, $this->source, $context["station"], "district", [], "any", false, false, false, 198);
// line 199
echo " ";
if ((isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 199, $this->source); })())) {
// line 200
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 200)) {
// line 201
echo " ";
$context["districtCounty"] = twig_get_attribute($this->env, $this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 201, $this->source); })()), "county", [], "any", false, false, false, 201);
// line 202
echo " ";
if ((isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 202, $this->source); })())) {
// line 203
echo " <div class=\"region\">
<p class=\"text-data\"><span class=\"name\">Район:</span></p>
<ul>
<li><a href=\"";
// line 206
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_county", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 206, $this->source); })()), "city", [], "any", false, false, false, 206), "uriIdentity", [], "any", false, false, false, 206), "county" => twig_get_attribute($this->env, $this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 206, $this->source); })()), "uriIdentity", [], "any", false, false, false, 206)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 206, $this->source); })()), "name", [], "any", false, false, false, 206)), "html", null, true);
echo "</a>,</li>
<li><a href=\"";
// line 207
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_district", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 207, $this->source); })()), "city", [], "any", false, false, false, 207), "uriIdentity", [], "any", false, false, false, 207), "district" => twig_get_attribute($this->env, $this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 207, $this->source); })()), "uriIdentity", [], "any", false, false, false, 207)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 207, $this->source); })()), "name", [], "any", false, false, false, 207)), "html", null, true);
echo "</a></li>
</ul>
</div>
";
}
// line 211
echo " ";
}
// line 212
echo " ";
}
// line 213
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 214
echo " ";
}
// line 215
echo "
<div class=\"table-wrap\">
<table class=\"table price-table\">
<thead>
<tr>
<th scope=\"col\">";
// line 220
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Время", [], "profile");
echo "</th>
<th scope=\"col\">";
// line 221
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Апартаменты", [], "profile");
echo "</th>
<th scope=\"col\">";
// line 222
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Выезд", [], "profile");
echo "</th>
</tr>
</thead>
<tbody>
<tr>
<td>";
// line 227
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Час", [], "profile");
echo "</td>
<td>";
// line 228
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.', 228, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 228), "oneHourPrice", [], "any", false, false, false, 228)) {
// line 229
echo " ";
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.', 229, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 229), "oneHourPrice", [], "any", false, false, false, 229), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 229, $this->source); })()), "city", [], "any", false, false, false, 229), "countryCode", [], "any", false, false, false, 229)), "html", null, true);
echo "
";
} else {
// line 230
echo "-";
}
echo "</td>
<td>";
// line 231
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.', 231, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 231), "oneHourPrice", [], "any", false, false, false, 231)) {
// line 232
echo " ";
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.', 232, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 232), "oneHourPrice", [], "any", false, false, false, 232), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 232, $this->source); })()), "city", [], "any", false, false, false, 232), "countryCode", [], "any", false, false, false, 232)), "html", null, true);
echo "
";
} else {
// line 233
echo "-";
}
echo "</td>
</tr>
<tr>
<td>";
// line 236
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("2 часа", [], "profile");
echo "</td>
<td>";
// line 237
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.', 237, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 237), "twoHoursPrice", [], "any", false, false, false, 237)) {
// line 238
echo " ";
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.', 238, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 238), "twoHoursPrice", [], "any", false, false, false, 238), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 238, $this->source); })()), "city", [], "any", false, false, false, 238), "countryCode", [], "any", false, false, false, 238)), "html", null, true);
echo "
";
} else {
// line 239
echo "-";
}
echo "</td>
<td>";
// line 240
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.', 240, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 240), "twoHoursPrice", [], "any", false, false, false, 240)) {
// line 241
echo " ";
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.', 241, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 241), "twoHoursPrice", [], "any", false, false, false, 241), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 241, $this->source); })()), "city", [], "any", false, false, false, 241), "countryCode", [], "any", false, false, false, 241)), "html", null, true);
echo "
";
} else {
// line 242
echo "-";
}
echo "</td>
</tr>
<tr>
<td>";
// line 245
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ночь", [], "profile");
echo "</td>
<td>";
// line 246
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.', 246, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 246), "nightPrice", [], "any", false, false, false, 246)) {
// line 247
echo " ";
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.', 247, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 247), "nightPrice", [], "any", false, false, false, 247), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 247, $this->source); })()), "city", [], "any", false, false, false, 247), "countryCode", [], "any", false, false, false, 247)), "html", null, true);
echo "
";
} else {
// line 248
echo "-";
}
echo "</td>
<td>";
// line 249
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.', 249, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 249), "nightPrice", [], "any", false, false, false, 249)) {
// line 250
echo " ";
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.', 250, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 250), "nightPrice", [], "any", false, false, false, 250), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 250, $this->source); })()), "city", [], "any", false, false, false, 250), "countryCode", [], "any", false, false, false, 250)), "html", null, true);
echo "
";
} else {
// line 251
echo "-";
}
echo "</td>
</tr>
<tr>
<td>";
// line 254
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Экспресс", [], "profile");
echo " <span>(30мин)</span></td>
<td colspan=\"2\">";
// line 255
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.', 255, $this->source); })()), "expressPricing", [], "any", false, false, false, 255), "provided", [], "any", false, false, false, 255)) {
// line 256
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 256, $this->source); })()), "expressPricing", [], "any", false, false, false, 256), "price", [], "any", false, false, false, 256)) {
// line 257
echo " ";
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.', 257, $this->source); })()), "expressPricing", [], "any", false, false, false, 257), "price", [], "any", false, false, false, 257), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 257, $this->source); })()), "city", [], "any", false, false, false, 257), "countryCode", [], "any", false, false, false, 257)), "html", null, true);
echo "
";
} else {
// line 259
echo " -
";
}
// line 261
echo " ";
} else {
// line 262
echo " -
";
}
// line 263
echo "</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class=\"second-data\">
<ul class=\"basic-info\">";
// line 272
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.', 272, $this->source); })()), "personParameters", [], "any", false, false, false, 272), "age", [], "any", false, false, false, 272)) {
echo "<li>";
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Возраст", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 272, $this->source); })()), "personParameters", [], "any", false, false, false, 272), "age", [], "any", false, false, false, 272), "Возраст"], 272, $context, $this->getSourceContext());
echo "</li>";
}
// line 273
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.', 273, $this->source); })()), "personParameters", [], "any", false, false, false, 273), "height", [], "any", false, false, false, 273)) {
echo "<li>";
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Рост", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 273, $this->source); })()), "personParameters", [], "any", false, false, false, 273), "height", [], "any", false, false, false, 273), "Рост"], 273, $context, $this->getSourceContext());
echo "</li>";
}
// line 274
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.', 274, $this->source); })()), "personParameters", [], "any", false, false, false, 274), "weight", [], "any", false, false, false, 274)) {
echo "<li>";
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Вес", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 274, $this->source); })()), "personParameters", [], "any", false, false, false, 274), "weight", [], "any", false, false, false, 274), "Вес"], 274, $context, $this->getSourceContext());
echo "</li>";
}
// line 275
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.', 275, $this->source); })()), "personParameters", [], "any", false, false, false, 275), "clothSize", [], "any", false, false, false, 275)) {
echo "<li>";
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер одежды", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 275, $this->source); })()), "personParameters", [], "any", false, false, false, 275), "clothSize", [], "any", false, false, false, 275), "Одежда"], 275, $context, $this->getSourceContext());
echo "</li>";
}
// 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), "shoesSize", [], "any", false, false, false, 276)) {
echo "<li>";
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер обуви", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 276, $this->source); })()), "personParameters", [], "any", false, false, false, 276), "shoesSize", [], "any", false, false, false, 276), "Обувь"], 276, $context, $this->getSourceContext());
echo "</li>";
}
// line 277
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.', 277, $this->source); })()), "personParameters", [], "any", false, false, false, 277), "breastSize", [], "any", false, false, false, 277)) {
echo "<li>";
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер груди", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 277, $this->source); })()), "personParameters", [], "any", false, false, false, 277), "breastSize", [], "any", false, false, false, 277), "Грудь"], 277, $context, $this->getSourceContext());
echo "</li>";
}
// line 278
echo " </ul>
<div class=\"wrap\">
<ul class=\"basic-info-link\">";
// line 281
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.', 281, $this->source); })()), "personParameters", [], "any", false, false, false, 281), "bodyType", [], "any", false, false, false, 281)) {
// line 282
echo "<li class=\"with-link\"><span class=\"name\">Телосложение:</span>";
// line 283
if ((($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.', 283, $this->source); })()), "personParameters", [], "any", false, false, false, 283), "bodyType", [], "any", false, false, false, 283)) == "THIN") || ($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.', 283, $this->source); })()), "personParameters", [], "any", false, false, false, 283), "bodyType", [], "any", false, false, false, 283)) == "FAT"))) {
// line 284
echo "<a target=\"_blank\" 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.', 284, $this->source); })()), "uriIdentity", [], "any", false, false, false, 284), "bodyType" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($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.', 284, $this->source); })()), "personParameters", [], "any", false, false, false, 284), "bodyType", [], "any", false, false, false, 284)))]), "html", null, true);
echo "\" class=\"params-link std-hover-link\">";
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.', 284, $this->source); })()), "personParameters", [], "any", false, false, false, 284), "bodyType", [], "any", false, false, false, 284)), [], "body_types"), "html", null, true);
echo "</a>";
} else {
// line 286
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.', 286, $this->source); })()), "personParameters", [], "any", false, false, false, 286), "bodyType", [], "any", false, false, false, 286)), [], "body_types"), "html", null, true);
}
// line 288
echo "</li>";
}
// line 290
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.', 290, $this->source); })()), "personParameters", [], "any", false, false, false, 290), "hairColor", [], "any", false, false, false, 290)) {
echo "<li class=\"with-link\"><span class=\"name\">Цвет волос:</span><a target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_hair_color", ["city" => twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 290, $this->source); })()), "uriIdentity", [], "any", false, false, false, 290), "hairColor" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($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.', 290, $this->source); })()), "personParameters", [], "any", false, false, false, 290), "hairColor", [], "any", false, false, false, 290)))]), "html", null, true);
echo "\" class=\"params-link std-hover-link\">";
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.', 290, $this->source); })()), "personParameters", [], "any", false, false, false, 290), "hairColor", [], "any", false, false, false, 290)), [], "hair_colors"), "html", null, true);
echo "</a></li>";
}
// line 291
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.', 291, $this->source); })()), "personParameters", [], "any", false, false, false, 291), "nationality", [], "any", false, false, false, 291)) {
echo "<li class=\"with-link\"><span class=\"name\">Национальность:</span><a 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.', 291, $this->source); })()), "uriIdentity", [], "any", false, false, false, 291), "nationality" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($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.', 291, $this->source); })()), "personParameters", [], "any", false, false, false, 291), "nationality", [], "any", false, false, false, 291)))]), "html", null, true);
echo "\" class=\"params-link std-hover-link\">";
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.', 291, $this->source); })()), "personParameters", [], "any", false, false, false, 291), "nationality", [], "any", false, false, false, 291)), [], "nationalities"), "html", null, true);
echo "</a></li>";
}
// line 292
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.', 292, $this->source); })()), "personParameters", [], "any", false, false, false, 292), "privateHaircut", [], "any", false, false, false, 292)) {
echo "<li class=\"with-link\"><span class=\"name\">Интимная стрижка:</span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->privateHaircutLabel(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 292, $this->source); })()), "personParameters", [], "any", false, false, false, 292), "privateHaircut", [], "any", false, false, false, 292)), [], "private_haircuts"), "html", null, true);
echo "</li>";
}
// line 293
echo " </ul>
<ul class=\"extend-info\">";
// line 295
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.', 295, $this->source); })()), "createdAt", [], "any", false, false, false, 295)) {
// line 296
echo "<li>";
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Дата регистрации", ((((((twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 296, $this->source); })()), "createdAt", [], "any", false, false, false, 296), "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.', 296, $this->source); })()), "createdAt", [], "any", false, false, false, 296), "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.', 296, $this->source); })()), "createdAt", [], "any", false, false, false, 296), "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.', 296, $this->source); })()), "createdAt", [], "any", false, false, false, 296), "H:i"))], 296, $context, $this->getSourceContext());
echo "</li>";
}
// line 299
$context["threshold"] = twig_get_attribute($this->env, $this->source, twig_date_modify_filter($this->env, "now", "-14 days"), "getTimestamp", [], "method", false, false, false, 299);
// line 300
$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.', 300, $this->source); })()), "updatedAt", [], "any", false, false, false, 300)) ? (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); })()), "updatedAt", [], "any", false, false, false, 300), "getTimestamp", [], "method", false, false, false, 300)) : (""));
// line 301
if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 301, $this->source); })()) && ((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 301, $this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold", $context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.', 301, $this->source); })())))) {
// line 302
echo "<li>";
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Дата обновления", ((((((twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 302, $this->source); })()), "updatedAt", [], "any", false, false, false, 302), "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.', 302, $this->source); })()), "updatedAt", [], "any", false, false, false, 302), "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.', 302, $this->source); })()), "updatedAt", [], "any", false, false, false, 302), "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.', 302, $this->source); })()), "updatedAt", [], "any", false, false, false, 302), "H:i"))], 302, $context, $this->getSourceContext());
echo "</li>
";
}
// line 304
echo " <li>";
echo twig_call_macro($macros["_self"], "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.', 304, $this->source); })()), "id", [], "any", false, false, false, 304)], 304, $context, $this->getSourceContext());
echo "</li>
</ul>
</div>
</div>
</section>";
// line 310
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.', 310, $this->source); })()), "photos", [], "any", false, false, false, 310), twig_get_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); })()), "selfies", [], "any", false, false, false, 310), twig_get_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); })()), "confirmedVideos", [], "any", false, false, false, 310)], 310, $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.', 310, $this->source); })()), "deleted", [], "any", false, false, false, 310))) {
// line 311
echo "<section class=\"tabs tabs-media\">
<div class=\"tabs-block\" id=\"media-tabs\">
<div class=\"tab-header d-flex\">";
// line 314
$context["currentPage"] = "";
// line 315
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 315) && (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.', 315, $this->source); })()), "photos", [], "any", false, false, false, 315)) > 0))) {
$context["currentPage"] = "photo";
echo "<button type=\"button\" class=\"btn d-flex photo active\" data-toggle=\"photo\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M20 5H16.83L15.59 3.65C15.4036 3.44539 15.1767 3.28191 14.9235 3.16999C14.6704 3.05807 14.3968 3.00017 14.12 3H9.88C9.32 3 8.78 3.24 8.4 3.65L7.17 5H4C2.9 5 2 5.9 2 7V19C2 20.1 2.9 21 4 21H20C21.1 21 22 20.1 22 19V7C22 5.9 21.1 5 20 5ZM12 18C9.24 18 7 15.76 7 13C7 10.24 9.24 8 12 8C14.76 8 17 10.24 17 13C17 15.76 14.76 18 12 18Z\"/>
</svg>
<span>Фото</span></button>";
}
// line 320
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 320) && (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.', 320, $this->source); })()), "selfies", [], "any", false, false, false, 320)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 320, $this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 320, $this->source); })())));
echo "<button type=\"button\" class=\"btn d-flex selfie";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 320, $this->source); })()) == "selfie")) {
echo " active";
}
echo "\" data-toggle=\"selfie\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.34918 2L16.6415 2.00909C17.6637 2.00909 18.5 2.81818 18.5 3.81818V20.1818C18.5 21.1818 17.6637 22 16.6415 22H7.34918C6.32702 22 5.5 21.1818 5.5 20.1818V3.81818C5.5 2.81818 6.32702 2 7.34918 2ZM13.8 5.33642C13.8 5.84874 14.2033 6.26469 14.7001 6.26469C15.1968 6.26469 15.6001 5.84874 15.6001 5.33642C15.6001 4.82393 15.1968 4.40799 14.7001 4.40799C14.2033 4.40799 13.8 4.82393 13.8 5.33642ZM7.5 17.408C8.18084 16.8212 9.90234 16.3214 12.0001 16.3214C13.991 16.3214 15.7158 16.7717 16.5 17.3192V14.5352C15.3825 14.0049 13.8149 13.6912 12.0001 13.6912C10.1852 13.6912 8.61754 14.0049 7.5 14.5352V17.408ZM11.9859 12.7629C10.4973 12.7629 9.28594 11.5133 9.28594 9.97791C9.28594 8.44248 10.4973 7.19295 11.9859 7.19295C13.4745 7.19295 14.6859 8.44248 14.6859 9.97791C14.6859 11.5133 13.4745 12.7629 11.9859 12.7629Z\"/>
</svg>
<span>Селфи</span></button>";
}
// line 325
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 325) && (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.', 325, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 325)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 325, $this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 325, $this->source); })())));
echo "<button type=\"button\" class=\"btn d-flex video";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 325, $this->source); })()) == "video")) {
echo " active";
}
echo "\" data-toggle=\"video\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M22 17.7143V6.28571C22 5.02857 20.9412 4 19.6471 4H4.35294C3.05882 4 2 5.02857 2 6.28571V17.7143C2 18.9714 3.05882 20 4.35294 20H19.6471C20.9412 20 22 18.9714 22 17.7143ZM9.05882 16.5714V7.42857L16.1176 12L9.05882 16.5714Z\"/>
</svg>
<span>Видео</span></button>";
}
// line 330
echo "</div>
<div class=\"tab-content loading\">
";
// line 332
$context["photoIndex"] = 0;
// line 333
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 333) && (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.', 333, $this->source); })()), "photos", [], "any", false, false, false, 333)) > 0))) {
// line 334
echo " <div class=\"tab photo active\" data-id=\"photo\">
<div class=\"photo-list\" id=\"photos-preview\">
";
// line 336
$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.', 336, $this->source); })()), "photos", [], "any", false, false, false, 336));
$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 337
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 337)) {
// line 338
echo "<div class=\"list-element\">
<a href=\"";
// line 339
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, 339), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" data-gallery=\"girl-gallery\" class=\"photoswipe\" data-index=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 339), "html", null, true);
echo "\">
<img
srcset=\"";
// line 341
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, 341), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
";
// line 342
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, 342), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
";
// line 343
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, 343), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
";
// line 344
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, 344), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"";
// line 349
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, 349), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 351
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 351) <= twig_length_filter($this->env, (isset($context["altTemplates"]) || array_key_exists("altTemplates", $context) ? $context["altTemplates"] : (function () { throw new RuntimeError('Variable "altTemplates" does not exist.', 351, $this->source); })())))) {
// line 352
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["altTemplates"]) || array_key_exists("altTemplates", $context) ? $context["altTemplates"] : (function () { throw new RuntimeError('Variable "altTemplates" does not exist.', 352, $this->source); })()), (isset($context["photoIndex"]) || array_key_exists("photoIndex", $context) ? $context["photoIndex"] : (function () { throw new RuntimeError('Variable "photoIndex" does not exist.', 352, $this->source); })()), [], "array", false, false, false, 352), "html", null, true);
} else {
// line 354
echo "проститутка ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 354, $this->source); })()), "name", [], "any", false, false, false, 354)), "html", null, true);
echo ", анкета ID";
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.', 354, $this->source); })()), "id", [], "any", false, false, false, 354), "html", null, true);
echo ", фото";
echo twig_escape_filter($this->env, ((isset($context["photoIndex"]) || array_key_exists("photoIndex", $context) ? $context["photoIndex"] : (function () { throw new RuntimeError('Variable "photoIndex" does not exist.', 354, $this->source); })()) - 5), "html", null, true);
}
// line 355
echo "\"
loading=\"lazy\">
</a>
</div>
";
// line 359
$context["photoIndex"] = twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 359);
}
// line 361
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 362
echo " </div>
</div>
";
}
// line 365
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 365) && (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.', 365, $this->source); })()), "selfies", [], "any", false, false, false, 365)) > 0))) {
// line 366
echo " <div class=\"tab selfie";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 366, $this->source); })()) == "selfie")) {
echo " active";
}
echo "\" data-id=\"selfie\">
<div class=\"photos-block\">
<div class=\"photo-list d-flex flex-wrap\" id=\"selfie-preview\">
";
// line 369
$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.', 369, $this->source); })()), "selfies", [], "any", false, false, false, 369));
$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 370
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 370)) {
// line 371
$context["photoIndex"] = (twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 371) + 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.', 371, $this->source); })()), "photos", [], "any", false, false, false, 371)));
// line 372
echo " <div class=\"colorbox-photo-a-cont\">
<a href=\"";
// line 373
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, 373), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" data-gallery=\"girl-selfie\" class=\"photoswipe\" data-index=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 373), "html", null, true);
echo "\">
<img
srcset=\"";
// line 375
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, 375), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
";
// line 376
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, 376), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
";
// line 377
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, 377), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
";
// line 378
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, 378), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"";
// line 383
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, 383), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 385
if (((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 385) + 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.', 385, $this->source); })()), "photos", [], "any", false, false, false, 385))) <= twig_length_filter($this->env, (isset($context["altTemplates"]) || array_key_exists("altTemplates", $context) ? $context["altTemplates"] : (function () { throw new RuntimeError('Variable "altTemplates" does not exist.', 385, $this->source); })())))) {
// line 386
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["altTemplates"]) || array_key_exists("altTemplates", $context) ? $context["altTemplates"] : (function () { throw new RuntimeError('Variable "altTemplates" does not exist.', 386, $this->source); })()), (isset($context["photoIndex"]) || array_key_exists("photoIndex", $context) ? $context["photoIndex"] : (function () { throw new RuntimeError('Variable "photoIndex" does not exist.', 386, $this->source); })()), [], "array", false, false, false, 386), "html", null, true);
} else {
// line 388
echo "проститутка ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 388, $this->source); })()), "name", [], "any", false, false, false, 388)), "html", null, true);
echo ", анкета ID";
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.', 388, $this->source); })()), "id", [], "any", false, false, false, 388), "html", null, true);
echo ", фото";
echo twig_escape_filter($this->env, ((isset($context["photoIndex"]) || array_key_exists("photoIndex", $context) ? $context["photoIndex"] : (function () { throw new RuntimeError('Variable "photoIndex" does not exist.', 388, $this->source); })()) - 5), "html", null, true);
}
// line 389
echo "\"
loading=\"lazy\">
</a>
</div>";
}
// line 394
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 395
echo " </div>
</div>
</div>
";
}
// line 399
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 399) && (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.', 399, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 399)) > 0))) {
// line 400
echo " <div class=\"tab video";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 400, $this->source); })()) == "video")) {
echo " active";
}
echo "\" data-id=\"video\">
<div class=\"videos-block\">
<div class=\"video-list d-flex flex-wrap\">
";
// line 403
$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.', 403, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 403));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 404
echo " <div>
<video class=\"video-js vjs-big-play-centered vjs-default-skin\" controls=\"controls\" preload=\"metadata\" data-setup=\"{}\">
<source src=\"";
// line 406
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, $context["video"], "path", [], "any", false, false, false, 406), "profile_media"), "html", null, true);
echo "#t=0.5\" type='video/mp4'/>
</video>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 410
echo " </div>
</div>
</div>
";
}
// line 414
echo " </div>
</div>
</section>
";
}
// line 418
echo " <section class=\"about\">
<h2 class=\"border-line\"><svg class=\"icon mr-2\">
<use xlink:href=\"#icon-about\"></use>
</svg>";
// line 421
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("О себе", [], "profile");
echo "</h2>
<noindex><p>";
// line 422
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.', 422, $this->source); })()), "description", [], "any", false, false, false, 422), "html", null, true);
echo "</p></noindex>
</section>
<section class=\"services\">
<h2 class=\"border-line\"><svg class=\"icon mr-2\">
<use xlink:href=\"#icon-services\"></use>
</svg>";
// line 427
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Предпочтения", [], "profile");
echo "</h2>
<div class=\"services-info d-flex flex-wrap\">
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
- включено в стоимость
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
- по симпатии
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
- за дополнительную плату
</div>
<div class=\"header-item provided\">
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
- услуга не предоставляется
</div>
</div>
<div class=\"model-services__main\">
<div class=\"model-services__items left w-100\">
";
// line 456
$context["initional_group_2"] = 0;
// line 457
echo " ";
$context["group_2_minet"] = [];
// line 458
echo " ";
$context["group_2_okon"] = [];
// line 459
echo " ";
$context["group_2_okon_trigger"] = ["Окончание на грудь", "Окончание на лицо", "Окончание в рот"];
echo " ";
// line 460
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 460, $this->source); })()), function ($__servicesGroup__, $__group__) use ($context, $macros) { $context["servicesGroup"] = $__servicesGroup__; $context["group"] = $__group__; return ( !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 460, $this->source); })()), "masseur", [], "any", false, false, false, 460) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups", $context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.', 460, $this->source); })()))); }));
foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
// line 461
echo " ";
if (($context["group"] == 2)) {
// line 462
echo " ";
// line 463
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 464
echo " ";
if ((((twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 464) == twig_get_attribute($this->env, $this->source, (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger", $context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.', 464, $this->source); })()), 0, [], "array", false, false, false, 464)) || (twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 464) == twig_get_attribute($this->env, $this->source, (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger", $context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.', 464, $this->source); })()), 1, [], "array", false, false, false, 464))) || (twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 464) == twig_get_attribute($this->env, $this->source, (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger", $context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.', 464, $this->source); })()), 2, [], "array", false, false, false, 464)))) {
// line 465
echo " ";
$context["group_2_okon"] = twig_array_merge((isset($context["group_2_okon"]) || array_key_exists("group_2_okon", $context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.', 465, $this->source); })()), [$context["service"]]);
// line 466
echo " ";
} else {
// line 467
echo " ";
$context["group_2_minet"] = twig_array_merge((isset($context["group_2_minet"]) || array_key_exists("group_2_minet", $context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.', 467, $this->source); })()), [$context["service"]]);
// line 468
echo " ";
}
// line 469
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 470
echo " ";
} elseif ((($context["group"] == 3) && ((isset($context["initional_group_2"]) || array_key_exists("initional_group_2", $context) ? $context["initional_group_2"] : (function () { throw new RuntimeError('Variable "initional_group_2" does not exist.', 470, $this->source); })()) == 0))) {
// line 471
echo " ";
// line 472
echo " ";
$context["initional_group_2"] = 1;
// line 473
echo " <div class=\"model-services__item\">
<p class=\"item-title\"><span>Минет</span></p>
";
// line 475
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["group_2_minet"]) || array_key_exists("group_2_minet", $context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.', 475, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 476
echo " ";
$context["providedService"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 476, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 476);
// line 477
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 477, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 478
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 478, $this->source); })())) {
// line 479
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 479, $this->source); })()), "condition", [], "any", false, false, false, 479) == 1)) {
// line 480
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 483
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 483, $this->source); })()), "condition", [], "any", false, false, false, 483) == 2)) {
// line 484
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 487
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 487, $this->source); })()), "condition", [], "any", false, false, false, 487) == 3)) {
// line 488
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
";
}
// line 492
echo " ";
} else {
// line 493
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 497
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 497, $this->source); })()), "city", [], "any", false, false, false, 497), "uriIdentity", [], "any", false, false, false, 497), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 497)]), "html", null, true);
echo "\" data-s=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 497), "html", null, true);
echo "\">
";
// line 498
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 498)), "html", null, true);
echo "
</a>
";
// line 500
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 500, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 500, $this->source); })()), "condition", [], "any", false, false, false, 500) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 500, $this->source); })()), "extraCharge", [], "any", false, false, false, 500))) {
echo "<span>+";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 500, $this->source); })()), "extraCharge", [], "any", false, false, false, 500), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["currencyFront"]) || array_key_exists("currencyFront", $context) ? $context["currencyFront"] : (function () { throw new RuntimeError('Variable "currencyFront" does not exist.', 500, $this->source); })()), "html", null, true);
echo "</span>";
}
// line 501
echo " </p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 503
echo " </div>
<div class=\"model-services__item\">
<p class=\"item-title\"><span>Окончание</span></p>
";
// line 506
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["group_2_okon"]) || array_key_exists("group_2_okon", $context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.', 506, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 507
echo " ";
$context["providedService"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 507, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 507);
// line 508
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 508, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 509
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 509, $this->source); })())) {
// line 510
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 510, $this->source); })()), "condition", [], "any", false, false, false, 510) == 1)) {
// line 511
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 514
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 514, $this->source); })()), "condition", [], "any", false, false, false, 514) == 2)) {
// line 515
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 518
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 518, $this->source); })()), "condition", [], "any", false, false, false, 518) == 3)) {
// line 519
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
";
}
// line 523
echo " ";
} else {
// line 524
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 528
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 528, $this->source); })()), "city", [], "any", false, false, false, 528), "uriIdentity", [], "any", false, false, false, 528), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 528)]), "html", null, true);
echo "\" data-s=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 528), "html", null, true);
echo "\">
";
// line 529
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 529)), "html", null, true);
echo "
</a>
";
// line 531
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 531, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 531, $this->source); })()), "condition", [], "any", false, false, false, 531) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 531, $this->source); })()), "extraCharge", [], "any", false, false, false, 531))) {
echo "<span>+";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 531, $this->source); })()), "extraCharge", [], "any", false, false, false, 531), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["currencyFront"]) || array_key_exists("currencyFront", $context) ? $context["currencyFront"] : (function () { throw new RuntimeError('Variable "currencyFront" does not exist.', 531, $this->source); })()), "html", null, true);
echo "</span>";
}
// line 532
echo " </p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 534
echo " </div>
<div class=\"model-services__item\">
<p class=\"item-title\" data-group=\"";
// line 536
echo twig_escape_filter($this->env, $context["group"], "html", null, true);
echo "\"><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel($context["group"]), [], "service_groups"), "html", null, true);
echo "</span></p>
";
// line 537
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 538
echo " ";
$context["providedService"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 538, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 538);
// line 539
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 539, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 540
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 540, $this->source); })())) {
// line 541
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 541, $this->source); })()), "condition", [], "any", false, false, false, 541) == 1)) {
// line 542
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 545
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 545, $this->source); })()), "condition", [], "any", false, false, false, 545) == 2)) {
// line 546
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 549
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 549, $this->source); })()), "condition", [], "any", false, false, false, 549) == 3)) {
// line 550
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
";
}
// line 554
echo " ";
} else {
// line 555
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 559
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 559, $this->source); })()), "city", [], "any", false, false, false, 559), "uriIdentity", [], "any", false, false, false, 559), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 559)]), "html", null, true);
echo "\" data-s=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 559), "html", null, true);
echo "\">
";
// line 560
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 560)), "html", null, true);
echo "
</a>
";
// line 562
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 562, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 562, $this->source); })()), "condition", [], "any", false, false, false, 562) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 562, $this->source); })()), "extraCharge", [], "any", false, false, false, 562))) {
echo "<span>+";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 562, $this->source); })()), "extraCharge", [], "any", false, false, false, 562), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["currencyFront"]) || array_key_exists("currencyFront", $context) ? $context["currencyFront"] : (function () { throw new RuntimeError('Variable "currencyFront" does not exist.', 562, $this->source); })()), "html", null, true);
echo "</span>";
}
// line 563
echo " </p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 565
echo " </div>
";
} else {
// line 567
echo "
";
// line 568
if (((($context["group"] == 1) || ($context["group"] == 5)) || ($context["group"] == 7))) {
// line 569
echo " <div class=\"model-services__column\">
";
}
// line 571
echo " <div class=\"model-services__item\">
<p class=\"item-title\"><span>";
// line 572
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel($context["group"]), [], "service_groups"), "html", null, true);
echo "</span></p>
";
// line 573
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 574
echo " ";
$context["providedService"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 574, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 574);
// line 575
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 575, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 576
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 576, $this->source); })())) {
// line 577
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 577, $this->source); })()), "condition", [], "any", false, false, false, 577) == 1)) {
// line 578
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 581
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 581, $this->source); })()), "condition", [], "any", false, false, false, 581) == 2)) {
// line 582
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 585
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 585, $this->source); })()), "condition", [], "any", false, false, false, 585) == 3)) {
// line 586
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
";
}
// line 590
echo " ";
} else {
// line 591
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 595
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 595, $this->source); })()), "city", [], "any", false, false, false, 595), "uriIdentity", [], "any", false, false, false, 595), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 595)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 595)), "html", null, true);
echo "</a>
";
// line 596
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 596, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 596, $this->source); })()), "condition", [], "any", false, false, false, 596) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 596, $this->source); })()), "extraCharge", [], "any", false, false, false, 596))) {
echo "<span>+";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 596, $this->source); })()), "extraCharge", [], "any", false, false, false, 596), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["currencyFront"]) || array_key_exists("currencyFront", $context) ? $context["currencyFront"] : (function () { throw new RuntimeError('Variable "currencyFront" does not exist.', 596, $this->source); })()), "html", null, true);
echo "</span>";
}
// line 597
echo " </p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 599
echo " </div>
";
// line 600
if ((((($context["group"] == 4) && !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 600, $this->source); })()), "masseur", [], "any", false, false, false, 600)) || ($context["group"] == 6)) || ($context["group"] == 7))) {
// line 601
echo " </div>
";
}
// line 603
echo "
";
}
// line 605
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 606
echo " </div>
<div class=\"services-special d-flex\">
<div class=\"services-special__item mr-3\">
<h3><span>Услуги для:</span></h3>
";
// line 610
$context["client_types_text"] = ["1", "2", "3", "4", "5"];
// line 611
echo " ";
$context["includeService"] = false;
// line 612
echo " <div class=\"list\">
";
// line 613
$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.', 613, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["clientTypeText"]) {
// line 614
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 614, $this->source); })()), "clientTypes", [], "any", false, false, false, 614));
foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
// line 615
echo " ";
if (($context["clientTypeText"] == $context["clientType"])) {
// line 616
echo " ";
$context["includeService"] = true;
// line 617
echo " ";
}
// line 618
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientType'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 619
echo " ";
if (($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]) != "TRANS")) {
// line 620
echo " <p class=\"item\">
";
// line 621
if (((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 621, $this->source); })()) == true)) {
// line 622
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} else {
// line 626
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 630
echo "
";
// line 631
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]), [], "client_types_f"), "html", null, true);
echo "
</p>
";
}
// line 634
echo " ";
$context["includeService"] = false;
// line 635
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientTypeText'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 636
echo " </div>
</div>
<div class=\"services-special__item\">
<h3><span>Выезд</span></h3>
";
// line 640
$context["locations_text"] = ["1", "2", "3", "4", "5", "6"];
// line 641
echo " ";
$context["includeService"] = false;
// line 642
echo " <div class=\"list\">
";
// line 643
$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.', 643, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["locationsText"]) {
// line 644
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 644, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 644), "locations", [], "any", false, false, false, 644));
foreach ($context['_seq'] as $context["_key"] => $context["locations"]) {
// line 645
echo " ";
if (($context["locationsText"] == $context["locations"])) {
// line 646
echo " ";
$context["includeService"] = true;
// line 647
echo " ";
}
// line 648
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locations'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 649
echo " <p class=\"item\">
";
// line 650
if (((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 650, $this->source); })()) == true)) {
// line 651
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} else {
// line 655
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 659
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\TakeOutLocationsExtension']->locationLabel($context["locationsText"]), [], "take_out_location"), "html", null, true);
echo "
</p>
";
// line 661
$context["includeService"] = false;
// line 662
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locationsText'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 663
echo " </div>
</div>
</div>
</div>
</section>
</div>
<div class=\"cols-2\">
<section class=\"map\">
<h2 class=\"border-line\"><svg class=\"icon mr-2\">
<use xlink:href=\"#icon-profile-map\"></use>
</svg>";
// line 673
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Расположение", [], "profile");
echo "</h2>
<div class=\"map-block\" id=\"map\" style=\"width: 100%; height: 450px;\"
data-lat=\"";
// line 675
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, 675), "latitude", [], "any", true, true, false, 675)) ? (_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, 675), "latitude", [], "any", false, false, false, 675), 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.', 675, $this->source); })()), "city", [], "any", false, false, false, 675), "mapCoordinate", [], "any", false, false, false, 675), "latitude", [], "any", false, false, false, 675))) : (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.', 675, $this->source); })()), "city", [], "any", false, false, false, 675), "mapCoordinate", [], "any", false, false, false, 675), "latitude", [], "any", false, false, false, 675))), "html", null, true);
echo "\"
data-lon=\"";
// line 676
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, 676), "longitude", [], "any", true, true, false, 676)) ? (_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, 676), "longitude", [], "any", false, false, false, 676), 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.', 676, $this->source); })()), "city", [], "any", false, false, false, 676), "mapCoordinate", [], "any", false, false, false, 676), "longitude", [], "any", false, false, false, 676))) : (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.', 676, $this->source); })()), "city", [], "any", false, false, false, 676), "mapCoordinate", [], "any", false, false, false, 676), "longitude", [], "any", false, false, false, 676))), "html", null, true);
echo "\"
data-map-label=\"";
// line 677
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/map-label.svg"), "html", null, true);
echo "\">
</div>
</section>
";
// line 681
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.', 681, $this->source); })()), "deleted", [], "any", false, false, false, 681))) {
// line 682
echo " ";
$context["commentsCount"] = twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 682, $this->source); })()), "comments", [], "any", false, false, false, 682));
// line 683
echo " <section class=\"comments\"
id=\"review-form\"
data-user=\"";
// line 685
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.', 685, $this->source); })()), "user", [], "any", false, false, false, 685))) ? ("true") : ("false"));
echo "\"
data-url=\"";
// line 686
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.', 686, $this->source); })()), "id", [], "any", false, false, false, 686)]), "html", null, true);
echo "\"
data-reg-url=\"";
// line 687
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
echo "\"
";
// line 688
if (array_key_exists("comment_form", $context)) {
echo "data-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.', 688, $this->source); })()), "entity_id", [], "any", false, false, false, 688), "vars", [], "any", false, false, false, 688), "id", [], "any", false, false, false, 688), "html", null, true);
echo "\"
data-mark=\"";
// line 689
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.', 689, $this->source); })()), "mark", [], "any", false, false, false, 689), "vars", [], "any", false, false, false, 689), "full_name", [], "any", false, false, false, 689), "html", null, true);
echo "\"
data-text=\"";
// line 690
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.', 690, $this->source); })()), "text", [], "any", false, false, false, 690), "vars", [], "any", false, false, false, 690), "id", [], "any", false, false, false, 690), "html", null, true);
echo "\"";
}
// line 691
echo " >
<h2 class=\"border-line\"><svg class=\"icon mr-2\">
<use xlink:href=\"#icon-public-comments\"></use>
</svg>";
// line 694
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отзывы", [], "profile");
echo "</h2>
<div class=\"comments-main\">
<div class=\"comments-main_wrap d-flex justify-content-center\">
";
// line 697
if (((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 697, $this->source); })()) == 0)) {
// line 698
echo " <div class=\"not-comments text-center\" id=\"review-block-list\">
<div id=\"text-to-remove\">
<svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M14 78.7096H23V97L45.9545 78.7096H68C72.9635 78.7096 77 74.6894 77 69.7459V33.8911C77 28.9476 72.9635 24.9274 68 24.9274H14C9.0365 24.9274 5 28.9476 5 33.8911V69.7459C5 74.6894 9.0365 78.7096 14 78.7096Z\" fill=\"#E5E5E5\"/>
<path d=\"M86 7H32C27.0365 7 23 11.0202 23 15.9637H77C81.9635 15.9637 86 19.9839 86 24.9274V60.7822C90.9635 60.7822 95 56.762 95 51.8185V15.9637C95 11.0202 90.9635 7 86 7Z\" fill=\"#E5E5E5\"/>
</svg>
<p>Пока отзывов нет.<br>Оставьте первый отзыв.</p>
</div>
<div class=\"comment__elements\" style=\"display: none\">";
// line 706
$this->loadTemplate("ProfilePreview/comment-empty.html.twig", "ProfilePreview/page.html.twig", 706)->display($context);
echo "</div>
</div>
";
} else {
// line 709
echo " <div class=\"comments overflow-hidden\" id=\"review-block-list\">
<div class=\"comment__elements\">
";
// line 711
$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.', 711, $this->source); })()), "comments", [], "any", false, false, false, 711));
$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 712
echo " ";
$this->loadTemplate("ProfilePreview/comment.html.twig", "ProfilePreview/page.html.twig", 712)->display($context);
// line 713
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 714
echo " </div>
</div>
";
}
// line 717
echo " </div>
";
// line 718
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.', 718, $this->source); })()), "user", [], "any", false, false, false, 718))) {
// line 719
echo " ";
// line 720
echo " <div class=\"review-form\" id=\"review-form-comment\">
";
// line 722
echo " </div>
<div
class=\"dialog-container\"
id=\"form-dialog\"
aria-hidden=\"true\"
aria-labelledby=\"form-dialog-title\"
aria-describedby=\"form-dialog-description\"
>
<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
<div class=\"dialog-content\" role=\"document\">
<div class=\"dialog-header\">
<button
data-a11y-dialog-hide
class=\"dialog-close\"
aria-label=\"Close this dialog window\"
>
<svg class=\"dialog-close__icon\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\"/></svg>
</button>
</div>
<div class=\"dialog-body\">
</div>
</div>
</div>
";
}
// line 747
echo " </div>
</section>
";
}
// line 750
echo " </div>
</div>
";
// line 752
$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.', 752, $this->source); })()), "id", [], "any", false, false, false, 752)];
// line 753
echo " ";
echo twig_include($this->env, $context, "components/_profile_recommendations.html.twig");
echo "
";
// line 755
echo twig_include($this->env, $context, "ProfilePreview/nearest_profiles.html.twig");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 758
public function block_mobile_phone($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", "mobile_phone"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mobile_phone"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mobile_phone"));
$this->loadTemplate("ProfilePreview/components/profile-phone-mobile.partial.twig", "ProfilePreview/page.html.twig", 758)->display(twig_array_merge($context, []));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 761
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 762
echo " <script>
window.comment_data = {
'urlCreate': '";
// line 764
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.', 764, $this->source); })()), "id", [], "any", false, false, false, 764)]), "html", null, true);
echo "',
'urlGet': '";
// line 765
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.', 765, $this->source); })()), "id", [], "any", false, false, false, 765)]), "html", null, true);
echo "',
'sitekey': \"";
// line 766
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.', 766, $this->source); })()), "html", null, true);
echo "\",
'registrationUrl': \"";
// line 767
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register", ["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.', 767, $this->source); })()), "uriIdentity", [], "any", false, false, false, 767)]), "html", null, true);
echo "\"
};
window._lD = {
setLastViewedListing: '";
// line 770
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.', 770, $this->source); })()), "request", [], "any", false, false, false, 770), "attributes", [], "any", false, false, false, 770), "get", ["_route"], "method", false, false, false, 770), "html", null, true);
echo "',
cityUrl: \"";
// line 771
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.', 771, $this->source); })()), "uriIdentity", [], "any", false, false, false, 771), "html", null, true);
echo "\",
};
\t\twindow._strl = {
\t\t\tstations: {";
// line 775
$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 776
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, 776)), "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, 776), "uriIdentity", [], "any", false, false, false, 776), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 776)]), "html", null, true);
echo "\"";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 776)) {
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 778
echo "}
\t\t};
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
";
// line 783
$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.', 783, $this->source); })()), "id", [], "any", false, false, false, 783)];
// line 784
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("scripts/index", null, "basicConfig");
echo "
";
// line 786
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
// line 787
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 787) && (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.', 787, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 787)) > 0))) {
// line 788
echo " <script src=\"https://cdn.jsdelivr.net/npm/video.js@8.23.7/dist/video.min.js\"></script>
<link href=\"https://cdn.jsdelivr.net/npm/video.js@8.23.7/dist/video-js.min.css\" rel=\"stylesheet\">
";
}
// line 791
echo " <script type=\"text/javascript\">
if ((window.navigator.userAgent.indexOf('iPhone') !== -1) || (window.navigator.userAgent.indexOf('iPod') !== -1)){
const video = document.querySelector('.video-js');
video.setAttribute('autoplay', true);
}
</script>
<script>
(function() {
let isRenderRecommendationsWidget = false;
let isRenderBotWidget = false;
let isRenderRecentlyViewedWidget = false;
function loadWidgets() {
if (!isRenderRecommendationsWidget) {
isRenderRecommendationsWidget = true;
window.Recommendations.addViewedProfile(";
// line 806
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.', 806, $this->source); })()), "id", [], "any", false, false, false, 806), "html", null, true);
echo ")
}
if (!isRenderBotWidget) {
isRenderBotWidget = true;
window.profileBotHelper.addViewedProfile(";
// line 810
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.', 810, $this->source); })()), "id", [], "any", false, false, false, 810), "html", null, true);
echo ");
}
if (!isRenderRecentlyViewedWidget) {
isRenderRecentlyViewedWidget = true;
window.recentlyViewed.addViewedProfile(";
// line 814
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.', 814, $this->source); })()), "id", [], "any", false, false, false, 814), "html", null, true);
echo ");
}
//const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
}
document.addEventListener('DOMContentLoaded', function() {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
});
document.addEventListener(\"recommendations:ready\", function() {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
});
})();
document.addEventListener('DOMContentLoaded', function() {
window.increase_views(";
// line 835
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.', 835, $this->source); })()), "id", [], "any", false, false, false, 835), "html", null, true);
echo ");
});
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 5
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 6
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.', 6, $this->source); })())) > 0)) || ( // line 7
array_key_exists("selfies", $context) && (twig_length_filter($this->env, (isset($context["selfies"]) || array_key_exists("selfies", $context) ? $context["selfies"] : (function () { throw new RuntimeError('Variable "selfies" does not exist.', 7, $this->source); })())) > 0))) || ( // line 8
array_key_exists("videos", $context) && (twig_length_filter($this->env, (isset($context["videos"]) || array_key_exists("videos", $context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.', 8, $this->source); })())) > 0)))) {
// line 9
echo "true";
} else {
echo "false";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 12
public function macro__data_wrapper($__text__ = null, $__value__ = null, $__shortText__ = "", ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"text" => $__text__,
"value" => $__value__,
"shortText" => $__shortText__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_data_wrapper"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_data_wrapper"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_data_wrapper"));
// line 13
echo " ";
$context["value"] = (((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 13, $this->source); })())) ? ((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 13, $this->source); })())) : ("-"));
// line 14
echo " <span class=\"name";
echo (((isset($context["shortText"]) || array_key_exists("shortText", $context) ? $context["shortText"] : (function () { throw new RuntimeError('Variable "shortText" does not exist.', 14, $this->source); })())) ? (" long-text") : (""));
echo "\">";
echo twig_escape_filter($this->env, (isset($context["text"]) || array_key_exists("text", $context) ? $context["text"] : (function () { throw new RuntimeError('Variable "text" does not exist.', 14, $this->source); })()), "html", null, true);
echo "<i>:</i></span><span class=\"name-short\">";
echo twig_escape_filter($this->env, (isset($context["shortText"]) || array_key_exists("shortText", $context) ? $context["shortText"] : (function () { throw new RuntimeError('Variable "shortText" does not exist.', 14, $this->source); })()), "html", null, true);
echo "</span><span class=\"value\">";
echo twig_escape_filter($this->env, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 14, $this->source); })()), "html", null, true);
echo "</span>
";
$__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 19
public function macro__time_to_work($__profile__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"profile" => $__profile__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_time_to_work"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_time_to_work"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_time_to_work"));
// line 20
echo " ";
if ((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 20, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 20), "timeFrom", [], "any", false, false, false, 20) == "") && (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.', 20, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 20), "timeTo", [], "any", false, false, false, 20) == "")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 21
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 21, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 21), "timeFrom", [], "any", false, false, false, 21) == 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.', 21, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 21), "timeTo", [], "any", false, false, false, 21)))) {
// line 22
echo " ";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Круглосуточно", [], "profile");
// line 23
echo " ";
} else {
// line 24
echo " с
";
// line 25
(((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); })()), "phoneCallRestrictions", [], "any", false, false, false, 25), "timeFrom", [], "any", false, false, false, 25) == "")) ? (print (0)) : (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 25, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 25), "timeFrom", [], "any", false, false, false, 25), "html", null, true))));
echo "
до
";
// line 27
(((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 27, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 27), "timeTo", [], "any", false, false, false, 27) == "")) ? (print (0)) : (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 27, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 27), "timeTo", [], "any", false, false, false, 27), "html", null, true))));
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "ProfilePreview/page.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 2368 => 27, 2363 => 25, 2360 => 24, 2357 => 23, 2354 => 22, 2352 => 21, 2350 => 20, 2328 => 19, 2301 => 14, 2298 => 13, 2274 => 12, 2253 => 9, 2251 => 8, 2250 => 7, 2249 => 6, 2225 => 5, 2208 => 835, 2184 => 814, 2177 => 810, 2170 => 806, 2153 => 791, 2148 => 788, 2146 => 787, 2142 => 786, 2136 => 784, 2134 => 783, 2127 => 778, 2106 => 776, 2089 => 775, 2083 => 771, 2079 => 770, 2073 => 767, 2069 => 766, 2065 => 765, 2061 => 764, 2057 => 762, 2044 => 761, 2019 => 758, 2004 => 755, 1998 => 753, 1996 => 752, 1992 => 750, 1987 => 747, 1960 => 722, 1957 => 720, 1955 => 719, 1953 => 718, 1950 => 717, 1945 => 714, 1931 => 713, 1928 => 712, 1911 => 711, 1907 => 709, 1901 => 706, 1891 => 698, 1889 => 697, 1883 => 694, 1878 => 691, 1874 => 690, 1870 => 689, 1864 => 688, 1860 => 687, 1856 => 686, 1852 => 685, 1848 => 683, 1845 => 682, 1843 => 681, 1836 => 677, 1832 => 676, 1828 => 675, 1823 => 673, 1811 => 663, 1805 => 662, 1803 => 661, 1797 => 659, 1791 => 655, 1785 => 651, 1783 => 650, 1780 => 649, 1774 => 648, 1771 => 647, 1768 => 646, 1765 => 645, 1760 => 644, 1756 => 643, 1753 => 642, 1750 => 641, 1748 => 640, 1742 => 636, 1736 => 635, 1733 => 634, 1727 => 631, 1724 => 630, 1718 => 626, 1712 => 622, 1710 => 621, 1707 => 620, 1704 => 619, 1698 => 618, 1695 => 617, 1692 => 616, 1689 => 615, 1684 => 614, 1680 => 613, 1677 => 612, 1674 => 611, 1672 => 610, 1666 => 606, 1660 => 605, 1656 => 603, 1652 => 601, 1650 => 600, 1647 => 599, 1640 => 597, 1632 => 596, 1625 => 595, 1619 => 591, 1616 => 590, 1610 => 586, 1608 => 585, 1603 => 582, 1601 => 581, 1596 => 578, 1593 => 577, 1591 => 576, 1584 => 575, 1581 => 574, 1577 => 573, 1573 => 572, 1570 => 571, 1566 => 569, 1564 => 568, 1561 => 567, 1557 => 565, 1550 => 563, 1542 => 562, 1537 => 560, 1530 => 559, 1524 => 555, 1521 => 554, 1515 => 550, 1513 => 549, 1508 => 546, 1506 => 545, 1501 => 542, 1498 => 541, 1496 => 540, 1489 => 539, 1486 => 538, 1482 => 537, 1476 => 536, 1472 => 534, 1465 => 532, 1457 => 531, 1452 => 529, 1445 => 528, 1439 => 524, 1436 => 523, 1430 => 519, 1428 => 518, 1423 => 515, 1421 => 514, 1416 => 511, 1413 => 510, 1411 => 509, 1404 => 508, 1401 => 507, 1397 => 506, 1392 => 503, 1385 => 501, 1377 => 500, 1372 => 498, 1365 => 497, 1359 => 493, 1356 => 492, 1350 => 488, 1348 => 487, 1343 => 484, 1341 => 483, 1336 => 480, 1333 => 479, 1331 => 478, 1324 => 477, 1321 => 476, 1317 => 475, 1313 => 473, 1310 => 472, 1308 => 471, 1305 => 470, 1299 => 469, 1296 => 468, 1293 => 467, 1290 => 466, 1287 => 465, 1284 => 464, 1279 => 463, 1277 => 462, 1274 => 461, 1269 => 460, 1265 => 459, 1262 => 458, 1259 => 457, 1257 => 456, 1225 => 427, 1217 => 422, 1213 => 421, 1208 => 418, 1202 => 414, 1196 => 410, 1186 => 406, 1182 => 404, 1178 => 403, 1169 => 400, 1166 => 399, 1160 => 395, 1146 => 394, 1140 => 389, 1132 => 388, 1129 => 386, 1127 => 385, 1123 => 383, 1115 => 378, 1111 => 377, 1107 => 376, 1103 => 375, 1096 => 373, 1093 => 372, 1091 => 371, 1089 => 370, 1072 => 369, 1063 => 366, 1060 => 365, 1055 => 362, 1041 => 361, 1038 => 359, 1032 => 355, 1024 => 354, 1021 => 352, 1019 => 351, 1015 => 349, 1007 => 344, 1003 => 343, 999 => 342, 995 => 341, 988 => 339, 985 => 338, 983 => 337, 966 => 336, 962 => 334, 959 => 333, 957 => 332, 953 => 330, 941 => 325, 929 => 320, 921 => 315, 919 => 314, 915 => 311, 913 => 310, 905 => 304, 899 => 302, 897 => 301, 895 => 300, 893 => 299, 888 => 296, 886 => 295, 883 => 293, 877 => 292, 869 => 291, 861 => 290, 858 => 288, 855 => 286, 848 => 284, 846 => 283, 844 => 282, 842 => 281, 838 => 278, 832 => 277, 826 => 276, 820 => 275, 814 => 274, 808 => 273, 802 => 272, 792 => 263, 788 => 262, 785 => 261, 781 => 259, 773 => 257, 770 => 256, 768 => 255, 764 => 254, 757 => 251, 749 => 250, 747 => 249, 742 => 248, 734 => 247, 732 => 246, 728 => 245, 721 => 242, 713 => 241, 711 => 240, 706 => 239, 698 => 238, 696 => 237, 692 => 236, 685 => 233, 677 => 232, 675 => 231, 670 => 230, 662 => 229, 660 => 228, 656 => 227, 648 => 222, 644 => 221, 640 => 220, 633 => 215, 630 => 214, 616 => 213, 613 => 212, 610 => 211, 601 => 207, 595 => 206, 590 => 203, 587 => 202, 584 => 201, 581 => 200, 578 => 199, 575 => 198, 558 => 197, 554 => 195, 539 => 193, 533 => 192, 527 => 189, 524 => 188, 507 => 187, 502 => 185, 499 => 184, 497 => 183, 493 => 182, 490 => 181, 480 => 174, 477 => 173, 467 => 168, 464 => 167, 460 => 165, 457 => 164, 443 => 163, 437 => 162, 419 => 161, 417 => 160, 412 => 159, 410 => 157, 408 => 156, 405 => 155, 396 => 148, 391 => 145, 386 => 142, 384 => 141, 380 => 140, 376 => 139, 373 => 138, 371 => 137, 368 => 136, 362 => 134, 359 => 133, 355 => 131, 347 => 126, 341 => 124, 337 => 123, 332 => 122, 329 => 121, 326 => 120, 324 => 119, 316 => 113, 314 => 111, 313 => 110, 312 => 109, 311 => 108, 310 => 107, 309 => 106, 307 => 105, 304 => 103, 301 => 102, 298 => 101, 295 => 99, 293 => 98, 291 => 96, 289 => 95, 287 => 93, 285 => 92, 283 => 91, 281 => 90, 279 => 89, 273 => 87, 267 => 86, 264 => 85, 261 => 84, 258 => 83, 255 => 82, 250 => 81, 245 => 80, 243 => 79, 241 => 78, 239 => 76, 237 => 74, 235 => 72, 234 => 71, 232 => 69, 230 => 68, 228 => 66, 227 => 65, 226 => 64, 225 => 63, 214 => 60, 207 => 57, 194 => 56, 176 => 42, 163 => 41, 138 => 39, 122 => 36, 109 => 35, 93 => 32, 80 => 31, 66 => 1, 64 => 53, 63 => 52, 62 => 51, 61 => 50, 60 => 49, 59 => 48, 58 => 47, 42 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'ProfilePreview/grid.html.twig' %}
{# Проверяем есть ли у нас вообще данные для табов #}
{%- macro _show_tabs(photos,selfies,videos) -%}
{% if (photos is defined and photos|length > 0) or
(selfies is defined and selfies|length > 0) or
(videos is defined and videos|length > 0)
%}true{% else %}false{% endif %}
{%- endmacro -%}
{% macro _data_wrapper(text, value, shortText = '') %}
{% set value = value ? value : '-' %}
<span class=\"name{{ shortText ? ' long-text' : '' }}\">{{ text }}<i>:</i></span><span class=\"name-short\">{{ shortText }}</span><span class=\"value\">{{ value }}</span>
{% endmacro %}
{% macro _time_to_work(profile) %}
{% if (profile.phoneCallRestrictions.timeFrom == '' and profile.phoneCallRestrictions.timeTo == '') or
(profile.phoneCallRestrictions.timeFrom == profile.phoneCallRestrictions.timeTo) %}
{% trans with {} from 'profile' %}Круглосуточно{% endtrans %}
{% else %}
с
{{ profile.phoneCallRestrictions.timeFrom == '' ? 0 : profile.phoneCallRestrictions.timeFrom }}
до
{{ profile.phoneCallRestrictions.timeTo == '' ? 0 : profile.phoneCallRestrictions.timeTo }}
{% endif %}
{% endmacro %}
{% block title %}
{{ seo_title() }}
{% endblock %}
{% block metaDescription %}
<meta name=\"description\" content=\"{{ seo_description() }}\">
{% endblock %}
{% block name_page %}profile{% endblock %}
{% block stylesheet %}
{{ parent() }}
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\">
<link rel=\"stylesheet\" href=\"/assets/vendors/lightgallery/css/lightgallery.min.css\">
{% endblock %}
{% set currencyFront =
profile.city.countryCode == \"RU\" ? \"₽\" :
profile.city.countryCode == \"UA\" ? \"₴\" :
profile.city.countryCode == \"KZ\" ? \"\$\" :
profile.city.countryCode == \"LT\" ? \"€\" :
profile.city.countryCode == \"LV\" ? \"€\" :
profile.city.countryCode == \"EE\" ? \"€\" : \"\$\"
%}
{% block mainContainer %}
{{ knp_menu_render('breadcrumbs', {'template': '_menu/breadcrumbs.html.twig', 'profile': profile}) }}
<div class=\"flex-fill model-header border-line\">
<h1 class=\"d-flex flex-fill\">Индивидуалка {{ profile.name }}, <span class=\"age\">{{ profile.personParameters.age ? profile.personParameters.age|plural('год') : '' }}</span> ID {{ profile.id }}{% if profile.approved %}<span class=\"verification ml-auto\">Фото проверено</span>{% endif %}</h1>
</div>
{%- set prices1H = [
profile.apartmentsPricing.oneHourPrice,
profile.takeOutPricing.oneHourPrice
]|filter(v => v is not null) -%}
{%- set min1HPrice = prices1H is not empty ? min(prices1H) : 0 -%}
{%- set min1HPriceOutput = min1HPrice > 0 ? min1HPrice : '' -%}
{%- set firstStation = profile.primaryStation is defined and profile.primaryStation is not empty
? profile.primaryStation
: null -%}
{%- set stationOutput = firstStation ? 'метро ' ~ firstStation.name ~ ', ' : '' -%}
{%- set isDefaultCity = profile.city == default_city() -%}
{%- set morpID = profile.id -%}
{% set serviceNameList = [] %}
{% for group, servicesGroup in services | filter((servicesGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) %}
{% for service in servicesGroup %}
{% set providedService = profile.providedService(service) %}
{% if providedService %}
{% set serviceNameList = serviceNameList|merge([service.name|trans]) %}
{% endif %}
{% endfor %}
{% endfor %}
{%- set service1 = null -%}
{%- set service2 = null -%}
{% if serviceNameList is not empty %}
{%- set service1 = serviceNameList|seo_morphing(morpID) -%}
{%- set service2 = serviceNameList|seo_morphing(morpID + 105) -%}
{% if service1 == service2 -%}
{%- set service2 = serviceNameList|seo_morphing(morpID + 104) -%}
{% if service1 == service2 -%}
{%- set service2 = null -%}
{% endif %}
{% endif %}
{% endif %}
{# Определяем шаблоны alt-текстов в массиве #}
{% set altTemplates = [
'инди ' ~ profile.name|trans ~ ', ' ~ profile.city.name,
'девочка по вызову ' ~ profile.name|trans ~ ', ' ~ min1HPriceOutput ~ ' руб. час',
profile.name|trans ~ (service1 ? ', ' ~ service1 : '') ~ (service2 ? ', ' ~ service2 : ''),
'шлюха ' ~ profile.name|trans ~ ', снять по тел. ' ~ profile.phoneNumber,
'проститутка ' ~ profile.name|trans ~ ', в ' ~ profile.city.name,
'проститутка ' ~ profile.name|trans ~ ', анкета ID' ~ profile.id
] %}
<div class=\"d-flex profile-wrapper\">
<div class=\"cols-1\">
<section class=\"model-info d-flex\">
<div class=\"wrap\">
<div class=\"avatar\" id=\"avatar-preview\" itemtype=\"http://schema.org/ImageObject\">
{% if not profile.deleted %}
{% set photo = profile|avatar %}
{% if photo %}
<a href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" class=\"girl-avatar__small\" data-gallery=\"girl-avatar\" data-index=\"0\">
<img itemprop=\"contentUrl\" src=\"{{ responsive_asset(photo.path, 'profile_media', \"300x420\", \"jpg\") }}\"
alt=\"проститутка {{ profile.name|trans }}{{ profile.personParameters.age ? ', ' ~ profile.personParameters.age|plural('год') : '' }}\"
class=\"img-fluid\" loading=\"lazy\">
{% if profile.approved %}<div class=\"verify\">
<svg class=\"icon\">
<use xlink:href=\"#icon-models-profile-verify\"></use>
</svg>
</div>{% endif %}
</a>
{% endif %}
{% else %}
<img src=\"{{ asset('assets/images/avatar-lock.svg') }}\" loading=\"lazy\">
{% endif %}
</div>
{% if is_user_customer(app.user) and not profile.deleted %}
<button type=\"button\"
data-url-add=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
data-url-remove=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
{% if is_profile_in_favourites(profile) %}
title=\"Убрать из избранного\"
class=\"btn favorite like\" id=\"favorite\">
{% else %}
title=\"Добавить в избранное\"
class=\"btn favorite unlike\" id=\"favorite\">
{% endif %}
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\" fill=\"#254CB1\"/>
<path d=\"M20 33L18.26 31.3455C12.08 25.4921 8 21.6316 8 16.8937C8 13.0332 10.904 10 14.6 10C16.688 10 18.692 11.0153 20 12.6196C21.308 11.0153 23.312 10 25.4 10C29.096 10 32 13.0332 32 16.8937C32 21.6316 27.92 25.4921 21.74 31.358L20 33Z\" fill=\"white\"/>
<path class=\"ar\" d=\"M18.667 25.126L14 20.412L15.424 19.008L18.681 22.294L26.008 15L27.416 16.42L18.667 25.126Z\" fill=\"#254CB1\"/>
</svg>
</button>
{% endif %}
<div class=\"main-data\">
{% if not profile.deleted %}
\t\t\t\t\t\t {%- include 'ProfilePreview/components/profile-phone.partial.twig' with {} -%}
<p class=\"answering-type text-data\"><span class=\"name\">{% trans with {} from 'profile' %}Отвечаю на:{% endtrans %}</span>
{% if profile.phoneCallRestrictions.answeringTo|length > 0 %}
{% for answeringTo in profile.phoneCallRestrictions.answeringTo %}
{{ answeringTo|answering_to|trans({}, 'phone_call_restrictions') }}{% if not loop.last %},{% endif %}
{% endfor %}
{% else %}
Не указано
{% endif %}
</p>
<p class=\"answering-time text-data\"><span class=\"name\">{% trans with {} from 'profile' %}Работаю:{% endtrans %}</span> {{ _self._time_to_work(profile) }}</p>
<p class=\"alert-info\">
<span>Участились случаи мошенничества. Не отправляйте предоплату.</span>
</p>
{% else %}
<div class=\"lock-block\">
<img src=\"{{ asset('assets/images/icons/profile-lock.svg') }}\">
<div class=\"text-block\">
<p class=\"title\">Девушка не работает</p>
<p class=\"lock\">Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</p>
</div>
</div>
{% endif %}
<p class=\"text-data city\"><span class=\"name\">Город:</span><span class=\"value\">{{ profile.city.name }}</span></p>
{% if profile.stationsSortedByPrimary|length > 0 %}
<div class=\"metro d-flex\">
<p class=\"text-data\"><span class=\"name\">{% trans with {} from 'basic' %}Метро:{% endtrans %}</span></p>
<ul class=\"d-flex\">
{% for station in profile.stationsSortedByPrimary|slice(0,3) %}
<li>
<a href=\"{{ path('profile_list.list_by_station', {'city': city.uriIdentity, 'station': station.uriIdentity}) }}\" class=\"d-flex\" target=\"_blank\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM10.1682 8.33113L10.1896 11.7383H12.486L12.4646 4.26169H10.3925L8.02136 8.24568L5.58611 4.26169H3.51401V11.7383H5.81041V8.44862L7.43391 11.0654H8.54473L10.1682 8.33113Z\" fill=\"#254CB1\"/>
</svg>
<span>{{ station.name|trans }}</span></a>{% if loop.index < 3 and not loop.last %},{% endif %}
</li>
{% endfor %}
</ul>
</div>
{% for station in profile.stationsSortedByPrimary %}
{% set stationDistrict = station.district %}
{% if stationDistrict %}
{% if loop.first %}
{% set districtCounty = stationDistrict.county %}
{% if districtCounty %}
<div class=\"region\">
<p class=\"text-data\"><span class=\"name\">Район:</span></p>
<ul>
<li><a href=\"{{ path('profile_list.list_by_county', {'city': districtCounty.city.uriIdentity, 'county': districtCounty.uriIdentity}) }}\">{{ districtCounty.name|trans }}</a>,</li>
<li><a href=\"{{ path('profile_list.list_by_district', {'city': districtCounty.city.uriIdentity, 'district': stationDistrict.uriIdentity}) }}\">{{ stationDistrict.name|trans }}</a></li>
</ul>
</div>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
<div class=\"table-wrap\">
<table class=\"table price-table\">
<thead>
<tr>
<th scope=\"col\">{% trans with {} from 'profile' %}Время{% endtrans %}</th>
<th scope=\"col\">{% trans with {} from 'profile' %}Апартаменты{% endtrans %}</th>
<th scope=\"col\">{% trans with {} from 'profile' %}Выезд{% endtrans %}</th>
</tr>
</thead>
<tbody>
<tr>
<td>{% trans with {} from 'profile' %}Час{% endtrans %}</td>
<td>{% if profile.apartmentsPricing.oneHourPrice %}
{{ profile.apartmentsPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}</td>
<td>{% if profile.takeOutPricing.oneHourPrice %}
{{ profile.takeOutPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}</td>
</tr>
<tr>
<td>{% trans with {} from 'profile' %}2 часа{% endtrans %}</td>
<td>{% if profile.apartmentsPricing.twoHoursPrice %}
{{ profile.apartmentsPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}</td>
<td>{% if profile.takeOutPricing.twoHoursPrice %}
{{ profile.takeOutPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}</td>
</tr>
<tr>
<td>{% trans with {} from 'profile' %}Ночь{% endtrans %}</td>
<td>{% if profile.apartmentsPricing.nightPrice %}
{{ profile.apartmentsPricing.nightPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}</td>
<td>{% if profile.takeOutPricing.nightPrice %}
{{ profile.takeOutPricing.nightPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}</td>
</tr>
<tr>
<td>{% trans with {} from 'profile' %}Экспресс{% endtrans %} <span>(30мин)</span></td>
<td colspan=\"2\">{% if profile.expressPricing.provided %}
{% if profile.expressPricing.price %}
{{ profile.expressPricing.price }} {{ profile.city.countryCode|country_currency }}
{% else %}
-
{% endif %}
{% else %}
-
{% endif %}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class=\"second-data\">
<ul class=\"basic-info\">
{%- if profile.personParameters.age -%}<li>{{ _self._data_wrapper('Возраст', profile.personParameters.age, 'Возраст' )}}</li>{% endif %}
{%- if profile.personParameters.height -%}<li>{{ _self._data_wrapper('Рост', profile.personParameters.height, 'Рост') }}</li>{% endif %}
{%- if profile.personParameters.weight -%}<li>{{ _self._data_wrapper('Вес', profile.personParameters.weight, 'Вес') }}</li>{% endif %}
{%- if profile.personParameters.clothSize -%}<li>{{ _self._data_wrapper('Размер одежды', profile.personParameters.clothSize, 'Одежда') }}</li>{% endif %}
{%- if profile.personParameters.shoesSize -%}<li>{{ _self._data_wrapper('Размер обуви', profile.personParameters.shoesSize, 'Обувь') }}</li>{% endif %}
{%- if profile.personParameters.breastSize -%}<li>{{ _self._data_wrapper('Размер груди', profile.personParameters.breastSize, 'Грудь') }}</li>{% endif %}
</ul>
<div class=\"wrap\">
<ul class=\"basic-info-link\">
{%- if profile.personParameters.bodyType -%}
<li class=\"with-link\"><span class=\"name\">Телосложение:</span>
{%- if profile.personParameters.bodyType|body_type == 'THIN' or profile.personParameters.bodyType|body_type == 'FAT' -%}
<a target=\"_blank\" href=\"{{ path('profile_list.list_by_body_type', {'city': city.uriIdentity,'bodyType': profile.personParameters.bodyType|body_type|slugify}) }}\" class=\"params-link std-hover-link\">{{ profile.personParameters.bodyType|body_type|trans({}, 'body_types') }}</a>
{%- else -%}
{{ profile.personParameters.bodyType|body_type|trans({}, 'body_types') }}
{%- endif -%}
</li>
{%- endif -%}
{%- if profile.personParameters.hairColor %}<li class=\"with-link\"><span class=\"name\">Цвет волос:</span><a target=\"_blank\" href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color|slugify}) }}\" class=\"params-link std-hover-link\">{{ profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors') }}</a></li>{% endif %}
{%- if profile.personParameters.nationality %}<li class=\"with-link\"><span class=\"name\">Национальность:</span><a target=\"_blank\" href=\"{{ path('profile_list.list_by_nationality', {'city': city.uriIdentity,'nationality': profile.personParameters.nationality|nationality|slugify}) }}\" class=\"params-link std-hover-link\">{{ profile.personParameters.nationality|nationality|trans({}, 'nationalities') }}</a></li>{% endif %}
{%- if profile.personParameters.privateHaircut %}<li class=\"with-link\"><span class=\"name\">Интимная стрижка:</span>{{ profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') }}</li>{% endif %}
</ul>
<ul class=\"extend-info\">
{%- if profile.createdAt -%}
<li>{{ _self._data_wrapper('Дата регистрации', profile.createdAt|date(\"d\") ~ ' ' ~ profile.createdAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.createdAt|date(\"Y\") ~ ' ' ~ profile.createdAt|date(\"H:i\") ) }}</li>
{%- endif -%}
{%- set threshold = (\"now\"|date_modify(\"-14 days\")).getTimestamp() -%}
{%- set updatedAtTs = profile.updatedAt ? profile.updatedAt.getTimestamp() : '' -%}
{%- if updatedAtTs and updatedAtTs >= threshold -%}
<li>{{ _self._data_wrapper('Дата обновления', profile.updatedAt|date(\"d\") ~ ' ' ~ profile.updatedAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.updatedAt|date(\"Y\") ~ ' ' ~ profile.updatedAt|date(\"H:i\") ) }}</li>
{% endif %}
<li>{{ _self._data_wrapper('ID анкеты', profile.id) }}</li>
</ul>
</div>
</div>
</section>
{%- if _self._show_tabs(profile.photos,profile.selfies,profile.confirmedVideos) == 'true' and not profile.deleted -%}
<section class=\"tabs tabs-media\">
<div class=\"tabs-block\" id=\"media-tabs\">
<div class=\"tab-header d-flex\">
{%- set currentPage = '' -%}
{%- if profile.photos is defined and profile.photos|length > 0 %}{% set currentPage = 'photo' %}<button type=\"button\" class=\"btn d-flex photo active\" data-toggle=\"photo\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M20 5H16.83L15.59 3.65C15.4036 3.44539 15.1767 3.28191 14.9235 3.16999C14.6704 3.05807 14.3968 3.00017 14.12 3H9.88C9.32 3 8.78 3.24 8.4 3.65L7.17 5H4C2.9 5 2 5.9 2 7V19C2 20.1 2.9 21 4 21H20C21.1 21 22 20.1 22 19V7C22 5.9 21.1 5 20 5ZM12 18C9.24 18 7 15.76 7 13C7 10.24 9.24 8 12 8C14.76 8 17 10.24 17 13C17 15.76 14.76 18 12 18Z\"/>
</svg>
<span>Фото</span></button>
{%- endif -%}
{%- if profile.selfies is defined and profile.selfies|length > 0 %}{% set currentPage = currentPage == '' ? 'selfie' : currentPage %}<button type=\"button\" class=\"btn d-flex selfie{% if currentPage == 'selfie' %} active{% endif %}\" data-toggle=\"selfie\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.34918 2L16.6415 2.00909C17.6637 2.00909 18.5 2.81818 18.5 3.81818V20.1818C18.5 21.1818 17.6637 22 16.6415 22H7.34918C6.32702 22 5.5 21.1818 5.5 20.1818V3.81818C5.5 2.81818 6.32702 2 7.34918 2ZM13.8 5.33642C13.8 5.84874 14.2033 6.26469 14.7001 6.26469C15.1968 6.26469 15.6001 5.84874 15.6001 5.33642C15.6001 4.82393 15.1968 4.40799 14.7001 4.40799C14.2033 4.40799 13.8 4.82393 13.8 5.33642ZM7.5 17.408C8.18084 16.8212 9.90234 16.3214 12.0001 16.3214C13.991 16.3214 15.7158 16.7717 16.5 17.3192V14.5352C15.3825 14.0049 13.8149 13.6912 12.0001 13.6912C10.1852 13.6912 8.61754 14.0049 7.5 14.5352V17.408ZM11.9859 12.7629C10.4973 12.7629 9.28594 11.5133 9.28594 9.97791C9.28594 8.44248 10.4973 7.19295 11.9859 7.19295C13.4745 7.19295 14.6859 8.44248 14.6859 9.97791C14.6859 11.5133 13.4745 12.7629 11.9859 12.7629Z\"/>
</svg>
<span>Селфи</span></button>
{%- endif -%}
{%- if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}{% set currentPage = currentPage == '' ? 'video' : currentPage %}<button type=\"button\" class=\"btn d-flex video{% if currentPage == 'video' %} active{% endif %}\" data-toggle=\"video\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M22 17.7143V6.28571C22 5.02857 20.9412 4 19.6471 4H4.35294C3.05882 4 2 5.02857 2 6.28571V17.7143C2 18.9714 3.05882 20 4.35294 20H19.6471C20.9412 20 22 18.9714 22 17.7143ZM9.05882 16.5714V7.42857L16.1176 12L9.05882 16.5714Z\"/>
</svg>
<span>Видео</span></button>
{%- endif -%}
</div>
<div class=\"tab-content loading\">
{% set photoIndex = 0 %}
{% if profile.photos is defined and profile.photos|length > 0 %}
<div class=\"tab photo active\" data-id=\"photo\">
<div class=\"photo-list\" id=\"photos-preview\">
{% for photo in profile.photos %}
{%- if photo.path -%}
<div class=\"list-element\">
<a href=\"{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}\" data-gallery=\"girl-gallery\" class=\"photoswipe\" data-index=\"{{loop.index0}}\">
<img
srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
alt=\"
{%- if loop.index <= altTemplates|length -%}
{{ altTemplates[photoIndex] -}}
{%- else -%}
проститутка {{ profile.name|trans }}, анкета ID{{ profile.id }}, фото{{ photoIndex - 5 -}}
{%- endif %}\"
loading=\"lazy\">
</a>
</div>
{% set photoIndex = loop.index %}
{%- endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if profile.selfies is defined and profile.selfies|length > 0 %}
<div class=\"tab selfie{% if currentPage == 'selfie' %} active{% endif %}\" data-id=\"selfie\">
<div class=\"photos-block\">
<div class=\"photo-list d-flex flex-wrap\" id=\"selfie-preview\">
{% for photo in profile.selfies %}
{%- if photo.path -%}
{% set photoIndex = loop.index0 + profile.photos|length %}
<div class=\"colorbox-photo-a-cont\">
<a href=\"{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}\" data-gallery=\"girl-selfie\" class=\"photoswipe\" data-index=\"{{loop.index0}}\">
<img
srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
alt=\"
{%- if loop.index + profile.photos|length <= altTemplates|length -%}
{{ altTemplates[photoIndex] -}}
{%- else -%}
проститутка {{ profile.name|trans }}, анкета ID{{ profile.id }}, фото{{ photoIndex - 5 -}}
{%- endif %}\"
loading=\"lazy\">
</a>
</div>
{%- endif %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
<div class=\"tab video{% if currentPage == 'video' %} active{% endif %}\" data-id=\"video\">
<div class=\"videos-block\">
<div class=\"video-list d-flex flex-wrap\">
{% for video in profile.confirmedVideos %}
<div>
<video class=\"video-js vjs-big-play-centered vjs-default-skin\" controls=\"controls\" preload=\"metadata\" data-setup=\"{}\">
<source src=\"{{ asset(video.path, 'profile_media') }}#t=0.5\" type='video/mp4'/>
</video>
</div>
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
</section>
{% endif %}
<section class=\"about\">
<h2 class=\"border-line\"><svg class=\"icon mr-2\">
<use xlink:href=\"#icon-about\"></use>
</svg>{% trans with {} from 'profile' %}О себе{% endtrans %}</h2>
<noindex><p>{{ profile.description }}</p></noindex>
</section>
<section class=\"services\">
<h2 class=\"border-line\"><svg class=\"icon mr-2\">
<use xlink:href=\"#icon-services\"></use>
</svg>{% trans with {} from 'profile' %}Предпочтения{% endtrans %}</h2>
<div class=\"services-info d-flex flex-wrap\">
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
- включено в стоимость
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
- по симпатии
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
- за дополнительную плату
</div>
<div class=\"header-item provided\">
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
- услуга не предоставляется
</div>
</div>
<div class=\"model-services__main\">
<div class=\"model-services__items left w-100\">
{% set initional_group_2 = 0 %}
{% set group_2_minet = [] %}
{% set group_2_okon = [] %}
{% set group_2_okon_trigger = ['Окончание на грудь','Окончание на лицо','Окончание в рот'] %} {# Слова триггеры в 2 категории для блока Окончание. Все остальные уйдут в минет #}
{% for group, servicesGroup in services | filter((servicesGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) %}
{% if group == 2 %}
{# Тут нам нужно запомнить данные и разбить их на 2 категории - Минет и Окончание#}
{% for service in servicesGroup %}
{% if service.name == group_2_okon_trigger[0] or service.name == group_2_okon_trigger[1] or service.name == group_2_okon_trigger[2] %}
{% set group_2_okon = group_2_okon|merge([service]) %}
{% else %}
{% set group_2_minet = group_2_minet|merge([service]) %}
{% endif %}
{% endfor %}
{% elseif group == 3 and initional_group_2 == 0 %}
{# Т.к. выводить сразу не можем в виду перемешенного вывода, будем выводить 2ю категории перед третьей #}
{% set initional_group_2 = 1 %}
<div class=\"model-services__item\">
<p class=\"item-title\"><span>Минет</span></p>
{% for service in group_2_minet %}
{% set providedService = profile.providedService(service) %}
<p class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService %}
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
{% endif %}
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>+{{ providedService.extraCharge }} {{ currencyFront }}</span>{% endif %}
</p>
{% endfor %}
</div>
<div class=\"model-services__item\">
<p class=\"item-title\"><span>Окончание</span></p>
{% for service in group_2_okon %}
{% set providedService = profile.providedService(service) %}
<p class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService %}
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
{% endif %}
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>+{{ providedService.extraCharge }} {{ currencyFront }}</span>{% endif %}
</p>
{% endfor %}
</div>
<div class=\"model-services__item\">
<p class=\"item-title\" data-group=\"{{ group }}\"><span>{{ group|service_group|trans({}, 'service_groups') }}</span></p>
{% for service in servicesGroup %}
{% set providedService = profile.providedService(service) %}
<p class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService %}
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
{% endif %}
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>+{{ providedService.extraCharge }} {{ currencyFront }}</span>{% endif %}
</p>
{% endfor %}
</div>
{% else %}
{% if group == 1 or group == 5 or group == 7 %}
<div class=\"model-services__column\">
{% endif %}
<div class=\"model-services__item\">
<p class=\"item-title\"><span>{{ group|service_group|trans({}, 'service_groups') }}</span></p>
{% for service in servicesGroup %}
{% set providedService = profile.providedService(service) %}
<p class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService %}
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
{% endif %}
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\">{{ service.name|trans }}</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>+{{ providedService.extraCharge }} {{ currencyFront }}</span>{% endif %}
</p>
{% endfor %}
</div>
{% if (group == 4 and not profile.masseur) or group == 6 or group == 7 %}
</div>
{% endif %}
{% endif %}
{% endfor %}
</div>
<div class=\"services-special d-flex\">
<div class=\"services-special__item mr-3\">
<h3><span>Услуги для:</span></h3>
{% set client_types_text = ['1','2','3','4','5'] %}
{% set includeService = false %}
<div class=\"list\">
{% for clientTypeText in client_types_text %}
{% for clientType in profile.clientTypes %}
{% if (clientTypeText == clientType) %}
{% set includeService = true %}
{% endif %}
{% endfor %}
{% if clientTypeText|client_type != 'TRANS' %}
<p class=\"item\">
{% if includeService == true %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
{% endif %}
{{ clientTypeText|client_type|trans({}, 'client_types_f') }}
</p>
{% endif %}
{% set includeService = false %}
{% endfor %}
</div>
</div>
<div class=\"services-special__item\">
<h3><span>Выезд</span></h3>
{% set locations_text = ['1','2','3','4','5','6'] %}
{% set includeService = false %}
<div class=\"list\">
{% for locationsText in locations_text %}
{% for locations in profile.takeOutPricing.locations %}
{% if (locationsText == locations) %}
{% set includeService = true %}
{% endif %}
{% endfor %}
<p class=\"item\">
{% if includeService == true %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
{% endif %}
{{ locationsText|take_out_location|trans({}, 'take_out_location') }}
</p>
{% set includeService = false %}
{% endfor %}
</div>
</div>
</div>
</div>
</section>
</div>
<div class=\"cols-2\">
<section class=\"map\">
<h2 class=\"border-line\"><svg class=\"icon mr-2\">
<use xlink:href=\"#icon-profile-map\"></use>
</svg>{% trans with {} from 'profile' %}Расположение{% endtrans %}</h2>
<div class=\"map-block\" id=\"map\" style=\"width: 100%; height: 450px;\"
data-lat=\"{{ profile.mapCoordinate.latitude | default(profile.city.mapCoordinate.latitude) }}\"
data-lon=\"{{ profile.mapCoordinate.longitude | default(profile.city.mapCoordinate.longitude) }}\"
data-map-label=\"{{ asset('assets/images/map-label.svg') }}\">
</div>
</section>
{% if feature('profile_comments') and not profile.deleted %}
{% set commentsCount = profile.comments|length %}
<section class=\"comments\"
id=\"review-form\"
data-user=\"{{ is_user_customer(app.user) ? 'true' : 'false' }}\"
data-url=\"{{ path('profile.comment.create', {profile: profile.id}) }}\"
data-reg-url=\"{{ path('app_security_register') }}\"
{% if comment_form is defined %}data-entity-id=\"{{ comment_form.entity_id.vars.id }}\"
data-mark=\"{{ comment_form.mark.vars.full_name }}\"
data-text=\"{{ comment_form.text.vars.id }}\"{% endif %}
>
<h2 class=\"border-line\"><svg class=\"icon mr-2\">
<use xlink:href=\"#icon-public-comments\"></use>
</svg>{% trans with {} from 'profile' %}Отзывы{% endtrans %}</h2>
<div class=\"comments-main\">
<div class=\"comments-main_wrap d-flex justify-content-center\">
{% if commentsCount == 0 %}
<div class=\"not-comments text-center\" id=\"review-block-list\">
<div id=\"text-to-remove\">
<svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M14 78.7096H23V97L45.9545 78.7096H68C72.9635 78.7096 77 74.6894 77 69.7459V33.8911C77 28.9476 72.9635 24.9274 68 24.9274H14C9.0365 24.9274 5 28.9476 5 33.8911V69.7459C5 74.6894 9.0365 78.7096 14 78.7096Z\" fill=\"#E5E5E5\"/>
<path d=\"M86 7H32C27.0365 7 23 11.0202 23 15.9637H77C81.9635 15.9637 86 19.9839 86 24.9274V60.7822C90.9635 60.7822 95 56.762 95 51.8185V15.9637C95 11.0202 90.9635 7 86 7Z\" fill=\"#E5E5E5\"/>
</svg>
<p>Пока отзывов нет.<br>Оставьте первый отзыв.</p>
</div>
<div class=\"comment__elements\" style=\"display: none\">{% include 'ProfilePreview/comment-empty.html.twig' %}</div>
</div>
{% else %}
<div class=\"comments overflow-hidden\" id=\"review-block-list\">
<div class=\"comment__elements\">
{% for comment in profile.comments %}
{% include 'ProfilePreview/comment.html.twig' %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
{% if not is_user_advertiser(app.user) %}
{# {% include 'ProfilePreview/form-comment.html.twig' %} #}
<div class=\"review-form\" id=\"review-form-comment\">
{# {% include 'ProfilePreview/form-comment.html.twig' %} #}
</div>
<div
class=\"dialog-container\"
id=\"form-dialog\"
aria-hidden=\"true\"
aria-labelledby=\"form-dialog-title\"
aria-describedby=\"form-dialog-description\"
>
<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
<div class=\"dialog-content\" role=\"document\">
<div class=\"dialog-header\">
<button
data-a11y-dialog-hide
class=\"dialog-close\"
aria-label=\"Close this dialog window\"
>
<svg class=\"dialog-close__icon\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\"/></svg>
</button>
</div>
<div class=\"dialog-body\">
</div>
</div>
</div>
{% endif %}
</div>
</section>
{% endif %}
</div>
</div>
{% set excludeRecommendationProfileIds = [profile.id] %}
{{ include('components/_profile_recommendations.html.twig') }}
{{ include('ProfilePreview/nearest_profiles.html.twig') }}
{% endblock %}
{% block mobile_phone %}{%- include 'ProfilePreview/components/profile-phone-mobile.partial.twig' with {} -%}{% endblock %}
{% block javascripts %}
<script>
window.comment_data = {
'urlCreate': '{{ path('profile.comment.create', {profile: profile.id}) }}',
'urlGet': '{{ path('profile.comment.comment_form', {profile: profile.id}) }}',
'sitekey': \"{{ ewz_recaptcha_site_key }}\",
'registrationUrl': \"{{ path('register', {'city': city.uriIdentity}) }}\"
};
window._lD = {
setLastViewedListing: '{{ app.request.attributes.get('_route') }}',
cityUrl: \"{{city.uriIdentity}}\",
};
\t\twindow._strl = {
\t\t\tstations: {
\t\t\t\t{%- for station in stations() -%}
\t\t\t\t\t\"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
\t\t\t\t{%- endfor -%}
\t\t\t}
\t\t};
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
{% set excludeRecommendationProfileIds = [profile.id] %}
{{ encore_entry_script_tags('scripts/index', null, 'basicConfig') }}
{{ parent() }}
{% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
<script src=\"https://cdn.jsdelivr.net/npm/video.js@8.23.7/dist/video.min.js\"></script>
<link href=\"https://cdn.jsdelivr.net/npm/video.js@8.23.7/dist/video-js.min.css\" rel=\"stylesheet\">
{% endif %}
<script type=\"text/javascript\">
if ((window.navigator.userAgent.indexOf('iPhone') !== -1) || (window.navigator.userAgent.indexOf('iPod') !== -1)){
const video = document.querySelector('.video-js');
video.setAttribute('autoplay', true);
}
</script>
<script>
(function() {
let isRenderRecommendationsWidget = false;
let isRenderBotWidget = false;
let isRenderRecentlyViewedWidget = false;
function loadWidgets() {
if (!isRenderRecommendationsWidget) {
isRenderRecommendationsWidget = true;
window.Recommendations.addViewedProfile({{ profile.id }})
}
if (!isRenderBotWidget) {
isRenderBotWidget = true;
window.profileBotHelper.addViewedProfile({{ profile.id }});
}
if (!isRenderRecentlyViewedWidget) {
isRenderRecentlyViewedWidget = true;
window.recentlyViewed.addViewedProfile({{ profile.id }});
}
//const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
}
document.addEventListener('DOMContentLoaded', function() {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
});
document.addEventListener(\"recommendations:ready\", function() {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
});
})();
document.addEventListener('DOMContentLoaded', function() {
window.increase_views({{profile.id}});
});
\t</script>
{% endblock %}", "ProfilePreview/page.html.twig", "/app/templates/ProfilePreview/page.html.twig");
}
}