<?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;
/* ProfileList/profile.html.twig */
class __TwigTemplate_3e80a6e99d20c70f0d8dba3b50cea865 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "ProfileList/profile.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/profile.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/profile.html.twig"));
// line 1
$macros["price_helpers"] = $this->macros["price_helpers"] = $this->loadTemplate("_macros/price_helpers.html.twig", "ProfileList/profile.html.twig", 1)->unwrap();
// line 2
echo "
";
// line 3
$context["profile"] = ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "profile", [], "any", true, true, false, 3)) ? (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 3, $this->source); })()), "profile", [], "any", false, false, false, 3)) : ((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 3, $this->source); })())));
// line 4
echo " ";
$context["services"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 4, $this->source); })()), "providedServices", [], "any", false, false, false, 4);
// line 5
$context["agePlural"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%age% лет", ["lastnum" => twig_last($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.', 5, $this->source); })()), "personParameters", [], "any", false, false, false, 5), "age", [], "any", false, false, false, 5))]);
// line 6
$context["ageText"] = (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 6, $this->source); })()), "personParameters", [], "any", false, false, false, 6), "age", [], "any", false, false, false, 6) . " ") . (isset($context["agePlural"]) || array_key_exists("agePlural", $context) ? $context["agePlural"] : (function () { throw new RuntimeError('Variable "agePlural" does not exist.', 6, $this->source); })())) . ", ");
// line 7
$context["cityText"] = "";
// line 9
if ((array_key_exists("city", $context) && ((isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 9, $this->source); })()) != $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()))) {
// line 10
$context["cityText"] = (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 10, $this->source); })()), "city", [], "any", false, false, false, 10), "name", [], "any", false, false, false, 10) . ", ");
}
// line 14
$context["isSelfies"] = ((is_iterable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 14, $this->source); })()), "selfies", [], "any", false, false, false, 14))) ? ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 14, $this->source); })()), "selfies", [], "any", false, false, false, 14)) > 0)) : (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 14, $this->source); })()), "selfies", [], "any", false, false, false, 14)));
// line 15
$context["isVideos"] = ((is_iterable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 15, $this->source); })()), "videos", [], "any", false, false, false, 15))) ? ((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.', 15, $this->source); })()), "videos", [], "any", false, false, false, 15)) > 0)) : (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 15, $this->source); })()), "videos", [], "any", false, false, false, 15)));
// line 16
$context["isComments"] = ((is_iterable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 16, $this->source); })()), "comments", [], "any", false, false, false, 16))) ? ((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.', 16, $this->source); })()), "comments", [], "any", false, false, false, 16)) > 0)) : (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 16, $this->source); })()), "comments", [], "any", false, false, false, 16)));
// line 18
if (twig_in_filter("profile_list.list_by_station", 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.', 18, $this->source); })()), "request", [], "any", false, false, false, 18), "get", ["_route"], "method", false, false, false, 18))) {
// line 19
$context["station"] = 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.', 19, $this->source); })()), "request", [], "any", false, false, false, 19), "attributes", [], "any", false, false, false, 19), "get", ["station"], "method", false, false, false, 19);
} else {
// line 21
$context["station"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 21, $this->source); })()), "stations", [], "any", false, false, false, 21));
}
// line 24
$context["firstStation"] = "";
// line 25
$context["metroText"] = "";
// line 26
echo " ";
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.', 26, $this->source); })()), "stations", [], "any", false, false, false, 26)) > 0)) {
// line 27
$context["metroText"] = (( !(null === (isset($context["station"]) || array_key_exists("station", $context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.', 27, $this->source); })()))) ? ((((("метро " . twig_get_attribute($this->env, $this->source, (isset($context["station"]) || array_key_exists("station", $context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.', 27, $this->source); })()), "name", [], "any", false, false, false, 27)) . " в ") . $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection(twig_get_attribute($this->env, $this->source, twig_get_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); })()), "city", [], "any", false, false, false, 27), "name", [], "any", false, false, false, 27), "дательный")) . ", ")) : (""));
}
// line 30
$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.', 30, $this->source); })()), "id", [], "any", false, false, false, 30);
// line 31
$context["serviceNameList"] = [];
// line 32
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 32, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 34
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 35
$context["service1"] = null;
// line 36
$context["service2"] = null;
// line 37
if ( !twig_test_empty((isset($context["serviceNameList"]) || array_key_exists("serviceNameList", $context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.', 37, $this->source); })()))) {
// line 38
$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.', 38, $this->source); })()), (isset($context["morpID"]) || array_key_exists("morpID", $context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.', 38, $this->source); })())) . ", ");
// line 39
$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.', 39, $this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID", $context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.', 39, $this->source); })()) + 105)) . ", ");
// line 41
if (((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 41, $this->source); })()) == (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 41, $this->source); })()))) {
// line 42
$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.', 42, $this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID", $context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.', 42, $this->source); })()) + 104)) . ", ");
// line 44
if (((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 44, $this->source); })()) == (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 44, $this->source); })()))) {
// line 45
$context["service2"] = null;
}
// line 47
echo " ";
}
// line 48
echo " ";
}
// line 49
echo "
";
// line 52
echo " ";
$context["isProfileVip"] = false;
// line 53
echo " ";
$context["isProfileUltraVip"] = false;
// line 54
echo "
";
// line 55
if ( !(isset($context["isProfileTop"]) || array_key_exists("isProfileTop", $context) ? $context["isProfileTop"] : (function () { throw new RuntimeError('Variable "isProfileTop" does not exist.', 55, $this->source); })())) {
// line 56
echo " ";
$context["isProfileVip"] = ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "isVip", [], "any", true, true, false, 56)) ? (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 56, $this->source); })()), "isVip", [], "any", false, false, false, 56)) : ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 56, $this->source); })()), "adBoardPlacement", [], "any", false, false, false, 56) && 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.', 56, $this->source); })()), "adBoardPlacement", [], "any", false, false, false, 56), "type", [], "any", false, false, false, 56), "isVip", [], "any", false, false, false, 56))));
// line 57
echo " ";
$context["isProfileUltraVip"] = ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "isUltraVip", [], "any", true, true, false, 57)) ? (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 57, $this->source); })()), "isUltraVip", [], "any", false, false, false, 57)) : ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 57, $this->source); })()), "adBoardPlacement", [], "any", false, false, false, 57) && 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.', 57, $this->source); })()), "adBoardPlacement", [], "any", false, false, false, 57), "type", [], "any", false, false, false, 57), "isUltraVip", [], "any", false, false, false, 57))));
// line 58
echo " ";
}
// line 59
echo "
";
// line 60
$context["labelHtml"] = (( // line 61
(isset($context["isProfileTop"]) || array_key_exists("isProfileTop", $context) ? $context["isProfileTop"] : (function () { throw new RuntimeError('Variable "isProfileTop" does not exist.', 61, $this->source); })())) ? ("<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-top\"></use></svg></div>") : ((( // line 63
(isset($context["isProfileUltraVip"]) || array_key_exists("isProfileUltraVip", $context) ? $context["isProfileUltraVip"] : (function () { throw new RuntimeError('Variable "isProfileUltraVip" does not exist.', 63, $this->source); })())) ? ("<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-ultravip\"></use></svg></div>") : ((( // line 64
(isset($context["isProfileVip"]) || array_key_exists("isProfileVip", $context) ? $context["isProfileVip"] : (function () { throw new RuntimeError('Variable "isProfileVip" does not exist.', 64, $this->source); })())) ? ("<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-vip\"></use></svg></div>") : (""))))));
// line 67
echo "
<div class=\"profiles-item-col\"
data-ultra=\"";
// line 69
(((array_key_exists("isProfileUltraVip", $context) && !(null === (isset($context["isProfileUltraVip"]) || array_key_exists("isProfileUltraVip", $context) ? $context["isProfileUltraVip"] : (function () { throw new RuntimeError('Variable "isProfileUltraVip" does not exist.', 69, $this->source); })())))) ? (print (twig_escape_filter($this->env, (isset($context["isProfileUltraVip"]) || array_key_exists("isProfileUltraVip", $context) ? $context["isProfileUltraVip"] : (function () { throw new RuntimeError('Variable "isProfileUltraVip" does not exist.', 69, $this->source); })()), "html", null, true))) : (print (null)));
echo "\"
data-vip=\"";
// line 70
(((array_key_exists("isProfileVip", $context) && !(null === (isset($context["isProfileVip"]) || array_key_exists("isProfileVip", $context) ? $context["isProfileVip"] : (function () { throw new RuntimeError('Variable "isProfileVip" does not exist.', 70, $this->source); })())))) ? (print (twig_escape_filter($this->env, (isset($context["isProfileVip"]) || array_key_exists("isProfileVip", $context) ? $context["isProfileVip"] : (function () { throw new RuntimeError('Variable "isProfileVip" does not exist.', 70, $this->source); })()), "html", null, true))) : (print (null)));
echo "\"
data-standart=\"";
// line 71
(((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "isStandard", [], "any", true, true, false, 71) && !(null === twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "isStandard", [], "any", false, false, false, 71)))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "isStandard", [], "any", false, false, false, 71), "html", null, true))) : (print (null)));
echo "\"
data-active=\"";
// line 72
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.', 72, $this->source); })()), "active", [], "any", false, false, false, 72), "html", null, true);
echo "\"
data-hidden=\"";
// line 73
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.', 73, $this->source); })()), "hidden", [], "any", false, false, false, 73), "html", null, true);
echo "\"
data-approved=\"";
// line 74
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.', 74, $this->source); })()), "isApproved", [], "any", false, false, false, 74), "html", null, true);
echo "\"
data-profile-id=\"";
// line 75
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.', 75, $this->source); })()), "id", [], "any", false, false, false, 75), "html", null, true);
echo "\">
<div class=\"profiles-item\">
";
// line 77
echo (isset($context["labelHtml"]) || array_key_exists("labelHtml", $context) ? $context["labelHtml"] : (function () { throw new RuntimeError('Variable "labelHtml" does not exist.', 77, $this->source); })());
echo "
<div class=\"profiles-item__content d-flex\">
";
// line 79
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.', 79, $this->source); })()), "isApproved", [], "any", false, false, false, 79)) {
// line 80
echo " <div class=\"profiles-item__verify\" title=\"Фото проверено\">
<svg class=\"icon\">
<use xlink:href=\"#icon-models-list-verify\"></use>
</svg>
</div>
";
}
// line 86
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_preview.page", ["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.', 86, $this->source); })()), "city", [], "any", false, false, false, 86), "uriIdentity", [], "any", false, false, false, 86), "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.', 86, $this->source); })()), "uriIdentity", [], "any", false, false, false, 86)]), "html", null, true);
echo "\" class=\"profiles-item__images d-block\" target=\"_blank\">
";
// line 87
$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.', 87, $this->source); })()));
// line 88
echo " ";
if (((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 88, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 88, $this->source); })()), "path", [], "any", false, false, false, 88))) {
// line 89
echo " ";
$context["alt"] = ((((((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 89, $this->source); })()), "name", [], "any", false, false, false, 89)) . ", ") . (isset($context["ageText"]) || array_key_exists("ageText", $context) ? $context["ageText"] : (function () { throw new RuntimeError('Variable "ageText" does not exist.', 89, $this->source); })())) . (isset($context["cityText"]) || array_key_exists("cityText", $context) ? $context["cityText"] : (function () { throw new RuntimeError('Variable "cityText" does not exist.', 89, $this->source); })())) . (isset($context["metroText"]) || array_key_exists("metroText", $context) ? $context["metroText"] : (function () { throw new RuntimeError('Variable "metroText" does not exist.', 89, $this->source); })())) . (( !(null === (isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 89, $this->source); })()))) ? ((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 89, $this->source); })())) : (""))) . (( !(null === (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 89, $this->source); })()))) ? ((isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 89, $this->source); })())) : (""))) . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 89), "phone", [], "any", true, true, false, 89)) ? ((("снять по тел. " . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 89, $this->source); })()), "seo", [], "any", false, false, false, 89), "phone", [], "any", false, false, false, 89)) . ", ")) : (""))) . "анкета №") . twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 89, $this->source); })()), "id", [], "any", false, false, false, 89));
// line 90
echo " <img data-src=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, (isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 90, $this->source); })()), "path", [], "any", false, false, false, 90), "profile_media", "200x280", "jpg"), "html", null, true);
echo "\"
class=\"lazy img-fluid\"
alt=\"";
// line 92
echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt", $context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.', 92, $this->source); })()), "html", null, true);
echo "\"
loading=\"lazy\">
";
}
// line 95
echo " </a>
<div class=\"profiles-item__info flex-fill\">
<div class=\"profiles-item__header\">
<div class=\"profiles-item__header-title d-flex align-items-center\">
<a href=\"";
// line 99
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_preview.page", ["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.', 99, $this->source); })()), "city", [], "any", false, false, false, 99), "uriIdentity", [], "any", false, false, false, 99), "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.', 99, $this->source); })()), "uriIdentity", [], "any", false, false, false, 99)]), "html", null, true);
echo "\" target=\"_blank\">";
// line 100
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.', 100, $this->source); })()), "name", [], "any", false, false, false, 100)), "html", null, true);
// line 101
echo "</a>
</div>";
// line 103
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.', 103, $this->source); })()), "isActive", [], "any", false, false, false, 103) || !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 103, $this->source); })()), "isHidden", [], "any", false, false, false, 103))) {
// line 104
$context["onlyPhoneNumber"] = twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 104, $this->source); })()), "phoneNumber", [], "any", false, false, false, 104), [" " => "", "-" => "", "(" => "", ")" => ""]);
// line 105
echo "<button class=\"profiles-item__header-phone ml-auto\" type=\"button\" onclick=\"this.classList.add('d-none');this.nextElementSibling.classList.remove('d-none')\">
<svg>
<use xlink:href=\"#icon-phone\"></use>
</svg>
<span>Показать телефон</span>
</button>
<!--noindex--><a href=\"tel:";
// line 111
echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber", $context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.', 111, $this->source); })()), "html", null, true);
echo "\" class=\"profiles-item__header-phone ml-auto d-none\">
<svg>
<use xlink:href=\"#icon-phone\"></use>
</svg>
<span>";
// line 115
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.', 115, $this->source); })()), "phoneNumber", [], "any", false, false, false, 115), "html", null, true);
echo "</span>
</a><!--/noindex-->";
}
// line 118
echo "</div>";
// line 120
if ((isset($context["station"]) || array_key_exists("station", $context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.', 120, $this->source); })())) {
// line 121
echo "<div class=\"item-info metro d-flex align-items-center\">
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-metro\"></use>
</svg>
<a href=\"";
// line 125
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, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 125, $this->source); })()), "city", [], "any", false, false, false, 125), "uriIdentity", [], "any", false, false, false, 125), "station" => twig_get_attribute($this->env, $this->source, (isset($context["station"]) || array_key_exists("station", $context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.', 125, $this->source); })()), "uriIdentity", [], "any", false, false, false, 125)]), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["station"]) || array_key_exists("station", $context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.', 125, $this->source); })()), "name", [], "any", false, false, false, 125), "html", null, true);
echo "\">";
// line 126
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["station"]) || array_key_exists("station", $context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.', 126, $this->source); })()), "name", [], "any", false, false, false, 126), "html", null, true);
// line 127
echo "</a>
</div>";
}
// line 130
echo "<div class=\"item-info\">
<p class=\"d-flex align-items-center mb-1\">
Возраст:<span class=\"d-inline-block ml-auto\">";
// line 132
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 132, $this->source); })()), "personParameters", [], "any", false, false, false, 132), "age", [], "any", false, false, false, 132)) ? (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.', 132, $this->source); })()), "personParameters", [], "any", false, false, false, 132), "age", [], "any", false, false, false, 132), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Рост:<span class=\"d-inline-block ml-auto\">";
// line 135
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 135, $this->source); })()), "personParameters", [], "any", false, false, false, 135), "height", [], "any", false, false, false, 135)) ? (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.', 135, $this->source); })()), "personParameters", [], "any", false, false, false, 135), "height", [], "any", false, false, false, 135), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Вес:<span class=\"d-inline-block ml-auto\">";
// line 138
((twig_get_attribute($this->env, $this->source, twig_get_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); })()), "personParameters", [], "any", false, false, false, 138), "weight", [], "any", false, false, false, 138)) ? (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.', 138, $this->source); })()), "personParameters", [], "any", false, false, false, 138), "weight", [], "any", false, false, false, 138), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Грудь:<span class=\"d-inline-block ml-auto\">";
// line 141
((twig_get_attribute($this->env, $this->source, twig_get_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); })()), "personParameters", [], "any", false, false, false, 141), "breastSize", [], "any", false, false, false, 141)) ? (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.', 141, $this->source); })()), "personParameters", [], "any", false, false, false, 141), "breastSize", [], "any", false, false, false, 141), "html", null, true))) : (print ("-")));
echo "</span>
</p>
</div>";
// line 144
ob_start();
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 144, $this->source); })()), "city", [], "any", false, false, false, 144), "countryCode", [], "any", false, false, false, 144)), "html", null, true);
$context["currencyProfile"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 145
ob_start();
echo twig_call_macro($macros["price_helpers"], "macro__get_min", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 145, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 145), "oneHourPrice", [], "any", false, false, false, 145), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 145, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 145), "oneHourPrice", [], "any", false, false, false, 145), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 145, $this->source); })())], 145, $context, $this->getSourceContext());
$context["minPriceHour"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 146
ob_start();
echo twig_call_macro($macros["price_helpers"], "macro__get_min", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 146, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 146), "twoHoursPrice", [], "any", false, false, false, 146), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 146, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 146), "twoHoursPrice", [], "any", false, false, false, 146), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 146, $this->source); })())], 146, $context, $this->getSourceContext());
$context["minPriceTwo"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 147
ob_start();
echo twig_call_macro($macros["price_helpers"], "macro__get_min", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 147, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 147), "nightPrice", [], "any", false, false, false, 147), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 147, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 147), "nightPrice", [], "any", false, false, false, 147), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 147, $this->source); })())], 147, $context, $this->getSourceContext());
$context["minPriceNight"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 148
ob_start();
echo twig_call_macro($macros["price_helpers"], "macro__check_out_price", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 148, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 148), "oneHourPrice", [], "any", false, false, false, 148), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 148, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 148), "twoHoursPrice", [], "any", false, false, false, 148), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 148, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 148), "nightPrice", [], "any", false, false, false, 148)], 148, $context, $this->getSourceContext());
$context["hasOutPrice"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 149
echo "<div class=\"item-info\">
<p class=\"d-flex align-items-center mb-1\">
Час:<span class=\"d-inline-block ml-auto description\">";
// line 151
((((isset($context["minPriceHour"]) || array_key_exists("minPriceHour", $context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.', 151, $this->source); })()) != "-")) ? (print (twig_escape_filter($this->env, (isset($context["minPriceHour"]) || array_key_exists("minPriceHour", $context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.', 151, $this->source); })()), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
2 часа:<span class=\"d-inline-block ml-auto description\">";
// line 154
((((isset($context["minPriceTwo"]) || array_key_exists("minPriceTwo", $context) ? $context["minPriceTwo"] : (function () { throw new RuntimeError('Variable "minPriceTwo" does not exist.', 154, $this->source); })()) != "-")) ? (print (twig_escape_filter($this->env, (isset($context["minPriceTwo"]) || array_key_exists("minPriceTwo", $context) ? $context["minPriceTwo"] : (function () { throw new RuntimeError('Variable "minPriceTwo" does not exist.', 154, $this->source); })()), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Ночь:<span class=\"d-inline-block ml-auto description\">";
// line 157
((((isset($context["minPriceNight"]) || array_key_exists("minPriceNight", $context) ? $context["minPriceNight"] : (function () { throw new RuntimeError('Variable "minPriceNight" does not exist.', 157, $this->source); })()) != "-")) ? (print (twig_escape_filter($this->env, (isset($context["minPriceNight"]) || array_key_exists("minPriceNight", $context) ? $context["minPriceNight"] : (function () { throw new RuntimeError('Variable "minPriceNight" does not exist.', 157, $this->source); })()), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Экспресс:<span class=\"d-inline-block ml-auto description\">";
// line 160
echo ((((isset($context["hasOutPrice"]) || array_key_exists("hasOutPrice", $context) ? $context["hasOutPrice"] : (function () { throw new RuntimeError('Variable "hasOutPrice" does not exist.', 160, $this->source); })()) == "1")) ? ("Есть") : ("-"));
echo "</span>
</p>
</div>
</div>
<div class=\"profiles-item__status\">";
// line 165
if ((isset($context["isSelfies"]) || array_key_exists("isSelfies", $context) ? $context["isSelfies"] : (function () { throw new RuntimeError('Variable "isSelfies" does not exist.', 165, $this->source); })())) {
// line 166
echo "<div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть селфи\">
<svg class=\"icon\">
<use xlink:href=\"#icon-selfie-thumb\"></use>
</svg>
</div>";
}
// line 172
if ((isset($context["isVideos"]) || array_key_exists("isVideos", $context) ? $context["isVideos"] : (function () { throw new RuntimeError('Variable "isVideos" does not exist.', 172, $this->source); })())) {
// line 173
echo "<div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть видео\">
<svg class=\"icon\">
<use xlink:href=\"#icon-video-thumb\"></use>
</svg>
</div>";
}
// line 179
if ((isset($context["isComments"]) || array_key_exists("isComments", $context) ? $context["isComments"] : (function () { throw new RuntimeError('Variable "isComments" does not exist.', 179, $this->source); })())) {
// line 180
echo "<div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть комментарии\">
<svg class=\"icon\">
<use xlink:href=\"#icon-comments-thumb\"></use>
</svg>
</div>";
}
// line 186
echo "</div>
</div>
</div>
</div>
";
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "ProfileList/profile.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 397 => 186, 390 => 180, 388 => 179, 381 => 173, 379 => 172, 372 => 166, 370 => 165, 363 => 160, 357 => 157, 351 => 154, 345 => 151, 341 => 149, 337 => 148, 333 => 147, 329 => 146, 325 => 145, 321 => 144, 316 => 141, 310 => 138, 304 => 135, 298 => 132, 294 => 130, 290 => 127, 288 => 126, 283 => 125, 277 => 121, 275 => 120, 273 => 118, 268 => 115, 261 => 111, 253 => 105, 251 => 104, 249 => 103, 246 => 101, 244 => 100, 241 => 99, 235 => 95, 229 => 92, 223 => 90, 220 => 89, 217 => 88, 215 => 87, 210 => 86, 202 => 80, 200 => 79, 195 => 77, 190 => 75, 186 => 74, 182 => 73, 178 => 72, 174 => 71, 170 => 70, 166 => 69, 162 => 67, 160 => 64, 159 => 63, 158 => 61, 157 => 60, 154 => 59, 151 => 58, 148 => 57, 145 => 56, 143 => 55, 140 => 54, 137 => 53, 134 => 52, 130 => 49, 127 => 48, 124 => 47, 121 => 45, 119 => 44, 117 => 42, 115 => 41, 113 => 39, 111 => 38, 109 => 37, 107 => 36, 105 => 35, 99 => 34, 95 => 32, 93 => 31, 91 => 30, 88 => 27, 85 => 26, 83 => 25, 81 => 24, 78 => 21, 75 => 19, 73 => 18, 71 => 16, 69 => 15, 67 => 14, 64 => 10, 62 => 9, 60 => 7, 58 => 6, 56 => 5, 53 => 4, 51 => 3, 48 => 2, 46 => 1,);
}
public function getSourceContext()
{
return new Source("{% import '_macros/price_helpers.html.twig' as price_helpers %}
{% set profile = profile.profile is defined ? profile.profile : profile %}
{% set services = profile.providedServices %}
{%- set agePlural = '%age% лет'|trans({'lastnum': profile.personParameters.age|last}) -%}
{%- set ageText = profile.personParameters.age ~ ' ' ~ agePlural ~ ', ' -%}
{%- set cityText = '' -%}
{%- if city is defined and city != default_city() -%}
{%- set cityText = profile.city.name ~ ', ' -%}
{%- endif -%}
{%- set isSelfies = profile.selfies is iterable ? (profile.selfies|length > 0) : profile.selfies -%}
{%- set isVideos = profile.videos is iterable ? (profile.videos|length > 0) : profile.videos -%}
{%- set isComments = profile.comments is iterable ? (profile.comments|length > 0) : profile.comments -%}
{%- if 'profile_list.list_by_station' in app.request.get('_route') -%}
{%- set station = app.request.attributes.get('station') -%}
{%- else -%}
{%- set station = profile.stations|first -%}
{%- endif -%}
{% set firstStation = '' -%}
{% set metroText = ''%}
{% if profile.stations|length > 0 -%}
{% set metroText = station is not null ? 'метро ' ~ station.name ~ ' в ' ~ profile.city.name|geo_name('дательный') ~ ', ' : '' -%}
{% endif -%}
{%- set morpID = profile.id -%}
{%- set serviceNameList = [] -%}
{% for service in services -%}
{# {% set serviceNameList = serviceNameList|merge([service.name]) %} #}
{% 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 %}
{# у топа другие поля в объекте #}
{% set isProfileVip = false %}
{% set isProfileUltraVip = false %}
{% if not isProfileTop %}
{% set isProfileVip = profile.isVip is defined ? profile.isVip : profile.adBoardPlacement and profile.adBoardPlacement.type.isVip %}
{% set isProfileUltraVip = profile.isUltraVip is defined ? profile.isUltraVip : profile.adBoardPlacement and profile.adBoardPlacement.type.isUltraVip %}
{% endif %}
{% set labelHtml =
isProfileTop ?
'<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-top\"></use></svg></div>' :
(isProfileUltraVip ? '<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-ultravip\"></use></svg></div>' :
(isProfileVip ? '<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-vip\"></use></svg></div>' : '')
)
%}
<div class=\"profiles-item-col\"
data-ultra=\"{{isProfileUltraVip ?? null}}\"
data-vip=\"{{isProfileVip ?? null}}\"
data-standart=\"{{profile.isStandard ?? null}}\"
data-active=\"{{profile.active}}\"
data-hidden=\"{{profile.hidden}}\"
data-approved=\"{{profile.isApproved}}\"
data-profile-id=\"{{profile.id}}\">
<div class=\"profiles-item\">
{{ labelHtml|raw }}
<div class=\"profiles-item__content d-flex\">
{% if ( profile.isApproved ) %}
<div class=\"profiles-item__verify\" title=\"Фото проверено\">
<svg class=\"icon\">
<use xlink:href=\"#icon-models-list-verify\"></use>
</svg>
</div>
{% endif %}
<a href=\"{{ path('profile_preview.page', {'city': profile.city.uriIdentity, 'profile': profile.uriIdentity}) }}\" class=\"profiles-item__images d-block\" target=\"_blank\">
{% set photo = profile|avatar %}
{% if photo and photo.path %}
{% set alt = profile.name|trans ~ ', ' ~ ageText ~ cityText ~ metroText ~ (service1 is not null ? service1) ~ (service2 is not null ? service2) ~ (profile.seo.phone is defined ? \"снять по тел. \" ~ profile.seo.phone ~ ', ' : '') ~ 'анкета №' ~ profile.id %}
<img data-src=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\"
class=\"lazy img-fluid\"
alt=\"{{ alt }}\"
loading=\"lazy\">
{% endif %}
</a>
<div class=\"profiles-item__info flex-fill\">
<div class=\"profiles-item__header\">
<div class=\"profiles-item__header-title d-flex align-items-center\">
<a href=\"{{ path('profile_preview.page', {'city': profile.city.uriIdentity, 'profile': profile.uriIdentity}) }}\" target=\"_blank\">
{{- profile.name|trans -}}
</a>
</div>
{%- if profile.isActive or not profile.isHidden -%}
{%- set onlyPhoneNumber = profile.phoneNumber|replace({' ': '', '-': '', '(': '', ')': ''}) -%}
<button class=\"profiles-item__header-phone ml-auto\" type=\"button\" onclick=\"this.classList.add('d-none');this.nextElementSibling.classList.remove('d-none')\">
<svg>
<use xlink:href=\"#icon-phone\"></use>
</svg>
<span>Показать телефон</span>
</button>
<!--noindex--><a href=\"tel:{{ onlyPhoneNumber }}\" class=\"profiles-item__header-phone ml-auto d-none\">
<svg>
<use xlink:href=\"#icon-phone\"></use>
</svg>
<span>{{- profile.phoneNumber -}}</span>
</a><!--/noindex-->
{%- endif -%}
</div>
{%- if station -%}
<div class=\"item-info metro d-flex align-items-center\">
<svg class=\"icon mr-1\">
<use xlink:href=\"#icon-metro\"></use>
</svg>
<a href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': station.uriIdentity}) }}\" target=\"_blank\" title=\"{{ station.name }}\">
{{- station.name -}}
</a>
</div>
{%- endif -%}
<div class=\"item-info\">
<p class=\"d-flex align-items-center mb-1\">
Возраст:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.age ? profile.personParameters.age : '-' }}</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Рост:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.height ? profile.personParameters.height : '-' }}</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Вес:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.weight ? profile.personParameters.weight : '-' }}</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Грудь:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.breastSize ? profile.personParameters.breastSize : '-' }}</span>
</p>
</div>
{%- set currencyProfile -%}{{ profile.city.countryCode|country_currency }}{%- endset -%}
{%- set minPriceHour -%}{{ price_helpers._get_min(profile.apartmentsPricing.oneHourPrice,profile.takeOutPricing.oneHourPrice,currencyProfile) }}{%- endset -%}
{%- set minPriceTwo -%}{{ price_helpers._get_min(profile.apartmentsPricing.twoHoursPrice,profile.takeOutPricing.twoHoursPrice,currencyProfile) }}{%- endset -%}
{%- set minPriceNight -%}{{ price_helpers._get_min(profile.apartmentsPricing.nightPrice,profile.takeOutPricing.nightPrice,currencyProfile) }}{%- endset -%}
{%- set hasOutPrice -%}{{- price_helpers._check_out_price(profile.takeOutPricing.oneHourPrice,profile.takeOutPricing.twoHoursPrice,profile.takeOutPricing.nightPrice) -}}{%- endset -%}
<div class=\"item-info\">
<p class=\"d-flex align-items-center mb-1\">
Час:<span class=\"d-inline-block ml-auto description\">{{ minPriceHour != '-' ? minPriceHour : '-' }}</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
2 часа:<span class=\"d-inline-block ml-auto description\">{{ minPriceTwo != '-' ? minPriceTwo : '-' }}</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Ночь:<span class=\"d-inline-block ml-auto description\">{{ minPriceNight != '-' ? minPriceNight : '-' }}</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Экспресс:<span class=\"d-inline-block ml-auto description\">{{ hasOutPrice == '1' ? 'Есть' : '-' }}</span>
</p>
</div>
</div>
<div class=\"profiles-item__status\">
{%- if isSelfies -%}
<div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть селфи\">
<svg class=\"icon\">
<use xlink:href=\"#icon-selfie-thumb\"></use>
</svg>
</div>
{%- endif -%}
{%- if isVideos -%}
<div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть видео\">
<svg class=\"icon\">
<use xlink:href=\"#icon-video-thumb\"></use>
</svg>
</div>
{%- endif -%}
{%- if isComments -%}
<div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть комментарии\">
<svg class=\"icon\">
<use xlink:href=\"#icon-comments-thumb\"></use>
</svg>
</div>
{%- endif -%}
</div>
</div>
</div>
</div>
", "ProfileList/profile.html.twig", "/app/templates/ProfileList/profile.html.twig");
}
}