<?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.html.twig */
class __TwigTemplate_09c006177d0309b7aaecc091c4a4831a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'preloadAnyData' => [$this, 'block_preloadAnyData'],
'metaSpecial' => [$this, 'block_metaSpecial'],
'mainContainer' => [$this, 'block_mainContainer'],
'mainList' => [$this, 'block_mainList'],
'showMore' => [$this, 'block_showMore'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "ProfileList/grid.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/list.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.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.html.twig"));
// line 4
$context["linkLangSupport"] = (((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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "locale", [], "any", false, false, false, 4) == "en")) ? ("/en") : (""));
// line 5
$context["excludeRecommendationProfileIds"] = [];
// line 1
$this->parent = $this->loadTemplate("ProfileList/grid.html.twig", "ProfileList/list.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 9
public function block_preloadAnyData($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preloadAnyData"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preloadAnyData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preloadAnyData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 23
public function block_metaSpecial($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaSpecial"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaSpecial"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaSpecial"));
// line 24
if (((isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 24, $this->source); })()) && (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.', 24, $this->source); })()), "currentPage", [], "any", false, false, false, 24) >= 2))) {
// line 25
echo "<meta name=\"yandex\" content=\"noindex, nofollow\" />";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 29
public function block_mainContainer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
// line 30
$context["isMainCity"] = (twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 30, $this->source); })()), "uriIdentity", [], "any", false, false, false, 30) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "uriIdentity", [], "any", false, false, false, 30));
// line 32
$context["conditionList"] = ["usluga-massage-professionalnyij", "usluga-massage-rasslablyayuschij", "usluga-massage-tajskij", "usluga-massage-urologicheskij", "/new/", "/search/", "/checked/", "/salons/", "/usluga-striptiz-ne-profi/", "/usluga-striptiz-profi/", "/price/high/", "/usluga-seks-analnyij/", "/hair-color-blonde/", "/hair-color-brunette/", "/price/low/", "/video/", "/comments/", "/map/", "/usluga-massage-klassicheskij/", "/nationality-asian/", "/usluga-anilingus-delayu/", "/usluga-gospozha/", "/selfie/", "/massagers/", "/usluga-massage-vetka-sakuryi/", "/okrug/vostochnyj-vao/", "/okrug/zapadnyj-zao/", "/okrug/severnyj-sao/", "/okrug/severo-zapadnyj-szao/", "/okrug/tsentralnyij/", "/okrug/yugo-vostochnyj-yuvao/", "/usluga-minet-bez-rezinki/", "/usluga-minet-v-mashine/", "/usluga-minet-v-prezervative/", "/usluga-minet-glubokij/", "/nationality-negress/", "/main-district/", "/hair-color-light-brown/", "/hair-color-red/", "/usluga-seks-gruppovoj/", "/usluga-strapon/", "/usluga-uslugi-semejnoj-pare/", "/usluga-fisting-analnyij/", "/usluga-fisting-klassicheskij/", "/hair-color-brown/", "/nationality-kazakh/", "/nationality-mulatto/", "/nationality-russian/", "/nationality-tatar/", "/nationality-ukrainian/", "/okrug/yugo-zapadnyj-yuzao/", "/okrug/zelenograd/", "/body-type-athletic/", "/body-type-fat/", "/usluga-seks-klassicheskij/", "/usluga-rolevyie-igryi/", "/usluga-eskort/", "/usluga-trampling/", "/usluga-fetish/", "/usluga-bondaj/", "/usluga-rabyinya/", "/usluga-porka/", "/body-type-thin/", "/body-type-slim/", "/body-type-tight/", "/usluga-okonchanie-na-grud/", "/usluga-okonchanie-na-litso/", "/usluga-kopro-vyidacha/", "/usluga-okonchanie-v-rot/", "/usluga-kunnilingus/", "/usluga-massage-eroticheskij/", "/usluga-massage-tochechnyij/", "/usluga-igrushki/", "/usluga-zolot-dozhd-vyidacha/", "/usluga-zolotoj-dozhd-priem/", "/usluga-legkaya-dominatsiya/", "/metro-", "/prostitytki-"];
// line 114
$context["onlyThisPageSeoShow"] = false;
// line 115
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["conditionList"]) || array_key_exists("conditionList", $context) ? $context["conditionList"] : (function () { throw new RuntimeError('Variable "conditionList" does not exist.', 115, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["str"]) {
// line 116
if (twig_in_filter($context["str"], 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.', 116, $this->source); })()), "request", [], "any", false, false, false, 116), "pathInfo", [], "any", false, false, false, 116))) {
// line 117
$context["onlyThisPageSeoShow"] = true;
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['str'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 121
$context["route"] = 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.', 121, $this->source); })()), "request", [], "any", false, false, false, 121), "attributes", [], "any", false, false, false, 121), "get", ["_route"], "method", false, false, false, 121);
// line 122
$context["isIndexPage"] = (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.', 122, $this->source); })()), "request", [], "any", false, false, false, 122), "pathInfo", [], "any", false, false, false, 122) == "/");
// line 123
$context["firstPage"] = (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.', 123, $this->source); })()), "currentPage", [], "any", false, false, false, 123) == 1);
// line 124
$context["isStationPage"] = ((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 124, $this->source); })()) == "profile_list.list_by_station");
// line 126
$context["mainListingFirstPage"] = ((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 126, $this->source); })()) == "profile_list.list_by_city");
// line 127
echo "
\t";
// line 130
$context["isShowTopSeo"] = true;
// line 131
$context["isShowTopOnBottomSeo"] = true;
// line 132
$context["isShowBottomSeo"] = true;
// line 134
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "__design/v2023/_menu/breadcrumbs.html.twig"]);
// line 136
echo "<div class=\"heading d-flex\">
\t\t<h1 class=\"heading-title text-title mr-1\" role=\"heading\">";
// line 137
echo (($this->extensions['App\Twig\SeoExtension']->pageHeading()) ? ($this->extensions['App\Twig\SeoExtension']->pageHeading()) : ("Проститутки и индивидуалки Москвы"));
echo "</h1>
\t\t<span class=\"heading-count clr-main-text fw-700\" data-count-profiles>";
// line 138
echo twig_escape_filter($this->env, 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.', 138, $this->source); })()), "totalCount", [], "any", false, false, false, 138), "html", null, true);
echo "</span>
\t</div>
\t";
// line 154
$context["isArchivePage"] = twig_in_filter("profile_list.list_archived", 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.', 154, $this->source); })()), "request", [], "any", false, false, false, 154), "attributes", [], "any", false, false, false, 154), "get", ["_route"], "method", false, false, false, 154));
// line 155
$context["isFormExist"] = false;
// line 156
if ((isset($context["isFormExist"]) || array_key_exists("isFormExist", $context) ? $context["isFormExist"] : (function () { throw new RuntimeError('Variable "isFormExist" does not exist.', 156, $this->source); })())) {
// line 157
echo "<noindex>
\t\t\t<button class=\"filter_hide_button\" type=\"button\" id=\"filter_hide_button\">
\t\t\t\t<svg class=\"filter_hide_button__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M6.96 6h10l-5 6.3-5-6.3Zm-2.75-.39L9.96 13v6a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-6l5.74-7.39A1 1 0 0 0 18.91 4H5.01a1 1 0 0 0-.8 1.61Z\" /></svg>
\t\t\t\t<span class=\"filter_hide_button__text\" data-filter-hide-text-show>Показать фильтры</span>
\t\t\t\t<svg class=\"filter_hide_button__rotate\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.45 9.87a.84.84 0 0 1 1.24 0l3.3 3.5 3.32-3.5a.84.84 0 0 1 1.23 0c.34.36.34.95 0 1.3l-3.92 4.16a.84.84 0 0 1-1.24 0l-3.93-4.15a.96.96 0 0 1 0-1.31Z\" /></svg>
\t\t\t</button>
\t\t\t<div class=\"filter_hide_block\" id=\"filter_hide_block\">
\t\t\t\t";
// line 165
echo "\t\t\t\t";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["profile_filter_form"]) || array_key_exists("profile_filter_form", $context) ? $context["profile_filter_form"] : (function () { throw new RuntimeError('Variable "profile_filter_form" does not exist.', 165, $this->source); })()), 'form_start', ["attr" => ["id" => "filter-form", "class" => "filter_form", "data-process-url" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_ctr.increase_shows"), "data-main-class" => "profile_filter"]]);
// line 172
echo "
\t\t\t\t\t";
// line 173
echo twig_include($this->env, $context, "ProfileList/filter/form.partial.twig", ["filterData" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile_filter_form"]) || array_key_exists("profile_filter_form", $context) ? $context["profile_filter_form"] : (function () { throw new RuntimeError('Variable "profile_filter_form" does not exist.', 173, $this->source); })()), "vars", [], "any", false, false, false, 173), "value", [], "any", false, false, false, 173), "filterListId" => "filter-list"]);
echo "
\t\t\t\t";
// line 174
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["profile_filter_form"]) || array_key_exists("profile_filter_form", $context) ? $context["profile_filter_form"] : (function () { throw new RuntimeError('Variable "profile_filter_form" does not exist.', 174, $this->source); })()), 'form_end');
echo "
\t\t\t</div>
\t\t\t<div class=\"profile_filter__tags__container profile_filter__tags__container--mobile fade_slider__container\">
\t\t\t\t<div class=\"profile_filter__tags d-none fade_slider d-none\" id=\"filter_tags\"></div>
\t\t\t</div>
\t\t\t<div class=\"profile_filter__line\" id=\"filter_line\" style=\"display: none\">
\t\t\t\t<div class=\"profile_filter__line__title\">Найдено <span class=\"profile_filter__line__title__count\">";
// line 182
echo twig_escape_filter($this->env, 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.', 182, $this->source); })()), "totalCount", [], "any", false, false, false, 182), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ToolsExtension']->inclineNumeral(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.', 182, $this->source); })()), "totalCount", [], "any", false, false, false, 182), ["анкета", "анкеты", "анкет"]), "html", null, true);
echo "</span></div>
\t\t\t\t<button class=\"profile_filter__line__reset\" type=\"button\" id=\"filter_line_reset\">
\t\t\t\t\tСбросить фильтры
\t\t\t\t\t<svg class=\"profile_filter__line__reset_icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\" fill=\"#ED0C34\"/></svg>
\t\t\t\t</button>
\t\t\t</div>
\t\t</noindex>
\t";
}
// line 190
echo "
\t";
// line 191
$this->displayBlock('mainList', $context, $blocks);
// line 199
echo "
\t";
// line 200
if (((isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 200, $this->source); })()) && (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.', 200, $this->source); })()), "totalCount", [], "any", false, false, false, 200) > (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.', 200, $this->source); })()), "currentPage", [], "any", false, false, false, 200) * 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.', 200, $this->source); })()), "currentLimit", [], "any", false, false, false, 200))))) {
// line 201
echo "\t\t";
$this->displayBlock('showMore', $context, $blocks);
// line 204
echo "\t";
}
// line 205
echo "
\t";
// line 206
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.', 206, $this->source); })()));
echo "
\t<div class=\"map-block mb-4 full-w-xs\">
\t\t<picture class=\"map-picture\">
\t\t\t<source srcset=\"";
// line 210
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/map@480.jpg"), "html", null, true);
echo "\" media=\"(max-width: 480px)\">
\t\t\t<source srcset=\"";
// line 211
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/map@930.jpg"), "html", null, true);
echo "\" media=\"(max-width: 960px)\">
\t\t\t<img class=\"map-image\" src=\"";
// line 212
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/map@1380.jpg"), "html", null, true);
echo "\" alt=\"Интим-карта Москвы\" loading=\"lazy\">
\t\t</picture>
\t\t<div class=\"map-block-content d-flex-c\">
\t\t\t<div class=\"map-block-title fw-700 mb-2\">Интим-карта ";
// line 215
echo twig_escape_filter($this->env, $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection(twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 215, $this->source); })()), "name", [], "any", false, false, false, 215), "genitive"), "html", null, true);
echo "</div>
\t\t\t<div class=\"map-block-text\">Поиск анкет рядом с Вами</div>
\t\t\t<a class=\"map-block-link btn btn-main\" href=\"";
// line 217
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("map.page", ["city" => twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 217, $this->source); })()), "uriIdentity", [], "any", false, false, false, 217)]), "html", null, true);
echo "\">
\t\t\t\t<svg class=\"btn-icon\" width=\"25\" height=\"25\" fill=\"none\"><path fill-rule=\"evenodd\" d=\"M4.674 8.944c0-4.314 3.512-7.826 7.826-7.826s7.826 3.512 7.826 7.826c0 5.448-6.809 13.049-7.102 13.372l-.724.802-.724-.802c-.293-.323-7.102-7.924-7.102-13.372Zm1.957 0c0 3.462 3.736 8.667 5.869 11.22 1.712-2.064 5.87-7.474 5.87-11.22a5.874 5.874 0 0 0-5.87-5.87 5.874 5.874 0 0 0-5.87 5.87Zm5.869 0c.812 0 1.467-.656 1.467-1.468 0-.812-.655-1.467-1.467-1.467s-1.467.665-1.467 1.467c0 .812.655 1.468 1.467 1.468Zm-2.935 2.445c0-.978 1.957-1.467 2.935-1.467s2.935.489 2.935 1.467v.118a3.88 3.88 0 0 1-2.935 1.35 3.88 3.88 0 0 1-2.935-1.35v-.118Z\" clip-rule=\"evenodd\"/></svg>
\t\t\t\t<span class=\"btn-text\">Искать на карте</span>
\t\t\t</a>
\t\t</div>
\t</div>
\t";
// line 225
echo "\t";
if (((isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 225, $this->source); })()) && (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.', 225, $this->source); })()), "currentPage", [], "any", false, false, false, 225) >= 2))) {
// line 226
echo "\t\t<div id=\"recommendations\">";
// line 227
$context["excludeRecommendationProfileIds"] = twig_join_filter(twig_array_map($this->env, (isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 227, $this->source); })()), function ($__p__) use ($context, $macros) { $context["p"] = $__p__; return twig_get_attribute($this->env, $this->source, (isset($context["p"]) || array_key_exists("p", $context) ? $context["p"] : (function () { throw new RuntimeError('Variable "p" does not exist.', 227, $this->source); })()), "id", [], "any", false, false, false, 227); }), ", ");
// line 228
$this->loadTemplate("recommendations/_profile_recommendations.html.twig", "ProfileList/list.html.twig", 228)->display(twig_array_merge($context, ["componentClass" => "mobile"]));
// line 229
echo "</div>
\t";
}
// line 231
echo "
\t";
// line 233
if ((((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 233, $this->source); })()) == "homepage") || ( // line 234
(isset($context["mainListingFirstPage"]) || array_key_exists("mainListingFirstPage", $context) ? $context["mainListingFirstPage"] : (function () { throw new RuntimeError('Variable "mainListingFirstPage" does not exist.', 234, $this->source); })()) && (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.', 234, $this->source); })()), "request", [], "any", false, false, false, 234), "get", ["city"], "method", false, false, false, 234), "id", [], "any", false, false, false, 234) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any", false, false, false, 234))))) {
// line 236
echo "\t\t<div class=\"widget-profiles-by-categories\" id=\"widget_profiles_by_categories\"></div>
\t\t<script>
\t\t\tdocument.addEventListener('DOMContentLoaded', () => {
\t\t\t\tconst widgetElement = document.querySelector('#widget_profiles_by_categories');
\t\t\t\tfunction getProfiles() {
\t\t\t\t\tfetch('";
// line 242
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_widget.by_categories", ["city" => twig_get_attribute($this->env, $this->source, 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.', 242, $this->source); })()), "request", [], "any", false, false, false, 242), "attributes", [], "any", false, false, false, 242), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 242), "uriIdentity", [], "any", false, false, false, 242)]), "html", null, true);
echo "', {
\t\t\t\t\t\tmethod: 'GET',
\t\t\t\t\t\theaders: {
\t\t\t\t\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"
\t\t\t\t\t\t},
\t\t\t\t\t}).then(response => {
\t\t\t\t\t\tif (response.status < 300) {
\t\t\t\t\t\t\treturn response.text();
\t\t\t\t\t\t} else {
\t\t\t\t\t\t\tconsole.warn(\" \");
\t\t\t\t\t\t\treturn null;
\t\t\t\t\t\t}
\t\t\t\t\t}).then(response => {
\t\t\t\t\t\twidgetElement.innerHTML = response;
\t\t\t\t\t\tconst elementsRoot = [...document.querySelectorAll('#profile-list-new', '#profile-list-approved', '#profile-list-elite')];
\t\t\t\t\t\telementsRoot.forEach(root => {
\t\t\t\t\t\t\tif (root.childElementCount === 0) {
\t\t\t\t\t\t\t\troot.previousElementSibling.remove();
\t\t\t\t\t\t\t\troot.remove();
\t\t\t\t\t\t\t}
\t\t\t\t\t\t});
\t\t\t\t\t});
\t\t\t\t}
\t\t\t\tif ('IntersectionObserver' in window) {
\t\t\t\t\tconst observer = new IntersectionObserver((entries) => {
\t\t\t\t\t\tif (entries[0].isIntersecting) {
\t\t\t\t\t\t\tobserver.disconnect();
\t\t\t\t\t\t\tgetProfiles();
\t\t\t\t\t\t}
\t\t\t\t\t}, { rootMargin: '100px' });
\t\t\t\t\tobserver.observe(widgetElement);
\t\t\t\t} else {
\t\t\t\t\tgetProfiles();
\t\t\t\t}
\t\t\t});
\t\t</script>
\t";
}
// line 281
echo "
\t";
// line 312
echo "
\t";
// line 314
echo "
\t";
// line 316
echo " ";
// line 318
if ((isset($context["isShowTopOnBottomSeo"]) || array_key_exists("isShowTopOnBottomSeo", $context) ? $context["isShowTopOnBottomSeo"] : (function () { throw new RuntimeError('Variable "isShowTopOnBottomSeo" does not exist.', 318, $this->source); })())) {
// line 319
echo twig_include($this->env, $context, "__design/v2023/components/seo-article.html.twig", ["type" => "top", "noindex" => true]);
}
// line 321
if ((isset($context["isShowBottomSeo"]) || array_key_exists("isShowBottomSeo", $context) ? $context["isShowBottomSeo"] : (function () { throw new RuntimeError('Variable "isShowBottomSeo" does not exist.', 321, $this->source); })())) {
// line 322
echo twig_include($this->env, $context, "__design/v2023/components/seo-article.html.twig", ["type" => "bottom", "noindex" => true]);
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 191
public function block_mainList($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainList"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainList"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainList"));
// line 192
echo "\t\t<ul class=\"profile-list d-grid mb-4 full-w-xs\" id=\"profile-list\">
\t";
// line 193
$this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 193)->display(twig_array_merge($context, ["top_profile" => $this->extensions['App\Twig\PaidPlacementsExtension']->currentTopPlacement(), "likeButton" => ($this->extensions['App\Twig\UserExtension']->isUserCustomer(twig_get_attribute($this->env, $this->source, // line 195
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 195, $this->source); })()), "user", [], "any", false, false, false, 195)) == "1")]));
// line 197
echo "\t\t</ul>
\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 201
public function block_showMore($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "showMore"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "showMore"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "showMore"));
// line 202
echo "\t\t\t";
$this->loadTemplate("ProfileList/_show_more.profiles.html.twig", "ProfileList/list.html.twig", 202)->display($context);
// line 203
echo "\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 327
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 328
echo "\t";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
\t<script>
\t\tconst listingRoute = '";
// line 330
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 330, $this->source); })()), "request", [], "any", false, false, false, 330), "attributes", [], "any", false, false, false, 330), "get", ["_route"], "method", false, false, false, 330), "html", null, true);
echo "' == '' ? 'profile_list.list_by_city' : '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 330, $this->source); })()), "request", [], "any", false, false, false, 330), "attributes", [], "any", false, false, false, 330), "get", ["_route"], "method", false, false, false, 330), "html", null, true);
echo "';
window._lD = {
setLastViewedListing: listingRoute,
cityUrl: \"";
// line 333
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 333, $this->source); })()), "uriIdentity", [], "any", false, false, false, 333), "html", null, true);
echo "\",
};
\t\twindow.siteData = {
\t\t\tcity: \"";
// line 336
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 336, $this->source); })()), "request", [], "any", false, false, false, 336), "attributes", [], "any", false, false, false, 336), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 336), "uriIdentity", [], "any", false, false, false, 336), "html", null, true);
echo "\",
\t\t\tstations: {";
// line 338
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 339
echo "\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["station"], "name", [], "any", false, false, false, 339)), "html", null, true);
echo "\": \"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_station", ["city" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["station"], "city", [], "any", false, false, false, 339), "uriIdentity", [], "any", false, false, false, 339), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 339)]), "html", null, true);
echo "\"";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 339)) {
echo ",";
}
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 341
echo "}
\t\t};
\t\t";
// line 353
echo "
\t\tdocument.addEventListener('header:update', (event) => {
\t\t\tconst userData = event.detail?.data;
\t\t\tif (userData.user && userData.role === 'advertiser') return;
\t\t\t";
// line 358
$this->loadTemplate("ProfileList/_favorite-button.partial.script.js", "ProfileList/list.html.twig", 358)->display($context);
// line 359
echo "\t\t})
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "ProfileList/list.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 551 => 359, 549 => 358, 542 => 353, 537 => 341, 516 => 339, 499 => 338, 495 => 336, 489 => 333, 481 => 330, 475 => 328, 462 => 327, 449 => 203, 446 => 202, 433 => 201, 419 => 197, 417 => 195, 416 => 193, 413 => 192, 400 => 191, 386 => 322, 384 => 321, 381 => 319, 379 => 318, 377 => 316, 374 => 314, 371 => 312, 367 => 281, 325 => 242, 317 => 236, 315 => 234, 314 => 233, 310 => 231, 306 => 229, 304 => 228, 302 => 227, 300 => 226, 297 => 225, 287 => 217, 282 => 215, 276 => 212, 272 => 211, 268 => 210, 261 => 206, 258 => 205, 255 => 204, 252 => 201, 250 => 200, 247 => 199, 245 => 191, 242 => 190, 229 => 182, 218 => 174, 214 => 173, 211 => 172, 208 => 165, 199 => 157, 197 => 156, 195 => 155, 193 => 154, 187 => 138, 183 => 137, 180 => 136, 178 => 134, 176 => 132, 174 => 131, 172 => 130, 169 => 127, 167 => 126, 165 => 124, 163 => 123, 161 => 122, 159 => 121, 152 => 117, 150 => 116, 146 => 115, 144 => 114, 142 => 32, 140 => 30, 127 => 29, 113 => 25, 111 => 24, 98 => 23, 74 => 9, 60 => 1, 58 => 5, 56 => 4, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'ProfileList/grid.html.twig' %}
{# {% extends 'grid.html.twig' %} #}
{%- set linkLangSupport = app.request.locale == 'en' ? '/en' : '' -%}
{%- set excludeRecommendationProfileIds = [] -%}
{# {%- block stylesheet_postload -%}{{ encore_entry_link_tags(\"styles/public-girl-list\") }}{{ parent() }}{%- endblock -%} #}
{%- block preloadAnyData -%}
\t{# {%- set photo = profiles|first|avatar -%}
\t{%- if photo -%}
\t\t<link rel=\"preload\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\" as=\"image\">
\t\t<link rel=\"preload\" as=\"image\"
\t\t\thref=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\"
\t\t\timagesrcset=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }} 200w,
\t\t\t\t\t\t{{ responsive_asset(photo.path, 'profile_media', \"185x259\", \"jpg\") }} 185w\"
\t\t\timagesizes=\"(max-width: 1740px) 185px, 200px\"
\t\t\tmedia=\"(min-width: 1740px)\" />
\t{%- endif -%} #}
{%- endblock -%}
{%- block metaSpecial -%}
\t{%- if profiles and profiles.currentPage >= 2 -%}
\t\t<meta name=\"yandex\" content=\"noindex, nofollow\" />
\t{%- endif -%}
{%- endblock -%}
{%- block mainContainer -%}
\t{%- set isMainCity = city.uriIdentity == default_city().uriIdentity -%}
\t{%- set conditionList = [
\t\t'usluga-massage-professionalnyij',
\t\t'usluga-massage-rasslablyayuschij',
\t\t'usluga-massage-tajskij',
\t\t'usluga-massage-urologicheskij',
\t\t'/new/',
\t\t'/search/',
\t\t'/checked/',
\t\t'/salons/',
\t\t'/usluga-striptiz-ne-profi/',
\t\t'/usluga-striptiz-profi/',
\t\t'/price/high/',
\t\t'/usluga-seks-analnyij/',
\t\t'/hair-color-blonde/',
\t\t'/hair-color-brunette/',
\t\t'/price/low/',
\t\t'/video/',
\t\t'/comments/',
\t\t'/map/',
\t\t'/usluga-massage-klassicheskij/',
\t\t'/nationality-asian/',
\t\t'/usluga-anilingus-delayu/',
\t\t'/usluga-gospozha/',
\t\t'/selfie/',
\t\t'/massagers/',
\t\t'/usluga-massage-vetka-sakuryi/',
\t\t'/okrug/vostochnyj-vao/',
\t\t'/okrug/zapadnyj-zao/',
\t\t'/okrug/severnyj-sao/',
\t\t'/okrug/severo-zapadnyj-szao/',
\t\t'/okrug/tsentralnyij/',
\t\t'/okrug/yugo-vostochnyj-yuvao/',
\t\t'/usluga-minet-bez-rezinki/',
\t\t'/usluga-minet-v-mashine/',
\t\t'/usluga-minet-v-prezervative/',
\t\t'/usluga-minet-glubokij/',
\t\t'/nationality-negress/',
\t\t'/main-district/',
\t\t'/hair-color-light-brown/',
\t\t'/hair-color-red/',
\t\t'/usluga-seks-gruppovoj/',
\t\t'/usluga-strapon/',
\t\t'/usluga-uslugi-semejnoj-pare/',
\t\t'/usluga-fisting-analnyij/',
\t\t'/usluga-fisting-klassicheskij/',
\t\t'/hair-color-brown/',
\t\t'/nationality-kazakh/',
\t\t'/nationality-mulatto/',
\t\t'/nationality-russian/',
\t\t'/nationality-tatar/',
\t\t'/nationality-ukrainian/',
\t\t'/okrug/yugo-zapadnyj-yuzao/',
\t\t'/okrug/zelenograd/',
\t\t'/body-type-athletic/',
\t\t'/body-type-fat/',
\t\t'/usluga-seks-klassicheskij/',
\t\t'/usluga-rolevyie-igryi/',
\t\t'/usluga-eskort/',
\t\t'/usluga-trampling/',
\t\t'/usluga-fetish/',
\t\t'/usluga-bondaj/',
\t\t'/usluga-rabyinya/',
\t\t'/usluga-porka/',
\t\t'/body-type-thin/',
\t\t'/body-type-slim/',
\t\t'/body-type-tight/',
\t\t'/usluga-okonchanie-na-grud/',
\t\t'/usluga-okonchanie-na-litso/',
\t\t'/usluga-kopro-vyidacha/',
\t\t'/usluga-okonchanie-v-rot/',
\t\t'/usluga-kunnilingus/',
\t\t'/usluga-massage-eroticheskij/',
\t\t'/usluga-massage-tochechnyij/',
\t\t'/usluga-igrushki/',
\t\t'/usluga-zolot-dozhd-vyidacha/',
\t\t'/usluga-zolotoj-dozhd-priem/',
\t\t'/usluga-legkaya-dominatsiya/',
\t\t'/metro-',
\t\t'/prostitytki-'
\t\t]
\t%}
\t{%- set onlyThisPageSeoShow = false -%}
\t{%- for str in conditionList -%}
\t\t{%- if str in app.request.pathInfo -%}
\t\t\t{%- set onlyThisPageSeoShow = true -%}
\t\t{%- endif -%}
\t{%- endfor -%}
\t{% set route = app.request.attributes.get('_route') %}
\t{%- set isIndexPage = app.request.pathInfo == '/' -%}
\t{%- set firstPage = profiles.currentPage == 1 -%}
\t{%- set isStationPage = route == \"profile_list.list_by_station\" -%}
\t{% set mainListingFirstPage = route == 'profile_list.list_by_city' %}
\t{# {%- set isShowTopSeo = (firstPage and isMainCity and onlyThisPageSeoShow) or isIndexPage -%}
\t{%- set isShowBottomSeo = (firstPage and isMainCity and onlyThisPageSeoShow ) or isIndexPage -%} #}
\t{%- set isShowTopSeo = true -%}
\t{%- set isShowTopOnBottomSeo = true -%}
\t{%- set isShowBottomSeo = true -%}
\t{{- knp_menu_render('breadcrumbs', {'template': '__design/v2023/_menu/breadcrumbs.html.twig'}) -}}
\t<div class=\"heading d-flex\">
\t\t<h1 class=\"heading-title text-title mr-1\" role=\"heading\">{{- seo_heading() ? seo_heading() : 'Проститутки и индивидуалки Москвы' -}}</h1>
\t\t<span class=\"heading-count clr-main-text fw-700\" data-count-profiles>{{ profiles.totalCount }}</span>
\t</div>
\t{# <div aria-hidden=\"true\" class=\"no-display\" style=\"display: none;\">
\t\t<svg xmlns=\"http://www.w3.org/2000/svg\">
\t\t\t<symbol id=\"close\" viewBox=\"0 0 25 24\">
\t\t\t\t<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M19.46 6.7a1 1 0 0 0-1.42-1.4l-5.29 5.29-5.3-5.3a1 1 0 0 0-1.4 1.42L11.33 12l-5.3 5.3a1 1 0 1 0 1.42 1.4l5.29-5.29 5.3 5.3a1 1 0 0 0 1.4-1.42L14.17 12l5.3-5.3Z\" fill=\"#A3A3A3\"/>
\t\t\t</symbol>
\t\t\t<symbol id=\"expand\" viewBox=\"0 0 25 24\">
\t\t\t\t<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.54 8.3a1 1 0 0 1 1.42 0l5.29 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z\" fill=\"#A3A3A3\"/>
\t\t\t</symbol>
\t\t\t<symbol id=\"range\" viewBox=\"0 0 25 24\">
\t\t\t\t<path d=\"M21.5 11h-1.18a2.98 2.98 0 0 0-5.64 0h-4.36a2.98 2.98 0 0 0-5.64 0H3.5a1 1 0 1 0 0 2h1.18a2.98 2.98 0 0 0 5.64 0h4.36a2.98 2.98 0 0 0 5.64 0h1.18a1 1 0 0 0 0-2Zm-14 2a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm10 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>
\t\t\t</symbol>
\t\t</svg>
\t</div> #}
\t{%- set isArchivePage = 'profile_list.list_archived' in app.request.attributes.get('_route') -%}
\t{%- set isFormExist = false -%}{# profile_filter_form is defined and not isArchivePage #}
\t{%- if isFormExist -%}
\t\t<noindex>
\t\t\t<button class=\"filter_hide_button\" type=\"button\" id=\"filter_hide_button\">
\t\t\t\t<svg class=\"filter_hide_button__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M6.96 6h10l-5 6.3-5-6.3Zm-2.75-.39L9.96 13v6a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-6l5.74-7.39A1 1 0 0 0 18.91 4H5.01a1 1 0 0 0-.8 1.61Z\" /></svg>
\t\t\t\t<span class=\"filter_hide_button__text\" data-filter-hide-text-show>Показать фильтры</span>
\t\t\t\t<svg class=\"filter_hide_button__rotate\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.45 9.87a.84.84 0 0 1 1.24 0l3.3 3.5 3.32-3.5a.84.84 0 0 1 1.23 0c.34.36.34.95 0 1.3l-3.92 4.16a.84.84 0 0 1-1.24 0l-3.93-4.15a.96.96 0 0 1 0-1.31Z\" /></svg>
\t\t\t</button>
\t\t\t<div class=\"filter_hide_block\" id=\"filter_hide_block\">
\t\t\t\t{# Форма полей фильтрации #}
\t\t\t\t{{ form_start(profile_filter_form, {
\t\t\t\t\t'attr': {
\t\t\t\t\t\t'id': 'filter-form',
\t\t\t\t\t\t'class': 'filter_form',
\t\t\t\t\t\t'data-process-url': path('profile_ctr.increase_shows'),
\t\t\t\t\t\t'data-main-class': 'profile_filter'
\t\t\t\t\t}
\t\t\t\t}) }}
\t\t\t\t\t{{ include('ProfileList/filter/form.partial.twig', {filterData: profile_filter_form.vars.value, filterListId: 'filter-list'}) }}
\t\t\t\t{{ form_end(profile_filter_form) }}
\t\t\t</div>
\t\t\t<div class=\"profile_filter__tags__container profile_filter__tags__container--mobile fade_slider__container\">
\t\t\t\t<div class=\"profile_filter__tags d-none fade_slider d-none\" id=\"filter_tags\"></div>
\t\t\t</div>
\t\t\t<div class=\"profile_filter__line\" id=\"filter_line\" style=\"display: none\">
\t\t\t\t<div class=\"profile_filter__line__title\">Найдено <span class=\"profile_filter__line__title__count\">{{ profiles.totalCount }} {{ profiles.totalCount|incline_numeral(['анкета', 'анкеты', 'анкет']) }}</span></div>
\t\t\t\t<button class=\"profile_filter__line__reset\" type=\"button\" id=\"filter_line_reset\">
\t\t\t\t\tСбросить фильтры
\t\t\t\t\t<svg class=\"profile_filter__line__reset_icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\" fill=\"#ED0C34\"/></svg>
\t\t\t\t</button>
\t\t\t</div>
\t\t</noindex>
\t{% endif %}
\t{% block mainList %}
\t\t<ul class=\"profile-list d-grid mb-4 full-w-xs\" id=\"profile-list\">
\t{% include 'ProfileList/list.profiles.html.twig' with {
\t\t\t\t'top_profile': profile_top_placement(),
\t\t\t\t'likeButton': is_user_customer(app.user) == '1'
\t\t\t\t} %}
\t\t</ul>
\t{% endblock %}
\t{% if profiles and profiles.totalCount > profiles.currentPage * profiles.currentLimit %}
\t\t{% block showMore %}
\t\t\t{% include 'ProfileList/_show_more.profiles.html.twig' %}
\t\t{% endblock showMore %}
\t{% endif %}
\t{{ porpaginas_render(profiles) }}
\t<div class=\"map-block mb-4 full-w-xs\">
\t\t<picture class=\"map-picture\">
\t\t\t<source srcset=\"{{ asset('assets/images/background/map@480.jpg') }}\" media=\"(max-width: 480px)\">
\t\t\t<source srcset=\"{{ asset('assets/images/background/map@930.jpg') }}\" media=\"(max-width: 960px)\">
\t\t\t<img class=\"map-image\" src=\"{{ asset('assets/images/background/map@1380.jpg') }}\" alt=\"Интим-карта Москвы\" loading=\"lazy\">
\t\t</picture>
\t\t<div class=\"map-block-content d-flex-c\">
\t\t\t<div class=\"map-block-title fw-700 mb-2\">Интим-карта {{ city.name|geo_name('genitive') }}</div>
\t\t\t<div class=\"map-block-text\">Поиск анкет рядом с Вами</div>
\t\t\t<a class=\"map-block-link btn btn-main\" href=\"{{ path('map.page', {'city': city.uriIdentity}) }}\">
\t\t\t\t<svg class=\"btn-icon\" width=\"25\" height=\"25\" fill=\"none\"><path fill-rule=\"evenodd\" d=\"M4.674 8.944c0-4.314 3.512-7.826 7.826-7.826s7.826 3.512 7.826 7.826c0 5.448-6.809 13.049-7.102 13.372l-.724.802-.724-.802c-.293-.323-7.102-7.924-7.102-13.372Zm1.957 0c0 3.462 3.736 8.667 5.869 11.22 1.712-2.064 5.87-7.474 5.87-11.22a5.874 5.874 0 0 0-5.87-5.87 5.874 5.874 0 0 0-5.87 5.87Zm5.869 0c.812 0 1.467-.656 1.467-1.468 0-.812-.655-1.467-1.467-1.467s-1.467.665-1.467 1.467c0 .812.655 1.468 1.467 1.468Zm-2.935 2.445c0-.978 1.957-1.467 2.935-1.467s2.935.489 2.935 1.467v.118a3.88 3.88 0 0 1-2.935 1.35 3.88 3.88 0 0 1-2.935-1.35v-.118Z\" clip-rule=\"evenodd\"/></svg>
\t\t\t\t<span class=\"btn-text\">Искать на карте</span>
\t\t\t</a>
\t\t</div>
\t</div>
\t{# Реки #}
\t{% if profiles and profiles.currentPage >= 2 %}
\t\t<div id=\"recommendations\">
\t\t\t{%- set excludeRecommendationProfileIds = profiles|map(p => p.id)|join(', ') -%}
\t\t\t{%- include 'recommendations/_profile_recommendations.html.twig' with {componentClass: 'mobile'} -%}
\t\t</div>
\t{% endif %}
\t{% if route == 'homepage' or
\t\t(mainListingFirstPage and app.request.get('city').id == default_city().id)
\t%}
\t\t<div class=\"widget-profiles-by-categories\" id=\"widget_profiles_by_categories\"></div>
\t\t<script>
\t\t\tdocument.addEventListener('DOMContentLoaded', () => {
\t\t\t\tconst widgetElement = document.querySelector('#widget_profiles_by_categories');
\t\t\t\tfunction getProfiles() {
\t\t\t\t\tfetch('{{ path('profile_widget.by_categories', {city: app.request.attributes.get('city', default_city()).uriIdentity}) }}', {
\t\t\t\t\t\tmethod: 'GET',
\t\t\t\t\t\theaders: {
\t\t\t\t\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"
\t\t\t\t\t\t},
\t\t\t\t\t}).then(response => {
\t\t\t\t\t\tif (response.status < 300) {
\t\t\t\t\t\t\treturn response.text();
\t\t\t\t\t\t} else {
\t\t\t\t\t\t\tconsole.warn(\" \");
\t\t\t\t\t\t\treturn null;
\t\t\t\t\t\t}
\t\t\t\t\t}).then(response => {
\t\t\t\t\t\twidgetElement.innerHTML = response;
\t\t\t\t\t\tconst elementsRoot = [...document.querySelectorAll('#profile-list-new', '#profile-list-approved', '#profile-list-elite')];
\t\t\t\t\t\telementsRoot.forEach(root => {
\t\t\t\t\t\t\tif (root.childElementCount === 0) {
\t\t\t\t\t\t\t\troot.previousElementSibling.remove();
\t\t\t\t\t\t\t\troot.remove();
\t\t\t\t\t\t\t}
\t\t\t\t\t\t});
\t\t\t\t\t});
\t\t\t\t}
\t\t\t\tif ('IntersectionObserver' in window) {
\t\t\t\t\tconst observer = new IntersectionObserver((entries) => {
\t\t\t\t\t\tif (entries[0].isIntersecting) {
\t\t\t\t\t\t\tobserver.disconnect();
\t\t\t\t\t\t\tgetProfiles();
\t\t\t\t\t\t}
\t\t\t\t\t}, { rootMargin: '100px' });
\t\t\t\t\tobserver.observe(widgetElement);
\t\t\t\t} else {
\t\t\t\t\tgetProfiles();
\t\t\t\t}
\t\t\t});
\t\t</script>
\t{% endif %}
\t{# {% set circle = app.request.get('_route') == 'profile_list.list_by_provided_service' ? inner_linkage_circle('service') : inner_linkage_circle('prostitutes') %}
\t{% if circle is not null %}
\t\t<div class=\"station-pages-linkage-circle\">
\t\t\t{% if circle[0] is defined and circle[0] is not null %}<a href=\"{{ circle[0].href }}\"><i class=\"prev\"></i>{{ circle[0].text }}</a>{% endif %}
\t\t\t{% if circle[0] is defined and circle[0] is not null
\t\t\t\tand circle[1] is defined and circle[1] is not null %}<i class=\"sep\"></i>{% endif %}
\t\t\t{% if circle[1] is defined and circle[1] is not null %}<a href=\"{{ circle[1].href }}\">{{ circle[1].text }}<i class=\"next\"></i></a>{% endif %}
\t\t</div>
\t{% endif %}
\t{% set stations_circle = station_pages_linkage_circle() %}
\t{% if stations_circle is not null %}
\t\t<div class=\"station-pages-linkage-circle\">
\t\t\t{% if stations_circle[0] is defined and stations_circle[0] is not null %}<a href=\"{{ stations_circle[0].href }}\"><i class=\"prev\"></i>{{ stations_circle[0].text }}</a>{% endif %}
\t\t\t{% if stations_circle[0] is defined and stations_circle[0] is not null
\t\t\t\tand stations_circle[1] is defined and stations_circle[1] is not null %}<i class=\"sep\"></i>{% endif %}
\t\t\t{% if stations_circle[1] is defined and stations_circle[1] is not null %}<a href=\"{{ stations_circle[1].href }}\">{{ stations_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
\t\t</div>
\t{% endif %}
\t{% set cities_circle = city_main_pages_linkage_circle() %}
\t{% if cities_circle is not null %}
\t\t<div class=\"station-pages-linkage-circle\">
\t\t\t{% if cities_circle[0] is defined and cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"><i class=\"prev\"></i>{{ cities_circle[0].text }}</a>{% endif %}
\t\t\t{% if cities_circle[0] is defined and cities_circle[0] is not null
\t\t\t\tand cities_circle[1] is defined and cities_circle[1] is not null %}<i class=\"sep\"></i>{% endif %}
\t\t\t{% if cities_circle[1] is defined and cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\">{{ cities_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
\t\t</div>
\t{% endif %} #}
\t{# {{ include('components/last_girl_list.html.twig') }} #}
\t{# комменты анкет для листинга станции #}
{# {% include 'ProfileList/station_comments.partial.html.twig' %} #}
\t{%- if isShowTopOnBottomSeo -%}
\t\t{{- include ('__design/v2023/components/seo-article.html.twig', { 'type': 'top', \"noindex\": true }) -}}
\t{%- endif -%}
\t{%- if isShowBottomSeo -%}
\t\t{{- include ('__design/v2023/components/seo-article.html.twig', { 'type': 'bottom', \"noindex\": true }) -}}
\t{%- endif -%}
{% endblock %}
{% block javascripts %}
\t{{parent()}}
\t<script>
\t\tconst listingRoute = '{{ app.request.attributes.get('_route') }}' == '' ? 'profile_list.list_by_city' : '{{ app.request.attributes.get('_route') }}';
window._lD = {
setLastViewedListing: listingRoute,
cityUrl: \"{{city.uriIdentity}}\",
};
\t\twindow.siteData = {
\t\t\tcity: \"{{ app.request.attributes.get('city', default_city()).uriIdentity }}\",
\t\t\tstations: {
{%- for station in stations() -%}
\"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
{%- endfor -%}
}
\t\t};
\t\t{# document.addEventListener('DOMContentLoaded', function() {
\t\t\t{% if profiles and profiles.totalCount > 0 %}
\t\t\t\t{%- set profilesId = profiles|map(p => p.id)|join(',') -%}
\t\t\t\twindow.increase_shows({
\t\t\t\t\tprofiles: [{{ profilesId }}],
\t\t\t\t\troute: '{{ app.request.attributes.get('_route') }}',
\t\t\t\t})
\t\t\t{% endif %}
\t\t}); #}
\t\tdocument.addEventListener('header:update', (event) => {
\t\t\tconst userData = event.detail?.data;
\t\t\tif (userData.user && userData.role === 'advertiser') return;
\t\t\t{% include 'ProfileList/_favorite-button.partial.script.js' %}
\t\t})
\t</script>
{% endblock %}", "ProfileList/list.html.twig", "/app/templates/ProfileList/list.html.twig");
}
}