var/cache/review/twig/62/62a359aaeebac0b82ecb7b1e20d4f0d4.php line 72

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