<?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/list.profiles.html.twig */
class __TwigTemplate_a8169726f405d869ec55b479094189e6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$macros["_self"] = $this->macros["_self"] = $this;
}
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/list.profiles.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/list.profiles.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/list.profiles.html.twig"));
// line 28
$context["servicesList"] = "Секс классический|Секс анальный|Секс групповой|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь";
// line 47
$context["profiles_array"] = ((is_iterable((isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 47, $this->source); })()))) ? (((twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "array", [], "any", true, true, false, 47)) ? (twig_get_attribute($this->env, $this->source, (isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 47, $this->source); })()), "array", [], "any", false, false, false, 47)) : ((isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 47, $this->source); })())))) : ([]));
// line 48
if ((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.', 48, $this->source); })())))) {
// line 49
echo " ";
$context["profiles_array"] = twig_array_merge([(isset($context["top_profile"]) || array_key_exists("top_profile", $context) ? $context["top_profile"] : (function () { throw new RuntimeError('Variable "top_profile" does not exist.', 49, $this->source); })())], (isset($context["profiles_array"]) || array_key_exists("profiles_array", $context) ? $context["profiles_array"] : (function () { throw new RuntimeError('Variable "profiles_array" does not exist.', 49, $this->source); })()));
}
// line 51
echo "
";
// line 52
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["profiles_array"]) || array_key_exists("profiles_array", $context) ? $context["profiles_array"] : (function () { throw new RuntimeError('Variable "profiles_array" does not exist.', 52, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["profile"]) {
// line 53
echo " ";
$context["isLazyLoad"] = (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 53) < 3);
// line 54
echo " ";
$context["isTopProfile"] = (array_key_exists("top_profile", $context) && ($context["profile"] == (isset($context["top_profile"]) || array_key_exists("top_profile", $context) ? $context["top_profile"] : (function () { throw new RuntimeError('Variable "top_profile" does not exist.', 54, $this->source); })())));
// line 56
$context["isSelfies"] = ((is_iterable(twig_get_attribute($this->env, $this->source, $context["profile"], "selfies", [], "any", false, false, false, 56))) ? ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "selfies", [], "any", false, false, false, 56)) > 0)) : (twig_get_attribute($this->env, $this->source, $context["profile"], "selfies", [], "any", false, false, false, 56)));
// line 57
$context["isVideos"] = ((is_iterable(twig_get_attribute($this->env, $this->source, $context["profile"], "videos", [], "any", false, false, false, 57))) ? ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "videos", [], "any", false, false, false, 57)) > 0)) : (twig_get_attribute($this->env, $this->source, $context["profile"], "videos", [], "any", false, false, false, 57)));
// line 58
$context["isComments"] = ((is_iterable(twig_get_attribute($this->env, $this->source, $context["profile"], "comments", [], "any", false, false, false, 58))) ? ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "comments", [], "any", false, false, false, 58)) > 0)) : (twig_get_attribute($this->env, $this->source, $context["profile"], "comments", [], "any", false, false, false, 58)));
// line 60
echo "<div class=\"models-item-col\" data-profile data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "id", [], "any", false, false, false, 60), "html", null, true);
echo "\" data-profile-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "id", [], "any", false, false, false, 60), "html", null, true);
echo "\">
<div class=\"models-item\">
<div class=\"models-item__header d-flex align-items-center\">
<div class=\"models-item__header-title d-flex align-items-center mr-2\">
";
// line 64
if (twig_get_attribute($this->env, $this->source, $context["profile"], "isApproved", [], "any", false, false, false, 64)) {
// line 65
echo " <svg class=\"icon mr-2\">
<use xlink:href=\"";
// line 66
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-verify\"></use>
</svg>
";
}
// line 69
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, $context["profile"], "city", [], "any", false, false, false, 69), "uriIdentity", [], "any", false, false, false, 69), "profile" => twig_get_attribute($this->env, $this->source, $context["profile"], "uriIdentity", [], "any", false, false, false, 69)]), "html", null, true);
echo "\" target=\"_blank\">
";
// line 70
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["profile"], "name", [], "any", false, false, false, 70)), "html", null, true);
echo "
</a>
</div>
";
// line 85
echo " </div>
<div class=\"models-item__content d-flex\">
<a href=\"";
// line 87
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, $context["profile"], "city", [], "any", false, false, false, 87), "uriIdentity", [], "any", false, false, false, 87), "profile" => twig_get_attribute($this->env, $this->source, $context["profile"], "uriIdentity", [], "any", false, false, false, 87)]), "html", null, true);
echo "\" class=\"models-item__images d-block\" target=\"_blank\">
";
// line 88
$context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar($context["profile"]);
// line 89
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 89, $this->source); })())) {
// 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_call_macro($macros["_self"], "macro__gen_alt", [$context["profile"], (isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 92, $this->source); })())], 92, $context, $this->getSourceContext());
echo "\">
";
}
// line 94
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["profile"], "isUltraVip", [], "any", false, false, false, 94) || twig_get_attribute($this->env, $this->source, $context["profile"], "isVip", [], "any", false, false, false, 94))) {
// line 95
echo " <div class=\"status-line\">
";
// line 96
if (twig_get_attribute($this->env, $this->source, $context["profile"], "isUltraVip", [], "any", false, false, false, 96)) {
// line 97
echo " <div class=\"status-line__info d-flex align-items-center\">
<div class=\"status-line__icons d-flex align-items-center justify-content-center mr-2\">
<img src=\"";
// line 99
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/icon-status-gold.svg", "basicConfig"), "html", null, true);
echo "\">
</div>
</div>
";
} elseif (twig_get_attribute($this->env, $this->source, // line 102
$context["profile"], "isVip", [], "any", false, false, false, 102)) {
// line 103
echo " <div class=\"status-line__info d-flex align-items-center\">
<div class=\"status-line__icons d-flex align-items-center justify-content-center mr-2\">
<img src=\"";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/icon-status-silver.svg"), "html", null, true);
echo "\">
</div>
</div>
";
}
// line 109
echo " </div>
";
}
// line 111
echo " </a>
<div class=\"models-item__info flex-fill\">";
// line 113
$context["station"] = false;
// line 114
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.', 114, $this->source); })()), "request", [], "any", false, false, false, 114), "get", ["_route"], "method", false, false, false, 114))) {
// line 115
$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.', 115, $this->source); })()), "request", [], "any", false, false, false, 115), "attributes", [], "any", false, false, false, 115), "get", ["station"], "method", false, false, false, 115);
} elseif ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, // line 116
$context["profile"], "stations", [], "any", false, false, false, 116)) > 0)) {
// line 117
$context["station"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "stations", [], "any", false, false, false, 117));
}
// line 120
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "city", [], "any", false, false, false, 120), "uriIdentity", [], "any", false, false, false, 120) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "uriIdentity", [], "any", false, false, false, 120)) && (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=\"";
// line 123
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#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, $context["profile"], "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
$this->loadTemplate("components/metro/icon_generate.partial.twig", "ProfileList/list.profiles.html.twig", 126)->display(twig_array_merge($context, ["data" => $this->extensions['App\Twig\StationsExtension']->stationLines(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); })()), "id", [], "any", false, false, false, 126))]));
// line 127
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.', 127, $this->source); })()), "name", [], "any", false, false, false, 127), "html", null, true);
// line 128
echo "</a>
</div>
";
}
// line 131
echo "
<div class=\"item-info\">
<p class=\"d-flex align-items-center m-0\">
Возраст:<span class=\"d-inline-block ml-auto\">";
// line 134
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "personParameters", [], "any", false, false, false, 134), "age", [], "any", false, false, false, 134)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "personParameters", [], "any", false, false, false, 134), "age", [], "any", false, false, false, 134), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center m-0\">
Рост:<span class=\"d-inline-block ml-auto\">";
// line 137
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "personParameters", [], "any", false, false, false, 137), "height", [], "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, $context["profile"], "personParameters", [], "any", false, false, false, 137), "height", [], "any", false, false, false, 137), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center m-0\">
Вес:<span class=\"d-inline-block ml-auto\">";
// line 140
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "personParameters", [], "any", false, false, false, 140), "weight", [], "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, $context["profile"], "personParameters", [], "any", false, false, false, 140), "weight", [], "any", false, false, false, 140), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center m-0\">
Грудь:<span class=\"d-inline-block ml-auto\">";
// line 143
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "personParameters", [], "any", false, false, false, 143), "breastSize", [], "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, $context["profile"], "personParameters", [], "any", false, false, false, 143), "breastSize", [], "any", false, false, false, 143), "html", null, true))) : (print ("-")));
echo "</span>
</p>
</div>";
// line 146
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, $context["profile"], "city", [], "any", false, false, false, 146), "countryCode", [], "any", false, false, false, 146)), "html", null, true);
$context["currencyProfile"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 147
ob_start();
echo twig_call_macro($macros["_self"], "macro__get_min", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "apartmentsPricing", [], "any", false, false, false, 147), "oneHourPrice", [], "any", false, false, false, 147), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "takeOutPricing", [], "any", false, false, false, 147), "oneHourPrice", [], "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["minPriceHour"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 148
ob_start();
echo twig_call_macro($macros["_self"], "macro__get_min", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "apartmentsPricing", [], "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, $context["profile"], "takeOutPricing", [], "any", false, false, false, 148), "twoHoursPrice", [], "any", false, false, false, 148), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 148, $this->source); })())], 148, $context, $this->getSourceContext());
$context["minPriceTwo"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 149
ob_start();
echo twig_call_macro($macros["_self"], "macro__get_min", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "apartmentsPricing", [], "any", false, false, false, 149), "nightPrice", [], "any", false, false, false, 149), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "takeOutPricing", [], "any", false, false, false, 149), "nightPrice", [], "any", false, false, false, 149), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 149, $this->source); })())], 149, $context, $this->getSourceContext());
$context["minPriceNight"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 150
ob_start();
echo twig_call_macro($macros["_self"], "macro__check_out_price", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "takeOutPricing", [], "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, $context["profile"], "takeOutPricing", [], "any", false, false, false, 150), "twoHoursPrice", [], "any", false, false, false, 150), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "takeOutPricing", [], "any", false, false, false, 150), "nightPrice", [], "any", false, false, false, 150)], 150, $context, $this->getSourceContext());
$context["hasOutPrice"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 151
echo "<div class=\"item-info\">
<p class=\"d-flex align-items-center m-0\">
Час:<span class=\"d-inline-block ml-auto description\">";
// line 153
((((isset($context["minPriceHour"]) || array_key_exists("minPriceHour", $context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.', 153, $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.', 153, $this->source); })()), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center m-0\">
2 часа:<span class=\"d-inline-block ml-auto description\">";
// line 156
((((isset($context["minPriceTwo"]) || array_key_exists("minPriceTwo", $context) ? $context["minPriceTwo"] : (function () { throw new RuntimeError('Variable "minPriceTwo" does not exist.', 156, $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.', 156, $this->source); })()), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center m-0\">
Ночь:<span class=\"d-inline-block ml-auto description\">";
// line 159
((((isset($context["minPriceNight"]) || array_key_exists("minPriceNight", $context) ? $context["minPriceNight"] : (function () { throw new RuntimeError('Variable "minPriceNight" does not exist.', 159, $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.', 159, $this->source); })()), "html", null, true))) : (print ("-")));
echo "</span>
</p>
<p class=\"d-flex align-items-center m-0\">
Выезд:<span class=\"d-inline-block ml-auto\">";
// line 162
echo ((((isset($context["hasOutPrice"]) || array_key_exists("hasOutPrice", $context) ? $context["hasOutPrice"] : (function () { throw new RuntimeError('Variable "hasOutPrice" does not exist.', 162, $this->source); })()) == "1")) ? ("Есть") : ("-"));
echo "</span>
</p>
</div>
<div class=\"item-status d-flex align-items-center justify-content-center\">
";
// line 166
if ((isset($context["isComments"]) || array_key_exists("isComments", $context) ? $context["isComments"] : (function () { throw new RuntimeError('Variable "isComments" does not exist.', 166, $this->source); })())) {
// line 167
echo " <div class=\"status-item d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть комментарии\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 169
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-comments-thumb\"></use>
</svg>
</div>
";
} else {
// line 173
echo " <div class=\"status-item d-flex align-items-center\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 175
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-comments-thumb\"></use>
</svg>
</div>
";
}
// line 179
echo " ";
if ((isset($context["isSelfies"]) || array_key_exists("isSelfies", $context) ? $context["isSelfies"] : (function () { throw new RuntimeError('Variable "isSelfies" does not exist.', 179, $this->source); })())) {
// line 180
echo " <div class=\"status-item d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть селфи\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 182
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-selfie-thumb\"></use>
</svg>
</div>
";
} else {
// line 186
echo " <div class=\"status-item d-flex align-items-center\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 188
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-selfie-thumb\"></use>
</svg>
</div>
";
}
// line 192
echo " ";
if ((isset($context["isVideos"]) || array_key_exists("isVideos", $context) ? $context["isVideos"] : (function () { throw new RuntimeError('Variable "isVideos" does not exist.', 192, $this->source); })())) {
// line 193
echo " <div class=\"status-item d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть видео\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 195
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-video-thumb\"></use>
</svg>
</div>
";
} else {
// line 199
echo " <div class=\"status-item d-flex align-items-center\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 201
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-video-thumb\"></use>
</svg>
</div>
";
}
// line 205
echo " </div>
</div>
</div>
</div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['profile'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 211
echo "
";
// line 212
if (array_key_exists("show_pagination", $context)) {
// line 213
echo " <div class=\"filtered_profiles_pagination\">
";
// line 214
echo $this->extensions['Porpaginas\Twig\PorpaginasExtension']->renderPagination($this->env, (isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 214, $this->source); })()));
echo "
</div>
";
}
// line 218
if (((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.', 218, $this->source); })()), "request", [], "any", false, false, false, 218), "method", [], "any", false, false, false, 218) == "GET") && 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.', 218, $this->source); })()), "request", [], "any", false, false, false, 218), "isXmlHttpRequest", [], "method", false, false, false, 218))) {
// line 219
echo $this->extensions['Porpaginas\Twig\PorpaginasExtension']->renderPagination($this->env, (isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 219, $this->source); })()));
}
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 1
public function macro__get_min($__price1__ = null, $__price2__ = null, $__currency__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"price1" => $__price1__,
"price2" => $__price2__,
"currency" => $__currency__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_get_min"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_get_min"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_get_min"));
// line 2
echo " ";
$context["price1"] = (((array_key_exists("price1", $context) && ((isset($context["price1"]) || array_key_exists("price1", $context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.', 2, $this->source); })()) > 0))) ? ((isset($context["price1"]) || array_key_exists("price1", $context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.', 2, $this->source); })())) : (999999999));
// line 3
echo " ";
$context["price2"] = (((array_key_exists("price2", $context) && ((isset($context["price2"]) || array_key_exists("price2", $context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.', 3, $this->source); })()) > 0))) ? ((isset($context["price2"]) || array_key_exists("price2", $context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.', 3, $this->source); })())) : (999999999));
// line 4
echo " ";
if ((((isset($context["price1"]) || array_key_exists("price1", $context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.', 4, $this->source); })()) == 999999999) && ((isset($context["price2"]) || array_key_exists("price2", $context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.', 4, $this->source); })()) == 999999999))) {
// line 5
echo " -
";
} elseif (( // line 6
(isset($context["price1"]) || array_key_exists("price1", $context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.', 6, $this->source); })()) == 999999999)) {
// line 7
echo " ";
echo twig_escape_filter($this->env, (isset($context["price2"]) || array_key_exists("price2", $context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.', 7, $this->source); })()), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency", $context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.', 7, $this->source); })()), "html", null, true);
echo "
";
} elseif (( // line 8
(isset($context["price2"]) || array_key_exists("price2", $context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.', 8, $this->source); })()) == 999999999)) {
// line 9
echo " ";
echo twig_escape_filter($this->env, (isset($context["price1"]) || array_key_exists("price1", $context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.', 9, $this->source); })()), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency", $context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.', 9, $this->source); })()), "html", null, true);
echo "
";
} else {
// line 11
echo " ";
echo twig_escape_filter($this->env, min([(isset($context["price1"]) || array_key_exists("price1", $context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.', 11, $this->source); })()), (isset($context["price2"]) || array_key_exists("price2", $context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.', 11, $this->source); })())]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency", $context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.', 11, $this->source); })()), "html", null, true);
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 15
public function macro__check_out_price($__price1__ = null, $__price2__ = null, $__price3__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"price1" => $__price1__,
"price2" => $__price2__,
"price3" => $__price3__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_check_out_price"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_check_out_price"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_check_out_price"));
// line 16
$context["maxPrice"] = 999999999;
// line 17
$context["price1"] = (((array_key_exists("price1", $context) && ((isset($context["price1"]) || array_key_exists("price1", $context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.', 17, $this->source); })()) > 0))) ? ((isset($context["price1"]) || array_key_exists("price1", $context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.', 17, $this->source); })())) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 17, $this->source); })())));
// line 18
$context["price2"] = (((array_key_exists("price2", $context) && ((isset($context["price2"]) || array_key_exists("price2", $context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.', 18, $this->source); })()) > 0))) ? ((isset($context["price2"]) || array_key_exists("price2", $context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.', 18, $this->source); })())) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 18, $this->source); })())));
// line 19
$context["price3"] = (((array_key_exists("price3", $context) && ((isset($context["price3"]) || array_key_exists("price3", $context) ? $context["price3"] : (function () { throw new RuntimeError('Variable "price3" does not exist.', 19, $this->source); })()) > 0))) ? ((isset($context["price3"]) || array_key_exists("price3", $context) ? $context["price3"] : (function () { throw new RuntimeError('Variable "price3" does not exist.', 19, $this->source); })())) : ((isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 19, $this->source); })())));
// line 21
if (((((isset($context["price1"]) || array_key_exists("price1", $context) ? $context["price1"] : (function () { throw new RuntimeError('Variable "price1" does not exist.', 21, $this->source); })()) != (isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 21, $this->source); })())) || ((isset($context["price2"]) || array_key_exists("price2", $context) ? $context["price2"] : (function () { throw new RuntimeError('Variable "price2" does not exist.', 21, $this->source); })()) != (isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 21, $this->source); })()))) || ((isset($context["price3"]) || array_key_exists("price3", $context) ? $context["price3"] : (function () { throw new RuntimeError('Variable "price3" does not exist.', 21, $this->source); })()) != (isset($context["maxPrice"]) || array_key_exists("maxPrice", $context) ? $context["maxPrice"] : (function () { throw new RuntimeError('Variable "maxPrice" does not exist.', 21, $this->source); })())))) {
// line 22
echo "1";
} else {
// line 24
echo "0";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 30
public function macro__gen_alt($__profile__ = null, $__servicesList__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"profile" => $__profile__,
"servicesList" => $__servicesList__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_gen_alt"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_gen_alt"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_gen_alt"));
// line 31
$context["isMainCity"] = (twig_get_attribute($this->env, $this->source, twig_get_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), "uriIdentity", [], "any", false, false, false, 31) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "uriIdentity", [], "any", false, false, false, 31));
// line 32
$context["service1"] = twig_lower_filter($this->env, $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 32, $this->source); })()), (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 32, $this->source); })()), "id", [], "any", false, false, false, 32) + 12)));
// line 33
$context["service2"] = twig_lower_filter($this->env, $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["servicesList"]) || array_key_exists("servicesList", $context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.', 33, $this->source); })()), (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 33, $this->source); })()), "id", [], "any", false, false, false, 33) + 2)));
// line 34
$context["commonAlt"] = ((((((", " . (isset($context["service1"]) || array_key_exists("service1", $context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.', 34, $this->source); })())) . ", ") . (isset($context["service2"]) || array_key_exists("service2", $context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.', 34, $this->source); })())) . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 34), "phone", [], "any", true, true, false, 34)) ? ((", тел. " . twig_get_attribute($this->env, $this->source, twig_get_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); })()), "seo", [], "any", false, false, false, 34), "phone", [], "any", false, false, false, 34))) : (""))) . ", анкета ") . twig_get_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 36
if ((isset($context["isMainCity"]) || array_key_exists("isMainCity", $context) ? $context["isMainCity"] : (function () { throw new RuntimeError('Variable "isMainCity" does not exist.', 36, $this->source); })())) {
// line 37
$context["firstStation"] = "";
// line 38
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.', 38, $this->source); })()), "stations", [], "any", false, false, false, 38)) > 0)) {
// line 39
$context["firstStation"] = 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.', 39, $this->source); })()), "stations", [], "any", false, false, false, 39));
}
// line 41
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.', 41, $this->source); })()), "name", [], "any", false, false, false, 41)) . (((isset($context["firstStation"]) || array_key_exists("firstStation", $context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.', 41, $this->source); })())) ? ((", " . twig_get_attribute($this->env, $this->source, (isset($context["firstStation"]) || array_key_exists("firstStation", $context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.', 41, $this->source); })()), "name", [], "any", false, false, false, 41))) : (""))) . (isset($context["commonAlt"]) || array_key_exists("commonAlt", $context) ? $context["commonAlt"] : (function () { throw new RuntimeError('Variable "commonAlt" does not exist.', 41, $this->source); })())), "html", null, true);
} else {
// line 43
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.', 43, $this->source); })()), "name", [], "any", false, false, false, 43)) . (isset($context["commonAlt"]) || array_key_exists("commonAlt", $context) ? $context["commonAlt"] : (function () { throw new RuntimeError('Variable "commonAlt" does not exist.', 43, $this->source); })())), "html", null, true);
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "ProfileList/list.profiles.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 597 => 43, 594 => 41, 591 => 39, 589 => 38, 587 => 37, 585 => 36, 583 => 34, 581 => 33, 579 => 32, 577 => 31, 554 => 30, 535 => 24, 532 => 22, 530 => 21, 528 => 19, 526 => 18, 524 => 17, 522 => 16, 498 => 15, 474 => 11, 466 => 9, 464 => 8, 457 => 7, 455 => 6, 452 => 5, 449 => 4, 446 => 3, 443 => 2, 419 => 1, 405 => 219, 403 => 218, 397 => 214, 394 => 213, 392 => 212, 389 => 211, 370 => 205, 363 => 201, 359 => 199, 352 => 195, 348 => 193, 345 => 192, 338 => 188, 334 => 186, 327 => 182, 323 => 180, 320 => 179, 313 => 175, 309 => 173, 302 => 169, 298 => 167, 296 => 166, 289 => 162, 283 => 159, 277 => 156, 271 => 153, 267 => 151, 263 => 150, 259 => 149, 255 => 148, 251 => 147, 247 => 146, 242 => 143, 236 => 140, 230 => 137, 224 => 134, 219 => 131, 214 => 128, 212 => 127, 210 => 126, 205 => 125, 200 => 123, 196 => 121, 194 => 120, 191 => 117, 189 => 116, 187 => 115, 185 => 114, 183 => 113, 180 => 111, 176 => 109, 169 => 105, 165 => 103, 163 => 102, 157 => 99, 153 => 97, 151 => 96, 148 => 95, 145 => 94, 140 => 92, 134 => 90, 131 => 89, 129 => 88, 125 => 87, 121 => 85, 115 => 70, 110 => 69, 104 => 66, 101 => 65, 99 => 64, 89 => 60, 87 => 58, 85 => 57, 83 => 56, 80 => 54, 77 => 53, 60 => 52, 57 => 51, 53 => 49, 51 => 48, 49 => 47, 47 => 28,);
}
public function getSourceContext()
{
return new Source("{% macro _get_min(price1, price2, currency) %}
{% set price1 = price1 is defined and price1 > 0 ? price1 : 999999999 %}
{% set price2 = price2 is defined and price2 > 0 ? price2 : 999999999 %}
{% if price1 == 999999999 and price2 == 999999999 %}
-
{% elseif price1 == 999999999 %}
{{price2}} {{ currency }}
{% elseif price2 == 999999999 %}
{{price1}} {{ currency }}
{% else %}
{{ min([price1,price2]) }} {{ currency }}
{% endif %}
{% endmacro %}
{%- macro _check_out_price(price1, price2, price3) -%}
{%- set maxPrice = 999999999 %}
{%- set price1 = price1 is defined and price1 > 0 ? price1 : maxPrice -%}
{%- set price2 = price2 is defined and price2 > 0 ? price2 : maxPrice -%}
{%- set price3 = price3 is defined and price3 > 0 ? price3 : maxPrice -%}
{%- if price1 != maxPrice or price2 != maxPrice or price3 != maxPrice -%}
1
{%- else -%}
0
{%- endif -%}
{%- endmacro -%}
{%- set servicesList = \"Секс классический|Секс анальный|Секс групповой|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь\" -%}
{%- macro _gen_alt(profile, servicesList) -%}
{%- set isMainCity = profile.city.uriIdentity == default_city().uriIdentity -%}
{%- set service1 = servicesList|seo_morphing(profile.id + 12)|lower -%}
{%- set service2 = servicesList|seo_morphing(profile.id + 2)|lower -%}
{%- set commonAlt = ', ' ~ service1 ~ ', ' ~ service2 ~ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') ~ \", анкета \" ~ profile.id -%}
{%- if isMainCity -%}
{%- set firstStation = '' -%}
{%- if profile.stations|length > 0 -%}
{%- set firstStation = profile.stations|first -%}
{%- endif -%}
{{ profile.name|trans ~ (firstStation ? ', ' ~ firstStation.name : '' ) ~ commonAlt }}
{%- else -%}
{{ profile.name|trans ~ commonAlt }}
{%- endif -%}
{%- endmacro -%}
{% set profiles_array = (profiles is iterable) ? ((profiles.array is defined) ? profiles.array : profiles) : [] %}
{% if top_profile is defined and null != top_profile %}
{% set profiles_array = [top_profile]|merge(profiles_array) %}
{% endif %}
{% for profile in profiles_array %}
{% set isLazyLoad = loop.index < 3 %}
{% set isTopProfile = top_profile is defined and profile == top_profile %}
{%- 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 -%}
<div class=\"models-item-col\" data-profile data-id=\"{{ profile.id }}\" data-profile-id=\"{{ profile.id }}\">
<div class=\"models-item\">
<div class=\"models-item__header d-flex align-items-center\">
<div class=\"models-item__header-title d-flex align-items-center mr-2\">
{% if ( profile.isApproved ) %}
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verify\"></use>
</svg>
{% endif %}
<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=\"models-item__header-phone ml-auto\" type=\"button\" onclick=\"this.classList.add('d-none');this.nextElementSibling.classList.remove('d-none')\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"17\" fill=\"none\"><g clip-path=\"url(#a)\"><path fill=\"#F7901D\" d=\"M12.39 9.16a.84.84 0 0 0-1.2 0l-1.34 1.35a6.3 6.3 0 0 1-2.52-1.35A6.3 6.3 0 0 1 6 6.65L7.33 5.3a.84.84 0 0 0 0-1.19L3.97.75a.84.84 0 0 0-1.2 0L.5 3.03c-.32.32-.5.76-.49 1.2.02 1.2.34 5.37 3.62 8.65a12.89 12.89 0 0 0 8.64 3.62h.03c.44 0 .86-.18 1.18-.5l2.28-2.28a.84.84 0 0 0 0-1.19L12.4 9.16Zm-.11 5.66c-1.05-.02-4.65-.3-7.47-3.13a11.15 11.15 0 0 1-3.13-7.47l1.7-1.69 2.17 2.18L4.46 5.8a.84.84 0 0 0-.23.77c.02.1.52 2.39 1.91 3.79 1.4 1.4 3.7 1.89 3.8 1.9a.83.83 0 0 0 .76-.22l1.1-1.09 2.17 2.18-1.7 1.69Z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 .5h16v16H0z\"/></clipPath></defs></svg>
<span class=\"btn-text\">Показать телефон</span>
</button>
<!--noindex--><a href=\"tel:{{ onlyPhoneNumber }}\" rel=\"nofollow\" class=\"models-item__header-phone ml-auto d-none\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"17\" fill=\"none\"><g clip-path=\"url(#a)\"><path fill=\"#F7901D\" d=\"M12.39 9.16a.84.84 0 0 0-1.2 0l-1.34 1.35a6.3 6.3 0 0 1-2.52-1.35A6.3 6.3 0 0 1 6 6.65L7.33 5.3a.84.84 0 0 0 0-1.19L3.97.75a.84.84 0 0 0-1.2 0L.5 3.03c-.32.32-.5.76-.49 1.2.02 1.2.34 5.37 3.62 8.65a12.89 12.89 0 0 0 8.64 3.62h.03c.44 0 .86-.18 1.18-.5l2.28-2.28a.84.84 0 0 0 0-1.19L12.4 9.16Zm-.11 5.66c-1.05-.02-4.65-.3-7.47-3.13a11.15 11.15 0 0 1-3.13-7.47l1.7-1.69 2.17 2.18L4.46 5.8a.84.84 0 0 0-.23.77c.02.1.52 2.39 1.91 3.79 1.4 1.4 3.7 1.89 3.8 1.9a.83.83 0 0 0 .76-.22l1.1-1.09 2.17 2.18-1.7 1.69Z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 .5h16v16H0z\"/></clipPath></defs></svg>
<span class=\"btn-text\">{{- profile.phoneNumber -}}</span>
</a><!--/noindex-->
{% else %}
{% endif %} #}
</div>
<div class=\"models-item__content d-flex\">
<a href=\"{{ path('profile_preview.page', {'city': profile.city.uriIdentity, 'profile': profile.uriIdentity}) }}\" class=\"models-item__images d-block\" target=\"_blank\">
{% set photo = profile|avatar %}
{% if photo %}
<img data-src=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\"
class=\"lazy img-fluid\"
alt=\"{{- _self._gen_alt(profile, servicesList) -}}\">
{% endif %}
{% if profile.isUltraVip or profile.isVip %}
<div class=\"status-line\">
{% if profile.isUltraVip %}
<div class=\"status-line__info d-flex align-items-center\">
<div class=\"status-line__icons d-flex align-items-center justify-content-center mr-2\">
<img src=\"{{ asset('assets/images/icons/icon-status-gold.svg','basicConfig') }}\">
</div>
</div>
{% elseif profile.isVip %}
<div class=\"status-line__info d-flex align-items-center\">
<div class=\"status-line__icons d-flex align-items-center justify-content-center mr-2\">
<img src=\"{{ asset('assets/images/icons/icon-status-silver.svg') }}\">
</div>
</div>
{% endif %}
</div>
{% endif %}
</a>
<div class=\"models-item__info flex-fill\">
{%- set station = false -%}
{%- if 'profile_list.list_by_station' in app.request.get('_route') -%}
{%- set station = app.request.attributes.get('station') -%}
{%- elseif profile.stations|length > 0 -%}
{%- set station = profile.stations|first -%}
{%- endif -%}
{% if profile.city.uriIdentity == default_city().uriIdentity and station %}
<div class=\"item-info metro d-flex align-items-center\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-metro\"></use>
</svg>
<a href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': station.uriIdentity}) }}\" target=\"_blank\" title=\"{{ station.name }}\">
{%- include 'components/metro/icon_generate.partial.twig' with {data: station.id|station_lines} -%}
{{- station.name -}}
</a>
</div>
{% endif %}
<div class=\"item-info\">
<p class=\"d-flex align-items-center m-0\">
Возраст:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.age ? profile.personParameters.age : '-' }}</span>
</p>
<p class=\"d-flex align-items-center m-0\">
Рост:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.height ? profile.personParameters.height : '-' }}</span>
</p>
<p class=\"d-flex align-items-center m-0\">
Вес:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.weight ? profile.personParameters.weight : '-' }}</span>
</p>
<p class=\"d-flex align-items-center m-0\">
Грудь:<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 -%}{{ _self._get_min(profile.apartmentsPricing.oneHourPrice,profile.takeOutPricing.oneHourPrice,currencyProfile) }}{%- endset -%}
{%- set minPriceTwo -%}{{ _self._get_min(profile.apartmentsPricing.twoHoursPrice,profile.takeOutPricing.twoHoursPrice,currencyProfile) }}{%- endset -%}
{%- set minPriceNight -%}{{ _self._get_min(profile.apartmentsPricing.nightPrice,profile.takeOutPricing.nightPrice,currencyProfile) }}{%- endset -%}
{%- set hasOutPrice -%}{{- _self._check_out_price(profile.takeOutPricing.oneHourPrice,profile.takeOutPricing.twoHoursPrice,profile.takeOutPricing.nightPrice) -}}{%- endset -%}
<div class=\"item-info\">
<p class=\"d-flex align-items-center m-0\">
Час:<span class=\"d-inline-block ml-auto description\">{{ minPriceHour != '-' ? minPriceHour : '-' }}</span>
</p>
<p class=\"d-flex align-items-center m-0\">
2 часа:<span class=\"d-inline-block ml-auto description\">{{ minPriceTwo != '-' ? minPriceTwo : '-' }}</span>
</p>
<p class=\"d-flex align-items-center m-0\">
Ночь:<span class=\"d-inline-block ml-auto description\">{{ minPriceNight != '-' ? minPriceNight : '-' }}</span>
</p>
<p class=\"d-flex align-items-center m-0\">
Выезд:<span class=\"d-inline-block ml-auto\">{{ hasOutPrice == '1' ? 'Есть' : '-' }}</span>
</p>
</div>
<div class=\"item-status d-flex align-items-center justify-content-center\">
{% if isComments %}
<div class=\"status-item d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть комментарии\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-comments-thumb\"></use>
</svg>
</div>
{% else %}
<div class=\"status-item d-flex align-items-center\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-comments-thumb\"></use>
</svg>
</div>
{% endif %}
{% if isSelfies %}
<div class=\"status-item d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть селфи\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
</svg>
</div>
{% else %}
<div class=\"status-item d-flex align-items-center\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
</svg>
</div>
{% endif %}
{% if isVideos %}
<div class=\"status-item d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть видео\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
</svg>
</div>
{% else %}
<div class=\"status-item d-flex align-items-center\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
</svg>
</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
{% endfor %}
{% if show_pagination is defined %}
<div class=\"filtered_profiles_pagination\">
{{ porpaginas_render(profiles) }}
</div>
{% endif %}
{%- if app.request.method == 'GET' and app.request.isXmlHttpRequest() -%}
{{- porpaginas_render(profiles) -}}
{% endif %}", "ProfileList/list.profiles.html.twig", "/app/templates/ProfileList/list.profiles.html.twig");
}
}