<?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["top_profile"] = $this->extensions['App\Twig\PaidPlacementsExtension']->currentTopPlacement();
// line 4
$context["isTopProfilesExist"] = ((array_key_exists("top_profile", $context) && (null != (isset($context["top_profile"]) || array_key_exists("top_profile", $context) ? $context["top_profile"] : (function () { throw new RuntimeError('Variable "top_profile" does not exist.', 4, $this->source); })()))) && (null != (isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 4, $this->source); })())));
// line 5
echo "
";
// line 7
$context["profile"] = ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "profile", [], "any", true, true, false, 7)) ? (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 7, $this->source); })()), "profile", [], "any", false, false, false, 7)) : ((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 7, $this->source); })())));
// line 8
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.', 8, $this->source); })()), "providedServices", [], "any", false, false, false, 8);
// line 9
$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.', 9, $this->source); })()), "personParameters", [], "any", false, false, false, 9), "age", [], "any", false, false, false, 9))]);
// line 10
$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.', 10, $this->source); })()), "personParameters", [], "any", false, false, false, 10), "age", [], "any", false, false, false, 10) . " ") . (isset($context["agePlural"]) || array_key_exists("agePlural", $context) ? $context["agePlural"] : (function () { throw new RuntimeError('Variable "agePlural" does not exist.', 10, $this->source); })())) . ", ");
// line 11
$context["cityText"] = "";
// line 13
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.', 13, $this->source); })()) != $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()))) {
// line 14
$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.', 14, $this->source); })()), "city", [], "any", false, false, false, 14), "name", [], "any", false, false, false, 14) . ", ");
}
// line 18
$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.', 18, $this->source); })()), "selfies", [], "any", false, false, false, 18))) ? ((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.', 18, $this->source); })()), "selfies", [], "any", false, false, false, 18)) > 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.', 18, $this->source); })()), "selfies", [], "any", false, false, false, 18)));
// line 19
$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.', 19, $this->source); })()), "videos", [], "any", false, false, false, 19))) ? ((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.', 19, $this->source); })()), "videos", [], "any", false, false, false, 19)) > 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.', 19, $this->source); })()), "videos", [], "any", false, false, false, 19)));
// line 20
$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.', 20, $this->source); })()), "comments", [], "any", false, false, false, 20))) ? ((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.', 20, $this->source); })()), "comments", [], "any", false, false, false, 20)) > 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.', 20, $this->source); })()), "comments", [], "any", false, false, false, 20)));
// line 22
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.', 22, $this->source); })()), "request", [], "any", false, false, false, 22), "get", ["_route"], "method", false, false, false, 22))) {
// line 23
$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.', 23, $this->source); })()), "request", [], "any", false, false, false, 23), "attributes", [], "any", false, false, false, 23), "get", ["station"], "method", false, false, false, 23);
} else {
// line 25
$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.', 25, $this->source); })()), "stations", [], "any", false, false, false, 25));
}
// line 28
$context["firstStation"] = "";
// line 29
$context["metroText"] = "";
// line 30
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.', 30, $this->source); })()), "stations", [], "any", false, false, false, 30)) > 0)) {
// line 31
$context["metroText"] = (( !(null === (isset($context["station"]) || array_key_exists("station", $context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.', 31, $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.', 31, $this->source); })()), "name", [], "any", false, false, false, 31)) . " в ") . $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.', 31, $this->source); })()), "city", [], "any", false, false, false, 31), "name", [], "any", false, false, false, 31), "дательный")) . ", ")) : (""));
}
// line 34
$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.', 34, $this->source); })()), "id", [], "any", false, false, false, 34);
// line 35
$context["serviceNameList"] = [];
// line 36
$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.', 36, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 38
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 39
$context["service1"] = null;
// line 40
$context["service2"] = null;
// line 41
if ( !twig_test_empty((isset($context["serviceNameList"]) || array_key_exists("serviceNameList", $context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.', 41, $this->source); })()))) {
// line 42
$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.', 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); })())) . ", ");
// line 43
$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.', 43, $this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID", $context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.', 43, $this->source); })()) + 105)) . ", ");
// line 45
if (((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 45, $this->source); })()) == (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 45, $this->source); })()))) {
// line 46
$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.', 46, $this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID", $context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.', 46, $this->source); })()) + 104)) . ", ");
// line 48
if (((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 48, $this->source); })()) == (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 48, $this->source); })()))) {
// line 49
$context["service2"] = null;
}
// line 51
echo " ";
}
// line 52
echo " ";
}
// line 53
echo "
";
// line 56
echo " ";
$context["isProfileVip"] = false;
// line 57
echo " ";
$context["isProfileUltraVip"] = false;
// line 58
echo " ";
$context["isProfileTop"] = ((isset($context["isTopProfilesExist"]) || array_key_exists("isTopProfilesExist", $context) ? $context["isTopProfilesExist"] : (function () { throw new RuntimeError('Variable "isTopProfilesExist" does not exist.', 58, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["top_profile"]) || array_key_exists("top_profile", $context) ? $context["top_profile"] : (function () { throw new RuntimeError('Variable "top_profile" does not exist.', 58, $this->source); })()), "uriIdentity", [], "any", false, false, false, 58) == twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 58, $this->source); })()), "uriIdentity", [], "any", false, false, false, 58)));
// line 59
echo "
";
// line 60
if ( !(isset($context["isProfileTop"]) || array_key_exists("isProfileTop", $context) ? $context["isProfileTop"] : (function () { throw new RuntimeError('Variable "isProfileTop" does not exist.', 60, $this->source); })())) {
// line 61
echo " ";
$context["isProfileVip"] = ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "isVip", [], "any", true, true, false, 61)) ? (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 61, $this->source); })()), "isVip", [], "any", false, false, false, 61)) : ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 61, $this->source); })()), "adBoardPlacement", [], "any", false, false, false, 61) && 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.', 61, $this->source); })()), "adBoardPlacement", [], "any", false, false, false, 61), "type", [], "any", false, false, false, 61), "isVip", [], "any", false, false, false, 61))));
// line 62
echo " ";
$context["isProfileUltraVip"] = ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "isUltraVip", [], "any", true, true, false, 62)) ? (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 62, $this->source); })()), "isUltraVip", [], "any", false, false, false, 62)) : ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 62, $this->source); })()), "adBoardPlacement", [], "any", false, false, false, 62) && 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.', 62, $this->source); })()), "adBoardPlacement", [], "any", false, false, false, 62), "type", [], "any", false, false, false, 62), "isUltraVip", [], "any", false, false, false, 62))));
// line 63
echo " ";
}
// line 64
echo "
";
// line 65
$context["labelHtml"] = (( // line 66
(isset($context["isProfileTop"]) || array_key_exists("isProfileTop", $context) ? $context["isProfileTop"] : (function () { throw new RuntimeError('Variable "isProfileTop" does not exist.', 66, $this->source); })())) ? ("<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-top\"></use></svg></div>") : ((( // line 68
(isset($context["isProfileUltraVip"]) || array_key_exists("isProfileUltraVip", $context) ? $context["isProfileUltraVip"] : (function () { throw new RuntimeError('Variable "isProfileUltraVip" does not exist.', 68, $this->source); })())) ? ("<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-ultravip\"></use></svg></div>") : ((( // line 69
(isset($context["isProfileVip"]) || array_key_exists("isProfileVip", $context) ? $context["isProfileVip"] : (function () { throw new RuntimeError('Variable "isProfileVip" does not exist.', 69, $this->source); })())) ? ("<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-vip\"></use></svg></div>") : (""))))));
// line 72
echo "
<div class=\"profiles-item-col\"
data-ultra=\"";
// line 74
(((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.', 74, $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.', 74, $this->source); })()), "html", null, true))) : (print (null)));
echo "\"
data-vip=\"";
// line 75
(((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.', 75, $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.', 75, $this->source); })()), "html", null, true))) : (print (null)));
echo "\"
data-standart=\"";
// line 76
(((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "isStandard", [], "any", true, true, false, 76) && !(null === twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "isStandard", [], "any", false, false, false, 76)))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "isStandard", [], "any", false, false, false, 76), "html", null, true))) : (print (null)));
echo "\"
data-active=\"";
// line 77
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.', 77, $this->source); })()), "active", [], "any", false, false, false, 77), "html", null, true);
echo "\"
data-hidden=\"";
// line 78
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.', 78, $this->source); })()), "hidden", [], "any", false, false, false, 78), "html", null, true);
echo "\"
data-approved=\"";
// line 79
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.', 79, $this->source); })()), "isApproved", [], "any", false, false, false, 79), "html", null, true);
echo "\"
data-profile-id=\"";
// line 80
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.', 80, $this->source); })()), "id", [], "any", false, false, false, 80), "html", null, true);
echo "\">
<div class=\"profiles-item\">
";
// line 82
echo (isset($context["labelHtml"]) || array_key_exists("labelHtml", $context) ? $context["labelHtml"] : (function () { throw new RuntimeError('Variable "labelHtml" does not exist.', 82, $this->source); })());
echo "
<div class=\"profiles-item__content d-flex\">
";
// line 84
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.', 84, $this->source); })()), "isApproved", [], "any", false, false, false, 84)) {
// line 85
echo " <div class=\"profiles-item__verify\" title=\"Фото проверено\">
<svg class=\"icon\">
<use xlink:href=\"#icon-models-list-verify\"></use>
</svg>
</div>
";
}
// line 91
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.', 91, $this->source); })()), "city", [], "any", false, false, false, 91), "uriIdentity", [], "any", false, false, false, 91), "profile" => twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 91, $this->source); })()), "uriIdentity", [], "any", false, false, false, 91)]), "html", null, true);
echo "\" class=\"profiles-item__images d-block\" target=\"_blank\">
";
// line 92
$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.', 92, $this->source); })()));
// line 93
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 93, $this->source); })())) {
// line 94
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.', 94, $this->source); })()), "name", [], "any", false, false, false, 94)) . ", ") . (isset($context["ageText"]) || array_key_exists("ageText", $context) ? $context["ageText"] : (function () { throw new RuntimeError('Variable "ageText" does not exist.', 94, $this->source); })())) . (isset($context["cityText"]) || array_key_exists("cityText", $context) ? $context["cityText"] : (function () { throw new RuntimeError('Variable "cityText" does not exist.', 94, $this->source); })())) . (isset($context["metroText"]) || array_key_exists("metroText", $context) ? $context["metroText"] : (function () { throw new RuntimeError('Variable "metroText" does not exist.', 94, $this->source); })())) . (( !(null === (isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 94, $this->source); })()))) ? ((isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 94, $this->source); })())) : (""))) . (( !(null === (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 94, $this->source); })()))) ? ((isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 94, $this->source); })())) : (""))) . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 94), "phone", [], "any", true, true, false, 94)) ? ((("снять по тел. " . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 94, $this->source); })()), "seo", [], "any", false, false, false, 94), "phone", [], "any", false, false, false, 94)) . ", ")) : (""))) . "анкета №") . twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 94, $this->source); })()), "id", [], "any", false, false, false, 94));
// line 95
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.', 95, $this->source); })()), "path", [], "any", false, false, false, 95), "profile_media", "200x280", "jpg"), "html", null, true);
echo "\"
class=\"lazy img-fluid\"
alt=\"";
// line 97
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.', 97, $this->source); })()), "html", null, true);
echo "\"
loading=\"lazy\">
";
}
// line 100
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 104
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.', 104, $this->source); })()), "city", [], "any", false, false, false, 104), "uriIdentity", [], "any", false, false, false, 104), "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.', 104, $this->source); })()), "uriIdentity", [], "any", false, false, false, 104)]), "html", null, true);
echo "\" target=\"_blank\">
";
// line 105
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.', 105, $this->source); })()), "name", [], "any", false, false, false, 105)), "html", null, true);
echo "
</a>
</div>
";
// line 108
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.', 108, $this->source); })()), "isActive", [], "any", false, false, false, 108) || !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 108, $this->source); })()), "isHidden", [], "any", false, false, false, 108))) {
// line 109
echo " ";
$context["onlyPhoneNumber"] = twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 109, $this->source); })()), "phoneNumber", [], "any", false, false, false, 109), [" " => "", "-" => "", "(" => "", ")" => ""]);
// line 110
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 116
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.', 116, $this->source); })()), "html", null, true);
echo "\" rel=\"nofollow\" class=\"profiles-item__header-phone ml-auto d-none\">
<svg>
<use xlink:href=\"#icon-phone\"></use>
</svg>
<span>";
// line 120
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.', 120, $this->source); })()), "phoneNumber", [], "any", false, false, false, 120), "html", null, true);
echo "</span>
</a><!--/noindex-->
";
}
// line 123
echo " </div>";
// line 125
if ((isset($context["station"]) || array_key_exists("station", $context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.', 125, $this->source); })())) {
// line 126
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 130
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.', 130, $this->source); })()), "city", [], "any", false, false, false, 130), "uriIdentity", [], "any", false, false, false, 130), "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.', 130, $this->source); })()), "uriIdentity", [], "any", false, false, false, 130)]), "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.', 130, $this->source); })()), "name", [], "any", false, false, false, 130), "html", null, true);
echo "\">";
// line 131
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.', 131, $this->source); })()), "name", [], "any", false, false, false, 131), "html", null, true);
// line 132
echo "</a>
</div>";
}
// line 135
echo "<div class=\"item-info\">
<p class=\"d-flex align-items-center mb-1\">
Возраст:<span class=\"d-inline-block ml-auto\">";
// line 137
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 137, $this->source); })()), "personParameters", [], "any", false, false, false, 137), "age", [], "any", false, false, false, 137)) ? (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.', 137, $this->source); })()), "personParameters", [], "any", false, false, false, 137), "age", [], "any", false, false, false, 137), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Рост:<span class=\"d-inline-block ml-auto\">";
// line 140
((twig_get_attribute($this->env, $this->source, twig_get_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); })()), "personParameters", [], "any", false, false, false, 140), "height", [], "any", false, false, false, 140)) ? (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.', 140, $this->source); })()), "personParameters", [], "any", false, false, false, 140), "height", [], "any", false, false, false, 140), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Вес:<span class=\"d-inline-block ml-auto\">";
// line 143
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 143, $this->source); })()), "personParameters", [], "any", false, false, false, 143), "weight", [], "any", false, false, false, 143)) ? (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.', 143, $this->source); })()), "personParameters", [], "any", false, false, false, 143), "weight", [], "any", false, false, false, 143), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center mb-1\">
Грудь:<span class=\"d-inline-block ml-auto\">";
// line 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); })()), "personParameters", [], "any", false, false, false, 146), "breastSize", [], "any", false, false, false, 146)) ? (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.', 146, $this->source); })()), "personParameters", [], "any", false, false, false, 146), "breastSize", [], "any", false, false, false, 146), "html", null, true))) : (print ("-")));
echo "</span>
</p>
</div>";
// line 149
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.', 149, $this->source); })()), "city", [], "any", false, false, false, 149), "countryCode", [], "any", false, false, false, 149)), "html", null, true);
$context["currencyProfile"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 150
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.', 150, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 150), "oneHourPrice", [], "any", false, false, false, 150), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 150, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 150), "oneHourPrice", [], "any", false, false, false, 150), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 150, $this->source); })())], 150, $context, $this->getSourceContext());
$context["minPriceHour"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 151
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.', 151, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 151), "twoHoursPrice", [], "any", false, false, false, 151), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 151, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 151), "twoHoursPrice", [], "any", false, false, false, 151), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 151, $this->source); })())], 151, $context, $this->getSourceContext());
$context["minPriceTwo"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 152
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.', 152, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 152), "nightPrice", [], "any", false, false, false, 152), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 152, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 152), "nightPrice", [], "any", false, false, false, 152), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 152, $this->source); })())], 152, $context, $this->getSourceContext());
$context["minPriceNight"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 153
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.', 153, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 153), "oneHourPrice", [], "any", false, false, false, 153), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 153, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 153), "twoHoursPrice", [], "any", false, false, false, 153), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 153, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 153), "nightPrice", [], "any", false, false, false, 153)], 153, $context, $this->getSourceContext());
$context["hasOutPrice"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 154
echo "<div class=\"item-info\">
<p class=\"d-flex align-items-center mb-1\">
Час:<span class=\"d-inline-block ml-auto description\">";
// line 156
((((isset($context["minPriceHour"]) || array_key_exists("minPriceHour", $context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.', 156, $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.', 156, $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 159
((((isset($context["minPriceTwo"]) || array_key_exists("minPriceTwo", $context) ? $context["minPriceTwo"] : (function () { throw new RuntimeError('Variable "minPriceTwo" does not exist.', 159, $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.', 159, $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 162
((((isset($context["minPriceNight"]) || array_key_exists("minPriceNight", $context) ? $context["minPriceNight"] : (function () { throw new RuntimeError('Variable "minPriceNight" does not exist.', 162, $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.', 162, $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 165
echo ((((isset($context["hasOutPrice"]) || array_key_exists("hasOutPrice", $context) ? $context["hasOutPrice"] : (function () { throw new RuntimeError('Variable "hasOutPrice" does not exist.', 165, $this->source); })()) == "1")) ? ("Есть") : ("-"));
echo "</span>
</p>
</div>
</div>
<div class=\"profiles-item__status\">
";
// line 170
if ((isset($context["isSelfies"]) || array_key_exists("isSelfies", $context) ? $context["isSelfies"] : (function () { throw new RuntimeError('Variable "isSelfies" does not exist.', 170, $this->source); })())) {
// line 171
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 177
echo " ";
if ((isset($context["isVideos"]) || array_key_exists("isVideos", $context) ? $context["isVideos"] : (function () { throw new RuntimeError('Variable "isVideos" does not exist.', 177, $this->source); })())) {
// line 178
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 184
echo " ";
if ((isset($context["isComments"]) || array_key_exists("isComments", $context) ? $context["isComments"] : (function () { throw new RuntimeError('Variable "isComments" does not exist.', 184, $this->source); })())) {
// line 185
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 191
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 ( 418 => 191, 410 => 185, 407 => 184, 399 => 178, 396 => 177, 388 => 171, 386 => 170, 378 => 165, 372 => 162, 366 => 159, 360 => 156, 356 => 154, 352 => 153, 348 => 152, 344 => 151, 340 => 150, 336 => 149, 331 => 146, 325 => 143, 319 => 140, 313 => 137, 309 => 135, 305 => 132, 303 => 131, 298 => 130, 292 => 126, 290 => 125, 288 => 123, 282 => 120, 275 => 116, 267 => 110, 264 => 109, 262 => 108, 256 => 105, 252 => 104, 246 => 100, 240 => 97, 234 => 95, 231 => 94, 228 => 93, 226 => 92, 221 => 91, 213 => 85, 211 => 84, 206 => 82, 201 => 80, 197 => 79, 193 => 78, 189 => 77, 185 => 76, 181 => 75, 177 => 74, 173 => 72, 171 => 69, 170 => 68, 169 => 66, 168 => 65, 165 => 64, 162 => 63, 159 => 62, 156 => 61, 154 => 60, 151 => 59, 148 => 58, 145 => 57, 142 => 56, 138 => 53, 135 => 52, 132 => 51, 129 => 49, 127 => 48, 125 => 46, 123 => 45, 121 => 43, 119 => 42, 117 => 41, 115 => 40, 113 => 39, 107 => 38, 103 => 36, 101 => 35, 99 => 34, 96 => 31, 93 => 30, 91 => 29, 89 => 28, 86 => 25, 83 => 23, 81 => 22, 79 => 20, 77 => 19, 75 => 18, 72 => 14, 70 => 13, 68 => 11, 66 => 10, 64 => 9, 61 => 8, 59 => 7, 55 => 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 top_profile = profile_top_placement() %}
{% set isTopProfilesExist = top_profile is defined and null != top_profile and null != profiles %}
{% 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 %}
{% set isProfileTop = isTopProfilesExist and top_profile.uriIdentity == profile.uriIdentity %}
{% 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 %}
{% 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 }}\" rel=\"nofollow\" 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");
}
}