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

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.             'title' => [$this'block_title'],
  24.             'metaDescription' => [$this'block_metaDescription'],
  25.             'name_page' => [$this'block_name_page'],
  26.             'stylesheet' => [$this'block_stylesheet'],
  27.             'mainContainer' => [$this'block_mainContainer'],
  28.             'mobile_phone' => [$this'block_mobile_phone'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.         $macros["_self"] = $this->macros["_self"] = $this;
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "ProfilePreview/grid.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  42.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfilePreview/page.html.twig"));
  47.         // line 47
  48.         $context["currencyFront"] = (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 48
  49. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'48$this->source); })()), "city", [], "any"falsefalsefalse48), "countryCode", [], "any"falsefalsefalse48) == "RU")) ? ("₽") : ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 49
  50. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'49$this->source); })()), "city", [], "any"falsefalsefalse49), "countryCode", [], "any"falsefalsefalse49) == "UA")) ? ("₴") : ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 50
  51. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'50$this->source); })()), "city", [], "any"falsefalsefalse50), "countryCode", [], "any"falsefalsefalse50) == "KZ")) ? ("\$") : ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 51
  52. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'51$this->source); })()), "city", [], "any"falsefalsefalse51), "countryCode", [], "any"falsefalsefalse51) == "LT")) ? ("€") : ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 52
  53. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'52$this->source); })()), "city", [], "any"falsefalsefalse52), "countryCode", [], "any"falsefalsefalse52) == "LV")) ? ("€") : ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 53
  54. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'53$this->source); })()), "city", [], "any"falsefalsefalse53), "countryCode", [], "any"falsefalsefalse53) == "EE")) ? ("€") : ("\$"))))))))))));
  55.         // line 1
  56.         $this->parent $this->loadTemplate("ProfilePreview/grid.html.twig""ProfilePreview/page.html.twig"1);
  57.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  58.         
  59.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.     }
  65.     // line 31
  66.     public function block_title($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  70.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  75.         // line 32
  76.         echo "    ";
  77.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaTitle(), "html"nulltrue);
  78.         echo "
  79. ";
  80.         
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  82.         
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  84.         
  85.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  86.     }
  87.     // line 35
  88.     public function block_metaDescription($context, array $blocks = [])
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  92.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  97.         // line 36
  98.         echo "    <meta name=\"description\" content=\"";
  99.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaDescription(), "html"nulltrue);
  100.         echo "\">
  101. ";
  102.         
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  104.         
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106.         
  107.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  108.     }
  109.     // line 39
  110.     public function block_name_page($context, array $blocks = [])
  111.     {
  112.         $macros $this->macros;
  113.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  114.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  119.         echo "profile";
  120.         
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  122.         
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  124.         
  125.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  126.     }
  127.     // line 41
  128.     public function block_stylesheet($context, array $blocks = [])
  129.     {
  130.         $macros $this->macros;
  131.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  132.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  134.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  137.         // line 42
  138.         echo "    ";
  139.         $this->displayParentBlock("stylesheet"$context$blocks);
  140.         echo "
  141.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\">
  142.     <link rel=\"stylesheet\" href=\"/assets/vendors/lightgallery/css/lightgallery.min.css\">
  143. ";
  144.         
  145.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  146.         
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  148.         
  149.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  150.     }
  151.     // line 56
  152.     public function block_mainContainer($context, array $blocks = [])
  153.     {
  154.         $macros $this->macros;
  155.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  156.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  160.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  161.         // line 57
  162.         echo "    ";
  163.         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.'57$this->source); })())]);
  164.         echo "
  165.     <div class=\"flex-fill model-header border-line\">
  166.         <h1 class=\"d-flex flex-fill\">Индивидуалка ";
  167.         // line 60
  168.         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.'60$this->source); })()), "name", [], "any"falsefalsefalse60), "html"nulltrue);
  169.         echo ", <span class=\"age\">";
  170.         ((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.'60$this->source); })()), "personParameters", [], "any"falsefalsefalse60), "age", [], "any"falsefalsefalse60)) ? (print (twig_escape_filter($this->env$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.'60$this->source); })()), "personParameters", [], "any"falsefalsefalse60), "age", [], "any"falsefalsefalse60), "год"), "html"nulltrue))) : (print ("")));
  171.         echo "</span>&nbsp;ID ";
  172.         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.'60$this->source); })()), "id", [], "any"falsefalsefalse60), "html"nulltrue);
  173.         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.'60$this->source); })()), "approved", [], "any"falsefalsefalse60)) {
  174.             echo "<span class=\"verification ml-auto\">Фото проверено</span>";
  175.         }
  176.         echo "</h1>
  177.     </div>";
  178.         // line 63
  179.         $context["prices1H"] = twig_array_filter($this->env, [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 64
  180. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'64$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse64), "oneHourPrice", [], "any"falsefalsefalse64), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 65
  181. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'65$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse65), "oneHourPrice", [], "any"falsefalsefalse65)],         // line 66
  182. function ($__v__) use ($context$macros) { $context["v"] = $__v__; return  !(null === (isset($context["v"]) || array_key_exists("v"$context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.'66$this->source); })())); });
  183.         // line 68
  184.         $context["min1HPrice"] = (( !twig_test_empty((isset($context["prices1H"]) || array_key_exists("prices1H"$context) ? $context["prices1H"] : (function () { throw new RuntimeError('Variable "prices1H" does not exist.'68$this->source); })()))) ? (min((isset($context["prices1H"]) || array_key_exists("prices1H"$context) ? $context["prices1H"] : (function () { throw new RuntimeError('Variable "prices1H" does not exist.'68$this->source); })()))) : (0));
  185.         // line 69
  186.         $context["min1HPriceOutput"] = ((((isset($context["min1HPrice"]) || array_key_exists("min1HPrice"$context) ? $context["min1HPrice"] : (function () { throw new RuntimeError('Variable "min1HPrice" does not exist.'69$this->source); })()) > 0)) ? ((isset($context["min1HPrice"]) || array_key_exists("min1HPrice"$context) ? $context["min1HPrice"] : (function () { throw new RuntimeError('Variable "min1HPrice" does not exist.'69$this->source); })())) : (""));
  187.         // line 71
  188.         $context["firstStation"] = (((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "primaryStation", [], "any"truetruefalse71) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'71$this->source); })()), "primaryStation", [], "any"falsefalsefalse71)))) ? (twig_get_attribute($this->env$this->source,         // line 72
  189. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'72$this->source); })()), "primaryStation", [], "any"falsefalsefalse72)) : (null));
  190.         // line 74
  191.         $context["stationOutput"] = (((isset($context["firstStation"]) || array_key_exists("firstStation"$context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.'74$this->source); })())) ? ((("метро " twig_get_attribute($this->env$this->source, (isset($context["firstStation"]) || array_key_exists("firstStation"$context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.'74$this->source); })()), "name", [], "any"falsefalsefalse74)) . ", ")) : (""));
  192.         // line 76
  193.         $context["isDefaultCity"] = (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.'76$this->source); })()), "city", [], "any"falsefalsefalse76) == $this->extensions['App\Twig\DefaultCityExtension']->defaultCity());
  194.         // line 78
  195.         $context["morpID"] = 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.'78$this->source); })()), "id", [], "any"falsefalsefalse78);
  196.         // line 79
  197.         $context["serviceNameList"] = [];
  198.         // line 80
  199.         echo "    ";
  200.         $context['_parent'] = $context;
  201.         $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.'80$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.'80$this->source); })()), "masseur", [], "any"falsefalsefalse80) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups"$context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.'80$this->source); })()))); }));
  202.         foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
  203.             // line 81
  204.             echo "        ";
  205.             $context['_parent'] = $context;
  206.             $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  207.             foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  208.                 // line 82
  209.                 echo "            ";
  210.                 $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.'82$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse82);
  211.                 // line 83
  212.                 echo "            ";
  213.                 if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'83$this->source); })())) {
  214.                     // line 84
  215.                     echo "                ";
  216.                     $context["serviceNameList"] = twig_array_merge((isset($context["serviceNameList"]) || array_key_exists("serviceNameList"$context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.'84$this->source); })()), [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse84))]);
  217.                     // line 85
  218.                     echo "            ";
  219.                 }
  220.                 // line 86
  221.                 echo "        ";
  222.             }
  223.             $_parent $context['_parent'];
  224.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  225.             $context array_intersect_key($context$_parent) + $_parent;
  226.             // line 87
  227.             echo "    ";
  228.         }
  229.         $_parent $context['_parent'];
  230.         unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
  231.         $context array_intersect_key($context$_parent) + $_parent;
  232.         // line 89
  233.         $context["service1"] = null;
  234.         // line 90
  235.         $context["service2"] = null;
  236.         // line 91
  237.         if ( !twig_test_empty((isset($context["serviceNameList"]) || array_key_exists("serviceNameList"$context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.'91$this->source); })()))) {
  238.             // line 92
  239.             $context["service1"] = $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["serviceNameList"]) || array_key_exists("serviceNameList"$context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.'92$this->source); })()), (isset($context["morpID"]) || array_key_exists("morpID"$context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.'92$this->source); })()));
  240.             // line 93
  241.             $context["service2"] = $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["serviceNameList"]) || array_key_exists("serviceNameList"$context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.'93$this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID"$context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.'93$this->source); })()) + 105));
  242.             // line 95
  243.             if (((isset($context["service1"]) || array_key_exists("service1"$context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.'95$this->source); })()) == (isset($context["service2"]) || array_key_exists("service2"$context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.'95$this->source); })()))) {
  244.                 // line 96
  245.                 $context["service2"] = $this->extensions['App\Twig\SeoExtension']->morphing((isset($context["serviceNameList"]) || array_key_exists("serviceNameList"$context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.'96$this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID"$context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.'96$this->source); })()) + 104));
  246.                 // line 98
  247.                 if (((isset($context["service1"]) || array_key_exists("service1"$context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.'98$this->source); })()) == (isset($context["service2"]) || array_key_exists("service2"$context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.'98$this->source); })()))) {
  248.                     // line 99
  249.                     $context["service2"] = null;
  250.                 }
  251.                 // line 101
  252.                 echo "        ";
  253.             }
  254.             // line 102
  255.             echo "    ";
  256.         }
  257.         // line 103
  258.         echo "
  259.     ";
  260.         // line 105
  261.         echo "    ";
  262.         $context["altTemplates"] = [((("инди " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source,         // line 106
  263. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'106$this->source); })()), "name", [], "any"falsefalsefalse106))) . ", ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'106$this->source); })()), "city", [], "any"falsefalsefalse106), "name", [], "any"falsefalsefalse106)), (((("девочка по вызову " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source,         // line 107
  264. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'107$this->source); })()), "name", [], "any"falsefalsefalse107))) . ", ") . (isset($context["min1HPriceOutput"]) || array_key_exists("min1HPriceOutput"$context) ? $context["min1HPriceOutput"] : (function () { throw new RuntimeError('Variable "min1HPriceOutput" does not exist.'107$this->source); })())) . " руб. час"), (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source,         // line 108
  265. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'108$this->source); })()), "name", [], "any"falsefalsefalse108)) . (((isset($context["service1"]) || array_key_exists("service1"$context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.'108$this->source); })())) ? ((", " . (isset($context["service1"]) || array_key_exists("service1"$context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.'108$this->source); })()))) : (""))) . (((isset($context["service2"]) || array_key_exists("service2"$context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.'108$this->source); })())) ? ((", " . (isset($context["service2"]) || array_key_exists("service2"$context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.'108$this->source); })()))) : (""))), ((("шлюха " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source,         // line 109
  266. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'109$this->source); })()), "name", [], "any"falsefalsefalse109))) . ", снять по тел. ") . 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.'109$this->source); })()), "phoneNumber", [], "any"falsefalsefalse109)), ((("проститутка " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source,         // line 110
  267. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'110$this->source); })()), "name", [], "any"falsefalsefalse110))) . ", в ") . 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.'110$this->source); })()), "city", [], "any"falsefalsefalse110), "name", [], "any"falsefalsefalse110)), ((("проститутка " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source,         // line 111
  268. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'111$this->source); })()), "name", [], "any"falsefalsefalse111))) . ", анкета ID") . twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'111$this->source); })()), "id", [], "any"falsefalsefalse111))];
  269.         // line 113
  270.         echo "
  271.     <div class=\"d-flex profile-wrapper\">
  272.         <div class=\"cols-1\">
  273.             <section class=\"model-info d-flex\">
  274.                 <div class=\"wrap\">
  275.                     <div class=\"avatar\" id=\"avatar-preview\" itemtype=\"http://schema.org/ImageObject\">
  276.                         ";
  277.         // line 119
  278.         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.'119$this->source); })()), "deleted", [], "any"falsefalsefalse119)) {
  279.             // line 120
  280.             echo "                            ";
  281.             $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.'120$this->source); })()));
  282.             // line 121
  283.             echo "                            ";
  284.             if ((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'121$this->source); })())) {
  285.                 // line 122
  286.                 echo "                                <a href=\"";
  287.                 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.'122$this->source); })()), "path", [], "any"falsefalsefalse122), "profile_media""fullsize""jpg"), "html"nulltrue);
  288.                 echo "\" class=\"girl-avatar__small\" data-gallery=\"girl-avatar\" data-index=\"0\">
  289.                                     <img itemprop=\"contentUrl\" src=\"";
  290.                 // line 123
  291.                 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.'123$this->source); })()), "path", [], "any"falsefalsefalse123), "profile_media""300x420""jpg"), "html"nulltrue);
  292.                 echo "\"
  293.                                          alt=\"проститутка ";
  294.                 // line 124
  295.                 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.'124$this->source); })()), "name", [], "any"falsefalsefalse124)), "html"nulltrue);
  296.                 ((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.'124$this->source); })()), "personParameters", [], "any"falsefalsefalse124), "age", [], "any"falsefalsefalse124)) ? (print (twig_escape_filter($this->env, (", " $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.'124$this->source); })()), "personParameters", [], "any"falsefalsefalse124), "age", [], "any"falsefalsefalse124), "год")), "html"nulltrue))) : (print ("")));
  297.                 echo "\"
  298.                                          class=\"img-fluid\" loading=\"lazy\">
  299.                                     ";
  300.                 // line 126
  301.                 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.'126$this->source); })()), "approved", [], "any"falsefalsefalse126)) {
  302.                     echo "<div class=\"verify\">
  303.                                         <svg class=\"icon\">
  304.                                             <use xlink:href=\"#icon-models-profile-verify\"></use>
  305.                                         </svg>
  306.                                     </div>";
  307.                 }
  308.                 // line 131
  309.                 echo "                                </a>
  310.                             ";
  311.             }
  312.             // line 133
  313.             echo "                        ";
  314.         } else {
  315.             // line 134
  316.             echo "                            <img src=\"";
  317.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/avatar-lock.svg"), "html"nulltrue);
  318.             echo "\" loading=\"lazy\">
  319.                         ";
  320.         }
  321.         // line 136
  322.         echo "                    </div>
  323.                     ";
  324.         // line 137
  325.         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.'137$this->source); })()), "user", [], "any"falsefalsefalse137)) &&  !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.'137$this->source); })()), "deleted", [], "any"falsefalsefalse137))) {
  326.             // line 138
  327.             echo "                        <button type=\"button\"
  328.                                 data-url-add=\"";
  329.             // line 139
  330.             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.'139$this->source); })()), "id", [], "any"falsefalsefalse139)]), "html"nulltrue);
  331.             echo "\"
  332.                                 data-url-remove=\"";
  333.             // line 140
  334.             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.'140$this->source); })()), "id", [], "any"falsefalsefalse140)]), "html"nulltrue);
  335.             echo "\"
  336.                                 ";
  337.             // line 141
  338.             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.'141$this->source); })()))) {
  339.                 // line 142
  340.                 echo "                                title=\"Убрать из избранного\"
  341.                                 class=\"btn favorite like\" id=\"favorite\">
  342.                             ";
  343.             } else {
  344.                 // line 145
  345.                 echo "                                title=\"Добавить в избранное\"
  346.                                 class=\"btn favorite unlike\" id=\"favorite\">
  347.                             ";
  348.             }
  349.             // line 148
  350.             echo "                            <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  351.                                 <path d=\"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\" fill=\"#254CB1\"/>
  352.                                 <path d=\"M20 33L18.26 31.3455C12.08 25.4921 8 21.6316 8 16.8937C8 13.0332 10.904 10 14.6 10C16.688 10 18.692 11.0153 20 12.6196C21.308 11.0153 23.312 10 25.4 10C29.096 10 32 13.0332 32 16.8937C32 21.6316 27.92 25.4921 21.74 31.358L20 33Z\" fill=\"white\"/>
  353.                                 <path class=\"ar\" d=\"M18.667 25.126L14 20.412L15.424 19.008L18.681 22.294L26.008 15L27.416 16.42L18.667 25.126Z\" fill=\"#254CB1\"/>
  354.                             </svg>
  355.                         </button>
  356.                     ";
  357.         }
  358.         // line 155
  359.         echo "                    <div class=\"main-data\">
  360.                         ";
  361.         // line 156
  362.         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.'156$this->source); })()), "deleted", [], "any"falsefalsefalse156)) {
  363.             // line 157
  364.             $this->loadTemplate("ProfilePreview/components/profile-phone.partial.twig""ProfilePreview/page.html.twig"157)->display(twig_array_merge($context, []));
  365.             // line 159
  366.             echo "<p class=\"answering-type text-data\"><span class=\"name\">";
  367.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отвечаю на:", [], "profile");
  368.             echo "</span>
  369.                                 ";
  370.             // line 160
  371.             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.'160$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse160), "answeringTo", [], "any"falsefalsefalse160)) > 0)) {
  372.                 // line 161
  373.                 echo "                                    ";
  374.                 $context['_parent'] = $context;
  375.                 $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.'161$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse161), "answeringTo", [], "any"falsefalsefalse161));
  376.                 $context['loop'] = [
  377.                   'parent' => $context['_parent'],
  378.                   'index0' => 0,
  379.                   'index'  => 1,
  380.                   'first'  => true,
  381.                 ];
  382.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  383.                     $length count($context['_seq']);
  384.                     $context['loop']['revindex0'] = $length 1;
  385.                     $context['loop']['revindex'] = $length;
  386.                     $context['loop']['length'] = $length;
  387.                     $context['loop']['last'] = === $length;
  388.                 }
  389.                 foreach ($context['_seq'] as $context["_key"] => $context["answeringTo"]) {
  390.                     // line 162
  391.                     echo "                                        ";
  392.                     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);
  393.                     if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse162)) {
  394.                         echo ",";
  395.                     }
  396.                     // line 163
  397.                     echo "                                    ";
  398.                     ++$context['loop']['index0'];
  399.                     ++$context['loop']['index'];
  400.                     $context['loop']['first'] = false;
  401.                     if (isset($context['loop']['length'])) {
  402.                         --$context['loop']['revindex0'];
  403.                         --$context['loop']['revindex'];
  404.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  405.                     }
  406.                 }
  407.                 $_parent $context['_parent'];
  408.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['answeringTo'], $context['_parent'], $context['loop']);
  409.                 $context array_intersect_key($context$_parent) + $_parent;
  410.                 // line 164
  411.                 echo "                                ";
  412.             } else {
  413.                 // line 165
  414.                 echo "                                    Не указано
  415.                                 ";
  416.             }
  417.             // line 167
  418.             echo "                            </p>
  419.                             <p class=\"answering-time text-data\"><span class=\"name\">";
  420.             // line 168
  421.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Работаю:", [], "profile");
  422.             echo "</span> ";
  423.             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.'168$this->source); })())], 168$context$this->getSourceContext());
  424.             echo "</p>
  425.                             <p class=\"alert-info\">
  426.                                 <span>Участились случаи мошенничества. Не отправляйте предоплату.</span>
  427.                             </p>
  428.                         ";
  429.         } else {
  430.             // line 173
  431.             echo "                            <div class=\"lock-block\">
  432.                                 <img src=\"";
  433.             // line 174
  434.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/profile-lock.svg"), "html"nulltrue);
  435.             echo "\">
  436.                                 <div class=\"text-block\">
  437.                                     <p class=\"title\">Девушка не работает</p>
  438.                                     <p class=\"lock\">Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</p>
  439.                                 </div>
  440.                             </div>
  441.                         ";
  442.         }
  443.         // line 181
  444.         echo "
  445.                         <p class=\"text-data city\"><span class=\"name\">Город:</span><span class=\"value\">";
  446.         // line 182
  447.         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.'182$this->source); })()), "city", [], "any"falsefalsefalse182), "name", [], "any"falsefalsefalse182), "html"nulltrue);
  448.         echo "</span></p>
  449.                         ";
  450.         // line 183
  451.         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.'183$this->source); })()), "stationsSortedByPrimary", [], "any"falsefalsefalse183)) > 0)) {
  452.             // line 184
  453.             echo "                            <div class=\"metro d-flex\">
  454.                                 <p class=\"text-data\"><span class=\"name\">";
  455.             // line 185
  456.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Метро:", [], "basic");
  457.             echo "</span></p>
  458.                                 <ul class=\"d-flex\">
  459.                                     ";
  460.             // line 187
  461.             $context['_parent'] = $context;
  462.             $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.'187$this->source); })()), "stationsSortedByPrimary", [], "any"falsefalsefalse187), 03));
  463.             $context['loop'] = [
  464.               'parent' => $context['_parent'],
  465.               'index0' => 0,
  466.               'index'  => 1,
  467.               'first'  => true,
  468.             ];
  469.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  470.                 $length count($context['_seq']);
  471.                 $context['loop']['revindex0'] = $length 1;
  472.                 $context['loop']['revindex'] = $length;
  473.                 $context['loop']['length'] = $length;
  474.                 $context['loop']['last'] = === $length;
  475.             }
  476.             foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  477.                 // line 188
  478.                 echo "                                        <li>
  479.                                             <a href=\"";
  480.                 // line 189
  481.                 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.'189$this->source); })()), "uriIdentity", [], "any"falsefalsefalse189), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse189)]), "html"nulltrue);
  482.                 echo "\"  class=\"d-flex\" target=\"_blank\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  483.                                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM10.1682 8.33113L10.1896 11.7383H12.486L12.4646 4.26169H10.3925L8.02136 8.24568L5.58611 4.26169H3.51401V11.7383H5.81041V8.44862L7.43391 11.0654H8.54473L10.1682 8.33113Z\" fill=\"#254CB1\"/>
  484.                                                 </svg>
  485.                                                 <span>";
  486.                 // line 192
  487.                 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"falsefalsefalse192)), "html"nulltrue);
  488.                 echo "</span></a>";
  489.                 if (((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse192) < 3) &&  !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse192))) {
  490.                     echo ",";
  491.                 }
  492.                 // line 193
  493.                 echo "                                        </li>
  494.                                     ";
  495.                 ++$context['loop']['index0'];
  496.                 ++$context['loop']['index'];
  497.                 $context['loop']['first'] = false;
  498.                 if (isset($context['loop']['length'])) {
  499.                     --$context['loop']['revindex0'];
  500.                     --$context['loop']['revindex'];
  501.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  502.                 }
  503.             }
  504.             $_parent $context['_parent'];
  505.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  506.             $context array_intersect_key($context$_parent) + $_parent;
  507.             // line 195
  508.             echo "                                </ul>
  509.                             </div>
  510.                             ";
  511.             // line 197
  512.             $context['_parent'] = $context;
  513.             $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.'197$this->source); })()), "stationsSortedByPrimary", [], "any"falsefalsefalse197));
  514.             $context['loop'] = [
  515.               'parent' => $context['_parent'],
  516.               'index0' => 0,
  517.               'index'  => 1,
  518.               'first'  => true,
  519.             ];
  520.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  521.                 $length count($context['_seq']);
  522.                 $context['loop']['revindex0'] = $length 1;
  523.                 $context['loop']['revindex'] = $length;
  524.                 $context['loop']['length'] = $length;
  525.                 $context['loop']['last'] = === $length;
  526.             }
  527.             foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  528.                 // line 198
  529.                 echo "                                ";
  530.                 $context["stationDistrict"] = twig_get_attribute($this->env$this->source$context["station"], "district", [], "any"falsefalsefalse198);
  531.                 // line 199
  532.                 echo "                                ";
  533.                 if ((isset($context["stationDistrict"]) || array_key_exists("stationDistrict"$context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.'199$this->source); })())) {
  534.                     // line 200
  535.                     echo "                                    ";
  536.                     if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse200)) {
  537.                         // line 201
  538.                         echo "                                        ";
  539.                         $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.'201$this->source); })()), "county", [], "any"falsefalsefalse201);
  540.                         // line 202
  541.                         echo "                                        ";
  542.                         if ((isset($context["districtCounty"]) || array_key_exists("districtCounty"$context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.'202$this->source); })())) {
  543.                             // line 203
  544.                             echo "                                            <div class=\"region\">
  545.                                                 <p class=\"text-data\"><span class=\"name\">Район:</span></p>
  546.                                                 <ul>
  547.                                                     <li><a href=\"";
  548.                             // line 206
  549.                             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.'206$this->source); })()), "city", [], "any"falsefalsefalse206), "uriIdentity", [], "any"falsefalsefalse206), "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.'206$this->source); })()), "uriIdentity", [], "any"falsefalsefalse206)]), "html"nulltrue);
  550.                             echo "\">";
  551.                             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.'206$this->source); })()), "name", [], "any"falsefalsefalse206)), "html"nulltrue);
  552.                             echo "</a>,</li>
  553.                                                     <li><a href=\"";
  554.                             // line 207
  555.                             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.'207$this->source); })()), "city", [], "any"falsefalsefalse207), "uriIdentity", [], "any"falsefalsefalse207), "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.'207$this->source); })()), "uriIdentity", [], "any"falsefalsefalse207)]), "html"nulltrue);
  556.                             echo "\">";
  557.                             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.'207$this->source); })()), "name", [], "any"falsefalsefalse207)), "html"nulltrue);
  558.                             echo "</a></li>
  559.                                                 </ul>
  560.                                             </div>
  561.                                         ";
  562.                         }
  563.                         // line 211
  564.                         echo "                                    ";
  565.                     }
  566.                     // line 212
  567.                     echo "                                ";
  568.                 }
  569.                 // line 213
  570.                 echo "                            ";
  571.                 ++$context['loop']['index0'];
  572.                 ++$context['loop']['index'];
  573.                 $context['loop']['first'] = false;
  574.                 if (isset($context['loop']['length'])) {
  575.                     --$context['loop']['revindex0'];
  576.                     --$context['loop']['revindex'];
  577.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  578.                 }
  579.             }
  580.             $_parent $context['_parent'];
  581.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  582.             $context array_intersect_key($context$_parent) + $_parent;
  583.             // line 214
  584.             echo "                        ";
  585.         }
  586.         // line 215
  587.         echo "
  588.                         <div class=\"table-wrap\">
  589.                             <table class=\"table price-table\">
  590.                                 <thead>
  591.                                 <tr>
  592.                                     <th scope=\"col\">";
  593.         // line 220
  594.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Время", [], "profile");
  595.         echo "</th>
  596.                                     <th scope=\"col\">";
  597.         // line 221
  598.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Апартаменты", [], "profile");
  599.         echo "</th>
  600.                                     <th scope=\"col\">";
  601.         // line 222
  602.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Выезд", [], "profile");
  603.         echo "</th>
  604.                                 </tr>
  605.                                 </thead>
  606.                                 <tbody>
  607.                                 <tr>
  608.                                     <td>";
  609.         // line 227
  610.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Час", [], "profile");
  611.         echo "</td>
  612.                                     <td>";
  613.         // line 228
  614.         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.'228$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse228), "oneHourPrice", [], "any"falsefalsefalse228)) {
  615.             // line 229
  616.             echo "                                            ";
  617.             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.'229$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse229), "oneHourPrice", [], "any"falsefalsefalse229), "html"nulltrue);
  618.             echo " ";
  619.             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.'229$this->source); })()), "city", [], "any"falsefalsefalse229), "countryCode", [], "any"falsefalsefalse229)), "html"nulltrue);
  620.             echo "
  621.                                         ";
  622.         } else {
  623.             // line 230
  624.             echo "-";
  625.         }
  626.         echo "</td>
  627.                                     <td>";
  628.         // line 231
  629.         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.'231$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse231), "oneHourPrice", [], "any"falsefalsefalse231)) {
  630.             // line 232
  631.             echo "                                            ";
  632.             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.'232$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse232), "oneHourPrice", [], "any"falsefalsefalse232), "html"nulltrue);
  633.             echo " ";
  634.             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.'232$this->source); })()), "city", [], "any"falsefalsefalse232), "countryCode", [], "any"falsefalsefalse232)), "html"nulltrue);
  635.             echo "
  636.                                         ";
  637.         } else {
  638.             // line 233
  639.             echo "-";
  640.         }
  641.         echo "</td>
  642.                                 </tr>
  643.                                 <tr>
  644.                                     <td>";
  645.         // line 236
  646.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("2 часа", [], "profile");
  647.         echo "</td>
  648.                                     <td>";
  649.         // line 237
  650.         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.'237$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse237), "twoHoursPrice", [], "any"falsefalsefalse237)) {
  651.             // line 238
  652.             echo "                                            ";
  653.             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.'238$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse238), "twoHoursPrice", [], "any"falsefalsefalse238), "html"nulltrue);
  654.             echo " ";
  655.             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.'238$this->source); })()), "city", [], "any"falsefalsefalse238), "countryCode", [], "any"falsefalsefalse238)), "html"nulltrue);
  656.             echo "
  657.                                         ";
  658.         } else {
  659.             // line 239
  660.             echo "-";
  661.         }
  662.         echo "</td>
  663.                                     <td>";
  664.         // line 240
  665.         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.'240$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse240), "twoHoursPrice", [], "any"falsefalsefalse240)) {
  666.             // line 241
  667.             echo "                                            ";
  668.             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.'241$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse241), "twoHoursPrice", [], "any"falsefalsefalse241), "html"nulltrue);
  669.             echo " ";
  670.             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.'241$this->source); })()), "city", [], "any"falsefalsefalse241), "countryCode", [], "any"falsefalsefalse241)), "html"nulltrue);
  671.             echo "
  672.                                         ";
  673.         } else {
  674.             // line 242
  675.             echo "-";
  676.         }
  677.         echo "</td>
  678.                                 </tr>
  679.                                 <tr>
  680.                                     <td>";
  681.         // line 245
  682.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ночь", [], "profile");
  683.         echo "</td>
  684.                                     <td>";
  685.         // line 246
  686.         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.'246$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse246), "nightPrice", [], "any"falsefalsefalse246)) {
  687.             // line 247
  688.             echo "                                            ";
  689.             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.'247$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse247), "nightPrice", [], "any"falsefalsefalse247), "html"nulltrue);
  690.             echo " ";
  691.             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.'247$this->source); })()), "city", [], "any"falsefalsefalse247), "countryCode", [], "any"falsefalsefalse247)), "html"nulltrue);
  692.             echo "
  693.                                         ";
  694.         } else {
  695.             // line 248
  696.             echo "-";
  697.         }
  698.         echo "</td>
  699.                                     <td>";
  700.         // line 249
  701.         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.'249$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse249), "nightPrice", [], "any"falsefalsefalse249)) {
  702.             // line 250
  703.             echo "                                            ";
  704.             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.'250$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse250), "nightPrice", [], "any"falsefalsefalse250), "html"nulltrue);
  705.             echo " ";
  706.             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.'250$this->source); })()), "city", [], "any"falsefalsefalse250), "countryCode", [], "any"falsefalsefalse250)), "html"nulltrue);
  707.             echo "
  708.                                         ";
  709.         } else {
  710.             // line 251
  711.             echo "-";
  712.         }
  713.         echo "</td>
  714.                                 </tr>
  715.                                 <tr>
  716.                                     <td>";
  717.         // line 254
  718.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Экспресс", [], "profile");
  719.         echo " <span>(30мин)</span></td>
  720.                                     <td colspan=\"2\">";
  721.         // line 255
  722.         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.'255$this->source); })()), "expressPricing", [], "any"falsefalsefalse255), "provided", [], "any"falsefalsefalse255)) {
  723.             // line 256
  724.             echo "                                            ";
  725.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'256$this->source); })()), "expressPricing", [], "any"falsefalsefalse256), "price", [], "any"falsefalsefalse256)) {
  726.                 // line 257
  727.                 echo "                                                ";
  728.                 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.'257$this->source); })()), "expressPricing", [], "any"falsefalsefalse257), "price", [], "any"falsefalsefalse257), "html"nulltrue);
  729.                 echo " ";
  730.                 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.'257$this->source); })()), "city", [], "any"falsefalsefalse257), "countryCode", [], "any"falsefalsefalse257)), "html"nulltrue);
  731.                 echo "
  732.                                             ";
  733.             } else {
  734.                 // line 259
  735.                 echo "                                                -
  736.                                             ";
  737.             }
  738.             // line 261
  739.             echo "                                        ";
  740.         } else {
  741.             // line 262
  742.             echo "                                            -
  743.                                         ";
  744.         }
  745.         // line 263
  746.         echo "</td>
  747.                                 </tr>
  748.                                 </tbody>
  749.                             </table>
  750.                         </div>
  751.                     </div>
  752.                 </div>
  753.                 <div class=\"second-data\">
  754.                     <ul class=\"basic-info\">";
  755.         // line 272
  756.         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.'272$this->source); })()), "personParameters", [], "any"falsefalsefalse272), "age", [], "any"falsefalsefalse272)) {
  757.             echo "<li>";
  758.             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.'272$this->source); })()), "personParameters", [], "any"falsefalsefalse272), "age", [], "any"falsefalsefalse272), "Возраст"], 272$context$this->getSourceContext());
  759.             echo "</li>";
  760.         }
  761.         // line 273
  762.         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.'273$this->source); })()), "personParameters", [], "any"falsefalsefalse273), "height", [], "any"falsefalsefalse273)) {
  763.             echo "<li>";
  764.             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.'273$this->source); })()), "personParameters", [], "any"falsefalsefalse273), "height", [], "any"falsefalsefalse273), "Рост"], 273$context$this->getSourceContext());
  765.             echo "</li>";
  766.         }
  767.         // line 274
  768.         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.'274$this->source); })()), "personParameters", [], "any"falsefalsefalse274), "weight", [], "any"falsefalsefalse274)) {
  769.             echo "<li>";
  770.             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.'274$this->source); })()), "personParameters", [], "any"falsefalsefalse274), "weight", [], "any"falsefalsefalse274), "Вес"], 274$context$this->getSourceContext());
  771.             echo "</li>";
  772.         }
  773.         // line 275
  774.         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.'275$this->source); })()), "personParameters", [], "any"falsefalsefalse275), "clothSize", [], "any"falsefalsefalse275)) {
  775.             echo "<li>";
  776.             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.'275$this->source); })()), "personParameters", [], "any"falsefalsefalse275), "clothSize", [], "any"falsefalsefalse275), "Одежда"], 275$context$this->getSourceContext());
  777.             echo "</li>";
  778.         }
  779.         // line 276
  780.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'276$this->source); })()), "personParameters", [], "any"falsefalsefalse276), "shoesSize", [], "any"falsefalsefalse276)) {
  781.             echo "<li>";
  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.'276$this->source); })()), "personParameters", [], "any"falsefalsefalse276), "shoesSize", [], "any"falsefalsefalse276), "Обувь"], 276$context$this->getSourceContext());
  783.             echo "</li>";
  784.         }
  785.         // line 277
  786.         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.'277$this->source); })()), "personParameters", [], "any"falsefalsefalse277), "breastSize", [], "any"falsefalsefalse277)) {
  787.             echo "<li>";
  788.             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.'277$this->source); })()), "personParameters", [], "any"falsefalsefalse277), "breastSize", [], "any"falsefalsefalse277), "Грудь"], 277$context$this->getSourceContext());
  789.             echo "</li>";
  790.         }
  791.         // line 278
  792.         echo "                    </ul>
  793.                     <div class=\"wrap\">
  794.                         <ul class=\"basic-info-link\">";
  795.         // line 281
  796.         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.'281$this->source); })()), "personParameters", [], "any"falsefalsefalse281), "bodyType", [], "any"falsefalsefalse281)) {
  797.             // line 282
  798.             echo "<li class=\"with-link\"><span class=\"name\">Телосложение:</span>";
  799.             // line 283
  800.             if ((($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.'283$this->source); })()), "personParameters", [], "any"falsefalsefalse283), "bodyType", [], "any"falsefalsefalse283)) == "THIN") || ($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.'283$this->source); })()), "personParameters", [], "any"falsefalsefalse283), "bodyType", [], "any"falsefalsefalse283)) == "FAT"))) {
  801.                 // line 284
  802.                 echo "<a target=\"_blank\" href=\"";
  803.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_body_type", ["city" => twig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'284$this->source); })()), "uriIdentity", [], "any"falsefalsefalse284), "bodyType" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($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.'284$this->source); })()), "personParameters", [], "any"falsefalsefalse284), "bodyType", [], "any"falsefalsefalse284)))]), "html"nulltrue);
  804.                 echo "\" class=\"params-link std-hover-link\">";
  805.                 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.'284$this->source); })()), "personParameters", [], "any"falsefalsefalse284), "bodyType", [], "any"falsefalsefalse284)), [], "body_types"), "html"nulltrue);
  806.                 echo "</a>";
  807.             } else {
  808.                 // line 286
  809.                 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.'286$this->source); })()), "personParameters", [], "any"falsefalsefalse286), "bodyType", [], "any"falsefalsefalse286)), [], "body_types"), "html"nulltrue);
  810.             }
  811.             // line 288
  812.             echo "</li>";
  813.         }
  814.         // line 290
  815.         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.'290$this->source); })()), "personParameters", [], "any"falsefalsefalse290), "hairColor", [], "any"falsefalsefalse290)) {
  816.             echo "<li class=\"with-link\"><span class=\"name\">Цвет волос:</span><a target=\"_blank\" href=\"";
  817.             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.'290$this->source); })()), "uriIdentity", [], "any"falsefalsefalse290), "hairColor" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($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.'290$this->source); })()), "personParameters", [], "any"falsefalsefalse290), "hairColor", [], "any"falsefalsefalse290)))]), "html"nulltrue);
  818.             echo "\" class=\"params-link std-hover-link\">";
  819.             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.'290$this->source); })()), "personParameters", [], "any"falsefalsefalse290), "hairColor", [], "any"falsefalsefalse290)), [], "hair_colors"), "html"nulltrue);
  820.             echo "</a></li>";
  821.         }
  822.         // line 291
  823.         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.'291$this->source); })()), "personParameters", [], "any"falsefalsefalse291), "nationality", [], "any"falsefalsefalse291)) {
  824.             echo "<li class=\"with-link\"><span class=\"name\">Национальность:</span><a target=\"_blank\" href=\"";
  825.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_nationality", ["city" => twig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'291$this->source); })()), "uriIdentity", [], "any"falsefalsefalse291), "nationality" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($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.'291$this->source); })()), "personParameters", [], "any"falsefalsefalse291), "nationality", [], "any"falsefalsefalse291)))]), "html"nulltrue);
  826.             echo "\" class=\"params-link std-hover-link\">";
  827.             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.'291$this->source); })()), "personParameters", [], "any"falsefalsefalse291), "nationality", [], "any"falsefalsefalse291)), [], "nationalities"), "html"nulltrue);
  828.             echo "</a></li>";
  829.         }
  830.         // line 292
  831.         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.'292$this->source); })()), "personParameters", [], "any"falsefalsefalse292), "privateHaircut", [], "any"falsefalsefalse292)) {
  832.             echo "<li class=\"with-link\"><span class=\"name\">Интимная стрижка:</span>";
  833.             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.'292$this->source); })()), "personParameters", [], "any"falsefalsefalse292), "privateHaircut", [], "any"falsefalsefalse292)), [], "private_haircuts"), "html"nulltrue);
  834.             echo "</li>";
  835.         }
  836.         // line 293
  837.         echo "                        </ul>
  838.                         <ul class=\"extend-info\">";
  839.         // line 295
  840.         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.'295$this->source); })()), "createdAt", [], "any"falsefalsefalse295)) {
  841.             // line 296
  842.             echo "<li>";
  843.             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.'296$this->source); })()), "createdAt", [], "any"falsefalsefalse296), "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.'296$this->source); })()), "createdAt", [], "any"falsefalsefalse296), "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.'296$this->source); })()), "createdAt", [], "any"falsefalsefalse296), "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.'296$this->source); })()), "createdAt", [], "any"falsefalsefalse296), "H:i"))], 296$context$this->getSourceContext());
  844.             echo "</li>";
  845.         }
  846.         // line 299
  847.         $context["threshold"] = twig_get_attribute($this->env$this->sourcetwig_date_modify_filter($this->env"now""-14 days"), "getTimestamp", [], "method"falsefalsefalse299);
  848.         // line 300
  849.         $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.'300$this->source); })()), "updatedAt", [], "any"falsefalsefalse300)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'300$this->source); })()), "updatedAt", [], "any"falsefalsefalse300), "getTimestamp", [], "method"falsefalsefalse300)) : (""));
  850.         // line 301
  851.         if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs"$context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.'301$this->source); })()) && ((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs"$context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.'301$this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold"$context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.'301$this->source); })())))) {
  852.             // line 302
  853.             echo "<li>";
  854.             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.'302$this->source); })()), "updatedAt", [], "any"falsefalsefalse302), "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.'302$this->source); })()), "updatedAt", [], "any"falsefalsefalse302), "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.'302$this->source); })()), "updatedAt", [], "any"falsefalsefalse302), "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.'302$this->source); })()), "updatedAt", [], "any"falsefalsefalse302), "H:i"))], 302$context$this->getSourceContext());
  855.             echo "</li>
  856.                             ";
  857.         }
  858.         // line 304
  859.         echo "                            <li>";
  860.         echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["ID анкеты"twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'304$this->source); })()), "id", [], "any"falsefalsefalse304)], 304$context$this->getSourceContext());
  861.         echo "</li>
  862.                         </ul>
  863.                     </div>
  864.                 </div>
  865.             </section>";
  866.         // line 310
  867.         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.'310$this->source); })()), "photos", [], "any"falsefalsefalse310), 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.'310$this->source); })()), "selfies", [], "any"falsefalsefalse310), 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.'310$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse310)], 310$context$this->getSourceContext()) == "true") &&  !twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'310$this->source); })()), "deleted", [], "any"falsefalsefalse310))) {
  868.             // line 311
  869.             echo "<section class=\"tabs tabs-media\">
  870.                     <div class=\"tabs-block\" id=\"media-tabs\">
  871.                         <div class=\"tab-header d-flex\">";
  872.             // line 314
  873.             $context["currentPage"] = "";
  874.             // line 315
  875.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse315) && (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.'315$this->source); })()), "photos", [], "any"falsefalsefalse315)) > 0))) {
  876.                 $context["currentPage"] = "photo";
  877.                 echo "<button type=\"button\" class=\"btn d-flex photo active\" data-toggle=\"photo\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  878.                                     <path d=\"M20 5H16.83L15.59 3.65C15.4036 3.44539 15.1767 3.28191 14.9235 3.16999C14.6704 3.05807 14.3968 3.00017 14.12 3H9.88C9.32 3 8.78 3.24 8.4 3.65L7.17 5H4C2.9 5 2 5.9 2 7V19C2 20.1 2.9 21 4 21H20C21.1 21 22 20.1 22 19V7C22 5.9 21.1 5 20 5ZM12 18C9.24 18 7 15.76 7 13C7 10.24 9.24 8 12 8C14.76 8 17 10.24 17 13C17 15.76 14.76 18 12 18Z\"/>
  879.                                 </svg>
  880.                                 <span>Фото</span></button>";
  881.             }
  882.             // line 320
  883.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse320) && (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.'320$this->source); })()), "selfies", [], "any"falsefalsefalse320)) > 0))) {
  884.                 $context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'320$this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'320$this->source); })())));
  885.                 echo "<button type=\"button\" class=\"btn d-flex selfie";
  886.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'320$this->source); })()) == "selfie")) {
  887.                     echo " active";
  888.                 }
  889.                 echo "\" data-toggle=\"selfie\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  890.                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.34918 2L16.6415 2.00909C17.6637 2.00909 18.5 2.81818 18.5 3.81818V20.1818C18.5 21.1818 17.6637 22 16.6415 22H7.34918C6.32702 22 5.5 21.1818 5.5 20.1818V3.81818C5.5 2.81818 6.32702 2 7.34918 2ZM13.8 5.33642C13.8 5.84874 14.2033 6.26469 14.7001 6.26469C15.1968 6.26469 15.6001 5.84874 15.6001 5.33642C15.6001 4.82393 15.1968 4.40799 14.7001 4.40799C14.2033 4.40799 13.8 4.82393 13.8 5.33642ZM7.5 17.408C8.18084 16.8212 9.90234 16.3214 12.0001 16.3214C13.991 16.3214 15.7158 16.7717 16.5 17.3192V14.5352C15.3825 14.0049 13.8149 13.6912 12.0001 13.6912C10.1852 13.6912 8.61754 14.0049 7.5 14.5352V17.408ZM11.9859 12.7629C10.4973 12.7629 9.28594 11.5133 9.28594 9.97791C9.28594 8.44248 10.4973 7.19295 11.9859 7.19295C13.4745 7.19295 14.6859 8.44248 14.6859 9.97791C14.6859 11.5133 13.4745 12.7629 11.9859 12.7629Z\"/>
  891.                                 </svg>
  892.                                 <span>Селфи</span></button>";
  893.             }
  894.             // line 325
  895.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse325) && (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.'325$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse325)) > 0))) {
  896.                 $context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'325$this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'325$this->source); })())));
  897.                 echo "<button type=\"button\" class=\"btn d-flex video";
  898.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'325$this->source); })()) == "video")) {
  899.                     echo " active";
  900.                 }
  901.                 echo "\" data-toggle=\"video\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  902.                                     <path d=\"M22 17.7143V6.28571C22 5.02857 20.9412 4 19.6471 4H4.35294C3.05882 4 2 5.02857 2 6.28571V17.7143C2 18.9714 3.05882 20 4.35294 20H19.6471C20.9412 20 22 18.9714 22 17.7143ZM9.05882 16.5714V7.42857L16.1176 12L9.05882 16.5714Z\"/>
  903.                                 </svg>
  904.                                 <span>Видео</span></button>";
  905.             }
  906.             // line 330
  907.             echo "</div>
  908.                         <div class=\"tab-content loading\">
  909.                             ";
  910.             // line 332
  911.             $context["photoIndex"] = 0;
  912.             // line 333
  913.             echo "                            ";
  914.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "photos", [], "any"truetruefalse333) && (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.'333$this->source); })()), "photos", [], "any"falsefalsefalse333)) > 0))) {
  915.                 // line 334
  916.                 echo "                                <div class=\"tab photo active\" data-id=\"photo\">
  917.                                     <div class=\"photo-list\" id=\"photos-preview\">
  918.                                         ";
  919.                 // line 336
  920.                 $context['_parent'] = $context;
  921.                 $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.'336$this->source); })()), "photos", [], "any"falsefalsefalse336));
  922.                 $context['loop'] = [
  923.                   'parent' => $context['_parent'],
  924.                   'index0' => 0,
  925.                   'index'  => 1,
  926.                   'first'  => true,
  927.                 ];
  928.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  929.                     $length count($context['_seq']);
  930.                     $context['loop']['revindex0'] = $length 1;
  931.                     $context['loop']['revindex'] = $length;
  932.                     $context['loop']['length'] = $length;
  933.                     $context['loop']['last'] = === $length;
  934.                 }
  935.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  936.                     // line 337
  937.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse337)) {
  938.                         // line 338
  939.                         echo "<div class=\"list-element\">
  940.                                                 <a href=\"";
  941.                         // line 339
  942.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse339), "profile_media""fullsize""jpg"), "html"nulltrue);
  943.                         echo "\" data-gallery=\"girl-gallery\" class=\"photoswipe\" data-index=\"";
  944.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse339), "html"nulltrue);
  945.                         echo "\">
  946.                                                     <img
  947.                                                             srcset=\"";
  948.                         // line 341
  949.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse341), "profile_media""196x250""jpg"), "html"nulltrue);
  950.                         echo " 196w,
  951.                                                         ";
  952.                         // line 342
  953.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse342), "profile_media""177x250""jpg"), "html"nulltrue);
  954.                         echo " 177w,
  955.                                                         ";
  956.                         // line 343
  957.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse343), "profile_media""228x250""jpg"), "html"nulltrue);
  958.                         echo " 228w,
  959.                                                         ";
  960.                         // line 344
  961.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse344), "profile_media""250x250""jpg"), "html"nulltrue);
  962.                         echo " 260w\"
  963.                                                             sizes=\"(max-width: 660px) 196px,
  964.                                                         (max-width: 980px) 177px,
  965.                                                         (max-width: 1125px) 228px,
  966.                                                         260px\"
  967.                                                             src=\"";
  968.                         // line 349
  969.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse349), "profile_media""250x250""jpg"), "html"nulltrue);
  970.                         echo "\"
  971.                                                             alt=\"";
  972.                         // line 351
  973.                         if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse351) <= twig_length_filter($this->env, (isset($context["altTemplates"]) || array_key_exists("altTemplates"$context) ? $context["altTemplates"] : (function () { throw new RuntimeError('Variable "altTemplates" does not exist.'351$this->source); })())))) {
  974.                             // line 352
  975.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["altTemplates"]) || array_key_exists("altTemplates"$context) ? $context["altTemplates"] : (function () { throw new RuntimeError('Variable "altTemplates" does not exist.'352$this->source); })()), (isset($context["photoIndex"]) || array_key_exists("photoIndex"$context) ? $context["photoIndex"] : (function () { throw new RuntimeError('Variable "photoIndex" does not exist.'352$this->source); })()), [], "array"falsefalsefalse352), "html"nulltrue);
  976.                         } else {
  977.                             // line 354
  978.                             echo "проститутка ";
  979.                             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.'354$this->source); })()), "name", [], "any"falsefalsefalse354)), "html"nulltrue);
  980.                             echo ", анкета ID";
  981.                             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.'354$this->source); })()), "id", [], "any"falsefalsefalse354), "html"nulltrue);
  982.                             echo ", фото";
  983.                             echo twig_escape_filter($this->env, ((isset($context["photoIndex"]) || array_key_exists("photoIndex"$context) ? $context["photoIndex"] : (function () { throw new RuntimeError('Variable "photoIndex" does not exist.'354$this->source); })()) - 5), "html"nulltrue);
  984.                         }
  985.                         // line 355
  986.                         echo "\"
  987.                                                             loading=\"lazy\">
  988.                                                 </a>
  989.                                             </div>
  990.                                             ";
  991.                         // line 359
  992.                         $context["photoIndex"] = twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse359);
  993.                     }
  994.                     // line 361
  995.                     echo "                                        ";
  996.                     ++$context['loop']['index0'];
  997.                     ++$context['loop']['index'];
  998.                     $context['loop']['first'] = false;
  999.                     if (isset($context['loop']['length'])) {
  1000.                         --$context['loop']['revindex0'];
  1001.                         --$context['loop']['revindex'];
  1002.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1003.                     }
  1004.                 }
  1005.                 $_parent $context['_parent'];
  1006.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  1007.                 $context array_intersect_key($context$_parent) + $_parent;
  1008.                 // line 362
  1009.                 echo "                                    </div>
  1010.                                 </div>
  1011.                             ";
  1012.             }
  1013.             // line 365
  1014.             echo "                            ";
  1015.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "selfies", [], "any"truetruefalse365) && (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.'365$this->source); })()), "selfies", [], "any"falsefalsefalse365)) > 0))) {
  1016.                 // line 366
  1017.                 echo "                                <div class=\"tab selfie";
  1018.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'366$this->source); })()) == "selfie")) {
  1019.                     echo " active";
  1020.                 }
  1021.                 echo "\" data-id=\"selfie\">
  1022.                                     <div class=\"photos-block\">
  1023.                                         <div class=\"photo-list d-flex flex-wrap\" id=\"selfie-preview\">
  1024.                                             ";
  1025.                 // line 369
  1026.                 $context['_parent'] = $context;
  1027.                 $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.'369$this->source); })()), "selfies", [], "any"falsefalsefalse369));
  1028.                 $context['loop'] = [
  1029.                   'parent' => $context['_parent'],
  1030.                   'index0' => 0,
  1031.                   'index'  => 1,
  1032.                   'first'  => true,
  1033.                 ];
  1034.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1035.                     $length count($context['_seq']);
  1036.                     $context['loop']['revindex0'] = $length 1;
  1037.                     $context['loop']['revindex'] = $length;
  1038.                     $context['loop']['length'] = $length;
  1039.                     $context['loop']['last'] = === $length;
  1040.                 }
  1041.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  1042.                     // line 370
  1043.                     if (twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse370)) {
  1044.                         // line 371
  1045.                         $context["photoIndex"] = (twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse371) + 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.'371$this->source); })()), "photos", [], "any"falsefalsefalse371)));
  1046.                         // line 372
  1047.                         echo "                                                    <div class=\"colorbox-photo-a-cont\">
  1048.                                                         <a href=\"";
  1049.                         // line 373
  1050.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse373), "profile_media""fullsize""jpg"), "html"nulltrue);
  1051.                         echo "\" data-gallery=\"girl-selfie\" class=\"photoswipe\" data-index=\"";
  1052.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse373), "html"nulltrue);
  1053.                         echo "\">
  1054.                                                             <img
  1055.                                                                     srcset=\"";
  1056.                         // line 375
  1057.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse375), "profile_media""196x250""jpg"), "html"nulltrue);
  1058.                         echo " 196w,
  1059.                                                                 ";
  1060.                         // line 376
  1061.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse376), "profile_media""177x250""jpg"), "html"nulltrue);
  1062.                         echo " 177w,
  1063.                                                                 ";
  1064.                         // line 377
  1065.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse377), "profile_media""228x250""jpg"), "html"nulltrue);
  1066.                         echo " 228w,
  1067.                                                                 ";
  1068.                         // line 378
  1069.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse378), "profile_media""250x250""jpg"), "html"nulltrue);
  1070.                         echo " 260w\"
  1071.                                                                     sizes=\"(max-width: 660px) 196px,
  1072.                                                                 (max-width: 980px) 177px,
  1073.                                                                 (max-width: 1125px) 228px,
  1074.                                                                 260px\"
  1075.                                                                     src=\"";
  1076.                         // line 383
  1077.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source$context["photo"], "path", [], "any"falsefalsefalse383), "profile_media""250x250""jpg"), "html"nulltrue);
  1078.                         echo "\"
  1079.                                                                 alt=\"";
  1080.                         // line 385
  1081.                         if (((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse385) + 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.'385$this->source); })()), "photos", [], "any"falsefalsefalse385))) <= twig_length_filter($this->env, (isset($context["altTemplates"]) || array_key_exists("altTemplates"$context) ? $context["altTemplates"] : (function () { throw new RuntimeError('Variable "altTemplates" does not exist.'385$this->source); })())))) {
  1082.                             // line 386
  1083.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["altTemplates"]) || array_key_exists("altTemplates"$context) ? $context["altTemplates"] : (function () { throw new RuntimeError('Variable "altTemplates" does not exist.'386$this->source); })()), (isset($context["photoIndex"]) || array_key_exists("photoIndex"$context) ? $context["photoIndex"] : (function () { throw new RuntimeError('Variable "photoIndex" does not exist.'386$this->source); })()), [], "array"falsefalsefalse386), "html"nulltrue);
  1084.                         } else {
  1085.                             // line 388
  1086.                             echo "проститутка ";
  1087.                             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.'388$this->source); })()), "name", [], "any"falsefalsefalse388)), "html"nulltrue);
  1088.                             echo ", анкета ID";
  1089.                             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.'388$this->source); })()), "id", [], "any"falsefalsefalse388), "html"nulltrue);
  1090.                             echo ", фото";
  1091.                             echo twig_escape_filter($this->env, ((isset($context["photoIndex"]) || array_key_exists("photoIndex"$context) ? $context["photoIndex"] : (function () { throw new RuntimeError('Variable "photoIndex" does not exist.'388$this->source); })()) - 5), "html"nulltrue);
  1092.                         }
  1093.                         // line 389
  1094.                         echo "\"
  1095.                                                                 loading=\"lazy\">
  1096.                                                         </a>
  1097.                                                     </div>";
  1098.                     }
  1099.                     // line 394
  1100.                     echo "                                            ";
  1101.                     ++$context['loop']['index0'];
  1102.                     ++$context['loop']['index'];
  1103.                     $context['loop']['first'] = false;
  1104.                     if (isset($context['loop']['length'])) {
  1105.                         --$context['loop']['revindex0'];
  1106.                         --$context['loop']['revindex'];
  1107.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1108.                     }
  1109.                 }
  1110.                 $_parent $context['_parent'];
  1111.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  1112.                 $context array_intersect_key($context$_parent) + $_parent;
  1113.                 // line 395
  1114.                 echo "                                        </div>
  1115.                                     </div>
  1116.                                 </div>
  1117.                             ";
  1118.             }
  1119.             // line 399
  1120.             echo "                            ";
  1121.             if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse399) && (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.'399$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse399)) > 0))) {
  1122.                 // line 400
  1123.                 echo "                                <div class=\"tab video";
  1124.                 if (((isset($context["currentPage"]) || array_key_exists("currentPage"$context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.'400$this->source); })()) == "video")) {
  1125.                     echo " active";
  1126.                 }
  1127.                 echo "\" data-id=\"video\">
  1128.                                     <div class=\"videos-block\">
  1129.                                         <div class=\"video-list d-flex flex-wrap\">
  1130.                                             ";
  1131.                 // line 403
  1132.                 $context['_parent'] = $context;
  1133.                 $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.'403$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse403));
  1134.                 foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  1135.                     // line 404
  1136.                     echo "                                                <div>
  1137.                                                     <video class=\"video-js vjs-big-play-centered vjs-default-skin\" controls=\"controls\" preload=\"metadata\" data-setup=\"{}\">
  1138.                                                         <source src=\"";
  1139.                     // line 406
  1140.                     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"falsefalsefalse406), "profile_media"), "html"nulltrue);
  1141.                     echo "#t=0.5\" type='video/mp4'/>
  1142.                                                     </video>
  1143.                                                 </div>
  1144.                                             ";
  1145.                 }
  1146.                 $_parent $context['_parent'];
  1147.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  1148.                 $context array_intersect_key($context$_parent) + $_parent;
  1149.                 // line 410
  1150.                 echo "                                        </div>
  1151.                                     </div>
  1152.                                 </div>
  1153.                             ";
  1154.             }
  1155.             // line 414
  1156.             echo "                        </div>
  1157.                     </div>
  1158.                 </section>
  1159.             ";
  1160.         }
  1161.         // line 418
  1162.         echo "            <section class=\"about\">
  1163.                 <h2 class=\"border-line\"><svg class=\"icon mr-2\">
  1164.                         <use xlink:href=\"#icon-about\"></use>
  1165.                     </svg>";
  1166.         // line 421
  1167.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("О себе", [], "profile");
  1168.         echo "</h2>
  1169.                 <noindex><p>";
  1170.         // line 422
  1171.         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.'422$this->source); })()), "description", [], "any"falsefalsefalse422), "html"nulltrue);
  1172.         echo "</p></noindex>
  1173.             </section>
  1174.             <section class=\"services\">
  1175.                 <h2 class=\"border-line\"><svg class=\"icon mr-2\">
  1176.                         <use xlink:href=\"#icon-services\"></use>
  1177.                     </svg>";
  1178.         // line 427
  1179.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Предпочтения", [], "profile");
  1180.         echo "</h2>
  1181.                 <div class=\"services-info d-flex flex-wrap\">
  1182.                     <div class=\"header-item mr-3\">
  1183.                         <svg class=\"icon mr-1\">
  1184.                             <use xlink:href=\"#icon-model-included\"></use>
  1185.                         </svg>
  1186.                         - включено в стоимость
  1187.                     </div>
  1188.                     <div class=\"header-item mr-3\">
  1189.                         <svg class=\"icon mr-1\">
  1190.                             <use xlink:href=\"#icon-model-liking\"></use>
  1191.                         </svg>
  1192.                         - по симпатии
  1193.                     </div>
  1194.                     <div class=\"header-item mr-3\">
  1195.                         <svg class=\"icon mr-1\">
  1196.                             <use xlink:href=\"#icon-model-charge\"></use>
  1197.                         </svg>
  1198.                         - за дополнительную плату
  1199.                     </div>
  1200.                     <div class=\"header-item provided\">
  1201.                         <svg class=\"icon mr-1\">
  1202.                             <use xlink:href=\"#icon-model-provided\"></use>
  1203.                         </svg>
  1204.                         - услуга не предоставляется
  1205.                     </div>
  1206.                 </div>
  1207.                 <div class=\"model-services__main\">
  1208.                     <div class=\"model-services__items left w-100\">
  1209.                         ";
  1210.         // line 456
  1211.         $context["initional_group_2"] = 0;
  1212.         // line 457
  1213.         echo "                        ";
  1214.         $context["group_2_minet"] = [];
  1215.         // line 458
  1216.         echo "                        ";
  1217.         $context["group_2_okon"] = [];
  1218.         // line 459
  1219.         echo "                        ";
  1220.         $context["group_2_okon_trigger"] = ["Окончание на грудь""Окончание на лицо""Окончание в рот"];
  1221.         echo " ";
  1222.         // line 460
  1223.         echo "                        ";
  1224.         $context['_parent'] = $context;
  1225.         $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.'460$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.'460$this->source); })()), "masseur", [], "any"falsefalsefalse460) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups"$context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.'460$this->source); })()))); }));
  1226.         foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
  1227.             // line 461
  1228.             echo "                            ";
  1229.             if (($context["group"] == 2)) {
  1230.                 // line 462
  1231.                 echo "                                ";
  1232.                 // line 463
  1233.                 echo "                                ";
  1234.                 $context['_parent'] = $context;
  1235.                 $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  1236.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1237.                     // line 464
  1238.                     echo "                                    ";
  1239.                     if ((((twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse464) == twig_get_attribute($this->env$this->source, (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.'464$this->source); })()), 0, [], "array"falsefalsefalse464)) || (twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse464) == twig_get_attribute($this->env$this->source, (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.'464$this->source); })()), 1, [], "array"falsefalsefalse464))) || (twig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse464) == twig_get_attribute($this->env$this->source, (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.'464$this->source); })()), 2, [], "array"falsefalsefalse464)))) {
  1240.                         // line 465
  1241.                         echo "                                        ";
  1242.                         $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.'465$this->source); })()), [$context["service"]]);
  1243.                         // line 466
  1244.                         echo "                                    ";
  1245.                     } else {
  1246.                         // line 467
  1247.                         echo "                                        ";
  1248.                         $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.'467$this->source); })()), [$context["service"]]);
  1249.                         // line 468
  1250.                         echo "                                    ";
  1251.                     }
  1252.                     // line 469
  1253.                     echo "                                ";
  1254.                 }
  1255.                 $_parent $context['_parent'];
  1256.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1257.                 $context array_intersect_key($context$_parent) + $_parent;
  1258.                 // line 470
  1259.                 echo "                            ";
  1260.             } 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.'470$this->source); })()) == 0))) {
  1261.                 // line 471
  1262.                 echo "                                ";
  1263.                 // line 472
  1264.                 echo "                                ";
  1265.                 $context["initional_group_2"] = 1;
  1266.                 // line 473
  1267.                 echo "                                <div class=\"model-services__item\">
  1268.                                     <p class=\"item-title\"><span>Минет</span></p>
  1269.                                     ";
  1270.                 // line 475
  1271.                 $context['_parent'] = $context;
  1272.                 $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.'475$this->source); })()));
  1273.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1274.                     // line 476
  1275.                     echo "                                        ";
  1276.                     $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.'476$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse476);
  1277.                     // line 477
  1278.                     echo "                                        <p class=\"item";
  1279.                     if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'477$this->source); })())) {
  1280.                         echo " provided";
  1281.                     }
  1282.                     echo "\">
  1283.                                             ";
  1284.                     // line 478
  1285.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'478$this->source); })())) {
  1286.                         // line 479
  1287.                         echo "                                                ";
  1288.                         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.'479$this->source); })()), "condition", [], "any"falsefalsefalse479) == 1)) {
  1289.                             // line 480
  1290.                             echo "                                                    <svg class=\"icon mr-1\">
  1291.                                                         <use xlink:href=\"#icon-model-included\"></use>
  1292.                                                     </svg>
  1293.                                                 ";
  1294.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 483
  1295. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'483$this->source); })()), "condition", [], "any"falsefalsefalse483) == 2)) {
  1296.                             // line 484
  1297.                             echo "                                                    <svg class=\"icon mr-1\">
  1298.                                                         <use xlink:href=\"#icon-model-liking\"></use>
  1299.                                                     </svg>
  1300.                                                 ";
  1301.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 487
  1302. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'487$this->source); })()), "condition", [], "any"falsefalsefalse487) == 3)) {
  1303.                             // line 488
  1304.                             echo "                                                    <svg class=\"icon mr-1\">
  1305.                                                         <use xlink:href=\"#icon-model-charge\"></use>
  1306.                                                     </svg>
  1307.                                                 ";
  1308.                         }
  1309.                         // line 492
  1310.                         echo "                                            ";
  1311.                     } else {
  1312.                         // line 493
  1313.                         echo "                                                <svg class=\"icon mr-1\">
  1314.                                                     <use xlink:href=\"#icon-model-provided\"></use>
  1315.                                                 </svg>
  1316.                                             ";
  1317.                     }
  1318.                     // line 497
  1319.                     echo "                                            <a href=\"";
  1320.                     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.'497$this->source); })()), "city", [], "any"falsefalsefalse497), "uriIdentity", [], "any"falsefalsefalse497), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse497)]), "html"nulltrue);
  1321.                     echo "\" data-s=\"";
  1322.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse497), "html"nulltrue);
  1323.                     echo "\">
  1324.                                                 ";
  1325.                     // line 498
  1326.                     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"falsefalsefalse498)), "html"nulltrue);
  1327.                     echo "
  1328.                                             </a>
  1329.                                             ";
  1330.                     // line 500
  1331.                     if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'500$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.'500$this->source); })()), "condition", [], "any"falsefalsefalse500) == 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.'500$this->source); })()), "extraCharge", [], "any"falsefalsefalse500))) {
  1332.                         echo "<span>+";
  1333.                         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.'500$this->source); })()), "extraCharge", [], "any"falsefalsefalse500), "html"nulltrue);
  1334.                         echo " ";
  1335.                         echo twig_escape_filter($this->env, (isset($context["currencyFront"]) || array_key_exists("currencyFront"$context) ? $context["currencyFront"] : (function () { throw new RuntimeError('Variable "currencyFront" does not exist.'500$this->source); })()), "html"nulltrue);
  1336.                         echo "</span>";
  1337.                     }
  1338.                     // line 501
  1339.                     echo "                                        </p>
  1340.                                     ";
  1341.                 }
  1342.                 $_parent $context['_parent'];
  1343.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1344.                 $context array_intersect_key($context$_parent) + $_parent;
  1345.                 // line 503
  1346.                 echo "                                </div>
  1347.                                 <div class=\"model-services__item\">
  1348.                                     <p class=\"item-title\"><span>Окончание</span></p>
  1349.                                     ";
  1350.                 // line 506
  1351.                 $context['_parent'] = $context;
  1352.                 $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.'506$this->source); })()));
  1353.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1354.                     // line 507
  1355.                     echo "                                        ";
  1356.                     $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.'507$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse507);
  1357.                     // line 508
  1358.                     echo "                                        <p class=\"item";
  1359.                     if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'508$this->source); })())) {
  1360.                         echo " provided";
  1361.                     }
  1362.                     echo "\">
  1363.                                             ";
  1364.                     // line 509
  1365.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'509$this->source); })())) {
  1366.                         // line 510
  1367.                         echo "                                                ";
  1368.                         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.'510$this->source); })()), "condition", [], "any"falsefalsefalse510) == 1)) {
  1369.                             // line 511
  1370.                             echo "                                                    <svg class=\"icon mr-1\">
  1371.                                                         <use xlink:href=\"#icon-model-included\"></use>
  1372.                                                     </svg>
  1373.                                                 ";
  1374.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 514
  1375. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'514$this->source); })()), "condition", [], "any"falsefalsefalse514) == 2)) {
  1376.                             // line 515
  1377.                             echo "                                                    <svg class=\"icon mr-1\">
  1378.                                                         <use xlink:href=\"#icon-model-liking\"></use>
  1379.                                                     </svg>
  1380.                                                 ";
  1381.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 518
  1382. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'518$this->source); })()), "condition", [], "any"falsefalsefalse518) == 3)) {
  1383.                             // line 519
  1384.                             echo "                                                    <svg class=\"icon mr-1\">
  1385.                                                         <use xlink:href=\"#icon-model-charge\"></use>
  1386.                                                     </svg>
  1387.                                                 ";
  1388.                         }
  1389.                         // line 523
  1390.                         echo "                                            ";
  1391.                     } else {
  1392.                         // line 524
  1393.                         echo "                                                <svg class=\"icon mr-1\">
  1394.                                                     <use xlink:href=\"#icon-model-provided\"></use>
  1395.                                                 </svg>
  1396.                                             ";
  1397.                     }
  1398.                     // line 528
  1399.                     echo "                                            <a href=\"";
  1400.                     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.'528$this->source); })()), "city", [], "any"falsefalsefalse528), "uriIdentity", [], "any"falsefalsefalse528), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse528)]), "html"nulltrue);
  1401.                     echo "\" data-s=\"";
  1402.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse528), "html"nulltrue);
  1403.                     echo "\">
  1404.                                                 ";
  1405.                     // line 529
  1406.                     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"falsefalsefalse529)), "html"nulltrue);
  1407.                     echo "
  1408.                                             </a>
  1409.                                             ";
  1410.                     // line 531
  1411.                     if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'531$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.'531$this->source); })()), "condition", [], "any"falsefalsefalse531) == 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.'531$this->source); })()), "extraCharge", [], "any"falsefalsefalse531))) {
  1412.                         echo "<span>+";
  1413.                         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.'531$this->source); })()), "extraCharge", [], "any"falsefalsefalse531), "html"nulltrue);
  1414.                         echo " ";
  1415.                         echo twig_escape_filter($this->env, (isset($context["currencyFront"]) || array_key_exists("currencyFront"$context) ? $context["currencyFront"] : (function () { throw new RuntimeError('Variable "currencyFront" does not exist.'531$this->source); })()), "html"nulltrue);
  1416.                         echo "</span>";
  1417.                     }
  1418.                     // line 532
  1419.                     echo "                                        </p>
  1420.                                     ";
  1421.                 }
  1422.                 $_parent $context['_parent'];
  1423.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1424.                 $context array_intersect_key($context$_parent) + $_parent;
  1425.                 // line 534
  1426.                 echo "                                </div>
  1427.                                 <div class=\"model-services__item\">
  1428.                                     <p class=\"item-title\" data-group=\"";
  1429.                 // line 536
  1430.                 echo twig_escape_filter($this->env$context["group"], "html"nulltrue);
  1431.                 echo "\"><span>";
  1432.                 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);
  1433.                 echo "</span></p>
  1434.                                     ";
  1435.                 // line 537
  1436.                 $context['_parent'] = $context;
  1437.                 $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  1438.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1439.                     // line 538
  1440.                     echo "                                        ";
  1441.                     $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.'538$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse538);
  1442.                     // line 539
  1443.                     echo "                                        <p class=\"item";
  1444.                     if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'539$this->source); })())) {
  1445.                         echo " provided";
  1446.                     }
  1447.                     echo "\">
  1448.                                             ";
  1449.                     // line 540
  1450.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'540$this->source); })())) {
  1451.                         // line 541
  1452.                         echo "                                                ";
  1453.                         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.'541$this->source); })()), "condition", [], "any"falsefalsefalse541) == 1)) {
  1454.                             // line 542
  1455.                             echo "                                                    <svg class=\"icon mr-1\">
  1456.                                                         <use xlink:href=\"#icon-model-included\"></use>
  1457.                                                     </svg>
  1458.                                                 ";
  1459.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 545
  1460. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'545$this->source); })()), "condition", [], "any"falsefalsefalse545) == 2)) {
  1461.                             // line 546
  1462.                             echo "                                                    <svg class=\"icon mr-1\">
  1463.                                                         <use xlink:href=\"#icon-model-liking\"></use>
  1464.                                                     </svg>
  1465.                                                 ";
  1466.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 549
  1467. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'549$this->source); })()), "condition", [], "any"falsefalsefalse549) == 3)) {
  1468.                             // line 550
  1469.                             echo "                                                    <svg class=\"icon mr-1\">
  1470.                                                         <use xlink:href=\"#icon-model-charge\"></use>
  1471.                                                     </svg>
  1472.                                                 ";
  1473.                         }
  1474.                         // line 554
  1475.                         echo "                                            ";
  1476.                     } else {
  1477.                         // line 555
  1478.                         echo "                                                <svg class=\"icon mr-1\">
  1479.                                                     <use xlink:href=\"#icon-model-provided\"></use>
  1480.                                                 </svg>
  1481.                                             ";
  1482.                     }
  1483.                     // line 559
  1484.                     echo "                                            <a href=\"";
  1485.                     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.'559$this->source); })()), "city", [], "any"falsefalsefalse559), "uriIdentity", [], "any"falsefalsefalse559), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse559)]), "html"nulltrue);
  1486.                     echo "\" data-s=\"";
  1487.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "name", [], "any"falsefalsefalse559), "html"nulltrue);
  1488.                     echo "\">
  1489.                                                 ";
  1490.                     // line 560
  1491.                     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"falsefalsefalse560)), "html"nulltrue);
  1492.                     echo "
  1493.                                             </a>
  1494.                                             ";
  1495.                     // line 562
  1496.                     if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'562$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.'562$this->source); })()), "condition", [], "any"falsefalsefalse562) == 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.'562$this->source); })()), "extraCharge", [], "any"falsefalsefalse562))) {
  1497.                         echo "<span>+";
  1498.                         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.'562$this->source); })()), "extraCharge", [], "any"falsefalsefalse562), "html"nulltrue);
  1499.                         echo " ";
  1500.                         echo twig_escape_filter($this->env, (isset($context["currencyFront"]) || array_key_exists("currencyFront"$context) ? $context["currencyFront"] : (function () { throw new RuntimeError('Variable "currencyFront" does not exist.'562$this->source); })()), "html"nulltrue);
  1501.                         echo "</span>";
  1502.                     }
  1503.                     // line 563
  1504.                     echo "                                        </p>
  1505.                                     ";
  1506.                 }
  1507.                 $_parent $context['_parent'];
  1508.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1509.                 $context array_intersect_key($context$_parent) + $_parent;
  1510.                 // line 565
  1511.                 echo "                                </div>
  1512.                             ";
  1513.             } else {
  1514.                 // line 567
  1515.                 echo "
  1516.                                 ";
  1517.                 // line 568
  1518.                 if (((($context["group"] == 1) || ($context["group"] == 5)) || ($context["group"] == 7))) {
  1519.                     // line 569
  1520.                     echo "                                    <div class=\"model-services__column\">
  1521.                                 ";
  1522.                 }
  1523.                 // line 571
  1524.                 echo "                                <div class=\"model-services__item\">
  1525.                                     <p class=\"item-title\"><span>";
  1526.                 // line 572
  1527.                 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);
  1528.                 echo "</span></p>
  1529.                                     ";
  1530.                 // line 573
  1531.                 $context['_parent'] = $context;
  1532.                 $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  1533.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  1534.                     // line 574
  1535.                     echo "                                        ";
  1536.                     $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.'574$this->source); })()), "providedService", [$context["service"]], "method"falsefalsefalse574);
  1537.                     // line 575
  1538.                     echo "                                        <p class=\"item";
  1539.                     if ( !(isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'575$this->source); })())) {
  1540.                         echo " provided";
  1541.                     }
  1542.                     echo "\">
  1543.                                             ";
  1544.                     // line 576
  1545.                     if ((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'576$this->source); })())) {
  1546.                         // line 577
  1547.                         echo "                                                ";
  1548.                         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.'577$this->source); })()), "condition", [], "any"falsefalsefalse577) == 1)) {
  1549.                             // line 578
  1550.                             echo "                                                    <svg class=\"icon mr-1\">
  1551.                                                         <use xlink:href=\"#icon-model-included\"></use>
  1552.                                                     </svg>
  1553.                                                 ";
  1554.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 581
  1555. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'581$this->source); })()), "condition", [], "any"falsefalsefalse581) == 2)) {
  1556.                             // line 582
  1557.                             echo "                                                    <svg class=\"icon mr-1\">
  1558.                                                         <use xlink:href=\"#icon-model-liking\"></use>
  1559.                                                     </svg>
  1560.                                                 ";
  1561.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 585
  1562. (isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'585$this->source); })()), "condition", [], "any"falsefalsefalse585) == 3)) {
  1563.                             // line 586
  1564.                             echo "                                                    <svg class=\"icon mr-1\">
  1565.                                                         <use xlink:href=\"#icon-model-charge\"></use>
  1566.                                                     </svg>
  1567.                                                 ";
  1568.                         }
  1569.                         // line 590
  1570.                         echo "                                            ";
  1571.                     } else {
  1572.                         // line 591
  1573.                         echo "                                                <svg class=\"icon mr-1\">
  1574.                                                     <use xlink:href=\"#icon-model-provided\"></use>
  1575.                                                 </svg>
  1576.                                             ";
  1577.                     }
  1578.                     // line 595
  1579.                     echo "                                            <a href=\"";
  1580.                     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.'595$this->source); })()), "city", [], "any"falsefalsefalse595), "uriIdentity", [], "any"falsefalsefalse595), "service" => twig_get_attribute($this->env$this->source$context["service"], "uriIdentity", [], "any"falsefalsefalse595)]), "html"nulltrue);
  1581.                     echo "\">";
  1582.                     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"falsefalsefalse595)), "html"nulltrue);
  1583.                     echo "</a>
  1584.                                             ";
  1585.                     // line 596
  1586.                     if ((((isset($context["providedService"]) || array_key_exists("providedService"$context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.'596$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.'596$this->source); })()), "condition", [], "any"falsefalsefalse596) == 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.'596$this->source); })()), "extraCharge", [], "any"falsefalsefalse596))) {
  1587.                         echo "<span>+";
  1588.                         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.'596$this->source); })()), "extraCharge", [], "any"falsefalsefalse596), "html"nulltrue);
  1589.                         echo " ";
  1590.                         echo twig_escape_filter($this->env, (isset($context["currencyFront"]) || array_key_exists("currencyFront"$context) ? $context["currencyFront"] : (function () { throw new RuntimeError('Variable "currencyFront" does not exist.'596$this->source); })()), "html"nulltrue);
  1591.                         echo "</span>";
  1592.                     }
  1593.                     // line 597
  1594.                     echo "                                        </p>
  1595.                                     ";
  1596.                 }
  1597.                 $_parent $context['_parent'];
  1598.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  1599.                 $context array_intersect_key($context$_parent) + $_parent;
  1600.                 // line 599
  1601.                 echo "                                </div>
  1602.                                 ";
  1603.                 // line 600
  1604.                 if ((((($context["group"] == 4) &&  !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.'600$this->source); })()), "masseur", [], "any"falsefalsefalse600)) || ($context["group"] == 6)) || ($context["group"] == 7))) {
  1605.                     // line 601
  1606.                     echo "                                    </div>
  1607.                                 ";
  1608.                 }
  1609.                 // line 603
  1610.                 echo "
  1611.                             ";
  1612.             }
  1613.             // line 605
  1614.             echo "                        ";
  1615.         }
  1616.         $_parent $context['_parent'];
  1617.         unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
  1618.         $context array_intersect_key($context$_parent) + $_parent;
  1619.         // line 606
  1620.         echo "                    </div>
  1621.                     <div class=\"services-special d-flex\">
  1622.                         <div class=\"services-special__item mr-3\">
  1623.                             <h3><span>Услуги для:</span></h3>
  1624.                             ";
  1625.         // line 610
  1626.         $context["client_types_text"] = ["1""2""3""4""5"];
  1627.         // line 611
  1628.         echo "                            ";
  1629.         $context["includeService"] = false;
  1630.         // line 612
  1631.         echo "                            <div class=\"list\">
  1632.                                 ";
  1633.         // line 613
  1634.         $context['_parent'] = $context;
  1635.         $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.'613$this->source); })()));
  1636.         foreach ($context['_seq'] as $context["_key"] => $context["clientTypeText"]) {
  1637.             // line 614
  1638.             echo "                                    ";
  1639.             $context['_parent'] = $context;
  1640.             $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.'614$this->source); })()), "clientTypes", [], "any"falsefalsefalse614));
  1641.             foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
  1642.                 // line 615
  1643.                 echo "                                        ";
  1644.                 if (($context["clientTypeText"] == $context["clientType"])) {
  1645.                     // line 616
  1646.                     echo "                                            ";
  1647.                     $context["includeService"] = true;
  1648.                     // line 617
  1649.                     echo "                                        ";
  1650.                 }
  1651.                 // line 618
  1652.                 echo "                                    ";
  1653.             }
  1654.             $_parent $context['_parent'];
  1655.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientType'], $context['_parent'], $context['loop']);
  1656.             $context array_intersect_key($context$_parent) + $_parent;
  1657.             // line 619
  1658.             echo "                                    ";
  1659.             if (($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]) != "TRANS")) {
  1660.                 // line 620
  1661.                 echo "                                    <p class=\"item\">
  1662.                                         ";
  1663.                 // line 621
  1664.                 if (((isset($context["includeService"]) || array_key_exists("includeService"$context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.'621$this->source); })()) == true)) {
  1665.                     // line 622
  1666.                     echo "                                            <svg class=\"icon mr-1\">
  1667.                                                 <use xlink:href=\"#icon-model-included\"></use>
  1668.                                             </svg>
  1669.                                         ";
  1670.                 } else {
  1671.                     // line 626
  1672.                     echo "                                            <svg class=\"icon mr-1\">
  1673.                                                 <use xlink:href=\"#icon-model-provided\"></use>
  1674.                                             </svg>
  1675.                                         ";
  1676.                 }
  1677.                 // line 630
  1678.                 echo "
  1679.                                         ";
  1680.                 // line 631
  1681.                 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);
  1682.                 echo "
  1683.                                     </p>
  1684.                                         ";
  1685.             }
  1686.             // line 634
  1687.             echo "                                    ";
  1688.             $context["includeService"] = false;
  1689.             // line 635
  1690.             echo "                                ";
  1691.         }
  1692.         $_parent $context['_parent'];
  1693.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientTypeText'], $context['_parent'], $context['loop']);
  1694.         $context array_intersect_key($context$_parent) + $_parent;
  1695.         // line 636
  1696.         echo "                            </div>
  1697.                         </div>
  1698.                         <div class=\"services-special__item\">
  1699.                             <h3><span>Выезд</span></h3>
  1700.                             ";
  1701.         // line 640
  1702.         $context["locations_text"] = ["1""2""3""4""5""6"];
  1703.         // line 641
  1704.         echo "                            ";
  1705.         $context["includeService"] = false;
  1706.         // line 642
  1707.         echo "                            <div class=\"list\">
  1708.                                 ";
  1709.         // line 643
  1710.         $context['_parent'] = $context;
  1711.         $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.'643$this->source); })()));
  1712.         foreach ($context['_seq'] as $context["_key"] => $context["locationsText"]) {
  1713.             // line 644
  1714.             echo "                                    ";
  1715.             $context['_parent'] = $context;
  1716.             $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.'644$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse644), "locations", [], "any"falsefalsefalse644));
  1717.             foreach ($context['_seq'] as $context["_key"] => $context["locations"]) {
  1718.                 // line 645
  1719.                 echo "                                        ";
  1720.                 if (($context["locationsText"] == $context["locations"])) {
  1721.                     // line 646
  1722.                     echo "                                            ";
  1723.                     $context["includeService"] = true;
  1724.                     // line 647
  1725.                     echo "                                        ";
  1726.                 }
  1727.                 // line 648
  1728.                 echo "                                    ";
  1729.             }
  1730.             $_parent $context['_parent'];
  1731.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locations'], $context['_parent'], $context['loop']);
  1732.             $context array_intersect_key($context$_parent) + $_parent;
  1733.             // line 649
  1734.             echo "                                    <p class=\"item\">
  1735.                                         ";
  1736.             // line 650
  1737.             if (((isset($context["includeService"]) || array_key_exists("includeService"$context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.'650$this->source); })()) == true)) {
  1738.                 // line 651
  1739.                 echo "                                            <svg class=\"icon mr-1\">
  1740.                                                 <use xlink:href=\"#icon-model-included\"></use>
  1741.                                             </svg>
  1742.                                         ";
  1743.             } else {
  1744.                 // line 655
  1745.                 echo "                                            <svg class=\"icon mr-1\">
  1746.                                                 <use xlink:href=\"#icon-model-provided\"></use>
  1747.                                             </svg>
  1748.                                         ";
  1749.             }
  1750.             // line 659
  1751.             echo "                                        ";
  1752.             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);
  1753.             echo "
  1754.                                     </p>
  1755.                                     ";
  1756.             // line 661
  1757.             $context["includeService"] = false;
  1758.             // line 662
  1759.             echo "                                ";
  1760.         }
  1761.         $_parent $context['_parent'];
  1762.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locationsText'], $context['_parent'], $context['loop']);
  1763.         $context array_intersect_key($context$_parent) + $_parent;
  1764.         // line 663
  1765.         echo "                            </div>
  1766.                         </div>
  1767.                     </div>
  1768.                 </div>
  1769.             </section>
  1770.         </div>
  1771.         <div class=\"cols-2\">
  1772.             <section class=\"map\">
  1773.                 <h2 class=\"border-line\"><svg class=\"icon mr-2\">
  1774.                         <use xlink:href=\"#icon-profile-map\"></use>
  1775.                     </svg>";
  1776.         // line 673
  1777.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Расположение", [], "profile");
  1778.         echo "</h2>
  1779.                 <div class=\"map-block\" id=\"map\" style=\"width: 100%; height: 450px;\"
  1780.                      data-lat=\"";
  1781.         // line 675
  1782.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse675), "latitude", [], "any"truetruefalse675)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse675), "latitude", [], "any"falsefalsefalse675), 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.'675$this->source); })()), "city", [], "any"falsefalsefalse675), "mapCoordinate", [], "any"falsefalsefalse675), "latitude", [], "any"falsefalsefalse675))) : (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.'675$this->source); })()), "city", [], "any"falsefalsefalse675), "mapCoordinate", [], "any"falsefalsefalse675), "latitude", [], "any"falsefalsefalse675))), "html"nulltrue);
  1783.         echo "\"
  1784.                      data-lon=\"";
  1785.         // line 676
  1786.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse676), "longitude", [], "any"truetruefalse676)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any"falsetruefalse676), "longitude", [], "any"falsefalsefalse676), 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.'676$this->source); })()), "city", [], "any"falsefalsefalse676), "mapCoordinate", [], "any"falsefalsefalse676), "longitude", [], "any"falsefalsefalse676))) : (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.'676$this->source); })()), "city", [], "any"falsefalsefalse676), "mapCoordinate", [], "any"falsefalsefalse676), "longitude", [], "any"falsefalsefalse676))), "html"nulltrue);
  1787.         echo "\"
  1788.                      data-map-label=\"";
  1789.         // line 677
  1790.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/map-label.svg"), "html"nulltrue);
  1791.         echo "\">
  1792.                 </div>
  1793.             </section>
  1794.             ";
  1795.         // line 681
  1796.         if (($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("profile_comments") &&  !twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'681$this->source); })()), "deleted", [], "any"falsefalsefalse681))) {
  1797.             // line 682
  1798.             echo "                ";
  1799.             $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.'682$this->source); })()), "comments", [], "any"falsefalsefalse682));
  1800.             // line 683
  1801.             echo "                <section class=\"comments\"
  1802.                     id=\"review-form\"
  1803.                     data-user=\"";
  1804.             // line 685
  1805.             echo (($this->extensions['App\Twig\UserExtension']->isUserCustomer(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'685$this->source); })()), "user", [], "any"falsefalsefalse685))) ? ("true") : ("false"));
  1806.             echo "\"
  1807.                     data-url=\"";
  1808.             // line 686
  1809.             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.'686$this->source); })()), "id", [], "any"falsefalsefalse686)]), "html"nulltrue);
  1810.             echo "\"
  1811.                     data-reg-url=\"";
  1812.             // line 687
  1813.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
  1814.             echo "\"
  1815.                     ";
  1816.             // line 688
  1817.             if (array_key_exists("comment_form"$context)) {
  1818.                 echo "data-entity-id=\"";
  1819.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["comment_form"]) || array_key_exists("comment_form"$context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.'688$this->source); })()), "entity_id", [], "any"falsefalsefalse688), "vars", [], "any"falsefalsefalse688), "id", [], "any"falsefalsefalse688), "html"nulltrue);
  1820.                 echo "\"
  1821.                     data-mark=\"";
  1822.                 // line 689
  1823.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["comment_form"]) || array_key_exists("comment_form"$context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.'689$this->source); })()), "mark", [], "any"falsefalsefalse689), "vars", [], "any"falsefalsefalse689), "full_name", [], "any"falsefalsefalse689), "html"nulltrue);
  1824.                 echo "\"
  1825.                     data-text=\"";
  1826.                 // line 690
  1827.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["comment_form"]) || array_key_exists("comment_form"$context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.'690$this->source); })()), "text", [], "any"falsefalsefalse690), "vars", [], "any"falsefalsefalse690), "id", [], "any"falsefalsefalse690), "html"nulltrue);
  1828.                 echo "\"";
  1829.             }
  1830.             // line 691
  1831.             echo "                >
  1832.                     <h2 class=\"border-line\"><svg class=\"icon mr-2\">
  1833.                             <use xlink:href=\"#icon-public-comments\"></use>
  1834.                         </svg>";
  1835.             // line 694
  1836.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отзывы", [], "profile");
  1837.             echo "</h2>
  1838.                     <div class=\"comments-main\">
  1839.                         <div class=\"comments-main_wrap d-flex justify-content-center\">
  1840.                             ";
  1841.             // line 697
  1842.             if (((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'697$this->source); })()) == 0)) {
  1843.                 // line 698
  1844.                 echo "                                <div class=\"not-comments text-center\" id=\"review-block-list\">
  1845.                                     <div  id=\"text-to-remove\">
  1846.                                         <svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  1847.                                             <path d=\"M14 78.7096H23V97L45.9545 78.7096H68C72.9635 78.7096 77 74.6894 77 69.7459V33.8911C77 28.9476 72.9635 24.9274 68 24.9274H14C9.0365 24.9274 5 28.9476 5 33.8911V69.7459C5 74.6894 9.0365 78.7096 14 78.7096Z\" fill=\"#E5E5E5\"/>
  1848.                                             <path d=\"M86 7H32C27.0365 7 23 11.0202 23 15.9637H77C81.9635 15.9637 86 19.9839 86 24.9274V60.7822C90.9635 60.7822 95 56.762 95 51.8185V15.9637C95 11.0202 90.9635 7 86 7Z\" fill=\"#E5E5E5\"/>
  1849.                                         </svg>
  1850.                                         <p>Пока отзывов нет.<br>Оставьте первый отзыв.</p>
  1851.                                     </div>
  1852.                                     <div class=\"comment__elements\" style=\"display: none\">";
  1853.                 // line 706
  1854.                 $this->loadTemplate("ProfilePreview/comment-empty.html.twig""ProfilePreview/page.html.twig"706)->display($context);
  1855.                 echo "</div>
  1856.                                 </div>
  1857.                             ";
  1858.             } else {
  1859.                 // line 709
  1860.                 echo "                                <div class=\"comments overflow-hidden\" id=\"review-block-list\">
  1861.                                     <div class=\"comment__elements\">
  1862.                                         ";
  1863.                 // line 711
  1864.                 $context['_parent'] = $context;
  1865.                 $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.'711$this->source); })()), "comments", [], "any"falsefalsefalse711));
  1866.                 $context['loop'] = [
  1867.                   'parent' => $context['_parent'],
  1868.                   'index0' => 0,
  1869.                   'index'  => 1,
  1870.                   'first'  => true,
  1871.                 ];
  1872.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1873.                     $length count($context['_seq']);
  1874.                     $context['loop']['revindex0'] = $length 1;
  1875.                     $context['loop']['revindex'] = $length;
  1876.                     $context['loop']['length'] = $length;
  1877.                     $context['loop']['last'] = === $length;
  1878.                 }
  1879.                 foreach ($context['_seq'] as $context["_key"] => $context["comment"]) {
  1880.                     // line 712
  1881.                     echo "                                            ";
  1882.                     $this->loadTemplate("ProfilePreview/comment.html.twig""ProfilePreview/page.html.twig"712)->display($context);
  1883.                     // line 713
  1884.                     echo "                                        ";
  1885.                     ++$context['loop']['index0'];
  1886.                     ++$context['loop']['index'];
  1887.                     $context['loop']['first'] = false;
  1888.                     if (isset($context['loop']['length'])) {
  1889.                         --$context['loop']['revindex0'];
  1890.                         --$context['loop']['revindex'];
  1891.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1892.                     }
  1893.                 }
  1894.                 $_parent $context['_parent'];
  1895.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comment'], $context['_parent'], $context['loop']);
  1896.                 $context array_intersect_key($context$_parent) + $_parent;
  1897.                 // line 714
  1898.                 echo "                                    </div>
  1899.                                 </div>
  1900.                             ";
  1901.             }
  1902.             // line 717
  1903.             echo "                        </div>
  1904.                         ";
  1905.             // line 718
  1906.             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.'718$this->source); })()), "user", [], "any"falsefalsefalse718))) {
  1907.                 // line 719
  1908.                 echo "                            ";
  1909.                 // line 720
  1910.                 echo "                                <div class=\"review-form\" id=\"review-form-comment\">
  1911.                                     ";
  1912.                 // line 722
  1913.                 echo "                                </div>
  1914.                                 <div
  1915.                                         class=\"dialog-container\"
  1916.                                         id=\"form-dialog\"
  1917.                                         aria-hidden=\"true\"
  1918.                                         aria-labelledby=\"form-dialog-title\"
  1919.                                         aria-describedby=\"form-dialog-description\"
  1920.                                     >
  1921.                                     <div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
  1922.                                     <div class=\"dialog-content\" role=\"document\">
  1923.                                         <div class=\"dialog-header\">
  1924.                                         <button
  1925.                                             data-a11y-dialog-hide
  1926.                                             class=\"dialog-close\"
  1927.                                             aria-label=\"Close this dialog window\"
  1928.                                         >
  1929.                                             <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>
  1930.                                         </button>
  1931.                                         </div>
  1932.                                         <div class=\"dialog-body\">
  1933.                                         </div>
  1934.                                     </div>
  1935.                                 </div>
  1936.                         ";
  1937.             }
  1938.             // line 747
  1939.             echo "                    </div>
  1940.                 </section>
  1941.             ";
  1942.         }
  1943.         // line 750
  1944.         echo "        </div>
  1945.     </div>
  1946.     ";
  1947.         // line 752
  1948.         $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.'752$this->source); })()), "id", [], "any"falsefalsefalse752)];
  1949.         // line 753
  1950.         echo "    ";
  1951.         echo twig_include($this->env$context"components/_profile_recommendations.html.twig");
  1952.         echo "
  1953.     ";
  1954.         // line 755
  1955.         echo twig_include($this->env$context"ProfilePreview/nearest_profiles.html.twig");
  1956.         echo "
  1957. ";
  1958.         
  1959.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1960.         
  1961.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1962.         
  1963.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  1964.     }
  1965.     // line 758
  1966.     public function block_mobile_phone($context, array $blocks = [])
  1967.     {
  1968.         $macros $this->macros;
  1969.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  1970.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mobile_phone"));
  1971.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1972.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mobile_phone"));
  1973.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1974.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mobile_phone"));
  1975.         $this->loadTemplate("ProfilePreview/components/profile-phone-mobile.partial.twig""ProfilePreview/page.html.twig"758)->display(twig_array_merge($context, []));
  1976.         
  1977.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1978.         
  1979.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1980.         
  1981.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  1982.     }
  1983.     // line 761
  1984.     public function block_javascripts($context, array $blocks = [])
  1985.     {
  1986.         $macros $this->macros;
  1987.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  1988.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1989.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1990.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1991.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1992.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1993.         // line 762
  1994.         echo "    <script>
  1995.         window.comment_data = {
  1996.             'urlCreate': '";
  1997.         // line 764
  1998.         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.'764$this->source); })()), "id", [], "any"falsefalsefalse764)]), "html"nulltrue);
  1999.         echo "',
  2000.             'urlGet': '";
  2001.         // line 765
  2002.         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.'765$this->source); })()), "id", [], "any"falsefalsefalse765)]), "html"nulltrue);
  2003.         echo "',
  2004.             'sitekey': \"";
  2005.         // line 766
  2006.         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.'766$this->source); })()), "html"nulltrue);
  2007.         echo "\",
  2008.             'registrationUrl': \"";
  2009.         // line 767
  2010.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register", ["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.'767$this->source); })()), "uriIdentity", [], "any"falsefalsefalse767)]), "html"nulltrue);
  2011.         echo "\"
  2012.         };
  2013.         window._lD = {
  2014.             setLastViewedListing: '";
  2015.         // line 770
  2016.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'770$this->source); })()), "request", [], "any"falsefalsefalse770), "attributes", [], "any"falsefalsefalse770), "get", ["_route"], "method"falsefalsefalse770), "html"nulltrue);
  2017.         echo "',
  2018.             cityUrl: \"";
  2019.         // line 771
  2020.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'771$this->source); })()), "uriIdentity", [], "any"falsefalsefalse771), "html"nulltrue);
  2021.         echo "\",
  2022.         };
  2023. \t\twindow._strl = {
  2024. \t\t\tstations: {";
  2025.         // line 775
  2026.         $context['_parent'] = $context;
  2027.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
  2028.         $context['loop'] = [
  2029.           'parent' => $context['_parent'],
  2030.           'index0' => 0,
  2031.           'index'  => 1,
  2032.           'first'  => true,
  2033.         ];
  2034.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2035.             $length count($context['_seq']);
  2036.             $context['loop']['revindex0'] = $length 1;
  2037.             $context['loop']['revindex'] = $length;
  2038.             $context['loop']['length'] = $length;
  2039.             $context['loop']['last'] = === $length;
  2040.         }
  2041.         foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  2042.             // line 776
  2043.             echo "\"";
  2044.             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"falsefalsefalse776)), "html"nulltrue);
  2045.             echo "\": \"";
  2046.             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"falsefalsefalse776), "uriIdentity", [], "any"falsefalsefalse776), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse776)]), "html"nulltrue);
  2047.             echo "\"";
  2048.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse776)) {
  2049.                 echo ",";
  2050.             }
  2051.             ++$context['loop']['index0'];
  2052.             ++$context['loop']['index'];
  2053.             $context['loop']['first'] = false;
  2054.             if (isset($context['loop']['length'])) {
  2055.                 --$context['loop']['revindex0'];
  2056.                 --$context['loop']['revindex'];
  2057.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  2058.             }
  2059.         }
  2060.         $_parent $context['_parent'];
  2061.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  2062.         $context array_intersect_key($context$_parent) + $_parent;
  2063.         // line 778
  2064.         echo "}
  2065. \t\t};
  2066.     </script>
  2067.     <script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  2068.     ";
  2069.         // line 783
  2070.         $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.'783$this->source); })()), "id", [], "any"falsefalsefalse783)];
  2071.         // line 784
  2072.         echo "    ";
  2073.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("scripts/index"null"basicConfig");
  2074.         echo "
  2075.     ";
  2076.         // line 786
  2077.         $this->displayParentBlock("javascripts"$context$blocks);
  2078.         echo "
  2079.     ";
  2080.         // line 787
  2081.         if ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any"truetruefalse787) && (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.'787$this->source); })()), "confirmedVideos", [], "any"falsefalsefalse787)) > 0))) {
  2082.             // line 788
  2083.             echo "        <script src=\"https://cdn.jsdelivr.net/npm/video.js@8.23.7/dist/video.min.js\"></script>
  2084.         <link href=\"https://cdn.jsdelivr.net/npm/video.js@8.23.7/dist/video-js.min.css\" rel=\"stylesheet\">
  2085.     ";
  2086.         }
  2087.         // line 791
  2088.         echo "    <script type=\"text/javascript\">
  2089.         if ((window.navigator.userAgent.indexOf('iPhone') !== -1) || (window.navigator.userAgent.indexOf('iPod') !== -1)){
  2090.             const video = document.querySelector('.video-js');
  2091.             video.setAttribute('autoplay', true);
  2092.         }
  2093.     </script>
  2094.     <script>
  2095.         (function() {
  2096.             let isRenderRecommendationsWidget = false;
  2097.             let isRenderBotWidget = false;
  2098.             let isRenderRecentlyViewedWidget = false;
  2099.             function loadWidgets() {
  2100.                 if (!isRenderRecommendationsWidget) {
  2101.                     isRenderRecommendationsWidget = true;
  2102.                     window.Recommendations.addViewedProfile(";
  2103.         // line 806
  2104.         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.'806$this->source); })()), "id", [], "any"falsefalsefalse806), "html"nulltrue);
  2105.         echo ")
  2106.                 }
  2107.                 if (!isRenderBotWidget) {
  2108.                     isRenderBotWidget = true;
  2109.                     window.profileBotHelper.addViewedProfile(";
  2110.         // line 810
  2111.         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.'810$this->source); })()), "id", [], "any"falsefalsefalse810), "html"nulltrue);
  2112.         echo ");
  2113.                 }
  2114.                 if (!isRenderRecentlyViewedWidget) {
  2115.                     isRenderRecentlyViewedWidget = true;
  2116.                     window.recentlyViewed.addViewedProfile(";
  2117.         // line 814
  2118.         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.'814$this->source); })()), "id", [], "any"falsefalsefalse814), "html"nulltrue);
  2119.         echo ");
  2120.                 }
  2121.                 //const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
  2122.             }
  2123.             document.addEventListener('DOMContentLoaded', function() {
  2124.                 try {
  2125.                     loadWidgets();
  2126.                 } catch (error) {
  2127.                     console.error(error);
  2128.                 }
  2129.             });
  2130.             document.addEventListener(\"recommendations:ready\", function() {
  2131.                 try {
  2132.                     loadWidgets();
  2133.                 } catch (error) {
  2134.                     console.error(error);
  2135.                 }
  2136.             });
  2137.         })();
  2138.         document.addEventListener('DOMContentLoaded', function() {
  2139.             window.increase_views(";
  2140.         // line 835
  2141.         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.'835$this->source); })()), "id", [], "any"falsefalsefalse835), "html"nulltrue);
  2142.         echo ");
  2143.         });
  2144. \t</script>
  2145. ";
  2146.         
  2147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2148.         
  2149.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2150.         
  2151.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2152.     }
  2153.     // line 5
  2154.     public function macro__show_tabs($__photos__ null$__selfies__ null$__videos__ null, ...$__varargs__)
  2155.     {
  2156.         $macros $this->macros;
  2157.         $context $this->env->mergeGlobals([
  2158.             "photos" => $__photos__,
  2159.             "selfies" => $__selfies__,
  2160.             "videos" => $__videos__,
  2161.             "varargs" => $__varargs__,
  2162.         ]);
  2163.         $blocks = [];
  2164.         ob_start();
  2165.         try {
  2166.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  2167.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  2168.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2169.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  2170.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2171.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_show_tabs"));
  2172.             // line 6
  2173.             if ((((array_key_exists("photos"$context) && (twig_length_filter($this->env, (isset($context["photos"]) || array_key_exists("photos"$context) ? $context["photos"] : (function () { throw new RuntimeError('Variable "photos" does not exist.'6$this->source); })())) > 0)) || (            // line 7
  2174. 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
  2175. 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)))) {
  2176.                 // line 9
  2177.                 echo "true";
  2178.             } else {
  2179.                 echo "false";
  2180.             }
  2181.             
  2182.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2183.             
  2184.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2185.             
  2186.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2187.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  2188.         } finally {
  2189.             ob_end_clean();
  2190.         }
  2191.     }
  2192.     // line 12
  2193.     public function macro__data_wrapper($__text__ null$__value__ null$__shortText__ "", ...$__varargs__)
  2194.     {
  2195.         $macros $this->macros;
  2196.         $context $this->env->mergeGlobals([
  2197.             "text" => $__text__,
  2198.             "value" => $__value__,
  2199.             "shortText" => $__shortText__,
  2200.             "varargs" => $__varargs__,
  2201.         ]);
  2202.         $blocks = [];
  2203.         ob_start();
  2204.         try {
  2205.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  2206.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_data_wrapper"));
  2207.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2208.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_data_wrapper"));
  2209.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2210.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_data_wrapper"));
  2211.             // line 13
  2212.             echo "    ";
  2213.             $context["value"] = (((isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'13$this->source); })())) ? ((isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'13$this->source); })())) : ("-"));
  2214.             // line 14
  2215.             echo "    <span class=\"name";
  2216.             echo (((isset($context["shortText"]) || array_key_exists("shortText"$context) ? $context["shortText"] : (function () { throw new RuntimeError('Variable "shortText" does not exist.'14$this->source); })())) ? (" long-text") : (""));
  2217.             echo "\">";
  2218.             echo twig_escape_filter($this->env, (isset($context["text"]) || array_key_exists("text"$context) ? $context["text"] : (function () { throw new RuntimeError('Variable "text" does not exist.'14$this->source); })()), "html"nulltrue);
  2219.             echo "<i>:</i></span><span class=\"name-short\">";
  2220.             echo twig_escape_filter($this->env, (isset($context["shortText"]) || array_key_exists("shortText"$context) ? $context["shortText"] : (function () { throw new RuntimeError('Variable "shortText" does not exist.'14$this->source); })()), "html"nulltrue);
  2221.             echo "</span><span class=\"value\">";
  2222.             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.'14$this->source); })()), "html"nulltrue);
  2223.             echo "</span>
  2224. ";
  2225.             
  2226.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2227.             
  2228.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2229.             
  2230.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2231.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  2232.         } finally {
  2233.             ob_end_clean();
  2234.         }
  2235.     }
  2236.     // line 19
  2237.     public function macro__time_to_work($__profile__ null, ...$__varargs__)
  2238.     {
  2239.         $macros $this->macros;
  2240.         $context $this->env->mergeGlobals([
  2241.             "profile" => $__profile__,
  2242.             "varargs" => $__varargs__,
  2243.         ]);
  2244.         $blocks = [];
  2245.         ob_start();
  2246.         try {
  2247.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  2248.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_time_to_work"));
  2249.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2250.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_time_to_work"));
  2251.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2252.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_time_to_work"));
  2253.             // line 20
  2254.             echo "    ";
  2255.             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.'20$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse20), "timeFrom", [], "any"falsefalsefalse20) == "") && (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.'20$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse20), "timeTo", [], "any"falsefalsefalse20) == "")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 21
  2256. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'21$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse21), "timeFrom", [], "any"falsefalsefalse21) == 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.'21$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse21), "timeTo", [], "any"falsefalsefalse21)))) {
  2257.                 // line 22
  2258.                 echo "        ";
  2259.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Круглосуточно", [], "profile");
  2260.                 // line 23
  2261.                 echo "    ";
  2262.             } else {
  2263.                 // line 24
  2264.                 echo "        с
  2265.         ";
  2266.                 // line 25
  2267.                 (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'25$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse25), "timeFrom", [], "any"falsefalsefalse25) == "")) ? (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.'25$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse25), "timeFrom", [], "any"falsefalsefalse25), "html"nulltrue))));
  2268.                 echo "
  2269.         до
  2270.         ";
  2271.                 // line 27
  2272.                 (((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) == "")) ? (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.'27$this->source); })()), "phoneCallRestrictions", [], "any"falsefalsefalse27), "timeTo", [], "any"falsefalsefalse27), "html"nulltrue))));
  2273.                 echo "
  2274.     ";
  2275.             }
  2276.             
  2277.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2278.             
  2279.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2280.             
  2281.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2282.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  2283.         } finally {
  2284.             ob_end_clean();
  2285.         }
  2286.     }
  2287.     /**
  2288.      * @codeCoverageIgnore
  2289.      */
  2290.     public function getTemplateName()
  2291.     {
  2292.         return "ProfilePreview/page.html.twig";
  2293.     }
  2294.     /**
  2295.      * @codeCoverageIgnore
  2296.      */
  2297.     public function isTraitable()
  2298.     {
  2299.         return false;
  2300.     }
  2301.     /**
  2302.      * @codeCoverageIgnore
  2303.      */
  2304.     public function getDebugInfo()
  2305.     {
  2306.         return array (  2368 => 27,  2363 => 25,  2360 => 24,  2357 => 23,  2354 => 22,  2352 => 21,  2350 => 20,  2328 => 19,  2301 => 14,  2298 => 13,  2274 => 12,  2253 => 9,  2251 => 8,  2250 => 7,  2249 => 6,  2225 => 5,  2208 => 835,  2184 => 814,  2177 => 810,  2170 => 806,  2153 => 791,  2148 => 788,  2146 => 787,  2142 => 786,  2136 => 784,  2134 => 783,  2127 => 778,  2106 => 776,  2089 => 775,  2083 => 771,  2079 => 770,  2073 => 767,  2069 => 766,  2065 => 765,  2061 => 764,  2057 => 762,  2044 => 761,  2019 => 758,  2004 => 755,  1998 => 753,  1996 => 752,  1992 => 750,  1987 => 747,  1960 => 722,  1957 => 720,  1955 => 719,  1953 => 718,  1950 => 717,  1945 => 714,  1931 => 713,  1928 => 712,  1911 => 711,  1907 => 709,  1901 => 706,  1891 => 698,  1889 => 697,  1883 => 694,  1878 => 691,  1874 => 690,  1870 => 689,  1864 => 688,  1860 => 687,  1856 => 686,  1852 => 685,  1848 => 683,  1845 => 682,  1843 => 681,  1836 => 677,  1832 => 676,  1828 => 675,  1823 => 673,  1811 => 663,  1805 => 662,  1803 => 661,  1797 => 659,  1791 => 655,  1785 => 651,  1783 => 650,  1780 => 649,  1774 => 648,  1771 => 647,  1768 => 646,  1765 => 645,  1760 => 644,  1756 => 643,  1753 => 642,  1750 => 641,  1748 => 640,  1742 => 636,  1736 => 635,  1733 => 634,  1727 => 631,  1724 => 630,  1718 => 626,  1712 => 622,  1710 => 621,  1707 => 620,  1704 => 619,  1698 => 618,  1695 => 617,  1692 => 616,  1689 => 615,  1684 => 614,  1680 => 613,  1677 => 612,  1674 => 611,  1672 => 610,  1666 => 606,  1660 => 605,  1656 => 603,  1652 => 601,  1650 => 600,  1647 => 599,  1640 => 597,  1632 => 596,  1625 => 595,  1619 => 591,  1616 => 590,  1610 => 586,  1608 => 585,  1603 => 582,  1601 => 581,  1596 => 578,  1593 => 577,  1591 => 576,  1584 => 575,  1581 => 574,  1577 => 573,  1573 => 572,  1570 => 571,  1566 => 569,  1564 => 568,  1561 => 567,  1557 => 565,  1550 => 563,  1542 => 562,  1537 => 560,  1530 => 559,  1524 => 555,  1521 => 554,  1515 => 550,  1513 => 549,  1508 => 546,  1506 => 545,  1501 => 542,  1498 => 541,  1496 => 540,  1489 => 539,  1486 => 538,  1482 => 537,  1476 => 536,  1472 => 534,  1465 => 532,  1457 => 531,  1452 => 529,  1445 => 528,  1439 => 524,  1436 => 523,  1430 => 519,  1428 => 518,  1423 => 515,  1421 => 514,  1416 => 511,  1413 => 510,  1411 => 509,  1404 => 508,  1401 => 507,  1397 => 506,  1392 => 503,  1385 => 501,  1377 => 500,  1372 => 498,  1365 => 497,  1359 => 493,  1356 => 492,  1350 => 488,  1348 => 487,  1343 => 484,  1341 => 483,  1336 => 480,  1333 => 479,  1331 => 478,  1324 => 477,  1321 => 476,  1317 => 475,  1313 => 473,  1310 => 472,  1308 => 471,  1305 => 470,  1299 => 469,  1296 => 468,  1293 => 467,  1290 => 466,  1287 => 465,  1284 => 464,  1279 => 463,  1277 => 462,  1274 => 461,  1269 => 460,  1265 => 459,  1262 => 458,  1259 => 457,  1257 => 456,  1225 => 427,  1217 => 422,  1213 => 421,  1208 => 418,  1202 => 414,  1196 => 410,  1186 => 406,  1182 => 404,  1178 => 403,  1169 => 400,  1166 => 399,  1160 => 395,  1146 => 394,  1140 => 389,  1132 => 388,  1129 => 386,  1127 => 385,  1123 => 383,  1115 => 378,  1111 => 377,  1107 => 376,  1103 => 375,  1096 => 373,  1093 => 372,  1091 => 371,  1089 => 370,  1072 => 369,  1063 => 366,  1060 => 365,  1055 => 362,  1041 => 361,  1038 => 359,  1032 => 355,  1024 => 354,  1021 => 352,  1019 => 351,  1015 => 349,  1007 => 344,  1003 => 343,  999 => 342,  995 => 341,  988 => 339,  985 => 338,  983 => 337,  966 => 336,  962 => 334,  959 => 333,  957 => 332,  953 => 330,  941 => 325,  929 => 320,  921 => 315,  919 => 314,  915 => 311,  913 => 310,  905 => 304,  899 => 302,  897 => 301,  895 => 300,  893 => 299,  888 => 296,  886 => 295,  883 => 293,  877 => 292,  869 => 291,  861 => 290,  858 => 288,  855 => 286,  848 => 284,  846 => 283,  844 => 282,  842 => 281,  838 => 278,  832 => 277,  826 => 276,  820 => 275,  814 => 274,  808 => 273,  802 => 272,  792 => 263,  788 => 262,  785 => 261,  781 => 259,  773 => 257,  770 => 256,  768 => 255,  764 => 254,  757 => 251,  749 => 250,  747 => 249,  742 => 248,  734 => 247,  732 => 246,  728 => 245,  721 => 242,  713 => 241,  711 => 240,  706 => 239,  698 => 238,  696 => 237,  692 => 236,  685 => 233,  677 => 232,  675 => 231,  670 => 230,  662 => 229,  660 => 228,  656 => 227,  648 => 222,  644 => 221,  640 => 220,  633 => 215,  630 => 214,  616 => 213,  613 => 212,  610 => 211,  601 => 207,  595 => 206,  590 => 203,  587 => 202,  584 => 201,  581 => 200,  578 => 199,  575 => 198,  558 => 197,  554 => 195,  539 => 193,  533 => 192,  527 => 189,  524 => 188,  507 => 187,  502 => 185,  499 => 184,  497 => 183,  493 => 182,  490 => 181,  480 => 174,  477 => 173,  467 => 168,  464 => 167,  460 => 165,  457 => 164,  443 => 163,  437 => 162,  419 => 161,  417 => 160,  412 => 159,  410 => 157,  408 => 156,  405 => 155,  396 => 148,  391 => 145,  386 => 142,  384 => 141,  380 => 140,  376 => 139,  373 => 138,  371 => 137,  368 => 136,  362 => 134,  359 => 133,  355 => 131,  347 => 126,  341 => 124,  337 => 123,  332 => 122,  329 => 121,  326 => 120,  324 => 119,  316 => 113,  314 => 111,  313 => 110,  312 => 109,  311 => 108,  310 => 107,  309 => 106,  307 => 105,  304 => 103,  301 => 102,  298 => 101,  295 => 99,  293 => 98,  291 => 96,  289 => 95,  287 => 93,  285 => 92,  283 => 91,  281 => 90,  279 => 89,  273 => 87,  267 => 86,  264 => 85,  261 => 84,  258 => 83,  255 => 82,  250 => 81,  245 => 80,  243 => 79,  241 => 78,  239 => 76,  237 => 74,  235 => 72,  234 => 71,  232 => 69,  230 => 68,  228 => 66,  227 => 65,  226 => 64,  225 => 63,  214 => 60,  207 => 57,  194 => 56,  176 => 42,  163 => 41,  138 => 39,  122 => 36,  109 => 35,  93 => 32,  80 => 31,  66 => 1,  64 => 53,  63 => 52,  62 => 51,  61 => 50,  60 => 49,  59 => 48,  58 => 47,  42 => 1,);
  2307.     }
  2308.     public function getSourceContext()
  2309.     {
  2310.         return new Source("{% extends 'ProfilePreview/grid.html.twig' %}
  2311. {# Проверяем есть ли у нас вообще данные для табов #}
  2312. {%- macro _show_tabs(photos,selfies,videos) -%}
  2313.     {% if (photos is defined and photos|length > 0) or
  2314.         (selfies is defined and selfies|length > 0) or
  2315.         (videos is defined and videos|length > 0)
  2316.     %}true{% else %}false{% endif %}
  2317. {%- endmacro -%}
  2318. {% macro _data_wrapper(text, value, shortText = '') %}
  2319.     {% set value = value ? value : '-' %}
  2320.     <span class=\"name{{ shortText ? ' long-text' : '' }}\">{{ text }}<i>:</i></span><span class=\"name-short\">{{ shortText }}</span><span class=\"value\">{{ value }}</span>
  2321. {% endmacro %}
  2322. {% macro _time_to_work(profile) %}
  2323.     {% if (profile.phoneCallRestrictions.timeFrom == '' and profile.phoneCallRestrictions.timeTo == '') or
  2324.         (profile.phoneCallRestrictions.timeFrom == profile.phoneCallRestrictions.timeTo) %}
  2325.         {% trans with {} from 'profile' %}Круглосуточно{% endtrans %}
  2326.     {% else %}
  2327.         с
  2328.         {{ profile.phoneCallRestrictions.timeFrom == '' ? 0 : profile.phoneCallRestrictions.timeFrom }}
  2329.         до
  2330.         {{ profile.phoneCallRestrictions.timeTo == '' ? 0 : profile.phoneCallRestrictions.timeTo }}
  2331.     {% endif %}
  2332. {% endmacro %}
  2333. {% block title %}
  2334.     {{ seo_title() }}
  2335. {% endblock %}
  2336. {% block metaDescription %}
  2337.     <meta name=\"description\" content=\"{{ seo_description() }}\">
  2338. {% endblock %}
  2339. {% block name_page %}profile{% endblock %}
  2340. {% block stylesheet %}
  2341.     {{ parent() }}
  2342.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\">
  2343.     <link rel=\"stylesheet\" href=\"/assets/vendors/lightgallery/css/lightgallery.min.css\">
  2344. {% endblock %}
  2345. {% set currencyFront =
  2346.     profile.city.countryCode == \"RU\" ? \"₽\" :
  2347.     profile.city.countryCode == \"UA\" ? \"₴\" :
  2348.     profile.city.countryCode == \"KZ\" ? \"\$\" :
  2349.     profile.city.countryCode == \"LT\" ? \"€\" :
  2350.     profile.city.countryCode == \"LV\" ? \"€\" :
  2351.     profile.city.countryCode == \"EE\" ? \"€\" : \"\$\"
  2352. %}
  2353. {% block mainContainer %}
  2354.     {{ knp_menu_render('breadcrumbs', {'template': '_menu/breadcrumbs.html.twig', 'profile': profile}) }}
  2355.     <div class=\"flex-fill model-header border-line\">
  2356.         <h1 class=\"d-flex flex-fill\">Индивидуалка {{ profile.name }}, <span class=\"age\">{{ profile.personParameters.age ? profile.personParameters.age|plural('год') : '' }}</span>&nbsp;ID {{ profile.id }}{% if profile.approved %}<span class=\"verification ml-auto\">Фото проверено</span>{% endif %}</h1>
  2357.     </div>
  2358.     {%- set prices1H = [
  2359.             profile.apartmentsPricing.oneHourPrice,
  2360.             profile.takeOutPricing.oneHourPrice
  2361.         ]|filter(v => v is not null) -%}
  2362.     {%- set min1HPrice = prices1H is not empty ? min(prices1H) : 0 -%}
  2363.     {%- set min1HPriceOutput = min1HPrice > 0 ? min1HPrice : '' -%}
  2364.     {%- set firstStation = profile.primaryStation is defined and profile.primaryStation is not empty
  2365.         ? profile.primaryStation
  2366.         : null -%}
  2367.     {%- set stationOutput = firstStation ? 'метро ' ~ firstStation.name ~ ', ' : '' -%}
  2368.     {%- set isDefaultCity = profile.city == default_city() -%}
  2369.     {%- set morpID = profile.id -%}
  2370.     {% set serviceNameList = [] %}
  2371.     {% for group, servicesGroup in services | filter((servicesGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) %}
  2372.         {% for service in servicesGroup %}
  2373.             {% set providedService = profile.providedService(service) %}
  2374.             {% if providedService %}
  2375.                 {% set serviceNameList = serviceNameList|merge([service.name|trans]) %}
  2376.             {% endif %}
  2377.         {% endfor %}
  2378.     {% endfor %}
  2379.     {%- set service1 = null -%}
  2380.     {%- set service2 = null -%}
  2381.     {% if serviceNameList is not empty %}
  2382.         {%- set service1 = serviceNameList|seo_morphing(morpID) -%}
  2383.         {%- set service2 = serviceNameList|seo_morphing(morpID + 105) -%}
  2384.         {% if service1 == service2 -%}
  2385.             {%- set service2 = serviceNameList|seo_morphing(morpID + 104) -%}
  2386.             {% if service1 == service2 -%}
  2387.                 {%- set service2 = null -%}
  2388.             {% endif %}
  2389.         {% endif %}
  2390.     {% endif %}
  2391.     {# Определяем шаблоны alt-текстов в массиве #}
  2392.     {% set altTemplates = [
  2393.         'инди ' ~ profile.name|trans ~ ', ' ~ profile.city.name,
  2394.         'девочка по вызову ' ~ profile.name|trans ~ ', ' ~ min1HPriceOutput ~ ' руб. час',
  2395.         profile.name|trans ~ (service1 ? ', ' ~ service1 : '') ~ (service2 ? ', ' ~ service2 : ''),
  2396.         'шлюха ' ~ profile.name|trans ~ ', снять по тел. ' ~ profile.phoneNumber,
  2397.         'проститутка ' ~ profile.name|trans ~ ', в ' ~ profile.city.name,
  2398.         'проститутка ' ~ profile.name|trans ~ ', анкета ID' ~ profile.id
  2399.     ] %}
  2400.     <div class=\"d-flex profile-wrapper\">
  2401.         <div class=\"cols-1\">
  2402.             <section class=\"model-info d-flex\">
  2403.                 <div class=\"wrap\">
  2404.                     <div class=\"avatar\" id=\"avatar-preview\" itemtype=\"http://schema.org/ImageObject\">
  2405.                         {% if not profile.deleted %}
  2406.                             {% set photo = profile|avatar %}
  2407.                             {% if photo %}
  2408.                                 <a href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" class=\"girl-avatar__small\" data-gallery=\"girl-avatar\" data-index=\"0\">
  2409.                                     <img itemprop=\"contentUrl\" src=\"{{ responsive_asset(photo.path, 'profile_media', \"300x420\", \"jpg\") }}\"
  2410.                                          alt=\"проститутка {{ profile.name|trans }}{{ profile.personParameters.age ? ', ' ~ profile.personParameters.age|plural('год') : '' }}\"
  2411.                                          class=\"img-fluid\" loading=\"lazy\">
  2412.                                     {% if profile.approved %}<div class=\"verify\">
  2413.                                         <svg class=\"icon\">
  2414.                                             <use xlink:href=\"#icon-models-profile-verify\"></use>
  2415.                                         </svg>
  2416.                                     </div>{% endif %}
  2417.                                 </a>
  2418.                             {% endif %}
  2419.                         {% else %}
  2420.                             <img src=\"{{ asset('assets/images/avatar-lock.svg') }}\" loading=\"lazy\">
  2421.                         {% endif %}
  2422.                     </div>
  2423.                     {% if  is_user_customer(app.user) and not profile.deleted %}
  2424.                         <button type=\"button\"
  2425.                                 data-url-add=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
  2426.                                 data-url-remove=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
  2427.                                 {% if is_profile_in_favourites(profile) %}
  2428.                                 title=\"Убрать из избранного\"
  2429.                                 class=\"btn favorite like\" id=\"favorite\">
  2430.                             {% else %}
  2431.                                 title=\"Добавить в избранное\"
  2432.                                 class=\"btn favorite unlike\" id=\"favorite\">
  2433.                             {% endif %}
  2434.                             <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  2435.                                 <path d=\"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\" fill=\"#254CB1\"/>
  2436.                                 <path d=\"M20 33L18.26 31.3455C12.08 25.4921 8 21.6316 8 16.8937C8 13.0332 10.904 10 14.6 10C16.688 10 18.692 11.0153 20 12.6196C21.308 11.0153 23.312 10 25.4 10C29.096 10 32 13.0332 32 16.8937C32 21.6316 27.92 25.4921 21.74 31.358L20 33Z\" fill=\"white\"/>
  2437.                                 <path class=\"ar\" d=\"M18.667 25.126L14 20.412L15.424 19.008L18.681 22.294L26.008 15L27.416 16.42L18.667 25.126Z\" fill=\"#254CB1\"/>
  2438.                             </svg>
  2439.                         </button>
  2440.                     {% endif %}
  2441.                     <div class=\"main-data\">
  2442.                         {% if not profile.deleted %}
  2443. \t\t\t\t\t\t    {%- include 'ProfilePreview/components/profile-phone.partial.twig' with {} -%}
  2444.                             <p class=\"answering-type text-data\"><span class=\"name\">{% trans with {} from 'profile' %}Отвечаю на:{% endtrans %}</span>
  2445.                                 {% if profile.phoneCallRestrictions.answeringTo|length > 0 %}
  2446.                                     {% for answeringTo in profile.phoneCallRestrictions.answeringTo %}
  2447.                                         {{ answeringTo|answering_to|trans({}, 'phone_call_restrictions') }}{% if not loop.last %},{% endif %}
  2448.                                     {% endfor %}
  2449.                                 {% else %}
  2450.                                     Не указано
  2451.                                 {% endif %}
  2452.                             </p>
  2453.                             <p class=\"answering-time text-data\"><span class=\"name\">{% trans with {} from 'profile' %}Работаю:{% endtrans %}</span> {{ _self._time_to_work(profile) }}</p>
  2454.                             <p class=\"alert-info\">
  2455.                                 <span>Участились случаи мошенничества. Не отправляйте предоплату.</span>
  2456.                             </p>
  2457.                         {% else %}
  2458.                             <div class=\"lock-block\">
  2459.                                 <img src=\"{{ asset('assets/images/icons/profile-lock.svg') }}\">
  2460.                                 <div class=\"text-block\">
  2461.                                     <p class=\"title\">Девушка не работает</p>
  2462.                                     <p class=\"lock\">Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</p>
  2463.                                 </div>
  2464.                             </div>
  2465.                         {% endif %}
  2466.                         <p class=\"text-data city\"><span class=\"name\">Город:</span><span class=\"value\">{{ profile.city.name }}</span></p>
  2467.                         {% if profile.stationsSortedByPrimary|length > 0 %}
  2468.                             <div class=\"metro d-flex\">
  2469.                                 <p class=\"text-data\"><span class=\"name\">{% trans with {} from 'basic' %}Метро:{% endtrans %}</span></p>
  2470.                                 <ul class=\"d-flex\">
  2471.                                     {% for station in profile.stationsSortedByPrimary|slice(0,3) %}
  2472.                                         <li>
  2473.                                             <a href=\"{{ path('profile_list.list_by_station', {'city': city.uriIdentity, 'station': station.uriIdentity}) }}\"  class=\"d-flex\" target=\"_blank\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  2474.                                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM10.1682 8.33113L10.1896 11.7383H12.486L12.4646 4.26169H10.3925L8.02136 8.24568L5.58611 4.26169H3.51401V11.7383H5.81041V8.44862L7.43391 11.0654H8.54473L10.1682 8.33113Z\" fill=\"#254CB1\"/>
  2475.                                                 </svg>
  2476.                                                 <span>{{ station.name|trans }}</span></a>{% if loop.index < 3 and not loop.last %},{% endif %}
  2477.                                         </li>
  2478.                                     {% endfor %}
  2479.                                 </ul>
  2480.                             </div>
  2481.                             {% for station in profile.stationsSortedByPrimary %}
  2482.                                 {% set stationDistrict = station.district %}
  2483.                                 {% if stationDistrict %}
  2484.                                     {% if loop.first %}
  2485.                                         {% set districtCounty = stationDistrict.county %}
  2486.                                         {% if districtCounty %}
  2487.                                             <div class=\"region\">
  2488.                                                 <p class=\"text-data\"><span class=\"name\">Район:</span></p>
  2489.                                                 <ul>
  2490.                                                     <li><a href=\"{{ path('profile_list.list_by_county', {'city': districtCounty.city.uriIdentity, 'county': districtCounty.uriIdentity}) }}\">{{ districtCounty.name|trans }}</a>,</li>
  2491.                                                     <li><a href=\"{{ path('profile_list.list_by_district', {'city': districtCounty.city.uriIdentity, 'district': stationDistrict.uriIdentity}) }}\">{{ stationDistrict.name|trans }}</a></li>
  2492.                                                 </ul>
  2493.                                             </div>
  2494.                                         {% endif %}
  2495.                                     {% endif %}
  2496.                                 {% endif %}
  2497.                             {% endfor %}
  2498.                         {% endif %}
  2499.                         <div class=\"table-wrap\">
  2500.                             <table class=\"table price-table\">
  2501.                                 <thead>
  2502.                                 <tr>
  2503.                                     <th scope=\"col\">{% trans with {} from 'profile' %}Время{% endtrans %}</th>
  2504.                                     <th scope=\"col\">{% trans with {} from 'profile' %}Апартаменты{% endtrans %}</th>
  2505.                                     <th scope=\"col\">{% trans with {} from 'profile' %}Выезд{% endtrans %}</th>
  2506.                                 </tr>
  2507.                                 </thead>
  2508.                                 <tbody>
  2509.                                 <tr>
  2510.                                     <td>{% trans with {} from 'profile' %}Час{% endtrans %}</td>
  2511.                                     <td>{% if profile.apartmentsPricing.oneHourPrice %}
  2512.                                             {{ profile.apartmentsPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency }}
  2513.                                         {% else %}-{% endif %}</td>
  2514.                                     <td>{% if profile.takeOutPricing.oneHourPrice %}
  2515.                                             {{ profile.takeOutPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency }}
  2516.                                         {% else %}-{% endif %}</td>
  2517.                                 </tr>
  2518.                                 <tr>
  2519.                                     <td>{% trans with {} from 'profile' %}2 часа{% endtrans %}</td>
  2520.                                     <td>{% if profile.apartmentsPricing.twoHoursPrice %}
  2521.                                             {{ profile.apartmentsPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency }}
  2522.                                         {% else %}-{% endif %}</td>
  2523.                                     <td>{% if profile.takeOutPricing.twoHoursPrice %}
  2524.                                             {{ profile.takeOutPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency }}
  2525.                                         {% else %}-{% endif %}</td>
  2526.                                 </tr>
  2527.                                 <tr>
  2528.                                     <td>{% trans with {} from 'profile' %}Ночь{% endtrans %}</td>
  2529.                                     <td>{% if profile.apartmentsPricing.nightPrice %}
  2530.                                             {{ profile.apartmentsPricing.nightPrice }} {{ profile.city.countryCode|country_currency }}
  2531.                                         {% else %}-{% endif %}</td>
  2532.                                     <td>{% if profile.takeOutPricing.nightPrice %}
  2533.                                             {{ profile.takeOutPricing.nightPrice }} {{ profile.city.countryCode|country_currency }}
  2534.                                         {% else %}-{% endif %}</td>
  2535.                                 </tr>
  2536.                                 <tr>
  2537.                                     <td>{% trans with {} from 'profile' %}Экспресс{% endtrans %} <span>(30мин)</span></td>
  2538.                                     <td colspan=\"2\">{% if profile.expressPricing.provided %}
  2539.                                             {% if profile.expressPricing.price %}
  2540.                                                 {{ profile.expressPricing.price }} {{ profile.city.countryCode|country_currency }}
  2541.                                             {% else %}
  2542.                                                 -
  2543.                                             {% endif %}
  2544.                                         {% else %}
  2545.                                             -
  2546.                                         {% endif %}</td>
  2547.                                 </tr>
  2548.                                 </tbody>
  2549.                             </table>
  2550.                         </div>
  2551.                     </div>
  2552.                 </div>
  2553.                 <div class=\"second-data\">
  2554.                     <ul class=\"basic-info\">
  2555.                         {%- if profile.personParameters.age -%}<li>{{ _self._data_wrapper('Возраст', profile.personParameters.age, 'Возраст' )}}</li>{% endif %}
  2556.                         {%- if profile.personParameters.height -%}<li>{{ _self._data_wrapper('Рост', profile.personParameters.height, 'Рост') }}</li>{% endif %}
  2557.                         {%- if profile.personParameters.weight -%}<li>{{ _self._data_wrapper('Вес', profile.personParameters.weight, 'Вес') }}</li>{% endif %}
  2558.                         {%- if profile.personParameters.clothSize -%}<li>{{ _self._data_wrapper('Размер одежды', profile.personParameters.clothSize, 'Одежда') }}</li>{% endif %}
  2559.                         {%- if profile.personParameters.shoesSize -%}<li>{{ _self._data_wrapper('Размер обуви', profile.personParameters.shoesSize, 'Обувь') }}</li>{% endif %}
  2560.                         {%- if profile.personParameters.breastSize -%}<li>{{ _self._data_wrapper('Размер груди', profile.personParameters.breastSize, 'Грудь') }}</li>{% endif %}
  2561.                     </ul>
  2562.                     <div class=\"wrap\">
  2563.                         <ul class=\"basic-info-link\">
  2564.                             {%- if profile.personParameters.bodyType -%}
  2565.                                 <li class=\"with-link\"><span class=\"name\">Телосложение:</span>
  2566.                                     {%- if profile.personParameters.bodyType|body_type == 'THIN' or profile.personParameters.bodyType|body_type == 'FAT' -%}
  2567.                                         <a target=\"_blank\" href=\"{{ path('profile_list.list_by_body_type', {'city': city.uriIdentity,'bodyType': profile.personParameters.bodyType|body_type|slugify}) }}\" class=\"params-link std-hover-link\">{{ profile.personParameters.bodyType|body_type|trans({}, 'body_types') }}</a>
  2568.                                     {%- else -%}
  2569.                                         {{ profile.personParameters.bodyType|body_type|trans({}, 'body_types') }}
  2570.                                     {%- endif -%}
  2571.                                 </li>
  2572.                             {%- endif -%}
  2573.                             {%- if profile.personParameters.hairColor %}<li class=\"with-link\"><span class=\"name\">Цвет волос:</span><a target=\"_blank\" href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color|slugify}) }}\" class=\"params-link std-hover-link\">{{ profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors') }}</a></li>{% endif %}
  2574.                             {%- if profile.personParameters.nationality %}<li class=\"with-link\"><span class=\"name\">Национальность:</span><a target=\"_blank\" href=\"{{ path('profile_list.list_by_nationality', {'city': city.uriIdentity,'nationality': profile.personParameters.nationality|nationality|slugify}) }}\" class=\"params-link std-hover-link\">{{ profile.personParameters.nationality|nationality|trans({}, 'nationalities') }}</a></li>{% endif %}
  2575.                             {%- if profile.personParameters.privateHaircut %}<li class=\"with-link\"><span class=\"name\">Интимная стрижка:</span>{{ profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') }}</li>{% endif %}
  2576.                         </ul>
  2577.                         <ul class=\"extend-info\">
  2578.                             {%- if profile.createdAt -%}
  2579.                                 <li>{{ _self._data_wrapper('Дата регистрации', profile.createdAt|date(\"d\") ~ ' ' ~ profile.createdAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.createdAt|date(\"Y\") ~ ' ' ~ profile.createdAt|date(\"H:i\") ) }}</li>
  2580.                             {%- endif -%}
  2581.                             {%- set threshold = (\"now\"|date_modify(\"-14 days\")).getTimestamp() -%}
  2582.                             {%- set updatedAtTs = profile.updatedAt ? profile.updatedAt.getTimestamp() : '' -%}
  2583.                             {%- if updatedAtTs and updatedAtTs >= threshold -%}
  2584.                                 <li>{{ _self._data_wrapper('Дата обновления', profile.updatedAt|date(\"d\") ~ ' ' ~ profile.updatedAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.updatedAt|date(\"Y\") ~ ' ' ~ profile.updatedAt|date(\"H:i\") ) }}</li>
  2585.                             {% endif %}
  2586.                             <li>{{ _self._data_wrapper('ID анкеты', profile.id) }}</li>
  2587.                         </ul>
  2588.                     </div>
  2589.                 </div>
  2590.             </section>
  2591.             {%- if _self._show_tabs(profile.photos,profile.selfies,profile.confirmedVideos) == 'true' and not profile.deleted -%}
  2592.                 <section class=\"tabs tabs-media\">
  2593.                     <div class=\"tabs-block\" id=\"media-tabs\">
  2594.                         <div class=\"tab-header d-flex\">
  2595.                             {%- set currentPage = '' -%}
  2596.                             {%- if profile.photos is defined and profile.photos|length > 0 %}{% set currentPage = 'photo' %}<button type=\"button\" class=\"btn d-flex photo active\" data-toggle=\"photo\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  2597.                                     <path d=\"M20 5H16.83L15.59 3.65C15.4036 3.44539 15.1767 3.28191 14.9235 3.16999C14.6704 3.05807 14.3968 3.00017 14.12 3H9.88C9.32 3 8.78 3.24 8.4 3.65L7.17 5H4C2.9 5 2 5.9 2 7V19C2 20.1 2.9 21 4 21H20C21.1 21 22 20.1 22 19V7C22 5.9 21.1 5 20 5ZM12 18C9.24 18 7 15.76 7 13C7 10.24 9.24 8 12 8C14.76 8 17 10.24 17 13C17 15.76 14.76 18 12 18Z\"/>
  2598.                                 </svg>
  2599.                                 <span>Фото</span></button>
  2600.                             {%- endif -%}
  2601.                             {%- if profile.selfies is defined and profile.selfies|length > 0 %}{% set currentPage = currentPage == '' ? 'selfie' : currentPage %}<button type=\"button\" class=\"btn d-flex selfie{% if currentPage == 'selfie' %} active{% endif %}\" data-toggle=\"selfie\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  2602.                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.34918 2L16.6415 2.00909C17.6637 2.00909 18.5 2.81818 18.5 3.81818V20.1818C18.5 21.1818 17.6637 22 16.6415 22H7.34918C6.32702 22 5.5 21.1818 5.5 20.1818V3.81818C5.5 2.81818 6.32702 2 7.34918 2ZM13.8 5.33642C13.8 5.84874 14.2033 6.26469 14.7001 6.26469C15.1968 6.26469 15.6001 5.84874 15.6001 5.33642C15.6001 4.82393 15.1968 4.40799 14.7001 4.40799C14.2033 4.40799 13.8 4.82393 13.8 5.33642ZM7.5 17.408C8.18084 16.8212 9.90234 16.3214 12.0001 16.3214C13.991 16.3214 15.7158 16.7717 16.5 17.3192V14.5352C15.3825 14.0049 13.8149 13.6912 12.0001 13.6912C10.1852 13.6912 8.61754 14.0049 7.5 14.5352V17.408ZM11.9859 12.7629C10.4973 12.7629 9.28594 11.5133 9.28594 9.97791C9.28594 8.44248 10.4973 7.19295 11.9859 7.19295C13.4745 7.19295 14.6859 8.44248 14.6859 9.97791C14.6859 11.5133 13.4745 12.7629 11.9859 12.7629Z\"/>
  2603.                                 </svg>
  2604.                                 <span>Селфи</span></button>
  2605.                             {%- endif -%}
  2606.                             {%- if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}{% set currentPage = currentPage == '' ? 'video' : currentPage %}<button type=\"button\" class=\"btn d-flex video{% if currentPage == 'video' %} active{% endif %}\" data-toggle=\"video\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  2607.                                     <path d=\"M22 17.7143V6.28571C22 5.02857 20.9412 4 19.6471 4H4.35294C3.05882 4 2 5.02857 2 6.28571V17.7143C2 18.9714 3.05882 20 4.35294 20H19.6471C20.9412 20 22 18.9714 22 17.7143ZM9.05882 16.5714V7.42857L16.1176 12L9.05882 16.5714Z\"/>
  2608.                                 </svg>
  2609.                                 <span>Видео</span></button>
  2610.                             {%- endif -%}
  2611.                         </div>
  2612.                         <div class=\"tab-content loading\">
  2613.                             {% set photoIndex = 0 %}
  2614.                             {% if profile.photos is defined and profile.photos|length > 0 %}
  2615.                                 <div class=\"tab photo active\" data-id=\"photo\">
  2616.                                     <div class=\"photo-list\" id=\"photos-preview\">
  2617.                                         {% for photo in profile.photos %}
  2618.                                             {%- if photo.path -%}
  2619.                                             <div class=\"list-element\">
  2620.                                                 <a href=\"{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}\" data-gallery=\"girl-gallery\" class=\"photoswipe\" data-index=\"{{loop.index0}}\">
  2621.                                                     <img
  2622.                                                             srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
  2623.                                                         {{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
  2624.                                                         {{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
  2625.                                                         {{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
  2626.                                                             sizes=\"(max-width: 660px) 196px,
  2627.                                                         (max-width: 980px) 177px,
  2628.                                                         (max-width: 1125px) 228px,
  2629.                                                         260px\"
  2630.                                                             src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
  2631.                                                             alt=\"
  2632.                                                                 {%- if loop.index <= altTemplates|length -%}
  2633.                                                                     {{ altTemplates[photoIndex] -}}
  2634.                                                                 {%- else -%}
  2635.                                                                     проститутка {{ profile.name|trans }}, анкета ID{{ profile.id }}, фото{{ photoIndex - 5 -}}
  2636.                                                                 {%- endif %}\"
  2637.                                                             loading=\"lazy\">
  2638.                                                 </a>
  2639.                                             </div>
  2640.                                             {% set photoIndex = loop.index %}
  2641.                                             {%- endif %}
  2642.                                         {% endfor %}
  2643.                                     </div>
  2644.                                 </div>
  2645.                             {% endif %}
  2646.                             {% if profile.selfies is defined and profile.selfies|length > 0 %}
  2647.                                 <div class=\"tab selfie{% if currentPage == 'selfie' %} active{% endif %}\" data-id=\"selfie\">
  2648.                                     <div class=\"photos-block\">
  2649.                                         <div class=\"photo-list d-flex flex-wrap\" id=\"selfie-preview\">
  2650.                                             {% for photo in profile.selfies %}
  2651.                                                 {%- if photo.path -%}
  2652.                                                     {% set photoIndex = loop.index0 + profile.photos|length %}
  2653.                                                     <div class=\"colorbox-photo-a-cont\">
  2654.                                                         <a href=\"{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}\" data-gallery=\"girl-selfie\" class=\"photoswipe\" data-index=\"{{loop.index0}}\">
  2655.                                                             <img
  2656.                                                                     srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
  2657.                                                                 {{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
  2658.                                                                 {{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
  2659.                                                                 {{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
  2660.                                                                     sizes=\"(max-width: 660px) 196px,
  2661.                                                                 (max-width: 980px) 177px,
  2662.                                                                 (max-width: 1125px) 228px,
  2663.                                                                 260px\"
  2664.                                                                     src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
  2665.                                                                 alt=\"
  2666.                                                                     {%- if loop.index + profile.photos|length <= altTemplates|length -%}
  2667.                                                                         {{ altTemplates[photoIndex] -}}
  2668.                                                                     {%- else -%}
  2669.                                                                         проститутка {{ profile.name|trans }}, анкета ID{{ profile.id }}, фото{{ photoIndex - 5 -}}
  2670.                                                                     {%- endif %}\"
  2671.                                                                 loading=\"lazy\">
  2672.                                                         </a>
  2673.                                                     </div>
  2674.                                                 {%- endif %}
  2675.                                             {% endfor %}
  2676.                                         </div>
  2677.                                     </div>
  2678.                                 </div>
  2679.                             {% endif %}
  2680.                             {% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
  2681.                                 <div class=\"tab video{% if currentPage == 'video' %} active{% endif %}\" data-id=\"video\">
  2682.                                     <div class=\"videos-block\">
  2683.                                         <div class=\"video-list d-flex flex-wrap\">
  2684.                                             {% for video in profile.confirmedVideos %}
  2685.                                                 <div>
  2686.                                                     <video class=\"video-js vjs-big-play-centered vjs-default-skin\" controls=\"controls\" preload=\"metadata\" data-setup=\"{}\">
  2687.                                                         <source src=\"{{ asset(video.path, 'profile_media') }}#t=0.5\" type='video/mp4'/>
  2688.                                                     </video>
  2689.                                                 </div>
  2690.                                             {% endfor %}
  2691.                                         </div>
  2692.                                     </div>
  2693.                                 </div>
  2694.                             {% endif %}
  2695.                         </div>
  2696.                     </div>
  2697.                 </section>
  2698.             {% endif %}
  2699.             <section class=\"about\">
  2700.                 <h2 class=\"border-line\"><svg class=\"icon mr-2\">
  2701.                         <use xlink:href=\"#icon-about\"></use>
  2702.                     </svg>{% trans with {} from 'profile' %}О себе{% endtrans %}</h2>
  2703.                 <noindex><p>{{ profile.description }}</p></noindex>
  2704.             </section>
  2705.             <section class=\"services\">
  2706.                 <h2 class=\"border-line\"><svg class=\"icon mr-2\">
  2707.                         <use xlink:href=\"#icon-services\"></use>
  2708.                     </svg>{% trans with {} from 'profile' %}Предпочтения{% endtrans %}</h2>
  2709.                 <div class=\"services-info d-flex flex-wrap\">
  2710.                     <div class=\"header-item mr-3\">
  2711.                         <svg class=\"icon mr-1\">
  2712.                             <use xlink:href=\"#icon-model-included\"></use>
  2713.                         </svg>
  2714.                         - включено в стоимость
  2715.                     </div>
  2716.                     <div class=\"header-item mr-3\">
  2717.                         <svg class=\"icon mr-1\">
  2718.                             <use xlink:href=\"#icon-model-liking\"></use>
  2719.                         </svg>
  2720.                         - по симпатии
  2721.                     </div>
  2722.                     <div class=\"header-item mr-3\">
  2723.                         <svg class=\"icon mr-1\">
  2724.                             <use xlink:href=\"#icon-model-charge\"></use>
  2725.                         </svg>
  2726.                         - за дополнительную плату
  2727.                     </div>
  2728.                     <div class=\"header-item provided\">
  2729.                         <svg class=\"icon mr-1\">
  2730.                             <use xlink:href=\"#icon-model-provided\"></use>
  2731.                         </svg>
  2732.                         - услуга не предоставляется
  2733.                     </div>
  2734.                 </div>
  2735.                 <div class=\"model-services__main\">
  2736.                     <div class=\"model-services__items left w-100\">
  2737.                         {% set initional_group_2 = 0 %}
  2738.                         {% set group_2_minet = [] %}
  2739.                         {% set group_2_okon = [] %}
  2740.                         {% set group_2_okon_trigger = ['Окончание на грудь','Окончание на лицо','Окончание в рот'] %} {# Слова триггеры в 2 категории для блока Окончание. Все остальные уйдут в минет #}
  2741.                         {% for group, servicesGroup in services | filter((servicesGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) %}
  2742.                             {% if group == 2 %}
  2743.                                 {# Тут нам нужно запомнить данные и разбить их на 2 категории - Минет и Окончание#}
  2744.                                 {% for service in servicesGroup %}
  2745.                                     {% if service.name == group_2_okon_trigger[0] or service.name == group_2_okon_trigger[1] or service.name == group_2_okon_trigger[2]  %}
  2746.                                         {% set group_2_okon = group_2_okon|merge([service]) %}
  2747.                                     {% else %}
  2748.                                         {% set group_2_minet = group_2_minet|merge([service]) %}
  2749.                                     {% endif %}
  2750.                                 {% endfor %}
  2751.                             {% elseif group == 3 and initional_group_2 == 0 %}
  2752.                                 {# Т.к. выводить сразу не можем в виду перемешенного вывода, будем выводить 2ю категории перед третьей #}
  2753.                                 {% set initional_group_2 = 1 %}
  2754.                                 <div class=\"model-services__item\">
  2755.                                     <p class=\"item-title\"><span>Минет</span></p>
  2756.                                     {% for service in group_2_minet %}
  2757.                                         {% set providedService = profile.providedService(service) %}
  2758.                                         <p class=\"item{% if not providedService %} provided{% endif %}\">
  2759.                                             {% if providedService %}
  2760.                                                 {% if providedService.condition == 1 %}
  2761.                                                     <svg class=\"icon mr-1\">
  2762.                                                         <use xlink:href=\"#icon-model-included\"></use>
  2763.                                                     </svg>
  2764.                                                 {% elseif providedService.condition == 2 %}
  2765.                                                     <svg class=\"icon mr-1\">
  2766.                                                         <use xlink:href=\"#icon-model-liking\"></use>
  2767.                                                     </svg>
  2768.                                                 {% elseif providedService.condition == 3 %}
  2769.                                                     <svg class=\"icon mr-1\">
  2770.                                                         <use xlink:href=\"#icon-model-charge\"></use>
  2771.                                                     </svg>
  2772.                                                 {% endif %}
  2773.                                             {% else %}
  2774.                                                 <svg class=\"icon mr-1\">
  2775.                                                     <use xlink:href=\"#icon-model-provided\"></use>
  2776.                                                 </svg>
  2777.                                             {% endif %}
  2778.                                             <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
  2779.                                                 {{ service.name|trans }}
  2780.                                             </a>
  2781.                                             {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>+{{ providedService.extraCharge }} {{ currencyFront }}</span>{% endif %}
  2782.                                         </p>
  2783.                                     {% endfor %}
  2784.                                 </div>
  2785.                                 <div class=\"model-services__item\">
  2786.                                     <p class=\"item-title\"><span>Окончание</span></p>
  2787.                                     {% for service in group_2_okon %}
  2788.                                         {% set providedService = profile.providedService(service) %}
  2789.                                         <p class=\"item{% if not providedService %} provided{% endif %}\">
  2790.                                             {% if providedService %}
  2791.                                                 {% if providedService.condition == 1 %}
  2792.                                                     <svg class=\"icon mr-1\">
  2793.                                                         <use xlink:href=\"#icon-model-included\"></use>
  2794.                                                     </svg>
  2795.                                                 {% elseif providedService.condition == 2 %}
  2796.                                                     <svg class=\"icon mr-1\">
  2797.                                                         <use xlink:href=\"#icon-model-liking\"></use>
  2798.                                                     </svg>
  2799.                                                 {% elseif providedService.condition == 3 %}
  2800.                                                     <svg class=\"icon mr-1\">
  2801.                                                         <use xlink:href=\"#icon-model-charge\"></use>
  2802.                                                     </svg>
  2803.                                                 {% endif %}
  2804.                                             {% else %}
  2805.                                                 <svg class=\"icon mr-1\">
  2806.                                                     <use xlink:href=\"#icon-model-provided\"></use>
  2807.                                                 </svg>
  2808.                                             {% endif %}
  2809.                                             <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
  2810.                                                 {{ service.name|trans }}
  2811.                                             </a>
  2812.                                             {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>+{{ providedService.extraCharge }} {{ currencyFront }}</span>{% endif %}
  2813.                                         </p>
  2814.                                     {% endfor %}
  2815.                                 </div>
  2816.                                 <div class=\"model-services__item\">
  2817.                                     <p class=\"item-title\" data-group=\"{{ group }}\"><span>{{ group|service_group|trans({}, 'service_groups') }}</span></p>
  2818.                                     {% for service in servicesGroup %}
  2819.                                         {% set providedService = profile.providedService(service) %}
  2820.                                         <p class=\"item{% if not providedService %} provided{% endif %}\">
  2821.                                             {% if providedService %}
  2822.                                                 {% if providedService.condition == 1 %}
  2823.                                                     <svg class=\"icon mr-1\">
  2824.                                                         <use xlink:href=\"#icon-model-included\"></use>
  2825.                                                     </svg>
  2826.                                                 {% elseif providedService.condition == 2 %}
  2827.                                                     <svg class=\"icon mr-1\">
  2828.                                                         <use xlink:href=\"#icon-model-liking\"></use>
  2829.                                                     </svg>
  2830.                                                 {% elseif providedService.condition == 3 %}
  2831.                                                     <svg class=\"icon mr-1\">
  2832.                                                         <use xlink:href=\"#icon-model-charge\"></use>
  2833.                                                     </svg>
  2834.                                                 {% endif %}
  2835.                                             {% else %}
  2836.                                                 <svg class=\"icon mr-1\">
  2837.                                                     <use xlink:href=\"#icon-model-provided\"></use>
  2838.                                                 </svg>
  2839.                                             {% endif %}
  2840.                                             <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
  2841.                                                 {{ service.name|trans }}
  2842.                                             </a>
  2843.                                             {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>+{{ providedService.extraCharge }} {{ currencyFront }}</span>{% endif %}
  2844.                                         </p>
  2845.                                     {% endfor %}
  2846.                                 </div>
  2847.                             {% else %}
  2848.                                 {% if group == 1 or group == 5 or group == 7 %}
  2849.                                     <div class=\"model-services__column\">
  2850.                                 {% endif %}
  2851.                                 <div class=\"model-services__item\">
  2852.                                     <p class=\"item-title\"><span>{{ group|service_group|trans({}, 'service_groups') }}</span></p>
  2853.                                     {% for service in servicesGroup %}
  2854.                                         {% set providedService = profile.providedService(service) %}
  2855.                                         <p class=\"item{% if not providedService %} provided{% endif %}\">
  2856.                                             {% if providedService %}
  2857.                                                 {% if providedService.condition == 1 %}
  2858.                                                     <svg class=\"icon mr-1\">
  2859.                                                         <use xlink:href=\"#icon-model-included\"></use>
  2860.                                                     </svg>
  2861.                                                 {% elseif providedService.condition == 2 %}
  2862.                                                     <svg class=\"icon mr-1\">
  2863.                                                         <use xlink:href=\"#icon-model-liking\"></use>
  2864.                                                     </svg>
  2865.                                                 {% elseif providedService.condition == 3 %}
  2866.                                                     <svg class=\"icon mr-1\">
  2867.                                                         <use xlink:href=\"#icon-model-charge\"></use>
  2868.                                                     </svg>
  2869.                                                 {% endif %}
  2870.                                             {% else %}
  2871.                                                 <svg class=\"icon mr-1\">
  2872.                                                     <use xlink:href=\"#icon-model-provided\"></use>
  2873.                                                 </svg>
  2874.                                             {% endif %}
  2875.                                             <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\">{{ service.name|trans }}</a>
  2876.                                             {% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>+{{ providedService.extraCharge }} {{ currencyFront }}</span>{% endif %}
  2877.                                         </p>
  2878.                                     {% endfor %}
  2879.                                 </div>
  2880.                                 {% if (group == 4 and not profile.masseur) or group == 6 or group == 7 %}
  2881.                                     </div>
  2882.                                 {% endif %}
  2883.                             {% endif %}
  2884.                         {% endfor %}
  2885.                     </div>
  2886.                     <div class=\"services-special d-flex\">
  2887.                         <div class=\"services-special__item mr-3\">
  2888.                             <h3><span>Услуги для:</span></h3>
  2889.                             {% set client_types_text = ['1','2','3','4','5'] %}
  2890.                             {% set includeService = false %}
  2891.                             <div class=\"list\">
  2892.                                 {% for clientTypeText in client_types_text %}
  2893.                                     {% for clientType in profile.clientTypes %}
  2894.                                         {% if (clientTypeText == clientType) %}
  2895.                                             {% set includeService = true %}
  2896.                                         {% endif %}
  2897.                                     {% endfor %}
  2898.                                     {% if clientTypeText|client_type != 'TRANS' %}
  2899.                                     <p class=\"item\">
  2900.                                         {% if includeService == true %}
  2901.                                             <svg class=\"icon mr-1\">
  2902.                                                 <use xlink:href=\"#icon-model-included\"></use>
  2903.                                             </svg>
  2904.                                         {% else %}
  2905.                                             <svg class=\"icon mr-1\">
  2906.                                                 <use xlink:href=\"#icon-model-provided\"></use>
  2907.                                             </svg>
  2908.                                         {% endif %}
  2909.                                         {{ clientTypeText|client_type|trans({}, 'client_types_f') }}
  2910.                                     </p>
  2911.                                         {% endif %}
  2912.                                     {% set includeService = false %}
  2913.                                 {% endfor %}
  2914.                             </div>
  2915.                         </div>
  2916.                         <div class=\"services-special__item\">
  2917.                             <h3><span>Выезд</span></h3>
  2918.                             {% set locations_text = ['1','2','3','4','5','6'] %}
  2919.                             {% set includeService = false %}
  2920.                             <div class=\"list\">
  2921.                                 {% for locationsText in locations_text %}
  2922.                                     {% for locations in profile.takeOutPricing.locations %}
  2923.                                         {% if (locationsText == locations) %}
  2924.                                             {% set includeService = true %}
  2925.                                         {% endif %}
  2926.                                     {% endfor %}
  2927.                                     <p class=\"item\">
  2928.                                         {% if includeService == true %}
  2929.                                             <svg class=\"icon mr-1\">
  2930.                                                 <use xlink:href=\"#icon-model-included\"></use>
  2931.                                             </svg>
  2932.                                         {% else %}
  2933.                                             <svg class=\"icon mr-1\">
  2934.                                                 <use xlink:href=\"#icon-model-provided\"></use>
  2935.                                             </svg>
  2936.                                         {% endif %}
  2937.                                         {{ locationsText|take_out_location|trans({}, 'take_out_location') }}
  2938.                                     </p>
  2939.                                     {% set includeService = false %}
  2940.                                 {% endfor %}
  2941.                             </div>
  2942.                         </div>
  2943.                     </div>
  2944.                 </div>
  2945.             </section>
  2946.         </div>
  2947.         <div class=\"cols-2\">
  2948.             <section class=\"map\">
  2949.                 <h2 class=\"border-line\"><svg class=\"icon mr-2\">
  2950.                         <use xlink:href=\"#icon-profile-map\"></use>
  2951.                     </svg>{% trans with {} from 'profile' %}Расположение{% endtrans %}</h2>
  2952.                 <div class=\"map-block\" id=\"map\" style=\"width: 100%; height: 450px;\"
  2953.                      data-lat=\"{{ profile.mapCoordinate.latitude | default(profile.city.mapCoordinate.latitude) }}\"
  2954.                      data-lon=\"{{ profile.mapCoordinate.longitude | default(profile.city.mapCoordinate.longitude) }}\"
  2955.                      data-map-label=\"{{ asset('assets/images/map-label.svg') }}\">
  2956.                 </div>
  2957.             </section>
  2958.             {% if feature('profile_comments') and not profile.deleted %}
  2959.                 {% set commentsCount = profile.comments|length %}
  2960.                 <section class=\"comments\"
  2961.                     id=\"review-form\"
  2962.                     data-user=\"{{ is_user_customer(app.user) ? 'true' : 'false' }}\"
  2963.                     data-url=\"{{ path('profile.comment.create', {profile: profile.id}) }}\"
  2964.                     data-reg-url=\"{{ path('app_security_register') }}\"
  2965.                     {% if comment_form is defined %}data-entity-id=\"{{ comment_form.entity_id.vars.id }}\"
  2966.                     data-mark=\"{{ comment_form.mark.vars.full_name }}\"
  2967.                     data-text=\"{{ comment_form.text.vars.id }}\"{% endif %}
  2968.                 >
  2969.                     <h2 class=\"border-line\"><svg class=\"icon mr-2\">
  2970.                             <use xlink:href=\"#icon-public-comments\"></use>
  2971.                         </svg>{% trans with {} from 'profile' %}Отзывы{% endtrans %}</h2>
  2972.                     <div class=\"comments-main\">
  2973.                         <div class=\"comments-main_wrap d-flex justify-content-center\">
  2974.                             {% if commentsCount == 0 %}
  2975.                                 <div class=\"not-comments text-center\" id=\"review-block-list\">
  2976.                                     <div  id=\"text-to-remove\">
  2977.                                         <svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  2978.                                             <path d=\"M14 78.7096H23V97L45.9545 78.7096H68C72.9635 78.7096 77 74.6894 77 69.7459V33.8911C77 28.9476 72.9635 24.9274 68 24.9274H14C9.0365 24.9274 5 28.9476 5 33.8911V69.7459C5 74.6894 9.0365 78.7096 14 78.7096Z\" fill=\"#E5E5E5\"/>
  2979.                                             <path d=\"M86 7H32C27.0365 7 23 11.0202 23 15.9637H77C81.9635 15.9637 86 19.9839 86 24.9274V60.7822C90.9635 60.7822 95 56.762 95 51.8185V15.9637C95 11.0202 90.9635 7 86 7Z\" fill=\"#E5E5E5\"/>
  2980.                                         </svg>
  2981.                                         <p>Пока отзывов нет.<br>Оставьте первый отзыв.</p>
  2982.                                     </div>
  2983.                                     <div class=\"comment__elements\" style=\"display: none\">{% include 'ProfilePreview/comment-empty.html.twig' %}</div>
  2984.                                 </div>
  2985.                             {% else %}
  2986.                                 <div class=\"comments overflow-hidden\" id=\"review-block-list\">
  2987.                                     <div class=\"comment__elements\">
  2988.                                         {% for comment in profile.comments %}
  2989.                                             {% include 'ProfilePreview/comment.html.twig' %}
  2990.                                         {% endfor %}
  2991.                                     </div>
  2992.                                 </div>
  2993.                             {% endif %}
  2994.                         </div>
  2995.                         {% if not is_user_advertiser(app.user) %}
  2996.                             {# {% include 'ProfilePreview/form-comment.html.twig' %} #}
  2997.                                 <div class=\"review-form\" id=\"review-form-comment\">
  2998.                                     {# {% include 'ProfilePreview/form-comment.html.twig' %} #}
  2999.                                 </div>
  3000.                                 <div
  3001.                                         class=\"dialog-container\"
  3002.                                         id=\"form-dialog\"
  3003.                                         aria-hidden=\"true\"
  3004.                                         aria-labelledby=\"form-dialog-title\"
  3005.                                         aria-describedby=\"form-dialog-description\"
  3006.                                     >
  3007.                                     <div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
  3008.                                     <div class=\"dialog-content\" role=\"document\">
  3009.                                         <div class=\"dialog-header\">
  3010.                                         <button
  3011.                                             data-a11y-dialog-hide
  3012.                                             class=\"dialog-close\"
  3013.                                             aria-label=\"Close this dialog window\"
  3014.                                         >
  3015.                                             <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>
  3016.                                         </button>
  3017.                                         </div>
  3018.                                         <div class=\"dialog-body\">
  3019.                                         </div>
  3020.                                     </div>
  3021.                                 </div>
  3022.                         {% endif %}
  3023.                     </div>
  3024.                 </section>
  3025.             {% endif %}
  3026.         </div>
  3027.     </div>
  3028.     {% set excludeRecommendationProfileIds = [profile.id] %}
  3029.     {{ include('components/_profile_recommendations.html.twig') }}
  3030.     {{ include('ProfilePreview/nearest_profiles.html.twig') }}
  3031. {% endblock %}
  3032. {% block mobile_phone %}{%- include 'ProfilePreview/components/profile-phone-mobile.partial.twig' with {} -%}{% endblock %}
  3033. {% block javascripts %}
  3034.     <script>
  3035.         window.comment_data = {
  3036.             'urlCreate': '{{ path('profile.comment.create', {profile: profile.id}) }}',
  3037.             'urlGet': '{{ path('profile.comment.comment_form', {profile: profile.id}) }}',
  3038.             'sitekey': \"{{ ewz_recaptcha_site_key }}\",
  3039.             'registrationUrl': \"{{ path('register', {'city': city.uriIdentity}) }}\"
  3040.         };
  3041.         window._lD = {
  3042.             setLastViewedListing: '{{ app.request.attributes.get('_route') }}',
  3043.             cityUrl: \"{{city.uriIdentity}}\",
  3044.         };
  3045. \t\twindow._strl = {
  3046. \t\t\tstations: {
  3047. \t\t\t\t{%- for station in stations() -%}
  3048. \t\t\t\t\t\"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
  3049. \t\t\t\t{%- endfor -%}
  3050. \t\t\t}
  3051. \t\t};
  3052.     </script>
  3053.     <script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  3054.     {% set excludeRecommendationProfileIds = [profile.id] %}
  3055.     {{ encore_entry_script_tags('scripts/index', null, 'basicConfig') }}
  3056.     {{ parent() }}
  3057.     {% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
  3058.         <script src=\"https://cdn.jsdelivr.net/npm/video.js@8.23.7/dist/video.min.js\"></script>
  3059.         <link href=\"https://cdn.jsdelivr.net/npm/video.js@8.23.7/dist/video-js.min.css\" rel=\"stylesheet\">
  3060.     {% endif %}
  3061.     <script type=\"text/javascript\">
  3062.         if ((window.navigator.userAgent.indexOf('iPhone') !== -1) || (window.navigator.userAgent.indexOf('iPod') !== -1)){
  3063.             const video = document.querySelector('.video-js');
  3064.             video.setAttribute('autoplay', true);
  3065.         }
  3066.     </script>
  3067.     <script>
  3068.         (function() {
  3069.             let isRenderRecommendationsWidget = false;
  3070.             let isRenderBotWidget = false;
  3071.             let isRenderRecentlyViewedWidget = false;
  3072.             function loadWidgets() {
  3073.                 if (!isRenderRecommendationsWidget) {
  3074.                     isRenderRecommendationsWidget = true;
  3075.                     window.Recommendations.addViewedProfile({{ profile.id }})
  3076.                 }
  3077.                 if (!isRenderBotWidget) {
  3078.                     isRenderBotWidget = true;
  3079.                     window.profileBotHelper.addViewedProfile({{ profile.id }});
  3080.                 }
  3081.                 if (!isRenderRecentlyViewedWidget) {
  3082.                     isRenderRecentlyViewedWidget = true;
  3083.                     window.recentlyViewed.addViewedProfile({{ profile.id }});
  3084.                 }
  3085.                 //const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
  3086.             }
  3087.             document.addEventListener('DOMContentLoaded', function() {
  3088.                 try {
  3089.                     loadWidgets();
  3090.                 } catch (error) {
  3091.                     console.error(error);
  3092.                 }
  3093.             });
  3094.             document.addEventListener(\"recommendations:ready\", function() {
  3095.                 try {
  3096.                     loadWidgets();
  3097.                 } catch (error) {
  3098.                     console.error(error);
  3099.                 }
  3100.             });
  3101.         })();
  3102.         document.addEventListener('DOMContentLoaded', function() {
  3103.             window.increase_views({{profile.id}});
  3104.         });
  3105. \t</script>
  3106. {% endblock %}""ProfilePreview/page.html.twig""/app/templates/ProfilePreview/page.html.twig");
  3107.     }
  3108. }