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