var/cache/review/twig/1a/1a8211030ba900daa430d1af59cde3a1.php line 176

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* ProfileList/list.html.twig */
  14. class __TwigTemplate_09c006177d0309b7aaecc091c4a4831a extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'preloadAnyData' => [$this'block_preloadAnyData'],
  24.             'canonical' => [$this'block_canonical'],
  25.             'metaSpecial' => [$this'block_metaSpecial'],
  26.             'mainContainer' => [$this'block_mainContainer'],
  27.             'mainList' => [$this'block_mainList'],
  28.             'showMore' => [$this'block_showMore'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "ProfileList/grid.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  41.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  46.         // line 4
  47.         $context["linkLangSupport"] = (((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse4), "locale", [], "any"falsefalsefalse4) == "en")) ? ("/en") : (""));
  48.         // line 5
  49.         $context["excludeRecommendationProfileIds"] = [];
  50.         // line 6
  51.         $context["isFirstPage"] = (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.'6$this->source); })()), "currentPage", [], "any"falsefalsefalse6) == 1);
  52.         // line 7
  53.         $context["isOldDomain"] = (twig_get_attribute($this->env$this->sourcetwig_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.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "host", [], "any"falsefalsefalse7) == "prostitutki-moskvy-dosug.com");
  54.         // line 8
  55.         $context["listingPage"] = (twig_get_attribute($this->env$this->source, ($context["profiles"] ?? null), "currentPage", [], "any"truetruefalse8) && (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.'8$this->source); })()), "currentPage", [], "any"falsefalsefalse8) > 1));
  56.         // line 1
  57.         $this->parent $this->loadTemplate("ProfileList/grid.html.twig""ProfileList/list.html.twig"1);
  58.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  59.         
  60.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.     }
  66.     // line 12
  67.     public function block_preloadAnyData($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  71.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preloadAnyData"));
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preloadAnyData"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preloadAnyData"));
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.         
  81.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  82.     }
  83.     // line 26
  84.     public function block_canonical($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  88.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  93.         // line 27
  94.         echo "\t";
  95.         if (((isset($context["actual_main_domain"]) || array_key_exists("actual_main_domain"$context) ? $context["actual_main_domain"] : (function () { throw new RuntimeError('Variable "actual_main_domain" does not exist.'27$this->source); })()) == twig_get_attribute($this->env$this->sourcetwig_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.'27$this->source); })()), "request", [], "any"falsefalsefalse27), "host", [], "any"falsefalsefalse27))) {
  96.             // line 28
  97.             echo "\t\t<link rel=\"canonical\" href=\"";
  98.             echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->canonicalUrl((isset($context["actual_main_domain"]) || array_key_exists("actual_main_domain"$context) ? $context["actual_main_domain"] : (function () { throw new RuntimeError('Variable "actual_main_domain" does not exist.'28$this->source); })())), "html"nulltrue);
  99.             (((isset($context["listingPage"]) || array_key_exists("listingPage"$context) ? $context["listingPage"] : (function () { throw new RuntimeError('Variable "listingPage" does not exist.'28$this->source); })())) ? (print (twig_escape_filter($this->env, (("page" 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.'28$this->source); })()), "currentPage", [], "any"falsefalsefalse28)) . "/"), "html"nulltrue))) : (print ("")));
  100.             echo "\">
  101. \t";
  102.         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 29
  103. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'29$this->source); })()), "request", [], "any"falsefalsefalse29), "host", [], "any"falsefalsefalse29) == "prostitutki-moskvy-dosug.com")) {
  104.             // line 30
  105.             echo "\t\t<link rel=\"canonical\" href=\"";
  106.             echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->canonicalUrl("intim-mosdosug.com"), "html"nulltrue);
  107.             (((isset($context["listingPage"]) || array_key_exists("listingPage"$context) ? $context["listingPage"] : (function () { throw new RuntimeError('Variable "listingPage" does not exist.'30$this->source); })())) ? (print (twig_escape_filter($this->env, (("page" 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.'30$this->source); })()), "currentPage", [], "any"falsefalsefalse30)) . "/"), "html"nulltrue))) : (print ("")));
  108.             echo "\">
  109. \t";
  110.         }
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115.         
  116.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  117.     }
  118.     // line 34
  119.     public function block_metaSpecial($context, array $blocks = [])
  120.     {
  121.         $macros $this->macros;
  122.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  123.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaSpecial"));
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaSpecial"));
  126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaSpecial"));
  128.         // line 35
  129.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'35$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.'35$this->source); })()), "currentPage", [], "any"falsefalsefalse35) >= 2))) {
  130.             // line 36
  131.             echo "<meta name=\"yandex\" content=\"noindex, nofollow\" />";
  132.         }
  133.         
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  135.         
  136.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  137.         
  138.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  139.     }
  140.     // line 40
  141.     public function block_mainContainer($context, array $blocks = [])
  142.     {
  143.         $macros $this->macros;
  144.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  145.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  150.         // line 41
  151.         $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.'41$this->source); })()), "uriIdentity", [], "any"falsefalsefalse41) == twig_get_attribute($this->env$this->source$this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "uriIdentity", [], "any"falsefalsefalse41));
  152.         // line 43
  153.         $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-"];
  154.         // line 125
  155.         $context["onlyThisPageSeoShow"] = false;
  156.         // line 126
  157.         $context['_parent'] = $context;
  158.         $context['_seq'] = twig_ensure_traversable((isset($context["conditionList"]) || array_key_exists("conditionList"$context) ? $context["conditionList"] : (function () { throw new RuntimeError('Variable "conditionList" does not exist.'126$this->source); })()));
  159.         foreach ($context['_seq'] as $context["_key"] => $context["str"]) {
  160.             // line 127
  161.             if (twig_in_filter($context["str"], twig_get_attribute($this->env$this->sourcetwig_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.'127$this->source); })()), "request", [], "any"falsefalsefalse127), "pathInfo", [], "any"falsefalsefalse127))) {
  162.                 // line 128
  163.                 $context["onlyThisPageSeoShow"] = true;
  164.             }
  165.         }
  166.         $_parent $context['_parent'];
  167.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['str'], $context['_parent'], $context['loop']);
  168.         $context array_intersect_key($context$_parent) + $_parent;
  169.         // line 132
  170.         $context["route"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'132$this->source); })()), "request", [], "any"falsefalsefalse132), "attributes", [], "any"falsefalsefalse132), "get", ["_route"], "method"falsefalsefalse132);
  171.         // line 133
  172.         $context["isIndexPage"] = (twig_get_attribute($this->env$this->sourcetwig_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.'133$this->source); })()), "request", [], "any"falsefalsefalse133), "pathInfo", [], "any"falsefalsefalse133) == "/");
  173.         // line 134
  174.         $context["isStationPage"] = ((isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'134$this->source); })()) == "profile_list.list_by_station");
  175.         // line 136
  176.         $context["mainListingFirstPage"] = ((isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'136$this->source); })()) == "profile_list.list_by_city");
  177.         // line 137
  178.         echo "
  179. \t";
  180.         // line 140
  181.         $context["isShowTopSeo"] = ( !(isset($context["isOldDomain"]) || array_key_exists("isOldDomain"$context) ? $context["isOldDomain"] : (function () { throw new RuntimeError('Variable "isOldDomain" does not exist.'140$this->source); })()) && (isset($context["isFirstPage"]) || array_key_exists("isFirstPage"$context) ? $context["isFirstPage"] : (function () { throw new RuntimeError('Variable "isFirstPage" does not exist.'140$this->source); })()));
  182.         // line 141
  183.         $context["isShowTopOnBottomSeo"] = ( !(isset($context["isOldDomain"]) || array_key_exists("isOldDomain"$context) ? $context["isOldDomain"] : (function () { throw new RuntimeError('Variable "isOldDomain" does not exist.'141$this->source); })()) && (isset($context["isFirstPage"]) || array_key_exists("isFirstPage"$context) ? $context["isFirstPage"] : (function () { throw new RuntimeError('Variable "isFirstPage" does not exist.'141$this->source); })()));
  184.         // line 142
  185.         $context["isShowBottomSeo"] = ( !(isset($context["isOldDomain"]) || array_key_exists("isOldDomain"$context) ? $context["isOldDomain"] : (function () { throw new RuntimeError('Variable "isOldDomain" does not exist.'142$this->source); })()) && (isset($context["isFirstPage"]) || array_key_exists("isFirstPage"$context) ? $context["isFirstPage"] : (function () { throw new RuntimeError('Variable "isFirstPage" does not exist.'142$this->source); })()));
  186.         // line 144
  187.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "__design/v2023/_menu/breadcrumbs.html.twig"]);
  188.         // line 146
  189.         echo "<div class=\"heading d-flex\">
  190. \t\t<h1 class=\"heading-title text-title mr-1\" role=\"heading\">";
  191.         // line 147
  192.         echo (($this->extensions['App\Twig\SeoExtension']->pageHeading()) ? ($this->extensions['App\Twig\SeoExtension']->pageHeading()) : ("Проститутки и индивидуалки Москвы"));
  193.         echo "</h1>
  194. \t\t<span class=\"heading-count clr-main-text fw-700\" data-count-profiles>";
  195.         // line 148
  196.         echo twig_escape_filter($this->envtwig_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.'148$this->source); })()), "totalCount", [], "any"falsefalsefalse148), "html"nulltrue);
  197.         echo "</span>
  198. \t</div>
  199. \t";
  200.         // line 164
  201.         $context["isArchivePage"] = twig_in_filter("profile_list.list_archived"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'164$this->source); })()), "request", [], "any"falsefalsefalse164), "attributes", [], "any"falsefalsefalse164), "get", ["_route"], "method"falsefalsefalse164));
  202.         // line 165
  203.         $context["isFormExist"] = false;
  204.         // line 166
  205.         if ((isset($context["isFormExist"]) || array_key_exists("isFormExist"$context) ? $context["isFormExist"] : (function () { throw new RuntimeError('Variable "isFormExist" does not exist.'166$this->source); })())) {
  206.             // line 167
  207.             echo "<noindex>
  208. \t\t\t<button class=\"filter_hide_button\" type=\"button\" id=\"filter_hide_button\">
  209. \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>
  210. \t\t\t\t<span class=\"filter_hide_button__text\" data-filter-hide-text-show>Показать фильтры</span>
  211. \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>
  212. \t\t\t</button>
  213. \t\t\t<div class=\"filter_hide_block\" id=\"filter_hide_block\">
  214. \t\t\t\t";
  215.             // line 175
  216.             echo "\t\t\t\t";
  217.             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.'175$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"]]);
  218.             // line 182
  219.             echo "
  220. \t\t\t\t\t";
  221.             // line 183
  222.             echo twig_include($this->env$context"ProfileList/filter/form.partial.twig", ["filterData" => twig_get_attribute($this->env$this->sourcetwig_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.'183$this->source); })()), "vars", [], "any"falsefalsefalse183), "value", [], "any"falsefalsefalse183), "filterListId" => "filter-list"]);
  223.             echo "
  224. \t\t\t\t";
  225.             // line 184
  226.             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.'184$this->source); })()), 'form_end');
  227.             echo "
  228. \t\t\t</div>
  229. \t\t\t<div class=\"profile_filter__tags__container profile_filter__tags__container--mobile fade_slider__container\">
  230. \t\t\t\t<div class=\"profile_filter__tags d-none fade_slider d-none\" id=\"filter_tags\"></div>
  231. \t\t\t</div>
  232. \t\t\t<div class=\"profile_filter__line\" id=\"filter_line\" style=\"display: none\">
  233. \t\t\t\t<div class=\"profile_filter__line__title\">Найдено <span class=\"profile_filter__line__title__count\">";
  234.             // line 192
  235.             echo twig_escape_filter($this->envtwig_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.'192$this->source); })()), "totalCount", [], "any"falsefalsefalse192), "html"nulltrue);
  236.             echo " ";
  237.             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.'192$this->source); })()), "totalCount", [], "any"falsefalsefalse192), ["анкета""анкеты""анкет"]), "html"nulltrue);
  238.             echo "</span></div>
  239. \t\t\t\t<button class=\"profile_filter__line__reset\" type=\"button\" id=\"filter_line_reset\">
  240. \t\t\t\t\tСбросить фильтры
  241. \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>
  242. \t\t\t\t</button>
  243. \t\t\t</div>
  244. \t\t</noindex>
  245. \t";
  246.         }
  247.         // line 200
  248.         echo "
  249. \t";
  250.         // line 201
  251.         $this->displayBlock('mainList'$context$blocks);
  252.         // line 209
  253.         echo "
  254. \t";
  255.         // line 210
  256.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'210$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.'210$this->source); })()), "totalCount", [], "any"falsefalsefalse210) > (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.'210$this->source); })()), "currentPage", [], "any"falsefalsefalse210) * 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.'210$this->source); })()), "currentLimit", [], "any"falsefalsefalse210))))) {
  257.             // line 211
  258.             echo "\t\t";
  259.             $this->displayBlock('showMore'$context$blocks);
  260.             // line 214
  261.             echo "\t";
  262.         }
  263.         // line 215
  264.         echo "
  265. \t";
  266.         // line 216
  267.         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.'216$this->source); })()));
  268.         echo "
  269. \t<div class=\"map-block mb-4 full-w-xs\">
  270. \t\t<picture class=\"map-picture\">
  271. \t\t\t<source srcset=\"";
  272.         // line 220
  273.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/map@480.jpg"), "html"nulltrue);
  274.         echo "\" media=\"(max-width: 480px)\">
  275. \t\t\t<source srcset=\"";
  276.         // line 221
  277.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/map@930.jpg"), "html"nulltrue);
  278.         echo "\" media=\"(max-width: 960px)\">
  279. \t\t\t<img class=\"map-image\" src=\"";
  280.         // line 222
  281.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/map@1380.jpg"), "html"nulltrue);
  282.         echo "\" alt=\"Интим-карта Москвы\" loading=\"lazy\">
  283. \t\t</picture>
  284. \t\t<div class=\"map-block-content d-flex-c\">
  285. \t\t\t<div class=\"map-block-title fw-700 mb-2\">Интим-карта ";
  286.         // line 225
  287.         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.'225$this->source); })()), "name", [], "any"falsefalsefalse225), "genitive"), "html"nulltrue);
  288.         echo "</div>
  289. \t\t\t<div class=\"map-block-text\">Поиск анкет рядом с Вами</div>
  290. \t\t\t<a class=\"map-block-link btn btn-main\" href=\"";
  291.         // line 227
  292.         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.'227$this->source); })()), "uriIdentity", [], "any"falsefalsefalse227)]), "html"nulltrue);
  293.         echo "\">
  294. \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>
  295. \t\t\t\t<span class=\"btn-text\">Искать на карте</span>
  296. \t\t\t</a>
  297. \t\t</div>
  298. \t</div>
  299. \t";
  300.         // line 235
  301.         echo "\t";
  302.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'235$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.'235$this->source); })()), "currentPage", [], "any"falsefalsefalse235) >= 2))) {
  303.             // line 236
  304.             echo "\t\t<div id=\"recommendations\">";
  305.             // line 237
  306.             $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.'237$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.'237$this->source); })()), "id", [], "any"falsefalsefalse237); }), ", ");
  307.             // line 238
  308.             $this->loadTemplate("recommendations/_profile_recommendations.html.twig""ProfileList/list.html.twig"238)->display(twig_array_merge($context, ["componentClass" => "mobile"]));
  309.             // line 239
  310.             echo "</div>
  311. \t";
  312.         }
  313.         // line 241
  314.         echo "
  315. \t";
  316.         // line 243
  317.         if ((((isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'243$this->source); })()) == "homepage") || (        // line 244
  318. (isset($context["mainListingFirstPage"]) || array_key_exists("mainListingFirstPage"$context) ? $context["mainListingFirstPage"] : (function () { throw new RuntimeError('Variable "mainListingFirstPage" does not exist.'244$this->source); })()) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'244$this->source); })()), "request", [], "any"falsefalsefalse244), "get", ["city"], "method"falsefalsefalse244), "id", [], "any"falsefalsefalse244) == twig_get_attribute($this->env$this->source$this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any"falsefalsefalse244))))) {
  319.             // line 246
  320.             echo "\t\t<div class=\"widget-profiles-by-categories\" id=\"widget_profiles_by_categories\"></div>
  321. \t\t<script>
  322. \t\t\tdocument.addEventListener('DOMContentLoaded', () => {
  323. \t\t\t\tconst widgetElement = document.querySelector('#widget_profiles_by_categories');
  324. \t\t\t\tfunction getProfiles() {
  325. \t\t\t\t\tfetch('";
  326.             // line 252
  327.             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->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'252$this->source); })()), "request", [], "any"falsefalsefalse252), "attributes", [], "any"falsefalsefalse252), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse252), "uriIdentity", [], "any"falsefalsefalse252)]), "html"nulltrue);
  328.             echo "', {
  329. \t\t\t\t\t\tmethod: 'GET',
  330. \t\t\t\t\t\theaders: {
  331. \t\t\t\t\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"
  332. \t\t\t\t\t\t},
  333. \t\t\t\t\t}).then(response => {
  334. \t\t\t\t\t\tif (response.status < 300) {
  335. \t\t\t\t\t\t\treturn response.text();
  336. \t\t\t\t\t\t} else {
  337. \t\t\t\t\t\t\tconsole.warn(\" \");
  338. \t\t\t\t\t\t\treturn null;
  339. \t\t\t\t\t\t}
  340. \t\t\t\t\t}).then(response => {
  341. \t\t\t\t\t\twidgetElement.innerHTML = response;
  342. \t\t\t\t\t\tconst elementsRoot = [...document.querySelectorAll('#profile-list-new', '#profile-list-approved', '#profile-list-elite')];
  343. \t\t\t\t\t\telementsRoot.forEach(root => {
  344. \t\t\t\t\t\t\tif (root.childElementCount === 0) {
  345. \t\t\t\t\t\t\t\troot.previousElementSibling.remove();
  346. \t\t\t\t\t\t\t\troot.remove();
  347. \t\t\t\t\t\t\t}
  348. \t\t\t\t\t\t});
  349. \t\t\t\t\t});
  350. \t\t\t\t}
  351. \t\t\t\tif ('IntersectionObserver' in window) {
  352. \t\t\t\t\tconst observer = new IntersectionObserver((entries) => {
  353. \t\t\t\t\t\tif (entries[0].isIntersecting) {
  354. \t\t\t\t\t\t\tobserver.disconnect();
  355. \t\t\t\t\t\t\tgetProfiles();
  356. \t\t\t\t\t\t}
  357. \t\t\t\t\t}, { rootMargin: '100px' });
  358. \t\t\t\t\tobserver.observe(widgetElement);
  359. \t\t\t\t} else {
  360. \t\t\t\t\tgetProfiles();
  361. \t\t\t\t}
  362. \t\t\t});
  363. \t\t</script>
  364. \t";
  365.         }
  366.         // line 291
  367.         echo "
  368. \t";
  369.         // line 322
  370.         echo "
  371. \t";
  372.         // line 324
  373.         echo "
  374. \t";
  375.         // line 326
  376.         echo "    ";
  377.         // line 328
  378.         if ((isset($context["isShowTopOnBottomSeo"]) || array_key_exists("isShowTopOnBottomSeo"$context) ? $context["isShowTopOnBottomSeo"] : (function () { throw new RuntimeError('Variable "isShowTopOnBottomSeo" does not exist.'328$this->source); })())) {
  379.             // line 329
  380.             echo twig_include($this->env$context"__design/v2023/components/seo-article.html.twig", ["type" => "top""noindex" => true]);
  381.         }
  382.         // line 331
  383.         if ((isset($context["isShowBottomSeo"]) || array_key_exists("isShowBottomSeo"$context) ? $context["isShowBottomSeo"] : (function () { throw new RuntimeError('Variable "isShowBottomSeo" does not exist.'331$this->source); })())) {
  384.             // line 332
  385.             echo twig_include($this->env$context"__design/v2023/components/seo-article.html.twig", ["type" => "bottom""noindex" => true]);
  386.         }
  387.         
  388.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  389.         
  390.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  391.         
  392.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  393.     }
  394.     // line 201
  395.     public function block_mainList($context, array $blocks = [])
  396.     {
  397.         $macros $this->macros;
  398.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  399.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  400.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  401.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  402.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  403.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  404.         // line 202
  405.         echo "\t\t<ul class=\"profile-list d-grid mb-4 full-w-xs\" id=\"profile-list\">
  406.         \t";
  407.         // line 203
  408.         $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"203)->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 205
  409. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'205$this->source); })()), "user", [], "any"falsefalsefalse205)) == "1")]));
  410.         // line 207
  411.         echo "\t\t</ul>
  412. \t";
  413.         
  414.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  415.         
  416.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  417.         
  418.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  419.     }
  420.     // line 211
  421.     public function block_showMore($context, array $blocks = [])
  422.     {
  423.         $macros $this->macros;
  424.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  425.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  426.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  427.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  428.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  429.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  430.         // line 212
  431.         echo "\t\t\t";
  432.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig""ProfileList/list.html.twig"212)->display($context);
  433.         // line 213
  434.         echo "\t\t";
  435.         
  436.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  437.         
  438.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  439.         
  440.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  441.     }
  442.     // line 336
  443.     public function block_javascripts($context, array $blocks = [])
  444.     {
  445.         $macros $this->macros;
  446.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  447.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  448.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  449.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  450.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  451.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  452.         // line 337
  453.         echo "\t";
  454.         $this->displayParentBlock("javascripts"$context$blocks);
  455.         echo "
  456. \t<script>
  457. \t\tconst listingRoute = '";
  458.         // line 339
  459.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'339$this->source); })()), "request", [], "any"falsefalsefalse339), "attributes", [], "any"falsefalsefalse339), "get", ["_route"], "method"falsefalsefalse339), "html"nulltrue);
  460.         echo "' == '' ? 'profile_list.list_by_city' : '";
  461.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'339$this->source); })()), "request", [], "any"falsefalsefalse339), "attributes", [], "any"falsefalsefalse339), "get", ["_route"], "method"falsefalsefalse339), "html"nulltrue);
  462.         echo "';
  463.         window._lD = {
  464.             setLastViewedListing: listingRoute,
  465.             cityUrl: \"";
  466.         // line 342
  467.         echo twig_escape_filter($this->envtwig_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.'342$this->source); })()), "uriIdentity", [], "any"falsefalsefalse342), "html"nulltrue);
  468.         echo "\",
  469.         };
  470. \t\twindow.siteData = {
  471. \t\t\tcity: \"";
  472.         // line 345
  473.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'345$this->source); })()), "request", [], "any"falsefalsefalse345), "attributes", [], "any"falsefalsefalse345), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse345), "uriIdentity", [], "any"falsefalsefalse345), "html"nulltrue);
  474.         echo "\",
  475. \t\t\tstations: {";
  476.         // line 347
  477.         $context['_parent'] = $context;
  478.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
  479.         $context['loop'] = [
  480.           'parent' => $context['_parent'],
  481.           'index0' => 0,
  482.           'index'  => 1,
  483.           'first'  => true,
  484.         ];
  485.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  486.             $length count($context['_seq']);
  487.             $context['loop']['revindex0'] = $length 1;
  488.             $context['loop']['revindex'] = $length;
  489.             $context['loop']['length'] = $length;
  490.             $context['loop']['last'] = === $length;
  491.         }
  492.         foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  493.             // line 348
  494.             echo "\"";
  495.             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"falsefalsefalse348)), "html"nulltrue);
  496.             echo "\": \"";
  497.             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->sourcetwig_get_attribute($this->env$this->source$context["station"], "city", [], "any"falsefalsefalse348), "uriIdentity", [], "any"falsefalsefalse348), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse348)]), "html"nulltrue);
  498.             echo "\"";
  499.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse348)) {
  500.                 echo ",";
  501.             }
  502.             ++$context['loop']['index0'];
  503.             ++$context['loop']['index'];
  504.             $context['loop']['first'] = false;
  505.             if (isset($context['loop']['length'])) {
  506.                 --$context['loop']['revindex0'];
  507.                 --$context['loop']['revindex'];
  508.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  509.             }
  510.         }
  511.         $_parent $context['_parent'];
  512.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  513.         $context array_intersect_key($context$_parent) + $_parent;
  514.         // line 350
  515.         echo "}
  516. \t\t};
  517. \t\t";
  518.         // line 362
  519.         echo "
  520. \t\tdocument.addEventListener('header:update', (event) => {
  521. \t\t\tconst userData = event.detail?.data;
  522. \t\t\tif (userData.user && userData.role === 'advertiser') return;
  523. \t\t\t";
  524.         // line 367
  525.         $this->loadTemplate("ProfileList/_favorite-button.partial.script.js""ProfileList/list.html.twig"367)->display($context);
  526.         // line 368
  527.         echo "\t\t})
  528. \t</script>
  529. ";
  530.         
  531.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  532.         
  533.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  534.         
  535.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  536.     }
  537.     /**
  538.      * @codeCoverageIgnore
  539.      */
  540.     public function getTemplateName()
  541.     {
  542.         return "ProfileList/list.html.twig";
  543.     }
  544.     /**
  545.      * @codeCoverageIgnore
  546.      */
  547.     public function isTraitable()
  548.     {
  549.         return false;
  550.     }
  551.     /**
  552.      * @codeCoverageIgnore
  553.      */
  554.     public function getDebugInfo()
  555.     {
  556.         return array (  598 => 368,  596 => 367,  589 => 362,  584 => 350,  563 => 348,  546 => 347,  542 => 345,  536 => 342,  528 => 339,  522 => 337,  509 => 336,  496 => 213,  493 => 212,  480 => 211,  466 => 207,  464 => 205,  463 => 203,  460 => 202,  447 => 201,  433 => 332,  431 => 331,  428 => 329,  426 => 328,  424 => 326,  421 => 324,  418 => 322,  414 => 291,  372 => 252,  364 => 246,  362 => 244,  361 => 243,  357 => 241,  353 => 239,  351 => 238,  349 => 237,  347 => 236,  344 => 235,  334 => 227,  329 => 225,  323 => 222,  319 => 221,  315 => 220,  308 => 216,  305 => 215,  302 => 214,  299 => 211,  297 => 210,  294 => 209,  292 => 201,  289 => 200,  276 => 192,  265 => 184,  261 => 183,  258 => 182,  255 => 175,  246 => 167,  244 => 166,  242 => 165,  240 => 164,  234 => 148,  230 => 147,  227 => 146,  225 => 144,  223 => 142,  221 => 141,  219 => 140,  216 => 137,  214 => 136,  212 => 134,  210 => 133,  208 => 132,  201 => 128,  199 => 127,  195 => 126,  193 => 125,  191 => 43,  189 => 41,  176 => 40,  162 => 36,  160 => 35,  147 => 34,  129 => 30,  127 => 29,  121 => 28,  118 => 27,  105 => 26,  81 => 12,  67 => 1,  65 => 8,  63 => 7,  61 => 6,  59 => 5,  57 => 4,  41 => 1,);
  557.     }
  558.     public function getSourceContext()
  559.     {
  560.         return new Source("{% extends 'ProfileList/grid.html.twig' %}
  561. {# {% extends 'grid.html.twig' %} #}
  562. {%- set linkLangSupport = app.request.locale == 'en' ? '/en' : '' -%}
  563. {%- set excludeRecommendationProfileIds = [] -%}
  564. {%- set isFirstPage = profiles.currentPage == 1 -%}
  565. {% set isOldDomain = app.request.host == \"prostitutki-moskvy-dosug.com\" %}
  566. {% set listingPage = profiles.currentPage is defined and profiles.currentPage > 1 %}
  567. {# {%- block stylesheet_postload -%}{{ encore_entry_link_tags(\"styles/public-girl-list\") }}{{ parent() }}{%- endblock -%} #}
  568. {%- block preloadAnyData -%}
  569. \t{# {%- set photo = profiles|first|avatar -%}
  570. \t{%- if photo -%}
  571. \t\t<link rel=\"preload\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\" as=\"image\">
  572. \t\t<link rel=\"preload\" as=\"image\"
  573. \t\t\thref=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\"
  574. \t\t\timagesrcset=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }} 200w,
  575. \t\t\t\t\t\t{{ responsive_asset(photo.path, 'profile_media', \"185x259\", \"jpg\") }} 185w\"
  576. \t\t\timagesizes=\"(max-width: 1740px) 185px, 200px\"
  577. \t\t\tmedia=\"(min-width: 1740px)\" />
  578. \t{%- endif -%} #}
  579. {%- endblock -%}
  580. {% block canonical %}
  581. \t{% if actual_main_domain == app.request.host %}
  582. \t\t<link rel=\"canonical\" href=\"{{ canonical_url(actual_main_domain) }}{{ listingPage ? 'page' ~ profiles.currentPage ~ '/' : ''}}\">
  583. \t{% elseif app.request.host == \"prostitutki-moskvy-dosug.com\" %}
  584. \t\t<link rel=\"canonical\" href=\"{{ canonical_url(\"intim-mosdosug.com\") }}{{ listingPage ? 'page' ~ profiles.currentPage ~ '/' : ''}}\">
  585. \t{% endif %}
  586. {% endblock %}
  587. {%- block metaSpecial -%}
  588. \t{%- if profiles and profiles.currentPage >= 2 -%}
  589. \t\t<meta name=\"yandex\" content=\"noindex, nofollow\" />
  590. \t{%- endif -%}
  591. {%- endblock -%}
  592. {%- block mainContainer -%}
  593. \t{%- set isMainCity = city.uriIdentity == default_city().uriIdentity -%}
  594. \t{%- set conditionList = [
  595. \t\t'usluga-massage-professionalnyij',
  596. \t\t'usluga-massage-rasslablyayuschij',
  597. \t\t'usluga-massage-tajskij',
  598. \t\t'usluga-massage-urologicheskij',
  599. \t\t'/new/',
  600. \t\t'/search/',
  601. \t\t'/checked/',
  602. \t\t'/salons/',
  603. \t\t'/usluga-striptiz-ne-profi/',
  604. \t\t'/usluga-striptiz-profi/',
  605. \t\t'/price/high/',
  606. \t\t'/usluga-seks-analnyij/',
  607. \t\t'/hair-color-blonde/',
  608. \t\t'/hair-color-brunette/',
  609. \t\t'/price/low/',
  610. \t\t'/video/',
  611. \t\t'/comments/',
  612. \t\t'/map/',
  613. \t\t'/usluga-massage-klassicheskij/',
  614. \t\t'/nationality-asian/',
  615. \t\t'/usluga-anilingus-delayu/',
  616. \t\t'/usluga-gospozha/',
  617. \t\t'/selfie/',
  618. \t\t'/massagers/',
  619. \t\t'/usluga-massage-vetka-sakuryi/',
  620. \t\t'/okrug/vostochnyj-vao/',
  621. \t\t'/okrug/zapadnyj-zao/',
  622. \t\t'/okrug/severnyj-sao/',
  623. \t\t'/okrug/severo-zapadnyj-szao/',
  624. \t\t'/okrug/tsentralnyij/',
  625. \t\t'/okrug/yugo-vostochnyj-yuvao/',
  626. \t\t'/usluga-minet-bez-rezinki/',
  627. \t\t'/usluga-minet-v-mashine/',
  628. \t\t'/usluga-minet-v-prezervative/',
  629. \t\t'/usluga-minet-glubokij/',
  630. \t\t'/nationality-negress/',
  631. \t\t'/main-district/',
  632. \t\t'/hair-color-light-brown/',
  633. \t\t'/hair-color-red/',
  634. \t\t'/usluga-seks-gruppovoj/',
  635. \t\t'/usluga-strapon/',
  636. \t\t'/usluga-uslugi-semejnoj-pare/',
  637. \t\t'/usluga-fisting-analnyij/',
  638. \t\t'/usluga-fisting-klassicheskij/',
  639. \t\t'/hair-color-brown/',
  640. \t\t'/nationality-kazakh/',
  641. \t\t'/nationality-mulatto/',
  642. \t\t'/nationality-russian/',
  643. \t\t'/nationality-tatar/',
  644. \t\t'/nationality-ukrainian/',
  645. \t\t'/okrug/yugo-zapadnyj-yuzao/',
  646. \t\t'/okrug/zelenograd/',
  647. \t\t'/body-type-athletic/',
  648. \t\t'/body-type-fat/',
  649. \t\t'/usluga-seks-klassicheskij/',
  650. \t\t'/usluga-rolevyie-igryi/',
  651. \t\t'/usluga-eskort/',
  652. \t\t'/usluga-trampling/',
  653. \t\t'/usluga-fetish/',
  654. \t\t'/usluga-bondaj/',
  655. \t\t'/usluga-rabyinya/',
  656. \t\t'/usluga-porka/',
  657. \t\t'/body-type-thin/',
  658. \t\t'/body-type-slim/',
  659. \t\t'/body-type-tight/',
  660. \t\t'/usluga-okonchanie-na-grud/',
  661. \t\t'/usluga-okonchanie-na-litso/',
  662. \t\t'/usluga-kopro-vyidacha/',
  663. \t\t'/usluga-okonchanie-v-rot/',
  664. \t\t'/usluga-kunnilingus/',
  665. \t\t'/usluga-massage-eroticheskij/',
  666. \t\t'/usluga-massage-tochechnyij/',
  667. \t\t'/usluga-igrushki/',
  668. \t\t'/usluga-zolot-dozhd-vyidacha/',
  669. \t\t'/usluga-zolotoj-dozhd-priem/',
  670. \t\t'/usluga-legkaya-dominatsiya/',
  671. \t\t'/metro-',
  672. \t\t'/prostitytki-'
  673. \t\t]
  674. \t%}
  675. \t{%- set onlyThisPageSeoShow = false -%}
  676. \t{%- for str in conditionList -%}
  677. \t\t{%- if str in app.request.pathInfo -%}
  678. \t\t\t{%- set onlyThisPageSeoShow = true -%}
  679. \t\t{%- endif -%}
  680. \t{%- endfor -%}
  681. \t{% set route = app.request.attributes.get('_route') %}
  682. \t{%- set isIndexPage = app.request.pathInfo == '/' -%}
  683. \t{%- set isStationPage = route == \"profile_list.list_by_station\" -%}
  684. \t{% set mainListingFirstPage = route == 'profile_list.list_by_city' %}
  685. \t{# {%- set isShowTopSeo = (isFirstPage and isMainCity and onlyThisPageSeoShow) or isIndexPage -%}
  686. \t{%- set isShowBottomSeo = (isFirstPage and isMainCity and onlyThisPageSeoShow ) or isIndexPage -%} #}
  687. \t{%- set isShowTopSeo = not isOldDomain and isFirstPage -%}
  688. \t{%- set isShowTopOnBottomSeo = not isOldDomain and isFirstPage -%}
  689. \t{%- set isShowBottomSeo = not isOldDomain and isFirstPage -%}
  690. \t{{- knp_menu_render('breadcrumbs', {'template': '__design/v2023/_menu/breadcrumbs.html.twig'}) -}}
  691. \t<div class=\"heading d-flex\">
  692. \t\t<h1 class=\"heading-title text-title mr-1\" role=\"heading\">{{- seo_heading() ? seo_heading() : 'Проститутки и индивидуалки Москвы' -}}</h1>
  693. \t\t<span class=\"heading-count clr-main-text fw-700\" data-count-profiles>{{ profiles.totalCount }}</span>
  694. \t</div>
  695. \t{# <div aria-hidden=\"true\" class=\"no-display\" style=\"display: none;\">
  696. \t\t<svg xmlns=\"http://www.w3.org/2000/svg\">
  697. \t\t\t<symbol id=\"close\" viewBox=\"0 0 25 24\">
  698. \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\"/>
  699. \t\t\t</symbol>
  700. \t\t\t<symbol id=\"expand\" viewBox=\"0 0 25 24\">
  701. \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\"/>
  702. \t\t\t</symbol>
  703. \t\t\t<symbol id=\"range\" viewBox=\"0 0 25 24\">
  704. \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\"/>
  705. \t\t\t</symbol>
  706. \t\t</svg>
  707. \t</div> #}
  708. \t{%- set isArchivePage =  'profile_list.list_archived' in app.request.attributes.get('_route') -%}
  709. \t{%- set isFormExist = false -%}{# profile_filter_form is defined and not isArchivePage #}
  710. \t{%- if isFormExist -%}
  711. \t\t<noindex>
  712. \t\t\t<button class=\"filter_hide_button\" type=\"button\" id=\"filter_hide_button\">
  713. \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>
  714. \t\t\t\t<span class=\"filter_hide_button__text\" data-filter-hide-text-show>Показать фильтры</span>
  715. \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>
  716. \t\t\t</button>
  717. \t\t\t<div class=\"filter_hide_block\" id=\"filter_hide_block\">
  718. \t\t\t\t{# Форма полей фильтрации #}
  719. \t\t\t\t{{ form_start(profile_filter_form, {
  720. \t\t\t\t\t'attr': {
  721. \t\t\t\t\t\t'id': 'filter-form',
  722. \t\t\t\t\t\t'class': 'filter_form',
  723. \t\t\t\t\t\t'data-process-url': path('profile_ctr.increase_shows'),
  724. \t\t\t\t\t\t'data-main-class': 'profile_filter'
  725. \t\t\t\t\t}
  726. \t\t\t\t}) }}
  727. \t\t\t\t\t{{ include('ProfileList/filter/form.partial.twig', {filterData: profile_filter_form.vars.value, filterListId: 'filter-list'}) }}
  728. \t\t\t\t{{ form_end(profile_filter_form) }}
  729. \t\t\t</div>
  730. \t\t\t<div class=\"profile_filter__tags__container profile_filter__tags__container--mobile fade_slider__container\">
  731. \t\t\t\t<div class=\"profile_filter__tags d-none fade_slider d-none\" id=\"filter_tags\"></div>
  732. \t\t\t</div>
  733. \t\t\t<div class=\"profile_filter__line\" id=\"filter_line\" style=\"display: none\">
  734. \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>
  735. \t\t\t\t<button class=\"profile_filter__line__reset\" type=\"button\" id=\"filter_line_reset\">
  736. \t\t\t\t\tСбросить фильтры
  737. \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>
  738. \t\t\t\t</button>
  739. \t\t\t</div>
  740. \t\t</noindex>
  741. \t{% endif %}
  742. \t{% block mainList %}
  743. \t\t<ul class=\"profile-list d-grid mb-4 full-w-xs\" id=\"profile-list\">
  744.         \t{% include 'ProfileList/list.profiles.html.twig' with {
  745. \t\t\t\t'top_profile': profile_top_placement(),
  746. \t\t\t\t'likeButton': is_user_customer(app.user) == '1'
  747. \t\t\t\t} %}
  748. \t\t</ul>
  749. \t{% endblock %}
  750. \t{% if profiles and profiles.totalCount > profiles.currentPage * profiles.currentLimit %}
  751. \t\t{% block showMore %}
  752. \t\t\t{% include 'ProfileList/_show_more.profiles.html.twig' %}
  753. \t\t{% endblock showMore %}
  754. \t{% endif %}
  755. \t{{ porpaginas_render(profiles) }}
  756. \t<div class=\"map-block mb-4 full-w-xs\">
  757. \t\t<picture class=\"map-picture\">
  758. \t\t\t<source srcset=\"{{ asset('assets/images/background/map@480.jpg') }}\" media=\"(max-width: 480px)\">
  759. \t\t\t<source srcset=\"{{ asset('assets/images/background/map@930.jpg') }}\" media=\"(max-width: 960px)\">
  760. \t\t\t<img class=\"map-image\" src=\"{{ asset('assets/images/background/map@1380.jpg') }}\" alt=\"Интим-карта Москвы\" loading=\"lazy\">
  761. \t\t</picture>
  762. \t\t<div class=\"map-block-content d-flex-c\">
  763. \t\t\t<div class=\"map-block-title fw-700 mb-2\">Интим-карта {{ city.name|geo_name('genitive') }}</div>
  764. \t\t\t<div class=\"map-block-text\">Поиск анкет рядом с Вами</div>
  765. \t\t\t<a class=\"map-block-link btn btn-main\" href=\"{{ path('map.page', {'city': city.uriIdentity}) }}\">
  766. \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>
  767. \t\t\t\t<span class=\"btn-text\">Искать на карте</span>
  768. \t\t\t</a>
  769. \t\t</div>
  770. \t</div>
  771. \t{# Реки #}
  772. \t{% if profiles and profiles.currentPage >= 2 %}
  773. \t\t<div id=\"recommendations\">
  774. \t\t\t{%- set excludeRecommendationProfileIds = profiles|map(p => p.id)|join(', ') -%}
  775. \t\t\t{%- include 'recommendations/_profile_recommendations.html.twig' with {componentClass: 'mobile'} -%}
  776. \t\t</div>
  777. \t{% endif %}
  778. \t{% if route == 'homepage' or
  779. \t\t(mainListingFirstPage and app.request.get('city').id == default_city().id)
  780. \t%}
  781. \t\t<div class=\"widget-profiles-by-categories\" id=\"widget_profiles_by_categories\"></div>
  782. \t\t<script>
  783. \t\t\tdocument.addEventListener('DOMContentLoaded', () => {
  784. \t\t\t\tconst widgetElement = document.querySelector('#widget_profiles_by_categories');
  785. \t\t\t\tfunction getProfiles() {
  786. \t\t\t\t\tfetch('{{ path('profile_widget.by_categories', {city: app.request.attributes.get('city', default_city()).uriIdentity}) }}', {
  787. \t\t\t\t\t\tmethod: 'GET',
  788. \t\t\t\t\t\theaders: {
  789. \t\t\t\t\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"
  790. \t\t\t\t\t\t},
  791. \t\t\t\t\t}).then(response => {
  792. \t\t\t\t\t\tif (response.status < 300) {
  793. \t\t\t\t\t\t\treturn response.text();
  794. \t\t\t\t\t\t} else {
  795. \t\t\t\t\t\t\tconsole.warn(\" \");
  796. \t\t\t\t\t\t\treturn null;
  797. \t\t\t\t\t\t}
  798. \t\t\t\t\t}).then(response => {
  799. \t\t\t\t\t\twidgetElement.innerHTML = response;
  800. \t\t\t\t\t\tconst elementsRoot = [...document.querySelectorAll('#profile-list-new', '#profile-list-approved', '#profile-list-elite')];
  801. \t\t\t\t\t\telementsRoot.forEach(root => {
  802. \t\t\t\t\t\t\tif (root.childElementCount === 0) {
  803. \t\t\t\t\t\t\t\troot.previousElementSibling.remove();
  804. \t\t\t\t\t\t\t\troot.remove();
  805. \t\t\t\t\t\t\t}
  806. \t\t\t\t\t\t});
  807. \t\t\t\t\t});
  808. \t\t\t\t}
  809. \t\t\t\tif ('IntersectionObserver' in window) {
  810. \t\t\t\t\tconst observer = new IntersectionObserver((entries) => {
  811. \t\t\t\t\t\tif (entries[0].isIntersecting) {
  812. \t\t\t\t\t\t\tobserver.disconnect();
  813. \t\t\t\t\t\t\tgetProfiles();
  814. \t\t\t\t\t\t}
  815. \t\t\t\t\t}, { rootMargin: '100px' });
  816. \t\t\t\t\tobserver.observe(widgetElement);
  817. \t\t\t\t} else {
  818. \t\t\t\t\tgetProfiles();
  819. \t\t\t\t}
  820. \t\t\t});
  821. \t\t</script>
  822. \t{% endif %}
  823. \t{# {% set circle = app.request.get('_route') == 'profile_list.list_by_provided_service' ? inner_linkage_circle('service') : inner_linkage_circle('prostitutes') %}
  824. \t{% if circle is not null %}
  825. \t\t<div class=\"station-pages-linkage-circle\">
  826. \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 %}
  827. \t\t\t{% if circle[0] is defined and circle[0] is not null
  828. \t\t\t\tand circle[1] is defined and circle[1] is not null %}<i class=\"sep\"></i>{% endif %}
  829. \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 %}
  830. \t\t</div>
  831. \t{% endif %}
  832. \t{% set stations_circle = station_pages_linkage_circle() %}
  833. \t{% if stations_circle is not null %}
  834. \t\t<div class=\"station-pages-linkage-circle\">
  835. \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 %}
  836. \t\t\t{% if stations_circle[0] is defined and stations_circle[0] is not null
  837. \t\t\t\tand stations_circle[1] is defined and stations_circle[1] is not null %}<i class=\"sep\"></i>{% endif %}
  838. \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 %}
  839. \t\t</div>
  840. \t{% endif %}
  841. \t{% set cities_circle = city_main_pages_linkage_circle() %}
  842. \t{% if cities_circle is not null %}
  843. \t\t<div class=\"station-pages-linkage-circle\">
  844. \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 %}
  845. \t\t\t{% if cities_circle[0] is defined and cities_circle[0] is not null
  846. \t\t\t\tand cities_circle[1] is defined and cities_circle[1] is not null %}<i class=\"sep\"></i>{% endif %}
  847. \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 %}
  848. \t\t</div>
  849. \t{% endif %} #}
  850. \t{# {{ include('components/last_girl_list.html.twig') }} #}
  851. \t{# комменты анкет для листинга станции #}
  852.     {# {% include 'ProfileList/station_comments.partial.html.twig' %} #}
  853. \t{%- if isShowTopOnBottomSeo -%}
  854. \t\t{{- include ('__design/v2023/components/seo-article.html.twig', { 'type': 'top', \"noindex\": true }) -}}
  855. \t{%- endif -%}
  856. \t{%- if isShowBottomSeo -%}
  857. \t\t{{- include ('__design/v2023/components/seo-article.html.twig', { 'type': 'bottom', \"noindex\": true }) -}}
  858. \t{%- endif -%}
  859. {% endblock %}
  860. {% block javascripts %}
  861. \t{{parent()}}
  862. \t<script>
  863. \t\tconst listingRoute = '{{ app.request.attributes.get('_route') }}' == '' ? 'profile_list.list_by_city' : '{{ app.request.attributes.get('_route') }}';
  864.         window._lD = {
  865.             setLastViewedListing: listingRoute,
  866.             cityUrl: \"{{city.uriIdentity}}\",
  867.         };
  868. \t\twindow.siteData = {
  869. \t\t\tcity: \"{{ app.request.attributes.get('city', default_city()).uriIdentity }}\",
  870. \t\t\tstations: {
  871.                 {%- for station in stations() -%}
  872.                     \"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
  873.                 {%- endfor -%}
  874.             }
  875. \t\t};
  876. \t\t{# document.addEventListener('DOMContentLoaded', function() {
  877. \t\t\t{% if profiles and profiles.totalCount > 0 %}
  878. \t\t\t\t{%- set profilesId = profiles|map(p => p.id)|join(',') -%}
  879. \t\t\t\twindow.increase_shows({
  880. \t\t\t\t\tprofiles: [{{ profilesId }}],
  881. \t\t\t\t\troute: '{{ app.request.attributes.get('_route') }}',
  882. \t\t\t\t})
  883. \t\t\t{% endif %}
  884. \t\t}); #}
  885. \t\tdocument.addEventListener('header:update', (event) => {
  886. \t\t\tconst userData = event.detail?.data;
  887. \t\t\tif (userData.user && userData.role === 'advertiser') return;
  888. \t\t\t{% include 'ProfileList/_favorite-button.partial.script.js' %}
  889. \t\t})
  890. \t</script>
  891. {% endblock %}""ProfileList/list.html.twig""/app/templates/ProfileList/list.html.twig");
  892.     }
  893. }