<?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\">";
echo 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);
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 64
$context["prices1H"] = twig_array_filter($this->env, [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); })()), "apartmentsPricing", [], "any", false, false, false, 65), "oneHourPrice", [], "any", false, false, false, 65), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 66
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 66, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 66), "oneHourPrice", [], "any", false, false, false, 66)], // line 67
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.', 67, $this->source); })())); });
// line 69
$context["min1HPrice"] = (( !twig_test_empty((isset($context["prices1H"]) || array_key_exists("prices1H", $context) ? $context["prices1H"] : (function () { throw new RuntimeError('Variable "prices1H" does not exist.', 69, $this->source); })()))) ? (min((isset($context["prices1H"]) || array_key_exists("prices1H", $context) ? $context["prices1H"] : (function () { throw new RuntimeError('Variable "prices1H" does not exist.', 69, $this->source); })()))) : (0));
// line 70
$context["min1HPriceOutput"] = ((((isset($context["min1HPrice"]) || array_key_exists("min1HPrice", $context) ? $context["min1HPrice"] : (function () { throw new RuntimeError('Variable "min1HPrice" does not exist.', 70, $this->source); })()) > 0)) ? ((isset($context["min1HPrice"]) || array_key_exists("min1HPrice", $context) ? $context["min1HPrice"] : (function () { throw new RuntimeError('Variable "min1HPrice" does not exist.', 70, $this->source); })())) : (""));
// line 72
$context["firstStation"] = (((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "stations", [], "any", true, true, false, 72) && !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.', 72, $this->source); })()), "stations", [], "any", false, false, false, 72)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 73
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 73, $this->source); })()), "stations", [], "any", false, false, false, 73), "first", [], "any", false, false, false, 73)) : (null));
// line 75
$context["stationOutput"] = (((isset($context["firstStation"]) || array_key_exists("firstStation", $context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.', 75, $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.', 75, $this->source); })()), "name", [], "any", false, false, false, 75)) . ", ")) : (""));
// line 77
$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.', 77, $this->source); })()), "city", [], "any", false, false, false, 77) == $this->extensions['App\Twig\DefaultCityExtension']->defaultCity());
// line 79
$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.', 79, $this->source); })()), "id", [], "any", false, false, false, 79);
// line 80
$context["serviceNameList"] = [];
// line 81
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.', 81, $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.', 81, $this->source); })()), "masseur", [], "any", false, false, false, 81) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups", $context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.', 81, $this->source); })()))); }));
foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
// line 82
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 83
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.', 83, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 83);
// line 84
echo " ";
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 84, $this->source); })())) {
// line 85
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.', 85, $this->source); })()), [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 85))]);
// line 86
echo " ";
}
// line 87
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 88
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 90
$context["service1"] = null;
// line 91
$context["service2"] = null;
// line 92
if ( !twig_test_empty((isset($context["serviceNameList"]) || array_key_exists("serviceNameList", $context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.', 92, $this->source); })()))) {
// line 93
$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.', 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); })()));
// line 94
$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.', 94, $this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID", $context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.', 94, $this->source); })()) + 105));
// line 96
if (((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 96, $this->source); })()) == (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 96, $this->source); })()))) {
// line 97
$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.', 97, $this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID", $context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.', 97, $this->source); })()) + 104));
// line 99
if (((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 99, $this->source); })()) == (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 99, $this->source); })()))) {
// line 100
$context["service2"] = null;
}
// line 102
echo " ";
}
// line 103
echo " ";
}
// line 104
echo "
";
// line 106
echo " ";
$context["altTemplates"] = [((("инди " . $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))) . ", ") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 107, $this->source); })()), "city", [], "any", false, false, false, 107), "name", [], "any", false, false, false, 107)), (((("девочка по вызову " . $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["min1HPriceOutput"]) || array_key_exists("min1HPriceOutput", $context) ? $context["min1HPriceOutput"] : (function () { throw new RuntimeError('Variable "min1HPriceOutput" 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)) . (((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 109, $this->source); })())) ? ((", " . (isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 109, $this->source); })()))) : (""))) . (((isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 109, $this->source); })())) ? ((", " . (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 109, $this->source); })()))) : (""))), ((("шлюха " . $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, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 110, $this->source); })()), "phoneNumber", [], "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))) . ", в ") . twig_get_attribute($this->env, $this->source, twig_get_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); })()), "city", [], "any", false, false, false, 111), "name", [], "any", false, false, false, 111)), ((("проститутка " . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, // line 112
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 112, $this->source); })()), "name", [], "any", false, false, false, 112))) . ", анкета 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.', 112, $this->source); })()), "id", [], "any", false, false, false, 112))];
// line 114
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 120
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.', 120, $this->source); })()), "deleted", [], "any", false, false, false, 120)) {
// line 121
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.', 121, $this->source); })()));
// line 122
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 122, $this->source); })())) {
// line 123
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.', 123, $this->source); })()), "path", [], "any", false, false, false, 123), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" class=\"girl-avatar__small\" data-gallery=\"girl-avatar\" data-index=\"0\">
<img itemprop=\"contentUrl\" src=\"";
// line 124
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.', 124, $this->source); })()), "path", [], "any", false, false, false, 124), "profile_media", "300x420", "jpg"), "html", null, true);
echo "\"
alt=\"проститутка ";
// line 125
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.', 125, $this->source); })()), "name", [], "any", false, false, false, 125)), "html", null, true);
echo ", ";
echo 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.', 125, $this->source); })()), "personParameters", [], "any", false, false, false, 125), "age", [], "any", false, false, false, 125)), "html", null, true);
echo "\"
class=\"img-fluid\" loading=\"lazy\">
";
// line 127
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.', 127, $this->source); })()), "approved", [], "any", false, false, false, 127)) {
echo "<div class=\"verify\">
<svg class=\"icon\">
<use xlink:href=\"#icon-models-profile-verify\"></use>
</svg>
</div>";
}
// line 132
echo " </a>
";
}
// line 134
echo " ";
} else {
// line 135
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 137
echo " </div>
";
// line 138
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.', 138, $this->source); })()), "user", [], "any", false, false, false, 138)) && !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 138, $this->source); })()), "deleted", [], "any", false, false, false, 138))) {
// line 139
echo " <button type=\"button\"
data-url-add=\"";
// line 140
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.', 140, $this->source); })()), "id", [], "any", false, false, false, 140)]), "html", null, true);
echo "\"
data-url-remove=\"";
// line 141
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.', 141, $this->source); })()), "id", [], "any", false, false, false, 141)]), "html", null, true);
echo "\"
";
// line 142
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.', 142, $this->source); })()))) {
// line 143
echo " title=\"Убрать из избранного\"
class=\"btn favorite like\" id=\"favorite\">
";
} else {
// line 146
echo " title=\"Добавить в избранное\"
class=\"btn favorite unlike\" id=\"favorite\">
";
}
// line 149
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=\"#f27900\"/>
<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=\"#f27900\"/>
</svg>
</button>
";
}
// line 156
echo " <div class=\"main-data\">
";
// line 157
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.', 157, $this->source); })()), "deleted", [], "any", false, false, false, 157)) {
// line 158
$this->loadTemplate("ProfilePreview/components/profile-phone.partial.twig", "ProfilePreview/page.html.twig", 158)->display(twig_array_merge($context, []));
// line 160
echo "<p class=\"answering-type text-data\"><span class=\"name\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отвечаю на:", [], "profile");
echo "</span>
";
// line 161
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.', 161, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 161), "answeringTo", [], "any", false, false, false, 161)) > 0)) {
// line 162
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.', 162, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 162), "answeringTo", [], "any", false, false, false, 162));
$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 163
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, 163)) {
echo ",";
}
// line 164
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 165
echo " ";
} else {
// line 166
echo " Не указано
";
}
// line 168
echo " </p>
<p class=\"answering-time text-data\"><span class=\"name\">";
// line 169
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.', 169, $this->source); })())], 169, $context, $this->getSourceContext());
echo "</p>
<p class=\"alert-info\">
<span>Участились случаи мошенничества. Не отправляйте предоплату.</span>
</p>
";
} else {
// line 174
echo " <div class=\"lock-block\">
<img src=\"";
// line 175
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 182
echo "
<p class=\"text-data city\"><span class=\"name\">Город:</span><span class=\"value\">";
// line 183
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.', 183, $this->source); })()), "city", [], "any", false, false, false, 183), "name", [], "any", false, false, false, 183), "html", null, true);
echo "</span></p>
";
// line 184
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.', 184, $this->source); })()), "stations", [], "any", false, false, false, 184)) > 0)) {
// line 185
echo " <div class=\"metro d-flex\">
<p class=\"text-data\"><span class=\"name\">";
// line 186
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Метро:", [], "basic");
echo "</span></p>
<ul class=\"d-flex\">
";
// line 188
$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.', 188, $this->source); })()), "stations", [], "any", false, false, false, 188), 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 189
echo " <li>
<a href=\"";
// line 190
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.', 190, $this->source); })()), "uriIdentity", [], "any", false, false, false, 190), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 190)]), "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=\"#F27900\"/>
</svg>
<span>";
// line 193
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, 193)), "html", null, true);
echo "</span></a>";
if (((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 193) < 3) && !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 193))) {
echo ",";
}
// line 194
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 196
echo " </ul>
</div>
";
// line 198
$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.', 198, $this->source); })()), "stations", [], "any", false, false, false, 198));
$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 199
echo " ";
$context["stationDistrict"] = twig_get_attribute($this->env, $this->source, $context["station"], "district", [], "any", false, false, false, 199);
// line 200
echo " ";
if ((isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 200, $this->source); })())) {
// line 201
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 201)) {
// line 202
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.', 202, $this->source); })()), "county", [], "any", false, false, false, 202);
// line 203
echo " ";
if ((isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 203, $this->source); })())) {
// line 204
echo " <div class=\"region\">
<p class=\"text-data\"><span class=\"name\">Район:</span></p>
<ul>
<li><a href=\"";
// line 207
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.', 207, $this->source); })()), "city", [], "any", false, false, false, 207), "uriIdentity", [], "any", false, false, false, 207), "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.', 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["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 207, $this->source); })()), "name", [], "any", false, false, false, 207)), "html", null, true);
echo "</a>,</li>
<li><a href=\"";
// line 208
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.', 208, $this->source); })()), "city", [], "any", false, false, false, 208), "uriIdentity", [], "any", false, false, false, 208), "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.', 208, $this->source); })()), "uriIdentity", [], "any", false, false, false, 208)]), "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.', 208, $this->source); })()), "name", [], "any", false, false, false, 208)), "html", null, true);
echo "</a></li>
</ul>
</div>
";
}
// line 212
echo " ";
}
// line 213
echo " ";
}
// line 214
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 215
echo " ";
}
// line 216
echo "
<div class=\"table-wrap\">
<table class=\"table price-table\">
<thead>
<tr>
<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>
<th scope=\"col\">";
// line 223
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Выезд", [], "profile");
echo "</th>
</tr>
</thead>
<tbody>
<tr>
<td>";
// line 228
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Час", [], "profile");
echo "</td>
<td>";
// line 229
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.', 229, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 229), "oneHourPrice", [], "any", false, false, false, 229)) {
// line 230
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.', 230, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 230), "oneHourPrice", [], "any", false, false, false, 230), "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.', 230, $this->source); })()), "city", [], "any", false, false, false, 230), "countryCode", [], "any", false, false, false, 230)), "html", null, true);
echo "
";
} else {
// line 231
echo "-";
}
echo "</td>
<td>";
// line 232
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.', 232, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 232), "oneHourPrice", [], "any", false, false, false, 232)) {
// line 233
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.', 233, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 233), "oneHourPrice", [], "any", false, false, false, 233), "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.', 233, $this->source); })()), "city", [], "any", false, false, false, 233), "countryCode", [], "any", false, false, false, 233)), "html", null, true);
echo "
";
} else {
// line 234
echo "-";
}
echo "</td>
</tr>
<tr>
<td>";
// line 237
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("2 часа", [], "profile");
echo "</td>
<td>";
// line 238
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.', 238, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 238), "twoHoursPrice", [], "any", false, false, false, 238)) {
// line 239
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.', 239, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 239), "twoHoursPrice", [], "any", false, false, false, 239), "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.', 239, $this->source); })()), "city", [], "any", false, false, false, 239), "countryCode", [], "any", false, false, false, 239)), "html", null, true);
echo "
";
} else {
// line 240
echo "-";
}
echo "</td>
<td>";
// line 241
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.', 241, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 241), "twoHoursPrice", [], "any", false, false, false, 241)) {
// line 242
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.', 242, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 242), "twoHoursPrice", [], "any", false, false, false, 242), "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.', 242, $this->source); })()), "city", [], "any", false, false, false, 242), "countryCode", [], "any", false, false, false, 242)), "html", null, true);
echo "
";
} else {
// line 243
echo "-";
}
echo "</td>
</tr>
<tr>
<td>";
// line 246
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ночь", [], "profile");
echo "</td>
<td>";
// line 247
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.', 247, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 247), "nightPrice", [], "any", false, false, false, 247)) {
// line 248
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.', 248, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 248), "nightPrice", [], "any", false, false, false, 248), "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.', 248, $this->source); })()), "city", [], "any", false, false, false, 248), "countryCode", [], "any", false, false, false, 248)), "html", null, true);
echo "
";
} else {
// line 249
echo "-";
}
echo "</td>
<td>";
// line 250
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.', 250, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 250), "nightPrice", [], "any", false, false, false, 250)) {
// line 251
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.', 251, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 251), "nightPrice", [], "any", false, false, false, 251), "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.', 251, $this->source); })()), "city", [], "any", false, false, false, 251), "countryCode", [], "any", false, false, false, 251)), "html", null, true);
echo "
";
} else {
// line 252
echo "-";
}
echo "</td>
</tr>
<tr>
<td>";
// line 255
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Экспресс", [], "profile");
echo " <span>(30мин)</span></td>
<td colspan=\"2\">";
// line 256
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 256, $this->source); })()), "expressPricing", [], "any", false, false, false, 256), "provided", [], "any", false, false, false, 256)) {
// line 257
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.', 257, $this->source); })()), "expressPricing", [], "any", false, false, false, 257), "price", [], "any", false, false, false, 257)) {
// line 258
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.', 258, $this->source); })()), "expressPricing", [], "any", false, false, false, 258), "price", [], "any", false, false, false, 258), "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.', 258, $this->source); })()), "city", [], "any", false, false, false, 258), "countryCode", [], "any", false, false, false, 258)), "html", null, true);
echo "
";
} else {
// line 260
echo " -
";
}
// line 262
echo " ";
} else {
// line 263
echo " -
";
}
// line 264
echo "</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class=\"second-data\">
<ul class=\"basic-info\">
<li>";
// line 273
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), "age", [], "any", false, false, false, 273), "Возраст"], 273, $context, $this->getSourceContext());
echo "</li>
<li>";
// line 274
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), "height", [], "any", false, false, false, 274), "Рост"], 274, $context, $this->getSourceContext());
echo "</li>
<li>";
// line 275
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), "weight", [], "any", false, false, false, 275), "Вес"], 275, $context, $this->getSourceContext());
echo "</li>
<li>";
// line 276
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), "clothSize", [], "any", false, false, false, 276), "Одежда"], 276, $context, $this->getSourceContext());
echo "</li>
<li>";
// line 277
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), "shoesSize", [], "any", false, false, false, 277), "Обувь"], 277, $context, $this->getSourceContext());
echo "</li>
<li>";
// line 278
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.', 278, $this->source); })()), "personParameters", [], "any", false, false, false, 278), "breastSize", [], "any", false, false, false, 278), "Грудь"], 278, $context, $this->getSourceContext());
echo "</li>
</ul>
<div class=\"wrap\">
<ul class=\"basic-info-link\">";
// line 282
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.', 282, $this->source); })()), "personParameters", [], "any", false, false, false, 282), "bodyType", [], "any", false, false, false, 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 289
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.', 289, $this->source); })()), "personParameters", [], "any", false, false, false, 289), "hairColor", [], "any", false, false, false, 289)) {
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.', 289, $this->source); })()), "uriIdentity", [], "any", false, false, false, 289), "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.', 289, $this->source); })()), "personParameters", [], "any", false, false, false, 289), "hairColor", [], "any", false, false, false, 289)))]), "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.', 289, $this->source); })()), "personParameters", [], "any", false, false, false, 289), "hairColor", [], "any", false, false, false, 289)), [], "hair_colors"), "html", null, true);
echo "</a></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), "nationality", [], "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_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.', 290, $this->source); })()), "uriIdentity", [], "any", false, false, false, 290), "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.', 290, $this->source); })()), "personParameters", [], "any", false, false, false, 290), "nationality", [], "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']->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.', 290, $this->source); })()), "personParameters", [], "any", false, false, false, 290), "nationality", [], "any", false, false, false, 290)), [], "nationalities"), "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), "privateHaircut", [], "any", false, false, false, 291)) {
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.', 291, $this->source); })()), "personParameters", [], "any", false, false, false, 291), "privateHaircut", [], "any", false, false, false, 291)), [], "private_haircuts"), "html", null, true);
echo "</li>";
}
// line 292
echo " </ul>
<ul class=\"extend-info\">";
// line 294
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.', 294, $this->source); })()), "createdAt", [], "any", false, false, false, 294)) {
// line 295
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.', 295, $this->source); })()), "createdAt", [], "any", false, false, false, 295), "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.', 295, $this->source); })()), "createdAt", [], "any", false, false, false, 295), "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.', 295, $this->source); })()), "createdAt", [], "any", false, false, false, 295), "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.', 295, $this->source); })()), "createdAt", [], "any", false, false, false, 295), "H:i"))], 295, $context, $this->getSourceContext());
echo "</li>";
}
// line 298
$context["threshold"] = twig_get_attribute($this->env, $this->source, twig_date_modify_filter($this->env, "now", "-14 days"), "getTimestamp", [], "method", false, false, false, 298);
// line 299
$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.', 299, $this->source); })()), "updatedAt", [], "any", false, false, false, 299)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 299, $this->source); })()), "updatedAt", [], "any", false, false, false, 299), "getTimestamp", [], "method", false, false, false, 299)) : (""));
// line 300
if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 300, $this->source); })()) && ((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 300, $this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold", $context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.', 300, $this->source); })())))) {
// line 301
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.', 301, $this->source); })()), "updatedAt", [], "any", false, false, false, 301), "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.', 301, $this->source); })()), "updatedAt", [], "any", false, false, false, 301), "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.', 301, $this->source); })()), "updatedAt", [], "any", false, false, false, 301), "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.', 301, $this->source); })()), "updatedAt", [], "any", false, false, false, 301), "H:i"))], 301, $context, $this->getSourceContext());
echo "</li>
";
}
// line 303
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.', 303, $this->source); })()), "id", [], "any", false, false, false, 303)], 303, $context, $this->getSourceContext());
echo "</li>
</ul>
</div>
</div>
</section>";
// line 309
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.', 309, $this->source); })()), "photos", [], "any", false, false, false, 309), twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 309, $this->source); })()), "selfies", [], "any", false, false, false, 309), twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 309, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 309)], 309, $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.', 309, $this->source); })()), "deleted", [], "any", false, false, false, 309))) {
// line 310
echo "<section class=\"tabs\">
<div class=\"tabs-block\" id=\"media-tabs\">
<div class=\"tab-header d-flex\">
";
// line 313
$context["currentPage"] = "";
// line 314
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 314) && (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.', 314, $this->source); })()), "photos", [], "any", false, false, false, 314)) > 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 318
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 318) && (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.', 318, $this->source); })()), "selfies", [], "any", false, false, false, 318)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 318, $this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 318, $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.', 318, $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 322
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 322) && (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.', 322, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 322)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 322, $this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 322, $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.', 322, $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 326
echo " </div>
<div class=\"tab-content loading\">
";
// line 328
$context["photoIndex"] = 0;
// line 329
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 329) && (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.', 329, $this->source); })()), "photos", [], "any", false, false, false, 329)) > 0))) {
// line 330
echo " <div class=\"tab photo active\" data-id=\"photo\">
<div class=\"photo-list\" id=\"photos-preview\">
";
// line 332
$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.', 332, $this->source); })()), "photos", [], "any", false, false, false, 332));
$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 333
echo " <div class=\"list-element\">
<a href=\"";
// line 334
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, 334), "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, 334), "html", null, true);
echo "\">
<img
srcset=\"";
// line 336
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, 336), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
";
// line 337
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, 337), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
";
// line 338
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, 338), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
";
// 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", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"";
// 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 "\"
alt=\"";
// line 346
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 346) <= twig_length_filter($this->env, (isset($context["altTemplates"]) || array_key_exists("altTemplates", $context) ? $context["altTemplates"] : (function () { throw new RuntimeError('Variable "altTemplates" does not exist.', 346, $this->source); })())))) {
// line 347
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.', 347, $this->source); })()), (isset($context["photoIndex"]) || array_key_exists("photoIndex", $context) ? $context["photoIndex"] : (function () { throw new RuntimeError('Variable "photoIndex" does not exist.', 347, $this->source); })()), [], "array", false, false, false, 347), "html", null, true);
} else {
// line 349
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.', 349, $this->source); })()), "name", [], "any", false, false, false, 349)), "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.', 349, $this->source); })()), "id", [], "any", false, false, false, 349), "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.', 349, $this->source); })()) - 5), "html", null, true);
}
// line 350
echo "\"
loading=\"lazy\">
</a>
</div>
";
// line 354
$context["photoIndex"] = twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 354);
// line 355
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 356
echo " </div>
</div>
";
}
// line 359
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 359) && (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.', 359, $this->source); })()), "selfies", [], "any", false, false, false, 359)) > 0))) {
// line 360
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.', 360, $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 363
$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.', 363, $this->source); })()), "selfies", [], "any", false, false, false, 363));
$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 364
echo " ";
$context["photoIndex"] = (twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 364) + 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.', 364, $this->source); })()), "photos", [], "any", false, false, false, 364)));
// line 365
echo " <div class=\"colorbox-photo-a-cont\">
<a href=\"";
// line 366
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, 366), "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, 366), "html", null, true);
echo "\">
<img
srcset=\"";
// line 368
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, 368), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 369
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, 369), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 370
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, 370), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 371
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, 371), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
src=\"";
// 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", "250x250", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 378
if (((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 378) + 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.', 378, $this->source); })()), "photos", [], "any", false, false, false, 378))) <= twig_length_filter($this->env, (isset($context["altTemplates"]) || array_key_exists("altTemplates", $context) ? $context["altTemplates"] : (function () { throw new RuntimeError('Variable "altTemplates" does not exist.', 378, $this->source); })())))) {
// line 379
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.', 379, $this->source); })()), (isset($context["photoIndex"]) || array_key_exists("photoIndex", $context) ? $context["photoIndex"] : (function () { throw new RuntimeError('Variable "photoIndex" does not exist.', 379, $this->source); })()), [], "array", false, false, false, 379), "html", null, true);
} else {
// line 381
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.', 381, $this->source); })()), "name", [], "any", false, false, false, 381)), "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.', 381, $this->source); })()), "id", [], "any", false, false, false, 381), "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.', 381, $this->source); })()) - 5), "html", null, true);
}
// line 382
echo "\"
loading=\"lazy\">
</a>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 387
echo " </div>
</div>
</div>
";
}
// line 391
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 391) && (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.', 391, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 391)) > 0))) {
// line 392
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.', 392, $this->source); })()) == "video")) {
echo " active";
}
echo "\" data-id=\"video\">
<div class=\"videos-block\">
<ul class=\"video-list d-flex flex-wrap\">
";
// line 395
$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.', 395, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 395));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 396
echo " <li>
<video class=\"video-js vjs-big-play-centered vjs-default-skin\" controls=\"controls\" preload=\"metadata\" data-setup=\"{}\">
<source src=\"";
// line 398
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, 398), "profile_media"), "html", null, true);
echo "#t=0.5\" type='video/mp4'/>
</video>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 402
echo " </ul>
</div>
</div>
";
}
// line 406
echo " </div>
</div>
</section>
";
}
// line 410
echo " <section class=\"about\">
<h2 class=\"border-line\"><svg class=\"icon mr-2\">
<use xlink:href=\"#icon-about\"></use>
</svg>";
// line 413
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("О себе", [], "profile");
echo "</h2>
<noindex><p>";
// line 414
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.', 414, $this->source); })()), "description", [], "any", false, false, false, 414), "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 419
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 448
$context["initional_group_2"] = 0;
// line 449
echo " ";
$context["group_2_minet"] = [];
// line 450
echo " ";
$context["group_2_okon"] = [];
// line 451
echo " ";
$context["group_2_okon_trigger"] = ["Окончание на грудь", "Окончание на лицо", "Окончание в рот"];
echo " ";
// line 452
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.', 452, $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.', 452, $this->source); })()), "masseur", [], "any", false, false, false, 452) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups", $context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.', 452, $this->source); })()))); }));
foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
// line 453
echo " ";
if (($context["group"] == 2)) {
// line 454
echo " ";
// line 455
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 456
echo " ";
if ((((twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 456) == 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.', 456, $this->source); })()), 0, [], "array", false, false, false, 456)) || (twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 456) == 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.', 456, $this->source); })()), 1, [], "array", false, false, false, 456))) || (twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 456) == 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.', 456, $this->source); })()), 2, [], "array", false, false, false, 456)))) {
// line 457
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.', 457, $this->source); })()), [$context["service"]]);
// line 458
echo " ";
} else {
// line 459
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.', 459, $this->source); })()), [$context["service"]]);
// line 460
echo " ";
}
// line 461
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 462
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.', 462, $this->source); })()) == 0))) {
// line 463
echo " ";
// line 464
echo " ";
$context["initional_group_2"] = 1;
// line 465
echo " <div class=\"model-services__item\">
<p class=\"item-title\"><span>Минет</span></p>
";
// line 467
$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.', 467, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 468
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.', 468, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 468);
// line 469
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 469, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 470
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 470, $this->source); })())) {
// line 471
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.', 471, $this->source); })()), "condition", [], "any", false, false, false, 471) == 1)) {
// line 472
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 475
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 475, $this->source); })()), "condition", [], "any", false, false, false, 475) == 2)) {
// line 476
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 479
(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) == 3)) {
// line 480
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
";
}
// line 484
echo " ";
} else {
// line 485
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 489
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.', 489, $this->source); })()), "city", [], "any", false, false, false, 489), "uriIdentity", [], "any", false, false, false, 489), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 489)]), "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, 489), "html", null, true);
echo "\">
";
// line 490
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, 490)), "html", null, true);
echo "
</a>
";
// line 492
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 492, $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.', 492, $this->source); })()), "condition", [], "any", false, false, false, 492) == 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.', 492, $this->source); })()), "extraCharge", [], "any", false, false, false, 492))) {
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.', 492, $this->source); })()), "extraCharge", [], "any", false, false, false, 492), "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.', 492, $this->source); })()), "html", null, true);
echo "</span>";
}
// line 493
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 495
echo " </div>
<div class=\"model-services__item\">
<p class=\"item-title\"><span>Окончание</span></p>
";
// line 498
$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.', 498, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 499
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.', 499, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 499);
// line 500
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 500, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 501
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 501, $this->source); })())) {
// line 502
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.', 502, $this->source); })()), "condition", [], "any", false, false, false, 502) == 1)) {
// line 503
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 506
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 506, $this->source); })()), "condition", [], "any", false, false, false, 506) == 2)) {
// line 507
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 510
(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) == 3)) {
// line 511
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
";
}
// line 515
echo " ";
} else {
// line 516
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 520
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.', 520, $this->source); })()), "city", [], "any", false, false, false, 520), "uriIdentity", [], "any", false, false, false, 520), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 520)]), "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, 520), "html", null, true);
echo "\">
";
// line 521
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, 521)), "html", null, true);
echo "
</a>
";
// line 523
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 523, $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.', 523, $this->source); })()), "condition", [], "any", false, false, false, 523) == 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.', 523, $this->source); })()), "extraCharge", [], "any", false, false, false, 523))) {
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.', 523, $this->source); })()), "extraCharge", [], "any", false, false, false, 523), "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.', 523, $this->source); })()), "html", null, true);
echo "</span>";
}
// line 524
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 526
echo " </div>
<div class=\"model-services__item\">
<p class=\"item-title\" data-group=\"";
// line 528
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 529
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 530
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.', 530, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 530);
// line 531
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 531, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 532
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 532, $this->source); })())) {
// line 533
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.', 533, $this->source); })()), "condition", [], "any", false, false, false, 533) == 1)) {
// line 534
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 537
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 537, $this->source); })()), "condition", [], "any", false, false, false, 537) == 2)) {
// line 538
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 541
(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) == 3)) {
// line 542
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
";
}
// line 546
echo " ";
} else {
// line 547
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 551
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.', 551, $this->source); })()), "city", [], "any", false, false, false, 551), "uriIdentity", [], "any", false, false, false, 551), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 551)]), "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, 551), "html", null, true);
echo "\">
";
// line 552
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, 552)), "html", null, true);
echo "
</a>
";
// line 554
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 554, $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.', 554, $this->source); })()), "condition", [], "any", false, false, false, 554) == 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.', 554, $this->source); })()), "extraCharge", [], "any", false, false, false, 554))) {
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.', 554, $this->source); })()), "extraCharge", [], "any", false, false, false, 554), "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.', 554, $this->source); })()), "html", null, true);
echo "</span>";
}
// line 555
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 557
echo " </div>
";
} else {
// line 559
echo "
";
// line 560
if (((($context["group"] == 1) || ($context["group"] == 5)) || ($context["group"] == 7))) {
// line 561
echo " <div class=\"model-services__column\">
";
}
// line 563
echo " <div class=\"model-services__item\">
<p class=\"item-title\"><span>";
// line 564
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 565
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 566
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.', 566, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 566);
// line 567
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 567, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 568
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 568, $this->source); })())) {
// line 569
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.', 569, $this->source); })()), "condition", [], "any", false, false, false, 569) == 1)) {
// line 570
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 573
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 573, $this->source); })()), "condition", [], "any", false, false, false, 573) == 2)) {
// line 574
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 577
(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) == 3)) {
// line 578
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-charge\"></use>
</svg>
";
}
// line 582
echo " ";
} else {
// line 583
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 587
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.', 587, $this->source); })()), "city", [], "any", false, false, false, 587), "uriIdentity", [], "any", false, false, false, 587), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 587)]), "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, 587)), "html", null, true);
echo "</a>
";
// line 588
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 588, $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.', 588, $this->source); })()), "condition", [], "any", false, false, false, 588) == 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.', 588, $this->source); })()), "extraCharge", [], "any", false, false, false, 588))) {
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.', 588, $this->source); })()), "extraCharge", [], "any", false, false, false, 588), "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.', 588, $this->source); })()), "html", null, true);
echo "</span>";
}
// line 589
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 591
echo " </div>
";
// line 592
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.', 592, $this->source); })()), "masseur", [], "any", false, false, false, 592)) || ($context["group"] == 6)) || ($context["group"] == 7))) {
// line 593
echo " </div>
";
}
// line 595
echo "
";
}
// line 597
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 598
echo " </div>
<div class=\"services-special d-flex\">
<div class=\"services-special__item mr-3\">
<h3><span>Услуги для:</span></h3>
";
// line 602
$context["client_types_text"] = ["1", "2", "3", "4", "5"];
// line 603
echo " ";
$context["includeService"] = false;
// line 604
echo " <div class=\"list\">
";
// line 605
$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.', 605, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["clientTypeText"]) {
// line 606
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.', 606, $this->source); })()), "clientTypes", [], "any", false, false, false, 606));
foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
// line 607
echo " ";
if (($context["clientTypeText"] == $context["clientType"])) {
// line 608
echo " ";
$context["includeService"] = true;
// line 609
echo " ";
}
// line 610
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 611
echo " ";
if (($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]) != "TRANS")) {
// line 612
echo " <p class=\"item\">
";
// line 613
if (((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 613, $this->source); })()) == true)) {
// line 614
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} else {
// line 618
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 622
echo "
";
// line 623
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 626
echo " ";
$context["includeService"] = false;
// line 627
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 628
echo " </div>
</div>
<div class=\"services-special__item\">
<h3><span>Выезд</span></h3>
";
// line 632
$context["locations_text"] = ["1", "2", "3", "4", "5", "6"];
// line 633
echo " ";
$context["includeService"] = false;
// line 634
echo " <div class=\"list\">
";
// line 635
$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.', 635, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["locationsText"]) {
// line 636
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.', 636, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 636), "locations", [], "any", false, false, false, 636));
foreach ($context['_seq'] as $context["_key"] => $context["locations"]) {
// line 637
echo " ";
if (($context["locationsText"] == $context["locations"])) {
// line 638
echo " ";
$context["includeService"] = true;
// line 639
echo " ";
}
// line 640
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 641
echo " <p class=\"item\">
";
// line 642
if (((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 642, $this->source); })()) == true)) {
// line 643
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-included\"></use>
</svg>
";
} else {
// line 647
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"#icon-model-provided\"></use>
</svg>
";
}
// line 651
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 653
$context["includeService"] = false;
// line 654
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 655
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 665
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 667
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, 667), "latitude", [], "any", true, true, false, 667)) ? (_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, 667), "latitude", [], "any", false, false, false, 667), 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.', 667, $this->source); })()), "city", [], "any", false, false, false, 667), "mapCoordinate", [], "any", false, false, false, 667), "latitude", [], "any", false, false, false, 667))) : (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.', 667, $this->source); })()), "city", [], "any", false, false, false, 667), "mapCoordinate", [], "any", false, false, false, 667), "latitude", [], "any", false, false, false, 667))), "html", null, true);
echo "\"
data-lon=\"";
// line 668
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, 668), "longitude", [], "any", true, true, false, 668)) ? (_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, 668), "longitude", [], "any", false, false, false, 668), 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.', 668, $this->source); })()), "city", [], "any", false, false, false, 668), "mapCoordinate", [], "any", false, false, false, 668), "longitude", [], "any", false, false, false, 668))) : (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.', 668, $this->source); })()), "city", [], "any", false, false, false, 668), "mapCoordinate", [], "any", false, false, false, 668), "longitude", [], "any", false, false, false, 668))), "html", null, true);
echo "\"
data-map-label=\"";
// line 669
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 673
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.', 673, $this->source); })()), "deleted", [], "any", false, false, false, 673))) {
// line 674
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.', 674, $this->source); })()), "comments", [], "any", false, false, false, 674));
// line 675
echo " <section class=\"comments\"
id=\"review-form\"
data-user=\"";
// line 677
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.', 677, $this->source); })()), "user", [], "any", false, false, false, 677))) ? ("true") : ("false"));
echo "\"
data-url=\"";
// line 678
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.', 678, $this->source); })()), "id", [], "any", false, false, false, 678)]), "html", null, true);
echo "\"
data-reg-url=\"";
// line 679
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
echo "\"
";
// line 680
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.', 680, $this->source); })()), "entity_id", [], "any", false, false, false, 680), "vars", [], "any", false, false, false, 680), "id", [], "any", false, false, false, 680), "html", null, true);
echo "\"
data-mark=\"";
// line 681
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.', 681, $this->source); })()), "mark", [], "any", false, false, false, 681), "vars", [], "any", false, false, false, 681), "full_name", [], "any", false, false, false, 681), "html", null, true);
echo "\"
data-text=\"";
// line 682
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.', 682, $this->source); })()), "text", [], "any", false, false, false, 682), "vars", [], "any", false, false, false, 682), "id", [], "any", false, false, false, 682), "html", null, true);
echo "\"";
}
// line 683
echo " >
<h2 class=\"border-line\"><svg class=\"icon mr-2\">
<use xlink:href=\"#icon-public-comments\"></use>
</svg>";
// line 686
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 689
if (((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 689, $this->source); })()) == 0)) {
// line 690
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 698
$this->loadTemplate("ProfilePreview/comment-empty.html.twig", "ProfilePreview/page.html.twig", 698)->display($context);
echo "</div>
</div>
";
} else {
// line 701
echo " <div class=\"comments overflow-hidden\" id=\"review-block-list\">
<div class=\"comment__elements\">
";
// line 703
$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.', 703, $this->source); })()), "comments", [], "any", false, false, false, 703));
$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 704
echo " ";
$this->loadTemplate("ProfilePreview/comment.html.twig", "ProfilePreview/page.html.twig", 704)->display($context);
// line 705
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 706
echo " </div>
</div>
";
}
// line 709
echo " </div>
";
// line 710
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.', 710, $this->source); })()), "user", [], "any", false, false, false, 710))) {
// line 711
echo " ";
// line 712
echo " <div class=\"review-form\" id=\"review-form-comment\">
";
// line 714
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 739
echo " </div>
</section>
";
}
// line 742
echo " </div>
</div>
";
// line 744
$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.', 744, $this->source); })()), "id", [], "any", false, false, false, 744)];
// line 745
echo " ";
echo twig_include($this->env, $context, "components/_profile_recommendations.html.twig");
echo "
";
// line 747
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 750
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", 750)->display(twig_array_merge($context, []));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 753
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 754
echo " <script>
window.comment_data = {
'urlCreate': '";
// line 756
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.', 756, $this->source); })()), "id", [], "any", false, false, false, 756)]), "html", null, true);
echo "',
'urlGet': '";
// line 757
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.', 757, $this->source); })()), "id", [], "any", false, false, false, 757)]), "html", null, true);
echo "',
'sitekey': \"";
// line 758
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.', 758, $this->source); })()), "html", null, true);
echo "\",
'registrationUrl': \"";
// line 759
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.', 759, $this->source); })()), "uriIdentity", [], "any", false, false, false, 759)]), "html", null, true);
echo "\"
};
window._lD = {
setLastViewedListing: '";
// line 762
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.', 762, $this->source); })()), "request", [], "any", false, false, false, 762), "attributes", [], "any", false, false, false, 762), "get", ["_route"], "method", false, false, false, 762), "html", null, true);
echo "',
cityUrl: \"";
// line 763
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.', 763, $this->source); })()), "uriIdentity", [], "any", false, false, false, 763), "html", null, true);
echo "\",
};
\t\twindow._strl = {
\t\t\tstations: {";
// line 767
$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 768
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, 768)), "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, 768), "uriIdentity", [], "any", false, false, false, 768), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 768)]), "html", null, true);
echo "\"";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 768)) {
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 770
echo "}
\t\t};
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
";
// line 775
$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.', 775, $this->source); })()), "id", [], "any", false, false, false, 775)];
// line 776
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("scripts/index", null, "basicConfig");
echo "
";
// line 778
$this->displayParentBlock("javascripts", $context, $blocks);
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 795
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.', 795, $this->source); })()), "id", [], "any", false, false, false, 795), "html", null, true);
echo ")
}
if (!isRenderBotWidget) {
isRenderBotWidget = true;
window.profileBotHelper.addViewedProfile(";
// line 799
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.', 799, $this->source); })()), "id", [], "any", false, false, false, 799), "html", null, true);
echo ");
}
if (!isRenderRecentlyViewedWidget) {
isRenderRecentlyViewedWidget = true;
window.recentlyViewed.addViewedProfile(";
// line 803
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.', 803, $this->source); })()), "id", [], "any", false, false, false, 803), "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 824
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.', 824, $this->source); })()), "id", [], "any", false, false, false, 824), "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 ( 2345 => 27, 2340 => 25, 2337 => 24, 2334 => 23, 2331 => 22, 2329 => 21, 2327 => 20, 2305 => 19, 2278 => 14, 2275 => 13, 2251 => 12, 2230 => 9, 2228 => 8, 2227 => 7, 2226 => 6, 2202 => 5, 2185 => 824, 2161 => 803, 2154 => 799, 2147 => 795, 2127 => 778, 2121 => 776, 2119 => 775, 2112 => 770, 2091 => 768, 2074 => 767, 2068 => 763, 2064 => 762, 2058 => 759, 2054 => 758, 2050 => 757, 2046 => 756, 2042 => 754, 2029 => 753, 2004 => 750, 1989 => 747, 1983 => 745, 1981 => 744, 1977 => 742, 1972 => 739, 1945 => 714, 1942 => 712, 1940 => 711, 1938 => 710, 1935 => 709, 1930 => 706, 1916 => 705, 1913 => 704, 1896 => 703, 1892 => 701, 1886 => 698, 1876 => 690, 1874 => 689, 1868 => 686, 1863 => 683, 1859 => 682, 1855 => 681, 1849 => 680, 1845 => 679, 1841 => 678, 1837 => 677, 1833 => 675, 1830 => 674, 1828 => 673, 1821 => 669, 1817 => 668, 1813 => 667, 1808 => 665, 1796 => 655, 1790 => 654, 1788 => 653, 1782 => 651, 1776 => 647, 1770 => 643, 1768 => 642, 1765 => 641, 1759 => 640, 1756 => 639, 1753 => 638, 1750 => 637, 1745 => 636, 1741 => 635, 1738 => 634, 1735 => 633, 1733 => 632, 1727 => 628, 1721 => 627, 1718 => 626, 1712 => 623, 1709 => 622, 1703 => 618, 1697 => 614, 1695 => 613, 1692 => 612, 1689 => 611, 1683 => 610, 1680 => 609, 1677 => 608, 1674 => 607, 1669 => 606, 1665 => 605, 1662 => 604, 1659 => 603, 1657 => 602, 1651 => 598, 1645 => 597, 1641 => 595, 1637 => 593, 1635 => 592, 1632 => 591, 1625 => 589, 1617 => 588, 1610 => 587, 1604 => 583, 1601 => 582, 1595 => 578, 1593 => 577, 1588 => 574, 1586 => 573, 1581 => 570, 1578 => 569, 1576 => 568, 1569 => 567, 1566 => 566, 1562 => 565, 1558 => 564, 1555 => 563, 1551 => 561, 1549 => 560, 1546 => 559, 1542 => 557, 1535 => 555, 1527 => 554, 1522 => 552, 1515 => 551, 1509 => 547, 1506 => 546, 1500 => 542, 1498 => 541, 1493 => 538, 1491 => 537, 1486 => 534, 1483 => 533, 1481 => 532, 1474 => 531, 1471 => 530, 1467 => 529, 1461 => 528, 1457 => 526, 1450 => 524, 1442 => 523, 1437 => 521, 1430 => 520, 1424 => 516, 1421 => 515, 1415 => 511, 1413 => 510, 1408 => 507, 1406 => 506, 1401 => 503, 1398 => 502, 1396 => 501, 1389 => 500, 1386 => 499, 1382 => 498, 1377 => 495, 1370 => 493, 1362 => 492, 1357 => 490, 1350 => 489, 1344 => 485, 1341 => 484, 1335 => 480, 1333 => 479, 1328 => 476, 1326 => 475, 1321 => 472, 1318 => 471, 1316 => 470, 1309 => 469, 1306 => 468, 1302 => 467, 1298 => 465, 1295 => 464, 1293 => 463, 1290 => 462, 1284 => 461, 1281 => 460, 1278 => 459, 1275 => 458, 1272 => 457, 1269 => 456, 1264 => 455, 1262 => 454, 1259 => 453, 1254 => 452, 1250 => 451, 1247 => 450, 1244 => 449, 1242 => 448, 1210 => 419, 1202 => 414, 1198 => 413, 1193 => 410, 1187 => 406, 1181 => 402, 1171 => 398, 1167 => 396, 1163 => 395, 1154 => 392, 1151 => 391, 1145 => 387, 1127 => 382, 1119 => 381, 1116 => 379, 1114 => 378, 1110 => 376, 1102 => 371, 1098 => 370, 1094 => 369, 1090 => 368, 1083 => 366, 1080 => 365, 1077 => 364, 1060 => 363, 1051 => 360, 1048 => 359, 1043 => 356, 1029 => 355, 1027 => 354, 1021 => 350, 1013 => 349, 1010 => 347, 1008 => 346, 1004 => 344, 996 => 339, 992 => 338, 988 => 337, 984 => 336, 977 => 334, 974 => 333, 957 => 332, 953 => 330, 950 => 329, 948 => 328, 944 => 326, 931 => 322, 918 => 318, 909 => 314, 907 => 313, 902 => 310, 900 => 309, 892 => 303, 886 => 301, 884 => 300, 882 => 299, 880 => 298, 875 => 295, 873 => 294, 870 => 292, 864 => 291, 856 => 290, 848 => 289, 845 => 288, 842 => 286, 835 => 284, 833 => 283, 830 => 282, 824 => 278, 820 => 277, 816 => 276, 812 => 275, 808 => 274, 804 => 273, 793 => 264, 789 => 263, 786 => 262, 782 => 260, 774 => 258, 771 => 257, 769 => 256, 765 => 255, 758 => 252, 750 => 251, 748 => 250, 743 => 249, 735 => 248, 733 => 247, 729 => 246, 722 => 243, 714 => 242, 712 => 241, 707 => 240, 699 => 239, 697 => 238, 693 => 237, 686 => 234, 678 => 233, 676 => 232, 671 => 231, 663 => 230, 661 => 229, 657 => 228, 649 => 223, 645 => 222, 641 => 221, 634 => 216, 631 => 215, 617 => 214, 614 => 213, 611 => 212, 602 => 208, 596 => 207, 591 => 204, 588 => 203, 585 => 202, 582 => 201, 579 => 200, 576 => 199, 559 => 198, 555 => 196, 540 => 194, 534 => 193, 528 => 190, 525 => 189, 508 => 188, 503 => 186, 500 => 185, 498 => 184, 494 => 183, 491 => 182, 481 => 175, 478 => 174, 468 => 169, 465 => 168, 461 => 166, 458 => 165, 444 => 164, 438 => 163, 420 => 162, 418 => 161, 413 => 160, 411 => 158, 409 => 157, 406 => 156, 397 => 149, 392 => 146, 387 => 143, 385 => 142, 381 => 141, 377 => 140, 374 => 139, 372 => 138, 369 => 137, 363 => 135, 360 => 134, 356 => 132, 348 => 127, 341 => 125, 337 => 124, 332 => 123, 329 => 122, 326 => 121, 324 => 120, 316 => 114, 314 => 112, 313 => 111, 312 => 110, 311 => 109, 310 => 108, 309 => 107, 307 => 106, 304 => 104, 301 => 103, 298 => 102, 295 => 100, 293 => 99, 291 => 97, 289 => 96, 287 => 94, 285 => 93, 283 => 92, 281 => 91, 279 => 90, 273 => 88, 267 => 87, 264 => 86, 261 => 85, 258 => 84, 255 => 83, 250 => 82, 245 => 81, 243 => 80, 241 => 79, 239 => 77, 237 => 75, 235 => 73, 234 => 72, 232 => 70, 230 => 69, 228 => 67, 227 => 66, 226 => 65, 225 => 64, 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\">{{ 'год'|plural(profile.personParameters.age) }}</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.stations is defined and profile.stations is not empty
? profile.stations.first
: 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 }}, {{ 'год'|plural(profile.personParameters.age) }}\"
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=\"#f27900\"/>
<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=\"#f27900\"/>
</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.stations|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.stations|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=\"#F27900\"/>
</svg>
<span>{{ station.name|trans }}</span></a>{% if loop.index < 3 and not loop.last %},{% endif %}
</li>
{% endfor %}
</ul>
</div>
{% for station in profile.stations %}
{% 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\">
<li>{{ _self._data_wrapper('Возраст', profile.personParameters.age, 'Возраст' )}}</li>
<li>{{ _self._data_wrapper('Рост', profile.personParameters.height, 'Рост') }}</li>
<li>{{ _self._data_wrapper('Вес', profile.personParameters.weight, 'Вес') }}</li>
<li>{{ _self._data_wrapper('Размер одежды', profile.personParameters.clothSize, 'Одежда') }}</li>
<li>{{ _self._data_wrapper('Размер обуви', profile.personParameters.shoesSize, 'Обувь') }}</li>
<li>{{ _self._data_wrapper('Размер груди', profile.personParameters.breastSize, 'Грудь') }}</li>
</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\">
<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 %}
<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 %}
{% 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 %}
{% 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,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
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>
{% 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\">
<ul class=\"video-list d-flex flex-wrap\">
{% for video in profile.confirmedVideos %}
<li>
<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>
</li>
{% endfor %}
</ul>
</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() }}
<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");
}
}