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

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* ProfileList/list.html.twig */
  14. class __TwigTemplate_09c006177d0309b7aaecc091c4a4831a extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'metaDescription' => [$this'block_metaDescription'],
  25.             'name_page' => [$this'block_name_page'],
  26.             'current_menu_map' => [$this'block_current_menu_map'],
  27.             'canonical' => [$this'block_canonical'],
  28.             'mainContainer' => [$this'block_mainContainer'],
  29.             'profileList' => [$this'block_profileList'],
  30.             'javascripts' => [$this'block_javascripts'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "grid.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  42.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  47.         // line 3
  48.         $context["listingPage"] = (twig_get_attribute($this->env$this->source, ($context["profiles"] ?? null), "currentPage", [], "any"truetruefalse3) && (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'3$this->source); })()), "currentPage", [], "any"falsefalsefalse3) > 1));
  49.         // line 4
  50.         $context["isFirstPage"] = (twig_get_attribute($this->env$this->source, ($context["profiles"] ?? null), "currentPage", [], "any"truetruefalse4) && (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'4$this->source); })()), "currentPage", [], "any"falsefalsefalse4) == 1));
  51.         // line 5
  52.         $context["forYandex"] = ((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.'5$this->source); })()), "request", [], "any"falsefalsefalse5), "requestUri", [], "any"falsefalsefalse5) == "/") && ((isset($context["page_metadata_variant"]) || array_key_exists("page_metadata_variant"$context) ? $context["page_metadata_variant"] : (function () { throw new RuntimeError('Variable "page_metadata_variant" does not exist.'5$this->source); })()) == "yandex"));
  53.         // line 1
  54.         $this->parent $this->loadTemplate("grid.html.twig""ProfileList/list.html.twig"1);
  55.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  56.         
  57.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.     }
  63.     // line 7
  64.     public function block_title($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  68.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  73.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaTitle(), "html"nulltrue);
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  78.         
  79.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  80.     }
  81.     // line 9
  82.     public function block_metaDescription($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  86.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  91.         // line 10
  92.         echo "\t<meta name=\"description\" content=\"";
  93.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaDescription(), "html"nulltrue);
  94.         echo "\">
  95. ";
  96.         
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98.         
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  100.         
  101.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  102.     }
  103.     // line 13
  104.     public function block_name_page($context, array $blocks = [])
  105.     {
  106.         $macros $this->macros;
  107.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  108.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  113.         echo "girls-list";
  114.         
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  116.         
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  118.         
  119.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  120.     }
  121.     // line 14
  122.     public function block_current_menu_map($context, array $blocks = [])
  123.     {
  124.         $macros $this->macros;
  125.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  126.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""current_menu_map"));
  127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""current_menu_map"));
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""current_menu_map"));
  131.         echo " current";
  132.         
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  134.         
  135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  136.         
  137.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  138.     }
  139.     // line 16
  140.     public function block_canonical($context, array $blocks = [])
  141.     {
  142.         $macros $this->macros;
  143.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  144.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  145.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  149.         echo "<link rel=\"canonical\" href=\"";
  150.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->canonicalUrl(), "html"nulltrue);
  151.         (((isset($context["listingPage"]) || array_key_exists("listingPage"$context) ? $context["listingPage"] : (function () { throw new RuntimeError('Variable "listingPage" does not exist.'16$this->source); })())) ? (print (twig_escape_filter($this->env, (("page" twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'16$this->source); })()), "currentPage", [], "any"falsefalsefalse16)) . "/"), "html"nulltrue))) : (print ("")));
  152.         echo "\">";
  153.         
  154.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  155.         
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  157.         
  158.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  159.     }
  160.     // line 18
  161.     public function block_mainContainer($context, array $blocks = [])
  162.     {
  163.         $macros $this->macros;
  164.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  165.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  170.         // line 19
  171.         echo "\t";
  172.         $context["excludeRecommendationProfileIds"] = [];
  173.         // line 20
  174.         echo "
  175. \t";
  176.         // line 21
  177.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "_menu/breadcrumbs.html.twig"]);
  178.         echo "
  179. \t<header class=\"list_heading border-line\" role=\"heading\">
  180. \t\t<div class=\"list_heading-inner\">
  181. \t\t\t<h1 class=\"list_heading__title\" role=\"heading\">";
  182.         // line 25
  183.         if ((isset($context["forYandex"]) || array_key_exists("forYandex"$context) ? $context["forYandex"] : (function () { throw new RuntimeError('Variable "forYandex" does not exist.'25$this->source); })())) {
  184.             echo "Проститутки Москвы индивидуалки";
  185.         } else {
  186.             echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
  187.         }
  188.         echo "</h1>
  189. \t\t\t<span class=\"list_heading__count\">";
  190.         // line 26
  191.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'26$this->source); })()), "totalCount", [], "any"falsefalsefalse26), "html"nulltrue);
  192.         echo "</span>
  193. \t\t</div>
  194. \t</header>
  195. \t";
  196.         // line 31
  197.         echo "
  198. \t";
  199.         // line 104
  200.         echo "
  201. \t<div class=\"profiles-items-row\" id=\"profile-list\">
  202. \t\t";
  203.         // line 106
  204.         $this->displayBlock('profileList'$context$blocks);
  205.         // line 109
  206.         echo "\t</div>
  207.     ";
  208.         // line 111
  209.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig""ProfileList/list.html.twig"111)->display($context);
  210.         // line 112
  211.         echo "\t";
  212.         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.'112$this->source); })()));
  213.         echo "
  214. \t";
  215.         // line 122
  216.         echo "\t";
  217.         // line 132
  218.         echo "
  219. \t";
  220.         // line 152
  221.         echo "
  222.     ";
  223.         // line 161
  224.         echo "\t";
  225.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'161$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'161$this->source); })()), "currentPage", [], "any"falsefalsefalse161) >= 2))) {
  226.             // line 162
  227.             echo "\t\t";
  228.             echo twig_include($this->env$context"components/_profile_recommendations.html.twig", ["classname" => "recommendations-list-page"]);
  229.             echo "
  230. \t";
  231.         }
  232.         // line 164
  233.         echo "
  234. \t";
  235.         // line 166
  236.         echo "\t";
  237.         // line 167
  238.         echo "\t\t";
  239.         // line 168
  240.         echo "\t";
  241.         // line 169
  242.         echo "\t";
  243.         if ((isset($context["isFirstPage"]) || array_key_exists("isFirstPage"$context) ? $context["isFirstPage"] : (function () { throw new RuntimeError('Variable "isFirstPage" does not exist.'169$this->source); })())) {
  244.             // line 170
  245.             echo "\t";
  246.             echo twig_include($this->env$context"components/seo.partial.twig", ["type" => "top"]);
  247.             echo "
  248. \t";
  249.             // line 171
  250.             echo twig_include($this->env$context"components/seo.partial.twig", ["type" => "bottom"]);
  251.             echo "
  252. \t";
  253.         }
  254.         
  255.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  256.         
  257.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  258.         
  259.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  260.     }
  261.     // line 106
  262.     public function block_profileList($context, array $blocks = [])
  263.     {
  264.         $macros $this->macros;
  265.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  266.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""profileList"));
  267.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  268.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""profileList"));
  269.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  270.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""profileList"));
  271.         // line 107
  272.         echo "\t\t\t";
  273.         $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"107)->display(twig_array_merge($context, ["profileList" => (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'107$this->source); })())]));
  274.         // line 108
  275.         echo "\t\t";
  276.         
  277.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  278.         
  279.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  280.         
  281.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  282.     }
  283.     // line 175
  284.     public function block_javascripts($context, array $blocks = [])
  285.     {
  286.         $macros $this->macros;
  287.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  288.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  290.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  291.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  292.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  293.         // line 176
  294.         echo "\t";
  295.         $this->displayParentBlock("javascripts"$context$blocks);
  296.         echo "
  297. \t<script>
  298. \t\twindow._strl = {
  299. \t\t\tstations: {";
  300.         // line 181
  301.         $context['_parent'] = $context;
  302.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
  303.         $context['loop'] = [
  304.           'parent' => $context['_parent'],
  305.           'index0' => 0,
  306.           'index'  => 1,
  307.           'first'  => true,
  308.         ];
  309.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  310.             $length count($context['_seq']);
  311.             $context['loop']['revindex0'] = $length 1;
  312.             $context['loop']['revindex'] = $length;
  313.             $context['loop']['length'] = $length;
  314.             $context['loop']['last'] = === $length;
  315.         }
  316.         foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  317.             // line 182
  318.             echo "\"";
  319.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["station"], "name", [], "any"falsefalsefalse182)), "html"nulltrue);
  320.             echo "\": \"";
  321.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_station", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["station"], "city", [], "any"falsefalsefalse182), "uriIdentity", [], "any"falsefalsefalse182), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse182)]), "html"nulltrue);
  322.             echo "\"";
  323.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse182)) {
  324.                 echo ",";
  325.             }
  326.             ++$context['loop']['index0'];
  327.             ++$context['loop']['index'];
  328.             $context['loop']['first'] = false;
  329.             if (isset($context['loop']['length'])) {
  330.                 --$context['loop']['revindex0'];
  331.                 --$context['loop']['revindex'];
  332.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  333.             }
  334.         }
  335.         $_parent $context['_parent'];
  336.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  337.         $context array_intersect_key($context$_parent) + $_parent;
  338.         // line 184
  339.         echo "}
  340. \t\t};
  341.         window._lD = {
  342.             setLastViewedListing: '";
  343.         // line 187
  344.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'187$this->source); })()), "request", [], "any"falsefalsefalse187), "attributes", [], "any"falsefalsefalse187), "get", ["_route"], "method"falsefalsefalse187), "html"nulltrue);
  345.         echo "',
  346.             cityUrl: \"";
  347.         // line 188
  348.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'188$this->source); })()), "uriIdentity", [], "any"falsefalsefalse188), "html"nulltrue);
  349.         echo "\",
  350.         };
  351. \t\t";
  352.         // line 199
  353.         echo "\t</script>
  354. ";
  355.         
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  357.         
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  359.         
  360.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  361.     }
  362.     /**
  363.      * @codeCoverageIgnore
  364.      */
  365.     public function getTemplateName()
  366.     {
  367.         return "ProfileList/list.html.twig";
  368.     }
  369.     /**
  370.      * @codeCoverageIgnore
  371.      */
  372.     public function isTraitable()
  373.     {
  374.         return false;
  375.     }
  376.     /**
  377.      * @codeCoverageIgnore
  378.      */
  379.     public function getDebugInfo()
  380.     {
  381.         return array (  424 => 199,  419 => 188,  415 => 187,  410 => 184,  389 => 182,  372 => 181,  364 => 176,  351 => 175,  338 => 108,  335 => 107,  322 => 106,  306 => 171,  301 => 170,  298 => 169,  296 => 168,  294 => 167,  292 => 166,  289 => 164,  283 => 162,  280 => 161,  277 => 152,  274 => 132,  272 => 122,  266 => 112,  264 => 111,  260 => 109,  258 => 106,  254 => 104,  251 => 31,  244 => 26,  236 => 25,  229 => 21,  226 => 20,  223 => 19,  210 => 18,  182 => 16,  157 => 14,  132 => 13,  116 => 10,  103 => 9,  78 => 7,  64 => 1,  62 => 5,  60 => 4,  58 => 3,  42 => 1,);
  382.     }
  383.     public function getSourceContext()
  384.     {
  385.         return new Source("{% extends 'grid.html.twig' %}
  386. {% set listingPage = profiles.currentPage is defined and profiles.currentPage > 1 %}
  387. {% set isFirstPage = profiles.currentPage is defined and profiles.currentPage == 1 %}
  388. {% set forYandex = app.request.requestUri == \"/\" and page_metadata_variant == \"yandex\" %}
  389. {% block title %}{{ seo_title() }}{% endblock %}
  390. {% block metaDescription %}
  391. \t<meta name=\"description\" content=\"{{ seo_description() }}\">
  392. {% endblock %}
  393. {% block name_page %}girls-list{% endblock %}
  394. {% block current_menu_map %} current{% endblock %}
  395. {% block canonical %}<link rel=\"canonical\" href=\"{{ canonical_url() }}{{ listingPage ? 'page' ~ profiles.currentPage ~ '/' : ''}}\">{% endblock %}
  396. {% block mainContainer %}
  397. \t{% set excludeRecommendationProfileIds = [] %}
  398. \t{{ knp_menu_render('breadcrumbs', {'template': '_menu/breadcrumbs.html.twig'}) }}
  399. \t<header class=\"list_heading border-line\" role=\"heading\">
  400. \t\t<div class=\"list_heading-inner\">
  401. \t\t\t<h1 class=\"list_heading__title\" role=\"heading\">{% if forYandex %}Проститутки Москвы индивидуалки{% else %}{{ seo_heading() }}{% endif %}</h1>
  402. \t\t\t<span class=\"list_heading__count\">{{ profiles.totalCount }}</span>
  403. \t\t</div>
  404. \t</header>
  405. \t{# {{ include('components/top_seo.html.twig', { 'type': 'main' }) }} #}
  406. \t{#{% if source is defined and source %}
  407. \t\t<div class=\"empty-category level d-flex overflow-hidden mb-4\">
  408. \t\t\t<div class=\"empty-category__icon d-flex align-items-center justify-content-center\">
  409. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 34 30\"><path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M.5 29.25L17 .75l16.5 28.5H.5zm27.8-3L17 6.73 5.7 26.25h22.6zm-12.8-4.5v3h3v-3h-3zm0-9h3v6h-3v-6z\" clip-rule=\"evenodd\"/></svg>
  410. \t\t\t</div>
  411. \t\t\t<div class=\"flex-fill px-3 px-sm-4 py-3\">
  412. \t\t\t\t<p class=\"m-0\">
  413. \t\t\t\t\t{% if source == 'county' %}К сожалению, все девушки из округа
  414. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ county.name }}</a>
  415. \t\t\t\t\t\tсейчас отдыхают, посмотрите проституток из других округов города
  416. \t\t\t\t\t\t{{ city.name|trans }}.
  417. \t\t\t\t\t{% endif %}
  418. \t\t\t\t\t{% if source == 'district' %}К сожалению, все девушки из района
  419. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ district.name }}</a>
  420. \t\t\t\t\t\tсейчас отдыхают, посмотрите проституток из других районов города
  421. \t\t\t\t\t\t{{ city.name|trans }}.
  422. \t\t\t\t\t{% endif %}
  423. \t\t\t\t\t{% if source == 'station' %}К сожалению, все девушки работающие вблизи метро
  424. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ station.name }}</a>
  425. \t\t\t\t\t\tсейчас отдыхают, посмотрите проституток у других станций метро в этом районе города
  426. \t\t\t\t\t\t{{ city.name|trans }}.
  427. \t\t\t\t\t{% endif %}
  428. \t\t\t\t\t{% if source == 'approved' or source == 'with_comments' or  source == 'with_video' or source == 'elite' or source == 'with_selfie' %}
  429. \t\t\t\t\t\t{% if source == 'approved' %}
  430. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_approved', {city:city.uriIdentity}) ~ '\">Проверенные анкеты</a>' %}
  431. \t\t\t\t\t\t{% elseif source == 'with_comments' %}
  432. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_with_comments', {city:city.uriIdentity}) ~ '\">Анкеты с отзывами</a>' %}
  433. \t\t\t\t\t\t{% elseif source == 'with_video' %}
  434. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_with_video', {city:city.uriIdentity}) ~ '\">Анкеты с видео</a>' %}
  435. \t\t\t\t\t\t{% elseif source == 'with_selfie' %}
  436. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_with_selfie', {city:city.uriIdentity}) ~ '\">Анкеты с селфи</a>' %}
  437. \t\t\t\t\t\t{% elseif source == 'elite' %}
  438. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '\" style=\"pointer-events:none\">Элитные проститутки</a>' %}
  439. \t\t\t\t\t\t{% else %}
  440. \t\t\t\t\t\t\t{% set source_name = '' %}
  441. \t\t\t\t\t\t{% endif %}
  442. \t\t\t\t\t\t{% if source_default == 'approved' %}К сожалению, все
  443. \t\t\t\t\t\t\t<a href=\"{{ category_url }}\">проверенные девушки</a>
  444. \t\t\t\t\t\t\tсейчас отдыхают, посмотрите раздел
  445. \t\t\t\t\t\t\t{{ source_name|raw }}
  446. \t\t\t\t\t\t{% endif %}
  447. \t\t\t\t\t\t{% if source_default == 'with_comments' %}К сожалению, все
  448. \t\t\t\t\t\t\t<a href=\"{{ category_url }}\">девушки, у которых есть отзывы</a>
  449. \t\t\t\t\t\t\tсейчас отдыхают, посмотрите раздел
  450. \t\t\t\t\t\t\t{{ source_name|raw }}
  451. \t\t\t\t\t\t{% endif %}
  452. \t\t\t\t\t\t{% if source_default == 'with_video' %}К сожалению, все
  453. \t\t\t\t\t\t\t<a href=\"{{ category_url }}\">девушки, у которых есть видео</a>
  454. \t\t\t\t\t\t\tсейчас отдыхают, посмотрите раздел
  455. \t\t\t\t\t\t\t{{ source_name|raw }}
  456. \t\t\t\t\t\t{% endif %}
  457. \t\t\t\t\t\t{% if source_default == 'with_selfie' %}
  458. \t\t\t\t\t\t\tК сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть селфи</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}
  459. \t\t\t\t\t\t{% endif %}
  460. \t\t\t\t\t{% endif %}
  461. \t\t\t\t\t{% if source == 'by_params' %}К сожалению, раздел пуст. Посмотрите другие анкеты, которые мы подобрали для Вас.
  462. \t\t\t\t\t{% endif %}
  463. \t\t\t\t\t{% if source == 'service' %}К сожалению, все девушки, которые практикуют услугу
  464. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ service.name }}</a>
  465. \t\t\t\t\t\tсейчас отдыхают. Но мы подобрали для Вас девушек которые не против оказать Вам похожие услуги, взгляните!
  466. \t\t\t\t\t{% endif %}
  467. \t\t\t\t\t{% if source == 'city' %}К сожалению, данный раздел пуст. Взгляните на другие анкеты, которые мы нашли для Вас в городе
  468. \t\t\t\t\t\t{{ city.name|trans }}.
  469. \t\t\t\t\t{% endif %}
  470. \t\t\t\t\t{% if source == 'country' %}К сожалению, данный раздел пуст. Взгляните на анкеты которые мы подобрали для Вас.
  471. \t\t\t\t\t{% endif %}
  472. \t\t\t\t\t{% if source == 'massage_service' %}К сожалению, все девушки для которых массаж — это призвание сейчас отдыхают. Посмотрите проституток, которые также готовы сделать Вам массаж.
  473. \t\t\t\t\t{% endif %}
  474. \t\t\t\t</p>
  475. \t\t\t</div>
  476. \t\t</div>
  477. \t{% endif %}#}
  478. \t<div class=\"profiles-items-row\" id=\"profile-list\">
  479. \t\t{% block profileList %}
  480. \t\t\t{% include 'ProfileList/list.profiles.html.twig' with {'profileList': profiles } %}
  481. \t\t{% endblock %}
  482. \t</div>
  483.     {% include 'ProfileList/_show_more.profiles.html.twig' %}
  484. \t{{ porpaginas_render(profiles) }}
  485. \t{# {% set cities_circle = city_main_pages_linkage_circle() %}
  486.     {% if cities_circle is not null %}
  487.         <div class=\"city-main-pages-linkage-circle\">
  488.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\" style=\"text-transform: capitalize;\"><i class=\"prev\"></i>{{ cities_circle[0].text }}</a>{% endif %}
  489. \t\t\t<span class=\"sep\"></span>
  490.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\" style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  491.         </div>
  492.     {% endif %} #}
  493. \t{# {% if app.request.pathInfo != '/' %}
  494. \t\t{% set cities_circle = city_main_pages_linkage_by_countries_circle() %}
  495. \t\t{% if cities_circle is not null %}
  496. \t\t\t<div class=\"city-main-pages-linkage-circle\">
  497. \t\t\t\t{% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\" style=\"text-transform: capitalize;\"><i class=\"prev\"></i>{{ cities_circle[0].text }}</a>{% endif %}
  498. \t\t\t\t\t<span class=\"sep\"></span>
  499. \t\t\t\t{% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\" style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  500. \t\t\t</div>
  501. \t\t{% endif %}
  502. \t{% endif %} #}
  503. \t{# {% set districts_circle = districts_linkage_circle() %}
  504.     {% if districts_circle is not null %}
  505. \t\t<div class=\"city-main-pages-linkage-circle\">
  506.             <h3 class=\"city-main-pages-linkage-circle-title\">Также интересуются:</h3>
  507.             {% if districts_circle[0] is not null %}<a href=\"{{ districts_circle[0].href }}\" style=\"text-transform: capitalize;\"><i class=\"prev\"></i>{{ districts_circle[0].text }}</a>{% endif %}
  508. \t\t\t<span class=\"sep\"></span>
  509.             {% if districts_circle[1] is not null %}<a href=\"{{ districts_circle[1].href }}\" style=\"text-transform: capitalize;\">{{ districts_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  510.         </div>
  511.     {% endif %}
  512.     {% set stations_circle = station_pages_linkage_circle() %}
  513.     {% if stations_circle is not null %}
  514.         <div class=\"city-main-pages-linkage-circle\">
  515.             <h3 class=\"city-main-pages-linkage-circle-title\">Также интересуются:</h3>
  516.             {% if stations_circle[0] is not null %}<a href=\"{{ stations_circle[0].href }}\"><i class=\"prev\"></i>{{ stations_circle[0].text }}</a><br/>{% endif %}
  517. \t\t\t<span class=\"sep\"></span>
  518.             {% if stations_circle[1] is not null %}<a href=\"{{ stations_circle[1].href }}\">{{ stations_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  519.         </div>
  520.     {% endif %} #}
  521.     {# {% set circle = inner_linkage_circle() %}
  522.     {% if circle is not null %}
  523.         <div class=\"city-main-pages-linkage-circle\">
  524. \t\t\t{% if circle[0] is not null %}<a href=\"{{ circle[0].href }}\"><i class=\"prev\"></i>{{ circle[0].text }}</a>{% endif %}
  525. \t\t\t<span class=\"sep\"></span>
  526. \t\t\t{% if circle[1] is not null %}<a href=\"{{ circle[1].href }}\">{{ circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  527.         </div>
  528.     {% endif %} #}
  529. \t{% if profiles and profiles.currentPage >= 2 %}
  530. \t\t{{ include('components/_profile_recommendations.html.twig', {'classname': 'recommendations-list-page'}) }}
  531. \t{% endif %}
  532. \t{# {% set cityBlagoveshensk = city is defined and city.uriIdentity == 'blagoveshensk' %} #}
  533. \t{# {% if not cityBlagoveshensk %} #}
  534. \t\t{# {{ include('components/big_footer.html.twig') }} #}
  535. \t{# {% endif %} #}
  536. \t{% if isFirstPage %}
  537. \t{{ include('components/seo.partial.twig', {type: 'top'}) }}
  538. \t{{ include('components/seo.partial.twig', {type: 'bottom'}) }}
  539. \t{% endif %}
  540. {% endblock %}
  541. {% block javascripts %}
  542. \t{{ parent() }}
  543. \t<script>
  544. \t\twindow._strl = {
  545. \t\t\tstations: {
  546. \t\t\t\t{%- for station in stations() -%}
  547. \t\t\t\t\t\"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
  548. \t\t\t\t{%- endfor -%}
  549. \t\t\t}
  550. \t\t};
  551.         window._lD = {
  552.             setLastViewedListing: '{{ app.request.attributes.get('_route') }}',
  553.             cityUrl: \"{{city.uriIdentity}}\",
  554.         };
  555. \t\t{# document.addEventListener('DOMContentLoaded', function() {
  556. \t\t\t{% if profiles and profiles.totalCount > 0 %}
  557. \t\t\t\t{%- set profilesId = profiles|map(p => p.id)|join(',') -%}
  558. \t\t\t\twindow.increase_shows({
  559. \t\t\t\t\tprofiles: [{{ profilesId }}],
  560. \t\t\t\t\troute: '{{ app.request.attributes.get('_route') }}',
  561. \t\t\t\t})
  562. \t\t\t{% endif %}
  563. \t\t}); #}
  564. \t</script>
  565. {% endblock %}""ProfileList/list.html.twig""/app/templates/ProfileList/list.html.twig");
  566.     }
  567. }