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