var/cache/review/twig/0d/0d58989539cf9ed0d0d5c5d439bcd47b.php line 74

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_bca99205c44e2f80e2fea3bb8b9d1a82 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.             'title' => [$this, 'block_title'],
  24.             'metaDescription' => [$this, 'block_metaDescription'],
  25.             'navbar' => [$this, 'block_navbar'],
  26.             'mainContainer' => [$this, 'block_mainContainer'],
  27.             'afterHeading' => [$this, 'block_afterHeading'],
  28.             'mainList' => [$this, 'block_mainList'],
  29.             'showMore' => [$this, 'block_showMore'],
  30.             'beforeFooter' => [$this, 'block_beforeFooter'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "grid.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros = $this->macros;
  41.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  42.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/list.html.twig"));
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/list.html.twig"));
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/list.html.twig"));
  47.         // line 3
  48.         $context["city"] = 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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 3);
  49.         // line 1
  50.         $this->parent = $this->loadTemplate("grid.html.twig", "ProfileList/list.html.twig", 1);
  51.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  52.         
  53.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  54.         
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.     }
  59.     // line 5
  60.     public function block_title($context, array $blocks = [])
  61.     {
  62.         $macros = $this->macros;
  63.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  64.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  69.         // line 6
  70.         echo "    ";
  71.         echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaTitle(), "html", null, true);
  72.         echo "
  73. ";
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  78.         
  79.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  80.     }
  81.     // line 9
  82.     public function block_metaDescription($context, array $blocks = [])
  83.     {
  84.         $macros = $this->macros;
  85.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  86.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
  91.         // line 10
  92.         echo "    <meta name=\"description\" content=\"";
  93.         echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaDescription(), "html", null, true);
  94.         echo "\">
  95. ";
  96.         
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98.         
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  100.         
  101.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  102.     }
  103.     // line 13
  104.     public function block_navbar($context, array $blocks = [])
  105.     {
  106.         $macros = $this->macros;
  107.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  108.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  113.         // line 14
  114.         echo "    ";
  115.         $this->displayParentBlock("navbar", $context, $blocks);
  116.         echo "
  117. ";
  118.         
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  120.         
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  122.         
  123.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  124.     }
  125.     // line 17
  126.     public function block_mainContainer($context, array $blocks = [])
  127.     {
  128.         $macros = $this->macros;
  129.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  130.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
  135.         // line 18
  136.         echo "    ";
  137.         echo $this->extensions['App\Twig\SeoExtension']->topHtml();
  138.         echo "
  139.     <h1>";
  140.         // line 19
  141.         echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
  142.         echo "</h1>
  143.     ";
  144.         // line 20
  145.         $this->displayBlock('afterHeading', $context, $blocks);
  146.         // line 21
  147.         echo "    ";
  148.         $this->loadTemplate("ProfileList/geo_category_linkage.partial.html.twig", "ProfileList/list.html.twig", 21)->display($context);
  149.         // line 22
  150.         echo "
  151.     ";
  152.         // line 23
  153.         if ((array_key_exists("homepage_city_listings_block", $context) && (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block", $context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.', 23, $this->source); })()))) {
  154.             // line 24
  155.             echo "        ";
  156.             if (twig_get_attribute($this->env, $this->source, (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block", $context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.', 24, $this->source); })()), "hasSaloons", [], "any", false, false, false, 24)) {
  157.                 // line 25
  158.                 echo "            <h3><a href=\"";
  159.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("saloon_list.list_by_city", ["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.', 25, $this->source); })()), "uriIdentity", [], "any", false, false, false, 25)]), "html", null, true);
  160.                 echo "\">Интим-салоны ";
  161.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.', 25, $this->source); })()), "name", [], "any", false, false, false, 25)), "html", null, true);
  162.                 echo "</a></h3>
  163.             <div class=\"row mb-3\">
  164.                 ";
  165.                 // line 27
  166.                 $this->loadTemplate("SaloonList/list.saloons.html.twig", "ProfileList/list.html.twig", 27)->display(twig_array_merge($context, ["saloons" => twig_get_attribute($this->env, $this->source, (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block", $context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.', 27, $this->source); })()), "saloons", [], "any", false, false, false, 27)]));
  167.                 // line 28
  168.                 echo "            </div>
  169.         ";
  170.             }
  171.             // line 30
  172.             echo "
  173.         ";
  174.             // line 31
  175.             if (twig_get_attribute($this->env, $this->source, (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block", $context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.', 31, $this->source); })()), "hasMasseurs", [], "any", false, false, false, 31)) {
  176.                 // line 32
  177.                 echo "            <h3><a href=\"";
  178.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("masseur_list.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.', 32, $this->source); })()), "uriIdentity", [], "any", false, false, false, 32)]), "html", null, true);
  179.                 echo "\">Массажистки ";
  180.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.', 32, $this->source); })()), "name", [], "any", false, false, false, 32)), "html", null, true);
  181.                 echo "</a></h3>
  182.             <div class=\"row mb-3\">
  183.                 ";
  184.                 // line 34
  185.                 $this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 34)->display(twig_array_merge($context, ["profiles" => twig_get_attribute($this->env, $this->source,                 // line 35
  186. (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block", $context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.', 35, $this->source); })()), "masseurs", [], "any", false, false, false, 35), "show_total_count" => false]));
  187.                 // line 38
  188.                 echo "            </div>
  189.         ";
  190.             }
  191.             // line 40
  192.             echo "    ";
  193.         }
  194.         // line 41
  195.         echo "
  196.     ";
  197.         // line 81
  198.         echo "
  199.     ";
  200.         // line 82
  201.         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.', 82, $this->source); })()));
  202.         echo "
  203.     ";
  204.         // line 84
  205.         $this->displayBlock('mainList', $context, $blocks);
  206.         // line 94
  207.         echo "
  208.     ";
  209.         // line 95
  210.         $this->displayBlock('showMore', $context, $blocks);
  211.         // line 98
  212.         echo "
  213.     ";
  214.         // line 99
  215.         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.', 99, $this->source); })()));
  216.         echo "
  217.     ";
  218.         // line 101
  219.         if ( !((array_key_exists("skip_listing_recommendations", $context)) ? (_twig_default_filter((isset($context["skip_listing_recommendations"]) || array_key_exists("skip_listing_recommendations", $context) ? $context["skip_listing_recommendations"] : (function () { throw new RuntimeError('Variable "skip_listing_recommendations" does not exist.', 101, $this->source); })()), false)) : (false))) {
  220.             // line 102
  221.             echo "        ";
  222.             if ((array_key_exists("ssr_recommended_profiles", $context) &&  !twig_test_empty((isset($context["ssr_recommended_profiles"]) || array_key_exists("ssr_recommended_profiles", $context) ? $context["ssr_recommended_profiles"] : (function () { throw new RuntimeError('Variable "ssr_recommended_profiles" does not exist.', 102, $this->source); })())))) {
  223.                 // line 103
  224.                 echo "            <h4>Рекомендуемые</h4>
  225.             <div class=\"row mb-3\">
  226.                 ";
  227.                 // line 105
  228.                 $this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 105)->display(twig_array_merge($context, ["profiles" =>                 // line 106
  229. (isset($context["ssr_recommended_profiles"]) || array_key_exists("ssr_recommended_profiles", $context) ? $context["ssr_recommended_profiles"] : (function () { throw new RuntimeError('Variable "ssr_recommended_profiles" does not exist.', 106, $this->source); })()), "show_total_count" => false]));
  230.                 // line 109
  231.                 echo "            </div>
  232.         ";
  233.             } else {
  234.                 // line 111
  235.                 echo "            ";
  236.                 $this->loadTemplate("Recommendations/_profile_recommendations.html.twig", "ProfileList/list.html.twig", 111)->display($context);
  237.                 // line 112
  238.                 echo "        ";
  239.             }
  240.             // line 113
  241.             echo "    ";
  242.         }
  243.         // line 114
  244.         echo "
  245.     ";
  246.         // line 115
  247.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
  248.         // line 116
  249.         echo "    ";
  250.         if ( !(null === (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 116, $this->source); })()))) {
  251.             // line 117
  252.             echo "        <div class=\"city_main_pages_linkage_circle\">
  253.             <h3>Также рекомендуем:</h3>
  254.             ";
  255.             // line 119
  256.             if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 119, $this->source); })()), 0, [], "array", false, false, false, 119))) {
  257.                 echo "<a href=\"";
  258.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 119, $this->source); })()), 0, [], "array", false, false, false, 119), "href", [], "any", false, false, false, 119), "html", null, true);
  259.                 echo "\"
  260.                                                     style=\"text-transform: capitalize;\">";
  261.                 // line 120
  262.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 120, $this->source); })()), 0, [], "array", false, false, false, 120), "text", [], "any", false, false, false, 120), "html", null, true);
  263.                 echo "</a>
  264.                 <br/>";
  265.             }
  266.             // line 122
  267.             echo "            ";
  268.             if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 122, $this->source); })()), 1, [], "array", false, false, false, 122))) {
  269.                 echo "<a href=\"";
  270.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 122, $this->source); })()), 1, [], "array", false, false, false, 122), "href", [], "any", false, false, false, 122), "html", null, true);
  271.                 echo "\"
  272.                                                     style=\"text-transform: capitalize;\">";
  273.                 // line 123
  274.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 123, $this->source); })()), 1, [], "array", false, false, false, 123), "text", [], "any", false, false, false, 123), "html", null, true);
  275.                 echo "</a>";
  276.             }
  277.             // line 124
  278.             echo "        </div>
  279.     ";
  280.         }
  281.         // line 126
  282.         echo "
  283.     ";
  284.         // line 127
  285.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageByCountriesExtension']->cityMainPagesLinkageCircleByCountries();
  286.         // line 128
  287.         echo "    ";
  288.         if ( !(null === (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 128, $this->source); })()))) {
  289.             // line 129
  290.             echo "        <div class=\"city_main_pages_linkage_circle\">
  291.             <h3>Также рекомендуем:</h3>
  292.             ";
  293.             // line 131
  294.             if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 131, $this->source); })()), 0, [], "array", false, false, false, 131))) {
  295.                 echo "<a href=\"";
  296.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 131, $this->source); })()), 0, [], "array", false, false, false, 131), "href", [], "any", false, false, false, 131), "html", null, true);
  297.                 echo "\"
  298.                                                     style=\"text-transform: capitalize;\">";
  299.                 // line 132
  300.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 132, $this->source); })()), 0, [], "array", false, false, false, 132), "text", [], "any", false, false, false, 132), "html", null, true);
  301.                 echo "</a>
  302.                 <br/>";
  303.             }
  304.             // line 134
  305.             echo "            ";
  306.             if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 134, $this->source); })()), 1, [], "array", false, false, false, 134))) {
  307.                 echo "<a href=\"";
  308.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 134, $this->source); })()), 1, [], "array", false, false, false, 134), "href", [], "any", false, false, false, 134), "html", null, true);
  309.                 echo "\"
  310.                                                     style=\"text-transform: capitalize;\">";
  311.                 // line 135
  312.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle", $context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.', 135, $this->source); })()), 1, [], "array", false, false, false, 135), "text", [], "any", false, false, false, 135), "html", null, true);
  313.                 echo "</a>";
  314.             }
  315.             // line 136
  316.             echo "        </div>
  317.     ";
  318.         }
  319.         // line 138
  320.         echo "
  321.     ";
  322.         // line 145
  323.         echo "    ";
  324.         $context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle("prostitutes");
  325.         // line 146
  326.         echo "    ";
  327.         if ( !(null === (isset($context["circle"]) || array_key_exists("circle", $context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.', 146, $this->source); })()))) {
  328.             // line 147
  329.             echo "        <div class=\"inner_linkage_circle\">
  330.             <h3>Также интересуются:</h3>
  331.             <a href=\"";
  332.             // line 149
  333.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["circle"]) || array_key_exists("circle", $context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.', 149, $this->source); })()), 0, [], "array", false, false, false, 149), "href", [], "any", false, false, false, 149), "html", null, true);
  334.             echo "\">";
  335.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["circle"]) || array_key_exists("circle", $context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.', 149, $this->source); })()), 0, [], "array", false, false, false, 149), "text", [], "any", false, false, false, 149), "html", null, true);
  336.             echo "</a><br/>
  337.             <a href=\"";
  338.             // line 150
  339.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["circle"]) || array_key_exists("circle", $context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.', 150, $this->source); })()), 1, [], "array", false, false, false, 150), "href", [], "any", false, false, false, 150), "html", null, true);
  340.             echo "\">";
  341.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["circle"]) || array_key_exists("circle", $context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.', 150, $this->source); })()), 1, [], "array", false, false, false, 150), "text", [], "any", false, false, false, 150), "html", null, true);
  342.             echo "</a>
  343.         </div>
  344.     ";
  345.         }
  346.         // line 153
  347.         echo "
  348.     ";
  349.         // line 154
  350.         $context["districts_circle"] = $this->extensions['App\Twig\DistrictsLinkageExtension']->districtsLinkageCircle();
  351.         // line 155
  352.         echo "    ";
  353.         if ( !(null === (isset($context["districts_circle"]) || array_key_exists("districts_circle", $context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.', 155, $this->source); })()))) {
  354.             // line 156
  355.             echo "        <div class=\"city_main_pages_linkage_circle\">
  356.             <h3>Также интересуются:</h3>
  357.             ";
  358.             // line 158
  359.             if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle", $context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.', 158, $this->source); })()), 0, [], "array", false, false, false, 158))) {
  360.                 echo "<a href=\"";
  361.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle", $context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.', 158, $this->source); })()), 0, [], "array", false, false, false, 158), "href", [], "any", false, false, false, 158), "html", null, true);
  362.                 echo "\"
  363.                                                        style=\"text-transform: capitalize;\">";
  364.                 // line 159
  365.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle", $context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.', 159, $this->source); })()), 0, [], "array", false, false, false, 159), "text", [], "any", false, false, false, 159), "html", null, true);
  366.                 echo "</a>
  367.                 <br/>";
  368.             }
  369.             // line 161
  370.             echo "            ";
  371.             if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle", $context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.', 161, $this->source); })()), 1, [], "array", false, false, false, 161))) {
  372.                 echo "<a href=\"";
  373.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle", $context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.', 161, $this->source); })()), 1, [], "array", false, false, false, 161), "href", [], "any", false, false, false, 161), "html", null, true);
  374.                 echo "\"
  375.                                                        style=\"text-transform: capitalize;\">";
  376.                 // line 162
  377.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle", $context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.', 162, $this->source); })()), 1, [], "array", false, false, false, 162), "text", [], "any", false, false, false, 162), "html", null, true);
  378.                 echo "</a>";
  379.             }
  380.             // line 163
  381.             echo "        </div>
  382.     ";
  383.         }
  384.         // line 165
  385.         echo "
  386.     ";
  387.         // line 166
  388.         $context["stations_circle"] = $this->extensions['App\Twig\StationPagesLinkageExtension']->stationMainPagesLinkageCircle();
  389.         // line 167
  390.         echo "    ";
  391.         if ( !(null === (isset($context["stations_circle"]) || array_key_exists("stations_circle", $context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.', 167, $this->source); })()))) {
  392.             // line 168
  393.             echo "        <div class=\"station_pages_linkage_circle\">
  394.             <h3>Также интересуются:</h3>
  395.             ";
  396.             // line 170
  397.             if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle", $context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.', 170, $this->source); })()), 0, [], "array", false, false, false, 170))) {
  398.                 echo "<a
  399.                 href=\"";
  400.                 // line 171
  401.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle", $context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.', 171, $this->source); })()), 0, [], "array", false, false, false, 171), "href", [], "any", false, false, false, 171), "html", null, true);
  402.                 echo "\">";
  403.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle", $context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.', 171, $this->source); })()), 0, [], "array", false, false, false, 171), "text", [], "any", false, false, false, 171), "html", null, true);
  404.                 echo "</a><br/>";
  405.             }
  406.             // line 172
  407.             echo "            ";
  408.             if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle", $context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.', 172, $this->source); })()), 1, [], "array", false, false, false, 172))) {
  409.                 echo "<a
  410.                 href=\"";
  411.                 // line 173
  412.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle", $context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.', 173, $this->source); })()), 1, [], "array", false, false, false, 173), "href", [], "any", false, false, false, 173), "html", null, true);
  413.                 echo "\">";
  414.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle", $context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.', 173, $this->source); })()), 1, [], "array", false, false, false, 173), "text", [], "any", false, false, false, 173), "html", null, true);
  415.                 echo "</a>";
  416.             }
  417.             // line 174
  418.             echo "        </div>
  419.     ";
  420.         }
  421.         // line 176
  422.         echo "
  423.     ";
  424.         // line 177
  425.         $this->displayBlock('beforeFooter', $context, $blocks);
  426.         // line 178
  427.         echo "
  428.     ";
  429.         // line 179
  430.         $this->loadTemplate("last_girl_list.html.twig", "ProfileList/list.html.twig", 179)->display($context);
  431.         // line 180
  432.         echo "
  433.     ";
  434.         // line 182
  435.         echo "    ";
  436.         $this->loadTemplate("ProfileList/station_comments.partial.html.twig", "ProfileList/list.html.twig", 182)->display($context);
  437.         // line 183
  438.         echo "
  439.     ";
  440.         // line 184
  441.         $this->loadTemplate("ProfileList/profile_filter.partial.html.twig", "ProfileList/list.html.twig", 184)->display($context);
  442.         // line 185
  443.         echo "
  444.     <h3>Виджет Анкеты по категориям</h3>
  445.     <div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
  446.     <script type=\"text/javascript\">
  447.         ";
  448.         // line 190
  449.         $context["route"] = 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.', 190, $this->source); })()), "request", [], "any", false, false, false, 190), "get", ["_route"], "method", false, false, false, 190);
  450.         // line 191
  451.         echo "        ";
  452.         if (((        // line 192
  453. (isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 192, $this->source); })()) == "homepage") || ((        // line 193
  454. (isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 193, $this->source); })()) == "profile_list.list_by_city") && (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.', 193, $this->source); })()), "request", [], "any", false, false, false, 193), "get", ["city"], "method", false, false, false, 193), "id", [], "any", false, false, false, 193) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any", false, false, false, 193))))) {
  455.             // line 194
  456.             echo "        document.addEventListener('DOMContentLoaded', _ => {
  457.             fetch('";
  458.             // line 195
  459.             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.', 195, $this->source); })()), "request", [], "any", false, false, false, 195), "attributes", [], "any", false, false, false, 195), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 195), "uriIdentity", [], "any", false, false, false, 195)]), "html", null, true);
  460.             echo "', {
  461.                 method: 'GET',
  462.                 headers: {
  463.                     \"X-Requested-With\": \"XMLHttpRequest\"
  464.                 },
  465.             }).then(response => {
  466.                 if (response.status < 300) {
  467.                     return response.text();
  468.                 } else {
  469.                     console.warn(\"🤔\");
  470.                     return null;
  471.                 }
  472.             }).then(response => {
  473.                 document.querySelector('#widget_profiles_by_categories').innerHTML = response;
  474.                 if (typeof filterData === 'function') {
  475.                     filterData();
  476.                 }
  477.             });
  478.         });
  479.         ";
  480.         }
  481.         // line 215
  482.         echo "    </script>
  483.     <script type=\"text/javascript\">
  484.         document.addEventListener('DOMContentLoaded', function () {
  485.             const profileNodes = document.querySelectorAll('[data-profile-id]');
  486.             if (!profileNodes.length) {
  487.                 return;
  488.             }
  489.             const profileIds = Array.from(profileNodes)
  490.                 .map(node => parseInt(node.dataset.profileId, 10))
  491.                 .filter(Number.isInteger);
  492.             if (!profileIds.length) {
  493.                 return;
  494.             }
  495.             fetch('";
  496.         // line 232
  497.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_ctr.increase_shows");
  498.         echo "', {
  499.                 method: 'POST',
  500.                 headers: {
  501.                     'Content-Type': 'application/json',
  502.                     'X-Requested-With': 'XMLHttpRequest',
  503.                 },
  504.                 body: JSON.stringify({
  505.                     profiles: profileIds,
  506.                     source: '";
  507.         // line 240
  508.         echo twig_escape_filter($this->env, ((array_key_exists("source", $context)) ? (_twig_default_filter((isset($context["source"]) || array_key_exists("source", $context) ? $context["source"] : (function () { throw new RuntimeError('Variable "source" does not exist.', 240, $this->source); })()), "")) : ("")), "html", null, true);
  509.         echo "',
  510.                 }),
  511.             });
  512.         });
  513.     </script>
  514. ";
  515.         
  516.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  517.         
  518.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  519.         
  520.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  521.     }
  522.     // line 20
  523.     public function block_afterHeading($context, array $blocks = [])
  524.     {
  525.         $macros = $this->macros;
  526.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  527.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterHeading"));
  528.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  529.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterHeading"));
  530.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  531.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterHeading"));
  532.         
  533.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  534.         
  535.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  536.         
  537.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  538.     }
  539.     // line 84
  540.     public function block_mainList($context, array $blocks = [])
  541.     {
  542.         $macros = $this->macros;
  543.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  544.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainList"));
  545.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  546.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainList"));
  547.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  548.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainList"));
  549.         // line 85
  550.         echo "        <div
  551.             id=\"profile-list\"
  552.             class=\"row mb-3\"
  553.             data-recommendations-fill-applied=\"";
  554.         // line 88
  555.         echo ((((array_key_exists("recommendations_fill_applied", $context)) ? (_twig_default_filter((isset($context["recommendations_fill_applied"]) || array_key_exists("recommendations_fill_applied", $context) ? $context["recommendations_fill_applied"] : (function () { throw new RuntimeError('Variable "recommendations_fill_applied" does not exist.', 88, $this->source); })()), false)) : (false))) ? (1) : (0));
  556.         echo "\"
  557.             data-recommendations-fill-original-count=\"";
  558.         // line 89
  559.         echo twig_escape_filter($this->env, ((array_key_exists("recommendations_fill_original_count", $context)) ? (_twig_default_filter((isset($context["recommendations_fill_original_count"]) || array_key_exists("recommendations_fill_original_count", $context) ? $context["recommendations_fill_original_count"] : (function () { throw new RuntimeError('Variable "recommendations_fill_original_count" does not exist.', 89, $this->source); })()), ((twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", true, true, false, 89)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", false, false, false, 89), 0)) : (0)))) : (((twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", true, true, false, 89)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", false, false, false, 89), 0)) : (0)))), "html", null, true);
  560.         echo "\"
  561.         >
  562.             ";
  563.         // line 91
  564.         $this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 91)->display($context);
  565.         // line 92
  566.         echo "        </div>
  567.     ";
  568.         
  569.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  570.         
  571.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  572.         
  573.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  574.     }
  575.     // line 95
  576.     public function block_showMore($context, array $blocks = [])
  577.     {
  578.         $macros = $this->macros;
  579.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  580.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "showMore"));
  581.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  582.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "showMore"));
  583.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  584.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "showMore"));
  585.         // line 96
  586.         echo "        ";
  587.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig", "ProfileList/list.html.twig", 96)->display($context);
  588.         // line 97
  589.         echo "    ";
  590.         
  591.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  592.         
  593.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  594.         
  595.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  596.     }
  597.     // line 177
  598.     public function block_beforeFooter($context, array $blocks = [])
  599.     {
  600.         $macros = $this->macros;
  601.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  602.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeFooter"));
  603.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  604.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeFooter"));
  605.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  606.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeFooter"));
  607.         
  608.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  609.         
  610.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  611.         
  612.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  613.     }
  614.     /**
  615.      * @codeCoverageIgnore
  616.      */
  617.     public function getTemplateName()
  618.     {
  619.         return "ProfileList/list.html.twig";
  620.     }
  621.     /**
  622.      * @codeCoverageIgnore
  623.      */
  624.     public function isTraitable()
  625.     {
  626.         return false;
  627.     }
  628.     /**
  629.      * @codeCoverageIgnore
  630.      */
  631.     public function getDebugInfo()
  632.     {
  633.         return array (  669 => 177,  656 => 97,  653 => 96,  640 => 95,  626 => 92,  624 => 91,  619 => 89,  615 => 88,  610 => 85,  597 => 84,  573 => 20,  553 => 240,  542 => 232,  523 => 215,  500 => 195,  497 => 194,  495 => 193,  494 => 192,  492 => 191,  490 => 190,  483 => 185,  481 => 184,  478 => 183,  475 => 182,  472 => 180,  470 => 179,  467 => 178,  465 => 177,  462 => 176,  458 => 174,  452 => 173,  447 => 172,  441 => 171,  437 => 170,  433 => 168,  430 => 167,  428 => 166,  425 => 165,  421 => 163,  417 => 162,  410 => 161,  405 => 159,  399 => 158,  395 => 156,  392 => 155,  390 => 154,  387 => 153,  379 => 150,  373 => 149,  369 => 147,  366 => 146,  363 => 145,  360 => 138,  356 => 136,  352 => 135,  345 => 134,  340 => 132,  334 => 131,  330 => 129,  327 => 128,  325 => 127,  322 => 126,  318 => 124,  314 => 123,  307 => 122,  302 => 120,  296 => 119,  292 => 117,  289 => 116,  287 => 115,  284 => 114,  281 => 113,  278 => 112,  275 => 111,  271 => 109,  269 => 106,  268 => 105,  264 => 103,  261 => 102,  259 => 101,  254 => 99,  251 => 98,  249 => 95,  246 => 94,  244 => 84,  239 => 82,  236 => 81,  233 => 41,  230 => 40,  226 => 38,  224 => 35,  223 => 34,  215 => 32,  213 => 31,  210 => 30,  206 => 28,  204 => 27,  196 => 25,  193 => 24,  191 => 23,  188 => 22,  185 => 21,  183 => 20,  179 => 19,  174 => 18,  161 => 17,  145 => 14,  132 => 13,  116 => 10,  103 => 9,  87 => 6,  74 => 5,  60 => 1,  58 => 3,  42 => 1,);
  634.     }
  635.     public function getSourceContext()
  636.     {
  637.         return new Source("{% extends 'grid.html.twig' %}
  638. {% set city = app.request.get('city', default_city()) %}
  639. {% block title %}
  640.     {{ seo_title() }}
  641. {% endblock %}
  642. {% block metaDescription %}
  643.     <meta name=\"description\" content=\"{{ seo_description() }}\">
  644. {% endblock %}
  645. {% block navbar %}
  646.     {{ parent() }}
  647. {% endblock %}
  648. {% block mainContainer %}
  649.     {{ seo_top() }}
  650.     <h1>{{ seo_heading() }}</h1>
  651.     {% block afterHeading %}{% endblock %}
  652.     {% include 'ProfileList/geo_category_linkage.partial.html.twig' %}
  653.     {% if homepage_city_listings_block is defined and homepage_city_listings_block %}
  654.         {% if homepage_city_listings_block.hasSaloons %}
  655.             <h3><a href=\"{{ path('saloon_list.list_by_city', {city: city.uriIdentity}) }}\">Интим-салоны {{ city.name|trans }}</a></h3>
  656.             <div class=\"row mb-3\">
  657.                 {% include 'SaloonList/list.saloons.html.twig' with { 'saloons': homepage_city_listings_block.saloons } %}
  658.             </div>
  659.         {% endif %}
  660.         {% if homepage_city_listings_block.hasMasseurs %}
  661.             <h3><a href=\"{{ path('masseur_list.page', {city: city.uriIdentity}) }}\">Массажистки {{ city.name|trans }}</a></h3>
  662.             <div class=\"row mb-3\">
  663.                 {% include 'ProfileList/list.profiles.html.twig' with {
  664.                     'profiles': homepage_city_listings_block.masseurs,
  665.                     'show_total_count': false
  666.                 } %}
  667.             </div>
  668.         {% endif %}
  669.     {% endif %}
  670.     {#
  671.     {% if source is defined and source %}
  672.     <h6 style=\"background-color: #ee4056;height: 20px;\">
  673.         {% if source == 'county' %}К сожалению, все девушки из округа <a href=\"{{ category_url }}\">{{ county.name }}</a> сейчас отдыхают, посмотрите проституток из других округов города {{ city.name|trans }}.{% endif %}
  674.         {% if source == 'district' %}К сожалению, все девушки из района <a href=\"{{ category_url }}\">{{ district.name }}</a> сейчас отдыхают, посмотрите проституток из других районов города {{ city.name|trans }}.{% endif %}
  675.         {% if source == 'station' %}К сожалению, все девушки работающие вблизи метро <a href=\"{{ category_url }}\">{{ station.name }}</a> сейчас отдыхают, посмотрите проституток у других станций метро в этом районе города {{ city.name|trans }}.{% endif %}
  676.         {% if source == 'approved' or source == 'with_comments' or  source == 'with_video' or source == 'elite' or source == 'with_selfie' %}
  677.             {% if source == 'approved' %}
  678.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_approved', {city:city.uriIdentity}) ~ '\">Проверенные анкеты</a>' %}
  679.             {% elseif source == 'with_comments' %}
  680.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_comments', {city:city.uriIdentity}) ~ '\">Анкеты с отзывами</a>' %}
  681.             {% elseif source == 'with_video' %}
  682.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_video', {city:city.uriIdentity}) ~ '\">Анкеты с видео</a>' %}
  683.             {% elseif source == 'with_selfie' %}
  684.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_selfie', {city:city.uriIdentity}) ~ '\">Анкеты с селфи</a>' %}
  685.             {% elseif source == 'with_whatsapp' %}
  686.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_whatsapp', {city:city.uriIdentity}) ~ '\">Анкеты с WhatsApp</a>' %}
  687.             {% elseif source == 'with_telegram' %}
  688.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_telegram', {city:city.uriIdentity}) ~ '\">Анкеты с Telegram</a>' %}
  689.             {% elseif source == 'elite' %}
  690.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '\">Элитные проститутки</a>' %}
  691.             {% else %}
  692.                 {% set source_name = '' %}
  693.             {% endif %}
  694.             {% if source_default == 'approved' %}К сожалению, все <a href=\"{{ category_url }}\">проверенные девушки</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  695.             {% if source_default == 'with_comments' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть отзывы</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  696.             {% if source_default == 'with_video' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть видео</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  697.             {% if source_default == 'with_selfie' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть селфи</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  698.             {% if source_default == 'with_whatsapp' %}К сожалению, все <a href=\"{{ category_url }}\">девушки с WhatsApp</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  699.             {% if source_default == 'with_telegram' %}К сожалению, все <a href=\"{{ category_url }}\">девушки с Telegram</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  700.         {% endif %}
  701.         {% if source == 'by_params' %}К сожалению, раздел пуст. Посмотрите другие анкеты, которые мы подобрали для Вас.{% endif %}
  702.         {% if source == 'service' %}К сожалению, все девушки, которые практикуют услугу <a href=\"{{ category_url }}\">{{ service.name }}</a> сейчас отдыхают. Но мы подобрали для Вас девушек которые не против оказать Вам похожие услуги, взгляните!{% endif %}
  703.         {% if source == 'city' %}К сожалению, данный раздел пуст. Взгляните на другие анкеты, которые мы нашли для Вас в городе {{ city.name|trans }}.{% endif %}
  704.         {% if source == 'country' %}К сожалению, данный раздел пуст. Взгляните на анкеты которые мы подобрали для Вас.{% endif %}
  705.         {% if source == 'massage_service' %}К сожалению, все девушки для которых массаж — это призвание сейчас отдыхают. Посмотрите проституток, которые также готовы сделать Вам массаж.{% endif %}
  706.     </h6>
  707.     {% endif %}
  708.     #}
  709.     {{ porpaginas_render(profiles) }}
  710.     {% block mainList %}
  711.         <div
  712.             id=\"profile-list\"
  713.             class=\"row mb-3\"
  714.             data-recommendations-fill-applied=\"{{ recommendations_fill_applied|default(false) ? 1 : 0 }}\"
  715.             data-recommendations-fill-original-count=\"{{ recommendations_fill_original_count|default(profiles.totalCount|default(0)) }}\"
  716.         >
  717.             {% include 'ProfileList/list.profiles.html.twig' %}
  718.         </div>
  719.     {% endblock %}
  720.     {% block showMore %}
  721.         {% include 'ProfileList/_show_more.profiles.html.twig' %}
  722.     {% endblock showMore %}
  723.     {{ porpaginas_render(profiles) }}
  724.     {% if not skip_listing_recommendations|default(false) %}
  725.         {% if ssr_recommended_profiles is defined and ssr_recommended_profiles is not empty %}
  726.             <h4>Рекомендуемые</h4>
  727.             <div class=\"row mb-3\">
  728.                 {% include 'ProfileList/list.profiles.html.twig' with {
  729.                     profiles: ssr_recommended_profiles,
  730.                     show_total_count: false
  731.                 } %}
  732.             </div>
  733.         {% else %}
  734.             {% include 'Recommendations/_profile_recommendations.html.twig' %}
  735.         {% endif %}
  736.     {% endif %}
  737.     {% set cities_circle = city_main_pages_linkage_circle() %}
  738.     {% if cities_circle is not null %}
  739.         <div class=\"city_main_pages_linkage_circle\">
  740.             <h3>Также рекомендуем:</h3>
  741.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"
  742.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a>
  743.                 <br/>{% endif %}
  744.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\"
  745.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
  746.         </div>
  747.     {% endif %}
  748.     {% set cities_circle = city_main_pages_linkage_by_countries_circle() %}
  749.     {% if cities_circle is not null %}
  750.         <div class=\"city_main_pages_linkage_circle\">
  751.             <h3>Также рекомендуем:</h3>
  752.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"
  753.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a>
  754.                 <br/>{% endif %}
  755.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\"
  756.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
  757.         </div>
  758.     {% endif %}
  759.     {#
  760.     если указать в вызове параметр kind, напр. 'myCustomKind', то из перевода будут браться соответственно
  761.     MYCUSTOMKIND_FIRST_ и MYCUSTOMKIND_SECOND_ + падеж указанный в конфиге кольцовки, напр. MYCUSTOMKIND_FIRST_NOMINATIVE
  762.     можно использовать вызов без параметра, тогда из перевода будут браться соответственно PROSTITUTES_ и INDIVIDUALS_ с соответствующими падежfvb
  763.     #}
  764.     {% set circle = inner_linkage_circle('prostitutes') %}
  765.     {% if circle is not null %}
  766.         <div class=\"inner_linkage_circle\">
  767.             <h3>Также интересуются:</h3>
  768.             <a href=\"{{ circle[0].href }}\">{{ circle[0].text }}</a><br/>
  769.             <a href=\"{{ circle[1].href }}\">{{ circle[1].text }}</a>
  770.         </div>
  771.     {% endif %}
  772.     {% set districts_circle = districts_linkage_circle() %}
  773.     {% if districts_circle is not null %}
  774.         <div class=\"city_main_pages_linkage_circle\">
  775.             <h3>Также интересуются:</h3>
  776.             {% if districts_circle[0] is not null %}<a href=\"{{ districts_circle[0].href }}\"
  777.                                                        style=\"text-transform: capitalize;\">{{ districts_circle[0].text }}</a>
  778.                 <br/>{% endif %}
  779.             {% if districts_circle[1] is not null %}<a href=\"{{ districts_circle[1].href }}\"
  780.                                                        style=\"text-transform: capitalize;\">{{ districts_circle[1].text }}</a>{% endif %}
  781.         </div>
  782.     {% endif %}
  783.     {% set stations_circle = station_pages_linkage_circle() %}
  784.     {% if stations_circle is not null %}
  785.         <div class=\"station_pages_linkage_circle\">
  786.             <h3>Также интересуются:</h3>
  787.             {% if stations_circle[0] is not null %}<a
  788.                 href=\"{{ stations_circle[0].href }}\">{{ stations_circle[0].text }}</a><br/>{% endif %}
  789.             {% if stations_circle[1] is not null %}<a
  790.                 href=\"{{ stations_circle[1].href }}\">{{ stations_circle[1].text }}</a>{% endif %}
  791.         </div>
  792.     {% endif %}
  793.     {% block beforeFooter %}{% endblock %}
  794.     {% include 'last_girl_list.html.twig' %}
  795.     {# комменты анкет для листинга станции #}
  796.     {% include 'ProfileList/station_comments.partial.html.twig' %}
  797.     {% include 'ProfileList/profile_filter.partial.html.twig' %}
  798.     <h3>Виджет Анкеты по категориям</h3>
  799.     <div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
  800.     <script type=\"text/javascript\">
  801.         {% set route = app.request.get('_route') %}
  802.         {% if
  803.             route == 'homepage'
  804.             or (route == 'profile_list.list_by_city' and app.request.get('city').id == default_city().id) %}
  805.         document.addEventListener('DOMContentLoaded', _ => {
  806.             fetch('{{ path('profile_widget.by_categories', {city: app.request.attributes.get('city', default_city()).uriIdentity}) }}', {
  807.                 method: 'GET',
  808.                 headers: {
  809.                     \"X-Requested-With\": \"XMLHttpRequest\"
  810.                 },
  811.             }).then(response => {
  812.                 if (response.status < 300) {
  813.                     return response.text();
  814.                 } else {
  815.                     console.warn(\"🤔\");
  816.                     return null;
  817.                 }
  818.             }).then(response => {
  819.                 document.querySelector('#widget_profiles_by_categories').innerHTML = response;
  820.                 if (typeof filterData === 'function') {
  821.                     filterData();
  822.                 }
  823.             });
  824.         });
  825.         {% endif %}
  826.     </script>
  827.     <script type=\"text/javascript\">
  828.         document.addEventListener('DOMContentLoaded', function () {
  829.             const profileNodes = document.querySelectorAll('[data-profile-id]');
  830.             if (!profileNodes.length) {
  831.                 return;
  832.             }
  833.             const profileIds = Array.from(profileNodes)
  834.                 .map(node => parseInt(node.dataset.profileId, 10))
  835.                 .filter(Number.isInteger);
  836.             if (!profileIds.length) {
  837.                 return;
  838.             }
  839.             fetch('{{ path('profile_ctr.increase_shows') }}', {
  840.                 method: 'POST',
  841.                 headers: {
  842.                     'Content-Type': 'application/json',
  843.                     'X-Requested-With': 'XMLHttpRequest',
  844.                 },
  845.                 body: JSON.stringify({
  846.                     profiles: profileIds,
  847.                     source: '{{ source|default('') }}',
  848.                 }),
  849.             });
  850.         });
  851.     </script>
  852. {% endblock %}
  853. ", "ProfileList/list.html.twig", "/app/templates/ProfileList/list.html.twig");
  854.     }
  855. }