var/cache/review/twig/ef/efc6100fe9f0adb02670caaea3a8e14c.php line 66

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. /* ProfilePreview/page.html.twig */
  14. class __TwigTemplate_02c692a9d9a255ad8898b14b594b5511 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.             'navbar_class_masseur_profiles' => [$this'block_navbar_class_masseur_profiles'],
  24.             'stylesheet_postload' => [$this'block_stylesheet_postload'],
  25.             'preconnect' => [$this'block_preconnect'],
  26.             'mainContainer' => [$this'block_mainContainer'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.             'iconsSet' => [$this'block_iconsSet'],
  29.         ];
  30.         $macros["_self"] = $this->macros["_self"] = $this;
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "ProfilePreview/grid.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  41.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  46.         // line 3
  47.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("ProfilePreview/utils/macros.partial.twig""ProfilePreview/page.html.twig"3)->unwrap();
  48.         // line 31
  49.         $macros["__internal_parse_0"] = $this->macros["__internal_parse_0"] = $this;
  50.         // line 33
  51.         $context["headingTitle"] = twig_trim_filter(twig_call_macro($macros["__internal_parse_0"], "macro__profile_heading", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'33$this->source); })())], 33$context$this->getSourceContext()));
  52.         // line 73
  53.         $context["servicesList"] = "Секс классический|Секс анальный|Секс групповой|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь";
  54.         // line 1
  55.         $this->parent $this->loadTemplate("ProfilePreview/grid.html.twig""ProfilePreview/page.html.twig"1);
  56.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  57.         
  58.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.     }
  64.     // line 35
  65.     public function block_navbar_class_masseur_profiles($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  69.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_class_masseur_profiles"));
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_class_masseur_profiles"));
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_class_masseur_profiles"));
  74.         // line 36
  75.         echo "\t";
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.         
  81.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  82.     }
  83.     // line 39
  84.     public function block_stylesheet_postload($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  88.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet_postload"));
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet_postload"));
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet_postload"));
  93.         // line 40
  94.         echo "\t";
  95.         // line 41
  96.         $this->displayParentBlock("stylesheet_postload"$context$blocks);
  97.         
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  99.         
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  101.         
  102.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  103.     }
  104.     // line 51
  105.     public function block_preconnect($context, array $blocks = [])
  106.     {
  107.         $macros $this->macros;
  108.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  109.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preconnect"));
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preconnect"));
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preconnect"));
  114.         // line 52
  115.         $this->displayParentBlock("preconnect"$context$blocks);
  116.         // line 53
  117.         echo "<link rel=\"preconnect\" href=\"https://api-maps.yandex.ru\">
  118.     <link rel=\"preconnect\" href=\"https://google.com\" />
  119. \t";
  120.         // line 59
  121.         if ( !twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'59$this->source); })()), "deleted", [], "any"falsefalsefalse59)) {
  122.             // line 60
  123.             echo "<link rel=\"preconnect\" href=\"https://cdnjs.cloudflare.com\" />
  124. \t<link rel=\"dns-prefetch\" href=\"https://cdnjs.cloudflare.com\" />";
  125.         }
  126.         
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  128.         
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  130.         
  131.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  132.     }
  133.     // line 75
  134.     public function block_mainContainer($context, array $blocks = [])
  135.     {
  136.         $macros $this->macros;
  137.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  138.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  143.         // line 76
  144.         $context["haveMetro"] = (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'76$this->source); })()), "stationsSortedByPrimary", [], "any"falsefalsefalse76)) > 0);
  145.         // line 77
  146.         $context["commentsCount"] = twig_number_format_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'77$this->source); })()), "comments", [], "any"falsefalsefalse77)), 0"."" ");
  147.         // line 78
  148.         $context["commentPlural"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%count% отзывов", ["num" => twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'78$this->source); })()), "comments", [], "any"falsefalsefalse78))]);
  149.         // line 80
  150.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "__design/v2023/_menu/breadcrumbs.html.twig""profile" => (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'80$this->source); })())]);
  151.         // line 82
  152.         echo "<div class=\"profile full-w-xs\">
  153. \t\t<div class=\"profile-heading d-flex-c mb-3\">
  154. \t\t\t<h1 class=\"profile-heading-title text-title\">";
  155.         // line 84
  156.         echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
  157.         echo "</h1>";
  158.         // line 85
  159.         if (twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'85$this->source); })()), "approved", [], "any"falsefalsefalse85)) {
  160.             // line 86
  161.             echo "<svg class=\"ml-1\" viewbox=\"0 0 26 26\" width=\"26\" height=\"26\" fill=\"none\"><path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"m22.273 9.983 2.644 3.012-2.644 3.011.369 3.987-3.911.888-2.048 3.445L13 22.745l-3.683 1.592-2.048-3.445-3.91-.888.368-3.998-2.644-3.011 2.644-3.023-.369-3.986 3.911-.878 2.048-3.445L13 3.245l3.683-1.582 2.048 3.445 3.91.888-.368 3.987ZM8.038 12.361l3.434 3.434 7.14-7.128 1.527 1.527-8.666 8.667L6.5 13.888l1.538-1.527Z\" clip-rule=\"evenodd\"/></svg>";
  162.         }
  163.         // line 88
  164.         echo "</div>
  165. \t\t";
  166.         // line 91
  167.         echo "\t\t<div class=\"profile-bio\">
  168. \t\t\t";
  169.         // line 93
  170.         echo "\t\t\t<div class=\"profile-data d-flex\">
  171. \t\t\t\t";
  172.         // line 94
  173.         $context["station_alt"] = "";
  174.         // line 95
  175.         if ((isset($context["haveMetro"]) || array_key_exists("haveMetro"$context) ? $context["haveMetro"] : (function () { throw new RuntimeError('Variable "haveMetro" does not exist.'95$this->source); })())) {
  176.             // line 96
  177.             $context["station_alt"] = (((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "primaryStation", [], "any"truetruefalse96) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'96$this->source); })()), "primaryStation", [], "any"falsefalsefalse96)))) ? (twig_get_attribute($this->env$this->source,             // line 97
  178. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'97$this->source); })()), "primaryStation", [], "any"falsefalsefalse97)) : (null));
  179.         }
  180.         // line 101
  181.         echo "<div class=\"profile-avatar\" itemtype=\"http://schema.org/ImageObject\" id=\"avatar-preview\" data-favorite-button>";
  182.         // line 102
  183.         if ( !twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'102$this->source); })()), "deleted", [], "any"falsefalsefalse102)) {
  184.             // line 103
  185.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'103$this->source); })()), "city", [], "any"falsefalsefalse103), "uriIdentity", [], "any"falsefalsefalse103) == twig_get_attribute($this->env$this->source$this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "uriIdentity", [], "any"falsefalsefalse103))) {
  186.                 // line 104
  187.                 echo "\t\t\t\t\t\t\t";
  188.                 $context["alt"] = (((((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'104$this->source); })()), "name", [], "any"falsefalsefalse104)) . ", ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'104$this->source); })()), "city", [], "any"falsefalsefalse104), "name", [], "any"falsefalsefalse104)) . (((isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'104$this->source); })())) ? ((", " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'104$this->source); })()), "name", [], "any"falsefalsefalse104)))) : (""))) . ", ") . $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'104$this->source); })()), "personParameters", [], "any"falsefalsefalse104), "age", [], "any"falsefalsefalse104))) . ", анкета ") . twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'104$this->source); })()), "id", [], "any"falsefalsefalse104)) . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse104), "phone", [], "any"truetruefalse104)) ? ((", " twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'104$this->source); })()), "seo", [], "any"falsefalsefalse104), "phone", [], "any"falsefalsefalse104))) : ("")));
  189.                 // line 105
  190.                 echo "\t\t\t\t\t\t";
  191.             } else {
  192.                 // line 106
  193.                 echo "\t\t\t\t\t\t\t";
  194.                 $context["alt"] = ((((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'106$this->source); })()), "name", [], "any"falsefalsefalse106)) . ", ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'106$this->source); })()), "city", [], "any"falsefalsefalse106), "name", [], "any"falsefalsefalse106)) . ", ") . $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'106$this->source); })()), "personParameters", [], "any"falsefalsefalse106), "age", [], "any"falsefalsefalse106))) . ", анкета ") . twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'106$this->source); })()), "id", [], "any"falsefalsefalse106)) . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse106), "phone", [], "any"truetruefalse106)) ? ((", " twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'106$this->source); })()), "seo", [], "any"falsefalsefalse106), "phone", [], "any"falsefalsefalse106))) : ("")));
  195.             }
  196.             // line 108
  197.             $context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'108$this->source); })()));
  198.             // line 109
  199.             if (((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'109$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'109$this->source); })()), "path", [], "any"falsefalsefalse109))) {
  200.                 // line 110
  201.                 $context["photoType"] = (((twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'110$this->source); })()), "type", [], "any"falsefalsefalse110) == "photo")) ? ("profile_media") : ("profile_media_avatar"));
  202.                 // line 111
  203.                 echo "<a class=\"photoswipe image-fade profile-avatar-link";
  204.                 if ( !$this->extensions['App\Twig\UserExtension']->isUserAdvertiser(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'111$this->source); })()), "user", [], "any"falsefalsefalse111))) {
  205.                     echo " profile-avatar-link--shadow";
  206.                 }
  207.                 echo "\" href=\"";
  208.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'111$this->source); })()), "path", [], "any"falsefalsefalse111), "profile_media""fullsize""jpg"), "html"nulltrue);
  209.                 echo "\" data-gallery=\"girl-avatar\" data-index=\"0\">
  210. \t\t\t\t\t\t\t\t<img class=\"profile-avatar-image\" itemprop=\"contentUrl\"
  211. \t\t\t\t\t\t\t\t\tsrcset=\"";
  212.                 // line 114
  213.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'114$this->source); })()), "path", [], "any"falsefalsefalse114), (isset($context["photoType"]) || array_key_exists("photoType"$context) ? $context["photoType"] : (function () { throw new RuntimeError('Variable "photoType" does not exist.'114$this->source); })()), "220x308""jpg"), "html"nulltrue);
  214.                 echo " 220w,";
  215.                 // line 115
  216.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'115$this->source); })()), "path", [], "any"falsefalsefalse115), (isset($context["photoType"]) || array_key_exists("photoType"$context) ? $context["photoType"] : (function () { throw new RuntimeError('Variable "photoType" does not exist.'115$this->source); })()), "310x434""jpg"), "html"nulltrue);
  217.                 echo " 310w
  218. \t\t\t\t\t\t\t\t\t\"
  219. \t\t\t\t\t\t\t\t\tsizes=\"
  220. \t\t\t\t\t\t\t\t\t\t(max-width: 768px) 220px,
  221. \t\t\t\t\t\t\t\t\t\t310px
  222. \t\t\t\t\t\t\t\t\t\"
  223. \t\t\t\t\t\t\t\t\tsrc=\"";
  224.                 // line 121
  225.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'121$this->source); })()), "path", [], "any"falsefalsefalse121), (isset($context["photoType"]) || array_key_exists("photoType"$context) ? $context["photoType"] : (function () { throw new RuntimeError('Variable "photoType" does not exist.'121$this->source); })()), "310x434""jpg"), "html"nulltrue);
  226.                 echo "\" alt=\"";
  227.                 echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'121$this->source); })()), "html"nulltrue);
  228.                 echo "\" width=\"310\" height=\"434\">
  229. \t\t\t\t\t\t\t</a>";
  230.             } else {
  231.                 // line 124
  232.                 echo "<div class=\"photoswipe image-fade profile-avatar-link";
  233.                 if ( !$this->extensions['App\Twig\UserExtension']->isUserAdvertiser(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'124$this->source); })()), "user", [], "any"falsefalsefalse124))) {
  234.                     echo " profile-avatar-link--shadow";
  235.                 }
  236.                 echo "\">
  237. \t\t\t\t\t\t\t\t<img class=\"profile-avatar-image profile-avatar-image-empty\" src=\"";
  238.                 // line 125
  239.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/empty-photo.svg"), "html"nulltrue);
  240.                 echo "\" alt=\"";
  241.                 echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'125$this->source); })()), "html"nulltrue);
  242.                 echo "\" width=\"310\" height=\"434\" style=\"object-fit:contain;padding:10px;\">
  243. \t\t\t\t\t\t\t</div>";
  244.             }
  245.             // line 129
  246.             if ( !$this->extensions['App\Twig\UserExtension']->isUserAdvertiser(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'129$this->source); })()), "user", [], "any"falsefalsefalse129))) {
  247.                 // line 130
  248.                 echo "<favorite-button
  249. \t\t\t\t\t\t\t\tapi-check=\"";
  250.                 // line 131
  251.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.check", ["profile" => twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'131$this->source); })()), "id", [], "any"falsefalsefalse131)]), "html"nulltrue);
  252.                 echo "\"
  253. \t\t\t\t\t\t\t\tapi-like=\"";
  254.                 // line 132
  255.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.add", ["profile" => twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'132$this->source); })()), "id", [], "any"falsefalsefalse132)]), "html"nulltrue);
  256.                 echo "\"
  257. \t\t\t\t\t\t\t\tapi-unlike=\"";
  258.                 // line 133
  259.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account.favourites.remove", ["profile" => twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'133$this->source); })()), "id", [], "any"falsefalsefalse133)]), "html"nulltrue);
  260.                 echo "\"
  261. \t\t\t\t\t\t\t\tregistration-url=\"";
  262.                 // line 134
  263.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
  264.                 echo "?user=visitor\"
  265. \t\t\t\t\t\t\t\talternative=\"true\"
  266. \t\t\t\t\t\t\t>
  267. \t\t\t\t\t\t\t\t<button class=\"btn btn-favorite favorite unlike favorite-loading\" data-tippy-main=\"Добавить в избранное\" title=\"Добавить в избранное\"><svg class=\"btn-favorite-icon\" width=\"40\" height=\"40\" fill=\"none\">
  268. \t\t\t\t\t\t\t\t\t<path data-like d=\"m20 35.58-2.42-2.16c-2.8-2.53-5.12-4.71-6.95-6.55a46.04 46.04 0 0 1-4.38-4.93 15.65 15.65 0 0 1-2.27-4.02 11.25 11.25 0 0 1-.65-3.75c0-2.61.88-4.8 2.63-6.54A8.88 8.88 0 0 1 12.5 5 9.88 9.88 0 0 1 20 8.5 9.88 9.88 0 0 1 27.5 5c2.61 0 4.8.88 6.54 2.63a8.88 8.88 0 0 1 2.63 6.54c0 1.27-.22 2.52-.65 3.75a15.63 15.63 0 0 1-2.27 4.02 46.03 46.03 0 0 1-4.38 4.93 188.43 188.43 0 0 1-6.95 6.55L20 35.58Z\"/>
  269. \t\t\t\t\t\t\t\t\t<path data-unlike d=\"m20 35.58-2.42-2.16a188.5 188.5 0 0 1-6.95-6.55 46.04 46.04 0 0 1-4.38-4.93 15.65 15.65 0 0 1-2.27-4.02 11.25 11.25 0 0 1-.65-3.75c0-2.61.88-4.8 2.63-6.54A8.88 8.88 0 0 1 12.5 5 9.88 9.88 0 0 1 20 8.5 9.88 9.88 0 0 1 27.5 5c2.61 0 4.8.88 6.54 2.63a8.88 8.88 0 0 1 2.63 6.54c0 1.27-.22 2.52-.65 3.75a15.63 15.63 0 0 1-2.27 4.02 46.05 46.05 0 0 1-4.38 4.93 188.52 188.52 0 0 1-6.95 6.55L20 35.58Zm0-4.5c2.67-2.39 4.86-4.43 6.58-6.14 1.73-1.7 3.09-3.2 4.09-4.46 1-1.26 1.7-2.39 2.08-3.38.39-.98.58-1.96.58-2.93a5.65 5.65 0 0 0-5.83-5.83c-1.3 0-2.51.36-3.63 1.1a5.67 5.67 0 0 0-2.29 2.81h-3.16a5.67 5.67 0 0 0-2.3-2.81 6.45 6.45 0 0 0-3.62-1.1 5.65 5.65 0 0 0-5.83 5.83c0 .97.2 1.95.58 2.94.39.98 1.08 2.1 2.08 3.37a52.1 52.1 0 0 0 4.09 4.46c1.72 1.7 3.91 3.76 6.58 6.14Z\"/>
  270. \t\t\t\t\t\t\t\t</svg></button>
  271. \t\t\t\t\t\t\t</favorite-button>";
  272.             }
  273.         } else {
  274.             // line 145
  275.             echo "<svg class=\"profile-avatar-image\" xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 358 500\" width=\"358\" height=\"500\" fill=\"none\"><g clip-path=\"url(#a)\"><path fill=\"#F3F3F3\" d=\"M0 0h357.14v500H0z\"/><path fill=\"#E0E0E0\" d=\"M238.51 119.9c-1.21 6.1-5.04 15.97-5.4 21.42a85.61 85.61 0 0 0-.02 9.15c.26.07.45.15.54.24 1.75 1.47 6.45 5.1 7.15 13.32.68 8.24-6.8 13.34-6.8 13.34l-.19.12c-.07 3.79-.42 9.24-1.56 12.9-1.92 6.08-6.97 13.66-7.67 16.45-.68 2.8-5.75 14.81-5.21 20.1.51 5.27 1.73 17.44-.19 24.37-1.91 6.9-6.8 13.67-8.37 15.63-1.56 1.97-3.83 6.9-4.34 8.74-.52 1.8-10.64 18.27-13.42 20.4-2.78 2.16-4.89 7.43-7.5 10.54a15.39 15.39 0 0 0-3.49 9.88c0 3.13.9 7.9 2.46 9.7 1.56 1.83 8.18 10.56 9.93 16.49 1.73 5.92 5.05 21.55 5.75 26.17.68 4.6 1.38 17.62 2.43 23.05 1.05 5.43 2.08 14.65 4.89 17.13 2.78 2.46 8.18 5.92 9.23 8.57 1.05 2.62 1.05 6.25-.51 7.4-1.6 1.14-5.94 6.6-7.16 10.04-1.21 3.46-1.4 9.22-1.56 11.05-.19 1.8-3.67 4.1-4.89 4.77-1.21.66-8.53 1.48-10.28 1.48-1.73 0-2.78 2.13-4.19 1.8a4.14 4.14 0 0 1-2.61-1.97c-1.22.17-3.14 1.48-3.65.33-1.57.5-4.53.16-5.05-.98-.54-1.17 0-3.63 2.95-4.45 2.96-.82 5.23-1.33 6.28-1.66 1.06-.33 2.08-3.28 2.62-4.61.4-1.03 1.26-3.33 1.24-6.8-.75-.16-1.52.06-1.94.55-.7.82-.54 3.62-1.22 5.26-.7 1.67-3.48 3.14-5.4 2.81-1.91-.33-9.41.17-10.98.66-1.57.49-2.78.98-2.78-1.31 0-2.32 2.08-5.27 3.64-6.6 1.57-1.31 3.32-6.25 4.19-7.9.86-1.65 2.27-6.6 2.78-8.23.54-1.64 2.45-4.78 3.16-8.57.67-3.79-2.97-11.19-4.73-13.34-1.73-2.13-9.23-15.63-15.14-25.51-5.94-9.88-5.75-20.9-6.1-22.4-.35-1.48.7-3.96-.54-5.6-1.22-1.63-3.3-9.87-3.3-11.51 0-1.66-1.4-5.62-2.97-9.06-1.56-3.46-5.75-15.99-6.61-20.25-.89-4.28-10.47-22.23-13.6-45.94-1.66-12.6.65-21.05 3.64-27.13-1.1-1.9-4.6-7.75-5.91-9.27-1.57-1.8-6.78-12-8.35-13.67-1.59-1.64-4.53-7.72-3.5-11.51 1.05-3.8 5.58-15.48 6.45-17.63.89-2.13 8.37-19.6 10.28-22.38 1.92-2.8 3.84-9.55 4.19-11.54.35-1.96 7.15-14.98 9.42-17.27 2.24-2.32 10.96-4.28 15.33-3.3 0-.42-.1-.87-.23-1.29-12.32-2.5-7.95-18.65-7.44-19.96.52-1.31 1.22-9.55 1.22-13.16 0-3.63 1.92-9.38 2.27-11.37.35-1.97-.35-3.8.35-8.9-1.05.68-4.37 4.29-5.07 5.46 0 .82-1.03 1.63-1.92 1.63-.87 0-1.03.99-1.57 1.97-.51.98-1.38.5-1.91-.82-.52-1.3-2.08-6.08-2.08-7.4 0 0-1.06 1.15-1.92.99.16.98-.54 1.96-.87 2.95-.35 1-1.05 3.3-1.91 3.3-.9 0-.9-1.48-.7-2.46a152 152 0 0 1 1.21-6.27c.16-.66-.7-2.3.35-3.12 1.05-.84 1.73-1.99 3.13-3.3 1.4-1.3 3.67-4.93 3.49-5.75-.17-.82.51-2.48 2.61-2.48 2.09 0 2.62-.5 6.27-.99 3.67-.49 10.98-5.1 12.55-5.43 1.57-.33 3.48-1.47 4.7-1.66 1.24-.16 2.27-.66 3.32.19 1.05.82 1.75.98 6.26.65 4.54-.33 39.04 2.62 41.5 3.12 2.42.49 8.88 1.5 10.6.81 1.76-.65 4.54 1.18 5.4 2.81.9 1.64 1.4 7.75 1.24 10.2-.18 2.49 2.95 16.49 3.3 27.02.35 10.53-4.35 23.71-5.57 29.8ZM149.8 63.09a2.75 2.75 0 0 0-1.26 2.36c0 .98.41 3.37.41 3.37s0 .58 1.06-.4c-.21-1.2-.21-5.33-.21-5.33Zm6.47 53.53c-.96-1.34-1.75-3.4-2.55-6.6a11.52 11.52 0 0 0-.07 5.94c.56 2.1 4 3.88 5.36 4.54-.84-1.54-2.08-2.95-2.74-3.88Zm5.92 51.86c-.73-.8-4.8-6.2-7.84-10.27l-1.21.89s-6.8 11.37-10.28 15.16c-3.49 3.77-5.92 13.49-11 18.92-3.47 3.95-.5 5.45-.5 5.45s4.18 8.7 5.58 11.19c1.29 2.3 3.16 4.82 4.25 5.73 5.12-6.3 16.86-15.21 19.43-17.92 2.97-3.12 5.07-2.46 7.5-4.94 2.43-2.46 1.92-7.07 2.43-10.54-8.36-1.96-8.36-11.35-8.36-13.67Zm46.18-105.7c-2.27-.82-12.71-3.3-12.71-3.3l-.17.28c2.74 1.92 7.6 5.76 8.7 9.62 1.56 5.43 3.13 13 3.48 19.43.33 5.9 1.68 21.02 5.03 28.65 1.03-3.28 3.78-7.89 5.6-10.89 1.92-3.1 2.09-3.76 4-7.72 0-7.91 1.6-28.65 1.6-31.95-2.98-.33-13.26-3.3-15.53-4.12Z\"/><circle cx=\"179.07\" cy=\"250.1\" r=\"80.03\" fill=\"#BDBDBD\"/><path fill=\"#E7E7E7\" d=\"M205.08 242.6h-7.5v-18.76a18.76 18.76 0 0 0-37.52 0v18.76h-7.5a7.5 7.5 0 0 0-7.5 7.5v37.52a7.5 7.5 0 0 0 7.5 7.5h52.52a7.5 7.5 0 0 0 7.5-7.5V250.1a7.5 7.5 0 0 0-7.5-7.5Zm-26.26 33.76a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Zm7.5-33.76h-15v-18.76a7.5 7.5 0 0 1 15 0v18.76Z\"/></g><defs><clipPath id=\"a\"><rect width=\"357.14\" height=\"500\" fill=\"#fff\" rx=\"20\"/></clipPath></defs></svg>";
  276.         }
  277.         // line 147
  278.         echo "</div>
  279. \t\t\t\t<div class=\"profile-info\">
  280. \t\t\t\t\t<div class=\"profile-contacts profile-contacts--desktop\">";
  281.         // line 150
  282.         $this->loadTemplate("ProfilePreview/components/profile-phone.partial.twig""ProfilePreview/page.html.twig"150)->display(twig_array_merge($context, []));
  283.         // line 152
  284.         echo "<div class=\"profile-contacts-text clr-green-text\">Сообщите мне, что звоните с сайта \"МосДосуг\" и я всё пойму</div>
  285. \t\t\t\t\t\t<div class=\"profile-contacts-answer-type\">
  286. \t\t\t\t\t\t\t<span>Отвечаю на</span>
  287. \t\t\t\t\t\t\t";
  288.         // line 156
  289.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'156$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse156), "answeringTo", [], "any"falsefalsefalse156)) > 0)) {
  290.             // line 157
  291.             echo "\t\t\t\t\t\t\t\t";
  292.             $context['_parent'] = $context;
  293.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'157$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse157), "answeringTo", [], "any"falsefalsefalse157));
  294.             $context['loop'] = [
  295.               'parent' => $context['_parent'],
  296.               'index0' => 0,
  297.               'index'  => 1,
  298.               'first'  => true,
  299.             ];
  300.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  301.                 $length count($context['_seq']);
  302.                 $context['loop']['revindex0'] = $length 1;
  303.                 $context['loop']['revindex'] = $length;
  304.                 $context['loop']['length'] = $length;
  305.                 $context['loop']['last'] = === $length;
  306.             }
  307.             foreach ($context['_seq'] as $context["_key"] => $context["answeringTo"]) {
  308.                 // line 158
  309.                 echo "\t\t\t\t\t\t\t\t\t";
  310.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PhoneCallExtension']->answeringTo($context["answeringTo"]), [], "phone_call_restrictions"), "html"nulltrue);
  311.                 if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse158)) {
  312.                     echo ",";
  313.                 }
  314.                 // line 159
  315.                 echo "\t\t\t\t\t\t\t\t";
  316.                 ++$context['loop']['index0'];
  317.                 ++$context['loop']['index'];
  318.                 $context['loop']['first'] = false;
  319.                 if (isset($context['loop']['length'])) {
  320.                     --$context['loop']['revindex0'];
  321.                     --$context['loop']['revindex'];
  322.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  323.                 }
  324.             }
  325.             $_parent $context['_parent'];
  326.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['answeringTo'], $context['_parent'], $context['loop']);
  327.             $context array_intersect_key($context$_parent) + $_parent;
  328.             // line 160
  329.             echo "\t\t\t\t\t\t\t";
  330.         } else {
  331.             // line 161
  332.             echo "\t\t\t\t\t\t\t\tНе указано
  333. \t\t\t\t\t\t\t";
  334.         }
  335.         // line 163
  336.         echo "\t\t\t\t\t\t</div>
  337. \t\t\t\t\t\t<div class=\"profile-contacts-answer-time\">";
  338.         // line 164
  339.         echo twig_call_macro($macros["macros"], "macro__time_to_work", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'164$this->source); })())], 164$context$this->getSourceContext());
  340.         echo "</div>
  341. \t\t\t\t\t</div>
  342. \t\t\t\t\t";
  343.         // line 177
  344.         $this->loadTemplate("ProfilePreview/components/profile-approved.partial.twig""ProfilePreview/page.html.twig"177)->display(twig_array_merge($context, ["type" => "desktop"]));
  345.         // line 180
  346.         $this->loadTemplate("ProfilePreview/components/profile-location.partial.twig""ProfilePreview/page.html.twig"180)->display(twig_array_merge($context, ["type" => "desktop""template" => "profile"]));
  347.         // line 183
  348.         echo "\t\t\t\t\t<div class=\"profile-time d-flex\">";
  349.         // line 184
  350.         ob_start();
  351.         echo twig_escape_filter($this->env$this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'184$this->source); })()), "city", [], "any"falsefalsefalse184), "countryCode", [], "any"falsefalsefalse184)), "html"nulltrue);
  352.         $context["currencyProfile"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  353.         // line 185
  354.         echo "<div class=\"profile-time-table\">";
  355.         // line 186
  356.         ob_start();
  357.         echo twig_call_macro($macros["macros"], "macro__get_time_price", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'186$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse186), "oneHourPrice", [], "any"falsefalsefalse186), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'186$this->source); })())], 186$context$this->getSourceContext());
  358.         $context["oneHour"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  359.         // line 187
  360.         ob_start();
  361.         echo twig_call_macro($macros["macros"], "macro__get_time_price", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'187$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse187), "twoHoursPrice", [], "any"falsefalsefalse187), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'187$this->source); })())], 187$context$this->getSourceContext());
  362.         $context["twoHours"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  363.         // line 188
  364.         ob_start();
  365.         echo twig_call_macro($macros["macros"], "macro__get_time_price", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'188$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse188), "nightPrice", [], "any"falsefalsefalse188), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'188$this->source); })())], 188$context$this->getSourceContext());
  366.         $context["fullNight"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  367.         // line 189
  368.         $context["express"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'189$this->source); })()), "expressPricing", [], "any"falsefalsefalse189), "provided", [], "any"falsefalsefalse189)) ? (twig_call_macro($macros["macros"], "macro__get_time_price", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'189$this->source); })()), "expressPricing", [], "any"falsefalsefalse189), "price", [], "any"falsefalsefalse189), $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'189$this->source); })()), "city", [], "any"falsefalsefalse189), "countryCode", [], "any"falsefalsefalse189))], 189$context$this->getSourceContext())) : ("-"));
  369.         // line 190
  370.         echo "<div class=\"profile-time-heading mb-1 fw-700\">У меня</div>
  371. \t\t\t\t\t\t\t<div class=\"profile-time-cell-list d-flex\">
  372. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
  373. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Час</span>
  374. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
  375.         // line 194
  376.         echo twig_escape_filter($this->env, (isset($context["oneHour"]) || array_key_exists("oneHour"$context) ? $context["oneHour"] : (function () { throw new RuntimeError('Variable "oneHour" does not exist.'194$this->source); })()), "html"nulltrue);
  377.         echo "</span>
  378. \t\t\t\t\t\t\t\t</div>
  379. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
  380. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">2 часа</span>
  381. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
  382.         // line 198
  383.         echo twig_escape_filter($this->env, (isset($context["twoHours"]) || array_key_exists("twoHours"$context) ? $context["twoHours"] : (function () { throw new RuntimeError('Variable "twoHours" does not exist.'198$this->source); })()), "html"nulltrue);
  384.         echo "</span>
  385. \t\t\t\t\t\t\t\t</div>
  386. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
  387. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Ночь</span>
  388. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
  389.         // line 202
  390.         echo twig_escape_filter($this->env, (isset($context["fullNight"]) || array_key_exists("fullNight"$context) ? $context["fullNight"] : (function () { throw new RuntimeError('Variable "fullNight" does not exist.'202$this->source); })()), "html"nulltrue);
  391.         echo "</span>
  392. \t\t\t\t\t\t\t\t</div>
  393. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
  394. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Экспресс</span>
  395. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
  396.         // line 206
  397.         echo twig_escape_filter($this->env, (isset($context["express"]) || array_key_exists("express"$context) ? $context["express"] : (function () { throw new RuntimeError('Variable "express" does not exist.'206$this->source); })()), "html"nulltrue);
  398.         echo "</span>
  399. \t\t\t\t\t\t\t\t</div>
  400. \t\t\t\t\t\t\t</div>
  401. \t\t\t\t\t\t</div>
  402. \t\t\t\t\t\t<div class=\"profile-time-table\">";
  403.         // line 212
  404.         ob_start();
  405.         echo twig_call_macro($macros["macros"], "macro__get_time_price", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'212$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse212), "oneHourPrice", [], "any"falsefalsefalse212), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'212$this->source); })())], 212$context$this->getSourceContext());
  406.         $context["oneHour"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  407.         // line 213
  408.         ob_start();
  409.         echo twig_call_macro($macros["macros"], "macro__get_time_price", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'213$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse213), "twoHoursPrice", [], "any"falsefalsefalse213), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'213$this->source); })())], 213$context$this->getSourceContext());
  410.         $context["twoHours"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  411.         // line 214
  412.         ob_start();
  413.         echo twig_call_macro($macros["macros"], "macro__get_time_price", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'214$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse214), "nightPrice", [], "any"falsefalsefalse214), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'214$this->source); })())], 214$context$this->getSourceContext());
  414.         $context["fullNight"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  415.         // line 216
  416.         echo "<div class=\"profile-time-heading mb-1 fw-700\">У Вас</div>
  417. \t\t\t\t\t\t\t<div class=\"profile-time-cell-list d-flex\">
  418. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
  419. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Час</span>
  420. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
  421.         // line 220
  422.         echo twig_escape_filter($this->env, (isset($context["oneHour"]) || array_key_exists("oneHour"$context) ? $context["oneHour"] : (function () { throw new RuntimeError('Variable "oneHour" does not exist.'220$this->source); })()), "html"nulltrue);
  423.         echo "</span>
  424. \t\t\t\t\t\t\t\t</div>
  425. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
  426. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">2 часа</span>
  427. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
  428.         // line 224
  429.         echo twig_escape_filter($this->env, (isset($context["twoHours"]) || array_key_exists("twoHours"$context) ? $context["twoHours"] : (function () { throw new RuntimeError('Variable "twoHours" does not exist.'224$this->source); })()), "html"nulltrue);
  430.         echo "</span>
  431. \t\t\t\t\t\t\t\t</div>
  432. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
  433. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Ночь</span>
  434. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">";
  435.         // line 228
  436.         echo twig_escape_filter($this->env, (isset($context["fullNight"]) || array_key_exists("fullNight"$context) ? $context["fullNight"] : (function () { throw new RuntimeError('Variable "fullNight" does not exist.'228$this->source); })()), "html"nulltrue);
  437.         echo "</span>
  438. \t\t\t\t\t\t\t\t</div>
  439. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
  440. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Экспресс</span>
  441. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">-</span>
  442. \t\t\t\t\t\t\t\t</div>
  443. \t\t\t\t\t\t\t</div>
  444. \t\t\t\t\t\t</div>
  445. \t\t\t\t\t</div>
  446. \t\t\t\t</div>
  447. \t\t\t\t<div class=\"profile-stat\">
  448. \t\t\t\t\t<div class=\"profile-stat-rating d-flex-c\">
  449. \t\t\t\t\t\t<svg class=\"mr-1\" width=\"16\" height=\"16\" fill=\"none\"><path fill=\"#FF3F40\" d=\"M7.5 12.86c.3-.22.7-.22 1 0l3.02 2.3a.82.82 0 0 0 1.27-.9l-1.19-3.82c-.1-.33.02-.7.3-.9L15 7.23a.82.82 0 0 0-.49-1.48h-3.74a.82.82 0 0 1-.78-.57L8.78 1.24a.82.82 0 0 0-1.56 0L6.01 5.18a.82.82 0 0 1-.78.57H1.49a.82.82 0 0 0-.5 1.48l3.12 2.31c.27.2.4.57.29.9l-1.2 3.83a.82.82 0 0 0 1.28.9l3.03-2.3Z\"/></svg>
  450. \t\t\t\t\t\t<span class=\"fw-600 mr-2\">
  451. \t\t\t\t\t\t\t";
  452.         // line 243
  453.         echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'243$this->source); })()), "html"nulltrue);
  454.         echo "
  455. \t\t\t\t\t\t</span>
  456. \t\t\t\t\t\t<a href=\"#comments\">";
  457.         // line 245
  458.         echo twig_escape_filter($this->env, (isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'245$this->source); })()), "html"nulltrue);
  459.         echo " ";
  460.         echo twig_escape_filter($this->env, (isset($context["commentPlural"]) || array_key_exists("commentPlural"$context) ? $context["commentPlural"] : (function () { throw new RuntimeError('Variable "commentPlural" does not exist.'245$this->source); })()), "html"nulltrue);
  461.         echo "</a>
  462. \t\t\t\t\t</div>
  463. \t\t\t\t\t<div class=\"profile-stat-table\">";
  464.         // line 248
  465.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Возраст"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'248$this->source); })()), "personParameters", [], "any"falsefalsefalse248), "age", [], "any"falsefalsefalse248)], 248$context$this->getSourceContext());
  466.         // line 249
  467.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Рост"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'249$this->source); })()), "personParameters", [], "any"falsefalsefalse249), "height", [], "any"falsefalsefalse249)], 249$context$this->getSourceContext());
  468.         // line 250
  469.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Вес"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'250$this->source); })()), "personParameters", [], "any"falsefalsefalse250), "weight", [], "any"falsefalsefalse250)], 250$context$this->getSourceContext());
  470.         // line 251
  471.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Грудь"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'251$this->source); })()), "personParameters", [], "any"falsefalsefalse251), "breastSize", [], "any"falsefalsefalse251)], 251$context$this->getSourceContext());
  472.         // line 252
  473.         if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("has_breast_type")) {
  474.             // line 253
  475.             echo "\t\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
  476. \t\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Тип груди</span>
  477. \t\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">";
  478.             // line 256
  479.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'256$this->source); })()), "personParameters", [], "any"falsefalsefalse256), "breastType", [], "any"falsefalsefalse256)) {
  480.                 // line 257
  481.                 echo "<a class=\"link\" target=\"_blank\" href=\"";
  482.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_breast_type", ["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.'257$this->source); })()), "uriIdentity", [], "any"falsefalsefalse257), "breastType" => $this->extensions['App\Twig\PersonParametersExtension']->breastTypeUri(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'257$this->source); })()), "personParameters", [], "any"falsefalsefalse257), "breastType", [], "any"falsefalsefalse257))]), "html"nulltrue);
  483.                 echo "\">";
  484.                 // line 258
  485.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->breastTypeLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'258$this->source); })()), "personParameters", [], "any"falsefalsefalse258), "breastType", [], "any"falsefalsefalse258)), [], "breast_types"), "html"nulltrue);
  486.                 // line 259
  487.                 echo "</a>";
  488.             } else {
  489.                 // line 261
  490.                 echo "-";
  491.             }
  492.             // line 263
  493.             echo "</span>
  494. \t\t\t\t\t\t\t</div>";
  495.         }
  496.         // line 267
  497.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Размер одежды"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'267$this->source); })()), "personParameters", [], "any"falsefalsefalse267), "clothSize", [], "any"falsefalsefalse267)], 267$context$this->getSourceContext());
  498.         // line 268
  499.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Размер обуви"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'268$this->source); })()), "personParameters", [], "any"falsefalsefalse268), "shoesSize", [], "any"falsefalsefalse268)], 268$context$this->getSourceContext());
  500.         // line 270
  501.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Тату"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'270$this->source); })()), "personParameters", [], "any"falsefalsefalse270), "tattoo", [], "any"falsefalsefalse270), true], 270$context$this->getSourceContext());
  502.         // line 271
  503.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Пирсинг"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'271$this->source); })()), "personParameters", [], "any"falsefalsefalse271), "piercing", [], "any"falsefalsefalse271), true], 271$context$this->getSourceContext());
  504.         // line 273
  505.         echo "<div class=\"profile-stat-table-item d-flex-c\">
  506. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Телосложение</span>
  507. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">";
  508.         // line 276
  509.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'276$this->source); })()), "personParameters", [], "any"falsefalsefalse276), "bodyType", [], "any"falsefalsefalse276)) {
  510.             // line 277
  511.             echo "<a class=\"link\" href=\"";
  512.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_body_type", ["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.'277$this->source); })()), "uriIdentity", [], "any"falsefalsefalse277), "bodyType" => $this->extensions['App\Twig\PersonParametersExtension']->bodyTypeUri(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'277$this->source); })()), "personParameters", [], "any"falsefalsefalse277), "bodyType", [], "any"falsefalsefalse277))]), "html"nulltrue);
  513.             echo "\" target=\"_blank\">";
  514.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->bodyTypeLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'277$this->source); })()), "personParameters", [], "any"falsefalsefalse277), "bodyType", [], "any"falsefalsefalse277)), [], "body_types"), "html"nulltrue);
  515.             echo "</a>";
  516.         } else {
  517.             // line 279
  518.             echo "-";
  519.         }
  520.         // line 281
  521.         echo "</span>
  522. \t\t\t\t\t\t</div>
  523. \t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
  524. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Цвет волос</span>
  525. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">";
  526.         // line 286
  527.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'286$this->source); })()), "personParameters", [], "any"falsefalsefalse286), "hairColor", [], "any"falsefalsefalse286)) {
  528.             // line 287
  529.             echo "<a class=\"link\" target=\"_blank\" href=\"";
  530.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_hair_color", ["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.'287$this->source); })()), "uriIdentity", [], "any"falsefalsefalse287), "hairColor" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($this->extensions['App\Twig\PersonParametersExtension']->hairColorUri(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'287$this->source); })()), "personParameters", [], "any"falsefalsefalse287), "hairColor", [], "any"falsefalsefalse287)))]), "html"nulltrue);
  531.             echo "\">";
  532.             // line 288
  533.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->hairColorLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'288$this->source); })()), "personParameters", [], "any"falsefalsefalse288), "hairColor", [], "any"falsefalsefalse288)), [], "hair_colors"), "html"nulltrue);
  534.             // line 289
  535.             echo "</a>";
  536.         } else {
  537.             // line 291
  538.             echo "-";
  539.         }
  540.         // line 293
  541.         echo "</span>
  542. \t\t\t\t\t\t</div>
  543. \t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
  544. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Национальность</span>
  545. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">";
  546.         // line 298
  547.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'298$this->source); })()), "personParameters", [], "any"falsefalsefalse298), "nationality", [], "any"falsefalsefalse298)) {
  548.             // line 299
  549.             echo "<a class=\"link\" target=\"_blank\" href=\"";
  550.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_nationality", ["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.'299$this->source); })()), "uriIdentity", [], "any"falsefalsefalse299), "nationality" => $this->extensions['App\Twig\PersonParametersExtension']->nationalityUri(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'299$this->source); })()), "personParameters", [], "any"falsefalsefalse299), "nationality", [], "any"falsefalsefalse299))]), "html"nulltrue);
  551.             echo "\">";
  552.             // line 300
  553.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->nationalityLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'300$this->source); })()), "personParameters", [], "any"falsefalsefalse300), "nationality", [], "any"falsefalsefalse300)), [], "nationalities"), "html"nulltrue);
  554.             // line 301
  555.             echo "</a>";
  556.         } else {
  557.             // line 303
  558.             echo "-";
  559.         }
  560.         // line 305
  561.         echo "</span>
  562. \t\t\t\t\t\t</div>
  563. \t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
  564. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Интимная стрижка</span>
  565. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">";
  566.         // line 310
  567.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'310$this->source); })()), "personParameters", [], "any"falsefalsefalse310), "privateHaircut", [], "any"falsefalsefalse310)) {
  568.             // line 311
  569.             echo "<a class=\"link\" target=\"_blank\" href=\"";
  570.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_private_haircut", ["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.'311$this->source); })()), "uriIdentity", [], "any"falsefalsefalse311), "privateHaircut" => $this->extensions['App\Twig\PersonParametersExtension']->privateHaircutUri(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'311$this->source); })()), "personParameters", [], "any"falsefalsefalse311), "privateHaircut", [], "any"falsefalsefalse311))]), "html"nulltrue);
  571.             echo "\">";
  572.             // line 312
  573.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->privateHaircutLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'312$this->source); })()), "personParameters", [], "any"falsefalsefalse312), "privateHaircut", [], "any"falsefalsefalse312)), [], "private_haircuts"), "html"nulltrue);
  574.             // line 313
  575.             echo "</a>";
  576.         } else {
  577.             // line 315
  578.             echo "-";
  579.         }
  580.         // line 317
  581.         echo "</span>
  582. \t\t\t\t\t\t</div>
  583. \t\t\t\t\t</div>
  584. \t\t\t\t\t<div class=\"profile-stat-table\">
  585. \t\t\t\t\t\t";
  586.         // line 321
  587.         $context["threshold"] = twig_get_attribute($this->env$this->sourcetwig_date_modify_filter($this->env"now""-14 days"), "getTimestamp", [], "method"falsefalsefalse321);
  588.         // line 322
  589.         echo "\t\t\t\t\t\t";
  590.         $context["updatedAtTs"] = ((twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'322$this->source); })()), "updatedAt", [], "any"falsefalsefalse322)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'322$this->source); })()), "updatedAt", [], "any"falsefalsefalse322), "getTimestamp", [], "method"falsefalsefalse322)) : (null));
  591.         // line 323
  592.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Дата регистрации", ((((((twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'323$this->source); })()), "createdAt", [], "any"falsefalsefalse323), "d") . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'323$this->source); })()), "createdAt", [], "any"falsefalsefalse323), "m"), [], "date")) . " ") . twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'323$this->source); })()), "createdAt", [], "any"falsefalsefalse323), "Y")) . " ") . twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'323$this->source); })()), "createdAt", [], "any"falsefalsefalse323), "H:i"))], 323$context$this->getSourceContext());
  593.         // line 324
  594.         if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs"$context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.'324$this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold"$context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.'324$this->source); })()))) {
  595.             // line 325
  596.             echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Дата обновления", ((((((twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'325$this->source); })()), "updatedAt", [], "any"falsefalsefalse325), "d") . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'325$this->source); })()), "updatedAt", [], "any"falsefalsefalse325), "m"), [], "date")) . " ") . twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'325$this->source); })()), "updatedAt", [], "any"falsefalsefalse325), "Y")) . " ") . twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'325$this->source); })()), "updatedAt", [], "any"falsefalsefalse325), "H:i"))], 325$context$this->getSourceContext());
  597.         }
  598.         // line 327
  599.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["ID анкеты"twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'327$this->source); })()), "id", [], "any"falsefalsefalse327)], 327$context$this->getSourceContext());
  600.         // line 328
  601.         echo "</div>
  602. \t\t\t\t</div>
  603. \t\t\t</div>";
  604.         // line 332
  605.         if (twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'332$this->source); })()), "deleted", [], "any"falsefalsefalse332)) {
  606.             // line 333
  607.             $this->loadTemplate("ProfilePreview/components/deleted-profile.partial.twig""ProfilePreview/page.html.twig"333)->display(twig_array_merge($context, ["type" => "profile""template" => "mobile"]));
  608.         }
  609.         // line 337
  610.         if (((twig_call_macro($macros["_self"], "macro__show_tabs", [twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'337$this->source); })()), "photos", [], "any"falsefalsefalse337), twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'337$this->source); })()), "selfies", [], "any"falsefalsefalse337), twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'337$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse337)], 337$context$this->getSourceContext()) == "true") &&  !twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'337$this->source); })()), "deleted", [], "any"falsefalsefalse337))) {
  611.             // line 338
  612.             $this->loadTemplate("ProfilePreview/components/media.partial.twig""ProfilePreview/page.html.twig"338)->display(twig_array_merge($context, ["template" => "profile"]));
  613.         }
  614.         // line 341
  615.         $this->loadTemplate("ProfilePreview/components/table-contacts.partial.twig""ProfilePreview/page.html.twig"341)->display(twig_array_merge($context, ["template" => "profile"]));
  616.         // line 343
  617.         echo "<div class=\"profile-location profile-block\">";
  618.         // line 344
  619.         $this->loadTemplate("ProfilePreview/components/profile-location.partial.twig""ProfilePreview/page.html.twig"344)->display(twig_array_merge($context, ["type" => "mobile""template" => "profile"]));
  620.         // line 345
  621.         echo "</div>
  622. \t\t\t
  623. \t\t\t<div class=\"profile-stat-mobile profile-block\">
  624. \t\t\t\t<div class=\"profile-stat-table-mobile d-flex-c\">";
  625.         // line 349
  626.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Возраст"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'349$this->source); })()), "personParameters", [], "any"falsefalsefalse349), "age", [], "any"falsefalsefalse349)], 349$context$this->getSourceContext());
  627.         // line 350
  628.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Рост"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'350$this->source); })()), "personParameters", [], "any"falsefalsefalse350), "height", [], "any"falsefalsefalse350)], 350$context$this->getSourceContext());
  629.         // line 351
  630.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Вес"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'351$this->source); })()), "personParameters", [], "any"falsefalsefalse351), "weight", [], "any"falsefalsefalse351)], 351$context$this->getSourceContext());
  631.         // line 352
  632.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Грудь"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'352$this->source); })()), "personParameters", [], "any"falsefalsefalse352), "breastSize", [], "any"falsefalsefalse352)], 352$context$this->getSourceContext());
  633.         // line 353
  634.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Одежда"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'353$this->source); })()), "personParameters", [], "any"falsefalsefalse353), "clothSize", [], "any"falsefalsefalse353)], 353$context$this->getSourceContext());
  635.         // line 354
  636.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Обувь"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'354$this->source); })()), "personParameters", [], "any"falsefalsefalse354), "shoesSize", [], "any"falsefalsefalse354)], 354$context$this->getSourceContext());
  637.         // line 356
  638.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Тату"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'356$this->source); })()), "personParameters", [], "any"falsefalsefalse356), "tattoo", [], "any"falsefalsefalse356), true], 356$context$this->getSourceContext());
  639.         // line 357
  640.         echo twig_call_macro($macros["macros"], "macro__data_wrapper", ["Пирсинг"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'357$this->source); })()), "personParameters", [], "any"falsefalsefalse357), "piercing", [], "any"falsefalsefalse357), true], 357$context$this->getSourceContext());
  641.         // line 358
  642.         echo "</div>
  643. \t\t\t\t<div class=\"profile-stat-rating d-flex-c\">
  644. \t\t\t\t\t<svg class=\"mr-1\" width=\"16\" height=\"16\" fill=\"none\"><path fill=\"#FF3F40\" d=\"M7.5 12.86c.3-.22.7-.22 1 0l3.02 2.3a.82.82 0 0 0 1.27-.9l-1.19-3.82c-.1-.33.02-.7.3-.9L15 7.23a.82.82 0 0 0-.49-1.48h-3.74a.82.82 0 0 1-.78-.57L8.78 1.24a.82.82 0 0 0-1.56 0L6.01 5.18a.82.82 0 0 1-.78.57H1.49a.82.82 0 0 0-.5 1.48l3.12 2.31c.27.2.4.57.29.9l-1.2 3.83a.82.82 0 0 0 1.28.9l3.03-2.3Z\"/></svg>
  645. \t\t\t\t\t<span class=\"fw-600 mr-2\">
  646. \t\t\t\t\t\t";
  647.         // line 363
  648.         echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'363$this->source); })()), "html"nulltrue);
  649.         echo "
  650. \t\t\t\t\t</span>
  651. \t\t\t\t\t<a href=\"#comments\">";
  652.         // line 365
  653.         echo twig_escape_filter($this->env, (isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'365$this->source); })()), "html"nulltrue);
  654.         echo " ";
  655.         echo twig_escape_filter($this->env, (isset($context["commentPlural"]) || array_key_exists("commentPlural"$context) ? $context["commentPlural"] : (function () { throw new RuntimeError('Variable "commentPlural" does not exist.'365$this->source); })()), "html"nulltrue);
  656.         echo "</a>
  657. \t\t\t\t</div>
  658. \t\t\t\t<div class=\"profile-stat-list d-flex\">
  659. \t\t\t\t\t<div class=\"profile-stat-list-column d-flex\">
  660. \t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  661. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Телосложение</span>
  662. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
  663.         // line 373
  664.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'373$this->source); })()), "personParameters", [], "any"falsefalsefalse373), "bodyType", [], "any"falsefalsefalse373)) {
  665.             // line 374
  666.             echo "<a class=\"link\" href=\"";
  667.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_body_type", ["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.'374$this->source); })()), "uriIdentity", [], "any"falsefalsefalse374), "bodyType" => $this->extensions['App\Twig\PersonParametersExtension']->bodyTypeUri(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'374$this->source); })()), "personParameters", [], "any"falsefalsefalse374), "bodyType", [], "any"falsefalsefalse374))]), "html"nulltrue);
  668.             echo "\" target=\"_blank\">";
  669.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->bodyTypeLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'374$this->source); })()), "personParameters", [], "any"falsefalsefalse374), "bodyType", [], "any"falsefalsefalse374)), [], "body_types"), "html"nulltrue);
  670.             echo "</a>";
  671.         } else {
  672.             // line 376
  673.             echo "-";
  674.         }
  675.         // line 378
  676.         echo "</span>
  677. \t\t\t\t\t\t</div>
  678. \t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  679. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Цвет волос</span>
  680. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
  681.         // line 383
  682.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'383$this->source); })()), "personParameters", [], "any"falsefalsefalse383), "hairColor", [], "any"falsefalsefalse383)) {
  683.             // line 384
  684.             echo "<a class=\"link\" target=\"_blank\" href=\"";
  685.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_hair_color", ["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.'384$this->source); })()), "uriIdentity", [], "any"falsefalsefalse384), "hairColor" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($this->extensions['App\Twig\PersonParametersExtension']->hairColorUri(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'384$this->source); })()), "personParameters", [], "any"falsefalsefalse384), "hairColor", [], "any"falsefalsefalse384)))]), "html"nulltrue);
  686.             echo "\">";
  687.             // line 385
  688.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->hairColorLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'385$this->source); })()), "personParameters", [], "any"falsefalsefalse385), "hairColor", [], "any"falsefalsefalse385)), [], "hair_colors"), "html"nulltrue);
  689.             // line 386
  690.             echo "</a>";
  691.         } else {
  692.             // line 388
  693.             echo "-";
  694.         }
  695.         // line 390
  696.         echo "</span>
  697. \t\t\t\t\t\t</div>
  698. \t\t\t\t\t\t";
  699.         // line 392
  700.         if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("has_breast_type")) {
  701.             // line 393
  702.             echo "\t\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  703. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Тип груди</span>
  704. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
  705.             // line 396
  706.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'396$this->source); })()), "personParameters", [], "any"falsefalsefalse396), "hairColor", [], "any"falsefalsefalse396)) {
  707.                 // line 397
  708.                 echo "<a class=\"link\" target=\"_blank\" href=\"";
  709.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_breast_type", ["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.'397$this->source); })()), "uriIdentity", [], "any"falsefalsefalse397), "breastType" => $this->extensions['App\Twig\PersonParametersExtension']->breastTypeUri(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'397$this->source); })()), "personParameters", [], "any"falsefalsefalse397), "breastType", [], "any"falsefalsefalse397))]), "html"nulltrue);
  710.                 echo "\">";
  711.                 // line 398
  712.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->breastTypeLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'398$this->source); })()), "personParameters", [], "any"falsefalsefalse398), "breastType", [], "any"falsefalsefalse398)), [], "breast_types"), "html"nulltrue);
  713.                 // line 399
  714.                 echo "</a>";
  715.             } else {
  716.                 // line 401
  717.                 echo "-";
  718.             }
  719.             // line 403
  720.             echo "</span>
  721. \t\t\t\t\t\t\t</div>";
  722.         }
  723.         // line 406
  724.         echo "<div class=\"profile-stat-list-item d-flex-c\">
  725. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Национальность</span>
  726. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
  727.         // line 409
  728.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'409$this->source); })()), "personParameters", [], "any"falsefalsefalse409), "nationality", [], "any"falsefalsefalse409)) {
  729.             // line 410
  730.             echo "<a class=\"link\" target=\"_blank\" href=\"";
  731.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_nationality", ["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.'410$this->source); })()), "uriIdentity", [], "any"falsefalsefalse410), "nationality" => $this->extensions['App\Twig\PersonParametersExtension']->nationalityUri(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'410$this->source); })()), "personParameters", [], "any"falsefalsefalse410), "nationality", [], "any"falsefalsefalse410))]), "html"nulltrue);
  732.             echo "\">";
  733.             // line 411
  734.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->nationalityLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'411$this->source); })()), "personParameters", [], "any"falsefalsefalse411), "nationality", [], "any"falsefalsefalse411)), [], "nationalities"), "html"nulltrue);
  735.             // line 412
  736.             echo "</a>";
  737.         } else {
  738.             // line 414
  739.             echo "-";
  740.         }
  741.         // line 416
  742.         echo "</span>
  743. \t\t\t\t\t\t</div>
  744. \t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  745. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Интимная стрижка</span>
  746. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
  747.         // line 421
  748.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'421$this->source); })()), "personParameters", [], "any"falsefalsefalse421), "privateHaircut", [], "any"falsefalsefalse421)) {
  749.             // line 422
  750.             echo "<a class=\"link\" target=\"_blank\" href=\"";
  751.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_private_haircut", ["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.'422$this->source); })()), "uriIdentity", [], "any"falsefalsefalse422), "privateHaircut" => $this->extensions['App\Twig\PersonParametersExtension']->privateHaircutUri(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'422$this->source); })()), "personParameters", [], "any"falsefalsefalse422), "privateHaircut", [], "any"falsefalsefalse422))]), "html"nulltrue);
  752.             echo "\">";
  753.             // line 423
  754.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->privateHaircutLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'423$this->source); })()), "personParameters", [], "any"falsefalsefalse423), "privateHaircut", [], "any"falsefalsefalse423)), [], "private_haircuts"), "html"nulltrue);
  755.             // line 424
  756.             echo "</a>";
  757.         } else {
  758.             // line 426
  759.             echo "-";
  760.         }
  761.         // line 428
  762.         echo "</span>
  763. \t\t\t\t\t\t</div>
  764. \t\t\t\t\t</div>
  765. \t\t\t\t\t<div class=\"profile-stat-list-column d-flex\">";
  766.         // line 432
  767.         if (twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'432$this->source); })()), "createdAt", [], "any"falsefalsefalse432)) {
  768.             // line 433
  769.             echo "<div class=\"profile-stat-list-item d-flex-c\">
  770. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Дата регистрации</span>
  771. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
  772.             // line 436
  773.             echo twig_escape_filter($this->env, ((((((twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'436$this->source); })()), "createdAt", [], "any"falsefalsefalse436), "d") . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'436$this->source); })()), "createdAt", [], "any"falsefalsefalse436), "m"), [], "date")) . " ") . twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'436$this->source); })()), "createdAt", [], "any"falsefalsefalse436), "Y")) . " ") . twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'436$this->source); })()), "createdAt", [], "any"falsefalsefalse436), "H:i")), "html"nulltrue);
  774.             // line 437
  775.             echo "</span>
  776. \t\t\t\t\t\t\t</div>";
  777.         }
  778.         // line 441
  779.         $context["threshold"] = twig_get_attribute($this->env$this->sourcetwig_date_modify_filter($this->env"now""-14 days"), "getTimestamp", [], "method"falsefalsefalse441);
  780.         // line 442
  781.         $context["updatedAtTs"] = ((twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'442$this->source); })()), "updatedAt", [], "any"falsefalsefalse442)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'442$this->source); })()), "updatedAt", [], "any"falsefalsefalse442), "getTimestamp", [], "method"falsefalsefalse442)) : (""));
  782.         // line 443
  783.         if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs"$context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.'443$this->source); })()) && ((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs"$context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.'443$this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold"$context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.'443$this->source); })())))) {
  784.             // line 444
  785.             echo "<div class=\"profile-stat-list-item d-flex-c\">
  786. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Дата обновления</span>
  787. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
  788.             // line 447
  789.             echo twig_escape_filter($this->env, ((((((twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'447$this->source); })()), "updatedAt", [], "any"falsefalsefalse447), "d") . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'447$this->source); })()), "updatedAt", [], "any"falsefalsefalse447), "m"), [], "date")) . " ") . twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'447$this->source); })()), "updatedAt", [], "any"falsefalsefalse447), "Y")) . " ") . twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'447$this->source); })()), "updatedAt", [], "any"falsefalsefalse447), "H:i")), "html"nulltrue);
  790.             // line 448
  791.             echo "</span>
  792. \t\t\t\t\t\t\t</div>";
  793.         }
  794.         // line 452
  795.         echo "<div class=\"profile-stat-list-item d-flex-c\">
  796. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">ID анкеты</span>
  797. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">";
  798.         // line 455
  799.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'455$this->source); })()), "id", [], "any"falsefalsefalse455), "html"nulltrue);
  800.         // line 456
  801.         echo "</span>
  802. \t\t\t\t\t\t</div>
  803. \t\t\t\t\t</div>
  804. \t\t\t\t</div>";
  805.         // line 461
  806.         $this->loadTemplate("ProfilePreview/components/profile-approved.partial.twig""ProfilePreview/page.html.twig"461)->display(twig_array_merge($context, ["type" => "mobile"]));
  807.         // line 462
  808.         echo "</div>
  809. \t\t</div>
  810. \t\t";
  811.         // line 466
  812.         echo "\t\t<div class=\"profile-block profile-block--about d-flex white-round\">
  813. \t\t\t<h2 class=\"text-xl\">О СЕБЕ</h2>
  814. \t\t\t<p class=\"text-basic\">";
  815.         // line 468
  816.         echo twig_nl2br(twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'468$this->source); })()), "description", [], "any"falsefalsefalse468), "html"nulltrue));
  817.         echo "</p>
  818. \t\t</div>
  819. \t\t";
  820.         // line 472
  821.         echo "\t\t";
  822.         $context["template"] = "profiles";
  823.         // line 473
  824.         echo "\t\t";
  825.         $context["mappingService"] = ((((isset($context["template"]) || array_key_exists("template"$context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.'473$this->source); })()) == "profiles")) ? (twig_array_filter($this->env, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'473$this->source); })()), function ($__serviceGroup__$__group__) use ($context$macros) { $context["serviceGroup"] = $__serviceGroup__$context["group"] = $__group__; return ( !twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'473$this->source); })()), "masseur", [], "any"falsefalsefalse473) || !twig_in_filter((isset($context["group"]) || array_key_exists("group"$context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.'473$this->source); })()), (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups"$context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.'473$this->source); })()))); })) : ((isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'473$this->source); })())));
  826.         // line 474
  827.         echo "\t\t";
  828.         $context["haveServices"] = false;
  829.         // line 475
  830.         echo "\t\t";
  831.         $context['_parent'] = $context;
  832.         $context['_seq'] = twig_ensure_traversable((isset($context["mappingService"]) || array_key_exists("mappingService"$context) ? $context["mappingService"] : (function () { throw new RuntimeError('Variable "mappingService" does not exist.'475$this->source); })()));
  833.         foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
  834.             // line 476
  835.             echo "\t\t\t";
  836.             // line 477
  837.             echo "\t\t\t";
  838.             $context['_parent'] = $context;
  839.             $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  840.             foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  841.                 // line 478
  842.                 echo "\t\t\t\t";
  843.                 if (twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'478$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse478)) {
  844.                     // line 479
  845.                     echo "\t\t\t\t\t";
  846.                     $context["haveServices"] = true;
  847.                     // line 480
  848.                     echo "\t\t\t\t";
  849.                 }
  850.                 // line 481
  851.                 echo "\t\t\t";
  852.             }
  853.             $_parent $context['_parent'];
  854.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  855.             $context array_intersect_key($context$_parent) + $_parent;
  856.             // line 482
  857.             echo "\t\t";
  858.         }
  859.         $_parent $context['_parent'];
  860.         unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
  861.         $context array_intersect_key($context$_parent) + $_parent;
  862.         // line 483
  863.         echo "\t\t";
  864.         if ((isset($context["haveServices"]) || array_key_exists("haveServices"$context) ? $context["haveServices"] : (function () { throw new RuntimeError('Variable "haveServices" does not exist.'483$this->source); })())) {
  865.             // line 484
  866.             echo "\t\t<div class=\"profile-block d-flex white-round mb-4\">
  867. \t\t\t<div class=\"profile-block-heading profile-block-heading--service d-flex-c\">
  868. \t\t\t\t<h2 class=\"text-xl\">УСЛУГИ, ОКАЗЫВАЕМЫЕ ДЕВУШКОЙ</h2>
  869. \t\t\t\t<div class=\"service-heading\">
  870. \t\t\t\t\t<div class=\"service-heading-list d-flex-c\">
  871. \t\t\t\t\t\t<div class=\"d-flex-c\">
  872. \t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
  873. \t\t\t\t\t\t\t\t<use xlink:href=\"#service-green\"></use>
  874. \t\t\t\t\t\t\t</svg>
  875. \t\t\t\t\t\t\t<span>- включено в стоимость</span>
  876. \t\t\t\t\t\t</div>
  877. \t\t\t\t\t\t<div class=\"d-flex-c\">
  878. \t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
  879. \t\t\t\t\t\t\t\t<use xlink:href=\"#service-orange\"></use>
  880. \t\t\t\t\t\t\t</svg>
  881. \t\t\t\t\t\t\t<span>- по симпатии</span>
  882. \t\t\t\t\t\t</div>
  883. \t\t\t\t\t\t<div class=\"d-flex-c\">
  884. \t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
  885. \t\t\t\t\t\t\t\t<use xlink:href=\"#service-red\"></use>
  886. \t\t\t\t\t\t\t</svg>
  887. \t\t\t\t\t\t\t<span>- за дополнительную плату</span>
  888. \t\t\t\t\t\t</div>
  889. \t\t\t\t\t\t";
  890.             // line 513
  891.             echo "\t\t\t\t\t</div>
  892. \t\t\t\t</div>
  893. \t\t\t</div>
  894. \t\t\t<div class=\"profile-services\">";
  895.             // line 518
  896.             $this->loadTemplate("ProfilePreview/components/services.partial.twig""ProfilePreview/page.html.twig"518)->display(twig_array_merge($context, ["template" => "profiles"]));
  897.             // line 519
  898.             echo "</div>";
  899.             // line 521
  900.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'521$this->source); })()), "clientTypes", [], "any"falsefalsefalse521)) > 0)) {
  901.                 // line 522
  902.                 echo "<div class=\"service-special d-flex-c\">
  903. \t\t\t\t\t<h3 class=\"service-special-title\">Услуги для</h3>
  904. \t\t\t\t\t<div class=\"service-special-list d-flex-c\">";
  905.                 // line 525
  906.                 $context["client_types_text"] = ["1""2""3""4""5"];
  907.                 // line 526
  908.                 $context["includeService"] = false;
  909.                 // line 527
  910.                 $context['_parent'] = $context;
  911.                 $context['_seq'] = twig_ensure_traversable((isset($context["client_types_text"]) || array_key_exists("client_types_text"$context) ? $context["client_types_text"] : (function () { throw new RuntimeError('Variable "client_types_text" does not exist.'527$this->source); })()));
  912.                 foreach ($context['_seq'] as $context["_key"] => $context["clientTypeText"]) {
  913.                     // line 528
  914.                     $context['_parent'] = $context;
  915.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'528$this->source); })()), "clientTypes", [], "any"falsefalsefalse528));
  916.                     foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
  917.                         // line 529
  918.                         if (($context["clientTypeText"] == $context["clientType"])) {
  919.                             // line 530
  920.                             $context["includeService"] = true;
  921.                         }
  922.                     }
  923.                     $_parent $context['_parent'];
  924.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientType'], $context['_parent'], $context['loop']);
  925.                     $context array_intersect_key($context$_parent) + $_parent;
  926.                     // line 533
  927.                     if (($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]) != "TRANS")) {
  928.                         // line 534
  929.                         if (((isset($context["includeService"]) || array_key_exists("includeService"$context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.'534$this->source); })()) == true)) {
  930.                             // line 535
  931.                             echo "<div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 20 20\" width=\"20\"><use xlink:href=\"#service-include\"></use></svg><span>";
  932.                             // line 536
  933.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]), [], "client_types"), "html"nulltrue);
  934.                             // line 537
  935.                             echo "</span></div>";
  936.                         } else {
  937.                         }
  938.                     }
  939.                     // line 544
  940.                     $context["includeService"] = false;
  941.                 }
  942.                 $_parent $context['_parent'];
  943.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientTypeText'], $context['_parent'], $context['loop']);
  944.                 $context array_intersect_key($context$_parent) + $_parent;
  945.                 // line 546
  946.                 echo "</div>
  947. \t\t\t\t</div>";
  948.             }
  949.             // line 550
  950.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'550$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse550), "locations", [], "any"falsefalsefalse550)) > 0)) {
  951.                 // line 551
  952.                 echo "<div class=\"service-special d-flex-c\">
  953. \t\t\t\t\t<h3 class=\"service-special-title\">Выезд</h3>
  954. \t\t\t\t\t<div class=\"service-special-list d-flex-c\">";
  955.                 // line 554
  956.                 $context["locations_text"] = ["1""2""3""4""5""6"];
  957.                 // line 555
  958.                 $context["includeService"] = false;
  959.                 // line 556
  960.                 $context['_parent'] = $context;
  961.                 $context['_seq'] = twig_ensure_traversable((isset($context["locations_text"]) || array_key_exists("locations_text"$context) ? $context["locations_text"] : (function () { throw new RuntimeError('Variable "locations_text" does not exist.'556$this->source); })()));
  962.                 foreach ($context['_seq'] as $context["_key"] => $context["locationsText"]) {
  963.                     // line 557
  964.                     $context['_parent'] = $context;
  965.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'557$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse557), "locations", [], "any"falsefalsefalse557));
  966.                     foreach ($context['_seq'] as $context["_key"] => $context["locations"]) {
  967.                         // line 558
  968.                         if (($context["locationsText"] == $context["locations"])) {
  969.                             // line 559
  970.                             $context["includeService"] = true;
  971.                         }
  972.                     }
  973.                     $_parent $context['_parent'];
  974.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locations'], $context['_parent'], $context['loop']);
  975.                     $context array_intersect_key($context$_parent) + $_parent;
  976.                     // line 562
  977.                     if (((isset($context["includeService"]) || array_key_exists("includeService"$context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.'562$this->source); })()) == true)) {
  978.                         // line 563
  979.                         echo "<div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 20 20\" width=\"20\"><use xlink:href=\"#service-include\"></use></svg><span>";
  980.                         // line 564
  981.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\TakeOutLocationsExtension']->locationLabel($context["locationsText"]), [], "take_out_location"), "html"nulltrue);
  982.                         // line 565
  983.                         echo "</span></div>";
  984.                     } else {
  985.                     }
  986.                     // line 571
  987.                     $context["includeService"] = false;
  988.                 }
  989.                 $_parent $context['_parent'];
  990.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locationsText'], $context['_parent'], $context['loop']);
  991.                 $context array_intersect_key($context$_parent) + $_parent;
  992.                 // line 573
  993.                 echo "</div>
  994. \t\t\t\t</div>";
  995.             }
  996.             // line 576
  997.             echo "</div>
  998. \t\t";
  999.         }
  1000.         // line 578
  1001.         echo "
  1002. \t\t";
  1003.         // line 580
  1004.         echo "\t\t<div class=\"profile-map profile-map--desktop white-round mb-4 skeleton\">
  1005. \t\t\t<div class=\"profile-map-block\" id=\"profile-map\"></div>
  1006. \t\t</div>
  1007. \t\t";
  1008.         // line 585
  1009.         if (($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("profile_comments") &&  !twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'585$this->source); })()), "deleted", [], "any"falsefalsefalse585))) {
  1010.             // line 586
  1011.             $context["commentsCount"] = twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'586$this->source); })()), "comments", [], "any"falsefalsefalse586));
  1012.             // line 587
  1013.             echo "<noindex>
  1014. \t\t\t\t<div class=\"review profile-block d-flex white-round mb-4\"
  1015. \t\t\t\t\t\tdata-user=\"";
  1016.             // line 589
  1017.             echo (($this->extensions['App\Twig\UserExtension']->isUserCustomer(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'589$this->source); })()), "user", [], "any"falsefalsefalse589))) ? ("true") : ("false"));
  1018.             echo "\"
  1019. \t\t\t\t\t\tdata-url=\"";
  1020.             // line 590
  1021.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile.comment.create", ["profile" => twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'590$this->source); })()), "id", [], "any"falsefalsefalse590)]), "html"nulltrue);
  1022.             echo "\"
  1023. \t\t\t\t\t\tdata-reg-url=\"";
  1024.             // line 591
  1025.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
  1026.             echo "\"
  1027. \t\t\t\t\t\t";
  1028.             // line 592
  1029.             if (array_key_exists("comment_form"$context)) {
  1030.                 // line 593
  1031.                 echo "\t\t\t\t\t\t\tdata-entity-id=\"";
  1032.                 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["comment_form"]) || array_key_exists("comment_form"$context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.'593$this->source); })()), "entity_id", [], "any"falsefalsefalse593), "vars", [], "any"falsefalsefalse593), "id", [], "any"falsefalsefalse593), "html"nulltrue);
  1033.                 echo "\"
  1034. \t\t\t\t\t\t\tdata-mark=\"";
  1035.                 // line 594
  1036.                 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["comment_form"]) || array_key_exists("comment_form"$context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.'594$this->source); })()), "mark", [], "any"falsefalsefalse594), "vars", [], "any"falsefalsefalse594), "full_name", [], "any"falsefalsefalse594), "html"nulltrue);
  1037.                 echo "\"
  1038. \t\t\t\t\t\t\tdata-text=\"";
  1039.                 // line 595
  1040.                 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["comment_form"]) || array_key_exists("comment_form"$context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.'595$this->source); })()), "text", [], "any"falsefalsefalse595), "vars", [], "any"falsefalsefalse595), "id", [], "any"falsefalsefalse595), "html"nulltrue);
  1041.                 echo "\"
  1042. \t\t\t\t\t\t";
  1043.             }
  1044.             // line 597
  1045.             echo "\t\t\t\t\t\tid=\"comments\"
  1046. \t\t\t\t>
  1047. \t\t\t\t\t<div class=\"review-heading d-flex-c mb-4\">
  1048. \t\t\t\t\t\t<h2 class=\"review-heading-title text-xl\">ОТЗЫВЫ</h2>
  1049. \t\t\t\t\t\t<div class=\"review-rating d-flex-c\" ";
  1050.             // line 601
  1051.             if (((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'601$this->source); })()) > 0)) {
  1052.                 echo "itemscope itemtype=\"https://schema.org/AggregateRating\"";
  1053.             }
  1054.             echo " data-rating=\"";
  1055.             echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'601$this->source); })()), "html"nulltrue);
  1056.             echo "\">";
  1057.             // line 602
  1058.             if (((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'602$this->source); })()) > 0)) {
  1059.                 // line 603
  1060.                 echo "<meta itemprop=\"worstRating\" content=\"1\">
  1061. \t\t\t\t\t\t\t\t<meta itemprop=\"ratingValue\" content=\"";
  1062.                 // line 604
  1063.                 echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'604$this->source); })()), "html"nulltrue);
  1064.                 echo "\">
  1065. \t\t\t\t\t\t\t\t<meta itemprop=\"bestRating\" content=\"5\">
  1066. \t\t\t\t\t\t\t\t<meta itemprop=\"reviewCount\" content=\"";
  1067.                 // line 606
  1068.                 echo twig_escape_filter($this->env, (isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'606$this->source); })()), "html"nulltrue);
  1069.                 echo "\">";
  1070.             }
  1071.             // line 608
  1072.             echo "<div class=\"review-rating-text d-flex-c\" itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\">
  1073. \t\t\t\t\t\t\t\t<meta itemprop=\"address\" content=\"";
  1074.             // line 609
  1075.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'609$this->source); })()), "city", [], "any"falsefalsefalse609), "name", [], "any"falsefalsefalse609), "html"nulltrue);
  1076.             echo "\" />
  1077. \t\t\t\t\t\t\t\t<meta itemprop=\"telephone\" content=\"";
  1078.             // line 610
  1079.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'610$this->source); })()), "phoneNumber", [], "any"falsefalsefalse610), "html"nulltrue);
  1080.             echo "\" />
  1081. \t\t\t\t\t\t\t\t<meta itemprop=\"name\" content=\"Рейтинг анкеты ";
  1082.             // line 611
  1083.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'611$this->source); })()), "name", [], "any"falsefalsefalse611), "html"nulltrue);
  1084.             echo "\">
  1085. \t\t\t\t\t\t\t\t<span class=\"review-rating-value";
  1086.             // line 612
  1087.             echo ((((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'612$this->source); })()) == 0)) ? (" zero") : (""));
  1088.             echo " mr-1\">";
  1089.             // line 613
  1090.             echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'613$this->source); })()), "html"nulltrue);
  1091.             // line 614
  1092.             echo "</span>
  1093. \t\t\t\t\t\t\t\t<span class=\"review-rating-count\">
  1094. \t\t\t\t\t\t\t\t\tпо ";
  1095.             // line 616
  1096.             echo twig_escape_filter($this->env, (isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'616$this->source); })()), "html"nulltrue);
  1097.             echo " ";
  1098.             echo ((((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'616$this->source); })()) == 1)) ? ("отзыву") : ("отзывам"));
  1099.             // line 617
  1100.             echo "</span>
  1101. \t\t\t\t\t\t\t</div>
  1102. \t\t\t\t\t\t\t<div class=\"rating-star-block d-flex-c\">";
  1103.             // line 620
  1104.             $context['_parent'] = $context;
  1105.             $context['_seq'] = twig_ensure_traversable(range(15));
  1106.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  1107.                 // line 621
  1108.                 echo "<svg width=\"24\" height=\"25\" class=\"rating-star";
  1109.                 if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'621$this->source); })()) >= $context["i"])) {
  1110.                     echo " active";
  1111.                 }
  1112.                 echo "\"><use xlink:href=\"#review-star\"></use></svg>";
  1113.             }
  1114.             $_parent $context['_parent'];
  1115.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  1116.             $context array_intersect_key($context$_parent) + $_parent;
  1117.             // line 623
  1118.             echo "</div>
  1119. \t\t\t\t\t\t</div>
  1120. \t\t\t\t\t</div>
  1121. \t\t\t\t\t<div class=\"review-comments d-flex\">";
  1122.             // line 628
  1123.             if (((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'628$this->source); })()) > 0)) {
  1124.                 // line 629
  1125.                 echo "<div class=\"review-comments-list\" id=\"review-comments-list\">";
  1126.                 // line 630
  1127.                 $context['_parent'] = $context;
  1128.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'630$this->source); })()), "comments", [], "any"falsefalsefalse630));
  1129.                 $context['loop'] = [
  1130.                   'parent' => $context['_parent'],
  1131.                   'index0' => 0,
  1132.                   'index'  => 1,
  1133.                   'first'  => true,
  1134.                 ];
  1135.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1136.                     $length count($context['_seq']);
  1137.                     $context['loop']['revindex0'] = $length 1;
  1138.                     $context['loop']['revindex'] = $length;
  1139.                     $context['loop']['length'] = $length;
  1140.                     $context['loop']['last'] = === $length;
  1141.                 }
  1142.                 foreach ($context['_seq'] as $context["_key"] => $context["comment"]) {
  1143.                     // line 631
  1144.                     $this->loadTemplate("ProfilePreview/comment.html.twig""ProfilePreview/page.html.twig"631)->display($context);
  1145.                     ++$context['loop']['index0'];
  1146.                     ++$context['loop']['index'];
  1147.                     $context['loop']['first'] = false;
  1148.                     if (isset($context['loop']['length'])) {
  1149.                         --$context['loop']['revindex0'];
  1150.                         --$context['loop']['revindex'];
  1151.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1152.                     }
  1153.                 }
  1154.                 $_parent $context['_parent'];
  1155.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comment'], $context['_parent'], $context['loop']);
  1156.                 $context array_intersect_key($context$_parent) + $_parent;
  1157.                 // line 633
  1158.                 echo "</div>";
  1159.             } else {
  1160.                 // line 635
  1161.                 echo "<div class=\"review-comments-list review-comments-list-empty\" id=\"review-comments-list\">
  1162. \t\t\t\t\t\t\t\t<span class=\"review-comments-list-empty-text\">Пока отзывов нет. ";
  1163.                 // line 636
  1164.                 if ( !$this->extensions['App\Twig\UserExtension']->isUserAdvertiser(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'636$this->source); })()), "user", [], "any"falsefalsefalse636))) {
  1165.                     echo "Оставьте первый отзыв.";
  1166.                 }
  1167.                 echo "</span>
  1168. \t\t\t\t\t\t\t</div>";
  1169.             }
  1170.             // line 641
  1171.             if ( !$this->extensions['App\Twig\UserExtension']->isUserAdvertiser(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'641$this->source); })()), "user", [], "any"falsefalsefalse641))) {
  1172.                 // line 642
  1173.                 echo "<div class=\"review-form skeleton\" id=\"review-form\">
  1174. \t\t\t\t\t\t\t\t";
  1175.                 // line 644
  1176.                 echo "\t\t\t\t\t\t\t</div>";
  1177.             }
  1178.             // line 646
  1179.             echo "</div>
  1180. \t\t\t\t</div>
  1181. \t\t\t</noindex>";
  1182.         }
  1183.         // line 652
  1184.         echo "\t\t";
  1185.         // line 675
  1186.         echo "
  1187. \t\t";
  1188.         // line 677
  1189.         echo "\t\t<div id=\"recommendations\">";
  1190.         // line 678
  1191.         $context["excludeRecommendationProfileIds"] = [twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'678$this->source); })()), "id", [], "any"falsefalsefalse678)];
  1192.         // line 679
  1193.         $this->loadTemplate("Recommendations/_profile_recommendations.html.twig""ProfilePreview/page.html.twig"679)->display(twig_array_merge($context, ["componentClass" => "mobile"]));
  1194.         // line 680
  1195.         echo "</div>
  1196.     \t";
  1197.         // line 682
  1198.         echo twig_include($this->env$context"ProfilePreview/nearest_profiles.html.twig");
  1199.         echo "
  1200. \t\t";
  1201.         // line 685
  1202.         echo "\t\t";
  1203.         // line 686
  1204.         echo "\t\t";
  1205.         // line 688
  1206.         $this->loadTemplate("ProfilePreview/components/mobile-contacts.partial.twig""ProfilePreview/page.html.twig"688)->display(twig_array_merge($context, ["template" => "profile"]));
  1207.         // line 689
  1208.         echo "</div>";
  1209.         
  1210.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1211.         
  1212.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1213.         
  1214.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  1215.     }
  1216.     // line 692
  1217.     public function block_javascripts($context, array $blocks = [])
  1218.     {
  1219.         $macros $this->macros;
  1220.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  1221.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1222.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1224.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1226.         // line 693
  1227.         echo "<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  1228. \t<script>
  1229. \t\twindow.comment_data = {
  1230. \t\t\t'comment_create': '";
  1231.         // line 696
  1232.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile.comment.create", ["profile" => twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'696$this->source); })()), "id", [], "any"falsefalsefalse696)]), "html"nulltrue);
  1233.         echo "',
  1234. \t\t\t'form_get': '";
  1235.         // line 697
  1236.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile.comment.comment_form", ["profile" => twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'697$this->source); })()), "id", [], "any"falsefalsefalse697)]), "html"nulltrue);
  1237.         echo "',
  1238. \t\t\t'sitekey': \"";
  1239.         // line 698
  1240.         echo twig_escape_filter($this->env, (isset($context["ewz_recaptcha_site_key"]) || array_key_exists("ewz_recaptcha_site_key"$context) ? $context["ewz_recaptcha_site_key"] : (function () { throw new RuntimeError('Variable "ewz_recaptcha_site_key" does not exist.'698$this->source); })()), "html"nulltrue);
  1241.         echo "\",
  1242. \t\t\t'registrationUrl': \"";
  1243.         // line 699
  1244.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
  1245.         echo "\",
  1246. \t\t\t'avatar_anonymous': \"";
  1247.         // line 700
  1248.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/avatar-user-anonymous.svg"), "html"nulltrue);
  1249.         echo "\",
  1250. \t\t\t'avatar_default': \"";
  1251.         // line 701
  1252.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/default-user-avatar.svg"), "html"nulltrue);
  1253.         echo "\"
  1254. \t\t};
  1255.         window._lD = {
  1256.             setLastViewedListing: '";
  1257.         // line 705
  1258.         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.'705$this->source); })()), "request", [], "any"falsefalsefalse705), "attributes", [], "any"falsefalsefalse705), "get", ["_route"], "method"falsefalsefalse705), "html"nulltrue);
  1259.         echo "',
  1260.             cityUrl: \"";
  1261.         // line 706
  1262.         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.'706$this->source); })()), "uriIdentity", [], "any"falsefalsefalse706), "html"nulltrue);
  1263.         echo "\",
  1264.         };
  1265. \t\tdocument.addEventListener('header:update', (event) => {
  1266. \t\t\tconst userData = event.detail?.data;
  1267. \t\t\tif (userData.user && userData.role === 'advertiser') return;
  1268. \t\t\t";
  1269.         // line 713
  1270.         $this->loadTemplate("ProfileList/_favorite-button.partial.script.js""ProfilePreview/page.html.twig"713)->display($context);
  1271.         // line 714
  1272.         echo "\t\t});
  1273. \t\twindow.siteData = {
  1274. \t\t\tstations: {";
  1275.         // line 718
  1276.         $context['_parent'] = $context;
  1277.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
  1278.         $context['loop'] = [
  1279.           'parent' => $context['_parent'],
  1280.           'index0' => 0,
  1281.           'index'  => 1,
  1282.           'first'  => true,
  1283.         ];
  1284.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1285.             $length count($context['_seq']);
  1286.             $context['loop']['revindex0'] = $length 1;
  1287.             $context['loop']['revindex'] = $length;
  1288.             $context['loop']['length'] = $length;
  1289.             $context['loop']['last'] = === $length;
  1290.         }
  1291.         foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  1292.             // line 719
  1293.             echo "\"";
  1294.             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"falsefalsefalse719)), "html"nulltrue);
  1295.             echo "\": \"";
  1296.             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"falsefalsefalse719), "uriIdentity", [], "any"falsefalsefalse719), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse719)]), "html"nulltrue);
  1297.             echo "\"";
  1298.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse719)) {
  1299.                 echo ",";
  1300.             }
  1301.             ++$context['loop']['index0'];
  1302.             ++$context['loop']['index'];
  1303.             $context['loop']['first'] = false;
  1304.             if (isset($context['loop']['length'])) {
  1305.                 --$context['loop']['revindex0'];
  1306.                 --$context['loop']['revindex'];
  1307.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  1308.             }
  1309.         }
  1310.         $_parent $context['_parent'];
  1311.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  1312.         $context array_intersect_key($context$_parent) + $_parent;
  1313.         // line 721
  1314.         echo "}
  1315. \t\t};
  1316. \t</script>";
  1317.         // line 725
  1318.         $this->displayParentBlock("javascripts"$context$blocks);
  1319.         // line 726
  1320.         echo "<script>
  1321. \t\t(function() {
  1322.             let isRenderRecommendationsWidget = false;
  1323.             let isRenderBotWidget = false;
  1324.             let isRenderRecentlyViewedWidget = false;
  1325.             function loadWidgets() {
  1326.                 try {
  1327.                     if (!isRenderRecommendationsWidget) {
  1328.                         isRenderRecommendationsWidget = true;
  1329.                         //window.profileRecommendations.addViewedProfile(";
  1330.         // line 736
  1331.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'736$this->source); })()), "id", [], "any"falsefalsefalse736), "html"nulltrue);
  1332.         echo ")
  1333. \t\t\t\t\t\twindow.Recommendation.addViewedProfile(";
  1334.         // line 737
  1335.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'737$this->source); })()), "id", [], "any"falsefalsefalse737), "html"nulltrue);
  1336.         echo ")
  1337.                     }
  1338.                     // if (!isRenderBotWidget) {
  1339.                     //     isRenderBotWidget = true;
  1340.                     //     window.profileBotHelper.addViewedProfile(";
  1341.         // line 741
  1342.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'741$this->source); })()), "id", [], "any"falsefalsefalse741), "html"nulltrue);
  1343.         echo ");
  1344.                     // }
  1345.                     if (!isRenderRecentlyViewedWidget) {
  1346.                         isRenderRecentlyViewedWidget = true;
  1347.                         //window.recentlyViewed.addViewedProfile(";
  1348.         // line 745
  1349.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'745$this->source); })()), "id", [], "any"falsefalsefalse745), "html"nulltrue);
  1350.         echo ");
  1351.                     }
  1352.                 } catch (error) {
  1353.                     console.error(error);
  1354.                 }
  1355.             }
  1356.             document.addEventListener('DOMContentLoaded', function() {
  1357.                 try {
  1358.                     loadWidgets();
  1359.                 } catch (error) {
  1360.                     console.error(error);
  1361.                 }
  1362. \t\t\t\tfunction createMap(id) {
  1363. \t\t\t\t\tnew window.YandexMap({
  1364. \t\t\t\t\t\tid:id,
  1365. \t\t\t\t\t\tlat:\"";
  1366.         // line 761
  1367.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse761), "latitude", [], "any"truetruefalse761)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse761), "latitude", [], "any"falsefalsefalse761), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'761$this->source); })()), "city", [], "any"falsefalsefalse761), "mapCoordinate", [], "any"falsefalsefalse761), "latitude", [], "any"falsefalsefalse761))) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'761$this->source); })()), "city", [], "any"falsefalsefalse761), "mapCoordinate", [], "any"falsefalsefalse761), "latitude", [], "any"falsefalsefalse761))), "html"nulltrue);
  1368.         echo "\",
  1369. \t\t\t\t\t\tlon:\"";
  1370.         // line 762
  1371.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse762), "longitude", [], "any"truetruefalse762)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse762), "longitude", [], "any"falsefalsefalse762), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'762$this->source); })()), "city", [], "any"falsefalsefalse762), "mapCoordinate", [], "any"falsefalsefalse762), "longitude", [], "any"falsefalsefalse762))) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'762$this->source); })()), "city", [], "any"falsefalsefalse762), "mapCoordinate", [], "any"falsefalsefalse762), "longitude", [], "any"falsefalsefalse762))), "html"nulltrue);
  1372.         echo "\",
  1373. \t\t\t\t\t\tlabel:\"";
  1374.         // line 763
  1375.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/map-label.svg"), "html"nulltrue);
  1376.         echo "\"
  1377. \t\t\t\t\t});
  1378. \t\t\t\t}
  1379. \t\t\t\tcreateMap('profile-map');
  1380. \t\t\t\tdocument.addEventListener('click', (e) => {
  1381. \t\t\t\t\tconst mobileMap = e.target.closest('#show-map-btn');
  1382. \t\t\t\t\tif (mobileMap) {
  1383. \t\t\t\t\t\tmobileMap.parentElement.classList.toggle('active');
  1384. \t\t\t\t\t\tcreateMap('profile-map-mobile');
  1385. \t\t\t\t\t}
  1386. \t\t\t\t});
  1387.             \twindow.increase_views(";
  1388.         // line 777
  1389.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'777$this->source); })()), "id", [], "any"falsefalsefalse777), "html"nulltrue);
  1390.         echo ");
  1391.             });
  1392.             ";
  1393.         // line 786
  1394.         echo "        })();
  1395. \t</script>";
  1396.         // line 789
  1397.         if ( !twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'789$this->source); })()), "deleted", [], "any"falsefalsefalse789)) {
  1398.             // line 790
  1399.             echo "<script type=\"module\">
  1400. \t\t\timport PhotoSwipeLightbox from 'https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe-lightbox.esm.min.js';
  1401. \t\t\tconst [w,h] = [window.innerWidth * 0.9,  window.innerHeight * 0.9]
  1402. \t\t\tconst options = {
  1403. \t\t\t\tdataSource: [";
  1404.             // line 795
  1405.             $context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'795$this->source); })()));
  1406.             // line 796
  1407.             if (((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'796$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'796$this->source); })()), "path", [], "any"falsefalsefalse796))) {
  1408.                 // line 797
  1409.                 echo "{
  1410. \t\t\t\t\t\t\tsrc: '";
  1411.                 // line 798
  1412.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'798$this->source); })()), "path", [], "any"falsefalsefalse798), "profile_media""fullsize""jpg"), "html"nulltrue);
  1413.                 echo "',
  1414. \t\t\t\t\t\t\twidth: w,
  1415. \t\t\t\t\t\t\theight: h,
  1416. \t\t\t\t\t\t\talt: 'Avatar'
  1417. \t\t\t\t\t\t},";
  1418.             }
  1419.             // line 805
  1420.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse805) && (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'805$this->source); })()), "photos", [], "any"falsefalsefalse805)) > 0))) {
  1421.                 // line 806
  1422.                 $context['_parent'] = $context;
  1423.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'806$this->source); })()), "photos", [], "any"falsefalsefalse806));
  1424.                 $context['loop'] = [
  1425.                   'parent' => $context['_parent'],
  1426.                   'index0' => 0,
  1427.                   'index'  => 1,
  1428.                   'first'  => true,
  1429.                 ];
  1430.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1431.                     $length count($context['_seq']);
  1432.                     $context['loop']['revindex0'] = $length 1;
  1433.                     $context['loop']['revindex'] = $length;
  1434.                     $context['loop']['length'] = $length;
  1435.                     $context['loop']['last'] = === $length;
  1436.                 }
  1437.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  1438.                     // line 807
  1439.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse807)) {
  1440.                         // line 808
  1441.                         echo "{
  1442. \t\t\t\t\t\t\t\t\tsrc: '";
  1443.                         // line 809
  1444.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse809), "profile_media""fullsize""jpg"), "html"nulltrue);
  1445.                         echo "',
  1446. \t\t\t\t\t\t\t\t\twidth: w,
  1447. \t\t\t\t\t\t\t\t\theight: h,
  1448. \t\t\t\t\t\t\t\t\talt: 'Фото профиля ";
  1449.                         // line 812
  1450.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse812), "html"nulltrue);
  1451.                         echo "'
  1452. \t\t\t\t\t\t\t\t},";
  1453.                     }
  1454.                     ++$context['loop']['index0'];
  1455.                     ++$context['loop']['index'];
  1456.                     $context['loop']['first'] = false;
  1457.                     if (isset($context['loop']['length'])) {
  1458.                         --$context['loop']['revindex0'];
  1459.                         --$context['loop']['revindex'];
  1460.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1461.                     }
  1462.                 }
  1463.                 $_parent $context['_parent'];
  1464.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  1465.                 $context array_intersect_key($context$_parent) + $_parent;
  1466.             }
  1467.             // line 818
  1468.             if (twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse818)) {
  1469.                 // line 819
  1470.                 echo "\t\t\t\t\t\t";
  1471.                 $context['_parent'] = $context;
  1472.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'819$this->source); })()), "selfies", [], "any"falsefalsefalse819));
  1473.                 $context['loop'] = [
  1474.                   'parent' => $context['_parent'],
  1475.                   'index0' => 0,
  1476.                   'index'  => 1,
  1477.                   'first'  => true,
  1478.                 ];
  1479.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1480.                     $length count($context['_seq']);
  1481.                     $context['loop']['revindex0'] = $length 1;
  1482.                     $context['loop']['revindex'] = $length;
  1483.                     $context['loop']['length'] = $length;
  1484.                     $context['loop']['last'] = === $length;
  1485.                 }
  1486.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  1487.                     // line 820
  1488.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse820)) {
  1489.                         // line 821
  1490.                         echo "{
  1491. \t\t\t\t\t\t\t\t\tsrc: '";
  1492.                         // line 822
  1493.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse822), "profile_media""fullsize""jpg"), "html"nulltrue);
  1494.                         echo "',
  1495. \t\t\t\t\t\t\t\t\twidth: w,
  1496. \t\t\t\t\t\t\t\t\theight: h,
  1497. \t\t\t\t\t\t\t\t\talt: 'Селфи профиля ";
  1498.                         // line 825
  1499.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse825), "html"nulltrue);
  1500.                         echo "'
  1501. \t\t\t\t\t\t\t\t}";
  1502.                         // line 826
  1503.                         if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse826)) {
  1504.                             echo ",";
  1505.                         }
  1506.                     }
  1507.                     ++$context['loop']['index0'];
  1508.                     ++$context['loop']['index'];
  1509.                     $context['loop']['first'] = false;
  1510.                     if (isset($context['loop']['length'])) {
  1511.                         --$context['loop']['revindex0'];
  1512.                         --$context['loop']['revindex'];
  1513.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1514.                     }
  1515.                 }
  1516.                 $_parent $context['_parent'];
  1517.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  1518.                 $context array_intersect_key($context$_parent) + $_parent;
  1519.             }
  1520.             // line 830
  1521.             echo "],
  1522. \t\t\t\tshowHideAnimationType: 'none',
  1523. \t\t\t\tpswpModule: () => import('https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe.esm.min.js'),
  1524. \t\t\t};
  1525. \t\t\tconst lightbox = new PhotoSwipeLightbox(options);
  1526. \t\t\tlightbox.init();
  1527. \t\t\tconst avatarEl = document.querySelector('.profile-avatar');
  1528. \t\t\tconst mediaEl = document.querySelector('.profile-media');
  1529. \t\t\tif (avatarEl) avatarEl.classList.add('profile-avatar-loaded');
  1530. \t\t\tif (mediaEl) mediaEl.classList.add('profile-media-loaded');
  1531. \t\t\t;[...document.querySelectorAll('a[data-gallery]')].forEach(element => {
  1532. \t\t\t\telement.addEventListener('click', (e) => {
  1533. \t\t\t\t\te.preventDefault();
  1534. \t\t\t\t\tconst id = +e.currentTarget.getAttribute('data-index');
  1535. \t\t\t\t\tlightbox.loadAndOpen(id); // defines start slide index
  1536. \t\t\t\t})
  1537. \t\t\t});
  1538. \t\t</script>
  1539. \t\t<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe.min.css\" integrity=\"sha512-LFWtdAXHQuwUGH9cImO9blA3a3GfQNkpF2uRlhaOpSbDevNyK1rmAjs13mtpjvWyi+flP7zYWboqY+8Mkd42xA==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />";
  1540.         }
  1541.         
  1542.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1543.         
  1544.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1545.         
  1546.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  1547.     }
  1548.     // line 857
  1549.     public function block_iconsSet($context, array $blocks = [])
  1550.     {
  1551.         $macros $this->macros;
  1552.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  1553.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""iconsSet"));
  1554.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1555.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""iconsSet"));
  1556.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1557.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""iconsSet"));
  1558.         // line 858
  1559.         echo "<svg class=\"d-none\" xmlns=\"http://www.w3.org/2000/svg\">
  1560.     <symbol id=\"service-green\" viewBox=\"0 0 20 20\">
  1561.         <path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"M1.667 10c0-4.6 3.724-8.333 8.324-8.333 4.609 0 8.342 3.733 8.342 8.333s-3.733 8.333-8.341 8.333c-4.6 0-8.325-3.733-8.325-8.333ZM10 16.666A6.665 6.665 0 0 1 3.333 10 6.665 6.665 0 0 1 10 3.333a6.65 6.65 0 0 1 5.003 2.26l-5.676 5.671-2.432-2.432-1.062 1.055 3.494 3.494 6.544-6.544A6.64 6.64 0 0 1 16.666 10 6.665 6.665 0 0 1 10 16.666Z\" clip-rule=\"evenodd\"/>
  1562.     </symbol>
  1563.     <symbol id=\"service-orange\" viewBox=\"0 0 20 20\">
  1564.         <path fill=\"#FF6D03\" fill-rule=\"evenodd\" d=\"M9.992 1.667c-4.6 0-8.325 3.733-8.325 8.333s3.724 8.333 8.325 8.333c4.608 0 8.341-3.733 8.341-8.333S14.6 1.667 9.992 1.667Zm-2.909 5a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm5.833 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-5.791 5c.583.991 1.641 1.666 2.875 1.666 1.233 0 2.291-.675 2.875-1.667h1.391a4.58 4.58 0 0 1-8.533 0h1.392ZM3.333 10A6.665 6.665 0 0 0 10 16.666 6.665 6.665 0 0 0 16.666 10 6.665 6.665 0 0 0 10 3.333 6.665 6.665 0 0 0 3.333 10Z\" clip-rule=\"evenodd\"/>
  1565.     </symbol>
  1566.     <symbol id=\"service-red\" viewBox=\"0 0 20 20\">
  1567.         <path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M10 1.667A8.336 8.336 0 0 0 1.667 10c0 4.6 3.733 8.333 8.333 8.333S18.333 14.6 18.333 10 14.6 1.667 10 1.667Zm.833 7.5V5.832H9.166v3.333H5.833v1.667h3.333v3.333h1.667v-3.333h3.333V9.166h-3.333Zm-7.5.833A6.676 6.676 0 0 0 10 16.666 6.676 6.676 0 0 0 16.666 10 6.676 6.676 0 0 0 10 3.333 6.676 6.676 0 0 0 3.333 10Z\" clip-rule=\"evenodd\"/>
  1568.     </symbol>
  1569.     ";
  1570.         // line 871
  1571.         echo "    <symbol id=\"service-include\" viewBox=\"0 0 20 20\">
  1572.         <path fill=\"#333\" d=\"M7.3 13.2L4 9.8l-1.2 1.1 4.6 4.7 10-10-1.1-1.2-8.9 8.8z\"/>
  1573.     </symbol>
  1574.     <symbol id=\"profile-approved\" viewBox=\"0 0 24 24\">
  1575.         <path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"m20.56 9.215 2.44 2.78-2.44 2.78.34 3.68-3.61.82-1.89 3.18-3.4-1.46-3.4 1.47-1.89-3.18-3.61-.82.34-3.69L1 11.995l2.44-2.79-.34-3.68 3.61-.81 1.89-3.18 3.4 1.46 3.4-1.46 1.89 3.18 3.61.82-.34 3.68ZM7.42 11.41l3.17 3.17L17.18 8l1.41 1.41-8 8L6 12.82l1.42-1.41Z\" clip-rule=\"evenodd\"/>
  1576.     </symbol>
  1577.     <symbol id=\"review-star\" viewBox=\"0 0 24 25\">
  1578.         <path d=\"M11.326 19.987c.399-.303.95-.303 1.348 0l4.127 3.14c.864.656 2.06-.185 1.737-1.222l-1.626-5.218c-.141-.452.019-.945.4-1.228l4.236-3.15c.862-.641.41-2.012-.664-2.012h-5.101c-.489 0-.92-.319-1.064-.786l-1.655-5.366c-.323-1.049-1.805-1.049-2.128 0L9.28 9.51a1.114 1.114 0 0 1-1.064.786H3.116c-1.073 0-1.526 1.37-.664 2.011l4.237 3.151c.38.283.54.776.399 1.229l-1.626 5.217c-.323 1.037.873 1.878 1.737 1.221l4.127-3.14Z\"/>
  1579.     </symbol>
  1580. </svg>
  1581. ";
  1582.         
  1583.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1584.         
  1585.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1586.         
  1587.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  1588.     }
  1589.     // line 6
  1590.     public function macro__show_tabs($__photos__ null$__selfies__ null$__videos__ null, ...$__varargs__)
  1591.     {
  1592.         $macros $this->macros;
  1593.         $context $this->env->mergeGlobals([
  1594.             "photos" => $__photos__,
  1595.             "selfies" => $__selfies__,
  1596.             "videos" => $__videos__,
  1597.             "varargs" => $__varargs__,
  1598.         ]);
  1599.         $blocks = [];
  1600.         ob_start();
  1601.         try {
  1602.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  1603.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  1604.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1605.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  1606.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1607.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  1608.             // line 7
  1609.             if ((((array_key_exists("photos"$context) && (twig_length_filter($this->env, (isset($context["photos"]) || array_key_exists("photos"$context) ? $context["photos"] : (function () { throw new RuntimeError('Variable "photos" does not exist.'7$this->source); })())) > 0)) || (            // line 8
  1610. array_key_exists("selfies"$context) && (twig_length_filter($this->env, (isset($context["selfies"]) || array_key_exists("selfies"$context) ? $context["selfies"] : (function () { throw new RuntimeError('Variable "selfies" does not exist.'8$this->source); })())) > 0))) || (            // line 9
  1611. array_key_exists("videos"$context) && (twig_length_filter($this->env, (isset($context["videos"]) || array_key_exists("videos"$context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.'9$this->source); })())) > 0)))) {
  1612.                 // line 11
  1613.                 echo "true";
  1614.             } else {
  1615.                 // line 13
  1616.                 echo "false";
  1617.             }
  1618.             
  1619.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1620.             
  1621.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1622.             
  1623.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  1624.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  1625.         } finally {
  1626.             ob_end_clean();
  1627.         }
  1628.     }
  1629.     // line 17
  1630.     public function macro__profile_heading($__profile__ null, ...$__varargs__)
  1631.     {
  1632.         $macros $this->macros;
  1633.         $context $this->env->mergeGlobals([
  1634.             "profile" => $__profile__,
  1635.             "varargs" => $__varargs__,
  1636.         ]);
  1637.         $blocks = [];
  1638.         ob_start();
  1639.         try {
  1640.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  1641.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_profile_heading"));
  1642.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1643.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_profile_heading"));
  1644.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1645.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_profile_heading"));
  1646.             // line 18
  1647.             echo "\t";
  1648.             $context["price_apartments"] = ((twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'18$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse18)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'18$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse18), "oneHourPrice", [], "any"falsefalsefalse18)) : (null));
  1649.             // line 19
  1650.             echo "\t";
  1651.             $context["price_take_out"] = ((twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'19$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse19)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'19$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse19), "oneHourPrice", [], "any"falsefalsefalse19)) : (null));
  1652.             // line 20
  1653.             echo "\t";
  1654.             $context["price"] = max((isset($context["price_apartments"]) || array_key_exists("price_apartments"$context) ? $context["price_apartments"] : (function () { throw new RuntimeError('Variable "price_apartments" does not exist.'20$this->source); })()), (isset($context["price_take_out"]) || array_key_exists("price_take_out"$context) ? $context["price_take_out"] : (function () { throw new RuntimeError('Variable "price_take_out" does not exist.'20$this->source); })()));
  1655.             // line 21
  1656.             echo "\t";
  1657.             // line 22
  1658.             echo "\t";
  1659.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("profile_heading", ["name" => twig_get_attribute($this->env$this->source,             // line 23
  1660. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'23$this->source); })()), "name", [], "any"falsefalsefalse23), "is_masseur" => ((twig_get_attribute($this->env$this->source,             // line 24
  1661. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'24$this->source); })()), "masseur", [], "any"falsefalsefalse24)) ? ("masseur") : ("other")), "age" => (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 25
  1662. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'25$this->source); })()), "personParameters", [], "any"falsefalsefalse25), "age", [], "any"falsefalsefalse25) < 20)) ? ("young") : ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'25$this->source); })()), "personParameters", [], "any"falsefalsefalse25), "age", [], "any"falsefalsefalse25) > 35)) ? ("old") : ("other")))), "is_nice" => (((($this->extensions['App\Twig\PersonParametersExtension']->bodyTypeLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 26
  1663. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'26$this->source); })()), "personParameters", [], "any"falsefalsefalse26), "bodyType", [], "any"falsefalsefalse26)) == "SLIM") && twig_in_filter($this->extensions['App\Twig\PersonParametersExtension']->hairColorLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'26$this->source); })()), "personParameters", [], "any"falsefalsefalse26), "hairColor", [], "any"falsefalsefalse26)), ["BLONDE""BRUNETTE"]))) ? ("nice") : ("other")), "body" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->bodyTypeLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 27
  1664. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'27$this->source); })()), "personParameters", [], "any"falsefalsefalse27), "bodyType", [], "any"falsefalsefalse27)), [], "body_types"), "price" => ((((            // line 28
  1665. (isset($context["price_apartments"]) || array_key_exists("price_apartments"$context) ? $context["price_apartments"] : (function () { throw new RuntimeError('Variable "price_apartments" does not exist.'28$this->source); })()) >= 5000) || ((isset($context["price_take_out"]) || array_key_exists("price_take_out"$context) ? $context["price_take_out"] : (function () { throw new RuntimeError('Variable "price_take_out" does not exist.'28$this->source); })()) >= 7000))) ? ("high") : (((((isset($context["price"]) || array_key_exists("price"$context) ? $context["price"] : (function () { throw new RuntimeError('Variable "price" does not exist.'28$this->source); })()) && ((isset($context["price"]) || array_key_exists("price"$context) ? $context["price"] : (function () { throw new RuntimeError('Variable "price" does not exist.'28$this->source); })()) <= 1500))) ? ("low") : ("other"))))], "seo_heading");
  1666.             
  1667.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1668.             
  1669.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1670.             
  1671.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  1672.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  1673.         } finally {
  1674.             ob_end_clean();
  1675.         }
  1676.     }
  1677.     /**
  1678.      * @codeCoverageIgnore
  1679.      */
  1680.     public function getTemplateName()
  1681.     {
  1682.         return "ProfilePreview/page.html.twig";
  1683.     }
  1684.     /**
  1685.      * @codeCoverageIgnore
  1686.      */
  1687.     public function isTraitable()
  1688.     {
  1689.         return false;
  1690.     }
  1691.     /**
  1692.      * @codeCoverageIgnore
  1693.      */
  1694.     public function getDebugInfo()
  1695.     {
  1696.         return array (  1763 => 28,  1762 => 27,  1761 => 26,  1760 => 25,  1759 => 24,  1758 => 23,  1756 => 22,  1754 => 21,  1751 => 20,  1748 => 19,  1745 => 18,  1723 => 17,  1704 => 13,  1701 => 11,  1699 => 9,  1698 => 8,  1697 => 7,  1673 => 6,  1650 => 871,  1638 => 858,  1625 => 857,  1589 => 830,  1571 => 826,  1567 => 825,  1561 => 822,  1558 => 821,  1556 => 820,  1538 => 819,  1536 => 818,  1518 => 812,  1512 => 809,  1509 => 808,  1507 => 807,  1490 => 806,  1488 => 805,  1480 => 798,  1477 => 797,  1475 => 796,  1473 => 795,  1467 => 790,  1465 => 789,  1462 => 786,  1457 => 777,  1440 => 763,  1436 => 762,  1432 => 761,  1413 => 745,  1406 => 741,  1399 => 737,  1395 => 736,  1383 => 726,  1381 => 725,  1377 => 721,  1356 => 719,  1339 => 718,  1334 => 714,  1332 => 713,  1322 => 706,  1318 => 705,  1311 => 701,  1307 => 700,  1303 => 699,  1299 => 698,  1295 => 697,  1291 => 696,  1286 => 693,  1273 => 692,  1260 => 689,  1258 => 688,  1256 => 686,  1254 => 685,  1249 => 682,  1245 => 680,  1243 => 679,  1241 => 678,  1239 => 677,  1236 => 675,  1234 => 652,  1229 => 646,  1226 => 644,  1223 => 642,  1221 => 641,  1214 => 636,  1211 => 635,  1208 => 633,  1194 => 631,  1177 => 630,  1175 => 629,  1173 => 628,  1167 => 623,  1157 => 621,  1153 => 620,  1149 => 617,  1145 => 616,  1141 => 614,  1139 => 613,  1136 => 612,  1132 => 611,  1128 => 610,  1124 => 609,  1121 => 608,  1117 => 606,  1112 => 604,  1109 => 603,  1107 => 602,  1100 => 601,  1094 => 597,  1089 => 595,  1085 => 594,  1080 => 593,  1078 => 592,  1074 => 591,  1070 => 590,  1066 => 589,  1062 => 587,  1060 => 586,  1058 => 585,  1052 => 580,  1049 => 578,  1045 => 576,  1041 => 573,  1035 => 571,  1031 => 565,  1029 => 564,  1027 => 563,  1025 => 562,  1018 => 559,  1016 => 558,  1012 => 557,  1008 => 556,  1006 => 555,  1004 => 554,  1000 => 551,  998 => 550,  994 => 546,  988 => 544,  983 => 537,  981 => 536,  979 => 535,  977 => 534,  975 => 533,  968 => 530,  966 => 529,  962 => 528,  958 => 527,  956 => 526,  954 => 525,  950 => 522,  948 => 521,  946 => 519,  944 => 518,  938 => 513,  913 => 484,  910 => 483,  904 => 482,  898 => 481,  895 => 480,  892 => 479,  889 => 478,  884 => 477,  882 => 476,  877 => 475,  874 => 474,  871 => 473,  868 => 472,  862 => 468,  858 => 466,  853 => 462,  851 => 461,  846 => 456,  844 => 455,  840 => 452,  836 => 448,  834 => 447,  830 => 444,  828 => 443,  826 => 442,  824 => 441,  820 => 437,  818 => 436,  814 => 433,  812 => 432,  807 => 428,  804 => 426,  801 => 424,  799 => 423,  795 => 422,  793 => 421,  787 => 416,  784 => 414,  781 => 412,  779 => 411,  775 => 410,  773 => 409,  769 => 406,  765 => 403,  762 => 401,  759 => 399,  757 => 398,  753 => 397,  751 => 396,  747 => 393,  745 => 392,  741 => 390,  738 => 388,  735 => 386,  733 => 385,  729 => 384,  727 => 383,  721 => 378,  718 => 376,  711 => 374,  709 => 373,  697 => 365,  692 => 363,  685 => 358,  683 => 357,  681 => 356,  679 => 354,  677 => 353,  675 => 352,  673 => 351,  671 => 350,  669 => 349,  664 => 345,  662 => 344,  660 => 343,  658 => 341,  655 => 338,  653 => 337,  650 => 333,  648 => 332,  644 => 328,  642 => 327,  639 => 325,  637 => 324,  635 => 323,  632 => 322,  630 => 321,  624 => 317,  621 => 315,  618 => 313,  616 => 312,  612 => 311,  610 => 310,  604 => 305,  601 => 303,  598 => 301,  596 => 300,  592 => 299,  590 => 298,  584 => 293,  581 => 291,  578 => 289,  576 => 288,  572 => 287,  570 => 286,  564 => 281,  561 => 279,  554 => 277,  552 => 276,  548 => 273,  546 => 271,  544 => 270,  542 => 268,  540 => 267,  536 => 263,  533 => 261,  530 => 259,  528 => 258,  524 => 257,  522 => 256,  518 => 253,  516 => 252,  514 => 251,  512 => 250,  510 => 249,  508 => 248,  501 => 245,  496 => 243,  478 => 228,  471 => 224,  464 => 220,  458 => 216,  454 => 214,  450 => 213,  446 => 212,  438 => 206,  431 => 202,  424 => 198,  417 => 194,  411 => 190,  409 => 189,  405 => 188,  401 => 187,  397 => 186,  395 => 185,  391 => 184,  389 => 183,  387 => 180,  385 => 177,  379 => 164,  376 => 163,  372 => 161,  369 => 160,  355 => 159,  349 => 158,  331 => 157,  329 => 156,  323 => 152,  321 => 150,  317 => 147,  314 => 145,  302 => 134,  298 => 133,  294 => 132,  290 => 131,  287 => 130,  285 => 129,  278 => 125,  271 => 124,  264 => 121,  255 => 115,  252 => 114,  242 => 111,  240 => 110,  238 => 109,  236 => 108,  232 => 106,  229 => 105,  226 => 104,  224 => 103,  222 => 102,  220 => 101,  217 => 97,  216 => 96,  214 => 95,  212 => 94,  209 => 93,  206 => 91,  202 => 88,  199 => 86,  197 => 85,  194 => 84,  190 => 82,  188 => 80,  186 => 78,  184 => 77,  182 => 76,  169 => 75,  154 => 60,  152 => 59,  148 => 53,  146 => 52,  133 => 51,  120 => 41,  118 => 40,  105 => 39,  92 => 36,  79 => 35,  65 => 1,  63 => 73,  61 => 33,  59 => 31,  57 => 3,  41 => 1,);
  1697.     }
  1698.     public function getSourceContext()
  1699.     {
  1700.         return new Source("{% extends 'ProfilePreview/grid.html.twig' %}
  1701. {% import 'ProfilePreview/utils/macros.partial.twig' as macros %}
  1702. {# Проверяем есть ли у нас вообще данные для табов #}
  1703. {%- macro _show_tabs(photos,selfies,videos) -%}
  1704. \t{%- if (photos is defined and photos|length > 0) or
  1705. \t\t(selfies is defined and selfies|length > 0) or
  1706. \t\t(videos is defined and videos|length > 0)
  1707. \t-%}
  1708. \t\ttrue
  1709. \t{%- else -%}
  1710. \t\tfalse
  1711. \t{%- endif -%}
  1712. {%- endmacro -%}
  1713. {% macro _profile_heading(profile) %}
  1714. \t{% set price_apartments = profile.apartmentsPricing ? profile.apartmentsPricing.oneHourPrice : null %}
  1715. \t{% set price_take_out = profile.takeOutPricing ? profile.takeOutPricing.oneHourPrice : null %}
  1716. \t{% set price = max(price_apartments, price_take_out) %}
  1717. \t{# PriceApart >= 5000 ? Вип. Иначе PriceTaleOut >= 7000 ? Вип. Иначе PriceApart <=1500 ? Дешёвая Иначе PriceTakeOut <= 1500 ? Дешёвая #}
  1718. \t{% trans with {
  1719.         'name': profile.name,
  1720.         'is_masseur': profile.masseur ? 'masseur' : 'other',
  1721.         'age': profile.personParameters.age < 20 ? 'young' : (profile.personParameters.age > 35 ? 'old' : 'other'),
  1722.         'is_nice': profile.personParameters.bodyType|body_type == 'SLIM' and (profile.personParameters.hairColor|hair_color in ['BLONDE', 'BRUNETTE']) ? 'nice' : 'other',
  1723.         'body': profile.personParameters.bodyType|body_type|trans({}, 'body_types'),
  1724.         'price': (price_apartments >= 5000 or price_take_out >= 7000) ? 'high' : (price and price <= 1500 ? 'low' : 'other'),
  1725.         } from 'seo_heading' %}profile_heading{% endtrans %}
  1726. {% endmacro %}
  1727. {% from _self import _profile_heading %}
  1728. {% set headingTitle = _profile_heading(profile)|trim %}
  1729. {% block navbar_class_masseur_profiles %}
  1730. \t{# {% if profile.isMasseur %}active{% endif %} #}
  1731. {% endblock %}
  1732. {% block stylesheet_postload %}
  1733. \t{# {{ encore_entry_link_tags(\"styles/public-girl-page\") }} #}
  1734. \t{{- parent() -}}
  1735. \t{# {% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
  1736. \t\t<link href=\"//vjs.zencdn.net/7.0.3/video-js.min.css\" rel=\"stylesheet\" media=\"print\" onload=\"setTimeout(()=>{this.media='all'},200)\">
  1737. \t\t<!--noindex-->
  1738. \t\t<script src=\"//vjs.zencdn.net/7.0.3/video.min.js\"></script>
  1739. \t\t<script src=\"//cdn.jsdelivr.net/npm/videojs-flash@2/dist/videojs-flash.min.js\"></script>
  1740. \t\t<!--/noindex-->
  1741. \t{% endif %} #}
  1742. {% endblock %}
  1743. {% block preconnect %}
  1744.     {{- parent() -}}
  1745. \t<link rel=\"preconnect\" href=\"https://api-maps.yandex.ru\">
  1746.     <link rel=\"preconnect\" href=\"https://google.com\" />
  1747. \t{# {% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
  1748. \t\t<link rel=\"preconnect\" href=\"//vjs.zencdn.net\" />
  1749. \t\t<link rel=\"preconnect\" href=\"//cdn.jsdelivr.net\" />
  1750. \t{% endif %} #}
  1751. \t{%- if not profile.deleted -%}
  1752. \t<link rel=\"preconnect\" href=\"https://cdnjs.cloudflare.com\" />
  1753. \t<link rel=\"dns-prefetch\" href=\"https://cdnjs.cloudflare.com\" />
  1754. \t{%- endif -%}
  1755. {% endblock %}
  1756. {# {% block metaSpecial %}
  1757. \t{{ parent() }}
  1758. \t{%- if profile.deleted -%}
  1759. \t{%- else -%}
  1760. \t\t{{ profile_kv(profile, 'meta_googlebot') }}
  1761. \t{%- endif -%}
  1762. {% endblock %} #}
  1763. {%- set servicesList = \"Секс классический|Секс анальный|Секс групповой|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь\" -%}
  1764. {%- block mainContainer -%}
  1765. \t{%- set haveMetro = profile.stationsSortedByPrimary|length > 0 -%}
  1766. \t{%- set commentsCount = profile.comments|length|number_format(0, '.', ' ') -%}
  1767. \t{%- set commentPlural = '%count% отзывов'|trans({'num': profile.comments|length }) -%}
  1768. \t{{- knp_menu_render('breadcrumbs', {'template': '__design/v2023/_menu/breadcrumbs.html.twig', profile: profile }) -}}
  1769. \t<div class=\"profile full-w-xs\">
  1770. \t\t<div class=\"profile-heading d-flex-c mb-3\">
  1771. \t\t\t<h1 class=\"profile-heading-title text-title\">{{ seo_heading() }}</h1>
  1772. \t\t\t{%- if profile.approved -%}
  1773. \t\t\t\t<svg class=\"ml-1\" viewbox=\"0 0 26 26\" width=\"26\" height=\"26\" fill=\"none\"><path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"m22.273 9.983 2.644 3.012-2.644 3.011.369 3.987-3.911.888-2.048 3.445L13 22.745l-3.683 1.592-2.048-3.445-3.91-.888.368-3.998-2.644-3.011 2.644-3.023-.369-3.986 3.911-.878 2.048-3.445L13 3.245l3.683-1.582 2.048 3.445 3.91.888-.368 3.987ZM8.038 12.361l3.434 3.434 7.14-7.128 1.527 1.527-8.666 8.667L6.5 13.888l1.538-1.527Z\" clip-rule=\"evenodd\"/></svg>
  1774. \t\t\t{%- endif -%}
  1775. \t\t</div>
  1776. \t\t{# профиль + данные + фотки #}
  1777. \t\t<div class=\"profile-bio\">
  1778. \t\t\t{# профиль + данные #}
  1779. \t\t\t<div class=\"profile-data d-flex\">
  1780. \t\t\t\t{% set station_alt = '' -%}
  1781. \t\t\t\t{% if haveMetro -%}
  1782. \t\t\t\t\t{%- set station_alt = profile.primaryStation is defined and profile.primaryStation is not empty
  1783. \t\t\t\t\t\t? profile.primaryStation
  1784. \t\t\t\t\t\t: null -%}
  1785. \t\t\t\t{% endif -%}
  1786. \t\t\t\t<div class=\"profile-avatar\" itemtype=\"http://schema.org/ImageObject\" id=\"avatar-preview\" data-favorite-button>
  1787. \t\t\t\t\t{%- if not profile.deleted -%}
  1788. \t\t\t\t\t\t{% if profile.city.uriIdentity == default_city().uriIdentity %}
  1789. \t\t\t\t\t\t\t{% set alt = profile.name|trans ~ ', ' ~ profile.city.name ~ (station_alt ? ', ' ~ station_alt.name|trans : '' ) ~ ', ' ~ 'год'|plural(profile.personParameters.age) ~ ', анкета ' ~ profile.id ~ (profile.seo.phone is defined ? \", \" ~ profile.seo.phone : '') %}
  1790. \t\t\t\t\t\t{% else %}
  1791. \t\t\t\t\t\t\t{% set alt = profile.name|trans ~ ', ' ~ profile.city.name ~ ', ' ~ 'год'|plural(profile.personParameters.age) ~ ', анкета ' ~ profile.id ~ (profile.seo.phone is defined ? \", \" ~ profile.seo.phone : '') %}
  1792. \t\t\t\t\t\t{%- endif -%}
  1793. \t\t\t\t\t\t{%- set photo = profile|avatar -%}
  1794. \t\t\t\t\t\t{%- if photo and photo.path -%}
  1795. \t\t\t\t\t\t\t{%- set photoType = photo.type == 'photo' ? 'profile_media' : 'profile_media_avatar' -%}
  1796. \t\t\t\t\t\t\t<a class=\"photoswipe image-fade profile-avatar-link{% if not is_user_advertiser(app.user) %} profile-avatar-link--shadow{% endif %}\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" data-gallery=\"girl-avatar\" data-index=\"0\">
  1797. \t\t\t\t\t\t\t\t<img class=\"profile-avatar-image\" itemprop=\"contentUrl\"
  1798. \t\t\t\t\t\t\t\t\tsrcset=\"
  1799. \t\t\t\t\t\t\t\t\t\t{{- responsive_asset(photo.path, photoType, \"220x308\", \"jpg\") }} 220w,
  1800. \t\t\t\t\t\t\t\t\t\t{{- responsive_asset(photo.path, photoType, \"310x434\", \"jpg\") }} 310w
  1801. \t\t\t\t\t\t\t\t\t\"
  1802. \t\t\t\t\t\t\t\t\tsizes=\"
  1803. \t\t\t\t\t\t\t\t\t\t(max-width: 768px) 220px,
  1804. \t\t\t\t\t\t\t\t\t\t310px
  1805. \t\t\t\t\t\t\t\t\t\"
  1806. \t\t\t\t\t\t\t\t\tsrc=\"{{ responsive_asset(photo.path, photoType, \"310x434\", \"jpg\") }}\" alt=\"{{ alt }}\" width=\"310\" height=\"434\">
  1807. \t\t\t\t\t\t\t</a>
  1808. \t\t\t\t\t\t{%- else -%}
  1809. \t\t\t\t\t\t\t<div class=\"photoswipe image-fade profile-avatar-link{% if not is_user_advertiser(app.user) %} profile-avatar-link--shadow{% endif %}\">
  1810. \t\t\t\t\t\t\t\t<img class=\"profile-avatar-image profile-avatar-image-empty\" src=\"{{ asset('assets/images/empty-photo.svg') }}\" alt=\"{{ alt }}\" width=\"310\" height=\"434\" style=\"object-fit:contain;padding:10px;\">
  1811. \t\t\t\t\t\t\t</div>
  1812. \t\t\t\t\t\t{%- endif -%}
  1813. \t\t\t\t\t\t{%- if not is_user_advertiser(app.user) -%}
  1814. \t\t\t\t\t\t\t<favorite-button
  1815. \t\t\t\t\t\t\t\tapi-check=\"{{ path('account.favourites.check', {'profile': profile.id}) }}\"
  1816. \t\t\t\t\t\t\t\tapi-like=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
  1817. \t\t\t\t\t\t\t\tapi-unlike=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
  1818. \t\t\t\t\t\t\t\tregistration-url=\"{{ path('app_security_register') }}?user=visitor\"
  1819. \t\t\t\t\t\t\t\talternative=\"true\"
  1820. \t\t\t\t\t\t\t>
  1821. \t\t\t\t\t\t\t\t<button class=\"btn btn-favorite favorite unlike favorite-loading\" data-tippy-main=\"Добавить в избранное\" title=\"Добавить в избранное\"><svg class=\"btn-favorite-icon\" width=\"40\" height=\"40\" fill=\"none\">
  1822. \t\t\t\t\t\t\t\t\t<path data-like d=\"m20 35.58-2.42-2.16c-2.8-2.53-5.12-4.71-6.95-6.55a46.04 46.04 0 0 1-4.38-4.93 15.65 15.65 0 0 1-2.27-4.02 11.25 11.25 0 0 1-.65-3.75c0-2.61.88-4.8 2.63-6.54A8.88 8.88 0 0 1 12.5 5 9.88 9.88 0 0 1 20 8.5 9.88 9.88 0 0 1 27.5 5c2.61 0 4.8.88 6.54 2.63a8.88 8.88 0 0 1 2.63 6.54c0 1.27-.22 2.52-.65 3.75a15.63 15.63 0 0 1-2.27 4.02 46.03 46.03 0 0 1-4.38 4.93 188.43 188.43 0 0 1-6.95 6.55L20 35.58Z\"/>
  1823. \t\t\t\t\t\t\t\t\t<path data-unlike d=\"m20 35.58-2.42-2.16a188.5 188.5 0 0 1-6.95-6.55 46.04 46.04 0 0 1-4.38-4.93 15.65 15.65 0 0 1-2.27-4.02 11.25 11.25 0 0 1-.65-3.75c0-2.61.88-4.8 2.63-6.54A8.88 8.88 0 0 1 12.5 5 9.88 9.88 0 0 1 20 8.5 9.88 9.88 0 0 1 27.5 5c2.61 0 4.8.88 6.54 2.63a8.88 8.88 0 0 1 2.63 6.54c0 1.27-.22 2.52-.65 3.75a15.63 15.63 0 0 1-2.27 4.02 46.05 46.05 0 0 1-4.38 4.93 188.52 188.52 0 0 1-6.95 6.55L20 35.58Zm0-4.5c2.67-2.39 4.86-4.43 6.58-6.14 1.73-1.7 3.09-3.2 4.09-4.46 1-1.26 1.7-2.39 2.08-3.38.39-.98.58-1.96.58-2.93a5.65 5.65 0 0 0-5.83-5.83c-1.3 0-2.51.36-3.63 1.1a5.67 5.67 0 0 0-2.29 2.81h-3.16a5.67 5.67 0 0 0-2.3-2.81 6.45 6.45 0 0 0-3.62-1.1 5.65 5.65 0 0 0-5.83 5.83c0 .97.2 1.95.58 2.94.39.98 1.08 2.1 2.08 3.37a52.1 52.1 0 0 0 4.09 4.46c1.72 1.7 3.91 3.76 6.58 6.14Z\"/>
  1824. \t\t\t\t\t\t\t\t</svg></button>
  1825. \t\t\t\t\t\t\t</favorite-button>
  1826. \t\t\t\t\t\t{%- endif -%}
  1827. \t\t\t\t\t{%- else -%}
  1828. \t\t\t\t\t\t<svg class=\"profile-avatar-image\" xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 358 500\" width=\"358\" height=\"500\" fill=\"none\"><g clip-path=\"url(#a)\"><path fill=\"#F3F3F3\" d=\"M0 0h357.14v500H0z\"/><path fill=\"#E0E0E0\" d=\"M238.51 119.9c-1.21 6.1-5.04 15.97-5.4 21.42a85.61 85.61 0 0 0-.02 9.15c.26.07.45.15.54.24 1.75 1.47 6.45 5.1 7.15 13.32.68 8.24-6.8 13.34-6.8 13.34l-.19.12c-.07 3.79-.42 9.24-1.56 12.9-1.92 6.08-6.97 13.66-7.67 16.45-.68 2.8-5.75 14.81-5.21 20.1.51 5.27 1.73 17.44-.19 24.37-1.91 6.9-6.8 13.67-8.37 15.63-1.56 1.97-3.83 6.9-4.34 8.74-.52 1.8-10.64 18.27-13.42 20.4-2.78 2.16-4.89 7.43-7.5 10.54a15.39 15.39 0 0 0-3.49 9.88c0 3.13.9 7.9 2.46 9.7 1.56 1.83 8.18 10.56 9.93 16.49 1.73 5.92 5.05 21.55 5.75 26.17.68 4.6 1.38 17.62 2.43 23.05 1.05 5.43 2.08 14.65 4.89 17.13 2.78 2.46 8.18 5.92 9.23 8.57 1.05 2.62 1.05 6.25-.51 7.4-1.6 1.14-5.94 6.6-7.16 10.04-1.21 3.46-1.4 9.22-1.56 11.05-.19 1.8-3.67 4.1-4.89 4.77-1.21.66-8.53 1.48-10.28 1.48-1.73 0-2.78 2.13-4.19 1.8a4.14 4.14 0 0 1-2.61-1.97c-1.22.17-3.14 1.48-3.65.33-1.57.5-4.53.16-5.05-.98-.54-1.17 0-3.63 2.95-4.45 2.96-.82 5.23-1.33 6.28-1.66 1.06-.33 2.08-3.28 2.62-4.61.4-1.03 1.26-3.33 1.24-6.8-.75-.16-1.52.06-1.94.55-.7.82-.54 3.62-1.22 5.26-.7 1.67-3.48 3.14-5.4 2.81-1.91-.33-9.41.17-10.98.66-1.57.49-2.78.98-2.78-1.31 0-2.32 2.08-5.27 3.64-6.6 1.57-1.31 3.32-6.25 4.19-7.9.86-1.65 2.27-6.6 2.78-8.23.54-1.64 2.45-4.78 3.16-8.57.67-3.79-2.97-11.19-4.73-13.34-1.73-2.13-9.23-15.63-15.14-25.51-5.94-9.88-5.75-20.9-6.1-22.4-.35-1.48.7-3.96-.54-5.6-1.22-1.63-3.3-9.87-3.3-11.51 0-1.66-1.4-5.62-2.97-9.06-1.56-3.46-5.75-15.99-6.61-20.25-.89-4.28-10.47-22.23-13.6-45.94-1.66-12.6.65-21.05 3.64-27.13-1.1-1.9-4.6-7.75-5.91-9.27-1.57-1.8-6.78-12-8.35-13.67-1.59-1.64-4.53-7.72-3.5-11.51 1.05-3.8 5.58-15.48 6.45-17.63.89-2.13 8.37-19.6 10.28-22.38 1.92-2.8 3.84-9.55 4.19-11.54.35-1.96 7.15-14.98 9.42-17.27 2.24-2.32 10.96-4.28 15.33-3.3 0-.42-.1-.87-.23-1.29-12.32-2.5-7.95-18.65-7.44-19.96.52-1.31 1.22-9.55 1.22-13.16 0-3.63 1.92-9.38 2.27-11.37.35-1.97-.35-3.8.35-8.9-1.05.68-4.37 4.29-5.07 5.46 0 .82-1.03 1.63-1.92 1.63-.87 0-1.03.99-1.57 1.97-.51.98-1.38.5-1.91-.82-.52-1.3-2.08-6.08-2.08-7.4 0 0-1.06 1.15-1.92.99.16.98-.54 1.96-.87 2.95-.35 1-1.05 3.3-1.91 3.3-.9 0-.9-1.48-.7-2.46a152 152 0 0 1 1.21-6.27c.16-.66-.7-2.3.35-3.12 1.05-.84 1.73-1.99 3.13-3.3 1.4-1.3 3.67-4.93 3.49-5.75-.17-.82.51-2.48 2.61-2.48 2.09 0 2.62-.5 6.27-.99 3.67-.49 10.98-5.1 12.55-5.43 1.57-.33 3.48-1.47 4.7-1.66 1.24-.16 2.27-.66 3.32.19 1.05.82 1.75.98 6.26.65 4.54-.33 39.04 2.62 41.5 3.12 2.42.49 8.88 1.5 10.6.81 1.76-.65 4.54 1.18 5.4 2.81.9 1.64 1.4 7.75 1.24 10.2-.18 2.49 2.95 16.49 3.3 27.02.35 10.53-4.35 23.71-5.57 29.8ZM149.8 63.09a2.75 2.75 0 0 0-1.26 2.36c0 .98.41 3.37.41 3.37s0 .58 1.06-.4c-.21-1.2-.21-5.33-.21-5.33Zm6.47 53.53c-.96-1.34-1.75-3.4-2.55-6.6a11.52 11.52 0 0 0-.07 5.94c.56 2.1 4 3.88 5.36 4.54-.84-1.54-2.08-2.95-2.74-3.88Zm5.92 51.86c-.73-.8-4.8-6.2-7.84-10.27l-1.21.89s-6.8 11.37-10.28 15.16c-3.49 3.77-5.92 13.49-11 18.92-3.47 3.95-.5 5.45-.5 5.45s4.18 8.7 5.58 11.19c1.29 2.3 3.16 4.82 4.25 5.73 5.12-6.3 16.86-15.21 19.43-17.92 2.97-3.12 5.07-2.46 7.5-4.94 2.43-2.46 1.92-7.07 2.43-10.54-8.36-1.96-8.36-11.35-8.36-13.67Zm46.18-105.7c-2.27-.82-12.71-3.3-12.71-3.3l-.17.28c2.74 1.92 7.6 5.76 8.7 9.62 1.56 5.43 3.13 13 3.48 19.43.33 5.9 1.68 21.02 5.03 28.65 1.03-3.28 3.78-7.89 5.6-10.89 1.92-3.1 2.09-3.76 4-7.72 0-7.91 1.6-28.65 1.6-31.95-2.98-.33-13.26-3.3-15.53-4.12Z\"/><circle cx=\"179.07\" cy=\"250.1\" r=\"80.03\" fill=\"#BDBDBD\"/><path fill=\"#E7E7E7\" d=\"M205.08 242.6h-7.5v-18.76a18.76 18.76 0 0 0-37.52 0v18.76h-7.5a7.5 7.5 0 0 0-7.5 7.5v37.52a7.5 7.5 0 0 0 7.5 7.5h52.52a7.5 7.5 0 0 0 7.5-7.5V250.1a7.5 7.5 0 0 0-7.5-7.5Zm-26.26 33.76a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Zm7.5-33.76h-15v-18.76a7.5 7.5 0 0 1 15 0v18.76Z\"/></g><defs><clipPath id=\"a\"><rect width=\"357.14\" height=\"500\" fill=\"#fff\" rx=\"20\"/></clipPath></defs></svg>
  1829. \t\t\t\t\t{%- endif -%}
  1830. \t\t\t\t</div>
  1831. \t\t\t\t<div class=\"profile-info\">
  1832. \t\t\t\t\t<div class=\"profile-contacts profile-contacts--desktop\">
  1833. \t\t\t\t\t\t{%- include 'ProfilePreview/components/profile-phone.partial.twig' with {} -%}
  1834. \t\t\t\t\t\t<div class=\"profile-contacts-text clr-green-text\">Сообщите мне, что звоните с сайта \"МосДосуг\" и я всё пойму</div>
  1835. \t\t\t\t\t\t<div class=\"profile-contacts-answer-type\">
  1836. \t\t\t\t\t\t\t<span>Отвечаю на</span>
  1837. \t\t\t\t\t\t\t{% if profile.phoneCallRestrictions.answeringTo|length > 0 %}
  1838. \t\t\t\t\t\t\t\t{% for answeringTo in profile.phoneCallRestrictions.answeringTo %}
  1839. \t\t\t\t\t\t\t\t\t{{ answeringTo|answering_to|trans({}, 'phone_call_restrictions') }}{% if not loop.last %},{% endif %}
  1840. \t\t\t\t\t\t\t\t{% endfor %}
  1841. \t\t\t\t\t\t\t{% else %}
  1842. \t\t\t\t\t\t\t\tНе указано
  1843. \t\t\t\t\t\t\t{% endif %}
  1844. \t\t\t\t\t\t</div>
  1845. \t\t\t\t\t\t<div class=\"profile-contacts-answer-time\">{{ macros._time_to_work(profile) }}</div>
  1846. \t\t\t\t\t</div>
  1847. \t\t\t\t\t{# {% if not profile.approved %}
  1848. \t\t\t\t\t\t<div class=\"profile-attention profile-attention--desktop d-flex-c clr-green-text clr-pre-white-bg fw-700\">
  1849. \t\t\t\t\t\t\t<svg class=\"mr-1\" width=\"24\" height=\"24\" fill=\"none\"><path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"M20.56 9.22 23 12l-2.44 2.78.34 3.68-3.61.82-1.89 3.18L12 21l-3.4 1.47-1.89-3.18-3.61-.82.34-3.7L1 12l2.44-2.8-.34-3.67 3.61-.81L8.6 1.54 12 3l3.4-1.46 1.89 3.18 3.61.82-.34 3.68ZM7.42 11.4l3.17 3.17L17.18 8l1.41 1.41-8 8L6 12.82l1.42-1.41Z\" clip-rule=\"evenodd\"/></svg>
  1850. \t\t\t\t\t\t\t<span>Фото проверено</span>
  1851. \t\t\t\t\t\t</div>
  1852. \t\t\t\t\t{%- else -%}
  1853. \t\t\t\t\t\t<div class=\"profile-attention profile-attention--desktop d-flex-c clr-main-text clr-pre-white-bg fw-700\">
  1854. \t\t\t\t\t\t\t<span>Никогда не отправляйте предоплату!</span>
  1855. \t\t\t\t\t\t</div>
  1856. \t\t\t\t\t{%- endif -%} #}
  1857. \t\t\t\t\t{%- include 'ProfilePreview/components/profile-approved.partial.twig' with {type: 'desktop'} -%}
  1858. \t\t\t\t\t{#/* ---------------------------- Метро город район --------------------------- */#}
  1859. \t\t\t\t\t{%- include 'ProfilePreview/components/profile-location.partial.twig' with {type: 'desktop', template: 'profile'} -%}
  1860. \t\t\t\t\t{#/* ---------------------------------- Прайс --------------------------------- */#}
  1861. \t\t\t\t\t<div class=\"profile-time d-flex\">
  1862. \t\t\t\t\t\t{%- set currencyProfile -%}{{ profile.city.countryCode|country_currency }}{%- endset -%}
  1863. \t\t\t\t\t\t<div class=\"profile-time-table\">
  1864. \t\t\t\t\t\t\t{%- set oneHour -%}{{ macros._get_time_price(profile.apartmentsPricing.oneHourPrice, currencyProfile) }}{%- endset -%}
  1865. \t\t\t\t\t\t\t{%- set twoHours -%}{{ macros._get_time_price(profile.apartmentsPricing.twoHoursPrice, currencyProfile) }}{%- endset -%}
  1866. \t\t\t\t\t\t\t{%- set fullNight -%}{{ macros._get_time_price(profile.apartmentsPricing.nightPrice, currencyProfile) }}{%- endset -%}
  1867. \t\t\t\t\t\t\t{%- set express = profile.expressPricing.provided ? (macros._get_time_price(profile.expressPricing.price, profile.city.countryCode|country_currency) ) : \"-\" -%}
  1868. \t\t\t\t\t\t\t<div class=\"profile-time-heading mb-1 fw-700\">У меня</div>
  1869. \t\t\t\t\t\t\t<div class=\"profile-time-cell-list d-flex\">
  1870. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
  1871. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Час</span>
  1872. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ oneHour }}</span>
  1873. \t\t\t\t\t\t\t\t</div>
  1874. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
  1875. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">2 часа</span>
  1876. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ twoHours }}</span>
  1877. \t\t\t\t\t\t\t\t</div>
  1878. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
  1879. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Ночь</span>
  1880. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ fullNight }}</span>
  1881. \t\t\t\t\t\t\t\t</div>
  1882. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-light-bronze-bg\">
  1883. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Экспресс</span>
  1884. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ express }}</span>
  1885. \t\t\t\t\t\t\t\t</div>
  1886. \t\t\t\t\t\t\t</div>
  1887. \t\t\t\t\t\t</div>
  1888. \t\t\t\t\t\t<div class=\"profile-time-table\">
  1889. \t\t\t\t\t\t\t{%- set oneHour -%}{{ macros._get_time_price(profile.takeOutPricing.oneHourPrice, currencyProfile) }}{%- endset -%}
  1890. \t\t\t\t\t\t\t{%- set twoHours -%}{{ macros._get_time_price(profile.takeOutPricing.twoHoursPrice, currencyProfile) }}{%- endset -%}
  1891. \t\t\t\t\t\t\t{%- set fullNight -%}{{ macros._get_time_price(profile.takeOutPricing.nightPrice, currencyProfile) }}{%- endset -%}
  1892. \t\t\t\t\t\t\t<div class=\"profile-time-heading mb-1 fw-700\">У Вас</div>
  1893. \t\t\t\t\t\t\t<div class=\"profile-time-cell-list d-flex\">
  1894. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
  1895. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Час</span>
  1896. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ oneHour }}</span>
  1897. \t\t\t\t\t\t\t\t</div>
  1898. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
  1899. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">2 часа</span>
  1900. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ twoHours }}</span>
  1901. \t\t\t\t\t\t\t\t</div>
  1902. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
  1903. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Ночь</span>
  1904. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">{{ fullNight }}</span>
  1905. \t\t\t\t\t\t\t\t</div>
  1906. \t\t\t\t\t\t\t\t<div class=\"profile-time-cell d-flex clr-pre-white-bg\">
  1907. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-title\">Экспресс</span>
  1908. \t\t\t\t\t\t\t\t\t<span class=\"profile-time-cell-value fw-700 ml-auto clr-main-text\">-</span>
  1909. \t\t\t\t\t\t\t\t</div>
  1910. \t\t\t\t\t\t\t</div>
  1911. \t\t\t\t\t\t</div>
  1912. \t\t\t\t\t</div>
  1913. \t\t\t\t</div>
  1914. \t\t\t\t<div class=\"profile-stat\">
  1915. \t\t\t\t\t<div class=\"profile-stat-rating d-flex-c\">
  1916. \t\t\t\t\t\t<svg class=\"mr-1\" width=\"16\" height=\"16\" fill=\"none\"><path fill=\"#FF3F40\" d=\"M7.5 12.86c.3-.22.7-.22 1 0l3.02 2.3a.82.82 0 0 0 1.27-.9l-1.19-3.82c-.1-.33.02-.7.3-.9L15 7.23a.82.82 0 0 0-.49-1.48h-3.74a.82.82 0 0 1-.78-.57L8.78 1.24a.82.82 0 0 0-1.56 0L6.01 5.18a.82.82 0 0 1-.78.57H1.49a.82.82 0 0 0-.5 1.48l3.12 2.31c.27.2.4.57.29.9l-1.2 3.83a.82.82 0 0 0 1.28.9l3.03-2.3Z\"/></svg>
  1917. \t\t\t\t\t\t<span class=\"fw-600 mr-2\">
  1918. \t\t\t\t\t\t\t{{ rating }}
  1919. \t\t\t\t\t\t</span>
  1920. \t\t\t\t\t\t<a href=\"#comments\">{{ commentsCount }} {{commentPlural}}</a>
  1921. \t\t\t\t\t</div>
  1922. \t\t\t\t\t<div class=\"profile-stat-table\">
  1923. \t\t\t\t\t\t{{- macros._data_wrapper('Возраст', profile.personParameters.age) -}}
  1924. \t\t\t\t\t\t{{- macros._data_wrapper('Рост', profile.personParameters.height) -}}
  1925. \t\t\t\t\t\t{{- macros._data_wrapper('Вес', profile.personParameters.weight) -}}
  1926. \t\t\t\t\t\t{{- macros._data_wrapper('Грудь', profile.personParameters.breastSize) -}}
  1927. \t\t\t\t\t\t{% if feature('has_breast_type') %}
  1928. \t\t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
  1929. \t\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Тип груди</span>
  1930. \t\t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">
  1931. \t\t\t\t\t\t\t\t\t{%- if profile.personParameters.breastType -%}
  1932. \t\t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_breast_type', {'city': city.uriIdentity, 'breastType': profile.personParameters.breastType|breast_type_uri}) }}\">
  1933. \t\t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.breastType|breast_type|trans({}, 'breast_types') -}}
  1934. \t\t\t\t\t\t\t\t\t\t</a>
  1935. \t\t\t\t\t\t\t\t\t{%- else -%}
  1936. \t\t\t\t\t\t\t\t\t\t-
  1937. \t\t\t\t\t\t\t\t\t{%- endif -%}
  1938. \t\t\t\t\t\t\t\t</span>
  1939. \t\t\t\t\t\t\t</div>
  1940. \t\t\t\t\t\t{%- endif -%}
  1941. \t\t\t\t\t\t{{- macros._data_wrapper('Размер одежды', profile.personParameters.clothSize) -}}
  1942. \t\t\t\t\t\t{{- macros._data_wrapper('Размер обуви', profile.personParameters.shoesSize) -}}
  1943. \t\t\t\t\t\t{{- macros._data_wrapper('Тату', profile.personParameters.tattoo, true) -}}
  1944. \t\t\t\t\t\t{{- macros._data_wrapper('Пирсинг', profile.personParameters.piercing, true) -}}
  1945. \t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
  1946. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Телосложение</span>
  1947. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">
  1948. \t\t\t\t\t\t\t\t{%- if profile.personParameters.bodyType -%}
  1949. \t\t\t\t\t\t\t\t\t<a class=\"link\" href=\"{{ path('profile_list.list_by_body_type', {'city': city.uriIdentity, 'bodyType': profile.personParameters.bodyType|body_type_uri}) }}\" target=\"_blank\">{{- profile.personParameters.bodyType|body_type|trans({}, 'body_types') -}}</a>
  1950. \t\t\t\t\t\t\t\t{%- else -%}
  1951. \t\t\t\t\t\t\t\t\t-
  1952. \t\t\t\t\t\t\t\t{%- endif -%}
  1953. \t\t\t\t\t\t\t</span>
  1954. \t\t\t\t\t\t</div>
  1955. \t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
  1956. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Цвет волос</span>
  1957. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">
  1958. \t\t\t\t\t\t\t\t{%- if profile.personParameters.hairColor -%}
  1959. \t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color_uri|slugify}) }}\">
  1960. \t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors') -}}
  1961. \t\t\t\t\t\t\t\t\t</a>
  1962. \t\t\t\t\t\t\t\t{%- else -%}
  1963. \t\t\t\t\t\t\t\t\t-
  1964. \t\t\t\t\t\t\t\t{%- endif -%}
  1965. \t\t\t\t\t\t\t</span>
  1966. \t\t\t\t\t\t</div>
  1967. \t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
  1968. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Национальность</span>
  1969. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">
  1970. \t\t\t\t\t\t\t\t{%- if profile.personParameters.nationality -%}
  1971. \t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_nationality', {'city': city.uriIdentity,'nationality': profile.personParameters.nationality|nationality_uri}) }}\">
  1972. \t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.nationality|nationality|trans({}, 'nationalities') -}}
  1973. \t\t\t\t\t\t\t\t\t</a>
  1974. \t\t\t\t\t\t\t\t{%- else -%}
  1975. \t\t\t\t\t\t\t\t\t-
  1976. \t\t\t\t\t\t\t\t{%- endif -%}
  1977. \t\t\t\t\t\t\t</span>
  1978. \t\t\t\t\t\t</div>
  1979. \t\t\t\t\t\t<div class=\"profile-stat-table-item d-flex-c\">
  1980. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-title\">Интимная стрижка</span>
  1981. \t\t\t\t\t\t\t<span class=\"profile-stat-table-item-value\">
  1982. \t\t\t\t\t\t\t\t{%- if profile.personParameters.privateHaircut -%}
  1983. \t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_private_haircut', {'city': city.uriIdentity,'privateHaircut': profile.personParameters.privateHaircut|private_haircut_uri}) }}\">
  1984. \t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') -}}
  1985. \t\t\t\t\t\t\t\t\t</a>
  1986. \t\t\t\t\t\t\t\t{%- else -%}
  1987. \t\t\t\t\t\t\t\t\t-
  1988. \t\t\t\t\t\t\t\t{%- endif -%}
  1989. \t\t\t\t\t\t\t</span>
  1990. \t\t\t\t\t\t</div>
  1991. \t\t\t\t\t</div>
  1992. \t\t\t\t\t<div class=\"profile-stat-table\">
  1993. \t\t\t\t\t\t{% set threshold = (\"now\"|date_modify(\"-14 days\")).getTimestamp() %}
  1994. \t\t\t\t\t\t{% set updatedAtTs = profile.updatedAt ? profile.updatedAt.getTimestamp() : null %}
  1995. \t\t\t\t\t\t{{- macros._data_wrapper('Дата регистрации', profile.createdAt|date(\"d\") ~ ' ' ~ profile.createdAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.createdAt|date(\"Y\") ~ ' ' ~ profile.createdAt|date(\"H:i\")) -}}
  1996. \t\t\t\t\t\t{% if updatedAtTs >= threshold %}
  1997. \t\t\t\t\t\t\t{{- macros._data_wrapper('Дата обновления', profile.updatedAt|date(\"d\") ~ ' ' ~ profile.updatedAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.updatedAt|date(\"Y\") ~ ' ' ~ profile.updatedAt|date(\"H:i\")) -}}
  1998. \t\t\t\t\t\t{% endif %}
  1999. \t\t\t\t\t\t{{- macros._data_wrapper('ID анкеты', profile.id) -}}
  2000. \t\t\t\t\t</div>
  2001. \t\t\t\t</div>
  2002. \t\t\t</div>
  2003. \t\t\t{%- if profile.deleted -%}
  2004. \t\t\t\t{%- include 'ProfilePreview/components/deleted-profile.partial.twig' with {type: \"profile\", template: 'mobile'} -%}
  2005. \t\t\t{%- endif -%}
  2006. \t\t\t{# фотки #}
  2007. \t\t\t{%- if _self._show_tabs(profile.photos, profile.selfies, profile.confirmedVideos) == 'true' and not profile.deleted -%}
  2008. \t\t\t\t{%- include 'ProfilePreview/components/media.partial.twig' with {template: 'profile'} -%}
  2009. \t\t\t{%- endif -%}
  2010. \t\t\t{%- include 'ProfilePreview/components/table-contacts.partial.twig' with {template: 'profile'} -%}
  2011. \t\t\t<div class=\"profile-location profile-block\">
  2012. \t\t\t\t{%- include 'ProfilePreview/components/profile-location.partial.twig' with {type: 'mobile', template: 'profile'} -%}
  2013. \t\t\t</div>
  2014. \t\t\t
  2015. \t\t\t<div class=\"profile-stat-mobile profile-block\">
  2016. \t\t\t\t<div class=\"profile-stat-table-mobile d-flex-c\">
  2017. \t\t\t\t\t{{- macros._data_wrapper('Возраст', profile.personParameters.age) -}}
  2018. \t\t\t\t\t{{- macros._data_wrapper('Рост', profile.personParameters.height) -}}
  2019. \t\t\t\t\t{{- macros._data_wrapper('Вес', profile.personParameters.weight) -}}
  2020. \t\t\t\t\t{{- macros._data_wrapper('Грудь', profile.personParameters.breastSize) -}}
  2021. \t\t\t\t\t{{- macros._data_wrapper('Одежда', profile.personParameters.clothSize) -}}
  2022. \t\t\t\t\t{{- macros._data_wrapper('Обувь', profile.personParameters.shoesSize) -}}
  2023. \t\t\t\t\t{{- macros._data_wrapper('Тату', profile.personParameters.tattoo, true) -}}
  2024. \t\t\t\t\t{{- macros._data_wrapper('Пирсинг', profile.personParameters.piercing, true) -}}
  2025. \t\t\t\t</div>
  2026. \t\t\t\t<div class=\"profile-stat-rating d-flex-c\">
  2027. \t\t\t\t\t<svg class=\"mr-1\" width=\"16\" height=\"16\" fill=\"none\"><path fill=\"#FF3F40\" d=\"M7.5 12.86c.3-.22.7-.22 1 0l3.02 2.3a.82.82 0 0 0 1.27-.9l-1.19-3.82c-.1-.33.02-.7.3-.9L15 7.23a.82.82 0 0 0-.49-1.48h-3.74a.82.82 0 0 1-.78-.57L8.78 1.24a.82.82 0 0 0-1.56 0L6.01 5.18a.82.82 0 0 1-.78.57H1.49a.82.82 0 0 0-.5 1.48l3.12 2.31c.27.2.4.57.29.9l-1.2 3.83a.82.82 0 0 0 1.28.9l3.03-2.3Z\"/></svg>
  2028. \t\t\t\t\t<span class=\"fw-600 mr-2\">
  2029. \t\t\t\t\t\t{{ rating }}
  2030. \t\t\t\t\t</span>
  2031. \t\t\t\t\t<a href=\"#comments\">{{ commentsCount }} {{commentPlural}}</a>
  2032. \t\t\t\t</div>
  2033. \t\t\t\t<div class=\"profile-stat-list d-flex\">
  2034. \t\t\t\t\t<div class=\"profile-stat-list-column d-flex\">
  2035. \t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  2036. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Телосложение</span>
  2037. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
  2038. \t\t\t\t\t\t\t\t{%- if profile.personParameters.bodyType -%}
  2039. \t\t\t\t\t\t\t\t\t<a class=\"link\" href=\"{{ path('profile_list.list_by_body_type', {'city': city.uriIdentity, 'bodyType': profile.personParameters.bodyType|body_type_uri}) }}\" target=\"_blank\">{{- profile.personParameters.bodyType|body_type|trans({}, 'body_types') -}}</a>
  2040. \t\t\t\t\t\t\t\t{%- else -%}
  2041. \t\t\t\t\t\t\t\t\t-
  2042. \t\t\t\t\t\t\t\t{%- endif -%}
  2043. \t\t\t\t\t\t\t</span>
  2044. \t\t\t\t\t\t</div>
  2045. \t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  2046. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Цвет волос</span>
  2047. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
  2048. \t\t\t\t\t\t\t\t{%- if profile.personParameters.hairColor -%}
  2049. \t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color_uri|slugify}) }}\">
  2050. \t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors') -}}
  2051. \t\t\t\t\t\t\t\t\t</a>
  2052. \t\t\t\t\t\t\t\t{%- else -%}
  2053. \t\t\t\t\t\t\t\t\t-
  2054. \t\t\t\t\t\t\t\t{%- endif -%}
  2055. \t\t\t\t\t\t\t</span>
  2056. \t\t\t\t\t\t</div>
  2057. \t\t\t\t\t\t{% if feature('has_breast_type') %}
  2058. \t\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  2059. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Тип груди</span>
  2060. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
  2061. \t\t\t\t\t\t\t\t\t{%- if profile.personParameters.hairColor -%}
  2062. \t\t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_breast_type', {'city': city.uriIdentity, 'breastType': profile.personParameters.breastType|breast_type_uri}) }}\">
  2063. \t\t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.breastType|breast_type|trans({}, 'breast_types') -}}
  2064. \t\t\t\t\t\t\t\t\t\t</a>
  2065. \t\t\t\t\t\t\t\t\t{%- else -%}
  2066. \t\t\t\t\t\t\t\t\t\t-
  2067. \t\t\t\t\t\t\t\t\t{%- endif -%}
  2068. \t\t\t\t\t\t\t\t</span>
  2069. \t\t\t\t\t\t\t</div>
  2070. \t\t\t\t\t\t{%- endif -%}
  2071. \t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  2072. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Национальность</span>
  2073. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
  2074. \t\t\t\t\t\t\t\t{%- if profile.personParameters.nationality -%}
  2075. \t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_nationality', {'city': city.uriIdentity,'nationality': profile.personParameters.nationality|nationality_uri}) }}\">
  2076. \t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.nationality|nationality|trans({}, 'nationalities') -}}
  2077. \t\t\t\t\t\t\t\t\t</a>
  2078. \t\t\t\t\t\t\t\t{%- else -%}
  2079. \t\t\t\t\t\t\t\t\t-
  2080. \t\t\t\t\t\t\t\t{%- endif -%}
  2081. \t\t\t\t\t\t\t</span>
  2082. \t\t\t\t\t\t</div>
  2083. \t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  2084. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Интимная стрижка</span>
  2085. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
  2086. \t\t\t\t\t\t\t\t{%- if profile.personParameters.privateHaircut -%}
  2087. \t\t\t\t\t\t\t\t\t<a class=\"link\" target=\"_blank\" href=\"{{ path('profile_list.list_by_private_haircut', {'city': city.uriIdentity,'privateHaircut': profile.personParameters.privateHaircut|private_haircut_uri}) }}\">
  2088. \t\t\t\t\t\t\t\t\t\t{{- profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') -}}
  2089. \t\t\t\t\t\t\t\t\t</a>
  2090. \t\t\t\t\t\t\t\t{%- else -%}
  2091. \t\t\t\t\t\t\t\t\t-
  2092. \t\t\t\t\t\t\t\t{%- endif -%}
  2093. \t\t\t\t\t\t\t</span>
  2094. \t\t\t\t\t\t</div>
  2095. \t\t\t\t\t</div>
  2096. \t\t\t\t\t<div class=\"profile-stat-list-column d-flex\">
  2097. \t\t\t\t\t\t{%- if profile.createdAt -%}
  2098. \t\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  2099. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Дата регистрации</span>
  2100. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
  2101. \t\t\t\t\t\t\t\t\t{{- profile.createdAt|date(\"d\") ~ ' ' ~ profile.createdAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.createdAt|date(\"Y\") ~ ' ' ~ profile.createdAt|date(\"H:i\") -}}
  2102. \t\t\t\t\t\t\t\t</span>
  2103. \t\t\t\t\t\t\t</div>
  2104. \t\t\t\t\t\t{%- endif -%}
  2105. \t\t\t\t\t\t{%- set threshold = (\"now\"|date_modify(\"-14 days\")).getTimestamp() -%}
  2106. \t\t\t\t\t\t{%- set updatedAtTs = profile.updatedAt ? profile.updatedAt.getTimestamp() : '' -%}
  2107. \t\t\t\t\t\t{%- if updatedAtTs and updatedAtTs >= threshold -%}
  2108. \t\t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  2109. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">Дата обновления</span>
  2110. \t\t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
  2111. \t\t\t\t\t\t\t\t\t{{- profile.updatedAt|date(\"d\") ~ ' ' ~ profile.updatedAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.updatedAt|date(\"Y\") ~ ' ' ~ profile.updatedAt|date(\"H:i\") -}}
  2112. \t\t\t\t\t\t\t\t</span>
  2113. \t\t\t\t\t\t\t</div>
  2114. \t\t\t\t\t\t{%- endif -%}
  2115. \t\t\t\t\t\t<div class=\"profile-stat-list-item d-flex-c\">
  2116. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-title\">ID анкеты</span>
  2117. \t\t\t\t\t\t\t<span class=\"profile-stat-list-item-value\">
  2118. \t\t\t\t\t\t\t\t{{- profile.id -}}
  2119. \t\t\t\t\t\t\t</span>
  2120. \t\t\t\t\t\t</div>
  2121. \t\t\t\t\t</div>
  2122. \t\t\t\t</div>
  2123. \t\t\t\t{%- include 'ProfilePreview/components/profile-approved.partial.twig' with {type: 'mobile'} -%}
  2124. \t\t\t</div>
  2125. \t\t</div>
  2126. \t\t{# о себе #}
  2127. \t\t<div class=\"profile-block profile-block--about d-flex white-round\">
  2128. \t\t\t<h2 class=\"text-xl\">О СЕБЕ</h2>
  2129. \t\t\t<p class=\"text-basic\">{{ profile.description|nl2br }}</p>
  2130. \t\t</div>
  2131. \t\t{# сервис #}
  2132. \t\t{% set template = 'profiles' %}
  2133. \t\t{% set mappingService = template == 'profiles' ? services|filter((serviceGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) : services %}
  2134. \t\t{% set haveServices = false %}
  2135. \t\t{% for group, servicesGroup in mappingService %}
  2136. \t\t\t{# на случай если нужно было показывать только укомплектованные услуги #}
  2137. \t\t\t{% for service in servicesGroup %}
  2138. \t\t\t\t{% if profile.providedService(service) %}
  2139. \t\t\t\t\t{% set haveServices = true %}
  2140. \t\t\t\t{% endif %}
  2141. \t\t\t{% endfor %}
  2142. \t\t{% endfor %}
  2143. \t\t{% if haveServices %}
  2144. \t\t<div class=\"profile-block d-flex white-round mb-4\">
  2145. \t\t\t<div class=\"profile-block-heading profile-block-heading--service d-flex-c\">
  2146. \t\t\t\t<h2 class=\"text-xl\">УСЛУГИ, ОКАЗЫВАЕМЫЕ ДЕВУШКОЙ</h2>
  2147. \t\t\t\t<div class=\"service-heading\">
  2148. \t\t\t\t\t<div class=\"service-heading-list d-flex-c\">
  2149. \t\t\t\t\t\t<div class=\"d-flex-c\">
  2150. \t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
  2151. \t\t\t\t\t\t\t\t<use xlink:href=\"#service-green\"></use>
  2152. \t\t\t\t\t\t\t</svg>
  2153. \t\t\t\t\t\t\t<span>- включено в стоимость</span>
  2154. \t\t\t\t\t\t</div>
  2155. \t\t\t\t\t\t<div class=\"d-flex-c\">
  2156. \t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
  2157. \t\t\t\t\t\t\t\t<use xlink:href=\"#service-orange\"></use>
  2158. \t\t\t\t\t\t\t</svg>
  2159. \t\t\t\t\t\t\t<span>- по симпатии</span>
  2160. \t\t\t\t\t\t</div>
  2161. \t\t\t\t\t\t<div class=\"d-flex-c\">
  2162. \t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
  2163. \t\t\t\t\t\t\t\t<use xlink:href=\"#service-red\"></use>
  2164. \t\t\t\t\t\t\t</svg>
  2165. \t\t\t\t\t\t\t<span>- за дополнительную плату</span>
  2166. \t\t\t\t\t\t</div>
  2167. \t\t\t\t\t\t{# <div class=\"d-flex-c\">
  2168. \t\t\t\t\t\t\t<svg class=\"service-icon mr-1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\">
  2169. \t\t\t\t\t\t\t\t<use xlink:href=\"#service-grey\"></use>
  2170. \t\t\t\t\t\t\t</svg>
  2171. \t\t\t\t\t\t\t<span>- услуга не предоставляется</span>
  2172. \t\t\t\t\t\t</div> #}
  2173. \t\t\t\t\t</div>
  2174. \t\t\t\t</div>
  2175. \t\t\t</div>
  2176. \t\t\t<div class=\"profile-services\">
  2177. \t\t\t\t{%- include 'ProfilePreview/components/services.partial.twig' with {template: 'profiles'} -%}
  2178. \t\t\t</div>
  2179. \t\t\t{%- if (profile.clientTypes|length > 0) -%}
  2180. \t\t\t\t<div class=\"service-special d-flex-c\">
  2181. \t\t\t\t\t<h3 class=\"service-special-title\">Услуги для</h3>
  2182. \t\t\t\t\t<div class=\"service-special-list d-flex-c\">
  2183. \t\t\t\t\t\t{%- set client_types_text = ['1','2','3','4','5'] -%}
  2184. \t\t\t\t\t\t{%- set includeService = false -%}
  2185. \t\t\t\t\t\t{%- for clientTypeText in client_types_text -%}
  2186. \t\t\t\t\t\t\t{%- for clientType in profile.clientTypes -%}
  2187. \t\t\t\t\t\t\t\t{%- if (clientTypeText == clientType) -%}
  2188. \t\t\t\t\t\t\t\t\t{%- set includeService = true -%}
  2189. \t\t\t\t\t\t\t\t{%- endif -%}
  2190. \t\t\t\t\t\t\t{%- endfor -%}
  2191. \t\t\t\t\t\t\t{%- if clientTypeText|client_type != 'TRANS' -%}
  2192. \t\t\t\t\t\t\t\t{%- if includeService == true -%}
  2193. \t\t\t\t\t\t\t\t\t<div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 20 20\" width=\"20\"><use xlink:href=\"#service-include\"></use></svg><span>
  2194. \t\t\t\t\t\t\t\t\t\t{{- clientTypeText|client_type|trans({}, 'client_types') -}}
  2195. \t\t\t\t\t\t\t\t\t</span></div>
  2196. \t\t\t\t\t\t\t\t{%- else -%}
  2197. \t\t\t\t\t\t\t\t\t{# <div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 18 18\" width=\"18\"><path fill=\"#E0E0E0\" fill-rule=\"evenodd\" d=\"M9 .666A8.336 8.336 0 00.667 8.999c0 4.6 3.733 8.334 8.333 8.334s8.334-3.734 8.334-8.334S13.6.666 9 .666zM5.001 7.999h8v2h-8V8zM2.334 9A6.676 6.676 0 009 15.666a6.676 6.676 0 006.667-6.667A6.676 6.676 0 009 2.333a6.676 6.676 0 00-6.666 6.666z\" clip-rule=\"evenodd\"/></svg><span>
  2198. \t\t\t\t\t\t\t\t\t\t{{- clientTypeText|client_type|trans({}, 'client_types') -}}
  2199. \t\t\t\t\t\t\t\t\t</span></div> #}
  2200. \t\t\t\t\t\t\t\t{%- endif -%}
  2201. \t\t\t\t\t\t\t{%- endif -%}
  2202. \t\t\t\t\t\t\t{%- set includeService = false -%}
  2203. \t\t\t\t\t\t{%- endfor -%}
  2204. \t\t\t\t\t</div>
  2205. \t\t\t\t</div>
  2206. \t\t\t{%- endif -%}
  2207. \t\t\t{%- if (profile.takeOutPricing.locations|length > 0) -%}
  2208. \t\t\t\t<div class=\"service-special d-flex-c\">
  2209. \t\t\t\t\t<h3 class=\"service-special-title\">Выезд</h3>
  2210. \t\t\t\t\t<div class=\"service-special-list d-flex-c\">
  2211. \t\t\t\t\t\t{%- set locations_text = ['1','2','3','4','5','6'] -%}
  2212. \t\t\t\t\t\t{%- set includeService = false -%}
  2213. \t\t\t\t\t\t{%- for locationsText in locations_text -%}
  2214. \t\t\t\t\t\t\t{%- for locations in profile.takeOutPricing.locations -%}
  2215. \t\t\t\t\t\t\t\t{%- if (locationsText == locations) -%}
  2216. \t\t\t\t\t\t\t\t\t{%- set includeService = true -%}
  2217. \t\t\t\t\t\t\t\t{%- endif -%}
  2218. \t\t\t\t\t\t\t{%- endfor -%}
  2219. \t\t\t\t\t\t\t{%- if includeService == true -%}
  2220. \t\t\t\t\t\t\t\t<div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 20 20\" width=\"20\"><use xlink:href=\"#service-include\"></use></svg><span>
  2221. \t\t\t\t\t\t\t\t\t{{- locationsText|take_out_location|trans({}, 'take_out_location') -}}
  2222. \t\t\t\t\t\t\t\t</span></div>
  2223. \t\t\t\t\t\t\t{%- else -%}
  2224. \t\t\t\t\t\t\t\t{# <div class=\"service-special-item d-flex-c\"><svg class=\"mr-1\" fill=\"none\" viewBox=\"0 0 18 18\" width=\"18\"><path fill=\"#E0E0E0\" fill-rule=\"evenodd\" d=\"M9 .666A8.336 8.336 0 00.667 8.999c0 4.6 3.733 8.334 8.333 8.334s8.334-3.734 8.334-8.334S13.6.666 9 .666zM5.001 7.999h8v2h-8V8zM2.334 9A6.676 6.676 0 009 15.666a6.676 6.676 0 006.667-6.667A6.676 6.676 0 009 2.333a6.676 6.676 0 00-6.666 6.666z\" clip-rule=\"evenodd\"/></svg><span>
  2225. \t\t\t\t\t\t\t\t\t{{- clientTypeText|client_type|trans({}, 'client_types') -}}
  2226. \t\t\t\t\t\t\t\t</span></div> #}
  2227. \t\t\t\t\t\t\t{%- endif -%}
  2228. \t\t\t\t\t\t\t{%- set includeService = false -%}
  2229. \t\t\t\t\t\t{%- endfor -%}
  2230. \t\t\t\t\t</div>
  2231. \t\t\t\t</div>
  2232. \t\t\t{%- endif -%}
  2233. \t\t</div>
  2234. \t\t{% endif %}
  2235. \t\t{# карта пк #}
  2236. \t\t<div class=\"profile-map profile-map--desktop white-round mb-4 skeleton\">
  2237. \t\t\t<div class=\"profile-map-block\" id=\"profile-map\"></div>
  2238. \t\t</div>
  2239. \t\t{# ревью #}
  2240. \t\t{%- if feature('profile_comments') and not profile.deleted -%}
  2241. \t\t\t{%- set commentsCount = profile.comments|length -%}
  2242. \t\t\t<noindex>
  2243. \t\t\t\t<div class=\"review profile-block d-flex white-round mb-4\"
  2244. \t\t\t\t\t\tdata-user=\"{{ is_user_customer(app.user) ? 'true' : 'false' }}\"
  2245. \t\t\t\t\t\tdata-url=\"{{ path('profile.comment.create', {profile: profile.id}) }}\"
  2246. \t\t\t\t\t\tdata-reg-url=\"{{ path('app_security_register') }}\"
  2247. \t\t\t\t\t\t{% if comment_form is defined %}
  2248. \t\t\t\t\t\t\tdata-entity-id=\"{{ comment_form.entity_id.vars.id }}\"
  2249. \t\t\t\t\t\t\tdata-mark=\"{{ comment_form.mark.vars.full_name }}\"
  2250. \t\t\t\t\t\t\tdata-text=\"{{ comment_form.text.vars.id }}\"
  2251. \t\t\t\t\t\t{% endif %}
  2252. \t\t\t\t\t\tid=\"comments\"
  2253. \t\t\t\t>
  2254. \t\t\t\t\t<div class=\"review-heading d-flex-c mb-4\">
  2255. \t\t\t\t\t\t<h2 class=\"review-heading-title text-xl\">ОТЗЫВЫ</h2>
  2256. \t\t\t\t\t\t<div class=\"review-rating d-flex-c\" {% if commentsCount > 0 %}itemscope itemtype=\"https://schema.org/AggregateRating\"{% endif %} data-rating=\"{{ rating }}\">
  2257. \t\t\t\t\t\t\t{%- if commentsCount > 0 -%}
  2258. \t\t\t\t\t\t\t\t<meta itemprop=\"worstRating\" content=\"1\">
  2259. \t\t\t\t\t\t\t\t<meta itemprop=\"ratingValue\" content=\"{{ rating }}\">
  2260. \t\t\t\t\t\t\t\t<meta itemprop=\"bestRating\" content=\"5\">
  2261. \t\t\t\t\t\t\t\t<meta itemprop=\"reviewCount\" content=\"{{ commentsCount }}\">
  2262. \t\t\t\t\t\t\t{%- endif -%}
  2263. \t\t\t\t\t\t\t<div class=\"review-rating-text d-flex-c\" itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\">
  2264. \t\t\t\t\t\t\t\t<meta itemprop=\"address\" content=\"{{ profile.city.name }}\" />
  2265. \t\t\t\t\t\t\t\t<meta itemprop=\"telephone\" content=\"{{ profile.phoneNumber }}\" />
  2266. \t\t\t\t\t\t\t\t<meta itemprop=\"name\" content=\"Рейтинг анкеты {{ profile.name }}\">
  2267. \t\t\t\t\t\t\t\t<span class=\"review-rating-value{{ commentsCount == 0 ? ' zero' : '' }} mr-1\">
  2268. \t\t\t\t\t\t\t\t\t{{- rating -}}
  2269. \t\t\t\t\t\t\t\t</span>
  2270. \t\t\t\t\t\t\t\t<span class=\"review-rating-count\">
  2271. \t\t\t\t\t\t\t\t\tпо {{ commentsCount }} {{ commentsCount == 1 ? 'отзыву' : 'отзывам' -}}
  2272. \t\t\t\t\t\t\t\t</span>
  2273. \t\t\t\t\t\t\t</div>
  2274. \t\t\t\t\t\t\t<div class=\"rating-star-block d-flex-c\">
  2275. \t\t\t\t\t\t\t\t{%- for i in 1..5 -%}
  2276. \t\t\t\t\t\t\t\t\t<svg width=\"24\" height=\"25\" class=\"rating-star{% if rating >= i %} active{% endif %}\"><use xlink:href=\"#review-star\"></use></svg>
  2277. \t\t\t\t\t\t\t\t{%- endfor -%}
  2278. \t\t\t\t\t\t\t</div>
  2279. \t\t\t\t\t\t</div>
  2280. \t\t\t\t\t</div>
  2281. \t\t\t\t\t<div class=\"review-comments d-flex\">
  2282. \t\t\t\t\t\t{%- if commentsCount > 0 -%}
  2283. \t\t\t\t\t\t\t<div class=\"review-comments-list\" id=\"review-comments-list\">
  2284. \t\t\t\t\t\t\t\t{%- for comment in profile.comments -%}
  2285. \t\t\t\t\t\t\t\t\t{%- include 'ProfilePreview/comment.html.twig' -%}
  2286. \t\t\t\t\t\t\t\t{%- endfor -%}
  2287. \t\t\t\t\t\t\t</div>
  2288. \t\t\t\t\t\t{%- else -%}
  2289. \t\t\t\t\t\t\t<div class=\"review-comments-list review-comments-list-empty\" id=\"review-comments-list\">
  2290. \t\t\t\t\t\t\t\t<span class=\"review-comments-list-empty-text\">Пока отзывов нет. {% if not is_user_advertiser(app.user) %}Оставьте первый отзыв.{% endif %}</span>
  2291. \t\t\t\t\t\t\t</div>
  2292. \t\t\t\t\t\t{%- endif -%}
  2293. \t\t\t\t\t\t{%- if not is_user_advertiser(app.user) -%}
  2294. \t\t\t\t\t\t\t<div class=\"review-form skeleton\" id=\"review-form\">
  2295. \t\t\t\t\t\t\t\t{# {% include 'ProfilePreview/form-comment.html.twig' %} #}
  2296. \t\t\t\t\t\t\t</div>
  2297. \t\t\t\t\t\t{%- endif -%}
  2298. \t\t\t\t\t</div>
  2299. \t\t\t\t</div>
  2300. \t\t\t</noindex>
  2301. \t\t{%- endif -%}
  2302. \t\t{# 2 ссылки #}
  2303. \t\t{# {%- if profile.personParameters.hairColor and haveMetro -%}
  2304. \t\t<div class=\"two-links d-flex-c mb-4\">
  2305. \t\t\t{%- if haveMetro -%}
  2306. \t\t\t\t<a href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': station_alt.uriIdentity}) }}\" class=\"two-links-item d-flex-c\">
  2307. \t\t\t\t\t<svg class=\"two-links-icon\" viewbox=\"0 0 48 49\" width=\"48\" height=\"49\" fill=\"none\"><path fill=\"#FF3F40\" d=\"M16.875 22.156h-1.134v1.502h5.841v-1.502h-1.711l1.126-3.763L24 23.79l3.003-5.396 1.127 3.763h-1.712v1.502h5.84v-1.502h-1.154l-3.852-9.93L24 18.78l-3.274-6.552-3.85 9.93Z\"/><path fill=\"#FF3F40\" d=\"M24 4.97c-7.74 0-14 6.26-14 14 0 4.05 2.082 8.843 4.64 13.204 0 0 1.243 1.669 2.769.787 1.526-.881.806-2.627.806-2.627C15.853 26.351 14 22.182 14 18.971c0-5.52 4.48-10 10-10s10 4.48 10 10c0 5.76-8.677 17.124-12.917 22.504L24 44.971s14-15.5 14-26c0-7.74-6.26-14-14-14Z\"/></svg>
  2308. \t\t\t\t\t<span class=\"two-links-text\">Все проститутки у метро <span class=\"two-links-text-highlight fw-700\">{{ station_alt.name|trans }}</span></span>
  2309. \t\t\t\t</a>
  2310. \t\t\t\t{% if station_alt.name == '' %}
  2311. \t\t\t\t\t<div class=\"d-none\">
  2312. \t\t\t\t\tstation.name = {{ station_alt.name }}<br>
  2313. \t\t\t\t\tstation.uriIdentity = {{ station_alt.uriIdentity }}<br>
  2314. \t\t\t\t\tstation = {{ station_alt }}<br>
  2315. \t\t\t\t\t</div>
  2316. \t\t\t\t{% endif %}
  2317. \t\t\t{%- endif -%}
  2318. \t\t\t{%- if profile.personParameters.hairColor -%}
  2319. \t\t\t\t<a href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color_uri|slugify}) }}\" class=\"two-links-item d-flex-c\">
  2320. \t\t\t\t\t<svg class=\"two-links-icon\" viewbox=\"0 0 48 49\" width=\"48\" height=\"49\" fill=\"none\"><path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M19.68 41.52c-.838 1.945-3.17 3.067-5.336 1.959-4.092-2.098-6.908-4.496-8.63-7.16-1.742-2.698-2.28-5.532-2.038-8.3.472-5.366 3.892-10.468 6.724-14.248 3.768-5.024 8.56-7.8 13.6-7.8 5.04 0 9.832 2.776 13.6 7.8 2.802 3.736 6.48 8.868 7.08 14.25.31 2.794-.2 5.664-2.016 8.388-1.788 2.684-4.746 5.08-9.076 7.17-2.166 1.046-4.476-.094-5.286-2.046-1.444.908-2.956 1.438-4.3 1.438-1.352 0-2.874-.536-4.324-1.45h.002ZM13.6 16.17c3.232-4.307 6.94-6.2 10.4-6.2s7.168 1.893 10.4 6.2c2.908 3.877 5.844 8.165 6.304 12.295.218 1.96-.13 3.866-1.368 5.726-1.252 1.876-3.502 3.84-7.336 5.714v-1.802c1.732-2.3 3-5.384 3-9.132 0-.766-.04-1.51-.122-2.226a2 2 0 0 0-1.968-1.774 9.002 9.002 0 0 1-8.85-7.954 2.019 2.019 0 0 0-2.536-1.694C16.736 16.69 13 21.78 13 28.97c0 3.748 1.268 6.832 3 9.132v1.728c-3.574-1.856-5.712-3.808-6.926-5.686-1.214-1.876-1.586-3.804-1.412-5.774.36-4.11 3.078-8.392 5.938-12.2Zm3.4 12.8c0-4.443 1.7-7.347 3.686-8.823A13.017 13.017 0 0 0 31 28.819c.024 2.816-.936 5.578-2.848 7.664-1.664 1.814-3.42 2.488-4.152 2.488-.732 0-2.486-.674-4.15-2.488C18.276 34.765 17 32.237 17 28.97Z\" clip-rule=\"evenodd\"/></svg>
  2321. \t\t\t\t\t<span class=\"two-links-text\">Все проститутки <span class=\"two-links-text-highlight fw-700\">{{ profile.personParameters.hairColor|hair_color|trans({}, 'left_menu') }}</span></span>
  2322. \t\t\t\t</a>
  2323. \t\t\t{%- endif -%}
  2324. \t\t</div>
  2325. \t\t{%- endif -%} #}
  2326. \t\t{# Реки? #}
  2327. \t\t<div id=\"recommendations\">
  2328. \t\t\t{%- set excludeRecommendationProfileIds = [profile.id] -%}
  2329. \t\t\t{%- include 'Recommendations/_profile_recommendations.html.twig' with {componentClass: 'mobile'} -%}
  2330. \t\t</div>
  2331.     \t{{ include('ProfilePreview/nearest_profiles.html.twig') }}
  2332. \t\t{# Популярные ссылки? #}
  2333. \t\t{# css removed #}
  2334. \t\t{# {%- include 'ProfilePreview/popular_links.html.twig' with {} -%} #}
  2335. \t\t{%- include 'ProfilePreview/components/mobile-contacts.partial.twig' with {template: 'profile'} -%}
  2336. \t</div>
  2337. {%- endblock -%}
  2338. {%- block javascripts -%}
  2339. \t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  2340. \t<script>
  2341. \t\twindow.comment_data = {
  2342. \t\t\t'comment_create': '{{ path('profile.comment.create', {profile: profile.id}) }}',
  2343. \t\t\t'form_get': '{{ path('profile.comment.comment_form', {profile: profile.id}) }}',
  2344. \t\t\t'sitekey': \"{{ ewz_recaptcha_site_key }}\",
  2345. \t\t\t'registrationUrl': \"{{ path('app_security_register') }}\",
  2346. \t\t\t'avatar_anonymous': \"{{ asset('assets/images/avatar-user-anonymous.svg') }}\",
  2347. \t\t\t'avatar_default': \"{{ asset('assets/images/default-user-avatar.svg') }}\"
  2348. \t\t};
  2349.         window._lD = {
  2350.             setLastViewedListing: '{{ app.request.attributes.get('_route') }}',
  2351.             cityUrl: \"{{city.uriIdentity}}\",
  2352.         };
  2353. \t\tdocument.addEventListener('header:update', (event) => {
  2354. \t\t\tconst userData = event.detail?.data;
  2355. \t\t\tif (userData.user && userData.role === 'advertiser') return;
  2356. \t\t\t{% include 'ProfileList/_favorite-button.partial.script.js' %}
  2357. \t\t});
  2358. \t\twindow.siteData = {
  2359. \t\t\tstations: {
  2360.                 {%- for station in stations() -%}
  2361.                     \"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
  2362.                 {%- endfor -%}
  2363.             }
  2364. \t\t};
  2365. \t</script>
  2366. \t{{- parent() -}}
  2367. \t<script>
  2368. \t\t(function() {
  2369.             let isRenderRecommendationsWidget = false;
  2370.             let isRenderBotWidget = false;
  2371.             let isRenderRecentlyViewedWidget = false;
  2372.             function loadWidgets() {
  2373.                 try {
  2374.                     if (!isRenderRecommendationsWidget) {
  2375.                         isRenderRecommendationsWidget = true;
  2376.                         //window.profileRecommendations.addViewedProfile({{ profile.id }})
  2377. \t\t\t\t\t\twindow.Recommendation.addViewedProfile({{ profile.id }})
  2378.                     }
  2379.                     // if (!isRenderBotWidget) {
  2380.                     //     isRenderBotWidget = true;
  2381.                     //     window.profileBotHelper.addViewedProfile({{ profile.id }});
  2382.                     // }
  2383.                     if (!isRenderRecentlyViewedWidget) {
  2384.                         isRenderRecentlyViewedWidget = true;
  2385.                         //window.recentlyViewed.addViewedProfile({{ profile.id }});
  2386.                     }
  2387.                 } catch (error) {
  2388.                     console.error(error);
  2389.                 }
  2390.             }
  2391.             document.addEventListener('DOMContentLoaded', function() {
  2392.                 try {
  2393.                     loadWidgets();
  2394.                 } catch (error) {
  2395.                     console.error(error);
  2396.                 }
  2397. \t\t\t\tfunction createMap(id) {
  2398. \t\t\t\t\tnew window.YandexMap({
  2399. \t\t\t\t\t\tid:id,
  2400. \t\t\t\t\t\tlat:\"{{ profile.mapCoordinate.latitude | default(profile.city.mapCoordinate.latitude) }}\",
  2401. \t\t\t\t\t\tlon:\"{{ profile.mapCoordinate.longitude | default(profile.city.mapCoordinate.longitude) }}\",
  2402. \t\t\t\t\t\tlabel:\"{{ asset('assets/images/map-label.svg') }}\"
  2403. \t\t\t\t\t});
  2404. \t\t\t\t}
  2405. \t\t\t\tcreateMap('profile-map');
  2406. \t\t\t\tdocument.addEventListener('click', (e) => {
  2407. \t\t\t\t\tconst mobileMap = e.target.closest('#show-map-btn');
  2408. \t\t\t\t\tif (mobileMap) {
  2409. \t\t\t\t\t\tmobileMap.parentElement.classList.toggle('active');
  2410. \t\t\t\t\t\tcreateMap('profile-map-mobile');
  2411. \t\t\t\t\t}
  2412. \t\t\t\t});
  2413.             \twindow.increase_views({{profile.id}});
  2414.             });
  2415.             {# document.addEventListener(\"recommendations:ready\", function() {
  2416.                 try {
  2417.                     //loadWidgets();
  2418.                 } catch (error) {
  2419.                     console.error(error);
  2420.                 }
  2421.             }); #}
  2422.         })();
  2423. \t</script>
  2424. \t{%- if not profile.deleted -%}
  2425. \t\t<script type=\"module\">
  2426. \t\t\timport PhotoSwipeLightbox from 'https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe-lightbox.esm.min.js';
  2427. \t\t\tconst [w,h] = [window.innerWidth * 0.9,  window.innerHeight * 0.9]
  2428. \t\t\tconst options = {
  2429. \t\t\t\tdataSource: [
  2430. \t\t\t\t\t{%- set photo = profile|avatar -%}
  2431. \t\t\t\t\t{%- if photo and photo.path -%}
  2432. \t\t\t\t\t\t{
  2433. \t\t\t\t\t\t\tsrc: '{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}',
  2434. \t\t\t\t\t\t\twidth: w,
  2435. \t\t\t\t\t\t\theight: h,
  2436. \t\t\t\t\t\t\talt: 'Avatar'
  2437. \t\t\t\t\t\t},
  2438. \t\t\t\t\t{%- endif -%}
  2439. \t\t\t\t\t{%- if profile.photos is defined and profile.photos|length > 0 -%}
  2440. \t\t\t\t\t\t{%- for photo in profile.photos -%}
  2441. \t\t\t\t\t\t\t{%- if photo.path -%}
  2442. \t\t\t\t\t\t\t\t{
  2443. \t\t\t\t\t\t\t\t\tsrc: '{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}',
  2444. \t\t\t\t\t\t\t\t\twidth: w,
  2445. \t\t\t\t\t\t\t\t\theight: h,
  2446. \t\t\t\t\t\t\t\t\talt: 'Фото профиля {{loop.index}}'
  2447. \t\t\t\t\t\t\t\t},
  2448. \t\t\t\t\t\t\t{%- endif -%}
  2449. \t\t\t\t\t\t{%- endfor -%}
  2450. \t\t\t\t\t{%- endif -%}
  2451. \t\t\t\t\t{% if profile.selfies is defined %}
  2452. \t\t\t\t\t\t{% for photo in profile.selfies %}
  2453. \t\t\t\t\t\t\t{%- if photo.path -%}
  2454. \t\t\t\t\t\t\t\t{
  2455. \t\t\t\t\t\t\t\t\tsrc: '{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}',
  2456. \t\t\t\t\t\t\t\t\twidth: w,
  2457. \t\t\t\t\t\t\t\t\theight: h,
  2458. \t\t\t\t\t\t\t\t\talt: 'Селфи профиля {{loop.index}}'
  2459. \t\t\t\t\t\t\t\t}{% if not loop.last %},{% endif %}
  2460. \t\t\t\t\t\t\t{%- endif -%}
  2461. \t\t\t\t\t\t{%- endfor -%}
  2462. \t\t\t\t\t{%- endif -%}
  2463. \t\t\t\t],
  2464. \t\t\t\tshowHideAnimationType: 'none',
  2465. \t\t\t\tpswpModule: () => import('https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe.esm.min.js'),
  2466. \t\t\t};
  2467. \t\t\tconst lightbox = new PhotoSwipeLightbox(options);
  2468. \t\t\tlightbox.init();
  2469. \t\t\tconst avatarEl = document.querySelector('.profile-avatar');
  2470. \t\t\tconst mediaEl = document.querySelector('.profile-media');
  2471. \t\t\tif (avatarEl) avatarEl.classList.add('profile-avatar-loaded');
  2472. \t\t\tif (mediaEl) mediaEl.classList.add('profile-media-loaded');
  2473. \t\t\t;[...document.querySelectorAll('a[data-gallery]')].forEach(element => {
  2474. \t\t\t\telement.addEventListener('click', (e) => {
  2475. \t\t\t\t\te.preventDefault();
  2476. \t\t\t\t\tconst id = +e.currentTarget.getAttribute('data-index');
  2477. \t\t\t\t\tlightbox.loadAndOpen(id); // defines start slide index
  2478. \t\t\t\t})
  2479. \t\t\t});
  2480. \t\t</script>
  2481. \t\t<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe.min.css\" integrity=\"sha512-LFWtdAXHQuwUGH9cImO9blA3a3GfQNkpF2uRlhaOpSbDevNyK1rmAjs13mtpjvWyi+flP7zYWboqY+8Mkd42xA==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  2482. \t{%- endif -%}
  2483. {%- endblock -%}
  2484. {%- block iconsSet -%}
  2485. <svg class=\"d-none\" xmlns=\"http://www.w3.org/2000/svg\">
  2486.     <symbol id=\"service-green\" viewBox=\"0 0 20 20\">
  2487.         <path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"M1.667 10c0-4.6 3.724-8.333 8.324-8.333 4.609 0 8.342 3.733 8.342 8.333s-3.733 8.333-8.341 8.333c-4.6 0-8.325-3.733-8.325-8.333ZM10 16.666A6.665 6.665 0 0 1 3.333 10 6.665 6.665 0 0 1 10 3.333a6.65 6.65 0 0 1 5.003 2.26l-5.676 5.671-2.432-2.432-1.062 1.055 3.494 3.494 6.544-6.544A6.64 6.64 0 0 1 16.666 10 6.665 6.665 0 0 1 10 16.666Z\" clip-rule=\"evenodd\"/>
  2488.     </symbol>
  2489.     <symbol id=\"service-orange\" viewBox=\"0 0 20 20\">
  2490.         <path fill=\"#FF6D03\" fill-rule=\"evenodd\" d=\"M9.992 1.667c-4.6 0-8.325 3.733-8.325 8.333s3.724 8.333 8.325 8.333c4.608 0 8.341-3.733 8.341-8.333S14.6 1.667 9.992 1.667Zm-2.909 5a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm5.833 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-5.791 5c.583.991 1.641 1.666 2.875 1.666 1.233 0 2.291-.675 2.875-1.667h1.391a4.58 4.58 0 0 1-8.533 0h1.392ZM3.333 10A6.665 6.665 0 0 0 10 16.666 6.665 6.665 0 0 0 16.666 10 6.665 6.665 0 0 0 10 3.333 6.665 6.665 0 0 0 3.333 10Z\" clip-rule=\"evenodd\"/>
  2491.     </symbol>
  2492.     <symbol id=\"service-red\" viewBox=\"0 0 20 20\">
  2493.         <path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M10 1.667A8.336 8.336 0 0 0 1.667 10c0 4.6 3.733 8.333 8.333 8.333S18.333 14.6 18.333 10 14.6 1.667 10 1.667Zm.833 7.5V5.832H9.166v3.333H5.833v1.667h3.333v3.333h1.667v-3.333h3.333V9.166h-3.333Zm-7.5.833A6.676 6.676 0 0 0 10 16.666 6.676 6.676 0 0 0 16.666 10 6.676 6.676 0 0 0 10 3.333 6.676 6.676 0 0 0 3.333 10Z\" clip-rule=\"evenodd\"/>
  2494.     </symbol>
  2495.     {# <symbol id=\"service-grey\" viewBox=\"0 0 20 20\">
  2496.         <path fill=\"#A5A5A5\" fill-rule=\"evenodd\" d=\"M10 1.667A8.336 8.336 0 0 0 1.667 10c0 4.6 3.733 8.333 8.333 8.333S18.333 14.6 18.333 10 14.6 1.667 10 1.667ZM6 9h8v2H6V9Zm-2.667 1A6.676 6.676 0 0 0 10 16.666 6.676 6.676 0 0 0 16.667 10 6.676 6.676 0 0 0 10 3.333 6.676 6.676 0 0 0 3.333 10Z\" clip-rule=\"evenodd\"/>
  2497.     </symbol> #}
  2498.     <symbol id=\"service-include\" viewBox=\"0 0 20 20\">
  2499.         <path fill=\"#333\" d=\"M7.3 13.2L4 9.8l-1.2 1.1 4.6 4.7 10-10-1.1-1.2-8.9 8.8z\"/>
  2500.     </symbol>
  2501.     <symbol id=\"profile-approved\" viewBox=\"0 0 24 24\">
  2502.         <path fill=\"#27AE60\" fill-rule=\"evenodd\" d=\"m20.56 9.215 2.44 2.78-2.44 2.78.34 3.68-3.61.82-1.89 3.18-3.4-1.46-3.4 1.47-1.89-3.18-3.61-.82.34-3.69L1 11.995l2.44-2.79-.34-3.68 3.61-.81 1.89-3.18 3.4 1.46 3.4-1.46 1.89 3.18 3.61.82-.34 3.68ZM7.42 11.41l3.17 3.17L17.18 8l1.41 1.41-8 8L6 12.82l1.42-1.41Z\" clip-rule=\"evenodd\"/>
  2503.     </symbol>
  2504.     <symbol id=\"review-star\" viewBox=\"0 0 24 25\">
  2505.         <path d=\"M11.326 19.987c.399-.303.95-.303 1.348 0l4.127 3.14c.864.656 2.06-.185 1.737-1.222l-1.626-5.218c-.141-.452.019-.945.4-1.228l4.236-3.15c.862-.641.41-2.012-.664-2.012h-5.101c-.489 0-.92-.319-1.064-.786l-1.655-5.366c-.323-1.049-1.805-1.049-2.128 0L9.28 9.51a1.114 1.114 0 0 1-1.064.786H3.116c-1.073 0-1.526 1.37-.664 2.011l4.237 3.151c.38.283.54.776.399 1.229l-1.626 5.217c-.323 1.037.873 1.878 1.737 1.221l4.127-3.14Z\"/>
  2506.     </symbol>
  2507. </svg>
  2508. {% endblock %}""ProfilePreview/page.html.twig""/app/templates/ProfilePreview/page.html.twig");
  2509.     }
  2510. }