var/cache/review/twig/ee/ee002d42ec00fc30d2ce745fe71a05c8.php line 59

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_c169b2457306e63df82a8554c8176c37 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.             'name_page' => [$this'block_name_page'],
  24.             'metaRobots' => [$this'block_metaRobots'],
  25.             'stylesheet' => [$this'block_stylesheet'],
  26.             'mainContainer' => [$this'block_mainContainer'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.         $macros["_self"] = $this->macros["_self"] = $this;
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "ProfilePreview/grid.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  45.         // line 37
  46.         $context["servicesList"] = "Секс классический|Секс анальный|Секс групповой|Секс лесбийский|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Лесби откровенное|Лесби-шоу легкое|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь";
  47.         // line 1
  48.         $this->parent $this->loadTemplate("ProfilePreview/grid.html.twig""ProfilePreview/page.html.twig"1);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 39
  58.     public function block_name_page($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  62.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  67.         echo "profile";
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.         
  73.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  74.     }
  75.     // line 41
  76.     public function block_metaRobots($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  80.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaRobots"));
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaRobots"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaRobots"));
  85.         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.'41$this->source); })()), "deleted", [], "any"falsefalsefalse41)) {
  86.             echo "<meta name=\"robots\" content=\"noindex,follow\" />";
  87.         }
  88.         
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90.         
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  92.         
  93.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  94.     }
  95.     // line 43
  96.     public function block_stylesheet($context, array $blocks = [])
  97.     {
  98.         $macros $this->macros;
  99.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  100.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  105.         // line 44
  106.         echo "    ";
  107.         $this->displayParentBlock("stylesheet"$context$blocks);
  108.         echo "
  109.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\">
  110.     <link rel=\"stylesheet\" href=\"/assets/vendors/lightgallery/css/lightgallery.min.css\">
  111. ";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.         
  117.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  118.     }
  119.     // line 49
  120.     public function block_mainContainer($context, array $blocks = [])
  121.     {
  122.         $macros $this->macros;
  123.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  124.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  129.         // line 50
  130.         echo "    ";
  131.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "_menu/breadcrumbs.html.twig""profile" => (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'50$this->source); })())]);
  132.         echo "
  133.     <div class=\"d-flex flex-fill model-header\">
  134.         <h1 class=\"border-line\" id=\"profile-heading\">";
  135.         // line 52
  136.         echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
  137.         echo "</h1>
  138.         ";
  139.         // line 53
  140.         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.'53$this->source); })()), "approved", [], "any"falsefalsefalse53)) {
  141.             // line 54
  142.             echo "            <div class=\"model-header__verification\"
  143.                  data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
  144.                     <svg class=\"icon\">
  145.                         <use xlink:href=\"";
  146.             // line 57
  147.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  148.             echo "#icon-verify-new\"></use>
  149.                     </svg>
  150.             </div>
  151.         ";
  152.         }
  153.         // line 61
  154.         echo "    </div>
  155.     <div class=\"d-lg-flex\">
  156.         <div class=\"modal-main flex-fill order-lg-2\">
  157.             <div class=\"modal-info d-xxl-flex rounding\">
  158.                 <div class=\"modal-col modal-info__items first\">
  159.                     <div class=\"modal-info__items-preview d-block d-lg-none float-left\" id=\"girl_avatar\">
  160.                         ";
  161.         // line 67
  162.         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.'67$this->source); })()), "deleted", [], "any"falsefalsefalse67)) {
  163.             // line 68
  164.             echo "                                <img itemprop=\"contentUrl\" src=\"";
  165.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg"), "html"nulltrue);
  166.             echo "\"
  167.                                      alt=\"Анкета ";
  168.             // line 69
  169.             echo twig_escape_filter($this->env$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.'69$this->source); })()), "name", [], "any"falsefalsefalse69)), "html"nulltrue);
  170.             echo " удалена\"
  171.                                      class=\"img-fluid\">
  172.                         ";
  173.         } else {
  174.             // line 72
  175.             echo "                            ";
  176.             $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.'72$this->source); })()));
  177.             // line 73
  178.             echo "                            ";
  179.             if ((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'73$this->source); })())) {
  180.                 // line 74
  181.                 echo "
  182.                                 ";
  183.                 // line 75
  184.                 $context["station_alt"] = "";
  185.                 // line 76
  186.                 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.'76$this->source); })()), "stations", [], "any"falsefalsefalse76)) > 0)) {
  187.                     // line 77
  188.                     $context["station_alt"] = twig_first($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); })()), "stations", [], "any"falsefalsefalse77));
  189.                 }
  190.                 // line 80
  191.                 $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.'80$this->source); })()), "name", [], "any"falsefalsefalse80)) . ", ") . $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.'80$this->source); })()), "personParameters", [], "any"falsefalsefalse80), "age", [], "any"falsefalsefalse80))) . (((isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'80$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.'80$this->source); })()), "name", [], "any"falsefalsefalse80)))) : (""))) . " в Москве, ") . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse80), "phone", [], "any"truetruefalse80)) ? ((", тел. " 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.'80$this->source); })()), "seo", [], "any"falsefalsefalse80), "phone", [], "any"falsefalsefalse80))) : (""))) . ", объявление ") . 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.'80$this->source); })()), "id", [], "any"falsefalsefalse80));
  192.                 // line 81
  193.                 echo "                                <img itemprop=\"contentUrl\" src=\"";
  194.                 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.'81$this->source); })()), "path", [], "any"falsefalsefalse81), "profile_media""357x500""jpg"), "html"nulltrue);
  195.                 echo "\"
  196.                                         class=\"img-fluid\"
  197.                                         data-type=\"lg\"
  198.                                         data-index-lg=\"0\"
  199.                                         alt=\"";
  200.                 // line 85
  201.                 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.'85$this->source); })()), "html"nulltrue);
  202.                 echo "\">
  203.                             ";
  204.             }
  205.             // line 87
  206.             echo "                        ";
  207.         }
  208.         // line 88
  209.         echo "                        ";
  210.         if (($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.'88$this->source); })()), "user", [], "any"falsefalsefalse88)) &&  !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.'88$this->source); })()), "deleted", [], "any"falsefalsefalse88))) {
  211.             // line 89
  212.             echo "                            <button type=\"button\"
  213.                                     data-url-add=\"";
  214.             // line 90
  215.             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.'90$this->source); })()), "id", [], "any"falsefalsefalse90)]), "html"nulltrue);
  216.             echo "\"
  217.                                     data-url-remove=\"";
  218.             // line 91
  219.             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.'91$this->source); })()), "id", [], "any"falsefalsefalse91)]), "html"nulltrue);
  220.             echo "\"
  221.                                     title=\"Добавить в избранное\"
  222.                                     ";
  223.             // line 93
  224.             if ($this->extensions['App\Twig\UserExtension']->isProfileInFavourites((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'93$this->source); })()))) {
  225.                 // line 94
  226.                 echo "                                    class=\"btn favorite like\" id=\"favorite2\">
  227.                                 ";
  228.             } else {
  229.                 // line 96
  230.                 echo "                                    class=\"btn favorite unlike\" id=\"favorite2\">
  231.                                 ";
  232.             }
  233.             // line 98
  234.             echo "                                <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  235.                                     <rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
  236.                                     <path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
  237.                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
  238.                                 </svg>
  239.                             </button>
  240.                         ";
  241.         }
  242.         // line 105
  243.         echo "                    </div>
  244.                     <div>
  245.                         <div class=\"modal-info__items-block first d-flex flex-column flex-md-row\">
  246.                             <div class=\"block-item pb-2 pb-md-0 w-100\">
  247.                                 <div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
  248.                                     <svg class=\"icon mr-2 clr-1\">
  249.                                         <use xlink:href=\"";
  250.         // line 111
  251.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  252.         echo "#icon-apartments\"></use>
  253.                                     </svg>
  254.                                     Апартаменты
  255.                                 </div>
  256.                                 <div class=\"block-item__description clr-1\">
  257.                                     <p class=\"d-flex\">Час <span class=\"ml-auto\">";
  258.         // line 117
  259.         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.'117$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse117), "oneHourPrice", [], "any"falsefalsefalse117)) {
  260.             // line 118
  261.             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.'118$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse118), "oneHourPrice", [], "any"falsefalsefalse118), "html"nulltrue);
  262.             echo " ";
  263.             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.'118$this->source); })()), "city", [], "any"falsefalsefalse118), "countryCode", [], "any"falsefalsefalse118)), "html"nulltrue);
  264.         } else {
  265.             // line 119
  266.             echo "-";
  267.         }
  268.         // line 120
  269.         echo "</span></p>
  270.                                     <p class=\"d-flex\">2 часа <span class=\"ml-auto\">";
  271.         // line 122
  272.         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.'122$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse122), "twoHoursPrice", [], "any"falsefalsefalse122)) {
  273.             // line 123
  274.             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.'123$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse123), "twoHoursPrice", [], "any"falsefalsefalse123), "html"nulltrue);
  275.             echo " ";
  276.             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.'123$this->source); })()), "city", [], "any"falsefalsefalse123), "countryCode", [], "any"falsefalsefalse123)), "html"nulltrue);
  277.         } else {
  278.             // line 124
  279.             echo "-";
  280.         }
  281.         // line 125
  282.         echo "</span></p>
  283.                                     <p class=\"d-flex\">Ночь <span class=\"ml-auto\">";
  284.         // line 127
  285.         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.'127$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse127), "nightPrice", [], "any"falsefalsefalse127)) {
  286.             // line 128
  287.             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.'128$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse128), "nightPrice", [], "any"falsefalsefalse128), "html"nulltrue);
  288.             echo " ";
  289.             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.'128$this->source); })()), "city", [], "any"falsefalsefalse128), "countryCode", [], "any"falsefalsefalse128)), "html"nulltrue);
  290.         } else {
  291.             // line 129
  292.             echo "-";
  293.         }
  294.         // line 130
  295.         echo "</span></p>
  296.                                     <p class=\"d-flex\">Экспресс <span class=\"ml-auto\">";
  297.         // line 132
  298.         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.'132$this->source); })()), "expressPricing", [], "any"falsefalsefalse132), "provided", [], "any"falsefalsefalse132)) {
  299.             // line 133
  300.             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.'133$this->source); })()), "expressPricing", [], "any"falsefalsefalse133), "price", [], "any"falsefalsefalse133)) {
  301.                 // line 134
  302.                 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.'134$this->source); })()), "expressPricing", [], "any"falsefalsefalse134), "price", [], "any"falsefalsefalse134), "html"nulltrue);
  303.                 echo " ";
  304.                 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.'134$this->source); })()), "city", [], "any"falsefalsefalse134), "countryCode", [], "any"falsefalsefalse134)), "html"nulltrue);
  305.             } else {
  306.                 // line 136
  307.                 echo "-";
  308.             }
  309.         } else {
  310.             // line 139
  311.             echo "-";
  312.         }
  313.         // line 141
  314.         echo "</span></p>
  315.                                 </div>
  316.                             </div>
  317.                             <div class=\"block-item pl-0 pl-md-3 pl-xl-5 w-100\">
  318.                                 <div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
  319.                                     <svg class=\"icon mr-2 clr-2\">
  320.                                         <use xlink:href=\"";
  321.         // line 147
  322.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  323.         echo "#icon-car\"></use>
  324.                                     </svg>
  325.                                     Выезд
  326.                                 </div>
  327.                                 <div class=\"block-item__description clr-2\">
  328.                                     <p class=\"d-flex\">Час <span class=\"ml-auto\">";
  329.         // line 153
  330.         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.'153$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse153), "oneHourPrice", [], "any"falsefalsefalse153)) {
  331.             // line 154
  332.             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.'154$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse154), "oneHourPrice", [], "any"falsefalsefalse154), "html"nulltrue);
  333.             echo " ";
  334.             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.'154$this->source); })()), "city", [], "any"falsefalsefalse154), "countryCode", [], "any"falsefalsefalse154)), "html"nulltrue);
  335.         } else {
  336.             // line 155
  337.             echo "-";
  338.         }
  339.         // line 156
  340.         echo "</span></p>
  341.                                     <p class=\"d-flex\">2 часа <span class=\"ml-auto\">";
  342.         // line 158
  343.         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.'158$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse158), "twoHoursPrice", [], "any"falsefalsefalse158)) {
  344.             // line 159
  345.             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.'159$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse159), "twoHoursPrice", [], "any"falsefalsefalse159), "html"nulltrue);
  346.             echo " ";
  347.             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.'159$this->source); })()), "city", [], "any"falsefalsefalse159), "countryCode", [], "any"falsefalsefalse159)), "html"nulltrue);
  348.         } else {
  349.             // line 160
  350.             echo "-";
  351.         }
  352.         // line 161
  353.         echo "</span></p>
  354.                                     <p class=\"d-flex\">Ночь <span class=\"ml-auto\">";
  355.         // line 163
  356.         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.'163$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse163), "nightPrice", [], "any"falsefalsefalse163)) {
  357.             // line 164
  358.             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.'164$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse164), "nightPrice", [], "any"falsefalsefalse164), "html"nulltrue);
  359.             echo " ";
  360.             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.'164$this->source); })()), "city", [], "any"falsefalsefalse164), "countryCode", [], "any"falsefalsefalse164)), "html"nulltrue);
  361.         } else {
  362.             // line 165
  363.             echo "-";
  364.         }
  365.         // line 166
  366.         echo "</span></p>
  367.                                 </div>
  368.                             </div>
  369.                         </div>";
  370.         // line 170
  371.         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.'170$this->source); })()), "deleted", [], "any"falsefalsefalse170)) {
  372.             // line 171
  373.             echo "<div class=\"modal-info__items-block deleted\">
  374.                                 <svg width=\"48\" height=\"48\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  375.                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M24 43.7647C34.9157 43.7647 43.7647 34.9157 43.7647 24C43.7647 13.0843 34.9157 4.23529 24 4.23529C13.0843 4.23529 4.23529 13.0843 4.23529 24C4.23529 34.9157 13.0843 43.7647 24 43.7647ZM24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48Z\" fill=\"#ED0C34\"/>
  376.                                     <path d=\"M15.7647 18.3529V33.0353C15.7647 33.6344 16.0126 34.2089 16.4539 34.6325C16.8951 35.0561 17.4936 35.2941 18.1176 35.2941H29.8824C30.5064 35.2941 31.1049 35.0561 31.5461 34.6325C31.9874 34.2089 32.2353 33.6344 32.2353 33.0353V18.3529H15.7647ZM21.6471 31.9059H19.2941V21.7412H21.6471V31.9059ZM28.7059 31.9059H26.3529V21.7412H28.7059V31.9059ZM29.4329 14.9647L27.5294 12.7059H20.4706L18.5671 14.9647H13.4118V17.2235H34.5882V14.9647H29.4329Z\" fill=\"#ED0C34\"/>
  377.                                 </svg>
  378.                                 <p>
  379.                                     <span class=\"title\">Девушка не работает</span>
  380.                                     <span>Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</span>
  381.                                 </p>
  382.                             </div>
  383.                         ";
  384.         } else {
  385.             // line 182
  386.             echo "                            <div class=\"modal-info__items-block second\">
  387.                                 <div class=\"d-flex flex-wrap mb-2 mb-sm-3\">
  388.                                     <div class=\"model-phone d-flex align-items-center\" id=\"phone-sticky-donor\">
  389.                                         ";
  390.             // line 185
  391.             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.'185$this->source); })()), "isActive", [], "any"falsefalsefalse185) ||  !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.'185$this->source); })()), "hidden", [], "any"falsefalsefalse185))) {
  392.                 // line 186
  393.                 echo "                                            ";
  394.                 $context["onlyPhoneNumber"] = twig_replace_filter(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.'186$this->source); })()), "phoneNumber", [], "any"falsefalsefalse186), [" " => """-" => """+" => """(" => """)" => ""]);
  395.                 // line 187
  396.                 echo "                                            <!--noindex-->
  397.                                             ";
  398.                 // line 191
  399.                 echo "                                            <div class=\"model-phone__element model-phone__number rounding\">
  400.                                                 <button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
  401.                                                     <svg class=\"models-item__phone-icon\">
  402.                                                         <use xlink:href=\"";
  403.                 // line 194
  404.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  405.                 echo "#phone\"></use>
  406.                                                     </svg>
  407.                                                     Показать телефон
  408.                                                 </button>
  409.                                                 <!--noindex--><a href=\"tel:";
  410.                 // line 198
  411.                 echo twig_escape_filter($this->envtwig_replace_filter(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.'198$this->source); })()), "phoneNumber", [], "any"falsefalsefalse198), [" " => """-" => ""]), "html"nulltrue);
  412.                 echo "\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
  413.                                                     <svg class=\"models-item__phone-icon\">
  414.                                                         <use xlink:href=\"";
  415.                 // line 200
  416.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  417.                 echo "#phone\"></use>
  418.                                                     </svg>
  419.                                                     ";
  420.                 // line 202
  421.                 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.'202$this->source); })()), "phoneNumber", [], "any"falsefalsefalse202), "html"nulltrue);
  422.                 echo "
  423.                                                 </a><!--/noindex-->
  424.                                             </div>
  425.                                             ";
  426.                 // line 205
  427.                 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.'205$this->source); })()), "messengers", [], "any"falsefalsefalse205), "whatsApp", [], "any"falsefalsefalse205)) {
  428.                     // line 206
  429.                     echo "                                                <a class=\"model-phone__element model-phone__whatsup\" target=\"_blank\" href=\"https://wa.me/";
  430.                     echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber"$context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.'206$this->source); })()), "html"nulltrue);
  431.                     echo "?text=Привет,%20";
  432.                     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.'206$this->source); })()), "name", [], "any"falsefalsefalse206), "html"nulltrue);
  433.                     echo "!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
  434.                                                     <svg class=\"icon\">
  435.                                                         <use xlink:href=\"";
  436.                     // line 208
  437.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  438.                     echo "#icon-viber\"></use>
  439.                                                     </svg>
  440.                                                 </a>
  441.                                             ";
  442.                 }
  443.                 // line 212
  444.                 echo "                                            ";
  445.                 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.'212$this->source); })()), "messengers", [], "any"falsefalsefalse212), "telegram", [], "any"falsefalsefalse212)) {
  446.                     // line 213
  447.                     echo "                                                <div class=\"model-phone__element model-phone__telegram\" title=\"Telegram\">
  448.                                                     <svg class=\"icon\">
  449.                                                         <use xlink:href=\"";
  450.                     // line 215
  451.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  452.                     echo "#icon-messager\"></use>
  453.                                                     </svg>
  454.                                                 </div>
  455.                                             ";
  456.                 }
  457.                 // line 219
  458.                 echo "                                            <!--/noindex-->
  459.                                         ";
  460.             } else {
  461.                 // line 221
  462.                 echo "                                            <p class=\"model-phone__arhive m-0 color-silver\">анкета в архиве</p>
  463.                                         ";
  464.             }
  465.             // line 223
  466.             echo "                                    </div>
  467.                                     ";
  468.             // line 230
  469.             echo "                                </div>
  470.                                 <p class=\"model-thank mb-2 mb-sm-3\">Скажите что звоните с МосПрос и я всё пойму</p>
  471.                                 <div class=\"modal-info__block\">
  472.                                     <div class=\"modal-info__element\">
  473.                                         <div class=\"modal-info__label\">
  474.                                             Отвечаю на
  475.                                         </div>
  476.                                         <div class=\"modal-info__value\">
  477.                                             ";
  478.             // line 238
  479.             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.'238$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse238), "answeringTo", [], "any"falsefalsefalse238)) > 0)) {
  480.                 // line 239
  481.                 echo "                                                ";
  482.                 $context['_parent'] = $context;
  483.                 $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.'239$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse239), "answeringTo", [], "any"falsefalsefalse239));
  484.                 $context['loop'] = [
  485.                   'parent' => $context['_parent'],
  486.                   'index0' => 0,
  487.                   'index'  => 1,
  488.                   'first'  => true,
  489.                 ];
  490.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  491.                     $length count($context['_seq']);
  492.                     $context['loop']['revindex0'] = $length 1;
  493.                     $context['loop']['revindex'] = $length;
  494.                     $context['loop']['length'] = $length;
  495.                     $context['loop']['last'] = === $length;
  496.                 }
  497.                 foreach ($context['_seq'] as $context["_key"] => $context["answeringTo"]) {
  498.                     // line 240
  499.                     echo "                                                    ";
  500.                     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);
  501.                     if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse240)) {
  502.                         echo ",";
  503.                     }
  504.                     // line 241
  505.                     echo "                                                ";
  506.                     ++$context['loop']['index0'];
  507.                     ++$context['loop']['index'];
  508.                     $context['loop']['first'] = false;
  509.                     if (isset($context['loop']['length'])) {
  510.                         --$context['loop']['revindex0'];
  511.                         --$context['loop']['revindex'];
  512.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  513.                     }
  514.                 }
  515.                 $_parent $context['_parent'];
  516.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['answeringTo'], $context['_parent'], $context['loop']);
  517.                 $context array_intersect_key($context$_parent) + $_parent;
  518.                 // line 242
  519.                 echo "                                            ";
  520.             } else {
  521.                 // line 243
  522.                 echo "                                                Не указано
  523.                                             ";
  524.             }
  525.             // line 245
  526.             echo "                                        </div>
  527.                                     </div>
  528.                                     <div class=\"modal-info__element\">
  529.                                         <div class=\"modal-info__label\">
  530.                                             Удобное время для звонка
  531.                                         </div>
  532.                                         <div class=\"modal-info__value\">
  533.                                             ";
  534.             // line 252
  535.             echo twig_call_macro($macros["_self"], "macro__time_to_work", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'252$this->source); })())], 252$context$this->getSourceContext());
  536.             echo "
  537.                                         </div>
  538.                                     </div>
  539.                                     <div class=\"modal-info__element\">
  540.                                         <div class=\"modal-info__label\">
  541.                                             Ограничение по возрасту
  542.                                         </div>
  543.                                         <div class=\"modal-info__value\">";
  544.             // line 260
  545.             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.'260$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse260), "minAge", [], "any"falsefalsefalse260) || 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.'260$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse260), "maxAge", [], "any"falsefalsefalse260))) {
  546.                 // line 261
  547.                 ((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.'261$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse261), "minAge", [], "any"falsefalsefalse261)) ? (print (twig_escape_filter($this->env, ("от " 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.'261$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse261), "minAge", [], "any"falsefalsefalse261)), "html"nulltrue))) : (print ("")));
  548.                 echo "
  549.                                                 ";
  550.                 // line 262
  551.                 ((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.'262$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse262), "maxAge", [], "any"falsefalsefalse262)) ? (print (twig_escape_filter($this->env, ("до " 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.'262$this->source); })()), "clientRestrictions", [], "any"falsefalsefalse262), "maxAge", [], "any"falsefalsefalse262)), "html"nulltrue))) : (print ("")));
  552.                 echo "
  553.                                                 лет";
  554.             } else {
  555.                 // line 265
  556.                 echo "Не указано";
  557.             }
  558.             // line 267
  559.             echo "</div>
  560.                                     </div>
  561.                                 </div>
  562.                             </div>
  563.                         ";
  564.         }
  565.         // line 272
  566.         echo "
  567.                         ";
  568.         // line 273
  569.         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.'273$this->source); })()), "stations", [], "any"falsefalsefalse273)) > 0)) {
  570.             // line 274
  571.             echo "                            <div class=\"modal-info__items-block pb-0 pb-sm-3 d-flex d-sm-block\">
  572.                                 <div class=\"metro-items metro-items--metro d-sm-flex w-100 align-items-center flex-wrap\">
  573.                                     Метро
  574.                                     ";
  575.             // line 277
  576.             $context['_parent'] = $context;
  577.             $context['_seq'] = twig_ensure_traversable(twig_slice($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.'277$this->source); })()), "stations", [], "any"falsefalsefalse277), 03));
  578.             $context['loop'] = [
  579.               'parent' => $context['_parent'],
  580.               'index0' => 0,
  581.               'index'  => 1,
  582.               'first'  => true,
  583.             ];
  584.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  585.                 $length count($context['_seq']);
  586.                 $context['loop']['revindex0'] = $length 1;
  587.                 $context['loop']['revindex'] = $length;
  588.                 $context['loop']['length'] = $length;
  589.                 $context['loop']['last'] = === $length;
  590.             }
  591.             foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  592.                 // line 278
  593.                 echo "                                        <div class=\"metro-item\">
  594.                                             ";
  595.                 // line 279
  596.                 $this->loadTemplate("components/metro/icon_generate.partial.twig""ProfilePreview/page.html.twig"279)->display(twig_array_merge($context, ["data" => twig_get_attribute($this->env$this->source$context["station"], "lines", [], "any"falsefalsefalse279)]));
  597.                 // line 280
  598.                 echo "                                            <a href=\"";
  599.                 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->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'280$this->source); })()), "uriIdentity", [], "any"falsefalsefalse280), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse280)]), "html"nulltrue);
  600.                 echo "\" title=\"Метро ";
  601.                 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"falsefalsefalse280)), "html"nulltrue);
  602.                 echo "\">";
  603.                 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"falsefalsefalse280)), "html"nulltrue);
  604.                 echo "</a>
  605.                                         </div>
  606.                                     ";
  607.                 ++$context['loop']['index0'];
  608.                 ++$context['loop']['index'];
  609.                 $context['loop']['first'] = false;
  610.                 if (isset($context['loop']['length'])) {
  611.                     --$context['loop']['revindex0'];
  612.                     --$context['loop']['revindex'];
  613.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  614.                 }
  615.             }
  616.             $_parent $context['_parent'];
  617.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  618.             $context array_intersect_key($context$_parent) + $_parent;
  619.             // line 283
  620.             echo "                                </div>
  621.                                 ";
  622.             // line 284
  623.             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.'284$this->source); })()), "stations", [], "any"falsefalsefalse284)) > 0)) {
  624.                 echo "<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap\">
  625.                                     Район
  626.                                     ";
  627.                 // line 286
  628.                 $context['_parent'] = $context;
  629.                 $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.'286$this->source); })()), "stations", [], "any"falsefalsefalse286));
  630.                 $context['loop'] = [
  631.                   'parent' => $context['_parent'],
  632.                   'index0' => 0,
  633.                   'index'  => 1,
  634.                   'first'  => true,
  635.                 ];
  636.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  637.                     $length count($context['_seq']);
  638.                     $context['loop']['revindex0'] = $length 1;
  639.                     $context['loop']['revindex'] = $length;
  640.                     $context['loop']['length'] = $length;
  641.                     $context['loop']['last'] = === $length;
  642.                 }
  643.                 foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  644.                     // line 287
  645.                     echo "                                        ";
  646.                     $context["stationDistrict"] = twig_get_attribute($this->env$this->source$context["station"], "district", [], "any"falsefalsefalse287);
  647.                     // line 288
  648.                     echo "                                        ";
  649.                     if ((isset($context["stationDistrict"]) || array_key_exists("stationDistrict"$context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.'288$this->source); })())) {
  650.                         // line 289
  651.                         echo "                                            ";
  652.                         if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse289)) {
  653.                             // line 290
  654.                             echo "                                                ";
  655.                             $context["districtCounty"] = twig_get_attribute($this->env$this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict"$context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.'290$this->source); })()), "county", [], "any"falsefalsefalse290);
  656.                             // line 291
  657.                             echo "                                                ";
  658.                             if ((isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'291$this->source); })())) {
  659.                                 // line 292
  660.                                 echo "                                                    <div class=\"metro-item metro-item--district\">
  661.                                                         <a href=\"";
  662.                                 // line 293
  663.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_county", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'293$this->source); })()), "city", [], "any"falsefalsefalse293), "uriIdentity", [], "any"falsefalsefalse293), "county" => twig_get_attribute($this->env$this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'293$this->source); })()), "uriIdentity", [], "any"falsefalsefalse293)]), "html"nulltrue);
  664.                                 echo "\">";
  665.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'293$this->source); })()), "name", [], "any"falsefalsefalse293)), "html"nulltrue);
  666.                                 echo "</a>,
  667.                                                         <a href=\"";
  668.                                 // line 294
  669.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_district", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'294$this->source); })()), "city", [], "any"falsefalsefalse294), "uriIdentity", [], "any"falsefalsefalse294), "district" => twig_get_attribute($this->env$this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict"$context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.'294$this->source); })()), "uriIdentity", [], "any"falsefalsefalse294)]), "html"nulltrue);
  670.                                 echo "\">";
  671.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict"$context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.'294$this->source); })()), "name", [], "any"falsefalsefalse294)), "html"nulltrue);
  672.                                 echo "</a>
  673.                                                     </div>
  674.                                                 ";
  675.                             } else {
  676.                                 // line 297
  677.                                 echo "                                                    <div class=\"metro-item metro-item--district\">
  678.                                                         Не указан
  679.                                                     </div>
  680.                                                 ";
  681.                             }
  682.                             // line 301
  683.                             echo "                                            ";
  684.                         }
  685.                         // line 302
  686.                         echo "                                        ";
  687.                     }
  688.                     // line 303
  689.                     echo "                                    ";
  690.                     ++$context['loop']['index0'];
  691.                     ++$context['loop']['index'];
  692.                     $context['loop']['first'] = false;
  693.                     if (isset($context['loop']['length'])) {
  694.                         --$context['loop']['revindex0'];
  695.                         --$context['loop']['revindex'];
  696.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  697.                     }
  698.                 }
  699.                 $_parent $context['_parent'];
  700.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  701.                 $context array_intersect_key($context$_parent) + $_parent;
  702.                 // line 304
  703.                 echo "                                </div>";
  704.             }
  705.             // line 305
  706.             echo "                            </div>
  707.                         ";
  708.         }
  709.         // line 307
  710.         echo "                    </div>
  711.                 </div>
  712.                 <div class=\"modal-col modal-info__items rounding\">
  713.                     <div class=\"modal-info__items-row d-flex flex-wrap\">
  714.                         <div class=\"box-col text-center\">
  715.                             <div class=\"box-item\">
  716.                                 <span class=\"d-block\">Возраст</span>";
  717.         // line 314
  718.         echo twig_call_macro($macros["_self"], "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.'314$this->source); })()), "personParameters", [], "any"falsefalsefalse314), "age", [], "any"falsefalsefalse314)], 314$context$this->getSourceContext());
  719.         // line 315
  720.         echo "</div>
  721.                         </div>
  722.                         <div class=\"box-col text-center\">
  723.                             <div class=\"box-item\">
  724.                                 <span class=\"d-block\">Рост</span>";
  725.         // line 320
  726.         echo twig_call_macro($macros["_self"], "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.'320$this->source); })()), "personParameters", [], "any"falsefalsefalse320), "height", [], "any"falsefalsefalse320)], 320$context$this->getSourceContext());
  727.         // line 321
  728.         echo "</div>
  729.                         </div>
  730.                         <div class=\"box-col text-center\">
  731.                             <div class=\"box-item\">
  732.                                 <span class=\"d-block\">Вес</span>";
  733.         // line 326
  734.         echo twig_call_macro($macros["_self"], "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.'326$this->source); })()), "personParameters", [], "any"falsefalsefalse326), "weight", [], "any"falsefalsefalse326)], 326$context$this->getSourceContext());
  735.         // line 327
  736.         echo "</div>
  737.                         </div>
  738.                         <div class=\"box-col text-center\">
  739.                             <div class=\"box-item\">
  740.                                 <span class=\"d-block\">Одежда</span>
  741.                                 ";
  742.         // line 332
  743.         $context["cloth_size"] = "XXS";
  744.         // line 333
  745.         echo "
  746.                                 ";
  747.         // line 334
  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.'334$this->source); })()), "personParameters", [], "any"falsefalsefalse334), "clothSize", [], "any"falsefalsefalse334) == "42")) {
  749.             $context["cloth_size"] = "XS";
  750.             // line 335
  751.             echo "                                ";
  752.         } elseif ((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.'335$this->source); })()), "personParameters", [], "any"falsefalsefalse335), "clothSize", [], "any"falsefalsefalse335) == "44")) {
  753.             $context["cloth_size"] = "S";
  754.             // line 336
  755.             echo "                                ";
  756.         } elseif ((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.'336$this->source); })()), "personParameters", [], "any"falsefalsefalse336), "clothSize", [], "any"falsefalsefalse336) == "46")) {
  757.             $context["cloth_size"] = "M";
  758.             // line 337
  759.             echo "                                ";
  760.         } elseif ((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.'337$this->source); })()), "personParameters", [], "any"falsefalsefalse337), "clothSize", [], "any"falsefalsefalse337) == "48")) {
  761.             $context["cloth_size"] = "L";
  762.             // line 338
  763.             echo "                                ";
  764.         } elseif ((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.'338$this->source); })()), "personParameters", [], "any"falsefalsefalse338), "clothSize", [], "any"falsefalsefalse338) == "50")) {
  765.             $context["cloth_size"] = "XL";
  766.             // line 339
  767.             echo "                                ";
  768.         } elseif ((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.'339$this->source); })()), "personParameters", [], "any"falsefalsefalse339), "clothSize", [], "any"falsefalsefalse339) == "52")) {
  769.             $context["cloth_size"] = "XXL";
  770.             // line 340
  771.             echo "                                ";
  772.         }
  773.         // line 342
  774.         echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер одежды", (isset($context["cloth_size"]) || array_key_exists("cloth_size"$context) ? $context["cloth_size"] : (function () { throw new RuntimeError('Variable "cloth_size" does not exist.'342$this->source); })()), "Одежда"], 342$context$this->getSourceContext());
  775.         // line 343
  776.         echo "</div>
  777.                         </div>
  778.                         <div class=\"box-col text-center\">
  779.                             <div class=\"box-item\">
  780.                                 <span class=\"d-block\">Обувь</span>";
  781.         // line 348
  782.         echo twig_call_macro($macros["_self"], "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.'348$this->source); })()), "personParameters", [], "any"falsefalsefalse348), "shoesSize", [], "any"falsefalsefalse348), "Обувь"], 348$context$this->getSourceContext());
  783.         // line 349
  784.         echo "</div>
  785.                         </div>
  786.                         <div class=\"box-col text-center\">
  787.                             <div class=\"box-item\">
  788.                                 <span class=\"d-block\">Грудь</span>";
  789.         // line 354
  790.         echo twig_call_macro($macros["_self"], "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), "breastSize", [], "any"falsefalsefalse354), "Грудь"], 354$context$this->getSourceContext());
  791.         // line 355
  792.         echo "</div>
  793.                         </div>
  794.                         <div class=\"box-col text-center\">
  795.                             <div class=\"box-item\">
  796.                                 <span class=\"d-block\">Тату</span>
  797.                                 ";
  798.         // line 360
  799.         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.'360$this->source); })()), "personParameters", [], "any"falsefalsefalse360), "tattoo", [], "any"falsefalsefalse360)) {
  800.             // line 361
  801.             echo "                                    <svg class=\"icon mr-1\">
  802.                                         <use xlink:href=\"";
  803.             // line 362
  804.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  805.             echo "#icon-check\"></use>
  806.                                     </svg>
  807.                                 ";
  808.         } else {
  809.             // line 365
  810.             echo "                                    -
  811.                                 ";
  812.         }
  813.         // line 367
  814.         echo "                            </div>
  815.                         </div>
  816.                         <div class=\"box-col text-center\">
  817.                             <div class=\"box-item\">
  818.                                 <span class=\"d-block\">Пирсинг</span>
  819.                                 ";
  820.         // line 372
  821.         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.'372$this->source); })()), "personParameters", [], "any"falsefalsefalse372), "piercing", [], "any"falsefalsefalse372)) {
  822.             // line 373
  823.             echo "                                    <svg class=\"icon mr-1\">
  824.                                         <use xlink:href=\"";
  825.             // line 374
  826.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  827.             echo "#icon-check\"></use>
  828.                                     </svg>
  829.                                 ";
  830.         } else {
  831.             // line 377
  832.             echo "                                    -
  833.                                 ";
  834.         }
  835.         // line 379
  836.         echo "                            </div>
  837.                         </div>
  838.                     </div>
  839.                     <div class=\"modal-info__items-block modal-info__items-block--basic d-sm-flex\">
  840.                         <div class=\"description-items\" style=\"color:#b5b5b5\">
  841.                             ";
  842.         // line 384
  843.         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.'384$this->source); })()), "personParameters", [], "any"falsefalsefalse384), "bodyType", [], "any"falsefalsefalse384)) {
  844.             echo "<p class=\"description-item d-flex align-items-center\"><span>Телосложение</span> ";
  845.             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.'384$this->source); })()), "personParameters", [], "any"falsefalsefalse384), "bodyType", [], "any"falsefalsefalse384)), [], "body_types"), "html"nulltrue);
  846.             echo "</p>";
  847.         }
  848.         // line 385
  849.         echo "                            ";
  850.         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.'385$this->source); })()), "personParameters", [], "any"falsefalsefalse385), "hairColor", [], "any"falsefalsefalse385)) {
  851.             echo "<p class=\"description-item d-flex align-items-center\"><span>Цвет волос</span> <a target=\"_blank\" href=\"";
  852.             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.'385$this->source); })()), "uriIdentity", [], "any"falsefalsefalse385), "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.'385$this->source); })()), "personParameters", [], "any"falsefalsefalse385), "hairColor", [], "any"falsefalsefalse385)))]), "html"nulltrue);
  853.             echo "\">";
  854.             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);
  855.             echo "</a></p>";
  856.         }
  857.         // line 386
  858.         echo "                            ";
  859.         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.'386$this->source); })()), "personParameters", [], "any"falsefalsefalse386), "nationality", [], "any"falsefalsefalse386)) {
  860.             echo "<p class=\"description-item d-flex align-items-center\"><span>Национальность</span> ";
  861.             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.'386$this->source); })()), "personParameters", [], "any"falsefalsefalse386), "nationality", [], "any"falsefalsefalse386)), [], "nationalities"), "html"nulltrue);
  862.             echo "</p>";
  863.         }
  864.         // line 387
  865.         echo "                            ";
  866.         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.'387$this->source); })()), "personParameters", [], "any"falsefalsefalse387), "privateHaircut", [], "any"falsefalsefalse387)) {
  867.             echo "<p class=\"description-item d-flex align-items-center\"><span>Интимная стрижка</span> ";
  868.             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.'387$this->source); })()), "personParameters", [], "any"falsefalsefalse387), "privateHaircut", [], "any"falsefalsefalse387)), [], "private_haircuts"), "html"nulltrue);
  869.             echo "</p>";
  870.         }
  871.         // line 388
  872.         echo "                        </div>
  873.                         <div class=\"description-items\">
  874.                             ";
  875.         // line 390
  876.         $context["threshold"] = twig_get_attribute($this->env$this->sourcetwig_date_modify_filter($this->env"now""-14 days"), "getTimestamp", [], "method"falsefalsefalse390);
  877.         // line 391
  878.         echo "\t\t\t\t\t\t    ";
  879.         $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.'391$this->source); })()), "updatedAt", [], "any"falsefalsefalse391)) ? (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.'391$this->source); })()), "updatedAt", [], "any"falsefalsefalse391), "getTimestamp", [], "method"falsefalsefalse391)) : (null));
  880.         // line 392
  881.         echo "                            ";
  882.         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.'392$this->source); })()), "createdAt", [], "any"falsefalsefalse392)) {
  883.             // line 393
  884.             echo "                            <p class=\"description-item d-flex align-items-center\"><span>Дата регистрации</span> <span
  885.                                 class=\"date\" data-template=\"dd авг. YYYY г. hh:ii\">";
  886.             // line 394
  887.             echo twig_call_macro($macros["_self"], "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.'394$this->source); })()), "createdAt", [], "any"falsefalsefalse394), "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.'394$this->source); })()), "createdAt", [], "any"falsefalsefalse394), "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.'394$this->source); })()), "createdAt", [], "any"falsefalsefalse394), "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.'394$this->source); })()), "createdAt", [], "any"falsefalsefalse394), "H:i"))], 394$context$this->getSourceContext());
  888.             echo "</span></p>
  889.                             ";
  890.         }
  891.         // line 396
  892.         echo "                            ";
  893.         if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs"$context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.'396$this->source); })()) && ((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs"$context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.'396$this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold"$context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.'396$this->source); })())))) {
  894.             // line 397
  895.             echo "                                <p class=\"description-item d-flex align-items-center\"><span>Дата обновления</span> <span
  896.                                     class=\"date\">";
  897.             // line 398
  898.             echo twig_call_macro($macros["_self"], "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.'398$this->source); })()), "updatedAt", [], "any"falsefalsefalse398), "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.'398$this->source); })()), "updatedAt", [], "any"falsefalsefalse398), "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.'398$this->source); })()), "updatedAt", [], "any"falsefalsefalse398), "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.'398$this->source); })()), "updatedAt", [], "any"falsefalsefalse398), "H:i"))], 398$context$this->getSourceContext());
  899.             echo "</span></p>
  900.                             ";
  901.         }
  902.         // line 400
  903.         echo "                            <p class=\"description-item d-flex align-items-center\"><span>ID</span><span class=\"date\">";
  904.         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.'400$this->source); })()), "id", [], "any"falsefalsefalse400), "html"nulltrue);
  905.         echo "</span></p>
  906.                             ";
  907.         // line 401
  908.         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.'401$this->source); })()), "approved", [], "any"falsefalsefalse401)) {
  909.             // line 402
  910.             echo "                                <p class=\"description-item\">
  911.                                     <strong class=\"d-flex align-items-center\">
  912.                                         Фото проверено
  913.                                         <span class=\"description-item__verify\"
  914.                                             data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
  915.                                                 <svg class=\"icon\">
  916.                                                     <use xlink:href=\"";
  917.             // line 408
  918.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  919.             echo "#icon-verify-new\"></use>
  920.                                                 </svg>
  921.                                         </span>
  922.                                     </strong>
  923.                                 </p>
  924.                             ";
  925.         }
  926.         // line 414
  927.         echo "                        </div>
  928.                     </div>
  929.                     <div class=\"modal-info__items-block mb-0\">
  930.                         <div class=\"model-description\">
  931.                             <h2 class=\"border-line\">О себе</h2>
  932.                             <noindex><p class=\"m-0\" id=\"profile-about\">";
  933.         // line 419
  934.         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.'419$this->source); })()), "description", [], "any"falsefalsefalse419), "html"nulltrue));
  935.         echo "</p></noindex>
  936.                         </div>
  937.                     </div>
  938.                 </div>
  939.             </div>
  940.             ";
  941.         // line 426
  942.         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.'426$this->source); })()), "photos", [], "any"falsefalsefalse426), 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.'426$this->source); })()), "selfies", [], "any"falsefalsefalse426), 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.'426$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse426), 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.'426$this->source); })()), "deleted", [], "any"falsefalsefalse426)], 426$context$this->getSourceContext()) == "true")) {
  943.             // line 427
  944.             echo "                <div class=\"model-aside__images model-aside__images--middle rounding\">
  945.                     <ul class=\"nav nav-pills nav-pills--mobile list-unstyled m-0 p-0 d-flex\" id=\"model-tab_2\" role=\"tablist\">
  946.                         ";
  947.             // line 429
  948.             $context["currentPage"] = "";
  949.             // line 430
  950.             echo "                        ";
  951.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse430) && (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.'430$this->source); })()), "photos", [], "any"falsefalsefalse430)) > 0))) {
  952.                 $context["currentPage"] = "photo";
  953.                 // line 431
  954.                 echo "                        <li class=\"nav-item flex-fill\">
  955.                             <a class=\"active\" id=\"model-photo-tab_2\" data-toggle=\"pill\" href=\"#model-photo_2\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
  956.                                     <svg class=\"icon d-inline-block\">
  957.                                         <use xlink:href=\"";
  958.                 // line 434
  959.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  960.                 echo "#icon-photo-thumb\"></use>
  961.                                     </svg>
  962.                                 Фото
  963.                             </a>
  964.                         </li>
  965.                         ";
  966.             }
  967.             // line 440
  968.             echo "                        ";
  969.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse440) && (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.'440$this->source); })()), "selfies", [], "any"falsefalsefalse440)) > 0))) {
  970.                 $context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'440$this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'440$this->source); })())));
  971.                 // line 441
  972.                 echo "                        <li class=\"nav-item flex-fill\">
  973.                             <a class=\"";
  974.                 // line 442
  975.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'442$this->source); })()) == "selfie")) {
  976.                     echo "active";
  977.                 }
  978.                 echo "\" id=\"model-selfie-tab_2\" data-toggle=\"pill\" href=\"#model-selfie_2\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
  979.                                     <svg class=\"icon d-inline-block\">
  980.                                         <use xlink:href=\"";
  981.                 // line 444
  982.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  983.                 echo "#icon-selfie-thumb\"></use>
  984.                                     </svg>
  985.                                 Селфи
  986.                             </a>
  987.                         </li>
  988.                         ";
  989.             }
  990.             // line 450
  991.             echo "                        ";
  992.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse450) && (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.'450$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse450)) > 0))) {
  993.                 $context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'450$this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'450$this->source); })())));
  994.                 // line 451
  995.                 echo "                        <li class=\"nav-item flex-fill\">
  996.                             <a class=\"";
  997.                 // line 452
  998.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'452$this->source); })()) == "video")) {
  999.                     echo "active";
  1000.                 }
  1001.                 echo "\" id=\"model-video-tab_2\" data-toggle=\"pill\" href=\"#model-video_2\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
  1002.                                     <svg class=\"icon d-inline-block\">
  1003.                                         <use xlink:href=\"";
  1004.                 // line 454
  1005.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1006.                 echo "#icon-video-thumb\"></use>
  1007.                                     </svg>
  1008.                                 Видео
  1009.                             </a>
  1010.                         </li>
  1011.                         ";
  1012.             }
  1013.             // line 460
  1014.             echo "                    </ul>
  1015.                     <div class=\"tab-content\" id=\"model-tabContent_2\">
  1016.                         ";
  1017.             // line 462
  1018.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse462) && (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.'462$this->source); })()), "photos", [], "any"falsefalsefalse462)) > 0))) {
  1019.                 // line 463
  1020.                 echo "                            <div class=\"tab-pane fade";
  1021.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'463$this->source); })()) == "photo")) {
  1022.                     echo " show active";
  1023.                 }
  1024.                 echo "\" id=\"model-photo_2\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab_2\">
  1025.                                 <div class=\"model-aside-row d-flex flex-wrap\">
  1026.                                     ";
  1027.                 // line 465
  1028.                 $context['_parent'] = $context;
  1029.                 $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.'465$this->source); })()), "photos", [], "any"falsefalsefalse465));
  1030.                 $context['loop'] = [
  1031.                   'parent' => $context['_parent'],
  1032.                   'index0' => 0,
  1033.                   'index'  => 1,
  1034.                   'first'  => true,
  1035.                 ];
  1036.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1037.                     $length count($context['_seq']);
  1038.                     $context['loop']['revindex0'] = $length 1;
  1039.                     $context['loop']['revindex'] = $length;
  1040.                     $context['loop']['length'] = $length;
  1041.                     $context['loop']['last'] = === $length;
  1042.                 }
  1043.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  1044.                     // line 466
  1045.                     echo "\t\t\t\t\t\t\t\t\t    ";
  1046.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse466)) {
  1047.                         // line 467
  1048.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  1049.                         $context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'467$this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList"$context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.'467$this->source); })()), twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse467)], 467$context$this->getSourceContext());
  1050.                         // line 468
  1051.                         echo "                                            <div class=\"model-aside-col rounding\">
  1052.                                                 <a class=\"nolink\" href=\"";
  1053.                         // line 469
  1054.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse469), "profile_media""fullsize""jpg"), "html"nulltrue);
  1055.                         echo "\">
  1056.                                                     <img class=\"img-fluid lazy\"
  1057.                                                         data-srcset=\"";
  1058.                         // line 471
  1059.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse471), "profile_media""196x250""jpg"), "html"nulltrue);
  1060.                         echo " 196w,
  1061.                                                             ";
  1062.                         // line 472
  1063.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse472), "profile_media""177x250""jpg"), "html"nulltrue);
  1064.                         echo " 177w,
  1065.                                                             ";
  1066.                         // line 473
  1067.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse473), "profile_media""228x250""jpg"), "html"nulltrue);
  1068.                         echo " 228w,
  1069.                                                             ";
  1070.                         // line 474
  1071.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse474), "profile_media""250x250""jpg"), "html"nulltrue);
  1072.                         echo " 260w\"
  1073.                                                         sizes=\"(max-width: 660px) 196px,
  1074.                                                             (max-width: 980px) 177px,
  1075.                                                             (max-width: 1125px) 228px,
  1076.                                                             260px\"
  1077.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  1078.                                                         data-src=\"";
  1079.                         // line 480
  1080.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse480), "profile_media""250x250""jpg"), "html"nulltrue);
  1081.                         echo "\"
  1082.                                                         data-type=\"lg\"
  1083.                                                         data-index-lg=\"";
  1084.                         // line 482
  1085.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse482), "html"nulltrue);
  1086.                         echo "\"
  1087. \t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"";
  1088.                         // line 483
  1089.                         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.'483$this->source); })()), "html"nulltrue);
  1090.                         echo "\">
  1091.                                                 </a>
  1092.                                             </div>
  1093. \t\t\t\t\t\t\t\t\t    ";
  1094.                     }
  1095.                     // line 487
  1096.                     echo "                                    ";
  1097.                     ++$context['loop']['index0'];
  1098.                     ++$context['loop']['index'];
  1099.                     $context['loop']['first'] = false;
  1100.                     if (isset($context['loop']['length'])) {
  1101.                         --$context['loop']['revindex0'];
  1102.                         --$context['loop']['revindex'];
  1103.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1104.                     }
  1105.                 }
  1106.                 $_parent $context['_parent'];
  1107.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  1108.                 $context array_intersect_key($context$_parent) + $_parent;
  1109.                 // line 488
  1110.                 echo "                                </div>
  1111.                             </div>
  1112.                         ";
  1113.             }
  1114.             // line 491
  1115.             echo "                        ";
  1116.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse491) && (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.'491$this->source); })()), "selfies", [], "any"falsefalsefalse491)) > 0))) {
  1117.                 // line 492
  1118.                 echo "                            <div class=\"tab-pane fade";
  1119.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'492$this->source); })()) == "selfie")) {
  1120.                     echo " show active";
  1121.                 }
  1122.                 echo "\" id=\"model-selfie_2\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab_2\">
  1123.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
  1124.                                     ";
  1125.                 // line 494
  1126.                 $context['_parent'] = $context;
  1127.                 $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.'494$this->source); })()), "selfies", [], "any"falsefalsefalse494));
  1128.                 $context['loop'] = [
  1129.                   'parent' => $context['_parent'],
  1130.                   'index0' => 0,
  1131.                   'index'  => 1,
  1132.                   'first'  => true,
  1133.                 ];
  1134.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1135.                     $length count($context['_seq']);
  1136.                     $context['loop']['revindex0'] = $length 1;
  1137.                     $context['loop']['revindex'] = $length;
  1138.                     $context['loop']['length'] = $length;
  1139.                     $context['loop']['last'] = === $length;
  1140.                 }
  1141.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  1142.                     // line 495
  1143.                     echo "                                        ";
  1144.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse495)) {
  1145.                         // line 496
  1146.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  1147.                         $context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'496$this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList"$context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.'496$this->source); })()), (twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse496) + 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.'496$this->source); })()), "photos", [], "any"falsefalsefalse496)))], 496$context$this->getSourceContext());
  1148.                         // line 497
  1149.                         echo "                                            <div class=\"model-aside-col rounding\">
  1150.                                                 <a class=\"nolink\" href=\"";
  1151.                         // line 498
  1152.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse498), "profile_media""fullsize""jpg"), "html"nulltrue);
  1153.                         echo "\">
  1154.                                                     <img class=\"img-fluid lazy\"
  1155.                                                         data-srcset=\"";
  1156.                         // line 500
  1157.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse500), "profile_media""196x250""jpg"), "html"nulltrue);
  1158.                         echo " 196w,
  1159. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1160.                         // line 501
  1161.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse501), "profile_media""177x250""jpg"), "html"nulltrue);
  1162.                         echo " 177w,
  1163. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1164.                         // line 502
  1165.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse502), "profile_media""228x250""jpg"), "html"nulltrue);
  1166.                         echo " 228w,
  1167. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1168.                         // line 503
  1169.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse503), "profile_media""250x250""jpg"), "html"nulltrue);
  1170.                         echo " 260w\"
  1171.                                                         sizes=\"(max-width: 660px) 196px,
  1172. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
  1173. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
  1174. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
  1175.                                                         data-type=\"lg\"
  1176.                                                         data-index-lg=\"";
  1177.                         // line 509
  1178.                         echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse509) + 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.'509$this->source); })()), "photos", [], "any"falsefalsefalse509))), "html"nulltrue);
  1179.                         echo "\"
  1180.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  1181.                                                         data-src=\"";
  1182.                         // line 511
  1183.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse511), "profile_media""250x250""jpg"), "html"nulltrue);
  1184.                         echo "\"
  1185. \t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"";
  1186.                         // line 512
  1187.                         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.'512$this->source); })()), "html"nulltrue);
  1188.                         echo "\">
  1189.                                                 </a>
  1190.                                             </div>
  1191. \t\t\t\t\t\t\t\t\t    ";
  1192.                     }
  1193.                     // line 516
  1194.                     echo "                                    ";
  1195.                     ++$context['loop']['index0'];
  1196.                     ++$context['loop']['index'];
  1197.                     $context['loop']['first'] = false;
  1198.                     if (isset($context['loop']['length'])) {
  1199.                         --$context['loop']['revindex0'];
  1200.                         --$context['loop']['revindex'];
  1201.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1202.                     }
  1203.                 }
  1204.                 $_parent $context['_parent'];
  1205.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  1206.                 $context array_intersect_key($context$_parent) + $_parent;
  1207.                 // line 517
  1208.                 echo "                                </div>
  1209.                             </div>
  1210.                         ";
  1211.             }
  1212.             // line 520
  1213.             echo "                        ";
  1214.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse520) && (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.'520$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse520)) > 0))) {
  1215.                 // line 521
  1216.                 echo "                            <div class=\"tab-pane fade";
  1217.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'521$this->source); })()) == "video")) {
  1218.                     echo " show active";
  1219.                 }
  1220.                 echo "\" id=\"model-video_2\" role=\"tabpanel\" aria-labelledby=\"model-video-tab_2\">
  1221.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
  1222.                                     ";
  1223.                 // line 523
  1224.                 $context['_parent'] = $context;
  1225.                 $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.'523$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse523));
  1226.                 foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  1227.                     // line 524
  1228.                     echo "                                        <div class=\"model-video-container rounding\">
  1229.                                             <video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"";
  1230.                     // line 525
  1231.                     if (twig_get_attribute($this->env$this->source$context["video"], "previewPath", [], "any"falsefalsefalse525)) {
  1232.                         echo " poster=\"";
  1233.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["video"], "previewPath", [], "any"falsefalsefalse525), "profile_media""fullsize"), "html"nulltrue);
  1234.                     }
  1235.                     echo "\">
  1236.                                                 <source src=\"";
  1237.                     // line 526
  1238.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["video"], "path", [], "any"falsefalsefalse526), "profile_media"), "html"nulltrue);
  1239.                     echo "\" type='video/mp4'/>
  1240.                                             </video>
  1241.                                         </div>
  1242.                                     ";
  1243.                 }
  1244.                 $_parent $context['_parent'];
  1245.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  1246.                 $context array_intersect_key($context$_parent) + $_parent;
  1247.                 // line 530
  1248.                 echo "                                </div>
  1249.                             </div>
  1250.                         ";
  1251.             }
  1252.             // line 533
  1253.             echo "                    </div>
  1254.                 </div>
  1255.             ";
  1256.         }
  1257.         // line 536
  1258.         echo "
  1259.             <div class=\"modal-services mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  1260.                 <div class=\"modal-services__header d-flex flex-wrap align-items-start\">
  1261.                     <h2 class=\"border-line\">Интим-услуги</h2>
  1262.                     <div class=\"modal-services__header-info d-flex flex-wrap align-items-center pb-2\">
  1263.                         <div class=\"header-item mr-3\">
  1264.                             <svg class=\"icon mr-1\">
  1265.                                 <use xlink:href=\"";
  1266.         // line 543
  1267.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1268.         echo "#icon-model-included\"></use>
  1269.                             </svg>
  1270.                             - включено в стоимость
  1271.                         </div>
  1272.                         <div class=\"header-item mr-3\">
  1273.                             <svg class=\"icon mr-1\">
  1274.                                 <use xlink:href=\"";
  1275.         // line 549
  1276.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1277.         echo "#icon-model-liking\"></use>
  1278.                             </svg>
  1279.                             - по симпатии
  1280.                         </div>
  1281.                         <div class=\"header-item mr-3\">
  1282.                             <svg class=\"icon mr-1\">
  1283.                                 <use xlink:href=\"";
  1284.         // line 555
  1285.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1286.         echo "#icon-model-charge\"></use>
  1287.                             </svg>
  1288.                             - за дополнительную плату
  1289.                         </div>
  1290.                         ";
  1291.         // line 565
  1292.         echo "                    </div>
  1293.                 </div>
  1294.                 <div class=\"modal-services__main\">
  1295.                     <div class=\"modal-services__items ";
  1296.         // line 568
  1297.         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.'568$this->source); })()), "masseur", [], "any"falsefalsefalse568)) {
  1298.             echo "d-flex justify-content-between mr-xl-3 flex-wrap ";
  1299.         } else {
  1300.             echo "column";
  1301.         }
  1302.         echo " w-100\" id=\"services_items\" data-type=\"";
  1303.         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.'568$this->source); })()), "masseur", [], "any"falsefalsefalse568)) {
  1304.             echo "masseur";
  1305.         } else {
  1306.             echo "profile";
  1307.         }
  1308.         echo "\">
  1309.                         ";
  1310.         // line 569
  1311.         $context["initional_group_2"] = 0;
  1312.         // line 570
  1313.         echo "                        ";
  1314.         $context["group_2_minet"] = [];
  1315.         // line 571
  1316.         echo "                        ";
  1317.         $context["group_2_okon"] = [];
  1318.         // line 572
  1319.         echo "                        ";
  1320.         $context["group_2_okon_trigger"] = ["Окончание на грудь""Окончание на лицо""Окончание в рот""На грудь""На лицо""В рот"];
  1321.         echo " ";
  1322.         // line 573
  1323.         echo "                        ";
  1324.         $context['_parent'] = $context;
  1325.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'573$this->source); })()), function ($__servicesGroup__$__group__) use ($context$macros) { $context["servicesGroup"] = $__servicesGroup__$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.'573$this->source); })()), "masseur", [], "any"falsefalsefalse573) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups"$context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.'573$this->source); })()))); }));
  1326.         foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
  1327.             // line 574
  1328.             echo "                            ";
  1329.             if (($context["group"] == 2)) {
  1330.                 // line 575
  1331.                 echo "                                ";
  1332.                 // line 576
  1333.                 echo "                                ";
  1334.                 $context['_parent'] = $context;
  1335.                 $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  1336.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1337.                     // line 577
  1338.                     echo "                                    ";
  1339.                     if (twig_in_filter($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse577)), (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger"$context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.'577$this->source); })()))) {
  1340.                         // line 578
  1341.                         echo "                                        ";
  1342.                         $context["group_2_okon"] = twig_array_merge((isset($context["group_2_okon"]) || array_key_exists("group_2_okon"$context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.'578$this->source); })()), [$context["service"]]);
  1343.                         // line 579
  1344.                         echo "                                    ";
  1345.                     } else {
  1346.                         // line 580
  1347.                         echo "                                        ";
  1348.                         $context["group_2_minet"] = twig_array_merge((isset($context["group_2_minet"]) || array_key_exists("group_2_minet"$context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.'580$this->source); })()), [$context["service"]]);
  1349.                         // line 581
  1350.                         echo "                                    ";
  1351.                     }
  1352.                     // line 582
  1353.                     echo "                                ";
  1354.                 }
  1355.                 $_parent $context['_parent'];
  1356.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1357.                 $context array_intersect_key($context$_parent) + $_parent;
  1358.                 // line 583
  1359.                 echo "                            ";
  1360.             } elseif ((($context["group"] == 3) && ((isset($context["initional_group_2"]) || array_key_exists("initional_group_2"$context) ? $context["initional_group_2"] : (function () { throw new RuntimeError('Variable "initional_group_2" does not exist.'583$this->source); })()) == 0))) {
  1361.                 // line 584
  1362.                 echo "                                ";
  1363.                 // line 585
  1364.                 echo "                                ";
  1365.                 $context["initional_group_2"] = 1;
  1366.                 // line 586
  1367.                 echo "                                <div class=\"modal-services__item\">
  1368.                                     <p class=\"item-title\">Минет</p>
  1369.                                     ";
  1370.                 // line 588
  1371.                 $context['_parent'] = $context;
  1372.                 $context['_seq'] = twig_ensure_traversable((isset($context["group_2_minet"]) || array_key_exists("group_2_minet"$context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.'588$this->source); })()));
  1373.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1374.                     // line 589
  1375.                     echo "                                        ";
  1376.                     $context["providedService"] = 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.'589$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse589);
  1377.                     // line 590
  1378.                     echo "                                        ";
  1379.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'590$this->source); })())) {
  1380.                         // line 591
  1381.                         echo "                                            <div class=\"item";
  1382.                         if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'591$this->source); })())) {
  1383.                             echo " provided";
  1384.                         }
  1385.                         echo "\">
  1386.                                                 ";
  1387.                         // line 592
  1388.                         if ((twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'592$this->source); })()), "condition", [], "any"falsefalsefalse592) == 1)) {
  1389.                             // line 593
  1390.                             echo "                                                    <svg class=\"icon mr-1\">
  1391.                                                         <use xlink:href=\"";
  1392.                             // line 594
  1393.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1394.                             echo "#icon-model-included\"></use>
  1395.                                                     </svg>
  1396.                                                 ";
  1397.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 596
  1398. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'596$this->source); })()), "condition", [], "any"falsefalsefalse596) == 2)) {
  1399.                             // line 597
  1400.                             echo "                                                    <svg class=\"icon mr-1\">
  1401.                                                         <use xlink:href=\"";
  1402.                             // line 598
  1403.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1404.                             echo "#icon-model-liking\"></use>
  1405.                                                     </svg>
  1406.                                                 ";
  1407.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 600
  1408. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'600$this->source); })()), "condition", [], "any"falsefalsefalse600) == 3)) {
  1409.                             // line 601
  1410.                             echo "                                                    <svg class=\"icon mr-1\">
  1411.                                                         <use xlink:href=\"";
  1412.                             // line 602
  1413.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1414.                             echo "#icon-model-charge\"></use>
  1415.                                                     </svg>
  1416.                                                 ";
  1417.                         }
  1418.                         // line 605
  1419.                         echo "                                                <a href=\"";
  1420.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => 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.'605$this->source); })()), "city", [], "any"falsefalsefalse605), "uriIdentity", [], "any"falsefalsefalse605), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse605)]), "html"nulltrue);
  1421.                         echo "\" data-s=\"";
  1422.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse605), "html"nulltrue);
  1423.                         echo "\">
  1424.                                                     ";
  1425.                         // line 606
  1426.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse606)), "html"nulltrue);
  1427.                         echo "
  1428.                                                 </a>
  1429.                                                 ";
  1430.                         // line 608
  1431.                         if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'608$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'608$this->source); })()), "condition", [], "any"falsefalsefalse608) == 3)) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'608$this->source); })()), "extraCharge", [], "any"falsefalsefalse608))) {
  1432.                             echo "<span class=\"item__price\">+";
  1433.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'608$this->source); })()), "extraCharge", [], "any"falsefalsefalse608), "html"nulltrue);
  1434.                             echo " Р</span>";
  1435.                         }
  1436.                         // line 609
  1437.                         echo "                                                ";
  1438.                         if (((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'609$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'609$this->source); })()), "comment", [], "any"falsefalsefalse609))) {
  1439.                             // line 610
  1440.                             echo "                                                    <div class=\"item__comment\">";
  1441.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'610$this->source); })()), "comment", [], "any"falsefalsefalse610), "html"nulltrue);
  1442.                             echo "</div>
  1443.                                                 ";
  1444.                         }
  1445.                         // line 612
  1446.                         echo "                                            </div>
  1447.                                         ";
  1448.                     }
  1449.                     // line 614
  1450.                     echo "                                    ";
  1451.                 }
  1452.                 $_parent $context['_parent'];
  1453.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1454.                 $context array_intersect_key($context$_parent) + $_parent;
  1455.                 // line 615
  1456.                 echo "                                </div>
  1457.                                 <div class=\"modal-services__item\">
  1458.                                     <p class=\"item-title\">Окончание</p>
  1459.                                     ";
  1460.                 // line 618
  1461.                 $context['_parent'] = $context;
  1462.                 $context['_seq'] = twig_ensure_traversable((isset($context["group_2_okon"]) || array_key_exists("group_2_okon"$context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.'618$this->source); })()));
  1463.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1464.                     // line 619
  1465.                     echo "                                        ";
  1466.                     $context["providedService"] = 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.'619$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse619);
  1467.                     // line 620
  1468.                     echo "                                        ";
  1469.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'620$this->source); })())) {
  1470.                         // line 621
  1471.                         echo "                                            <div class=\"item";
  1472.                         if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'621$this->source); })())) {
  1473.                             echo " provided";
  1474.                         }
  1475.                         echo "\">
  1476.                                                 ";
  1477.                         // line 622
  1478.                         if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'622$this->source); })())) {
  1479.                             // line 623
  1480.                             echo "                                                    ";
  1481.                             if ((twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'623$this->source); })()), "condition", [], "any"falsefalsefalse623) == 1)) {
  1482.                                 // line 624
  1483.                                 echo "                                                        <svg class=\"icon mr-1\">
  1484.                                                             <use xlink:href=\"";
  1485.                                 // line 625
  1486.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1487.                                 echo "#icon-model-included\"></use>
  1488.                                                         </svg>
  1489.                                                     ";
  1490.                             } elseif ((twig_get_attribute($this->env$this->source,                             // line 627
  1491. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'627$this->source); })()), "condition", [], "any"falsefalsefalse627) == 2)) {
  1492.                                 // line 628
  1493.                                 echo "                                                        <svg class=\"icon mr-1\">
  1494.                                                             <use xlink:href=\"";
  1495.                                 // line 629
  1496.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1497.                                 echo "#icon-model-liking\"></use>
  1498.                                                         </svg>
  1499.                                                     ";
  1500.                             } elseif ((twig_get_attribute($this->env$this->source,                             // line 631
  1501. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'631$this->source); })()), "condition", [], "any"falsefalsefalse631) == 3)) {
  1502.                                 // line 632
  1503.                                 echo "                                                        <svg class=\"icon mr-1\">
  1504.                                                             <use xlink:href=\"";
  1505.                                 // line 633
  1506.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1507.                                 echo "#icon-model-charge\"></use>
  1508.                                                         </svg>
  1509.                                                     ";
  1510.                             }
  1511.                             // line 636
  1512.                             echo "                                                ";
  1513.                         }
  1514.                         // line 637
  1515.                         echo "                                                <a href=\"";
  1516.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => 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.'637$this->source); })()), "city", [], "any"falsefalsefalse637), "uriIdentity", [], "any"falsefalsefalse637), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse637)]), "html"nulltrue);
  1517.                         echo "\" data-s=\"";
  1518.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse637), "html"nulltrue);
  1519.                         echo "\">
  1520.                                                     ";
  1521.                         // line 638
  1522.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse638)), "html"nulltrue);
  1523.                         echo "
  1524.                                                 </a>
  1525.                                                 ";
  1526.                         // line 640
  1527.                         if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'640$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'640$this->source); })()), "condition", [], "any"falsefalsefalse640) == 3)) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'640$this->source); })()), "extraCharge", [], "any"falsefalsefalse640))) {
  1528.                             echo "<span class=\"item__price\">+";
  1529.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'640$this->source); })()), "extraCharge", [], "any"falsefalsefalse640), "html"nulltrue);
  1530.                             echo " Р</span>";
  1531.                         }
  1532.                         // line 641
  1533.                         echo "                                                ";
  1534.                         if (((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'641$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'641$this->source); })()), "comment", [], "any"falsefalsefalse641))) {
  1535.                             // line 642
  1536.                             echo "                                                    <div class=\"item__comment\">";
  1537.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'642$this->source); })()), "comment", [], "any"falsefalsefalse642), "html"nulltrue);
  1538.                             echo "</div>
  1539.                                                 ";
  1540.                         }
  1541.                         // line 644
  1542.                         echo "                                            </div>
  1543.                                         ";
  1544.                     }
  1545.                     // line 646
  1546.                     echo "                                    ";
  1547.                 }
  1548.                 $_parent $context['_parent'];
  1549.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1550.                 $context array_intersect_key($context$_parent) + $_parent;
  1551.                 // line 647
  1552.                 echo "                                </div>
  1553.                                 <div class=\"modal-services__item\">
  1554.                                     <p class=\"item-title\" data-group=\"";
  1555.                 // line 649
  1556.                 echo twig_escape_filter($this->env$context["group"], "html"nulltrue);
  1557.                 echo "\">";
  1558.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel($context["group"]), [], "service_groups"), "html"nulltrue);
  1559.                 echo "</p>
  1560.                                     ";
  1561.                 // line 650
  1562.                 $context['_parent'] = $context;
  1563.                 $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  1564.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1565.                     // line 651
  1566.                     echo "                                        ";
  1567.                     $context["providedService"] = 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.'651$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse651);
  1568.                     // line 652
  1569.                     echo "                                        ";
  1570.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'652$this->source); })())) {
  1571.                         // line 653
  1572.                         echo "                                            <div class=\"item";
  1573.                         if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'653$this->source); })())) {
  1574.                             echo " provided";
  1575.                         }
  1576.                         echo "\">
  1577.                                                 ";
  1578.                         // line 654
  1579.                         if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'654$this->source); })())) {
  1580.                             // line 655
  1581.                             echo "                                                    ";
  1582.                             if ((twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'655$this->source); })()), "condition", [], "any"falsefalsefalse655) == 1)) {
  1583.                                 // line 656
  1584.                                 echo "                                                        <svg class=\"icon mr-1\">
  1585.                                                             <use xlink:href=\"";
  1586.                                 // line 657
  1587.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1588.                                 echo "#icon-model-included\"></use>
  1589.                                                         </svg>
  1590.                                                     ";
  1591.                             } elseif ((twig_get_attribute($this->env$this->source,                             // line 659
  1592. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'659$this->source); })()), "condition", [], "any"falsefalsefalse659) == 2)) {
  1593.                                 // line 660
  1594.                                 echo "                                                        <svg class=\"icon mr-1\">
  1595.                                                             <use xlink:href=\"";
  1596.                                 // line 661
  1597.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1598.                                 echo "#icon-model-liking\"></use>
  1599.                                                         </svg>
  1600.                                                     ";
  1601.                             } elseif ((twig_get_attribute($this->env$this->source,                             // line 663
  1602. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'663$this->source); })()), "condition", [], "any"falsefalsefalse663) == 3)) {
  1603.                                 // line 664
  1604.                                 echo "                                                        <svg class=\"icon mr-1\">
  1605.                                                             <use xlink:href=\"";
  1606.                                 // line 665
  1607.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1608.                                 echo "#icon-model-charge\"></use>
  1609.                                                         </svg>
  1610.                                                     ";
  1611.                             }
  1612.                             // line 668
  1613.                             echo "
  1614.                                                     <a href=\"";
  1615.                             // line 669
  1616.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => 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.'669$this->source); })()), "city", [], "any"falsefalsefalse669), "uriIdentity", [], "any"falsefalsefalse669), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse669)]), "html"nulltrue);
  1617.                             echo "\" data-s=\"";
  1618.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse669), "html"nulltrue);
  1619.                             echo "\">
  1620.                                                         ";
  1621.                             // line 670
  1622.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse670)), "html"nulltrue);
  1623.                             echo "
  1624.                                                     </a>
  1625.                                                     ";
  1626.                             // line 672
  1627.                             if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'672$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'672$this->source); })()), "condition", [], "any"falsefalsefalse672) == 3)) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'672$this->source); })()), "extraCharge", [], "any"falsefalsefalse672))) {
  1628.                                 echo "<span class=\"item__price\">+";
  1629.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'672$this->source); })()), "extraCharge", [], "any"falsefalsefalse672), "html"nulltrue);
  1630.                                 echo " Р</span>";
  1631.                             }
  1632.                             // line 673
  1633.                             echo "                                                    ";
  1634.                             if (((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'673$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'673$this->source); })()), "comment", [], "any"falsefalsefalse673))) {
  1635.                                 // line 674
  1636.                                 echo "                                                        <div class=\"item__comment\">";
  1637.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'674$this->source); })()), "comment", [], "any"falsefalsefalse674), "html"nulltrue);
  1638.                                 echo "</div>
  1639.                                                     ";
  1640.                             }
  1641.                             // line 676
  1642.                             echo "                                                ";
  1643.                         }
  1644.                         // line 677
  1645.                         echo "                                            </div>
  1646.                                         ";
  1647.                     }
  1648.                     // line 679
  1649.                     echo "                                    ";
  1650.                 }
  1651.                 $_parent $context['_parent'];
  1652.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1653.                 $context array_intersect_key($context$_parent) + $_parent;
  1654.                 // line 680
  1655.                 echo "                                </div>
  1656.                             ";
  1657.             } else {
  1658.                 // line 682
  1659.                 echo "                                ";
  1660.                 if (((($context["group"] == 1) || ($context["group"] == 5)) || ($context["group"] == 7))) {
  1661.                     // line 684
  1662.                     echo "                                ";
  1663.                 }
  1664.                 // line 685
  1665.                 echo "                                <div class=\"modal-services__item";
  1666.                 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.'685$this->source); })()), "masseur", [], "any"falsefalsefalse685)) {
  1667.                     echo " modal-services__item--masseur";
  1668.                 }
  1669.                 echo "\">
  1670.                                     <p class=\"item-title\">";
  1671.                 // line 686
  1672.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel($context["group"]), [], "service_groups"), "html"nulltrue);
  1673.                 echo "</p>
  1674.                                     ";
  1675.                 // line 687
  1676.                 $context['_parent'] = $context;
  1677.                 $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  1678.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1679.                     // line 688
  1680.                     echo "                                        ";
  1681.                     $context["providedService"] = 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.'688$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse688);
  1682.                     // line 689
  1683.                     echo "                                        ";
  1684.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'689$this->source); })())) {
  1685.                         // line 690
  1686.                         echo "                                            <div class=\"item";
  1687.                         if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'690$this->source); })())) {
  1688.                             echo " provided";
  1689.                         }
  1690.                         echo "\">
  1691.                                                 ";
  1692.                         // line 691
  1693.                         if ((twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'691$this->source); })()), "condition", [], "any"falsefalsefalse691) == 1)) {
  1694.                             // line 692
  1695.                             echo "                                                    <svg class=\"icon mr-1\">
  1696.                                                         <use xlink:href=\"";
  1697.                             // line 693
  1698.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1699.                             echo "#icon-model-included\"></use>
  1700.                                                     </svg>
  1701.                                                 ";
  1702.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 695
  1703. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'695$this->source); })()), "condition", [], "any"falsefalsefalse695) == 2)) {
  1704.                             // line 696
  1705.                             echo "                                                    <svg class=\"icon mr-1\">
  1706.                                                         <use xlink:href=\"";
  1707.                             // line 697
  1708.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1709.                             echo "#icon-model-liking\"></use>
  1710.                                                     </svg>
  1711.                                                 ";
  1712.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 699
  1713. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'699$this->source); })()), "condition", [], "any"falsefalsefalse699) == 3)) {
  1714.                             // line 700
  1715.                             echo "                                                    <svg class=\"icon mr-1\">
  1716.                                                         <use xlink:href=\"";
  1717.                             // line 701
  1718.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1719.                             echo "#icon-model-charge\"></use>
  1720.                                                     </svg>
  1721.                                                 ";
  1722.                         }
  1723.                         // line 704
  1724.                         echo "                                                <a href=\"";
  1725.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_provided_service", ["city" => 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.'704$this->source); })()), "city", [], "any"falsefalsefalse704), "uriIdentity", [], "any"falsefalsefalse704), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse704)]), "html"nulltrue);
  1726.                         echo "\">
  1727.                                                     ";
  1728.                         // line 705
  1729.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse705)), "html"nulltrue);
  1730.                         echo "
  1731.                                                 </a>
  1732.                                                 ";
  1733.                         // line 707
  1734.                         if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'707$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'707$this->source); })()), "condition", [], "any"falsefalsefalse707) == 3)) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'707$this->source); })()), "extraCharge", [], "any"falsefalsefalse707))) {
  1735.                             echo "<span class=\"item__price\">+";
  1736.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'707$this->source); })()), "extraCharge", [], "any"falsefalsefalse707), "html"nulltrue);
  1737.                             echo " Р</span>";
  1738.                         }
  1739.                         // line 708
  1740.                         echo "                                                ";
  1741.                         if (((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'708$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'708$this->source); })()), "comment", [], "any"falsefalsefalse708))) {
  1742.                             // line 709
  1743.                             echo "                                                    <div class=\"item__comment\">";
  1744.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'709$this->source); })()), "comment", [], "any"falsefalsefalse709), "html"nulltrue);
  1745.                             echo "</div>
  1746.                                                 ";
  1747.                         }
  1748.                         // line 711
  1749.                         echo "                                            </div>
  1750.                                         ";
  1751.                     }
  1752.                     // line 713
  1753.                     echo "                                    ";
  1754.                 }
  1755.                 $_parent $context['_parent'];
  1756.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1757.                 $context array_intersect_key($context$_parent) + $_parent;
  1758.                 // line 714
  1759.                 echo "                                </div>
  1760.                                 ";
  1761.                 // line 715
  1762.                 if (((($context["group"] == 4) || ($context["group"] == 6)) || ($context["group"] == 7))) {
  1763.                     // line 717
  1764.                     echo "                                ";
  1765.                 }
  1766.                 // line 718
  1767.                 echo "                            ";
  1768.             }
  1769.             // line 719
  1770.             echo "                        ";
  1771.         }
  1772.         $_parent $context['_parent'];
  1773.         unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
  1774.         $context array_intersect_key($context$_parent) + $_parent;
  1775.         // line 720
  1776.         echo "                    </div>
  1777.                     <div class=\"modal-services__extend__items rounding\">
  1778.                         <div class=\"modal-services__extend__box\">
  1779.                             <div class=\"modal-services__extend__item\">
  1780.                                 <h3 class=\"modal-services__extend__item__title\">Услуги для</h3>
  1781.                                 ";
  1782.         // line 725
  1783.         $context["client_types_text"] = ["1""2""3""4""5"];
  1784.         // line 726
  1785.         echo "                                ";
  1786.         $context["includeService"] = false;
  1787.         // line 727
  1788.         echo "                                ";
  1789.         $context['_parent'] = $context;
  1790.         $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.'727$this->source); })()));
  1791.         foreach ($context['_seq'] as $context["_key"] => $context["clientTypeText"]) {
  1792.             // line 728
  1793.             echo "                                    ";
  1794.             $context['_parent'] = $context;
  1795.             $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.'728$this->source); })()), "clientTypes", [], "any"falsefalsefalse728));
  1796.             foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
  1797.                 // line 729
  1798.                 echo "                                        ";
  1799.                 if (($context["clientTypeText"] == $context["clientType"])) {
  1800.                     // line 730
  1801.                     echo "                                            ";
  1802.                     $context["includeService"] = true;
  1803.                     // line 731
  1804.                     echo "                                        ";
  1805.                 }
  1806.                 // line 732
  1807.                 echo "                                    ";
  1808.             }
  1809.             $_parent $context['_parent'];
  1810.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientType'], $context['_parent'], $context['loop']);
  1811.             $context array_intersect_key($context$_parent) + $_parent;
  1812.             // line 733
  1813.             echo "                                    ";
  1814.             if ((((isset($context["includeService"]) || array_key_exists("includeService"$context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.'733$this->source); })()) == true) && ($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]) != "TRANS"))) {
  1815.                 // line 734
  1816.                 echo "                                        <div class=\"item\">
  1817.                                             <svg class=\"icon mr-1\">
  1818.                                                 <use xlink:href=\"";
  1819.                 // line 736
  1820.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1821.                 echo "#icon-model-included\"></use>
  1822.                                             </svg>
  1823.                                             ";
  1824.                 // line 739
  1825.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]), [], "client_types_f"), "html"nulltrue);
  1826.                 echo "
  1827.                                         </div>
  1828.                                         ";
  1829.                 // line 741
  1830.                 $context["includeService"] = false;
  1831.                 // line 742
  1832.                 echo "                                    ";
  1833.             }
  1834.             // line 743
  1835.             echo "                                ";
  1836.         }
  1837.         $_parent $context['_parent'];
  1838.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientTypeText'], $context['_parent'], $context['loop']);
  1839.         $context array_intersect_key($context$_parent) + $_parent;
  1840.         // line 744
  1841.         echo "                            </div>
  1842.                             <div class=\"modal-services__extend__item\">
  1843.                                 <h3 class=\"modal-services__extend__item__title\">Выезд</h3>
  1844.                                 ";
  1845.         // line 747
  1846.         $context["locations_text"] = ["1""2""3""4""5""6"];
  1847.         // line 748
  1848.         echo "                                ";
  1849.         $context["includeService"] = false;
  1850.         // line 749
  1851.         echo "                                ";
  1852.         $context['_parent'] = $context;
  1853.         $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.'749$this->source); })()));
  1854.         foreach ($context['_seq'] as $context["_key"] => $context["locationsText"]) {
  1855.             // line 750
  1856.             echo "                                    ";
  1857.             $context['_parent'] = $context;
  1858.             $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.'750$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse750), "locations", [], "any"falsefalsefalse750));
  1859.             foreach ($context['_seq'] as $context["_key"] => $context["locations"]) {
  1860.                 // line 751
  1861.                 echo "                                        ";
  1862.                 if (($context["locationsText"] == $context["locations"])) {
  1863.                     // line 752
  1864.                     echo "                                            ";
  1865.                     $context["includeService"] = true;
  1866.                     // line 753
  1867.                     echo "                                        ";
  1868.                 }
  1869.                 // line 754
  1870.                 echo "                                    ";
  1871.             }
  1872.             $_parent $context['_parent'];
  1873.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locations'], $context['_parent'], $context['loop']);
  1874.             $context array_intersect_key($context$_parent) + $_parent;
  1875.             // line 755
  1876.             echo "                                    ";
  1877.             if (((isset($context["includeService"]) || array_key_exists("includeService"$context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.'755$this->source); })()) == true)) {
  1878.                 // line 756
  1879.                 echo "                                        <div class=\"item\">
  1880.                                             <svg class=\"icon mr-1\">
  1881.                                                 <use xlink:href=\"";
  1882.                 // line 758
  1883.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1884.                 echo "#icon-model-included\"></use>
  1885.                                             </svg>
  1886.                                         ";
  1887.                 // line 760
  1888.                 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);
  1889.                 echo "
  1890.                                         </div>
  1891.                                         ";
  1892.                 // line 762
  1893.                 $context["includeService"] = false;
  1894.                 // line 763
  1895.                 echo "                                    ";
  1896.             }
  1897.             // line 764
  1898.             echo "                                ";
  1899.         }
  1900.         $_parent $context['_parent'];
  1901.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locationsText'], $context['_parent'], $context['loop']);
  1902.         $context array_intersect_key($context$_parent) + $_parent;
  1903.         // line 765
  1904.         echo "                            </div>
  1905.                         </div>
  1906.                     </div>
  1907.                     <script>
  1908.                     (function(){
  1909.                         var list = document.querySelectorAll('.modal-services__item');
  1910.                         Array.prototype.forEach.call(list, function(el) {
  1911.                             var elementOfList = el.querySelectorAll('.item');
  1912.                             if (elementOfList.length === 0){
  1913.                                 el.remove();
  1914.                             }
  1915.                         });
  1916.                         var listExt = document.querySelectorAll('.modal-services__extend__item');
  1917.                         var listExtCount = 0;
  1918.                         Array.prototype.forEach.call(listExt, function(el) {
  1919.                             var elementOfList = el.querySelectorAll('.item');
  1920.                             listExtCount++;
  1921.                             if (elementOfList.length === 0){
  1922.                                 el.remove();
  1923.                                 listExtCount--;
  1924.                             }
  1925.                         });
  1926.                         if (listExtCount === 0){
  1927.                             var block = document.querySelector('.modal-services__extend__items');
  1928.                             block.classList.add('d-none');
  1929.                         }
  1930.                     })()
  1931.                     </script>
  1932.                 </div>
  1933.                 ";
  1934.         // line 878
  1935.         echo "            </div>
  1936.             <div class=\"modal-map mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  1937.                 <h2 class=\"border-line\">
  1938.                     Расположение
  1939.                 </h2>
  1940.                 <div class=\"map-block rounding\" id=\"map\" style=\"width: 100%; height: 400px;\"
  1941.                      data-lat=\"";
  1942.         // line 884
  1943.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse884), "latitude", [], "any"truetruefalse884)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse884), "latitude", [], "any"falsefalsefalse884), 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.'884$this->source); })()), "city", [], "any"falsefalsefalse884), "mapCoordinate", [], "any"falsefalsefalse884), "latitude", [], "any"falsefalsefalse884))) : (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.'884$this->source); })()), "city", [], "any"falsefalsefalse884), "mapCoordinate", [], "any"falsefalsefalse884), "latitude", [], "any"falsefalsefalse884))), "html"nulltrue);
  1944.         echo "\"
  1945.                      data-lon=\"";
  1946.         // line 885
  1947.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse885), "longitude", [], "any"truetruefalse885)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse885), "longitude", [], "any"falsefalsefalse885), 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.'885$this->source); })()), "city", [], "any"falsefalsefalse885), "mapCoordinate", [], "any"falsefalsefalse885), "longitude", [], "any"falsefalsefalse885))) : (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.'885$this->source); })()), "city", [], "any"falsefalsefalse885), "mapCoordinate", [], "any"falsefalsefalse885), "longitude", [], "any"falsefalsefalse885))), "html"nulltrue);
  1948.         echo "\"
  1949.                      data-map-label=\"";
  1950.         // line 886
  1951.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/map-balloon.svg""basicConfig"), "html"nulltrue);
  1952.         echo "\">
  1953.                 </div>
  1954.             </div>
  1955.             ";
  1956.         // line 889
  1957.         if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("profile_comments")) {
  1958.             // line 890
  1959.             echo "                ";
  1960.             $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.'890$this->source); })()), "comments", [], "any"falsefalsefalse890));
  1961.             // line 891
  1962.             echo "                <section class=\"model-comments mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  1963.                     <div class=\"d-flex align-items-start comments-header\">
  1964.                         <h2 class=\"border-line\">";
  1965.             // line 893
  1966.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отзывы", [], "profile");
  1967.             echo " </h2>
  1968.                         <div class=\"rate d-flex align-items-center ml-auto\"";
  1969.             // line 894
  1970.             if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'894$this->source); })()) > 0)) {
  1971.                 echo " itemscope itemtype=\"https://schema.org/AggregateRating\"";
  1972.             }
  1973.             echo " data-rating=\"";
  1974.             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.'894$this->source); })()), "html"nulltrue);
  1975.             echo "\">
  1976.                             ";
  1977.             // line 895
  1978.             if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'895$this->source); })()) > 0)) {
  1979.                 // line 896
  1980.                 echo "                            <meta itemprop=\"worstRating\" content=\"1\">
  1981.                             <meta itemprop=\"ratingValue\" content=\"";
  1982.                 // line 897
  1983.                 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.'897$this->source); })()), "html"nulltrue);
  1984.                 echo "\">
  1985.                             <meta itemprop=\"bestRating\" content=\"5\">
  1986.                             <meta itemprop=\"reviewCount\" content=\"";
  1987.                 // line 899
  1988.                 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.'899$this->source); })()), "html"nulltrue);
  1989.                 echo "\">
  1990.                             ";
  1991.             }
  1992.             // line 901
  1993.             echo "                            <div class=\"rating-text d-flex level\"";
  1994.             if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'901$this->source); })()) > 0)) {
  1995.                 echo " itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\" ";
  1996.             }
  1997.             echo ">
  1998.                                 ";
  1999.             // line 902
  2000.             if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'902$this->source); })()) > 0)) {
  2001.                 // line 903
  2002.                 echo "                                <meta itemprop=\"address\" content=\"";
  2003.                 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.'903$this->source); })()), "city", [], "any"falsefalsefalse903), "name", [], "any"falsefalsefalse903), "html"nulltrue);
  2004.                 echo "\" />
  2005.                                 <meta itemprop=\"telephone\" content=\"";
  2006.                 // line 904
  2007.                 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.'904$this->source); })()), "phoneNumber", [], "any"falsefalsefalse904), "html"nulltrue);
  2008.                 echo "\" />
  2009.                                 <meta itemprop=\"name\" content=\"Рейтинг анкеты ";
  2010.                 // line 905
  2011.                 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.'905$this->source); })()), "name", [], "any"falsefalsefalse905), "html"nulltrue);
  2012.                 echo "\">
  2013.                                 ";
  2014.             }
  2015.             // line 907
  2016.             echo "                                <span class=\"rating-text-value";
  2017.             echo ((((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'907$this->source); })()) == 0)) ? (" zero") : (""));
  2018.             echo " mr-1\">
  2019. \t\t\t\t\t\t\t        ";
  2020.             // line 908
  2021.             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.'908$this->source); })()), "html"nulltrue);
  2022.             echo "
  2023.                                 </span>
  2024.                                 <span class=\"rating-text-count mr-2\">
  2025.                                     по ";
  2026.             // line 911
  2027.             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.'911$this->source); })()), "html"nulltrue);
  2028.             echo " ";
  2029.             if (((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'911$this->source); })()) == 1)) {
  2030.                 echo "отзыву";
  2031.             } else {
  2032.                 echo "отзывам";
  2033.             }
  2034.             // line 912
  2035.             echo "                                </span>
  2036.                             </div>
  2037.                             ";
  2038.             // line 914
  2039.             $context['_parent'] = $context;
  2040.             $context['_seq'] = twig_ensure_traversable(range(15));
  2041.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  2042.                 // line 915
  2043.                 echo "                                <div class=\"star";
  2044.                 if (((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'915$this->source); })()) >= $context["i"])) {
  2045.                     echo " mark";
  2046.                 }
  2047.                 echo "\"></div>
  2048.                             ";
  2049.             }
  2050.             $_parent $context['_parent'];
  2051.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  2052.             $context array_intersect_key($context$_parent) + $_parent;
  2053.             // line 917
  2054.             echo "                        </div>
  2055.                     </div>
  2056.                     <div class=\"row comments-main\">
  2057.                         <div class=\"col-12 col-lg-7 mb-2 mb-sm-3 mb-lg-0\">
  2058.                             ";
  2059.             // line 922
  2060.             if (((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'922$this->source); })()) > 0)) {
  2061.                 // line 923
  2062.                 echo "                                <div class=\"items-comments\" id=\"review-block-list\">
  2063.                                     <ul>
  2064.                                         ";
  2065.                 // line 925
  2066.                 $context['_parent'] = $context;
  2067.                 $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.'925$this->source); })()), "comments", [], "any"falsefalsefalse925));
  2068.                 $context['loop'] = [
  2069.                   'parent' => $context['_parent'],
  2070.                   'index0' => 0,
  2071.                   'index'  => 1,
  2072.                   'first'  => true,
  2073.                 ];
  2074.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2075.                     $length count($context['_seq']);
  2076.                     $context['loop']['revindex0'] = $length 1;
  2077.                     $context['loop']['revindex'] = $length;
  2078.                     $context['loop']['length'] = $length;
  2079.                     $context['loop']['last'] = === $length;
  2080.                 }
  2081.                 foreach ($context['_seq'] as $context["_key"] => $context["comment"]) {
  2082.                     // line 926
  2083.                     echo "                                            ";
  2084.                     $this->loadTemplate("ProfilePreview/comment.html.twig""ProfilePreview/page.html.twig"926)->display($context);
  2085.                     // line 927
  2086.                     echo "                                        ";
  2087.                     ++$context['loop']['index0'];
  2088.                     ++$context['loop']['index'];
  2089.                     $context['loop']['first'] = false;
  2090.                     if (isset($context['loop']['length'])) {
  2091.                         --$context['loop']['revindex0'];
  2092.                         --$context['loop']['revindex'];
  2093.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  2094.                     }
  2095.                 }
  2096.                 $_parent $context['_parent'];
  2097.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comment'], $context['_parent'], $context['loop']);
  2098.                 $context array_intersect_key($context$_parent) + $_parent;
  2099.                 // line 928
  2100.                 echo "                                    </ul>
  2101.                                 </div>
  2102.                             ";
  2103.             } else {
  2104.                 // line 931
  2105.                 echo "                                <div class=\"items-comments not-comments text-center empty\" id=\"review-block-list\">
  2106.                                     <div id=\"text-to-remove\">
  2107.                                         <svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\"
  2108.                                             xmlns=\"http://www.w3.org/2000/svg\">
  2109.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  2110.                                                 d=\"M20.8333 14.5C19.1536 14.5 17.5427 15.1673 16.355 16.355C15.1673 17.5427 14.5 19.1536 14.5 20.8333V82.6716L27.7525 69.4191C28.1275 69.044 28.6362 68.8333 29.1667 68.8333H79.1667C80.8464 68.8333 82.4573 68.1661 83.645 66.9783C84.8327 65.7906 85.5 64.1797 85.5 62.5V20.8333C85.5 19.1536 84.8327 17.5427 83.645 16.355C82.4573 15.1673 80.8464 14.5 79.1667 14.5H20.8333ZM13.5266 13.5266C15.4644 11.5887 18.0928 10.5 20.8333 10.5H79.1667C81.9072 10.5 84.5356 11.5887 86.4734 13.5266C88.4113 15.4644 89.5 18.0928 89.5 20.8333V62.5C89.5 65.2406 88.4113 67.8689 86.4734 69.8068C84.5356 71.7446 81.9072 72.8333 79.1667 72.8333H29.9951L13.9142 88.9142C13.3422 89.4862 12.482 89.6573 11.7346 89.3478C10.9873 89.0382 10.5 88.3089 10.5 87.5V20.8333C10.5 18.0928 11.5887 15.4644 13.5266 13.5266Z\"
  2111.                                                 fill=\"#595959\"/>
  2112.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  2113.                                                 d=\"M37.722 48.245C39.4121 46.7824 41.65 46 43.9333 46H56.0667C58.35 46 60.5879 46.7824 62.278 48.245C63.9773 49.7155 65 51.7773 65 54V57C65 58.1046 64.1046 59 63 59C61.8954 59 61 58.1046 61 57V54C61 53.0401 60.5618 52.0496 59.6605 51.2697C58.7502 50.4819 57.461 50 56.0667 50H43.9333C42.539 50 41.2498 50.4819 40.3395 51.2697C39.4382 52.0496 39 53.0401 39 54V57C39 58.1046 38.1046 59 37 59C35.8954 59 35 58.1046 35 57V54C35 51.7773 36.0227 49.7155 37.722 48.245Z\"
  2114.                                                 fill=\"#595959\"/>
  2115.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  2116.                                                 d=\"M50.5 29C47.4624 29 45 31.4624 45 34.5C45 37.5376 47.4624 40 50.5 40C53.5376 40 56 37.5376 56 34.5C56 31.4624 53.5376 29 50.5 29ZM41 34.5C41 29.2533 45.2533 25 50.5 25C55.7467 25 60 29.2533 60 34.5C60 39.7467 55.7467 44 50.5 44C45.2533 44 41 39.7467 41 34.5Z\"
  2117.                                                 fill=\"#595959\"/>
  2118.                                         </svg>
  2119.                                         <p id=\"text-to-remove\">К этой анкете ещё нет ни одного отзыва. Вы можете быть первым</p>
  2120.                                     </div>
  2121.                                     <ul>
  2122.                                     </ul>
  2123.                                 </div>
  2124.                             ";
  2125.             }
  2126.             // line 952
  2127.             echo "                        </div>
  2128.                         <div class=\"col-12 col-lg-5\">
  2129.                             ";
  2130.             // line 954
  2131.             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.'954$this->source); })()), "user", [], "any"falsefalsefalse954))) {
  2132.                 // line 955
  2133.                 echo "                                <div class=\"review-form\" id=\"review-form-comment\">
  2134.                                     ";
  2135.                 // line 957
  2136.                 echo "                                </div>
  2137.                                 <div
  2138.                                         class=\"dialog-container\"
  2139.                                         id=\"form-dialog\"
  2140.                                         aria-hidden=\"true\"
  2141.                                         aria-labelledby=\"form-dialog-title\"
  2142.                                         aria-describedby=\"form-dialog-description\"
  2143.                                     >
  2144.                                     <div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
  2145.                                     <div class=\"dialog-content\" role=\"document\">
  2146.                                         <div class=\"dialog-header\">
  2147.                                         <button
  2148.                                             data-a11y-dialog-hide
  2149.                                             class=\"dialog-close\"
  2150.                                             aria-label=\"Close this dialog window\"
  2151.                                         >
  2152.                                             <svg class=\"dialog-close__icon\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\"/></svg>
  2153.                                         </button>
  2154.                                         </div>
  2155.                                         <div class=\"dialog-body\">
  2156.                                         </div>
  2157.                                     </div>
  2158.                                 </div>
  2159.                             ";
  2160.             }
  2161.             // line 982
  2162.             echo "                        </div>
  2163.                     </div>
  2164.                 </section>
  2165.             ";
  2166.         }
  2167.         // line 986
  2168.         echo "
  2169.         </div>
  2170.         <div class=\"model-aside order-lg-1 mb-3 pr-3 pr-xl-4\">
  2171.             <div class=\"model-aside__preview mb-1 d-none d-lg-block rounding\" id=\"girl-avatar__big\" style=\"--rounding:20px\">
  2172.                 ";
  2173.         // line 990
  2174.         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.'990$this->source); })()), "deleted", [], "any"falsefalsefalse990)) {
  2175.             // line 991
  2176.             echo "                    <a href=\"";
  2177.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg""basicConfig"), "html"nulltrue);
  2178.             echo "\" class=\"girl-avatar__small\">
  2179.                         <img itemprop=\"contentUrl\" src=\"";
  2180.             // line 992
  2181.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg"), "html"nulltrue);
  2182.             echo "\"
  2183.                              alt=\"Анкета ";
  2184.             // line 993
  2185.             echo twig_escape_filter($this->env$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.'993$this->source); })()), "name", [], "any"falsefalsefalse993)), "html"nulltrue);
  2186.             echo " удалена\"
  2187.                              class=\"img-fluid\">
  2188.                     </a>
  2189.                 ";
  2190.         } else {
  2191.             // line 997
  2192.             echo "                    ";
  2193.             $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.'997$this->source); })()));
  2194.             // line 998
  2195.             echo "                    ";
  2196.             if ((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'998$this->source); })())) {
  2197.                 // line 999
  2198.                 echo "                        ";
  2199.                 $context["station_alt"] = "";
  2200.                 // line 1000
  2201.                 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.'1000$this->source); })()), "stations", [], "any"falsefalsefalse1000)) > 0)) {
  2202.                     // line 1001
  2203.                     $context["station_alt"] = twig_first($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.'1001$this->source); })()), "stations", [], "any"falsefalsefalse1001));
  2204.                 }
  2205.                 // line 1003
  2206.                 $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.'1003$this->source); })()), "name", [], "any"falsefalsefalse1003)) . ", ") . $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.'1003$this->source); })()), "personParameters", [], "any"falsefalsefalse1003), "age", [], "any"falsefalsefalse1003))) . (((isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'1003$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.'1003$this->source); })()), "name", [], "any"falsefalsefalse1003)))) : (""))) . " в Москве") . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse1003), "phone", [], "any"truetruefalse1003)) ? ((", тел. " 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.'1003$this->source); })()), "seo", [], "any"falsefalsefalse1003), "phone", [], "any"falsefalsefalse1003))) : (""))) . ", объявление ") . 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.'1003$this->source); })()), "id", [], "any"falsefalsefalse1003));
  2207.                 // line 1004
  2208.                 echo "                        ";
  2209.                 // line 1005
  2210.                 echo "                            <img itemprop=\"contentUrl\" src=\"";
  2211.                 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.'1005$this->source); })()), "path", [], "any"falsefalsefalse1005), "profile_media""357x500""jpg"), "html"nulltrue);
  2212.                 echo "\"
  2213.                                  class=\"img-fluid\"
  2214.                                 data-type=\"lg\"
  2215.                                 data-index-lg=\"0\"
  2216.                                 alt=\"";
  2217.                 // line 1009
  2218.                 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.'1009$this->source); })()), "html"nulltrue);
  2219.                 echo "\">
  2220.                         ";
  2221.                 // line 1011
  2222.                 echo "                    ";
  2223.             }
  2224.             // line 1012
  2225.             echo "                ";
  2226.         }
  2227.         // line 1013
  2228.         echo "                ";
  2229.         if (($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.'1013$this->source); })()), "user", [], "any"falsefalsefalse1013)) &&  !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.'1013$this->source); })()), "deleted", [], "any"falsefalsefalse1013))) {
  2230.             // line 1014
  2231.             echo "                    <button type=\"button\"
  2232.                             data-url-add=\"";
  2233.             // line 1015
  2234.             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.'1015$this->source); })()), "id", [], "any"falsefalsefalse1015)]), "html"nulltrue);
  2235.             echo "\"
  2236.                             data-url-remove=\"";
  2237.             // line 1016
  2238.             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.'1016$this->source); })()), "id", [], "any"falsefalsefalse1016)]), "html"nulltrue);
  2239.             echo "\"
  2240.                             title=\"Добавить в избранное\"
  2241.                             ";
  2242.             // line 1018
  2243.             if ($this->extensions['App\Twig\UserExtension']->isProfileInFavourites((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'1018$this->source); })()))) {
  2244.                 // line 1019
  2245.                 echo "                            class=\"btn favorite like\" id=\"favorite\">
  2246.                         ";
  2247.             } else {
  2248.                 // line 1021
  2249.                 echo "                            class=\"btn favorite unlike\" id=\"favorite\">
  2250.                         ";
  2251.             }
  2252.             // line 1023
  2253.             echo "                        <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  2254.                             <rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
  2255.                             <path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
  2256.                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
  2257.                         </svg>
  2258.                     </button>
  2259.                 ";
  2260.         }
  2261.         // line 1030
  2262.         echo "            </div>
  2263.             ";
  2264.         // line 1031
  2265.         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.'1031$this->source); })()), "photos", [], "any"falsefalsefalse1031), 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.'1031$this->source); })()), "selfies", [], "any"falsefalsefalse1031), 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.'1031$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse1031), 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.'1031$this->source); })()), "deleted", [], "any"falsefalsefalse1031)], 1031$context$this->getSourceContext()) == "true")) {
  2266.             // line 1032
  2267.             echo "                <div class=\"model-aside__images model-aside__images--aside\">
  2268.                     <ul class=\"nav nav-pills list-unstyled m-0 p-0 d-flex\" id=\"model-tab\" role=\"tablist\">
  2269.                         ";
  2270.             // line 1034
  2271.             $context["currentPage"] = "";
  2272.             // line 1035
  2273.             echo "                        ";
  2274.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse1035) && (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.'1035$this->source); })()), "photos", [], "any"falsefalsefalse1035)) > 0))) {
  2275.                 $context["currentPage"] = "photo";
  2276.                 // line 1036
  2277.                 echo "                        <li class=\"nav-item flex-fill\">
  2278.                             <a class=\"active\" id=\"model-photo-tab\" data-toggle=\"pill\" href=\"#model-photo\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
  2279.                                     <svg class=\"icon d-inline-block\">
  2280.                                         <use xlink:href=\"";
  2281.                 // line 1039
  2282.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2283.                 echo "#icon-photo-thumb\"></use>
  2284.                                     </svg>
  2285.                                 Фото
  2286.                             </a>
  2287.                         </li>
  2288.                         ";
  2289.             }
  2290.             // line 1045
  2291.             echo "                        ";
  2292.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse1045) && (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.'1045$this->source); })()), "selfies", [], "any"falsefalsefalse1045)) > 0))) {
  2293.                 $context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1045$this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1045$this->source); })())));
  2294.                 // line 1046
  2295.                 echo "                        <li class=\"nav-item flex-fill\">
  2296.                             <a class=\"";
  2297.                 // line 1047
  2298.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1047$this->source); })()) == "selfie")) {
  2299.                     echo "active";
  2300.                 }
  2301.                 echo "\" id=\"model-selfie-tab\" data-toggle=\"pill\" href=\"#model-selfie\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
  2302.                                     <svg class=\"icon d-inline-block\">
  2303.                                         <use xlink:href=\"";
  2304.                 // line 1049
  2305.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2306.                 echo "#icon-selfie-thumb\"></use>
  2307.                                     </svg>
  2308.                                 Селфи
  2309.                             </a>
  2310.                         </li>
  2311.                         ";
  2312.             }
  2313.             // line 1055
  2314.             echo "                        ";
  2315.             if (((((false == 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.'1055$this->source); })()), "isModerationRejected", [], "any"falsefalsefalse1055)) &&  !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.'1055$this->source); })()), "deleted", [], "any"falsefalsefalse1055)) && twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse1055)) && (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.'1055$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse1055)) > 0))) {
  2316.                 $context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1055$this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1055$this->source); })())));
  2317.                 // line 1056
  2318.                 echo "                        <li class=\"nav-item flex-fill\">
  2319.                             <a class=\"";
  2320.                 // line 1057
  2321.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1057$this->source); })()) == "video")) {
  2322.                     echo "active";
  2323.                 }
  2324.                 echo "\" id=\"model-video-tab\" data-toggle=\"pill\" href=\"#model-video\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
  2325.                                     <svg class=\"icon d-inline-block\">
  2326.                                         <use xlink:href=\"";
  2327.                 // line 1059
  2328.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2329.                 echo "#icon-video-thumb\"></use>
  2330.                                     </svg>
  2331.                                 Видео
  2332.                             </a>
  2333.                         </li>
  2334.                         ";
  2335.             }
  2336.             // line 1065
  2337.             echo "                    </ul>
  2338.                     <div class=\"tab-content\" id=\"model-tabContent\">
  2339.                         ";
  2340.             // line 1067
  2341.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse1067) && (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.'1067$this->source); })()), "photos", [], "any"falsefalsefalse1067)) > 0))) {
  2342.                 // line 1068
  2343.                 echo "                            <div class=\"tab-pane fade";
  2344.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1068$this->source); })()) == "photo")) {
  2345.                     echo " show active";
  2346.                 }
  2347.                 echo "\" id=\"model-photo\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab\">
  2348.                                 <div class=\"model-aside-row d-flex flex-wrap\">
  2349.                                     ";
  2350.                 // line 1070
  2351.                 $context['_parent'] = $context;
  2352.                 $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.'1070$this->source); })()), "photos", [], "any"falsefalsefalse1070));
  2353.                 $context['loop'] = [
  2354.                   'parent' => $context['_parent'],
  2355.                   'index0' => 0,
  2356.                   'index'  => 1,
  2357.                   'first'  => true,
  2358.                 ];
  2359.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2360.                     $length count($context['_seq']);
  2361.                     $context['loop']['revindex0'] = $length 1;
  2362.                     $context['loop']['revindex'] = $length;
  2363.                     $context['loop']['length'] = $length;
  2364.                     $context['loop']['last'] = === $length;
  2365.                 }
  2366.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  2367.                     // line 1071
  2368.                     echo "\t\t\t\t\t\t\t\t\t    ";
  2369.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1071)) {
  2370.                         // line 1072
  2371.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  2372.                         $context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'1072$this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList"$context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.'1072$this->source); })()), twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse1072)], 1072$context$this->getSourceContext());
  2373.                         // line 1073
  2374.                         echo "                                            <div class=\"model-aside-col rounding\">
  2375.                                                 <a class=\"nolink\" href=\"";
  2376.                         // line 1074
  2377.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1074), "profile_media""fullsize""jpg"), "html"nulltrue);
  2378.                         echo "\">
  2379.                                                     <img class=\"img-fluid lazy\"
  2380.                                                         data-srcset=\"";
  2381.                         // line 1076
  2382.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1076), "profile_media""196x250""jpg"), "html"nulltrue);
  2383.                         echo " 196w,
  2384.                                                             ";
  2385.                         // line 1077
  2386.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1077), "profile_media""177x250""jpg"), "html"nulltrue);
  2387.                         echo " 177w,
  2388.                                                             ";
  2389.                         // line 1078
  2390.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1078), "profile_media""228x250""jpg"), "html"nulltrue);
  2391.                         echo " 228w,
  2392.                                                             ";
  2393.                         // line 1079
  2394.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1079), "profile_media""250x250""jpg"), "html"nulltrue);
  2395.                         echo " 260w\"
  2396.                                                         sizes=\"(max-width: 660px) 196px,
  2397.                                                             (max-width: 980px) 177px,
  2398.                                                             (max-width: 1125px) 228px,
  2399.                                                             260px\"
  2400.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  2401.                                                         data-src=\"";
  2402.                         // line 1085
  2403.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1085), "profile_media""250x250""jpg"), "html"nulltrue);
  2404.                         echo "\"
  2405.                                                         alt=\"";
  2406.                         // line 1086
  2407.                         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.'1086$this->source); })()), "html"nulltrue);
  2408.                         echo "\"
  2409.                                                         data-type=\"lg\"
  2410.                                                         data-index-lg=\"";
  2411.                         // line 1088
  2412.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse1088), "html"nulltrue);
  2413.                         echo "\">
  2414.                                                 </a>
  2415.                                             </div>
  2416. \t\t\t\t\t\t\t\t\t    ";
  2417.                     }
  2418.                     // line 1092
  2419.                     echo "                                    ";
  2420.                     ++$context['loop']['index0'];
  2421.                     ++$context['loop']['index'];
  2422.                     $context['loop']['first'] = false;
  2423.                     if (isset($context['loop']['length'])) {
  2424.                         --$context['loop']['revindex0'];
  2425.                         --$context['loop']['revindex'];
  2426.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  2427.                     }
  2428.                 }
  2429.                 $_parent $context['_parent'];
  2430.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  2431.                 $context array_intersect_key($context$_parent) + $_parent;
  2432.                 // line 1093
  2433.                 echo "                                </div>
  2434.                             </div>
  2435.                         ";
  2436.             }
  2437.             // line 1096
  2438.             echo "                        ";
  2439.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse1096) && (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.'1096$this->source); })()), "selfies", [], "any"falsefalsefalse1096)) > 0))) {
  2440.                 // line 1097
  2441.                 echo "                            <div class=\"tab-pane fade";
  2442.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1097$this->source); })()) == "selfie")) {
  2443.                     echo " show active";
  2444.                 }
  2445.                 echo "\" id=\"model-selfie\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab\">
  2446.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
  2447.                                     ";
  2448.                 // line 1099
  2449.                 $context['_parent'] = $context;
  2450.                 $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.'1099$this->source); })()), "selfies", [], "any"falsefalsefalse1099));
  2451.                 $context['loop'] = [
  2452.                   'parent' => $context['_parent'],
  2453.                   'index0' => 0,
  2454.                   'index'  => 1,
  2455.                   'first'  => true,
  2456.                 ];
  2457.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2458.                     $length count($context['_seq']);
  2459.                     $context['loop']['revindex0'] = $length 1;
  2460.                     $context['loop']['revindex'] = $length;
  2461.                     $context['loop']['length'] = $length;
  2462.                     $context['loop']['last'] = === $length;
  2463.                 }
  2464.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  2465.                     // line 1100
  2466.                     echo "                                        ";
  2467.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1100)) {
  2468.                         // line 1101
  2469.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  2470.                         $context["alt"] = twig_call_macro($macros["_self"], "macro__get_alt", [(isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'1101$this->source); })()), (isset($context["servicesList"]) || array_key_exists("servicesList"$context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.'1101$this->source); })()), (twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse1101) + 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.'1101$this->source); })()), "photos", [], "any"falsefalsefalse1101)))], 1101$context$this->getSourceContext());
  2471.                         // line 1102
  2472.                         echo "                                            <div class=\"model-aside-col rounding\">
  2473.                                                 <a class=\"nolink\" href=\"";
  2474.                         // line 1103
  2475.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1103), "profile_media""fullsize""jpg"), "html"nulltrue);
  2476.                         echo "\">
  2477.                                                     <img class=\"img-fluid lazy\"
  2478.                                                         data-srcset=\"";
  2479.                         // line 1105
  2480.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1105), "profile_media""196x250""jpg"), "html"nulltrue);
  2481.                         echo " 196w,
  2482. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2483.                         // line 1106
  2484.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1106), "profile_media""177x250""jpg"), "html"nulltrue);
  2485.                         echo " 177w,
  2486. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2487.                         // line 1107
  2488.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1107), "profile_media""228x250""jpg"), "html"nulltrue);
  2489.                         echo " 228w,
  2490. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2491.                         // line 1108
  2492.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1108), "profile_media""250x250""jpg"), "html"nulltrue);
  2493.                         echo " 260w\"
  2494.                                                         sizes=\"(max-width: 660px) 196px,
  2495. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
  2496. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
  2497. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
  2498.                                                         data-type=\"lg\"
  2499.                                                         data-index-lg=\"";
  2500.                         // line 1114
  2501.                         echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse1114) + 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.'1114$this->source); })()), "photos", [], "any"falsefalsefalse1114))), "html"nulltrue);
  2502.                         echo "\"
  2503.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  2504.                                                         data-src=\"";
  2505.                         // line 1116
  2506.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1116), "profile_media""250x250""jpg"), "html"nulltrue);
  2507.                         echo "\"
  2508.                                                         alt=\"";
  2509.                         // line 1117
  2510.                         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.'1117$this->source); })()), "html"nulltrue);
  2511.                         echo "\">
  2512.                                                 </a>
  2513.                                             </div>
  2514. \t\t\t\t\t\t\t\t\t    ";
  2515.                     }
  2516.                     // line 1121
  2517.                     echo "                                    ";
  2518.                     ++$context['loop']['index0'];
  2519.                     ++$context['loop']['index'];
  2520.                     $context['loop']['first'] = false;
  2521.                     if (isset($context['loop']['length'])) {
  2522.                         --$context['loop']['revindex0'];
  2523.                         --$context['loop']['revindex'];
  2524.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  2525.                     }
  2526.                 }
  2527.                 $_parent $context['_parent'];
  2528.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  2529.                 $context array_intersect_key($context$_parent) + $_parent;
  2530.                 // line 1122
  2531.                 echo "                                </div>
  2532.                             </div>
  2533.                         ";
  2534.             }
  2535.             // line 1125
  2536.             echo "                        ";
  2537.             if (((((false == 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.'1125$this->source); })()), "isModerationRejected", [], "any"falsefalsefalse1125)) &&  !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.'1125$this->source); })()), "deleted", [], "any"falsefalsefalse1125)) && twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse1125)) && (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.'1125$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse1125)) > 0))) {
  2538.                 // line 1126
  2539.                 echo "                            <div class=\"tab-pane fade";
  2540.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'1126$this->source); })()) == "video")) {
  2541.                     echo " show active";
  2542.                 }
  2543.                 echo "\" id=\"model-video\" role=\"tabpanel\" aria-labelledby=\"model-video-tab\">
  2544.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
  2545.                                     ";
  2546.                 // line 1128
  2547.                 $context['_parent'] = $context;
  2548.                 $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.'1128$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse1128));
  2549.                 foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  2550.                     // line 1129
  2551.                     echo "                                        <div class=\"model-video-container rounding\">
  2552.                                             <video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"";
  2553.                     // line 1130
  2554.                     if (twig_get_attribute($this->env$this->source$context["video"], "previewPath", [], "any"falsefalsefalse1130)) {
  2555.                         echo " poster=\"";
  2556.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["video"], "previewPath", [], "any"falsefalsefalse1130), "profile_media""fullsize"), "html"nulltrue);
  2557.                     }
  2558.                     echo "\">
  2559.                                                 <source src=\"";
  2560.                     // line 1131
  2561.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["video"], "path", [], "any"falsefalsefalse1131), "profile_media"), "html"nulltrue);
  2562.                     echo "\" type='video/mp4'/>
  2563.                                             </video>
  2564.                                         </div>
  2565.                                     ";
  2566.                 }
  2567.                 $_parent $context['_parent'];
  2568.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  2569.                 $context array_intersect_key($context$_parent) + $_parent;
  2570.                 // line 1135
  2571.                 echo "                                </div>
  2572.                             </div>
  2573.                         ";
  2574.             }
  2575.             // line 1138
  2576.             echo "                    </div>
  2577.                 </div>
  2578.             ";
  2579.         }
  2580.         // line 1141
  2581.         echo "        </div>
  2582.     </div>
  2583.     ";
  2584.         // line 1145
  2585.         echo "
  2586. \t";
  2587.         // line 1148
  2588.         echo "    <div id=\"recommendations\">";
  2589.         // line 1149
  2590.         $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.'1149$this->source); })()), "id", [], "any"falsefalsefalse1149)];
  2591.         // line 1150
  2592.         $this->loadTemplate("recommendations/_profile_recommendations.html.twig""ProfilePreview/page.html.twig"1150)->display(twig_array_merge($context, ["componentClass" => "with-profile"]));
  2593.         // line 1151
  2594.         echo "</div>
  2595.     ";
  2596.         // line 1153
  2597.         echo twig_include($this->env$context"ProfilePreview/nearest_profiles.html.twig");
  2598.         echo "
  2599.     ";
  2600.         // line 1313
  2601.         echo "
  2602.     ";
  2603.         // line 1315
  2604.         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.'1315$this->source); })()), "isActive", [], "any"falsefalsefalse1315) ||  !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.'1315$this->source); })()), "hidden", [], "any"falsefalsefalse1315))) {
  2605.             // line 1316
  2606.             echo "        <div class=\"sticky-phone sticky-phone--hide\" id=\"phone-sticky\">
  2607.             <div class=\"sticky-phone__mobile d-flex\" id=\"phone-sticky-donor\">
  2608.                 <div class=\"model-phone__element model-phone__number rounding\">
  2609.                     <button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
  2610.                         <svg class=\"models-item__phone-icon\">
  2611.                             <use xlink:href=\"";
  2612.             // line 1322
  2613.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2614.             echo "#phone\"></use>
  2615.                         </svg>
  2616.                         Показать телефон
  2617.                     </button>
  2618.                     <a href=\"tel:";
  2619.             // line 1326
  2620.             echo twig_escape_filter($this->envtwig_replace_filter(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.'1326$this->source); })()), "phoneNumber", [], "any"falsefalsefalse1326), [" " => """-" => ""]), "html"nulltrue);
  2621.             echo "\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
  2622.                         <svg class=\"models-item__phone-icon\">
  2623.                             <use xlink:href=\"";
  2624.             // line 1328
  2625.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2626.             echo "#phone\"></use>
  2627.                         </svg>
  2628.                         ";
  2629.             // line 1330
  2630.             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.'1330$this->source); })()), "phoneNumber", [], "any"falsefalsefalse1330), "html"nulltrue);
  2631.             echo "
  2632.                     </a>
  2633.                 </div>
  2634.                 ";
  2635.             // line 1333
  2636.             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.'1333$this->source); })()), "messengers", [], "any"falsefalsefalse1333), "whatsApp", [], "any"falsefalsefalse1333)) {
  2637.                 // line 1334
  2638.                 echo "                    <a class=\"sticky-phone__mobile__element sticky-phone__mobile__whatsup\" target=\"_blank\" href=\"https://wa.me/";
  2639.                 echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber"$context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.'1334$this->source); })()), "html"nulltrue);
  2640.                 echo "?text=Привет,%20";
  2641.                 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.'1334$this->source); })()), "name", [], "any"falsefalsefalse1334), "html"nulltrue);
  2642.                 echo "!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
  2643.                         <svg class=\"icon\">
  2644.                             <use xlink:href=\"";
  2645.                 // line 1336
  2646.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2647.                 echo "#icon-viber\"></use>
  2648.                         </svg>
  2649.                     </a>
  2650.                 ";
  2651.             }
  2652.             // line 1340
  2653.             echo "                ";
  2654.             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.'1340$this->source); })()), "messengers", [], "any"falsefalsefalse1340), "telegram", [], "any"falsefalsefalse1340)) {
  2655.                 // line 1341
  2656.                 echo "                    <a  class=\"sticky-phone__mobile__element sticky-phone__mobile__telegram\" target=\"_blank\" href=\"https://t.me/+";
  2657.                 echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber"$context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.'1341$this->source); })()), "html"nulltrue);
  2658.                 echo "\" title=\"Telegram\">
  2659.                         <svg class=\"icon\">
  2660.                             <use xlink:href=\"";
  2661.                 // line 1343
  2662.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2663.                 echo "#icon-messager\"></use>
  2664.                         </svg>
  2665.                     </a>
  2666.                 ";
  2667.             }
  2668.             // line 1347
  2669.             echo "            </div>
  2670.             <p class=\"sticky-phone__text color-verify\">
  2671.                 Скажите что звоните с МосПрос и я всё пойму
  2672.             </p>
  2673.         </div>
  2674.     ";
  2675.         }
  2676.         
  2677.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2678.         
  2679.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2680.         
  2681.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2682.     }
  2683.     // line 1355
  2684.     public function block_javascripts($context, array $blocks = [])
  2685.     {
  2686.         $macros $this->macros;
  2687.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  2688.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2689.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2690.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2691.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2692.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2693.         // line 1356
  2694.         echo "    ";
  2695.         // line 1357
  2696.         echo "    ";
  2697.         // line 1358
  2698.         echo "    <script src=\"/assets/vendors/lightgallery_v2/lightgallery.min.js\"></script>
  2699.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/lightgallery@2.0.0-beta.3/css/lightgallery-bundle.css\">
  2700.     ";
  2701.         // line 1387
  2702.         echo "
  2703.     <script type=\"text/javascript\">
  2704.         document.addEventListener(\"DOMContentLoaded\", () => {
  2705.             function getWidthScrollbar() {
  2706.                 let div = document.createElement('div');
  2707.                 div.style.overflowY = 'scroll';
  2708.                 div.style.width = '50px';
  2709.                 div.style.height = '50px';
  2710.                 document.body.append(div);
  2711.                 let scrollWidth = div.offsetWidth - div.clientWidth;
  2712.                 div.remove();
  2713.                 return scrollWidth;
  2714.             }
  2715.             function galleryInit()  {
  2716.                 const dynamicGallery = document.getElementById('profile-heading');
  2717.                 dynamicGallery.addEventListener('lgAfterOpen', (event) => {
  2718.                     document.body.style.overflow = 'hidden'
  2719.                     document.body.style.paddingRight = getWidthScrollbar() + 'px'
  2720.                 });
  2721.                 dynamicGallery.addEventListener('lgAfterClose', (event) => {
  2722.                     document.body.style.overflow = ''
  2723.                     document.body.style.paddingRight = '0'
  2724.                 });
  2725.                 const dynamicLG = lightGallery(dynamicGallery, {
  2726.                     dynamic: true,
  2727.                     licenseKey: \"2564-4867-3007-0501\",
  2728.                     startClass:'',
  2729.                     dynamicEl: [
  2730.                         ";
  2731.         // line 1423
  2732.         $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.'1423$this->source); })()));
  2733.         // line 1424
  2734.         echo "                        ";
  2735.         if ((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'1424$this->source); })())) {
  2736.             echo "{ src: \"";
  2737.             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.'1424$this->source); })()), "path", [], "any"falsefalsefalse1424), "profile_media""fullsize""jpg"), "html"nulltrue);
  2738.             echo "\" },";
  2739.         }
  2740.         // line 1425
  2741.         echo "                        ";
  2742.         if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse1425) && (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.'1425$this->source); })()), "photos", [], "any"falsefalsefalse1425)) > 0))) {
  2743.             // line 1426
  2744.             echo "                            ";
  2745.             $context['_parent'] = $context;
  2746.             $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.'1426$this->source); })()), "photos", [], "any"falsefalsefalse1426));
  2747.             foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  2748.                 // line 1427
  2749.                 echo "                                { src: \"";
  2750.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1427), "profile_media""fullsize""jpg"), "html"nulltrue);
  2751.                 echo "\" },
  2752.                             ";
  2753.             }
  2754.             $_parent $context['_parent'];
  2755.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  2756.             $context array_intersect_key($context$_parent) + $_parent;
  2757.             // line 1429
  2758.             echo "                        ";
  2759.         }
  2760.         // line 1430
  2761.         echo "                        ";
  2762.         if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse1430) && (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.'1430$this->source); })()), "selfies", [], "any"falsefalsefalse1430)) > 0))) {
  2763.             // line 1431
  2764.             echo "                            ";
  2765.             $context['_parent'] = $context;
  2766.             $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.'1431$this->source); })()), "selfies", [], "any"falsefalsefalse1431));
  2767.             foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  2768.                 // line 1432
  2769.                 echo "                                { src: \"";
  2770.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse1432), "profile_media""fullsize""jpg"), "html"nulltrue);
  2771.                 echo "\" },
  2772.                             ";
  2773.             }
  2774.             $_parent $context['_parent'];
  2775.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  2776.             $context array_intersect_key($context$_parent) + $_parent;
  2777.             // line 1434
  2778.             echo "                        ";
  2779.         }
  2780.         // line 1435
  2781.         echo "                        ]
  2782.                     });
  2783.                 document.addEventListener('click', function (event) {
  2784.                     const {target} = event;
  2785.                     if (target.closest('.tab-content')) {
  2786.                         event.preventDefault();
  2787.                     }
  2788.                     if (target.dataset && target.dataset.type === 'lg'){
  2789.                         const index = target.dataset.indexLg ? +target.dataset.indexLg  : 0;
  2790.                         dynamicLG.openGallery(index);
  2791.                     }
  2792.                 });
  2793.             }
  2794.             setTimeout(() => {
  2795.                 galleryInit();
  2796.             }, 600);
  2797.             //---------------------------------
  2798.             var allTabs = document.querySelectorAll('a[data-toggle=\"pill\"]');
  2799.             var contentBlock = document.getElementById('model-tabContent');
  2800.             var contentBlock2 = document.getElementById('model-tabContent_2');
  2801.             for (let i = 0; i < allTabs.length; i++) {
  2802.                 allTabs[i].addEventListener('click', clickToTab.bind(this, allTabs[i]));
  2803.             }
  2804.             function clickToTab(tab, event) {
  2805.                 event.preventDefault();
  2806.                 var id = tab.getAttribute('aria-controls');
  2807.                 setContent(id);
  2808.                 setTab(tab,id);
  2809.             }
  2810.             function setContent(id) {
  2811.                 for (let i = 0; i < contentBlock.children.length; i++) {
  2812.                     if (contentBlock.children[i].id === id){
  2813.                         contentBlock.children[i].classList.add('active')
  2814.                         contentBlock.children[i].classList.add('show')
  2815.                         contentBlock2.children[i].classList.add('active')
  2816.                         contentBlock2.children[i].classList.add('show')
  2817.                     } else {
  2818.                         contentBlock.children[i].classList.remove('active')
  2819.                         contentBlock.children[i].classList.remove('show')
  2820.                         contentBlock2.children[i].classList.remove('active')
  2821.                         contentBlock2.children[i].classList.remove('show')
  2822.                     }
  2823.                 }
  2824.             }
  2825.             function setTab(activeTab, id) {
  2826.                 for (let i = 0; i < allTabs.length; i++) {
  2827.                    allTabs[i].classList.remove('active')
  2828.                 }
  2829.                 activeTab.classList.add('active')
  2830.             }
  2831.             // ------------------------------------
  2832.             var servicesBlock = document.getElementById('services_items');
  2833.             if (!servicesBlock) return;
  2834.             var servicesExtendBlock = servicesBlock.nextElementSibling;
  2835.             var servicesType = servicesBlock.dataset.type;
  2836.             switch (servicesBlock.childElementCount) {
  2837.                 case 0:
  2838.                     servicesExtendBlock.classList.add('modal-services__extend__items--no-services')
  2839.                     break;
  2840.                 default:
  2841.                     servicesBlock.classList.add(`modal-services__items--count-\${servicesBlock.childElementCount}`)
  2842.                     break;
  2843.             }
  2844.             if (servicesExtendBlock.children[0].childElementCount === 0){
  2845.                 servicesExtendBlock.classList.add('modal-services__extend__items--no-extend-services')
  2846.                 if (servicesBlock.childElementCount === 0){
  2847.                     servicesExtendBlock.parentElement.parentElement.classList.add('d-none');
  2848.                 }
  2849.             }
  2850.         });
  2851. \t\twindow.comment_data = {
  2852. \t\t\t'urlCreate': '";
  2853.         // line 1522
  2854.         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.'1522$this->source); })()), "id", [], "any"falsefalsefalse1522)]), "html"nulltrue);
  2855.         echo "',
  2856. \t\t\t'urlGet': '";
  2857.         // line 1523
  2858.         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.'1523$this->source); })()), "id", [], "any"falsefalsefalse1523)]), "html"nulltrue);
  2859.         echo "',
  2860. \t\t\t'sitekey': \"";
  2861.         // line 1524
  2862.         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.'1524$this->source); })()), "html"nulltrue);
  2863.         echo "\",
  2864. \t\t\t'registrationUrl': \"/signup/\"
  2865. \t\t};
  2866. \t</script>
  2867. \t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  2868.     ";
  2869.         // line 1530
  2870.         $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.'1530$this->source); })()), "id", [], "any"falsefalsefalse1530)];
  2871.         // line 1531
  2872.         echo "\t";
  2873.         $this->displayParentBlock("javascripts"$context$blocks);
  2874.         echo "
  2875.     <script>
  2876.         window._mp = {
  2877.             stations: {";
  2878.         // line 1535
  2879.         $context['_parent'] = $context;
  2880.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
  2881.         $context['loop'] = [
  2882.           'parent' => $context['_parent'],
  2883.           'index0' => 0,
  2884.           'index'  => 1,
  2885.           'first'  => true,
  2886.         ];
  2887.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2888.             $length count($context['_seq']);
  2889.             $context['loop']['revindex0'] = $length 1;
  2890.             $context['loop']['revindex'] = $length;
  2891.             $context['loop']['length'] = $length;
  2892.             $context['loop']['last'] = === $length;
  2893.         }
  2894.         foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  2895.             // line 1536
  2896.             echo "\"";
  2897.             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"falsefalsefalse1536)), "html"nulltrue);
  2898.             echo "\": \"";
  2899.             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"falsefalsefalse1536), "uriIdentity", [], "any"falsefalsefalse1536), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse1536)]), "html"nulltrue);
  2900.             echo "\"";
  2901.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse1536)) {
  2902.                 echo ",";
  2903.             }
  2904.             ++$context['loop']['index0'];
  2905.             ++$context['loop']['index'];
  2906.             $context['loop']['first'] = false;
  2907.             if (isset($context['loop']['length'])) {
  2908.                 --$context['loop']['revindex0'];
  2909.                 --$context['loop']['revindex'];
  2910.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  2911.             }
  2912.         }
  2913.         $_parent $context['_parent'];
  2914.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  2915.         $context array_intersect_key($context$_parent) + $_parent;
  2916.         // line 1538
  2917.         echo "}
  2918.         };
  2919.         (function() {
  2920.             let isRenderRecommendationsWidget = false;
  2921.             let isRenderBotWidget = false;
  2922.             let isRenderRecentlyViewedWidget = false;
  2923.             function loadWidgets() {
  2924.                 if (!isRenderRecommendationsWidget) {
  2925.                     isRenderRecommendationsWidget = true;
  2926.                     console.log(window.Recommendation)
  2927.                     window.Recommendation.addViewedProfile(";
  2928.         // line 1549
  2929.         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.'1549$this->source); })()), "id", [], "any"falsefalsefalse1549), "html"nulltrue);
  2930.         echo ")
  2931.                 }
  2932.                 if (!isRenderBotWidget) {
  2933.                     isRenderBotWidget = true;
  2934.                     window.profileBotHelper.addViewedProfile(";
  2935.         // line 1553
  2936.         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.'1553$this->source); })()), "id", [], "any"falsefalsefalse1553), "html"nulltrue);
  2937.         echo ");
  2938.                 }
  2939.                 if (!isRenderRecentlyViewedWidget) {
  2940.                     isRenderRecentlyViewedWidget = true;
  2941.                     window.recentlyViewed.addViewedProfile(";
  2942.         // line 1557
  2943.         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.'1557$this->source); })()), "id", [], "any"falsefalsefalse1557), "html"nulltrue);
  2944.         echo ");
  2945.                 }
  2946.                 //const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
  2947.             }
  2948.             window.addEventListener('load', () => {
  2949.                 try {
  2950.                     loadWidgets();
  2951.                 } catch (error) {
  2952.                     console.error(error);
  2953.                 }
  2954.             })
  2955.             document.addEventListener('DOMContentLoaded', function() {
  2956.                 window.increase_views(";
  2957.         // line 1570
  2958.         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.'1570$this->source); })()), "id", [], "any"falsefalsefalse1570), "html"nulltrue);
  2959.         echo ");
  2960.             });
  2961.             document.addEventListener(\"recommendations:ready\", () => {
  2962.                 try {
  2963.                     loadWidgets();
  2964.                 } catch (error) {
  2965.                     console.error(error);
  2966.                 }
  2967.             });
  2968.         })();
  2969. \t</script>
  2970. ";
  2971.         
  2972.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2973.         
  2974.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2975.         
  2976.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2977.     }
  2978.     // line 4
  2979.     public function macro__show_tabs($__photos__ null$__selfies__ null$__videos__ null$__hasDeleted__ null, ...$__varargs__)
  2980.     {
  2981.         $macros $this->macros;
  2982.         $context $this->env->mergeGlobals([
  2983.             "photos" => $__photos__,
  2984.             "selfies" => $__selfies__,
  2985.             "videos" => $__videos__,
  2986.             "hasDeleted" => $__hasDeleted__,
  2987.             "varargs" => $__varargs__,
  2988.         ]);
  2989.         $blocks = [];
  2990.         ob_start();
  2991.         try {
  2992.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  2993.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  2994.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2995.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  2996.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2997.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  2998.             // line 5
  2999.             if ((isset($context["hasDeleted"]) || array_key_exists("hasDeleted"$context) ? $context["hasDeleted"] : (function () { throw new RuntimeError('Variable "hasDeleted" does not exist.'5$this->source); })())) {
  3000.                 echo "false
  3001.     ";
  3002.             } elseif ((((            // line 6
  3003. 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.'6$this->source); })())) > 0)) || (            // line 7
  3004. 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.'7$this->source); })())) > 0))) || (            // line 8
  3005. 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.'8$this->source); })())) > 0)))) {
  3006.                 // line 9
  3007.                 echo "true";
  3008.             } else {
  3009.                 echo "false";
  3010.             }
  3011.             
  3012.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3013.             
  3014.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3015.             
  3016.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  3017.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  3018.         } finally {
  3019.             ob_end_clean();
  3020.         }
  3021.     }
  3022.     // line 12
  3023.     public function macro__get_alt($__profile__ null$__servicesList__ null$__index__ null, ...$__varargs__)
  3024.     {
  3025.         $macros $this->macros;
  3026.         $context $this->env->mergeGlobals([
  3027.             "profile" => $__profile__,
  3028.             "servicesList" => $__servicesList__,
  3029.             "index" => $__index__,
  3030.             "varargs" => $__varargs__,
  3031.         ]);
  3032.         $blocks = [];
  3033.         ob_start();
  3034.         try {
  3035.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  3036.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_alt"));
  3037.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  3038.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_alt"));
  3039.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3040.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_get_alt"));
  3041.             // line 13
  3042.             $context["station_alt"] = "";
  3043.             // line 14
  3044.             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.'14$this->source); })()), "stations", [], "any"falsefalsefalse14)) > 0)) {
  3045.                 // line 15
  3046.                 $context["station_alt"] = twig_first($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.'15$this->source); })()), "stations", [], "any"falsefalsefalse15));
  3047.             }
  3048.             // line 17
  3049.             echo twig_escape_filter($this->env, ((((((($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.'17$this->source); })()), "name", [], "any"falsefalsefalse17)) . ", возраст ") . 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.'17$this->source); })()), "personParameters", [], "any"falsefalsefalse17), "age", [], "any"falsefalsefalse17)) . (((isset($context["station_alt"]) || array_key_exists("station_alt"$context) ? $context["station_alt"] : (function () { throw new RuntimeError('Variable "station_alt" does not exist.'17$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.'17$this->source); })()), "name", [], "any"falsefalsefalse17)))) : (""))) . ", ") . twig_lower_filter($this->env$this->extensions['App\Twig\SeoExtension']->morphing((isset($context["servicesList"]) || array_key_exists("servicesList"$context) ? $context["servicesList"] : (function () { throw new RuntimeError('Variable "servicesList" does not exist.'17$this->source); })()), (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.'17$this->source); })()), "id", [], "any"falsefalsefalse17) + (13 * (isset($context["index"]) || array_key_exists("index"$context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.'17$this->source); })())))))) . ", объявление ") . 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.'17$this->source); })()), "id", [], "any"falsefalsefalse17)), "html"nulltrue);
  3050.             
  3051.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3052.             
  3053.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3054.             
  3055.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  3056.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  3057.         } finally {
  3058.             ob_end_clean();
  3059.         }
  3060.     }
  3061.     // line 20
  3062.     public function macro__data_wrapper($__text__ null$__value__ null$__shortText__ "", ...$__varargs__)
  3063.     {
  3064.         $macros $this->macros;
  3065.         $context $this->env->mergeGlobals([
  3066.             "text" => $__text__,
  3067.             "value" => $__value__,
  3068.             "shortText" => $__shortText__,
  3069.             "varargs" => $__varargs__,
  3070.         ]);
  3071.         $blocks = [];
  3072.         ob_start();
  3073.         try {
  3074.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  3075.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_data_wrapper"));
  3076.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  3077.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_data_wrapper"));
  3078.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3079.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_data_wrapper"));
  3080.             // line 21
  3081.             echo "    ";
  3082.             $context["value"] = (((isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'21$this->source); })())) ? ((isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'21$this->source); })())) : ("-"));
  3083.             // line 22
  3084.             echo "    ";
  3085.             echo twig_escape_filter($this->env, (isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'22$this->source); })()), "html"nulltrue);
  3086.             echo "
  3087. ";
  3088.             
  3089.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3090.             
  3091.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3092.             
  3093.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  3094.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  3095.         } finally {
  3096.             ob_end_clean();
  3097.         }
  3098.     }
  3099.     // line 25
  3100.     public function macro__time_to_work($__profile__ null, ...$__varargs__)
  3101.     {
  3102.         $macros $this->macros;
  3103.         $context $this->env->mergeGlobals([
  3104.             "profile" => $__profile__,
  3105.             "varargs" => $__varargs__,
  3106.         ]);
  3107.         $blocks = [];
  3108.         ob_start();
  3109.         try {
  3110.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  3111.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_time_to_work"));
  3112.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  3113.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_time_to_work"));
  3114.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3115.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_time_to_work"));
  3116.             // line 26
  3117.             echo "    ";
  3118.             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.'26$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse26), "timeFrom", [], "any"falsefalsefalse26) == "") && (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); })()), "phoneCallRestrictions", [], "any"falsefalsefalse26), "timeTo", [], "any"falsefalsefalse26) == "")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 27
  3119. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'27$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse27), "timeFrom", [], "any"falsefalsefalse27) == 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.'27$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse27), "timeTo", [], "any"falsefalsefalse27)))) {
  3120.                 // line 28
  3121.                 echo "        ";
  3122.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Круглосуточно", [], "profile");
  3123.                 // line 29
  3124.                 echo "    ";
  3125.             } else {
  3126.                 // line 30
  3127.                 echo "        с
  3128.         ";
  3129.                 // line 31
  3130.                 (((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.'31$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse31), "timeFrom", [], "any"falsefalsefalse31) == "")) ? (print (0)) : (print (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.'31$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse31), "timeFrom", [], "any"falsefalsefalse31), "html"nulltrue))));
  3131.                 echo "
  3132.         до
  3133.         ";
  3134.                 // line 33
  3135.                 (((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.'33$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse33), "timeTo", [], "any"falsefalsefalse33) == "")) ? (print (0)) : (print (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.'33$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse33), "timeTo", [], "any"falsefalsefalse33), "html"nulltrue))));
  3136.                 echo "
  3137.     ";
  3138.             }
  3139.             
  3140.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3141.             
  3142.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3143.             
  3144.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  3145.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  3146.         } finally {
  3147.             ob_end_clean();
  3148.         }
  3149.     }
  3150.     /**
  3151.      * @codeCoverageIgnore
  3152.      */
  3153.     public function getTemplateName()
  3154.     {
  3155.         return "ProfilePreview/page.html.twig";
  3156.     }
  3157.     /**
  3158.      * @codeCoverageIgnore
  3159.      */
  3160.     public function isTraitable()
  3161.     {
  3162.         return false;
  3163.     }
  3164.     /**
  3165.      * @codeCoverageIgnore
  3166.      */
  3167.     public function getDebugInfo()
  3168.     {
  3169.         return array (  3260 => 33,  3255 => 31,  3252 => 30,  3249 => 29,  3246 => 28,  3244 => 27,  3242 => 26,  3220 => 25,  3199 => 22,  3196 => 21,  3172 => 20,  3154 => 17,  3151 => 15,  3149 => 14,  3147 => 13,  3123 => 12,  3102 => 9,  3100 => 8,  3099 => 7,  3098 => 6,  3094 => 5,  3069 => 4,  3043 => 1570,  3027 => 1557,  3020 => 1553,  3013 => 1549,  3000 => 1538,  2979 => 1536,  2962 => 1535,  2955 => 1531,  2953 => 1530,  2944 => 1524,  2940 => 1523,  2936 => 1522,  2847 => 1435,  2844 => 1434,  2835 => 1432,  2830 => 1431,  2827 => 1430,  2824 => 1429,  2815 => 1427,  2810 => 1426,  2807 => 1425,  2800 => 1424,  2798 => 1423,  2760 => 1387,  2755 => 1358,  2753 => 1357,  2751 => 1356,  2738 => 1355,  2719 => 1347,  2712 => 1343,  2706 => 1341,  2703 => 1340,  2696 => 1336,  2688 => 1334,  2686 => 1333,  2680 => 1330,  2675 => 1328,  2670 => 1326,  2663 => 1322,  2655 => 1316,  2653 => 1315,  2649 => 1313,  2644 => 1153,  2640 => 1151,  2638 => 1150,  2636 => 1149,  2634 => 1148,  2630 => 1145,  2626 => 1141,  2621 => 1138,  2616 => 1135,  2606 => 1131,  2599 => 1130,  2596 => 1129,  2592 => 1128,  2584 => 1126,  2581 => 1125,  2576 => 1122,  2562 => 1121,  2555 => 1117,  2551 => 1116,  2546 => 1114,  2537 => 1108,  2533 => 1107,  2529 => 1106,  2525 => 1105,  2520 => 1103,  2517 => 1102,  2514 => 1101,  2511 => 1100,  2494 => 1099,  2486 => 1097,  2483 => 1096,  2478 => 1093,  2464 => 1092,  2457 => 1088,  2452 => 1086,  2448 => 1085,  2439 => 1079,  2435 => 1078,  2431 => 1077,  2427 => 1076,  2422 => 1074,  2419 => 1073,  2416 => 1072,  2413 => 1071,  2396 => 1070,  2388 => 1068,  2386 => 1067,  2382 => 1065,  2373 => 1059,  2366 => 1057,  2363 => 1056,  2359 => 1055,  2350 => 1049,  2343 => 1047,  2340 => 1046,  2336 => 1045,  2327 => 1039,  2322 => 1036,  2318 => 1035,  2316 => 1034,  2312 => 1032,  2310 => 1031,  2307 => 1030,  2298 => 1023,  2294 => 1021,  2290 => 1019,  2288 => 1018,  2283 => 1016,  2279 => 1015,  2276 => 1014,  2273 => 1013,  2270 => 1012,  2267 => 1011,  2263 => 1009,  2255 => 1005,  2253 => 1004,  2251 => 1003,  2248 => 1001,  2246 => 1000,  2243 => 999,  2240 => 998,  2237 => 997,  2230 => 993,  2226 => 992,  2221 => 991,  2219 => 990,  2213 => 986,  2207 => 982,  2180 => 957,  2177 => 955,  2175 => 954,  2171 => 952,  2148 => 931,  2143 => 928,  2129 => 927,  2126 => 926,  2109 => 925,  2105 => 923,  2103 => 922,  2096 => 917,  2085 => 915,  2081 => 914,  2077 => 912,  2069 => 911,  2063 => 908,  2058 => 907,  2053 => 905,  2049 => 904,  2044 => 903,  2042 => 902,  2035 => 901,  2030 => 899,  2025 => 897,  2022 => 896,  2020 => 895,  2012 => 894,  2008 => 893,  2004 => 891,  2001 => 890,  1999 => 889,  1993 => 886,  1989 => 885,  1985 => 884,  1977 => 878,  1945 => 765,  1939 => 764,  1936 => 763,  1934 => 762,  1929 => 760,  1924 => 758,  1920 => 756,  1917 => 755,  1911 => 754,  1908 => 753,  1905 => 752,  1902 => 751,  1897 => 750,  1892 => 749,  1889 => 748,  1887 => 747,  1882 => 744,  1876 => 743,  1873 => 742,  1871 => 741,  1866 => 739,  1860 => 736,  1856 => 734,  1853 => 733,  1847 => 732,  1844 => 731,  1841 => 730,  1838 => 729,  1833 => 728,  1828 => 727,  1825 => 726,  1823 => 725,  1816 => 720,  1810 => 719,  1807 => 718,  1804 => 717,  1802 => 715,  1799 => 714,  1793 => 713,  1789 => 711,  1783 => 709,  1780 => 708,  1774 => 707,  1769 => 705,  1764 => 704,  1758 => 701,  1755 => 700,  1753 => 699,  1748 => 697,  1745 => 696,  1743 => 695,  1738 => 693,  1735 => 692,  1733 => 691,  1726 => 690,  1723 => 689,  1720 => 688,  1716 => 687,  1712 => 686,  1705 => 685,  1702 => 684,  1699 => 682,  1695 => 680,  1689 => 679,  1685 => 677,  1682 => 676,  1676 => 674,  1673 => 673,  1667 => 672,  1662 => 670,  1656 => 669,  1653 => 668,  1647 => 665,  1644 => 664,  1642 => 663,  1637 => 661,  1634 => 660,  1632 => 659,  1627 => 657,  1624 => 656,  1621 => 655,  1619 => 654,  1612 => 653,  1609 => 652,  1606 => 651,  1602 => 650,  1596 => 649,  1592 => 647,  1586 => 646,  1582 => 644,  1576 => 642,  1573 => 641,  1567 => 640,  1562 => 638,  1555 => 637,  1552 => 636,  1546 => 633,  1543 => 632,  1541 => 631,  1536 => 629,  1533 => 628,  1531 => 627,  1526 => 625,  1523 => 624,  1520 => 623,  1518 => 622,  1511 => 621,  1508 => 620,  1505 => 619,  1501 => 618,  1496 => 615,  1490 => 614,  1486 => 612,  1480 => 610,  1477 => 609,  1471 => 608,  1466 => 606,  1459 => 605,  1453 => 602,  1450 => 601,  1448 => 600,  1443 => 598,  1440 => 597,  1438 => 596,  1433 => 594,  1430 => 593,  1428 => 592,  1421 => 591,  1418 => 590,  1415 => 589,  1411 => 588,  1407 => 586,  1404 => 585,  1402 => 584,  1399 => 583,  1393 => 582,  1390 => 581,  1387 => 580,  1384 => 579,  1381 => 578,  1378 => 577,  1373 => 576,  1371 => 575,  1368 => 574,  1363 => 573,  1359 => 572,  1356 => 571,  1353 => 570,  1351 => 569,  1337 => 568,  1332 => 565,  1325 => 555,  1316 => 549,  1307 => 543,  1298 => 536,  1293 => 533,  1288 => 530,  1278 => 526,  1271 => 525,  1268 => 524,  1264 => 523,  1256 => 521,  1253 => 520,  1248 => 517,  1234 => 516,  1227 => 512,  1223 => 511,  1218 => 509,  1209 => 503,  1205 => 502,  1201 => 501,  1197 => 500,  1192 => 498,  1189 => 497,  1186 => 496,  1183 => 495,  1166 => 494,  1158 => 492,  1155 => 491,  1150 => 488,  1136 => 487,  1129 => 483,  1125 => 482,  1120 => 480,  1111 => 474,  1107 => 473,  1103 => 472,  1099 => 471,  1094 => 469,  1091 => 468,  1088 => 467,  1085 => 466,  1068 => 465,  1060 => 463,  1058 => 462,  1054 => 460,  1045 => 454,  1038 => 452,  1035 => 451,  1031 => 450,  1022 => 444,  1015 => 442,  1012 => 441,  1008 => 440,  999 => 434,  994 => 431,  990 => 430,  988 => 429,  984 => 427,  982 => 426,  972 => 419,  965 => 414,  956 => 408,  948 => 402,  946 => 401,  941 => 400,  936 => 398,  933 => 397,  930 => 396,  925 => 394,  922 => 393,  919 => 392,  916 => 391,  914 => 390,  910 => 388,  903 => 387,  896 => 386,  887 => 385,  881 => 384,  874 => 379,  870 => 377,  864 => 374,  861 => 373,  859 => 372,  852 => 367,  848 => 365,  842 => 362,  839 => 361,  837 => 360,  830 => 355,  828 => 354,  822 => 349,  820 => 348,  814 => 343,  812 => 342,  809 => 340,  805 => 339,  801 => 338,  797 => 337,  793 => 336,  789 => 335,  786 => 334,  783 => 333,  781 => 332,  774 => 327,  772 => 326,  766 => 321,  764 => 320,  758 => 315,  756 => 314,  748 => 307,  744 => 305,  741 => 304,  727 => 303,  724 => 302,  721 => 301,  715 => 297,  707 => 294,  701 => 293,  698 => 292,  695 => 291,  692 => 290,  689 => 289,  686 => 288,  683 => 287,  666 => 286,  661 => 284,  658 => 283,  636 => 280,  634 => 279,  631 => 278,  614 => 277,  609 => 274,  607 => 273,  604 => 272,  597 => 267,  594 => 265,  589 => 262,  585 => 261,  583 => 260,  573 => 252,  564 => 245,  560 => 243,  557 => 242,  543 => 241,  537 => 240,  519 => 239,  517 => 238,  507 => 230,  504 => 223,  500 => 221,  496 => 219,  489 => 215,  485 => 213,  482 => 212,  475 => 208,  467 => 206,  465 => 205,  459 => 202,  454 => 200,  449 => 198,  442 => 194,  437 => 191,  434 => 187,  431 => 186,  429 => 185,  424 => 182,  411 => 171,  409 => 170,  404 => 166,  401 => 165,  396 => 164,  394 => 163,  391 => 161,  388 => 160,  383 => 159,  381 => 158,  378 => 156,  375 => 155,  370 => 154,  368 => 153,  360 => 147,  352 => 141,  349 => 139,  345 => 136,  340 => 134,  338 => 133,  336 => 132,  333 => 130,  330 => 129,  325 => 128,  323 => 127,  320 => 125,  317 => 124,  312 => 123,  310 => 122,  307 => 120,  304 => 119,  299 => 118,  297 => 117,  289 => 111,  281 => 105,  272 => 98,  268 => 96,  264 => 94,  262 => 93,  257 => 91,  253 => 90,  250 => 89,  247 => 88,  244 => 87,  239 => 85,  231 => 81,  229 => 80,  226 => 77,  224 => 76,  222 => 75,  219 => 74,  216 => 73,  213 => 72,  207 => 69,  202 => 68,  200 => 67,  192 => 61,  185 => 57,  180 => 54,  178 => 53,  174 => 52,  168 => 50,  155 => 49,  137 => 44,  124 => 43,  97 => 41,  72 => 39,  58 => 1,  56 => 37,  40 => 1,);
  3170.     }
  3171.     public function getSourceContext()
  3172.     {
  3173.         return new Source("{% extends 'ProfilePreview/grid.html.twig' %}
  3174. {# Проверяем есть ли у нас вообще данные для табов #}
  3175. {%- macro _show_tabs(photos,selfies,videos,hasDeleted) -%}
  3176.     {% if (hasDeleted) %}false
  3177.     {% elseif (photos is defined and photos|length > 0) or
  3178.         (selfies is defined and selfies|length > 0) or
  3179.         (videos is defined and videos|length > 0)
  3180.     %}true{% else %}false{% endif %}
  3181. {%- endmacro -%}
  3182. {%- macro _get_alt(profile, servicesList, index) -%}
  3183.     {% set station_alt = '' -%}
  3184.     {% if profile.stations|length > 0 -%}
  3185.         {% set station_alt = profile.stations|first -%}
  3186.     {% endif -%}
  3187.  \t{{ profile.name|trans ~ ', возраст ' ~ profile.personParameters.age ~ (station_alt ? ', ' ~ station_alt.name|trans : '' ) ~ ', ' ~ servicesList|seo_morphing(profile.id + 13 * index)|lower ~ ', объявление ' ~ profile.id }}
  3188. {%- endmacro -%}
  3189. {% macro _data_wrapper(text, value, shortText = '') %}
  3190.     {% set value = value ? value : '-' %}
  3191.     {{ value }}
  3192. {% endmacro %}
  3193. {% macro _time_to_work(profile) %}
  3194.     {% if (profile.phoneCallRestrictions.timeFrom == '' and profile.phoneCallRestrictions.timeTo == '') or
  3195.         (profile.phoneCallRestrictions.timeFrom == profile.phoneCallRestrictions.timeTo) %}
  3196.         {% trans with {} from 'profile' %}Круглосуточно{% endtrans %}
  3197.     {% else %}
  3198.         с
  3199.         {{ profile.phoneCallRestrictions.timeFrom == '' ? 0 : profile.phoneCallRestrictions.timeFrom }}
  3200.         до
  3201.         {{ profile.phoneCallRestrictions.timeTo == '' ? 0 : profile.phoneCallRestrictions.timeTo }}
  3202.     {% endif %}
  3203. {% endmacro %}
  3204. {%- set servicesList = \"Секс классический|Секс анальный|Секс групповой|Секс лесбийский|Услуги семейной паре|Секс-игрушки|Минет в презервативе|Минет без резинки|Минет глубокий|Минет в машине|Куннилингус|Окончание на грудь|Окончание на лицо|Окончание в рот|Стриптиз профи|Стриптиз не профи|Лесби откровенное|Лесби-шоу легкое|Массаж классический|Массаж профессиональный|Массаж расслабляющий|Массаж тайский|Массаж урологический|Массаж точечный|Массаж эротический|Массаж ветка сакуры|Страпон|Анилингус делаю|Золотой дождь выдача|Золотой дождь прием|Копро выдача|Фистинг анальный|Фистинг классический|Фистинг Вам|Фистинг мне|Госпожа|Игры|Легкая доминация|Порка|Рабыня|Фетиш|Трамплинг|Бондаж|Ролевые игры|Фото/видео съемка|Эскорт|GFE|Целуюсь\" -%}
  3205. {% block name_page %}profile{% endblock %}
  3206. {% block metaRobots %}{% if profile.deleted %}<meta name=\"robots\" content=\"noindex,follow\" />{% endif %}{% endblock %}
  3207. {% block stylesheet %}
  3208.     {{ parent() }}
  3209.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\">
  3210.     <link rel=\"stylesheet\" href=\"/assets/vendors/lightgallery/css/lightgallery.min.css\">
  3211. {% endblock %}
  3212. {% block mainContainer %}
  3213.     {{ knp_menu_render('breadcrumbs', {'template': '_menu/breadcrumbs.html.twig', profile: profile }) }}
  3214.     <div class=\"d-flex flex-fill model-header\">
  3215.         <h1 class=\"border-line\" id=\"profile-heading\">{{ seo_heading() }}</h1>
  3216.         {% if profile.approved %}
  3217.             <div class=\"model-header__verification\"
  3218.                  data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
  3219.                     <svg class=\"icon\">
  3220.                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verify-new\"></use>
  3221.                     </svg>
  3222.             </div>
  3223.         {% endif %}
  3224.     </div>
  3225.     <div class=\"d-lg-flex\">
  3226.         <div class=\"modal-main flex-fill order-lg-2\">
  3227.             <div class=\"modal-info d-xxl-flex rounding\">
  3228.                 <div class=\"modal-col modal-info__items first\">
  3229.                     <div class=\"modal-info__items-preview d-block d-lg-none float-left\" id=\"girl_avatar\">
  3230.                         {% if profile.deleted %}
  3231.                                 <img itemprop=\"contentUrl\" src=\"{{ asset(\"assets/images/deleted-profiles.svg\") }}\"
  3232.                                      alt=\"Анкета {{ profile.name|trans }} удалена\"
  3233.                                      class=\"img-fluid\">
  3234.                         {% else %}
  3235.                             {% set photo = profile|avatar %}
  3236.                             {% if photo %}
  3237.                                 {% set station_alt = '' -%}
  3238.                                 {% if profile.stations|length > 0 -%}
  3239.                                     {% set station_alt = profile.stations|first -%}
  3240.                                 {% endif -%}
  3241.                                 {% set alt = profile.name|trans ~ ', ' ~ 'год'|plural(profile.personParameters.age) ~ (station_alt ? ', метро ' ~ station_alt.name|trans : '' ) ~ ' в Москве, ' ~ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') ~ ', объявление ' ~ profile.id %}
  3242.                                 <img itemprop=\"contentUrl\" src=\"{{ responsive_asset(photo.path, 'profile_media', \"357x500\", \"jpg\") }}\"
  3243.                                         class=\"img-fluid\"
  3244.                                         data-type=\"lg\"
  3245.                                         data-index-lg=\"0\"
  3246.                                         alt=\"{{ alt }}\">
  3247.                             {% endif %}
  3248.                         {% endif %}
  3249.                         {% if  is_user_customer(app.user) and not profile.deleted %}{#not app.user or#}
  3250.                             <button type=\"button\"
  3251.                                     data-url-add=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
  3252.                                     data-url-remove=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
  3253.                                     title=\"Добавить в избранное\"
  3254.                                     {% if is_profile_in_favourites(profile) %}
  3255.                                     class=\"btn favorite like\" id=\"favorite2\">
  3256.                                 {% else %}
  3257.                                     class=\"btn favorite unlike\" id=\"favorite2\">
  3258.                                 {% endif %}
  3259.                                 <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  3260.                                     <rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
  3261.                                     <path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
  3262.                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
  3263.                                 </svg>
  3264.                             </button>
  3265.                         {% endif %}
  3266.                     </div>
  3267.                     <div>
  3268.                         <div class=\"modal-info__items-block first d-flex flex-column flex-md-row\">
  3269.                             <div class=\"block-item pb-2 pb-md-0 w-100\">
  3270.                                 <div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
  3271.                                     <svg class=\"icon mr-2 clr-1\">
  3272.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-apartments\"></use>
  3273.                                     </svg>
  3274.                                     Апартаменты
  3275.                                 </div>
  3276.                                 <div class=\"block-item__description clr-1\">
  3277.                                     <p class=\"d-flex\">Час <span class=\"ml-auto\">
  3278.                                             {%- if profile.apartmentsPricing.oneHourPrice -%}
  3279.                                                 {{- profile.apartmentsPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency -}}
  3280.                                             {%- else -%}-{%- endif -%}
  3281.                                         </span></p>
  3282.                                     <p class=\"d-flex\">2 часа <span class=\"ml-auto\">
  3283.                                             {%- if profile.apartmentsPricing.twoHoursPrice -%}
  3284.                                                 {{- profile.apartmentsPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency -}}
  3285.                                             {%- else -%}-{%- endif -%}
  3286.                                         </span></p>
  3287.                                     <p class=\"d-flex\">Ночь <span class=\"ml-auto\">
  3288.                                             {%- if profile.apartmentsPricing.nightPrice -%}
  3289.                                                 {{- profile.apartmentsPricing.nightPrice }} {{ profile.city.countryCode|country_currency -}}
  3290.                                             {%- else -%}-{%- endif -%}
  3291.                                         </span></p>
  3292.                                     <p class=\"d-flex\">Экспресс <span class=\"ml-auto\">
  3293.                                             {%- if profile.expressPricing.provided -%}
  3294.                                                 {%- if profile.expressPricing.price -%}
  3295.                                                     {{- profile.expressPricing.price }} {{ profile.city.countryCode|country_currency -}}
  3296.                                                 {%- else -%}
  3297.                                                     -
  3298.                                                 {%- endif -%}
  3299.                                             {%- else -%}
  3300.                                                 -
  3301.                                             {%- endif -%}
  3302.                                         </span></p>
  3303.                                 </div>
  3304.                             </div>
  3305.                             <div class=\"block-item pl-0 pl-md-3 pl-xl-5 w-100\">
  3306.                                 <div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
  3307.                                     <svg class=\"icon mr-2 clr-2\">
  3308.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-car\"></use>
  3309.                                     </svg>
  3310.                                     Выезд
  3311.                                 </div>
  3312.                                 <div class=\"block-item__description clr-2\">
  3313.                                     <p class=\"d-flex\">Час <span class=\"ml-auto\">
  3314.                                             {%- if profile.takeOutPricing.oneHourPrice -%}
  3315.                                                 {{- profile.takeOutPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency -}}
  3316.                                             {%- else -%}-{%- endif -%}
  3317.                                         </span></p>
  3318.                                     <p class=\"d-flex\">2 часа <span class=\"ml-auto\">
  3319.                                             {%- if profile.takeOutPricing.twoHoursPrice -%}
  3320.                                                 {{- profile.takeOutPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency -}}
  3321.                                             {%- else -%}-{%- endif -%}
  3322.                                         </span></p>
  3323.                                     <p class=\"d-flex\">Ночь <span class=\"ml-auto\">
  3324.                                             {%- if profile.takeOutPricing.nightPrice -%}
  3325.                                                 {{- profile.takeOutPricing.nightPrice }} {{ profile.city.countryCode|country_currency -}}
  3326.                                             {%- else -%}-{%- endif -%}
  3327.                                         </span></p>
  3328.                                 </div>
  3329.                             </div>
  3330.                         </div>
  3331.                         {%- if profile.deleted -%}
  3332.                             <div class=\"modal-info__items-block deleted\">
  3333.                                 <svg width=\"48\" height=\"48\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  3334.                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M24 43.7647C34.9157 43.7647 43.7647 34.9157 43.7647 24C43.7647 13.0843 34.9157 4.23529 24 4.23529C13.0843 4.23529 4.23529 13.0843 4.23529 24C4.23529 34.9157 13.0843 43.7647 24 43.7647ZM24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48Z\" fill=\"#ED0C34\"/>
  3335.                                     <path d=\"M15.7647 18.3529V33.0353C15.7647 33.6344 16.0126 34.2089 16.4539 34.6325C16.8951 35.0561 17.4936 35.2941 18.1176 35.2941H29.8824C30.5064 35.2941 31.1049 35.0561 31.5461 34.6325C31.9874 34.2089 32.2353 33.6344 32.2353 33.0353V18.3529H15.7647ZM21.6471 31.9059H19.2941V21.7412H21.6471V31.9059ZM28.7059 31.9059H26.3529V21.7412H28.7059V31.9059ZM29.4329 14.9647L27.5294 12.7059H20.4706L18.5671 14.9647H13.4118V17.2235H34.5882V14.9647H29.4329Z\" fill=\"#ED0C34\"/>
  3336.                                 </svg>
  3337.                                 <p>
  3338.                                     <span class=\"title\">Девушка не работает</span>
  3339.                                     <span>Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</span>
  3340.                                 </p>
  3341.                             </div>
  3342.                         {% else %}
  3343.                             <div class=\"modal-info__items-block second\">
  3344.                                 <div class=\"d-flex flex-wrap mb-2 mb-sm-3\">
  3345.                                     <div class=\"model-phone d-flex align-items-center\" id=\"phone-sticky-donor\">
  3346.                                         {% if profile.isActive or not profile.hidden %}
  3347.                                             {% set onlyPhoneNumber = profile.phoneNumber|replace({' ': '', '-': '', '+': '', '(': '', ')': ''}) %}
  3348.                                             <!--noindex-->
  3349.                                             {# <a class=\"model-phone__element model-phone__number\" href=\"tel:{{ profile.phoneNumber }}\" rel=\"nofollow\">
  3350.                                                {{ profile.phoneNumber }}
  3351.                                             </a> #}
  3352.                                             <div class=\"model-phone__element model-phone__number rounding\">
  3353.                                                 <button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
  3354.                                                     <svg class=\"models-item__phone-icon\">
  3355.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
  3356.                                                     </svg>
  3357.                                                     Показать телефон
  3358.                                                 </button>
  3359.                                                 <!--noindex--><a href=\"tel:{{ profile.phoneNumber|replace({' ':'', '-':''}) }}\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
  3360.                                                     <svg class=\"models-item__phone-icon\">
  3361.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
  3362.                                                     </svg>
  3363.                                                     {{ profile.phoneNumber }}
  3364.                                                 </a><!--/noindex-->
  3365.                                             </div>
  3366.                                             {% if profile.messengers.whatsApp %}
  3367.                                                 <a class=\"model-phone__element model-phone__whatsup\" target=\"_blank\" href=\"https://wa.me/{{ onlyPhoneNumber }}?text=Привет,%20{{ profile.name }}!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
  3368.                                                     <svg class=\"icon\">
  3369.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-viber\"></use>
  3370.                                                     </svg>
  3371.                                                 </a>
  3372.                                             {% endif %}
  3373.                                             {% if profile.messengers.telegram %}
  3374.                                                 <div class=\"model-phone__element model-phone__telegram\" title=\"Telegram\">
  3375.                                                     <svg class=\"icon\">
  3376.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-messager\"></use>
  3377.                                                     </svg>
  3378.                                                 </div>
  3379.                                             {% endif %}
  3380.                                             <!--/noindex-->
  3381.                                         {% else %}
  3382.                                             <p class=\"model-phone__arhive m-0 color-silver\">анкета в архиве</p>
  3383.                                         {% endif %}
  3384.                                     </div>
  3385.                                     {# <div class=\"model-warning d-flex align-items-center ml-md-auto pt-2 pt-md-0\">
  3386.                                         <svg class=\"icon mr-2\">
  3387.                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-warning\"></use>
  3388.                                         </svg>
  3389.                                         Никогда не отправляйте предоплату!
  3390.                                     </div> #}
  3391.                                 </div>
  3392.                                 <p class=\"model-thank mb-2 mb-sm-3\">Скажите что звоните с МосПрос и я всё пойму</p>
  3393.                                 <div class=\"modal-info__block\">
  3394.                                     <div class=\"modal-info__element\">
  3395.                                         <div class=\"modal-info__label\">
  3396.                                             Отвечаю на
  3397.                                         </div>
  3398.                                         <div class=\"modal-info__value\">
  3399.                                             {% if profile.phoneCallRestrictions.answeringTo|length > 0 %}
  3400.                                                 {% for answeringTo in profile.phoneCallRestrictions.answeringTo %}
  3401.                                                     {{ answeringTo|answering_to|trans({}, 'phone_call_restrictions') }}{% if not loop.last %},{% endif %}
  3402.                                                 {% endfor %}
  3403.                                             {% else %}
  3404.                                                 Не указано
  3405.                                             {% endif %}
  3406.                                         </div>
  3407.                                     </div>
  3408.                                     <div class=\"modal-info__element\">
  3409.                                         <div class=\"modal-info__label\">
  3410.                                             Удобное время для звонка
  3411.                                         </div>
  3412.                                         <div class=\"modal-info__value\">
  3413.                                             {{ _self._time_to_work(profile) }}
  3414.                                         </div>
  3415.                                     </div>
  3416.                                     <div class=\"modal-info__element\">
  3417.                                         <div class=\"modal-info__label\">
  3418.                                             Ограничение по возрасту
  3419.                                         </div>
  3420.                                         <div class=\"modal-info__value\">
  3421.                                             {%- if profile.clientRestrictions.minAge or profile.clientRestrictions.maxAge -%}
  3422.                                                 {{ profile.clientRestrictions.minAge ? 'от ' ~ profile.clientRestrictions.minAge : '' }}
  3423.                                                 {{ profile.clientRestrictions.maxAge ? 'до ' ~ profile.clientRestrictions.maxAge : '' }}
  3424.                                                 лет
  3425.                                             {%- else -%}
  3426.                                                 Не указано
  3427.                                             {%- endif -%}
  3428.                                         </div>
  3429.                                     </div>
  3430.                                 </div>
  3431.                             </div>
  3432.                         {% endif %}
  3433.                         {% if profile.stations|length > 0 %}
  3434.                             <div class=\"modal-info__items-block pb-0 pb-sm-3 d-flex d-sm-block\">
  3435.                                 <div class=\"metro-items metro-items--metro d-sm-flex w-100 align-items-center flex-wrap\">
  3436.                                     Метро
  3437.                                     {% for station in profile.stations|slice(0,3) %}
  3438.                                         <div class=\"metro-item\">
  3439.                                             {% include 'components/metro/icon_generate.partial.twig' with {data: station.lines} %}
  3440.                                             <a href=\"{{ path('profile_list.list_by_station', {'city': city.uriIdentity, 'station': station.uriIdentity}) }}\" title=\"Метро {{ station.name|trans }}\">{{ station.name|trans }}</a>
  3441.                                         </div>
  3442.                                     {% endfor %}
  3443.                                 </div>
  3444.                                 {% if profile.stations|length > 0 %}<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap\">
  3445.                                     Район
  3446.                                     {% for station in profile.stations %}
  3447.                                         {% set stationDistrict = station.district %}
  3448.                                         {% if stationDistrict %}
  3449.                                             {% if loop.first %}
  3450.                                                 {% set districtCounty = stationDistrict.county %}
  3451.                                                 {% if districtCounty %}
  3452.                                                     <div class=\"metro-item metro-item--district\">
  3453.                                                         <a href=\"{{ path('profile_list.list_by_county', {'city': districtCounty.city.uriIdentity, 'county': districtCounty.uriIdentity}) }}\">{{ districtCounty.name|trans }}</a>,
  3454.                                                         <a href=\"{{ path('profile_list.list_by_district', {'city': districtCounty.city.uriIdentity, 'district': stationDistrict.uriIdentity}) }}\">{{ stationDistrict.name|trans }}</a>
  3455.                                                     </div>
  3456.                                                 {% else %}
  3457.                                                     <div class=\"metro-item metro-item--district\">
  3458.                                                         Не указан
  3459.                                                     </div>
  3460.                                                 {% endif %}
  3461.                                             {% endif %}
  3462.                                         {% endif %}
  3463.                                     {% endfor %}
  3464.                                 </div>{% endif %}
  3465.                             </div>
  3466.                         {% endif %}
  3467.                     </div>
  3468.                 </div>
  3469.                 <div class=\"modal-col modal-info__items rounding\">
  3470.                     <div class=\"modal-info__items-row d-flex flex-wrap\">
  3471.                         <div class=\"box-col text-center\">
  3472.                             <div class=\"box-item\">
  3473.                                 <span class=\"d-block\">Возраст</span>
  3474.                                 {{- _self._data_wrapper('Возраст', profile.personParameters.age) -}}
  3475.                             </div>
  3476.                         </div>
  3477.                         <div class=\"box-col text-center\">
  3478.                             <div class=\"box-item\">
  3479.                                 <span class=\"d-block\">Рост</span>
  3480.                                 {{- _self._data_wrapper('Рост', profile.personParameters.height) -}}
  3481.                             </div>
  3482.                         </div>
  3483.                         <div class=\"box-col text-center\">
  3484.                             <div class=\"box-item\">
  3485.                                 <span class=\"d-block\">Вес</span>
  3486.                                 {{- _self._data_wrapper('Вес', profile.personParameters.weight) -}}
  3487.                             </div>
  3488.                         </div>
  3489.                         <div class=\"box-col text-center\">
  3490.                             <div class=\"box-item\">
  3491.                                 <span class=\"d-block\">Одежда</span>
  3492.                                 {% set cloth_size = 'XXS' %}
  3493.                                 {% if profile.personParameters.clothSize == '42' %}{% set cloth_size = 'XS' %}
  3494.                                 {% elseif profile.personParameters.clothSize == '44' %}{% set cloth_size = 'S' %}
  3495.                                 {% elseif profile.personParameters.clothSize == '46' %}{% set cloth_size = 'M' %}
  3496.                                 {% elseif profile.personParameters.clothSize == '48' %}{% set cloth_size = 'L' %}
  3497.                                 {% elseif profile.personParameters.clothSize == '50' %}{% set cloth_size = 'XL' %}
  3498.                                 {% elseif profile.personParameters.clothSize == '52' %}{% set cloth_size = 'XXL' %}
  3499.                                 {% endif %}
  3500.                                 {{- _self._data_wrapper('Размер одежды', cloth_size, 'Одежда') -}}
  3501.                             </div>
  3502.                         </div>
  3503.                         <div class=\"box-col text-center\">
  3504.                             <div class=\"box-item\">
  3505.                                 <span class=\"d-block\">Обувь</span>
  3506.                                 {{- _self._data_wrapper('Размер обуви', profile.personParameters.shoesSize, 'Обувь') -}}
  3507.                             </div>
  3508.                         </div>
  3509.                         <div class=\"box-col text-center\">
  3510.                             <div class=\"box-item\">
  3511.                                 <span class=\"d-block\">Грудь</span>
  3512.                                 {{- _self._data_wrapper('Размер груди', profile.personParameters.breastSize, 'Грудь') -}}
  3513.                             </div>
  3514.                         </div>
  3515.                         <div class=\"box-col text-center\">
  3516.                             <div class=\"box-item\">
  3517.                                 <span class=\"d-block\">Тату</span>
  3518.                                 {% if profile.personParameters.tattoo %}
  3519.                                     <svg class=\"icon mr-1\">
  3520.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-check\"></use>
  3521.                                     </svg>
  3522.                                 {% else %}
  3523.                                     -
  3524.                                 {% endif %}
  3525.                             </div>
  3526.                         </div>
  3527.                         <div class=\"box-col text-center\">
  3528.                             <div class=\"box-item\">
  3529.                                 <span class=\"d-block\">Пирсинг</span>
  3530.                                 {% if profile.personParameters.piercing %}
  3531.                                     <svg class=\"icon mr-1\">
  3532.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-check\"></use>
  3533.                                     </svg>
  3534.                                 {% else %}
  3535.                                     -
  3536.                                 {% endif %}
  3537.                             </div>
  3538.                         </div>
  3539.                     </div>
  3540.                     <div class=\"modal-info__items-block modal-info__items-block--basic d-sm-flex\">
  3541.                         <div class=\"description-items\" style=\"color:#b5b5b5\">
  3542.                             {% if profile.personParameters.bodyType %}<p class=\"description-item d-flex align-items-center\"><span>Телосложение</span> {{ profile.personParameters.bodyType|body_type|trans({}, 'body_types') }}</p>{% endif %}
  3543.                             {% if profile.personParameters.hairColor %}<p class=\"description-item d-flex align-items-center\"><span>Цвет волос</span> <a target=\"_blank\" href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color_uri|slugify}) }}\">{{ profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors') }}</a></p>{% endif %}
  3544.                             {% if profile.personParameters.nationality %}<p class=\"description-item d-flex align-items-center\"><span>Национальность</span> {{ profile.personParameters.nationality|nationality|trans({}, 'nationalities') }}</p>{% endif %}
  3545.                             {% if profile.personParameters.privateHaircut %}<p class=\"description-item d-flex align-items-center\"><span>Интимная стрижка</span> {{ profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') }}</p>{% endif %}
  3546.                         </div>
  3547.                         <div class=\"description-items\">
  3548.                             {% set threshold = (\"now\"|date_modify(\"-14 days\")).getTimestamp() %}
  3549. \t\t\t\t\t\t    {% set updatedAtTs = profile.updatedAt ? profile.updatedAt.getTimestamp() : null %}
  3550.                             {% if profile.createdAt %}
  3551.                             <p class=\"description-item d-flex align-items-center\"><span>Дата регистрации</span> <span
  3552.                                 class=\"date\" data-template=\"dd авг. YYYY г. hh:ii\">{{ _self._data_wrapper('Дата регистрации', profile.createdAt|date(\"d\") ~ ' ' ~ profile.createdAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.createdAt|date(\"Y\") ~ ' ' ~ profile.createdAt|date(\"H:i\") ) }}</span></p>
  3553.                             {% endif %}
  3554.                             {% if updatedAtTs and updatedAtTs >= threshold %}
  3555.                                 <p class=\"description-item d-flex align-items-center\"><span>Дата обновления</span> <span
  3556.                                     class=\"date\">{{ _self._data_wrapper('Дата обновления', profile.updatedAt|date(\"d\") ~ ' ' ~ profile.updatedAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.updatedAt|date(\"Y\") ~ ' ' ~ profile.updatedAt|date(\"H:i\") ) }}</span></p>
  3557.                             {% endif %}
  3558.                             <p class=\"description-item d-flex align-items-center\"><span>ID</span><span class=\"date\">{{ profile.id }}</span></p>
  3559.                             {% if ( profile.approved ) %}
  3560.                                 <p class=\"description-item\">
  3561.                                     <strong class=\"d-flex align-items-center\">
  3562.                                         Фото проверено
  3563.                                         <span class=\"description-item__verify\"
  3564.                                             data-toggle=\"tooltip\" data-theme=\"verify\" data-tippy-content=\"Фото проверено\">
  3565.                                                 <svg class=\"icon\">
  3566.                                                     <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verify-new\"></use>
  3567.                                                 </svg>
  3568.                                         </span>
  3569.                                     </strong>
  3570.                                 </p>
  3571.                             {% endif %}
  3572.                         </div>
  3573.                     </div>
  3574.                     <div class=\"modal-info__items-block mb-0\">
  3575.                         <div class=\"model-description\">
  3576.                             <h2 class=\"border-line\">О себе</h2>
  3577.                             <noindex><p class=\"m-0\" id=\"profile-about\">{{ profile.description|nl2br }}</p></noindex>
  3578.                         </div>
  3579.                     </div>
  3580.                 </div>
  3581.             </div>
  3582.             {% if _self._show_tabs(profile.photos,profile.selfies,profile.confirmedVideos,profile.deleted) == 'true' %}
  3583.                 <div class=\"model-aside__images model-aside__images--middle rounding\">
  3584.                     <ul class=\"nav nav-pills nav-pills--mobile list-unstyled m-0 p-0 d-flex\" id=\"model-tab_2\" role=\"tablist\">
  3585.                         {% set currentPage = '' %}
  3586.                         {% if profile.photos is defined and profile.photos|length > 0 %}{% set currentPage = 'photo' %}
  3587.                         <li class=\"nav-item flex-fill\">
  3588.                             <a class=\"active\" id=\"model-photo-tab_2\" data-toggle=\"pill\" href=\"#model-photo_2\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
  3589.                                     <svg class=\"icon d-inline-block\">
  3590.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-photo-thumb\"></use>
  3591.                                     </svg>
  3592.                                 Фото
  3593.                             </a>
  3594.                         </li>
  3595.                         {% endif %}
  3596.                         {% if profile.selfies is defined and profile.selfies|length > 0 %}{% set currentPage = currentPage == '' ? 'selfie' : currentPage %}
  3597.                         <li class=\"nav-item flex-fill\">
  3598.                             <a class=\"{% if currentPage == 'selfie' %}active{% endif %}\" id=\"model-selfie-tab_2\" data-toggle=\"pill\" href=\"#model-selfie_2\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
  3599.                                     <svg class=\"icon d-inline-block\">
  3600.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
  3601.                                     </svg>
  3602.                                 Селфи
  3603.                             </a>
  3604.                         </li>
  3605.                         {% endif %}
  3606.                         {% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}{% set currentPage = currentPage == '' ? 'video' : currentPage %}
  3607.                         <li class=\"nav-item flex-fill\">
  3608.                             <a class=\"{% if currentPage == 'video' %}active{% endif %}\" id=\"model-video-tab_2\" data-toggle=\"pill\" href=\"#model-video_2\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
  3609.                                     <svg class=\"icon d-inline-block\">
  3610.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
  3611.                                     </svg>
  3612.                                 Видео
  3613.                             </a>
  3614.                         </li>
  3615.                         {% endif %}
  3616.                     </ul>
  3617.                     <div class=\"tab-content\" id=\"model-tabContent_2\">
  3618.                         {% if profile.photos is defined and profile.photos|length > 0 %}
  3619.                             <div class=\"tab-pane fade{% if currentPage == 'photo' %} show active{% endif %}\" id=\"model-photo_2\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab_2\">
  3620.                                 <div class=\"model-aside-row d-flex flex-wrap\">
  3621.                                     {% for photo in profile.photos %}
  3622. \t\t\t\t\t\t\t\t\t    {% if photo.path %}
  3623. \t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index) %}
  3624.                                             <div class=\"model-aside-col rounding\">
  3625.                                                 <a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
  3626.                                                     <img class=\"img-fluid lazy\"
  3627.                                                         data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
  3628.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
  3629.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
  3630.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
  3631.                                                         sizes=\"(max-width: 660px) 196px,
  3632.                                                             (max-width: 980px) 177px,
  3633.                                                             (max-width: 1125px) 228px,
  3634.                                                             260px\"
  3635.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  3636.                                                         data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
  3637.                                                         data-type=\"lg\"
  3638.                                                         data-index-lg=\"{{loop.index}}\"
  3639. \t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"{{ alt }}\">
  3640.                                                 </a>
  3641.                                             </div>
  3642. \t\t\t\t\t\t\t\t\t    {% endif %}
  3643.                                     {% endfor %}
  3644.                                 </div>
  3645.                             </div>
  3646.                         {% endif %}
  3647.                         {% if profile.selfies is defined and profile.selfies|length > 0 %}
  3648.                             <div class=\"tab-pane fade{% if currentPage == 'selfie' %} show active{% endif %}\" id=\"model-selfie_2\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab_2\">
  3649.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
  3650.                                     {% for photo in profile.selfies %}
  3651.                                         {% if photo.path %}
  3652. \t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index + profile.photos|length) %}
  3653.                                             <div class=\"model-aside-col rounding\">
  3654.                                                 <a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
  3655.                                                     <img class=\"img-fluid lazy\"
  3656.                                                         data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
  3657. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
  3658. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
  3659. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
  3660.                                                         sizes=\"(max-width: 660px) 196px,
  3661. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
  3662. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
  3663. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
  3664.                                                         data-type=\"lg\"
  3665.                                                         data-index-lg=\"{{loop.index + profile.photos|length}}\"
  3666.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  3667.                                                         data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
  3668. \t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"{{ alt }}\">
  3669.                                                 </a>
  3670.                                             </div>
  3671. \t\t\t\t\t\t\t\t\t    {% endif %}
  3672.                                     {% endfor %}
  3673.                                 </div>
  3674.                             </div>
  3675.                         {% endif %}
  3676.                         {% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
  3677.                             <div class=\"tab-pane fade{% if currentPage == 'video' %} show active{% endif %}\" id=\"model-video_2\" role=\"tabpanel\" aria-labelledby=\"model-video-tab_2\">
  3678.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
  3679.                                     {% for video in profile.confirmedVideos %}
  3680.                                         <div class=\"model-video-container rounding\">
  3681.                                             <video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"{% if video.previewPath %} poster=\"{{ asset(video.previewPath, 'profile_media', 'fullsize') }}{% endif %}\">
  3682.                                                 <source src=\"{{ asset(video.path, 'profile_media') }}\" type='video/mp4'/>
  3683.                                             </video>
  3684.                                         </div>
  3685.                                     {% endfor %}
  3686.                                 </div>
  3687.                             </div>
  3688.                         {% endif %}
  3689.                     </div>
  3690.                 </div>
  3691.             {% endif %}
  3692.             <div class=\"modal-services mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  3693.                 <div class=\"modal-services__header d-flex flex-wrap align-items-start\">
  3694.                     <h2 class=\"border-line\">Интим-услуги</h2>
  3695.                     <div class=\"modal-services__header-info d-flex flex-wrap align-items-center pb-2\">
  3696.                         <div class=\"header-item mr-3\">
  3697.                             <svg class=\"icon mr-1\">
  3698.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3699.                             </svg>
  3700.                             - включено в стоимость
  3701.                         </div>
  3702.                         <div class=\"header-item mr-3\">
  3703.                             <svg class=\"icon mr-1\">
  3704.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
  3705.                             </svg>
  3706.                             - по симпатии
  3707.                         </div>
  3708.                         <div class=\"header-item mr-3\">
  3709.                             <svg class=\"icon mr-1\">
  3710.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
  3711.                             </svg>
  3712.                             - за дополнительную плату
  3713.                         </div>
  3714.                         {# <div class=\"header-item provided\">
  3715.                             <svg class=\"icon mr-1\">
  3716.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-provided\"></use>
  3717.                             </svg>
  3718.                             - услуга не предоставляется
  3719.                         </div> #}
  3720.                     </div>
  3721.                 </div>
  3722.                 <div class=\"modal-services__main\">
  3723.                     <div class=\"modal-services__items {% if profile.masseur %}d-flex justify-content-between mr-xl-3 flex-wrap {% else %}column{% endif %} w-100\" id=\"services_items\" data-type=\"{% if profile.masseur %}masseur{%else%}profile{%endif%}\">
  3724.                         {% set initional_group_2 = 0 %}
  3725.                         {% set group_2_minet = [] %}
  3726.                         {% set group_2_okon = [] %}
  3727.                         {% set group_2_okon_trigger = ['Окончание на грудь','Окончание на лицо','Окончание в рот','На грудь','На лицо','В рот'] %} {# Слова триггеры в 2 категории для блока Окончание. Все остальные уйдут в минет #}
  3728.                         {% for group, servicesGroup in services | filter((servicesGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) %}
  3729.                             {% if group == 2 %}
  3730.                                 {# Тут нам нужно запомнить данные и разбить их на 2 категории - Минет и Окончание#}
  3731.                                 {% for service in servicesGroup %}
  3732.                                     {% if service.name|trans() in group_2_okon_trigger %}
  3733.                                         {% set group_2_okon = group_2_okon|merge([service]) %}
  3734.                                     {% else %}
  3735.                                         {% set group_2_minet = group_2_minet|merge([service]) %}
  3736.                                     {% endif %}
  3737.                                 {% endfor %}
  3738.                             {% elseif group == 3 and initional_group_2 == 0 %}
  3739.                                 {# Т.к. выводить сразу не можем в виду перемешенного вывода, будем выводить 2ю категории перед третьей #}
  3740.                                 {% set initional_group_2 = 1 %}
  3741.                                 <div class=\"modal-services__item\">
  3742.                                     <p class=\"item-title\">Минет</p>
  3743.                                     {% for service in group_2_minet %}
  3744.                                         {% set providedService = profile.providedService(service) %}
  3745.                                         {% if providedService %}
  3746.                                             <div class=\"item{% if not providedService %} provided{% endif %}\">
  3747.                                                 {% if providedService.condition == 1 %}
  3748.                                                     <svg class=\"icon mr-1\">
  3749.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3750.                                                     </svg>
  3751.                                                 {% elseif providedService.condition == 2 %}
  3752.                                                     <svg class=\"icon mr-1\">
  3753.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
  3754.                                                     </svg>
  3755.                                                 {% elseif providedService.condition == 3 %}
  3756.                                                     <svg class=\"icon mr-1\">
  3757.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
  3758.                                                     </svg>
  3759.                                                 {% endif %}
  3760.                                                 <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
  3761.                                                     {{ service.name|trans }}
  3762.                                                 </a>
  3763.                                                 {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
  3764.                                                 {% if providedService and providedService.comment %}
  3765.                                                     <div class=\"item__comment\">{{ providedService.comment }}</div>
  3766.                                                 {% endif %}
  3767.                                             </div>
  3768.                                         {% endif %}
  3769.                                     {% endfor %}
  3770.                                 </div>
  3771.                                 <div class=\"modal-services__item\">
  3772.                                     <p class=\"item-title\">Окончание</p>
  3773.                                     {% for service in group_2_okon %}
  3774.                                         {% set providedService = profile.providedService(service) %}
  3775.                                         {% if providedService %}
  3776.                                             <div class=\"item{% if not providedService %} provided{% endif %}\">
  3777.                                                 {% if providedService %}
  3778.                                                     {% if providedService.condition == 1 %}
  3779.                                                         <svg class=\"icon mr-1\">
  3780.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3781.                                                         </svg>
  3782.                                                     {% elseif providedService.condition == 2 %}
  3783.                                                         <svg class=\"icon mr-1\">
  3784.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
  3785.                                                         </svg>
  3786.                                                     {% elseif providedService.condition == 3 %}
  3787.                                                         <svg class=\"icon mr-1\">
  3788.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
  3789.                                                         </svg>
  3790.                                                     {% endif %}
  3791.                                                 {% endif %}
  3792.                                                 <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
  3793.                                                     {{ service.name|trans }}
  3794.                                                 </a>
  3795.                                                 {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
  3796.                                                 {% if providedService and providedService.comment %}
  3797.                                                     <div class=\"item__comment\">{{ providedService.comment }}</div>
  3798.                                                 {% endif %}
  3799.                                             </div>
  3800.                                         {% endif %}
  3801.                                     {% endfor %}
  3802.                                 </div>
  3803.                                 <div class=\"modal-services__item\">
  3804.                                     <p class=\"item-title\" data-group=\"{{ group }}\">{{ group|service_group|trans({}, 'service_groups') }}</p>
  3805.                                     {% for service in servicesGroup %}
  3806.                                         {% set providedService = profile.providedService(service) %}
  3807.                                         {% if providedService %}
  3808.                                             <div class=\"item{% if not providedService %} provided{% endif %}\">
  3809.                                                 {% if providedService %}
  3810.                                                     {% if providedService.condition == 1 %}
  3811.                                                         <svg class=\"icon mr-1\">
  3812.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3813.                                                         </svg>
  3814.                                                     {% elseif providedService.condition == 2 %}
  3815.                                                         <svg class=\"icon mr-1\">
  3816.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
  3817.                                                         </svg>
  3818.                                                     {% elseif providedService.condition == 3 %}
  3819.                                                         <svg class=\"icon mr-1\">
  3820.                                                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
  3821.                                                         </svg>
  3822.                                                     {% endif %}
  3823.                                                     <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
  3824.                                                         {{ service.name|trans }}
  3825.                                                     </a>
  3826.                                                     {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
  3827.                                                     {% if providedService and providedService.comment %}
  3828.                                                         <div class=\"item__comment\">{{ providedService.comment }}</div>
  3829.                                                     {% endif %}
  3830.                                                 {% endif %}
  3831.                                             </div>
  3832.                                         {% endif %}
  3833.                                     {% endfor %}
  3834.                                 </div>
  3835.                             {% else %}
  3836.                                 {% if  group == 1 or group == 5 or group == 7 %}
  3837. {#                                    <div class=\"modal-services__column\">#}
  3838.                                 {% endif %}
  3839.                                 <div class=\"modal-services__item{% if profile.masseur %} modal-services__item--masseur{% endif %}\">
  3840.                                     <p class=\"item-title\">{{ group|service_group|trans({}, 'service_groups') }}</p>
  3841.                                     {% for service in servicesGroup %}
  3842.                                         {% set providedService = profile.providedService(service) %}
  3843.                                         {% if providedService %}
  3844.                                             <div class=\"item{% if not providedService %} provided{% endif %}\">
  3845.                                                 {% if providedService.condition == 1 %}
  3846.                                                     <svg class=\"icon mr-1\">
  3847.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3848.                                                     </svg>
  3849.                                                 {% elseif providedService.condition == 2 %}
  3850.                                                     <svg class=\"icon mr-1\">
  3851.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
  3852.                                                     </svg>
  3853.                                                 {% elseif providedService.condition == 3 %}
  3854.                                                     <svg class=\"icon mr-1\">
  3855.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
  3856.                                                     </svg>
  3857.                                                 {% endif %}
  3858.                                                 <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\">
  3859.                                                     {{ service.name|trans }}
  3860.                                                 </a>
  3861.                                                 {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span class=\"item__price\">+{{ providedService.extraCharge }} Р</span>{% endif %}
  3862.                                                 {% if providedService and providedService.comment %}
  3863.                                                     <div class=\"item__comment\">{{ providedService.comment }}</div>
  3864.                                                 {% endif %}
  3865.                                             </div>
  3866.                                         {% endif %}
  3867.                                     {% endfor %}
  3868.                                 </div>
  3869.                                 {% if group == 4 or group == 6 or group == 7 %}
  3870. {#                                    </div>#}
  3871.                                 {% endif %}
  3872.                             {% endif %}
  3873.                         {% endfor %}
  3874.                     </div>
  3875.                     <div class=\"modal-services__extend__items rounding\">
  3876.                         <div class=\"modal-services__extend__box\">
  3877.                             <div class=\"modal-services__extend__item\">
  3878.                                 <h3 class=\"modal-services__extend__item__title\">Услуги для</h3>
  3879.                                 {% set client_types_text = ['1','2','3','4','5'] %}
  3880.                                 {% set includeService = false %}
  3881.                                 {% for clientTypeText in client_types_text %}
  3882.                                     {% for clientType in profile.clientTypes %}
  3883.                                         {% if (clientTypeText == clientType) %}
  3884.                                             {% set includeService = true %}
  3885.                                         {% endif %}
  3886.                                     {% endfor %}
  3887.                                     {% if includeService == true and clientTypeText|client_type != 'TRANS' %}
  3888.                                         <div class=\"item\">
  3889.                                             <svg class=\"icon mr-1\">
  3890.                                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3891.                                             </svg>
  3892.                                             {{ clientTypeText|client_type|trans({}, 'client_types_f') }}
  3893.                                         </div>
  3894.                                         {% set includeService = false %}
  3895.                                     {% endif %}
  3896.                                 {% endfor %}
  3897.                             </div>
  3898.                             <div class=\"modal-services__extend__item\">
  3899.                                 <h3 class=\"modal-services__extend__item__title\">Выезд</h3>
  3900.                                 {% set locations_text = ['1','2','3','4','5','6'] %}
  3901.                                 {% set includeService = false %}
  3902.                                 {% for locationsText in locations_text %}
  3903.                                     {% for locations in profile.takeOutPricing.locations %}
  3904.                                         {% if (locationsText == locations) %}
  3905.                                             {% set includeService = true %}
  3906.                                         {% endif %}
  3907.                                     {% endfor %}
  3908.                                     {% if includeService == true %}
  3909.                                         <div class=\"item\">
  3910.                                             <svg class=\"icon mr-1\">
  3911.                                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
  3912.                                             </svg>
  3913.                                         {{ locationsText|take_out_location|trans({}, 'take_out_location') }}
  3914.                                         </div>
  3915.                                         {% set includeService = false %}
  3916.                                     {% endif %}
  3917.                                 {% endfor %}
  3918.                             </div>
  3919.                         </div>
  3920.                     </div>
  3921.                     <script>
  3922.                     (function(){
  3923.                         var list = document.querySelectorAll('.modal-services__item');
  3924.                         Array.prototype.forEach.call(list, function(el) {
  3925.                             var elementOfList = el.querySelectorAll('.item');
  3926.                             if (elementOfList.length === 0){
  3927.                                 el.remove();
  3928.                             }
  3929.                         });
  3930.                         var listExt = document.querySelectorAll('.modal-services__extend__item');
  3931.                         var listExtCount = 0;
  3932.                         Array.prototype.forEach.call(listExt, function(el) {
  3933.                             var elementOfList = el.querySelectorAll('.item');
  3934.                             listExtCount++;
  3935.                             if (elementOfList.length === 0){
  3936.                                 el.remove();
  3937.                                 listExtCount--;
  3938.                             }
  3939.                         });
  3940.                         if (listExtCount === 0){
  3941.                             var block = document.querySelector('.modal-services__extend__items');
  3942.                             block.classList.add('d-none');
  3943.                         }
  3944.                     })()
  3945.                     </script>
  3946.                 </div>
  3947.                 {#<div class=\"modal-services__friends\">
  3948.                     <h2 class=\"border-line\">Есть подруги</h2>
  3949.                     <div class=\"friends-items d-flex\">
  3950.                         <a href=\"#\" class=\"friends-item\">
  3951.                             <div class=\"friends-item__images mb-2\">
  3952.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  3953.                             </div>
  3954.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  3955.                                 <svg class=\"icon mr-2\">
  3956.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  3957.                                 </svg>
  3958.                                 <strong>Марина, 21</strong>
  3959.                             </p>
  3960.                         </a>
  3961.                         <a href=\"#\" class=\"friends-item\">
  3962.                             <div class=\"friends-item__images mb-2\">
  3963.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  3964.                             </div>
  3965.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  3966.                                 <svg class=\"icon mr-2\">
  3967.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  3968.                                 </svg>
  3969.                                 <strong>Олеся и Алёна, 22</strong>
  3970.                             </p>
  3971.                         </a>
  3972.                         <a href=\"#\" class=\"friends-item\">
  3973.                             <div class=\"friends-item__images mb-2\">
  3974.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  3975.                             </div>
  3976.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  3977.                                 <svg class=\"icon mr-2\">
  3978.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  3979.                                 </svg>
  3980.                                 <strong>Вика, 20</strong>
  3981.                             </p>
  3982.                         </a>
  3983.                         <a href=\"#\" class=\"friends-item\">
  3984.                             <div class=\"friends-item__images mb-2\">
  3985.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  3986.                             </div>
  3987.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  3988.                                 <svg class=\"icon mr-2\">
  3989.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  3990.                                 </svg>
  3991.                                 <strong>Диана, 20</strong>
  3992.                             </p>
  3993.                         </a>
  3994.                         <a href=\"#\" class=\"friends-item\">
  3995.                             <div class=\"friends-item__images mb-2\">
  3996.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  3997.                             </div>
  3998.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  3999.                                 <svg class=\"icon mr-2\">
  4000.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4001.                                 </svg>
  4002.                                 <strong>ПЫШКА ЛИЛЯ ЛИЛЯ ЛИЛЯ</strong>
  4003.                             </p>
  4004.                         </a>
  4005.                         <a href=\"#\" class=\"friends-item\">
  4006.                             <div class=\"friends-item__images mb-2\">
  4007.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  4008.                             </div>
  4009.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  4010.                                 <svg class=\"icon mr-2\">
  4011.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4012.                                 </svg>
  4013.                                 <strong>Марина, 21</strong>
  4014.                             </p>
  4015.                         </a>
  4016.                         <a href=\"#\" class=\"friends-item\">
  4017.                             <div class=\"friends-item__images mb-2\">
  4018.                                 <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
  4019.                             </div>
  4020.                             <p class=\"d-flex align-items-start m-0 friends-item__title\">
  4021.                                 <svg class=\"icon mr-2\">
  4022.                                     <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4023.                                 </svg>
  4024.                                 <strong>Марина, 21</strong>
  4025.                             </p>
  4026.                         </a>
  4027.                     </div>
  4028.                 </div>#}
  4029.             </div>
  4030.             <div class=\"modal-map mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  4031.                 <h2 class=\"border-line\">
  4032.                     Расположение
  4033.                 </h2>
  4034.                 <div class=\"map-block rounding\" id=\"map\" style=\"width: 100%; height: 400px;\"
  4035.                      data-lat=\"{{ profile.mapCoordinate.latitude | default(profile.city.mapCoordinate.latitude) }}\"
  4036.                      data-lon=\"{{ profile.mapCoordinate.longitude | default(profile.city.mapCoordinate.longitude) }}\"
  4037.                      data-map-label=\"{{ asset('assets/images/icons/map-balloon.svg','basicConfig') }}\">
  4038.                 </div>
  4039.             </div>
  4040.             {% if feature('profile_comments') %}
  4041.                 {% set commentsCount = profile.comments|length %}
  4042.                 <section class=\"model-comments mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4 rounding\">
  4043.                     <div class=\"d-flex align-items-start comments-header\">
  4044.                         <h2 class=\"border-line\">{% trans with {} from 'profile' %}Отзывы{% endtrans %} </h2>
  4045.                         <div class=\"rate d-flex align-items-center ml-auto\"{% if rating > 0 %} itemscope itemtype=\"https://schema.org/AggregateRating\"{% endif %} data-rating=\"{{ rating }}\">
  4046.                             {% if rating > 0 %}
  4047.                             <meta itemprop=\"worstRating\" content=\"1\">
  4048.                             <meta itemprop=\"ratingValue\" content=\"{{ rating }}\">
  4049.                             <meta itemprop=\"bestRating\" content=\"5\">
  4050.                             <meta itemprop=\"reviewCount\" content=\"{{ commentsCount }}\">
  4051.                             {% endif %}
  4052.                             <div class=\"rating-text d-flex level\"{% if rating > 0 %} itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\" {% endif %}>
  4053.                                 {% if rating > 0 %}
  4054.                                 <meta itemprop=\"address\" content=\"{{ profile.city.name }}\" />
  4055.                                 <meta itemprop=\"telephone\" content=\"{{ profile.phoneNumber }}\" />
  4056.                                 <meta itemprop=\"name\" content=\"Рейтинг анкеты {{ profile.name }}\">
  4057.                                 {% endif %}
  4058.                                 <span class=\"rating-text-value{{ commentsCount == 0 ? ' zero' : '' }} mr-1\">
  4059. \t\t\t\t\t\t\t        {{ rating }}
  4060.                                 </span>
  4061.                                 <span class=\"rating-text-count mr-2\">
  4062.                                     по {{ commentsCount }} {% if commentsCount == 1 %}отзыву{% else %}отзывам{% endif %}
  4063.                                 </span>
  4064.                             </div>
  4065.                             {% for i in 1..5 %}
  4066.                                 <div class=\"star{% if rating >= i %} mark{% endif %}\"></div>
  4067.                             {% endfor %}
  4068.                         </div>
  4069.                     </div>
  4070.                     <div class=\"row comments-main\">
  4071.                         <div class=\"col-12 col-lg-7 mb-2 mb-sm-3 mb-lg-0\">
  4072.                             {% if commentsCount > 0 %}
  4073.                                 <div class=\"items-comments\" id=\"review-block-list\">
  4074.                                     <ul>
  4075.                                         {% for comment in profile.comments %}
  4076.                                             {% include 'ProfilePreview/comment.html.twig' %}
  4077.                                         {% endfor %}
  4078.                                     </ul>
  4079.                                 </div>
  4080.                             {% else %}
  4081.                                 <div class=\"items-comments not-comments text-center empty\" id=\"review-block-list\">
  4082.                                     <div id=\"text-to-remove\">
  4083.                                         <svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\"
  4084.                                             xmlns=\"http://www.w3.org/2000/svg\">
  4085.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  4086.                                                 d=\"M20.8333 14.5C19.1536 14.5 17.5427 15.1673 16.355 16.355C15.1673 17.5427 14.5 19.1536 14.5 20.8333V82.6716L27.7525 69.4191C28.1275 69.044 28.6362 68.8333 29.1667 68.8333H79.1667C80.8464 68.8333 82.4573 68.1661 83.645 66.9783C84.8327 65.7906 85.5 64.1797 85.5 62.5V20.8333C85.5 19.1536 84.8327 17.5427 83.645 16.355C82.4573 15.1673 80.8464 14.5 79.1667 14.5H20.8333ZM13.5266 13.5266C15.4644 11.5887 18.0928 10.5 20.8333 10.5H79.1667C81.9072 10.5 84.5356 11.5887 86.4734 13.5266C88.4113 15.4644 89.5 18.0928 89.5 20.8333V62.5C89.5 65.2406 88.4113 67.8689 86.4734 69.8068C84.5356 71.7446 81.9072 72.8333 79.1667 72.8333H29.9951L13.9142 88.9142C13.3422 89.4862 12.482 89.6573 11.7346 89.3478C10.9873 89.0382 10.5 88.3089 10.5 87.5V20.8333C10.5 18.0928 11.5887 15.4644 13.5266 13.5266Z\"
  4087.                                                 fill=\"#595959\"/>
  4088.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  4089.                                                 d=\"M37.722 48.245C39.4121 46.7824 41.65 46 43.9333 46H56.0667C58.35 46 60.5879 46.7824 62.278 48.245C63.9773 49.7155 65 51.7773 65 54V57C65 58.1046 64.1046 59 63 59C61.8954 59 61 58.1046 61 57V54C61 53.0401 60.5618 52.0496 59.6605 51.2697C58.7502 50.4819 57.461 50 56.0667 50H43.9333C42.539 50 41.2498 50.4819 40.3395 51.2697C39.4382 52.0496 39 53.0401 39 54V57C39 58.1046 38.1046 59 37 59C35.8954 59 35 58.1046 35 57V54C35 51.7773 36.0227 49.7155 37.722 48.245Z\"
  4090.                                                 fill=\"#595959\"/>
  4091.                                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"
  4092.                                                 d=\"M50.5 29C47.4624 29 45 31.4624 45 34.5C45 37.5376 47.4624 40 50.5 40C53.5376 40 56 37.5376 56 34.5C56 31.4624 53.5376 29 50.5 29ZM41 34.5C41 29.2533 45.2533 25 50.5 25C55.7467 25 60 29.2533 60 34.5C60 39.7467 55.7467 44 50.5 44C45.2533 44 41 39.7467 41 34.5Z\"
  4093.                                                 fill=\"#595959\"/>
  4094.                                         </svg>
  4095.                                         <p id=\"text-to-remove\">К этой анкете ещё нет ни одного отзыва. Вы можете быть первым</p>
  4096.                                     </div>
  4097.                                     <ul>
  4098.                                     </ul>
  4099.                                 </div>
  4100.                             {% endif %}
  4101.                         </div>
  4102.                         <div class=\"col-12 col-lg-5\">
  4103.                             {% if not is_user_advertiser(app.user) %}
  4104.                                 <div class=\"review-form\" id=\"review-form-comment\">
  4105.                                     {# {% include 'ProfilePreview/form-comment.html.twig' %} #}
  4106.                                 </div>
  4107.                                 <div
  4108.                                         class=\"dialog-container\"
  4109.                                         id=\"form-dialog\"
  4110.                                         aria-hidden=\"true\"
  4111.                                         aria-labelledby=\"form-dialog-title\"
  4112.                                         aria-describedby=\"form-dialog-description\"
  4113.                                     >
  4114.                                     <div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
  4115.                                     <div class=\"dialog-content\" role=\"document\">
  4116.                                         <div class=\"dialog-header\">
  4117.                                         <button
  4118.                                             data-a11y-dialog-hide
  4119.                                             class=\"dialog-close\"
  4120.                                             aria-label=\"Close this dialog window\"
  4121.                                         >
  4122.                                             <svg class=\"dialog-close__icon\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\"/></svg>
  4123.                                         </button>
  4124.                                         </div>
  4125.                                         <div class=\"dialog-body\">
  4126.                                         </div>
  4127.                                     </div>
  4128.                                 </div>
  4129.                             {% endif %}
  4130.                         </div>
  4131.                     </div>
  4132.                 </section>
  4133.             {% endif %}
  4134.         </div>
  4135.         <div class=\"model-aside order-lg-1 mb-3 pr-3 pr-xl-4\">
  4136.             <div class=\"model-aside__preview mb-1 d-none d-lg-block rounding\" id=\"girl-avatar__big\" style=\"--rounding:20px\">
  4137.                 {% if profile.deleted %}
  4138.                     <a href=\"{{ asset(\"assets/images/deleted-profiles.svg\", 'basicConfig') }}\" class=\"girl-avatar__small\">
  4139.                         <img itemprop=\"contentUrl\" src=\"{{ asset(\"assets/images/deleted-profiles.svg\") }}\"
  4140.                              alt=\"Анкета {{ profile.name|trans }} удалена\"
  4141.                              class=\"img-fluid\">
  4142.                     </a>
  4143.                 {% else %}
  4144.                     {% set photo = profile|avatar %}
  4145.                     {% if photo %}
  4146.                         {% set station_alt = '' -%}
  4147.                         {% if profile.stations|length > 0 -%}
  4148.                             {% set station_alt = profile.stations|first -%}
  4149.                         {% endif -%}
  4150.                         {% set alt = profile.name|trans ~ ', ' ~ 'год'|plural(profile.personParameters.age) ~ (station_alt ? ', метро ' ~ station_alt.name|trans : '' ) ~ ' в Москве' ~ (profile.seo.phone is defined ? \", тел. \" ~ profile.seo.phone : '') ~ ', объявление ' ~ profile.id %}
  4151.                         {# <a href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" class=\"girl-avatar__small\"> #}
  4152.                             <img itemprop=\"contentUrl\" src=\"{{ responsive_asset(photo.path, 'profile_media', \"357x500\", \"jpg\") }}\"
  4153.                                  class=\"img-fluid\"
  4154.                                 data-type=\"lg\"
  4155.                                 data-index-lg=\"0\"
  4156.                                 alt=\"{{ alt }}\">
  4157.                         {# </a> #}
  4158.                     {% endif %}
  4159.                 {% endif %}
  4160.                 {% if  is_user_customer(app.user) and not profile.deleted %}{#not app.user or#}
  4161.                     <button type=\"button\"
  4162.                             data-url-add=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
  4163.                             data-url-remove=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
  4164.                             title=\"Добавить в избранное\"
  4165.                             {% if is_profile_in_favourites(profile) %}
  4166.                             class=\"btn favorite like\" id=\"favorite\">
  4167.                         {% else %}
  4168.                             class=\"btn favorite unlike\" id=\"favorite\">
  4169.                         {% endif %}
  4170.                         <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  4171.                             <rect width=\"40\" height=\"40\" fill=\"#ED0C34\"/>
  4172.                             <path d=\"M20 32L18.26 30.3455C12.08 24.4921 8 20.6316 8 15.8937C8 12.0332 10.904 9 14.6 9C16.688 9 18.692 10.0153 20 11.6196C21.308 10.0153 23.312 9 25.4 9C29.096 9 32 12.0332 32 15.8937C32 20.6316 27.92 24.4921 21.74 30.358L20 32Z\" fill=\"white\"/>
  4173.                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M25.9134 15.317C26.2906 15.7204 26.2694 16.3532 25.866 16.7304L20.058 23C19.6736 23.3594 19.0764 23.3594 18.692 23L15.317 19.9091C14.9136 19.5319 14.8924 18.899 15.2696 18.4956C15.6468 18.0922 16.2796 18.071 16.683 18.4482L19.375 20.9005L24.5 15.2696C24.9034 14.8924 25.5362 14.9136 25.9134 15.317Z\" fill=\"#ED0C34\"/>
  4174.                         </svg>
  4175.                     </button>
  4176.                 {% endif %}
  4177.             </div>
  4178.             {% if _self._show_tabs(profile.photos,profile.selfies,profile.confirmedVideos,profile.deleted) == 'true' %}
  4179.                 <div class=\"model-aside__images model-aside__images--aside\">
  4180.                     <ul class=\"nav nav-pills list-unstyled m-0 p-0 d-flex\" id=\"model-tab\" role=\"tablist\">
  4181.                         {% set currentPage = '' %}
  4182.                         {% if profile.photos is defined and profile.photos|length > 0 %}{% set currentPage = 'photo' %}
  4183.                         <li class=\"nav-item flex-fill\">
  4184.                             <a class=\"active\" id=\"model-photo-tab\" data-toggle=\"pill\" href=\"#model-photo\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
  4185.                                     <svg class=\"icon d-inline-block\">
  4186.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-photo-thumb\"></use>
  4187.                                     </svg>
  4188.                                 Фото
  4189.                             </a>
  4190.                         </li>
  4191.                         {% endif %}
  4192.                         {% if profile.selfies is defined and profile.selfies|length > 0 %}{% set currentPage = currentPage == '' ? 'selfie' : currentPage %}
  4193.                         <li class=\"nav-item flex-fill\">
  4194.                             <a class=\"{% if currentPage == 'selfie' %}active{% endif %}\" id=\"model-selfie-tab\" data-toggle=\"pill\" href=\"#model-selfie\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
  4195.                                     <svg class=\"icon d-inline-block\">
  4196.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
  4197.                                     </svg>
  4198.                                 Селфи
  4199.                             </a>
  4200.                         </li>
  4201.                         {% endif %}
  4202.                         {% if false == profile.isModerationRejected and not profile.deleted and profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}{% set currentPage = currentPage == '' ? 'video' : currentPage %}
  4203.                         <li class=\"nav-item flex-fill\">
  4204.                             <a class=\"{% if currentPage == 'video' %}active{% endif %}\" id=\"model-video-tab\" data-toggle=\"pill\" href=\"#model-video\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
  4205.                                     <svg class=\"icon d-inline-block\">
  4206.                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
  4207.                                     </svg>
  4208.                                 Видео
  4209.                             </a>
  4210.                         </li>
  4211.                         {% endif %}
  4212.                     </ul>
  4213.                     <div class=\"tab-content\" id=\"model-tabContent\">
  4214.                         {% if profile.photos is defined and profile.photos|length > 0 %}
  4215.                             <div class=\"tab-pane fade{% if currentPage == 'photo' %} show active{% endif %}\" id=\"model-photo\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab\">
  4216.                                 <div class=\"model-aside-row d-flex flex-wrap\">
  4217.                                     {% for photo in profile.photos %}
  4218. \t\t\t\t\t\t\t\t\t    {% if photo.path %}
  4219. \t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index) %}
  4220.                                             <div class=\"model-aside-col rounding\">
  4221.                                                 <a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
  4222.                                                     <img class=\"img-fluid lazy\"
  4223.                                                         data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
  4224.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
  4225.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
  4226.                                                             {{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
  4227.                                                         sizes=\"(max-width: 660px) 196px,
  4228.                                                             (max-width: 980px) 177px,
  4229.                                                             (max-width: 1125px) 228px,
  4230.                                                             260px\"
  4231.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  4232.                                                         data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
  4233.                                                         alt=\"{{ alt }}\"
  4234.                                                         data-type=\"lg\"
  4235.                                                         data-index-lg=\"{{loop.index}}\">
  4236.                                                 </a>
  4237.                                             </div>
  4238. \t\t\t\t\t\t\t\t\t    {% endif %}
  4239.                                     {% endfor %}
  4240.                                 </div>
  4241.                             </div>
  4242.                         {% endif %}
  4243.                         {% if profile.selfies is defined and profile.selfies|length > 0 %}
  4244.                             <div class=\"tab-pane fade{% if currentPage == 'selfie' %} show active{% endif %}\" id=\"model-selfie\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab\">
  4245.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
  4246.                                     {% for photo in profile.selfies %}
  4247.                                         {% if photo.path %}
  4248. \t\t\t\t\t\t\t\t\t\t\t{% set alt = _self._get_alt(profile, servicesList, loop.index + profile.photos|length) %}
  4249.                                             <div class=\"model-aside-col rounding\">
  4250.                                                 <a class=\"nolink\" href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\">
  4251.                                                     <img class=\"img-fluid lazy\"
  4252.                                                         data-srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
  4253. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
  4254. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
  4255. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
  4256.                                                         sizes=\"(max-width: 660px) 196px,
  4257. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
  4258. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
  4259. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
  4260.                                                         data-type=\"lg\"
  4261.                                                         data-index-lg=\"{{loop.index + profile.photos|length}}\"
  4262.                                                         src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"
  4263.                                                         data-src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
  4264.                                                         alt=\"{{ alt }}\">
  4265.                                                 </a>
  4266.                                             </div>
  4267. \t\t\t\t\t\t\t\t\t    {% endif %}
  4268.                                     {% endfor %}
  4269.                                 </div>
  4270.                             </div>
  4271.                         {% endif %}
  4272.                         {% if false == profile.isModerationRejected and not profile.deleted and profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
  4273.                             <div class=\"tab-pane fade{% if currentPage == 'video' %} show active{% endif %}\" id=\"model-video\" role=\"tabpanel\" aria-labelledby=\"model-video-tab\">
  4274.                                 <div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
  4275.                                     {% for video in profile.confirmedVideos %}
  4276.                                         <div class=\"model-video-container rounding\">
  4277.                                             <video class=\"model-video vlite-js\" controls preload=\"metadata\" width=\"341\" height=\"227\"{% if video.previewPath %} poster=\"{{ responsive_asset(video.previewPath, 'profile_media', 'fullsize') }}{% endif %}\">
  4278.                                                 <source src=\"{{ asset(video.path, 'profile_media') }}\" type='video/mp4'/>
  4279.                                             </video>
  4280.                                         </div>
  4281.                                     {% endfor %}
  4282.                                 </div>
  4283.                             </div>
  4284.                         {% endif %}
  4285.                     </div>
  4286.                 </div>
  4287.             {% endif %}
  4288.         </div>
  4289.     </div>
  4290.     {# {% set excludeRecommendationProfileIds = [profile.id] %}
  4291.     {{ include('components/_profile_recommendations.html.twig') }} #}
  4292. \t{# Реки #}
  4293.     <div id=\"recommendations\">
  4294.         {%- set excludeRecommendationProfileIds = [profile.id] -%}
  4295.         {%- include 'recommendations/_profile_recommendations.html.twig' with {componentClass: 'with-profile'} -%}
  4296.     </div>
  4297.     {{ include('ProfilePreview/nearest_profiles.html.twig') }}
  4298.     {# <div class=\"recommended-widget\">
  4299.         <h2 class=\"border-line\">Рекомендованные анкеты</h2>
  4300.         <div class=\"recommended-items-row flex-wrap\">
  4301.             <div class=\"recommended-item-col\">
  4302.                 <div class=\"recommended-model\">
  4303.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4304.                         <p class=\"recommended-model__name m-0\">
  4305.                             <span class=\"recommended-model__name__full\">
  4306.                                 Марина, 22
  4307.                             </span>
  4308.                             <svg class=\"icon ml-1\">
  4309.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verify-new') }}\"></use>
  4310.                             </svg>
  4311.                         </p>
  4312.                         <div class=\"recommended-model__images\">
  4313.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4314.                         </div>
  4315.                     </a>
  4316.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4317.                         +79384382353
  4318.                         <span class=\"ml-sm-auto\">от 2500</span>
  4319.                     </p>
  4320.                     <div class=\"d-flex fr align-items-center recommended-model__metro\">
  4321.                         <svg class=\"icon mr-1\">
  4322.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4323.                         </svg>
  4324.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4325.                     </div>
  4326.                 </div>
  4327.             </div>
  4328.             <div class=\"recommended-item-col\">
  4329.                 <div class=\"recommended-model\">
  4330.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4331.                         <p class=\"recommended-model__name m-0\">
  4332.                             <svg class=\"icon mr-2\">
  4333.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4334.                             </svg>
  4335.                             Марина, 22
  4336.                         </p>
  4337.                         <div class=\"recommended-model__images\">
  4338.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4339.                         </div>
  4340.                     </a>
  4341.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4342.                         +79384382353
  4343.                         <span class=\"ml-sm-auto\">от 2500</span>
  4344.                     </p>
  4345.                     <div class=\"d-flex align-items-center recommended-model__metro\">
  4346.                         <svg class=\"icon mr-1\">
  4347.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4348.                         </svg>
  4349.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4350.                     </div>
  4351.                 </div>
  4352.             </div>
  4353.             <div class=\"recommended-item-col\">
  4354.                 <div class=\"recommended-model\">
  4355.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4356.                         <p class=\"recommended-model__name m-0\">
  4357.                             <svg class=\"icon mr-2\">
  4358.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4359.                             </svg>
  4360.                             Марина, 22
  4361.                         </p>
  4362.                         <div class=\"recommended-model__images\">
  4363.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4364.                         </div>
  4365.                     </a>
  4366.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4367.                         +79384382353
  4368.                         <span class=\"ml-sm-auto\">от 2500</span>
  4369.                     </p>
  4370.                     <div class=\"d-flex align-items-center recommended-model__metro\">
  4371.                         <svg class=\"icon mr-1\">
  4372.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4373.                         </svg>
  4374.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4375.                     </div>
  4376.                 </div>
  4377.             </div>
  4378.             <div class=\"recommended-item-col\">
  4379.                 <div class=\"recommended-model\">
  4380.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4381.                         <p class=\"recommended-model__name m-0\">
  4382.                             <svg class=\"icon mr-2\">
  4383.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4384.                             </svg>
  4385.                             Марина, 22
  4386.                         </p>
  4387.                         <div class=\"recommended-model__images\">
  4388.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4389.                         </div>
  4390.                     </a>
  4391.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4392.                         +79384382353
  4393.                         <span class=\"ml-sm-auto\">от 2500</span>
  4394.                     </p>
  4395.                     <div class=\"d-flex align-items-center recommended-model__metro\">
  4396.                         <svg class=\"icon mr-1\">
  4397.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4398.                         </svg>
  4399.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4400.                     </div>
  4401.                 </div>
  4402.             </div>
  4403.             <div class=\"recommended-item-col\">
  4404.                 <div class=\"recommended-model\">
  4405.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4406.                         <p class=\"recommended-model__name m-0\">
  4407.                             <svg class=\"icon mr-2\">
  4408.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4409.                             </svg>
  4410.                             Марина, 22
  4411.                         </p>
  4412.                         <div class=\"recommended-model__images\">
  4413.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4414.                         </div>
  4415.                     </a>
  4416.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4417.                         +79384382353
  4418.                         <span class=\"ml-sm-auto\">от 2500</span>
  4419.                     </p>
  4420.                     <div class=\"d-flex align-items-center recommended-model__metro\">
  4421.                         <svg class=\"icon mr-1\">
  4422.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4423.                         </svg>
  4424.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4425.                     </div>
  4426.                 </div>
  4427.             </div>
  4428.             <div class=\"recommended-item-col\">
  4429.                 <div class=\"recommended-model\">
  4430.                     <a href=\"#\" class=\"d-block recommended-model__url\">
  4431.                         <p class=\"recommended-model__name m-0\">
  4432.                             <svg class=\"icon mr-2\">
  4433.                                 <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
  4434.                             </svg>
  4435.                             Марина, 22
  4436.                         </p>
  4437.                         <div class=\"recommended-model__images\">
  4438.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_recommended.jpg') }}\">
  4439.                         </div>
  4440.                     </a>
  4441.                     <p class=\"recommended-model__phone d-flex align-items-center flex-wrap flex-sm-nowrap mb-1\">
  4442.                         +79384382353
  4443.                         <span class=\"ml-sm-auto\">от 2500</span>
  4444.                     </p>
  4445.                     <div class=\"d-flex align-items-center recommended-model__metro\">
  4446.                         <svg class=\"icon mr-1\">
  4447.                             <use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-metro') }}\"></use>
  4448.                         </svg>
  4449.                         <a href=\"#\" class=\"d-flex align-items-center\">Академическая</a>
  4450.                     </div>
  4451.                 </div>
  4452.             </div>
  4453.         </div>
  4454.     </div> #}
  4455.     {% if profile.isActive or not profile.hidden %}
  4456.         <div class=\"sticky-phone sticky-phone--hide\" id=\"phone-sticky\">
  4457.             <div class=\"sticky-phone__mobile d-flex\" id=\"phone-sticky-donor\">
  4458.                 <div class=\"model-phone__element model-phone__number rounding\">
  4459.                     <button class=\"models-item__phone-button models-item__phone-button--dark btn btn-danger d-flex align-items-center justify-content-center\" type=\"button\" onclick=\"this.nextElementSibling.classList.remove('d-none');this.nextElementSibling.classList.add('d-flex');this.remove()\">
  4460.                         <svg class=\"models-item__phone-icon\">
  4461.                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
  4462.                         </svg>
  4463.                         Показать телефон
  4464.                     </button>
  4465.                     <a href=\"tel:{{ profile.phoneNumber|replace({' ':'', '-':''}) }}\" rel=\"nofollow\" class=\"models-item__phone-button btn btn-danger align-items-center justify-content-center d-none\">
  4466.                         <svg class=\"models-item__phone-icon\">
  4467.                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#phone\"></use>
  4468.                         </svg>
  4469.                         {{ profile.phoneNumber }}
  4470.                     </a>
  4471.                 </div>
  4472.                 {% if profile.messengers.whatsApp %}
  4473.                     <a class=\"sticky-phone__mobile__element sticky-phone__mobile__whatsup\" target=\"_blank\" href=\"https://wa.me/{{ onlyPhoneNumber }}?text=Привет,%20{{ profile.name }}!%20Нашел%20твою%20анкету%20на%20МосПрос.\" title=\"WhatsApp\" rel=\"nofollow\">
  4474.                         <svg class=\"icon\">
  4475.                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-viber\"></use>
  4476.                         </svg>
  4477.                     </a>
  4478.                 {% endif %}
  4479.                 {% if profile.messengers.telegram %}
  4480.                     <a  class=\"sticky-phone__mobile__element sticky-phone__mobile__telegram\" target=\"_blank\" href=\"https://t.me/+{{ onlyPhoneNumber }}\" title=\"Telegram\">
  4481.                         <svg class=\"icon\">
  4482.                             <use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-messager\"></use>
  4483.                         </svg>
  4484.                     </a>
  4485.                 {% endif %}
  4486.             </div>
  4487.             <p class=\"sticky-phone__text color-verify\">
  4488.                 Скажите что звоните с МосПрос и я всё пойму
  4489.             </p>
  4490.         </div>
  4491.     {% endif %}
  4492. {% endblock %}
  4493. {% block javascripts %}
  4494.     {#<script src=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>#}
  4495.     {#<script src=\"/assets/vendors/lightgallery/js/lightgallery.min.js\"></script>#}
  4496.     <script src=\"/assets/vendors/lightgallery_v2/lightgallery.min.js\"></script>
  4497.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/lightgallery@2.0.0-beta.3/css/lightgallery-bundle.css\">
  4498.     {#<script type=\"text/javascript\">
  4499.         // \$(document).ready(function() {
  4500.             const \$slider__images = \$('.friends-items');
  4501.             if (\$slider__images.length) {
  4502.                 \$slider__images.slick({
  4503.                     slidesToShow: 7,
  4504.                     slidesToScroll: 1,
  4505.                     dots: false,
  4506.                     centerMode: false,
  4507.                     focusOnSelect: true,
  4508.                     variableWidth: true,
  4509.                     responsive: [
  4510.                         {
  4511.                             breakpoint: 1680,
  4512.                             settings: {
  4513.                                 slidesToShow: 6
  4514.                             }
  4515.                         },
  4516.                     ]
  4517.                 });
  4518.             }
  4519.         // });
  4520.     </script>#}
  4521.     <script type=\"text/javascript\">
  4522.         document.addEventListener(\"DOMContentLoaded\", () => {
  4523.             function getWidthScrollbar() {
  4524.                 let div = document.createElement('div');
  4525.                 div.style.overflowY = 'scroll';
  4526.                 div.style.width = '50px';
  4527.                 div.style.height = '50px';
  4528.                 document.body.append(div);
  4529.                 let scrollWidth = div.offsetWidth - div.clientWidth;
  4530.                 div.remove();
  4531.                 return scrollWidth;
  4532.             }
  4533.             function galleryInit()  {
  4534.                 const dynamicGallery = document.getElementById('profile-heading');
  4535.                 dynamicGallery.addEventListener('lgAfterOpen', (event) => {
  4536.                     document.body.style.overflow = 'hidden'
  4537.                     document.body.style.paddingRight = getWidthScrollbar() + 'px'
  4538.                 });
  4539.                 dynamicGallery.addEventListener('lgAfterClose', (event) => {
  4540.                     document.body.style.overflow = ''
  4541.                     document.body.style.paddingRight = '0'
  4542.                 });
  4543.                 const dynamicLG = lightGallery(dynamicGallery, {
  4544.                     dynamic: true,
  4545.                     licenseKey: \"2564-4867-3007-0501\",
  4546.                     startClass:'',
  4547.                     dynamicEl: [
  4548.                         {% set photo = profile|avatar %}
  4549.                         {% if photo %}{ src: \"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" },{% endif %}
  4550.                         {% if profile.photos is defined and profile.photos|length > 0 %}
  4551.                             {% for photo in profile.photos %}
  4552.                                 { src: \"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" },
  4553.                             {% endfor %}
  4554.                         {% endif %}
  4555.                         {% if profile.selfies is defined and profile.selfies|length > 0 %}
  4556.                             {% for photo in profile.selfies %}
  4557.                                 { src: \"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" },
  4558.                             {% endfor %}
  4559.                         {% endif %}
  4560.                         ]
  4561.                     });
  4562.                 document.addEventListener('click', function (event) {
  4563.                     const {target} = event;
  4564.                     if (target.closest('.tab-content')) {
  4565.                         event.preventDefault();
  4566.                     }
  4567.                     if (target.dataset && target.dataset.type === 'lg'){
  4568.                         const index = target.dataset.indexLg ? +target.dataset.indexLg  : 0;
  4569.                         dynamicLG.openGallery(index);
  4570.                     }
  4571.                 });
  4572.             }
  4573.             setTimeout(() => {
  4574.                 galleryInit();
  4575.             }, 600);
  4576.             //---------------------------------
  4577.             var allTabs = document.querySelectorAll('a[data-toggle=\"pill\"]');
  4578.             var contentBlock = document.getElementById('model-tabContent');
  4579.             var contentBlock2 = document.getElementById('model-tabContent_2');
  4580.             for (let i = 0; i < allTabs.length; i++) {
  4581.                 allTabs[i].addEventListener('click', clickToTab.bind(this, allTabs[i]));
  4582.             }
  4583.             function clickToTab(tab, event) {
  4584.                 event.preventDefault();
  4585.                 var id = tab.getAttribute('aria-controls');
  4586.                 setContent(id);
  4587.                 setTab(tab,id);
  4588.             }
  4589.             function setContent(id) {
  4590.                 for (let i = 0; i < contentBlock.children.length; i++) {
  4591.                     if (contentBlock.children[i].id === id){
  4592.                         contentBlock.children[i].classList.add('active')
  4593.                         contentBlock.children[i].classList.add('show')
  4594.                         contentBlock2.children[i].classList.add('active')
  4595.                         contentBlock2.children[i].classList.add('show')
  4596.                     } else {
  4597.                         contentBlock.children[i].classList.remove('active')
  4598.                         contentBlock.children[i].classList.remove('show')
  4599.                         contentBlock2.children[i].classList.remove('active')
  4600.                         contentBlock2.children[i].classList.remove('show')
  4601.                     }
  4602.                 }
  4603.             }
  4604.             function setTab(activeTab, id) {
  4605.                 for (let i = 0; i < allTabs.length; i++) {
  4606.                    allTabs[i].classList.remove('active')
  4607.                 }
  4608.                 activeTab.classList.add('active')
  4609.             }
  4610.             // ------------------------------------
  4611.             var servicesBlock = document.getElementById('services_items');
  4612.             if (!servicesBlock) return;
  4613.             var servicesExtendBlock = servicesBlock.nextElementSibling;
  4614.             var servicesType = servicesBlock.dataset.type;
  4615.             switch (servicesBlock.childElementCount) {
  4616.                 case 0:
  4617.                     servicesExtendBlock.classList.add('modal-services__extend__items--no-services')
  4618.                     break;
  4619.                 default:
  4620.                     servicesBlock.classList.add(`modal-services__items--count-\${servicesBlock.childElementCount}`)
  4621.                     break;
  4622.             }
  4623.             if (servicesExtendBlock.children[0].childElementCount === 0){
  4624.                 servicesExtendBlock.classList.add('modal-services__extend__items--no-extend-services')
  4625.                 if (servicesBlock.childElementCount === 0){
  4626.                     servicesExtendBlock.parentElement.parentElement.classList.add('d-none');
  4627.                 }
  4628.             }
  4629.         });
  4630. \t\twindow.comment_data = {
  4631. \t\t\t'urlCreate': '{{ path('profile.comment.create', {profile: profile.id}) }}',
  4632. \t\t\t'urlGet': '{{ path('profile.comment.comment_form', {profile: profile.id}) }}',
  4633. \t\t\t'sitekey': \"{{ ewz_recaptcha_site_key }}\",
  4634. \t\t\t'registrationUrl': \"/signup/\"
  4635. \t\t};
  4636. \t</script>
  4637. \t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  4638.     {% set excludeRecommendationProfileIds = [profile.id] %}
  4639. \t{{ parent() }}
  4640.     <script>
  4641.         window._mp = {
  4642.             stations: {
  4643.                 {%- for station in stations() -%}
  4644.                     \"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
  4645.                 {%- endfor -%}
  4646.             }
  4647.         };
  4648.         (function() {
  4649.             let isRenderRecommendationsWidget = false;
  4650.             let isRenderBotWidget = false;
  4651.             let isRenderRecentlyViewedWidget = false;
  4652.             function loadWidgets() {
  4653.                 if (!isRenderRecommendationsWidget) {
  4654.                     isRenderRecommendationsWidget = true;
  4655.                     console.log(window.Recommendation)
  4656.                     window.Recommendation.addViewedProfile({{ profile.id }})
  4657.                 }
  4658.                 if (!isRenderBotWidget) {
  4659.                     isRenderBotWidget = true;
  4660.                     window.profileBotHelper.addViewedProfile({{ profile.id }});
  4661.                 }
  4662.                 if (!isRenderRecentlyViewedWidget) {
  4663.                     isRenderRecentlyViewedWidget = true;
  4664.                     window.recentlyViewed.addViewedProfile({{ profile.id }});
  4665.                 }
  4666.                 //const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
  4667.             }
  4668.             window.addEventListener('load', () => {
  4669.                 try {
  4670.                     loadWidgets();
  4671.                 } catch (error) {
  4672.                     console.error(error);
  4673.                 }
  4674.             })
  4675.             document.addEventListener('DOMContentLoaded', function() {
  4676.                 window.increase_views({{profile.id}});
  4677.             });
  4678.             document.addEventListener(\"recommendations:ready\", () => {
  4679.                 try {
  4680.                     loadWidgets();
  4681.                 } catch (error) {
  4682.                     console.error(error);
  4683.                 }
  4684.             });
  4685.         })();
  4686. \t</script>
  4687. {% endblock %}
  4688. ""ProfilePreview/page.html.twig""/app/templates/ProfilePreview/page.html.twig");
  4689.     }
  4690. }