<?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 36
$context["fakeStation"] = (((array_key_exists("fakeStationList", $context) && (isset($context["fakeStationList"]) || array_key_exists("fakeStationList", $context) ? $context["fakeStationList"] : (function () { throw new RuntimeError('Variable "fakeStationList" does not exist.', 36, $this->source); })())) && array_key_exists("station", $context)) && 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.', 36, $this->source); })()), "uriIdentity", [], "any", false, false, false, 36));
// line 37
$context["isStationPage"] = ((array_key_exists("isStationPage", $context)) ? ((isset($context["isStationPage"]) || array_key_exists("isStationPage", $context) ? $context["isStationPage"] : (function () { throw new RuntimeError('Variable "isStationPage" does not exist.', 37, $this->source); })())) : (false));
// line 38
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 38, $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 40
$context["profile"] = ((twig_get_attribute($this->env, $this->source, $context["profile"], "profile", [], "any", true, true, false, 40)) ? (twig_get_attribute($this->env, $this->source, $context["profile"], "profile", [], "any", false, false, false, 40)) : ($context["profile"]));
// line 41
echo " ";
$context["isSearchPage"] = array_key_exists("form", $context);
// line 42
echo "
\t";
// line 43
$context["stationFromForm"] = null;
// line 44
echo "
\t";
// line 46
echo "\t";
if ((isset($context["isSearchPage"]) || array_key_exists("isSearchPage", $context) ? $context["isSearchPage"] : (function () { throw new RuntimeError('Variable "isSearchPage" does not exist.', 46, $this->source); })())) {
// line 47
echo "\t\t";
if ((twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "station", [], "any", true, true, false, 47) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 47, $this->source); })()), "station", [], "any", false, false, false, 47), "vars", [], "any", false, false, false, 47), "value", [], "any", false, false, false, 47)) > 0))) {
// line 48
echo "\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 48, $this->source); })()), "station", [], "any", false, false, false, 48), "vars", [], "any", false, false, false, 48), "value", [], "any", false, false, false, 48));
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 49
echo "\t\t\t\t";
if ((null === (isset($context["stationFromForm"]) || array_key_exists("stationFromForm", $context) ? $context["stationFromForm"] : (function () { throw new RuntimeError('Variable "stationFromForm" does not exist.', 49, $this->source); })()))) {
// line 50
echo "\t\t\t\t\t";
$context["stationFromForm"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "stations", [], "any", false, true, false, 50), $context["station"], [], "array", true, true, false, 50)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "stations", [], "any", false, false, false, 50), $context["station"], [], "array", false, false, false, 50)) : (null));
// line 51
echo "\t\t\t\t";
}
// line 52
echo "\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 53
echo "\t\t";
}
// line 54
echo "\t\t";
$context["listingStation"] = (isset($context["stationFromForm"]) || array_key_exists("stationFromForm", $context) ? $context["stationFromForm"] : (function () { throw new RuntimeError('Variable "stationFromForm" does not exist.', 54, $this->source); })());
// line 55
echo "\t";
} else {
// line 56
echo "\t\t";
$context["listingStation"] = 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.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "attributes", [], "any", false, false, false, 56), "get", ["station"], "method", false, false, false, 56);
// line 57
echo "\t";
}
// line 58
echo "
\t";
// line 59
$context["haveStationInList"] = (isset($context["listingStation"]) || array_key_exists("listingStation", $context) ? $context["listingStation"] : (function () { throw new RuntimeError('Variable "listingStation" does not exist.', 59, $this->source); })());
// line 60
echo "\t";
$context["stationOutput"] = "";
// line 61
echo "
\t";
// line 62
$context["stationReallyExist"] = false;
// line 63
echo "\t";
// line 64
echo "\t";
if (((isset($context["haveStationInList"]) || array_key_exists("haveStationInList", $context) ? $context["haveStationInList"] : (function () { throw new RuntimeError('Variable "haveStationInList" does not exist.', 64, $this->source); })()) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "stations", [], "any", false, false, false, 64)) > 0))) {
// line 65
echo "\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["profile"], "stations", [], "any", false, false, false, 65));
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 66
echo "\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 66) == twig_get_attribute($this->env, $this->source, (isset($context["listingStation"]) || array_key_exists("listingStation", $context) ? $context["listingStation"] : (function () { throw new RuntimeError('Variable "listingStation" does not exist.', 66, $this->source); })()), "uriIdentity", [], "any", false, false, false, 66))) {
// line 67
echo "\t\t\t\t";
$context["stationReallyExist"] = true;
// line 68
echo "\t\t";
}
// line 69
echo "\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 70
echo "\t";
}
// line 71
echo "
\t";
// line 72
if (((isset($context["haveStationInList"]) || array_key_exists("haveStationInList", $context) ? $context["haveStationInList"] : (function () { throw new RuntimeError('Variable "haveStationInList" does not exist.', 72, $this->source); })()) && (isset($context["stationReallyExist"]) || array_key_exists("stationReallyExist", $context) ? $context["stationReallyExist"] : (function () { throw new RuntimeError('Variable "stationReallyExist" does not exist.', 72, $this->source); })()))) {
// line 73
echo "\t\t";
// line 74
echo "\t\t";
$context["stationOutput"] = (isset($context["listingStation"]) || array_key_exists("listingStation", $context) ? $context["listingStation"] : (function () { throw new RuntimeError('Variable "listingStation" does not exist.', 74, $this->source); })());
// line 75
echo "\t";
} else {
// line 76
echo "\t\t";
// line 77
echo "\t\t";
$context["stationOutput"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "stations", [], "any", false, false, false, 77));
// line 78
echo "\t";
}
// line 80
echo "<div class=\"models-item-col\" data-profile-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "id", [], "any", false, false, false, 80), "html", null, true);
echo "\">
\t\t<div class=\"models-item rounding\">
\t\t\t<a class=\"models-item-link\" data-profile data-id=\"";
// line 82
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "id", [], "any", false, false, false, 82), "html", null, true);
echo "\" 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, 82), "uriIdentity", [], "any", false, false, false, 82), "profile" => twig_get_attribute($this->env, $this->source, $context["profile"], "uriIdentity", [], "any", false, false, false, 82)]), "html", null, true);
echo "\" target=\"_blank\">
\t\t\t\t<div class=\"models-item__header d-flex align-items-center justify-content-between\">
\t\t\t\t\t<div class=\"models-item__header-title mr-2 d-flex align-items-center\">
\t\t\t\t\t\t<span>";
// line 85
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, 85)), "html", null, true);
echo "</span>";
// line 87
if (twig_get_attribute($this->env, $this->source, $context["profile"], "isApproved", [], "any", false, false, false, 87)) {
// line 88
echo "<div class=\"ml-2\" data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 90
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-new\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>";
}
// line 94
echo "</div>
\t\t\t\t\t<div class=\"item-status d-flex align-items-center justify-content-center\">";
// line 96
if (((is_iterable(twig_get_attribute($this->env, $this->source, $context["profile"], "comments", [], "any", false, false, false, 96))) ? ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "comments", [], "any", false, false, false, 96)) > 0)) : (twig_get_attribute($this->env, $this->source, $context["profile"], "comments", [], "any", false, false, false, 96)))) {
// line 97
echo "<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть комментарии\" data-theme=\"basic\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 99
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>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>";
} else {
// line 103
echo "<div class=\"item-status__el d-flex align-items-center\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 105
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>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>";
}
// line 109
if (((is_iterable(twig_get_attribute($this->env, $this->source, $context["profile"], "selfies", [], "any", false, false, false, 109))) ? ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "selfies", [], "any", false, false, false, 109)) > 0)) : (twig_get_attribute($this->env, $this->source, $context["profile"], "selfies", [], "any", false, false, false, 109)))) {
// line 110
echo "<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть селфи\" data-theme=\"basic\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 112
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>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>";
} else {
// line 116
echo "<div class=\"item-status__el d-flex align-items-center\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 118
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>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>";
}
// line 122
if (((is_iterable(twig_get_attribute($this->env, $this->source, $context["profile"], "videos", [], "any", false, false, false, 122))) ? ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "videos", [], "any", false, false, false, 122)) > 0)) : (twig_get_attribute($this->env, $this->source, $context["profile"], "videos", [], "any", false, false, false, 122)))) {
// line 123
echo "<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть видео\" data-theme=\"basic\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 125
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>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>";
} else {
// line 129
echo "<div class=\"item-status__el d-flex align-items-center\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 131
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>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>";
}
// line 135
echo "</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"models-item__content d-flex\">
\t\t\t\t\t<div class=\"models-item__images d-block rounding\">";
// line 141
$context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar($context["profile"]);
// line 142
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 142, $this->source); })())) {
// line 143
$context["firstStation"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "stations", [], "any", false, false, false, 143));
// line 144
echo "<img ";
echo (((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 144) == 1)) ? ("") : ("data-"));
echo "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.', 144, $this->source); })()), "path", [], "any", false, false, false, 144), "profile_media", "200x280", "jpg"), "html", null, true);
echo "\" class=\"models-item__img lazy img-fluid rounding\"";
// line 145
if (((isset($context["listingStation"]) || array_key_exists("listingStation", $context) ? $context["listingStation"] : (function () { throw new RuntimeError('Variable "listingStation" does not exist.', 145, $this->source); })()) && !(isset($context["fakeStation"]) || array_key_exists("fakeStation", $context) ? $context["fakeStation"] : (function () { throw new RuntimeError('Variable "fakeStation" does not exist.', 145, $this->source); })()))) {
// line 146
echo "alt=\"";
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, 146)), "html", null, true);
echo " (";
echo 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, 146), "age", [], "any", false, false, false, 146), "html", null, true);
echo ")";
if (((isset($context["firstStation"]) || array_key_exists("firstStation", $context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.', 146, $this->source); })()) && !(null === (isset($context["firstStation"]) || array_key_exists("firstStation", $context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.', 146, $this->source); })())))) {
echo ", ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.', 146, $this->source); })()), "name", [], "any", false, false, false, 146)), "html", null, true);
}
echo "\"";
} else {
// line 148
echo "alt=\"";
echo twig_call_macro($macros["_self"], "macro__gen_alt", [$context["profile"], (isset($context["stationOutput"]) || array_key_exists("stationOutput", $context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.', 148, $this->source); })()), (isset($context["fakeStation"]) || array_key_exists("fakeStation", $context) ? $context["fakeStation"] : (function () { throw new RuntimeError('Variable "fakeStation" does not exist.', 148, $this->source); })()), (($context["station"]) ?? (false))], 148, $context, $this->getSourceContext());
echo "\"";
}
// line 150
echo "width=\"200\" height=\"280\">";
}
// line 152
if (twig_get_attribute($this->env, $this->source, $context["profile"], "isActive", [], "any", false, false, false, 152)) {
// line 153
if (twig_get_attribute($this->env, $this->source, $context["profile"], "isVip", [], "any", false, false, false, 153)) {
// line 154
echo "<div class=\"status-line\">
\t\t\t\t\t\t\t\t\t<svg class=\"status-line__icon\">
\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 156
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 "#status-gold-new\"></use>
\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t</div>";
} elseif (twig_get_attribute($this->env, $this->source, // line 159
$context["profile"], "isStandard", [], "any", false, false, false, 159)) {
// line 160
echo "<div class=\"status-line\">
\t\t\t\t\t\t\t\t\t<svg class=\"status-line__icon\">
\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 162
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 "#status-silver-new\"></use>
\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t</div>";
}
}
// line 167
echo "</div>
\t\t\t\t\t<div class=\"models-item__info d-flex flex-fill\">
\t\t\t\t\t\t<div class=\"models-item__info-link\">
\t\t\t\t\t\t\t<dl class=\"item-info\">
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Возраст</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
// line 174
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "personParameters", [], "any", false, false, false, 174), "age", [], "any", false, false, false, 174)) ? (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, 174), "age", [], "any", false, false, false, 174), "html", null, true))) : (print ("-")));
echo "</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Рост</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
// line 178
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "personParameters", [], "any", false, false, false, 178), "height", [], "any", false, false, false, 178)) ? (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, 178), "height", [], "any", false, false, false, 178), "html", null, true))) : (print ("-")));
echo "</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Вес</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
// line 182
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "personParameters", [], "any", false, false, false, 182), "weight", [], "any", false, false, false, 182)) ? (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, 182), "weight", [], "any", false, false, false, 182), "html", null, true))) : (print ("-")));
echo "</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Грудь</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
// line 186
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "personParameters", [], "any", false, false, false, 186), "breastSize", [], "any", false, false, false, 186)) ? (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, 186), "breastSize", [], "any", false, false, false, 186), "html", null, true))) : (print ("-")));
echo "</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</dl>";
// line 189
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, 189), "countryCode", [], "any", false, false, false, 189)), "html", null, true);
$context["currencyProfile"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 190
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, 190), "oneHourPrice", [], "any", false, false, false, 190), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "takeOutPricing", [], "any", false, false, false, 190), "oneHourPrice", [], "any", false, false, false, 190), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 190, $this->source); })())], 190, $context, $this->getSourceContext());
$context["minPriceHour"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 191
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, 191), "twoHoursPrice", [], "any", false, false, false, 191), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "takeOutPricing", [], "any", false, false, false, 191), "twoHoursPrice", [], "any", false, false, false, 191), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 191, $this->source); })())], 191, $context, $this->getSourceContext());
$context["minPriceTwo"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 192
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, 192), "nightPrice", [], "any", false, false, false, 192), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "takeOutPricing", [], "any", false, false, false, 192), "nightPrice", [], "any", false, false, false, 192), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile", $context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.', 192, $this->source); })())], 192, $context, $this->getSourceContext());
$context["minPriceNight"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 193
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, 193), "oneHourPrice", [], "any", false, false, false, 193), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "takeOutPricing", [], "any", false, false, false, 193), "twoHoursPrice", [], "any", false, false, false, 193), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["profile"], "takeOutPricing", [], "any", false, false, false, 193), "nightPrice", [], "any", false, false, false, 193)], 193, $context, $this->getSourceContext());
$context["hasOutPrice"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 194
echo "<dl class=\"item-info\">
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Час</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
// line 197
((((isset($context["minPriceHour"]) || array_key_exists("minPriceHour", $context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.', 197, $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.', 197, $this->source); })()), "html", null, true))) : (print ("-")));
echo "</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">2 часа</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
// line 201
((((isset($context["minPriceTwo"]) || array_key_exists("minPriceTwo", $context) ? $context["minPriceTwo"] : (function () { throw new RuntimeError('Variable "minPriceTwo" does not exist.', 201, $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.', 201, $this->source); })()), "html", null, true))) : (print ("-")));
echo "</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Ночь</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
// line 205
((((isset($context["minPriceNight"]) || array_key_exists("minPriceNight", $context) ? $context["minPriceNight"] : (function () { throw new RuntimeError('Variable "minPriceNight" does not exist.', 205, $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.', 205, $this->source); })()), "html", null, true))) : (print ("-")));
echo "</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Выезд</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">";
// line 209
echo ((((isset($context["hasOutPrice"]) || array_key_exists("hasOutPrice", $context) ? $context["hasOutPrice"] : (function () { throw new RuntimeError('Variable "hasOutPrice" does not exist.', 209, $this->source); })()) == "1")) ? ("Есть") : ("-"));
echo "</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</dl>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</a>
\t\t\t<div class=\"models-item__metro d-flex align-items-center\">";
// line 219
if ((isset($context["fakeStation"]) || array_key_exists("fakeStation", $context) ? $context["fakeStation"] : (function () { throw new RuntimeError('Variable "fakeStation" does not exist.', 219, $this->source); })())) {
// line 220
$this->loadTemplate("components/metro/icon_generate.partial.twig", "ProfileList/list.profiles.html.twig", 220)->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.', 220, $this->source); })()), "id", [], "any", false, false, false, 220))]));
// line 221
if ((isset($context["isStationPage"]) || array_key_exists("isStationPage", $context) ? $context["isStationPage"] : (function () { throw new RuntimeError('Variable "isStationPage" does not exist.', 221, $this->source); })())) {
// line 222
echo "<div class=\"models-item__metro-link\">";
// line 223
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.', 223, $this->source); })()), "name", [], "any", false, false, false, 223), "html", null, true);
// line 224
echo "</div>
\t\t\t\t\t";
} else {
// line 226
echo "\t\t\t\t\t\t<a class=\"models-item__metro-link\" href=\"";
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, 226), "uriIdentity", [], "any", false, false, false, 226), "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.', 226, $this->source); })()), "uriIdentity", [], "any", false, false, false, 226)]), "html", null, true);
echo "\" target=\"_blank\">";
// line 227
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.', 227, $this->source); })()), "name", [], "any", false, false, false, 227), "html", null, true);
// line 228
echo "</a>
\t\t\t\t\t";
}
} elseif (( // line 230
(isset($context["stationOutput"]) || array_key_exists("stationOutput", $context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.', 230, $this->source); })()) != "")) {
// line 231
$this->loadTemplate("components/metro/icon_generate.partial.twig", "ProfileList/list.profiles.html.twig", 231)->display(twig_array_merge($context, ["data" => $this->extensions['App\Twig\StationsExtension']->stationLines(twig_get_attribute($this->env, $this->source, (isset($context["stationOutput"]) || array_key_exists("stationOutput", $context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.', 231, $this->source); })()), "id", [], "any", false, false, false, 231))]));
// line 232
if ((isset($context["isStationPage"]) || array_key_exists("isStationPage", $context) ? $context["isStationPage"] : (function () { throw new RuntimeError('Variable "isStationPage" does not exist.', 232, $this->source); })())) {
// line 233
echo "<div class=\"models-item__metro-link\">";
// line 234
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["stationOutput"]) || array_key_exists("stationOutput", $context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.', 234, $this->source); })()), "name", [], "any", false, false, false, 234), "html", null, true);
// line 235
echo "</div>";
} else {
// line 237
echo "<a class=\"models-item__metro-link\" href=\"";
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, 237), "uriIdentity", [], "any", false, false, false, 237), "station" => twig_get_attribute($this->env, $this->source, (isset($context["stationOutput"]) || array_key_exists("stationOutput", $context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.', 237, $this->source); })()), "uriIdentity", [], "any", false, false, false, 237)]), "html", null, true);
echo "\" target=\"_blank\">";
// line 238
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["stationOutput"]) || array_key_exists("stationOutput", $context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.', 238, $this->source); })()), "name", [], "any", false, false, false, 238), "html", null, true);
// line 239
echo "</a>";
}
} else {
// line 242
echo "<div class=\"models-item__metro-link models-item__metro-link--empty\"></div>";
}
// line 244
echo "</div>";
// line 246
if ((twig_get_attribute($this->env, $this->source, $context["profile"], "isActive", [], "any", false, false, false, 246) || !twig_get_attribute($this->env, $this->source, $context["profile"], "isHidden", [], "any", false, false, false, 246))) {
// line 247
echo "<div class=\"models-item__phone rounding\">
\t\t\t\t\t<button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
\t\t\t\t\t\t<svg class=\"models-item__phone-icon\">
\t\t\t\t\t\t\t<use xlink:href=\"";
// line 250
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 "#phone\"></use>
\t\t\t\t\t\t</svg>Показать телефон</button>
\t\t\t\t\t<a href=\"tel:";
// line 252
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["profile"], "phoneNumber", [], "any", false, false, false, 252), [" " => "", "-" => ""]), "html", null, true);
echo "\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
\t\t\t\t\t\t<svg class=\"models-item__phone-icon\">
\t\t\t\t\t\t\t<use xlink:href=\"";
// line 254
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 "#phone\"></use>
\t\t\t\t\t\t</svg>";
// line 256
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["profile"], "phoneNumber", [], "any", false, false, false, 256), "html", null, true);
// line 257
echo "</a>
\t\t\t\t</div>";
}
// line 260
echo "</div>
\t</div>";
// line 263
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.', 263, $this->source); })()), "request", [], "any", false, false, false, 263), "method", [], "any", false, false, false, 263) == "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.', 263, $this->source); })()), "request", [], "any", false, false, false, 263), "isXmlHttpRequest", [], "method", false, false, false, 263))) {
// line 264
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.', 264, $this->source); })()));
}
++$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;
$__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
$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
$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
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 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);
} 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 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);
} else {
// line 11
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);
}
$__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 28
public function macro__gen_alt($__profile__ = null, $__stationOutput__ = null, $__fakeStation__ = null, $__station__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"profile" => $__profile__,
"stationOutput" => $__stationOutput__,
"fakeStation" => $__fakeStation__,
"station" => $__station__,
"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 29
$context["services"] = "Секс классический|Секс анальный|Секс групповой|Секс лесбийский|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Лесби откровенное|Лесби-шоу легкое|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь";
// line 30
$context["randomService1"] = twig_lower_filter($this->env, $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 30, $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.', 30, $this->source); })()), "id", [], "any", false, false, false, 30)));
// line 31
$context["randomService2"] = twig_lower_filter($this->env, $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 31, $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); })()), "id", [], "any", false, false, false, 31) + 752)));
// line 32
$context["_station"] = (((isset($context["fakeStation"]) || array_key_exists("fakeStation", $context) ? $context["fakeStation"] : (function () { throw new RuntimeError('Variable "fakeStation" does not exist.', 32, $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.', 32, $this->source); })()), "name", [], "any", false, false, false, 32) . ", ")) : ((((isset($context["stationOutput"]) || array_key_exists("stationOutput", $context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.', 32, $this->source); })())) ? ((twig_get_attribute($this->env, $this->source, (isset($context["stationOutput"]) || array_key_exists("stationOutput", $context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.', 32, $this->source); })()), "name", [], "any", false, false, false, 32) . ", ")) : (""))));
// line 33
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.', 33, $this->source); })()), "name", [], "any", false, false, false, 33) . " (") . 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.', 33, $this->source); })()), "personParameters", [], "any", false, false, false, 33), "age", [], "any", false, false, false, 33)) . "), ") . (isset($context["_station"]) || array_key_exists("_station", $context) ? $context["_station"] : (function () { throw new RuntimeError('Variable "_station" does not exist.', 33, $this->source); })())) . (isset($context["randomService1"]) || array_key_exists("randomService1", $context) ? $context["randomService1"] : (function () { throw new RuntimeError('Variable "randomService1" does not exist.', 33, $this->source); })())) . ", ") . (isset($context["randomService2"]) || array_key_exists("randomService2", $context) ? $context["randomService2"] : (function () { throw new RuntimeError('Variable "randomService2" does not exist.', 33, $this->source); })())) . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 33), "phone", [], "any", true, true, false, 33)) ? ((", тел. " . 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.', 33, $this->source); })()), "seo", [], "any", false, false, false, 33), "phone", [], "any", false, false, false, 33))) : (""))), "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 ( 707 => 33, 705 => 32, 703 => 31, 701 => 30, 699 => 29, 674 => 28, 655 => 24, 652 => 22, 650 => 21, 648 => 19, 646 => 18, 644 => 17, 642 => 16, 618 => 15, 597 => 11, 592 => 9, 590 => 8, 586 => 7, 584 => 6, 582 => 5, 580 => 4, 578 => 3, 576 => 2, 552 => 1, 526 => 264, 524 => 263, 521 => 260, 517 => 257, 515 => 256, 511 => 254, 506 => 252, 501 => 250, 496 => 247, 494 => 246, 492 => 244, 489 => 242, 485 => 239, 483 => 238, 479 => 237, 476 => 235, 474 => 234, 472 => 233, 470 => 232, 468 => 231, 466 => 230, 462 => 228, 460 => 227, 456 => 226, 452 => 224, 450 => 223, 448 => 222, 446 => 221, 444 => 220, 442 => 219, 430 => 209, 423 => 205, 416 => 201, 409 => 197, 404 => 194, 400 => 193, 396 => 192, 392 => 191, 388 => 190, 384 => 189, 379 => 186, 372 => 182, 365 => 178, 358 => 174, 349 => 167, 342 => 162, 338 => 160, 336 => 159, 331 => 156, 327 => 154, 325 => 153, 323 => 152, 320 => 150, 315 => 148, 303 => 146, 301 => 145, 295 => 144, 293 => 143, 291 => 142, 289 => 141, 282 => 135, 276 => 131, 272 => 129, 266 => 125, 262 => 123, 260 => 122, 254 => 118, 250 => 116, 244 => 112, 240 => 110, 238 => 109, 232 => 105, 228 => 103, 222 => 99, 218 => 97, 216 => 96, 213 => 94, 207 => 90, 203 => 88, 201 => 87, 198 => 85, 190 => 82, 184 => 80, 181 => 78, 178 => 77, 176 => 76, 173 => 75, 170 => 74, 168 => 73, 166 => 72, 163 => 71, 160 => 70, 154 => 69, 151 => 68, 148 => 67, 145 => 66, 140 => 65, 137 => 64, 135 => 63, 133 => 62, 130 => 61, 127 => 60, 125 => 59, 122 => 58, 119 => 57, 116 => 56, 113 => 55, 110 => 54, 107 => 53, 101 => 52, 98 => 51, 95 => 50, 92 => 49, 87 => 48, 84 => 47, 81 => 46, 78 => 44, 76 => 43, 73 => 42, 70 => 41, 68 => 40, 51 => 38, 49 => 37, 47 => 36,);
}
public function getSourceContext()
{
return new Source("{%- macro _get_min(price1, price2, currency) -%}
\t{%- set price1 = price1 is defined and price1 > 0 ? price1 : 999999999 -%}
\t{%- set price2 = price2 is defined and price2 > 0 ? price2 : 999999999 -%}
\t{%- if price1 == 999999999 and price2 == 999999999 -%}
\t\t-
\t{%- elseif price1 == 999999999 -%}
\t\t{{price2}} {{ currency }}
\t{%- elseif price2 == 999999999 -%}
\t\t{{price1}} {{ currency }}
\t{%- else -%}
\t\t{{ min([price1,price2]) }} {{ currency }}
\t{%- endif -%}
{%- endmacro -%}
{%- macro _check_out_price(price1, price2, price3) -%}
\t{%- set maxPrice = 999999999 %}
\t{%- set price1 = price1 is defined and price1 > 0 ? price1 : maxPrice -%}
\t{%- set price2 = price2 is defined and price2 > 0 ? price2 : maxPrice -%}
\t{%- set price3 = price3 is defined and price3 > 0 ? price3 : maxPrice -%}
\t{%- if price1 != maxPrice or price2 != maxPrice or price3 != maxPrice -%}
\t\t1
\t{%- else -%}
\t\t0
\t{%- endif -%}
{%- endmacro -%}
{%- macro _gen_alt(profile, stationOutput, fakeStation, station) -%}
\t{%- set services = \"Секс классический|Секс анальный|Секс групповой|Секс лесбийский|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Лесби откровенное|Лесби-шоу легкое|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь\" -%}
\t{%- set randomService1 = services|seo_morphing(profile.id)|lower -%}
\t{%- set randomService2 = services|seo_morphing(profile.id + 752)|lower -%}
\t{%- set _station = fakeStation ? station.name ~ \", \" : (stationOutput ? stationOutput.name ~ \", \" : '') -%}
\t{{- profile.name ~ ' (' ~ profile.personParameters.age ~ '), ' ~ (_station) ~ randomService1 ~ \", \" ~ randomService2 ~ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') -}}
{%- endmacro -%}
{% set fakeStation = fakeStationList is defined and fakeStationList and station is defined and station.uriIdentity %}
{% set isStationPage = isStationPage is defined ? isStationPage : false %}
{%- for profile in profiles -%}
{%- set profile = profile.profile is defined ? profile.profile : profile %}
{% set isSearchPage = form is defined %}
\t{% set stationFromForm = null %}
\t{# -------------------------- Если страница поиска -------------------------- #}
\t{% if isSearchPage %}
\t\t{% if form.station is defined and form.station.vars.value|length > 0 %}
\t\t\t{% for station in form.station.vars.value %}
\t\t\t\t{% if stationFromForm is null%}
\t\t\t\t\t{% set stationFromForm = profile.stations[station] is defined ? profile.stations[station] : null %}
\t\t\t\t{% endif %}
\t\t\t{% endfor %}
\t\t{% endif %}
\t\t{% set listingStation = stationFromForm %}
\t{% else %}
\t\t{% set listingStation = app.request.attributes.get('station') %}
\t{% endif %}
\t{% set haveStationInList = listingStation %}
\t{% set stationOutput = '' %}
\t{% set stationReallyExist = false %}
\t{# Проверяем что станция которую мы открыли есть в профиле анкеты #}
\t{% if haveStationInList and profile.stations|length > 0 %}
\t\t{% for station in profile.stations %}
\t\t\t{% if station.uriIdentity == listingStation.uriIdentity %}
\t\t\t\t{% set stationReallyExist = true %}
\t\t{% endif %}
\t\t{% endfor %}
\t{% endif %}
\t{% if haveStationInList and stationReallyExist %}
\t\t{# Если это список станций - выводим эту станцию сразу #}
\t\t{% set stationOutput = listingStation %}
\t{% else %}
\t\t{# Если это обычный список - выводим станции из профиля #}
\t\t{% set stationOutput = profile.stations|first %}
\t{% endif -%}
\t<div class=\"models-item-col\" data-profile-id=\"{{ profile.id }}\">
\t\t<div class=\"models-item rounding\">
\t\t\t<a class=\"models-item-link\" data-profile data-id=\"{{profile.id}}\" href=\"{{ path('profile_preview.page', {'city': profile.city.uriIdentity, 'profile': profile.uriIdentity}) }}\" target=\"_blank\">
\t\t\t\t<div class=\"models-item__header d-flex align-items-center justify-content-between\">
\t\t\t\t\t<div class=\"models-item__header-title mr-2 d-flex align-items-center\">
\t\t\t\t\t\t<span>{{ profile.name|trans }}</span>
\t\t\t\t\t\t{%- if ( profile.isApproved ) -%}
\t\t\t\t\t\t\t<div class=\"ml-2\" data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verify-new\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"item-status d-flex align-items-center justify-content-center\">
\t\t\t\t\t\t{%- if profile.comments is iterable ? (profile.comments|length > 0) : profile.comments -%}
\t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть комментарии\" data-theme=\"basic\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-comments-thumb\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-comments-thumb\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{%- if profile.selfies is iterable ? (profile.selfies|length > 0) : profile.selfies -%}
\t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть селфи\" data-theme=\"basic\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{%- if profile.videos is iterable ? (profile.videos|length > 0) : profile.videos -%}
\t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center active\" data-toggle=\"tooltip\" data-placement=\"top\" data-tippy-content=\"Есть видео\" data-theme=\"basic\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t<div class=\"item-status__el d-flex align-items-center\">
\t\t\t\t\t\t\t\t<svg class=\"icon\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"models-item__content d-flex\">
\t\t\t\t\t<div class=\"models-item__images d-block rounding\">
\t\t\t\t\t\t{%- set photo = profile|avatar -%}
\t\t\t\t\t\t{%- if photo -%}
\t\t\t\t\t\t\t{%- set firstStation = profile.stations|first -%}
\t\t\t\t\t\t\t<img {{ loop.index == 1 ? '' : 'data-' }}src=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\" class=\"models-item__img lazy img-fluid rounding\"
\t\t\t\t\t\t\t\t{%- if listingStation and not fakeStation -%}
\t\t\t\t\t\t\t\t\talt=\"{{ profile.name|trans }} ({{ profile.personParameters.age }}){% if firstStation and firstStation is not null %}, {{ firstStation.name|trans }}{%- endif -%}\"
\t\t\t\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t\t\t\talt=\"{{- _self._gen_alt(profile, stationOutput, fakeStation, station ?? false) -}}\"
\t\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t\t\twidth=\"200\" height=\"280\">
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{%- if profile.isActive -%}
\t\t\t\t\t\t\t{%- if profile.isVip -%}
\t\t\t\t\t\t\t\t<div class=\"status-line\">
\t\t\t\t\t\t\t\t\t<svg class=\"status-line__icon\">
\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#status-gold-new\"></use>
\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{%- elseif profile.isStandard -%}
\t\t\t\t\t\t\t\t<div class=\"status-line\">
\t\t\t\t\t\t\t\t\t<svg class=\"status-line__icon\">
\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#status-silver-new\"></use>
\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t\t{%- endif -%}
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"models-item__info d-flex flex-fill\">
\t\t\t\t\t\t<div class=\"models-item__info-link\">
\t\t\t\t\t\t\t<dl class=\"item-info\">
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Возраст</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- profile.personParameters.age ? profile.personParameters.age : '-' -}}</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Рост</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- profile.personParameters.height ? profile.personParameters.height : '-' -}}</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Вес</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- profile.personParameters.weight ? profile.personParameters.weight : '-' -}}</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Грудь</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- profile.personParameters.breastSize ? profile.personParameters.breastSize : '-' -}}</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</dl>
\t\t\t\t\t\t\t{%- set currencyProfile -%}{{ profile.city.countryCode|country_currency }}{%- endset -%}
\t\t\t\t\t\t\t{%- set minPriceHour -%}{{ _self._get_min(profile.apartmentsPricing.oneHourPrice,profile.takeOutPricing.oneHourPrice,currencyProfile) }}{%- endset -%}
\t\t\t\t\t\t\t{%- set minPriceTwo -%}{{ _self._get_min(profile.apartmentsPricing.twoHoursPrice,profile.takeOutPricing.twoHoursPrice,currencyProfile) }}{%- endset -%}
\t\t\t\t\t\t\t{%- set minPriceNight -%}{{ _self._get_min(profile.apartmentsPricing.nightPrice,profile.takeOutPricing.nightPrice,currencyProfile) }}{%- endset -%}
\t\t\t\t\t\t\t{%- set hasOutPrice -%}{{- _self._check_out_price(profile.takeOutPricing.oneHourPrice,profile.takeOutPricing.twoHoursPrice,profile.takeOutPricing.nightPrice) -}}{%- endset -%}
\t\t\t\t\t\t\t<dl class=\"item-info\">
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Час</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- minPriceHour != '-' ? minPriceHour : '-' -}}</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">2 часа</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- minPriceTwo != '-' ? minPriceTwo : '-' -}}</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Ночь</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- minPriceNight != '-' ? minPriceNight : '-' -}}</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"item-info__el d-flex align-items-center justify-content-between\">
\t\t\t\t\t\t\t\t\t<dt class=\"item-info__key\">Выезд</dt>
\t\t\t\t\t\t\t\t\t<dd class=\"item-info__value\">{{- hasOutPrice == '1' ? 'Есть' : '-' -}}</dd>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</dl>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</a>
\t\t\t<div class=\"models-item__metro d-flex align-items-center\">
\t\t\t\t{%- if fakeStation -%}
\t\t\t\t\t{%- include 'components/metro/icon_generate.partial.twig' with {data: station.id|station_lines} -%}
\t\t\t\t\t{%- if isStationPage -%}
\t\t\t\t\t\t<div class=\"models-item__metro-link\">
\t\t\t\t\t\t\t{{- station.name -}}
\t\t\t\t\t\t</div>
\t\t\t\t\t{% else %}
\t\t\t\t\t\t<a class=\"models-item__metro-link\" href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': station.uriIdentity}) }}\" target=\"_blank\">
\t\t\t\t\t\t\t{{- station.name -}}
\t\t\t\t\t\t</a>
\t\t\t\t\t{% endif %}
\t\t\t\t{%- elseif stationOutput != '' -%}
\t\t\t\t\t{%- include 'components/metro/icon_generate.partial.twig' with {data: stationOutput.id|station_lines} -%}
\t\t\t\t\t{%- if isStationPage -%}
\t\t\t\t\t\t<div class=\"models-item__metro-link\">
\t\t\t\t\t\t\t{{- stationOutput.name -}}
\t\t\t\t\t\t</div>
\t\t\t\t\t{%- else -%}
\t\t\t\t\t\t<a class=\"models-item__metro-link\" href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': stationOutput.uriIdentity}) }}\" target=\"_blank\">
\t\t\t\t\t\t\t{{- stationOutput.name -}}
\t\t\t\t\t\t</a>
\t\t\t\t\t{%- endif -%}
\t\t\t\t{%- else -%}
\t\t\t\t\t<div class=\"models-item__metro-link models-item__metro-link--empty\"></div>
\t\t\t\t{%- endif -%}
\t\t\t</div>
\t\t\t{%- if profile.isActive or not profile.isHidden -%}
\t\t\t\t<div class=\"models-item__phone rounding\">
\t\t\t\t\t<button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
\t\t\t\t\t\t<svg class=\"models-item__phone-icon\">
\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
\t\t\t\t\t\t</svg>Показать телефон</button>
\t\t\t\t\t<a href=\"tel:{{ profile.phoneNumber|replace({' ':'', '-':''}) }}\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
\t\t\t\t\t\t<svg class=\"models-item__phone-icon\">
\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
\t\t\t\t\t\t</svg>
\t\t\t\t\t\t{{- profile.phoneNumber -}}
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t{%- endif -%}
\t\t</div>
\t</div>
\t{%- if app.request.method == 'GET' and app.request.isXmlHttpRequest() -%}
\t\t{{- porpaginas_render(profiles) -}}
\t{% endif %}
{%- endfor -%}
", "ProfileList/list.profiles.html.twig", "/app/templates/ProfileList/list.profiles.html.twig");
}
}