var/cache/review/twig/25/254ddaa24666a5addc517ae07d01d175.php line 224

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* ProfileList/profile.html.twig */
  14. class __TwigTemplate_3e80a6e99d20c70f0d8dba3b50cea865 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  30.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/profile.html.twig"));
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/profile.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/profile.html.twig"));
  35.         // line 1
  36.         $macros["price_helpers"] = $this->macros["price_helpers"] = $this->loadTemplate("_macros/price_helpers.html.twig""ProfileList/profile.html.twig"1)->unwrap();
  37.         // line 2
  38.         echo "
  39.     ";
  40.         // line 3
  41.         $context["profile"] = ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "profile", [], "any"truetruefalse3)) ? (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.'3$this->source); })()), "profile", [], "any"falsefalsefalse3)) : ((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'3$this->source); })())));
  42.         // line 4
  43.         echo "    ";
  44.         $context["services"] = 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.'4$this->source); })()), "providedServices", [], "any"falsefalsefalse4);
  45.         // line 5
  46.         $context["agePlural"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%age% лет", ["lastnum" => twig_last($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.'5$this->source); })()), "personParameters", [], "any"falsefalsefalse5), "age", [], "any"falsefalsefalse5))]);
  47.         // line 6
  48.         $context["ageText"] = (((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.'6$this->source); })()), "personParameters", [], "any"falsefalsefalse6), "age", [], "any"falsefalsefalse6) . " ") . (isset($context["agePlural"]) || array_key_exists("agePlural"$context) ? $context["agePlural"] : (function () { throw new RuntimeError('Variable "agePlural" does not exist.'6$this->source); })())) . ", ");
  49.         // line 7
  50.         $context["cityText"] = "";
  51.         // line 9
  52.         if ((array_key_exists("city"$context) && ((isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'9$this->source); })()) != $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()))) {
  53.             // line 10
  54.             $context["cityText"] = (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.'10$this->source); })()), "city", [], "any"falsefalsefalse10), "name", [], "any"falsefalsefalse10) . ", ");
  55.         }
  56.         // line 14
  57.         $context["isSelfies"] = ((is_iterable(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.'14$this->source); })()), "selfies", [], "any"falsefalsefalse14))) ? ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'14$this->source); })()), "selfies", [], "any"falsefalsefalse14)) > 0)) : (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.'14$this->source); })()), "selfies", [], "any"falsefalsefalse14)));
  58.         // line 15
  59.         $context["isVideos"] = ((is_iterable(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.'15$this->source); })()), "videos", [], "any"falsefalsefalse15))) ? ((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.'15$this->source); })()), "videos", [], "any"falsefalsefalse15)) > 0)) : (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.'15$this->source); })()), "videos", [], "any"falsefalsefalse15)));
  60.         // line 16
  61.         $context["isComments"] = ((is_iterable(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.'16$this->source); })()), "comments", [], "any"falsefalsefalse16))) ? ((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.'16$this->source); })()), "comments", [], "any"falsefalsefalse16)) > 0)) : (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.'16$this->source); })()), "comments", [], "any"falsefalsefalse16)));
  62.         // line 18
  63.         if (twig_in_filter("profile_list.list_by_station"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'18$this->source); })()), "request", [], "any"falsefalsefalse18), "get", ["_route"], "method"falsefalsefalse18))) {
  64.             // line 19
  65.             $context["station"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'19$this->source); })()), "request", [], "any"falsefalsefalse19), "attributes", [], "any"falsefalsefalse19), "get", ["station"], "method"falsefalsefalse19);
  66.         } else {
  67.             // line 21
  68.             $context["station"] = twig_first($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'21$this->source); })()), "stations", [], "any"falsefalsefalse21));
  69.         }
  70.         // line 24
  71.         $context["firstStation"] = "";
  72.         // line 25
  73.         $context["metroText"] = "";
  74.         // line 26
  75.         echo "    ";
  76.         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.'26$this->source); })()), "stations", [], "any"falsefalsefalse26)) > 0)) {
  77.             // line 27
  78.             $context["metroText"] = (( !(null === (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'27$this->source); })()))) ? ((((("метро " twig_get_attribute($this->env$this->source, (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'27$this->source); })()), "name", [], "any"falsefalsefalse27)) . " в ") . $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection(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); })()), "city", [], "any"falsefalsefalse27), "name", [], "any"falsefalsefalse27), "дательный")) . ", ")) : (""));
  79.         }
  80.         // line 30
  81.         $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.'30$this->source); })()), "id", [], "any"falsefalsefalse30);
  82.         // line 31
  83.         $context["serviceNameList"] = [];
  84.         // line 32
  85.         $context['_parent'] = $context;
  86.         $context['_seq'] = twig_ensure_traversable((isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'32$this->source); })()));
  87.         foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  88.             // line 34
  89.             echo "    ";
  90.         }
  91.         $_parent $context['_parent'];
  92.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  93.         $context array_intersect_key($context$_parent) + $_parent;
  94.         // line 35
  95.         $context["service1"] = null;
  96.         // line 36
  97.         $context["service2"] = null;
  98.         // line 37
  99.         if ( !twig_test_empty((isset($context["serviceNameList"]) || array_key_exists("serviceNameList"$context) ? $context["serviceNameList"] : (function () { throw new RuntimeError('Variable "serviceNameList" does not exist.'37$this->source); })()))) {
  100.             // line 38
  101.             $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.'38$this->source); })()), (isset($context["morpID"]) || array_key_exists("morpID"$context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.'38$this->source); })())) . ", ");
  102.             // line 39
  103.             $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.'39$this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID"$context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.'39$this->source); })()) + 105)) . ", ");
  104.             // line 41
  105.             if (((isset($context["service1"]) || array_key_exists("service1"$context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.'41$this->source); })()) == (isset($context["service2"]) || array_key_exists("service2"$context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.'41$this->source); })()))) {
  106.                 // line 42
  107.                 $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.'42$this->source); })()), ((isset($context["morpID"]) || array_key_exists("morpID"$context) ? $context["morpID"] : (function () { throw new RuntimeError('Variable "morpID" does not exist.'42$this->source); })()) + 104)) . ", ");
  108.                 // line 44
  109.                 if (((isset($context["service1"]) || array_key_exists("service1"$context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.'44$this->source); })()) == (isset($context["service2"]) || array_key_exists("service2"$context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.'44$this->source); })()))) {
  110.                     // line 45
  111.                     $context["service2"] = null;
  112.                 }
  113.                 // line 47
  114.                 echo "        ";
  115.             }
  116.             // line 48
  117.             echo "    ";
  118.         }
  119.         // line 49
  120.         echo "
  121.     ";
  122.         // line 52
  123.         echo "    ";
  124.         $context["isProfileVip"] = false;
  125.         // line 53
  126.         echo "    ";
  127.         $context["isProfileUltraVip"] = false;
  128.         // line 54
  129.         echo "
  130.     ";
  131.         // line 55
  132.         if ( !(isset($context["isProfileTop"]) || array_key_exists("isProfileTop"$context) ? $context["isProfileTop"] : (function () { throw new RuntimeError('Variable "isProfileTop" does not exist.'55$this->source); })())) {
  133.             // line 56
  134.             echo "        ";
  135.             $context["isProfileVip"] = ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "isVip", [], "any"truetruefalse56)) ? (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.'56$this->source); })()), "isVip", [], "any"falsefalsefalse56)) : ((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.'56$this->source); })()), "adBoardPlacement", [], "any"falsefalsefalse56) && 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.'56$this->source); })()), "adBoardPlacement", [], "any"falsefalsefalse56), "type", [], "any"falsefalsefalse56), "isVip", [], "any"falsefalsefalse56))));
  136.             // line 57
  137.             echo "        ";
  138.             $context["isProfileUltraVip"] = ((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "isUltraVip", [], "any"truetruefalse57)) ? (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.'57$this->source); })()), "isUltraVip", [], "any"falsefalsefalse57)) : ((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.'57$this->source); })()), "adBoardPlacement", [], "any"falsefalsefalse57) && 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.'57$this->source); })()), "adBoardPlacement", [], "any"falsefalsefalse57), "type", [], "any"falsefalsefalse57), "isUltraVip", [], "any"falsefalsefalse57))));
  139.             // line 58
  140.             echo "    ";
  141.         }
  142.         // line 59
  143.         echo "
  144.     ";
  145.         // line 60
  146.         $context["labelHtml"] = ((        // line 61
  147. (isset($context["isProfileTop"]) || array_key_exists("isProfileTop"$context) ? $context["isProfileTop"] : (function () { throw new RuntimeError('Variable "isProfileTop" does not exist.'61$this->source); })())) ? ("<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-top\"></use></svg></div>") : (((        // line 63
  148. (isset($context["isProfileUltraVip"]) || array_key_exists("isProfileUltraVip"$context) ? $context["isProfileUltraVip"] : (function () { throw new RuntimeError('Variable "isProfileUltraVip" does not exist.'63$this->source); })())) ? ("<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-ultravip\"></use></svg></div>") : (((        // line 64
  149. (isset($context["isProfileVip"]) || array_key_exists("isProfileVip"$context) ? $context["isProfileVip"] : (function () { throw new RuntimeError('Variable "isProfileVip" does not exist.'64$this->source); })())) ? ("<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-vip\"></use></svg></div>") : (""))))));
  150.         // line 67
  151.         echo "
  152.     <div class=\"profiles-item-col\"
  153.         data-ultra=\"";
  154.         // line 69
  155.         (((array_key_exists("isProfileUltraVip"$context) &&  !(null === (isset($context["isProfileUltraVip"]) || array_key_exists("isProfileUltraVip"$context) ? $context["isProfileUltraVip"] : (function () { throw new RuntimeError('Variable "isProfileUltraVip" does not exist.'69$this->source); })())))) ? (print (twig_escape_filter($this->env, (isset($context["isProfileUltraVip"]) || array_key_exists("isProfileUltraVip"$context) ? $context["isProfileUltraVip"] : (function () { throw new RuntimeError('Variable "isProfileUltraVip" does not exist.'69$this->source); })()), "html"nulltrue))) : (print (null)));
  156.         echo "\"
  157.         data-vip=\"";
  158.         // line 70
  159.         (((array_key_exists("isProfileVip"$context) &&  !(null === (isset($context["isProfileVip"]) || array_key_exists("isProfileVip"$context) ? $context["isProfileVip"] : (function () { throw new RuntimeError('Variable "isProfileVip" does not exist.'70$this->source); })())))) ? (print (twig_escape_filter($this->env, (isset($context["isProfileVip"]) || array_key_exists("isProfileVip"$context) ? $context["isProfileVip"] : (function () { throw new RuntimeError('Variable "isProfileVip" does not exist.'70$this->source); })()), "html"nulltrue))) : (print (null)));
  160.         echo "\"
  161.         data-standart=\"";
  162.         // line 71
  163.         (((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "isStandard", [], "any"truetruefalse71) &&  !(null === twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "isStandard", [], "any"falsefalsefalse71)))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "isStandard", [], "any"falsefalsefalse71), "html"nulltrue))) : (print (null)));
  164.         echo "\"
  165.         data-active=\"";
  166.         // line 72
  167.         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.'72$this->source); })()), "active", [], "any"falsefalsefalse72), "html"nulltrue);
  168.         echo "\"
  169.         data-hidden=\"";
  170.         // line 73
  171.         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.'73$this->source); })()), "hidden", [], "any"falsefalsefalse73), "html"nulltrue);
  172.         echo "\"
  173.         data-approved=\"";
  174.         // line 74
  175.         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.'74$this->source); })()), "isApproved", [], "any"falsefalsefalse74), "html"nulltrue);
  176.         echo "\"
  177.         data-profile-id=\"";
  178.         // line 75
  179.         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.'75$this->source); })()), "id", [], "any"falsefalsefalse75), "html"nulltrue);
  180.         echo "\">
  181.         <div class=\"profiles-item\">
  182.             ";
  183.         // line 77
  184.         echo (isset($context["labelHtml"]) || array_key_exists("labelHtml"$context) ? $context["labelHtml"] : (function () { throw new RuntimeError('Variable "labelHtml" does not exist.'77$this->source); })());
  185.         echo "
  186.             <div class=\"profiles-item__content d-flex\">
  187.                 ";
  188.         // line 79
  189.         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.'79$this->source); })()), "isApproved", [], "any"falsefalsefalse79)) {
  190.             // line 80
  191.             echo "                    <div class=\"profiles-item__verify\" title=\"Фото проверено\">
  192.                         <svg class=\"icon\">
  193.                             <use xlink:href=\"#icon-models-list-verify\"></use>
  194.                         </svg>
  195.                     </div>
  196.                 ";
  197.         }
  198.         // line 86
  199.         echo "                <a href=\"";
  200.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_preview.page", ["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.'86$this->source); })()), "city", [], "any"falsefalsefalse86), "uriIdentity", [], "any"falsefalsefalse86), "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.'86$this->source); })()), "uriIdentity", [], "any"falsefalsefalse86)]), "html"nulltrue);
  201.         echo "\" class=\"profiles-item__images d-block\" target=\"_blank\">
  202.                     ";
  203.         // line 87
  204.         $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.'87$this->source); })()));
  205.         // line 88
  206.         echo "                    ";
  207.         if (((isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'88$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'88$this->source); })()), "path", [], "any"falsefalsefalse88))) {
  208.             // line 89
  209.             echo "                        ";
  210.             $context["alt"] = ((((((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'89$this->source); })()), "name", [], "any"falsefalsefalse89)) . ", ") . (isset($context["ageText"]) || array_key_exists("ageText"$context) ? $context["ageText"] : (function () { throw new RuntimeError('Variable "ageText" does not exist.'89$this->source); })())) . (isset($context["cityText"]) || array_key_exists("cityText"$context) ? $context["cityText"] : (function () { throw new RuntimeError('Variable "cityText" does not exist.'89$this->source); })())) . (isset($context["metroText"]) || array_key_exists("metroText"$context) ? $context["metroText"] : (function () { throw new RuntimeError('Variable "metroText" does not exist.'89$this->source); })())) . (( !(null === (isset($context["service1"]) || array_key_exists("service1"$context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.'89$this->source); })()))) ? ((isset($context["service1"]) || array_key_exists("service1"$context) ? $context["service1"] : (function () { throw new RuntimeError('Variable "service1" does not exist.'89$this->source); })())) : (""))) . (( !(null === (isset($context["service2"]) || array_key_exists("service2"$context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.'89$this->source); })()))) ? ((isset($context["service2"]) || array_key_exists("service2"$context) ? $context["service2"] : (function () { throw new RuntimeError('Variable "service2" does not exist.'89$this->source); })())) : (""))) . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse89), "phone", [], "any"truetruefalse89)) ? ((("снять по тел. " 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.'89$this->source); })()), "seo", [], "any"falsefalsefalse89), "phone", [], "any"falsefalsefalse89)) . ", ")) : (""))) . "анкета №") . 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.'89$this->source); })()), "id", [], "any"falsefalsefalse89));
  211.             // line 90
  212.             echo "                        <img data-src=\"";
  213.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'90$this->source); })()), "path", [], "any"falsefalsefalse90), "profile_media""200x280""jpg"), "html"nulltrue);
  214.             echo "\"
  215.                             class=\"lazy img-fluid\"
  216.                             alt=\"";
  217.             // line 92
  218.             echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'92$this->source); })()), "html"nulltrue);
  219.             echo "\"
  220.                             loading=\"lazy\">
  221.                     ";
  222.         }
  223.         // line 95
  224.         echo "                </a>
  225.                 <div class=\"profiles-item__info flex-fill\">
  226.                     <div class=\"profiles-item__header\">
  227.                         <div class=\"profiles-item__header-title d-flex align-items-center\">
  228.                             <a href=\"";
  229.         // line 99
  230.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_preview.page", ["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.'99$this->source); })()), "city", [], "any"falsefalsefalse99), "uriIdentity", [], "any"falsefalsefalse99), "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.'99$this->source); })()), "uriIdentity", [], "any"falsefalsefalse99)]), "html"nulltrue);
  231.         echo "\" target=\"_blank\">";
  232.         // line 100
  233.         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.'100$this->source); })()), "name", [], "any"falsefalsefalse100)), "html"nulltrue);
  234.         // line 101
  235.         echo "</a>
  236.                         </div>";
  237.         // line 103
  238.         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.'103$this->source); })()), "isActive", [], "any"falsefalsefalse103) ||  !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.'103$this->source); })()), "isHidden", [], "any"falsefalsefalse103))) {
  239.             // line 104
  240.             $context["onlyPhoneNumber"] = twig_replace_filter(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'104$this->source); })()), "phoneNumber", [], "any"falsefalsefalse104), [" " => """-" => """(" => """)" => ""]);
  241.             // line 105
  242.             echo "<button class=\"profiles-item__header-phone ml-auto\" type=\"button\" onclick=\"this.classList.add('d-none');this.nextElementSibling.classList.remove('d-none')\">
  243.                                 <svg>
  244.                                     <use xlink:href=\"#icon-phone\"></use>
  245.                                 </svg>
  246.                                 <span>Показать телефон</span>
  247.                             </button>
  248.                             <!--noindex--><a href=\"tel:";
  249.             // line 111
  250.             echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber"$context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.'111$this->source); })()), "html"nulltrue);
  251.             echo "\" class=\"profiles-item__header-phone ml-auto d-none\">
  252.                                 <svg>
  253.                                     <use xlink:href=\"#icon-phone\"></use>
  254.                                 </svg>
  255.                                 <span>";
  256.             // line 115
  257.             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.'115$this->source); })()), "phoneNumber", [], "any"falsefalsefalse115), "html"nulltrue);
  258.             echo "</span>
  259.                             </a><!--/noindex-->";
  260.         }
  261.         // line 118
  262.         echo "</div>";
  263.         // line 120
  264.         if ((isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'120$this->source); })())) {
  265.             // line 121
  266.             echo "<div class=\"item-info metro d-flex align-items-center\">
  267.                         <svg class=\"icon mr-1\">
  268.                             <use xlink:href=\"#icon-metro\"></use>
  269.                         </svg>
  270.                         <a href=\"";
  271.             // line 125
  272.             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, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'125$this->source); })()), "city", [], "any"falsefalsefalse125), "uriIdentity", [], "any"falsefalsefalse125), "station" => twig_get_attribute($this->env$this->source, (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'125$this->source); })()), "uriIdentity", [], "any"falsefalsefalse125)]), "html"nulltrue);
  273.             echo "\" target=\"_blank\" title=\"";
  274.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'125$this->source); })()), "name", [], "any"falsefalsefalse125), "html"nulltrue);
  275.             echo "\">";
  276.             // line 126
  277.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'126$this->source); })()), "name", [], "any"falsefalsefalse126), "html"nulltrue);
  278.             // line 127
  279.             echo "</a>
  280.                     </div>";
  281.         }
  282.         // line 130
  283.         echo "<div class=\"item-info\">
  284.                         <p class=\"d-flex align-items-center mb-1\">
  285.                             Возраст:<span class=\"d-inline-block ml-auto\">";
  286.         // line 132
  287.         ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'132$this->source); })()), "personParameters", [], "any"falsefalsefalse132), "age", [], "any"falsefalsefalse132)) ? (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.'132$this->source); })()), "personParameters", [], "any"falsefalsefalse132), "age", [], "any"falsefalsefalse132), "html"nulltrue))) : (print ("-")));
  288.         echo "</span>
  289.                         </p>
  290.                         <p class=\"d-flex align-items-center mb-1\">
  291.                             Рост:<span class=\"d-inline-block ml-auto\">";
  292.         // line 135
  293.         ((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.'135$this->source); })()), "personParameters", [], "any"falsefalsefalse135), "height", [], "any"falsefalsefalse135)) ? (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.'135$this->source); })()), "personParameters", [], "any"falsefalsefalse135), "height", [], "any"falsefalsefalse135), "html"nulltrue))) : (print ("-")));
  294.         echo "</span>
  295.                         </p>
  296.                         <p class=\"d-flex align-items-center mb-1\">
  297.                             Вес:<span class=\"d-inline-block ml-auto\">";
  298.         // line 138
  299.         ((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.'138$this->source); })()), "personParameters", [], "any"falsefalsefalse138), "weight", [], "any"falsefalsefalse138)) ? (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.'138$this->source); })()), "personParameters", [], "any"falsefalsefalse138), "weight", [], "any"falsefalsefalse138), "html"nulltrue))) : (print ("-")));
  300.         echo "</span>
  301.                         </p>
  302.                         <p class=\"d-flex align-items-center mb-1\">
  303.                             Грудь:<span class=\"d-inline-block ml-auto\">";
  304.         // line 141
  305.         ((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.'141$this->source); })()), "personParameters", [], "any"falsefalsefalse141), "breastSize", [], "any"falsefalsefalse141)) ? (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.'141$this->source); })()), "personParameters", [], "any"falsefalsefalse141), "breastSize", [], "any"falsefalsefalse141), "html"nulltrue))) : (print ("-")));
  306.         echo "</span>
  307.                         </p>
  308.                     </div>";
  309.         // line 144
  310.         ob_start();
  311.         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.'144$this->source); })()), "city", [], "any"falsefalsefalse144), "countryCode", [], "any"falsefalsefalse144)), "html"nulltrue);
  312.         $context["currencyProfile"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  313.         // line 145
  314.         ob_start();
  315.         echo twig_call_macro($macros["price_helpers"], "macro__get_min", [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.'145$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse145), "oneHourPrice", [], "any"falsefalsefalse145), 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.'145$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse145), "oneHourPrice", [], "any"falsefalsefalse145), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'145$this->source); })())], 145$context$this->getSourceContext());
  316.         $context["minPriceHour"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  317.         // line 146
  318.         ob_start();
  319.         echo twig_call_macro($macros["price_helpers"], "macro__get_min", [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.'146$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse146), "twoHoursPrice", [], "any"falsefalsefalse146), 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.'146$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse146), "twoHoursPrice", [], "any"falsefalsefalse146), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'146$this->source); })())], 146$context$this->getSourceContext());
  320.         $context["minPriceTwo"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  321.         // line 147
  322.         ob_start();
  323.         echo twig_call_macro($macros["price_helpers"], "macro__get_min", [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.'147$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse147), "nightPrice", [], "any"falsefalsefalse147), 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.'147$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse147), "nightPrice", [], "any"falsefalsefalse147), (isset($context["currencyProfile"]) || array_key_exists("currencyProfile"$context) ? $context["currencyProfile"] : (function () { throw new RuntimeError('Variable "currencyProfile" does not exist.'147$this->source); })())], 147$context$this->getSourceContext());
  324.         $context["minPriceNight"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  325.         // line 148
  326.         ob_start();
  327.         echo twig_call_macro($macros["price_helpers"], "macro__check_out_price", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'148$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse148), "oneHourPrice", [], "any"falsefalsefalse148), 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.'148$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse148), "twoHoursPrice", [], "any"falsefalsefalse148), 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.'148$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse148), "nightPrice", [], "any"falsefalsefalse148)], 148$context$this->getSourceContext());
  328.         $context["hasOutPrice"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  329.         // line 149
  330.         echo "<div class=\"item-info\">
  331.                         <p class=\"d-flex align-items-center mb-1\">
  332.                             Час:<span class=\"d-inline-block ml-auto description\">";
  333.         // line 151
  334.         ((((isset($context["minPriceHour"]) || array_key_exists("minPriceHour"$context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.'151$this->source); })()) != "-")) ? (print (twig_escape_filter($this->env, (isset($context["minPriceHour"]) || array_key_exists("minPriceHour"$context) ? $context["minPriceHour"] : (function () { throw new RuntimeError('Variable "minPriceHour" does not exist.'151$this->source); })()), "html"nulltrue))) : (print ("-")));
  335.         echo "</span>
  336.                         </p>
  337.                         <p class=\"d-flex align-items-center mb-1\">
  338.                             2 часа:<span class=\"d-inline-block ml-auto description\">";
  339.         // line 154
  340.         ((((isset($context["minPriceTwo"]) || array_key_exists("minPriceTwo"$context) ? $context["minPriceTwo"] : (function () { throw new RuntimeError('Variable "minPriceTwo" does not exist.'154$this->source); })()) != "-")) ? (print (twig_escape_filter($this->env, (isset($context["minPriceTwo"]) || array_key_exists("minPriceTwo"$context) ? $context["minPriceTwo"] : (function () { throw new RuntimeError('Variable "minPriceTwo" does not exist.'154$this->source); })()), "html"nulltrue))) : (print ("-")));
  341.         echo "</span>
  342.                         </p>
  343.                         <p class=\"d-flex align-items-center mb-1\">
  344.                             Ночь:<span class=\"d-inline-block ml-auto description\">";
  345.         // line 157
  346.         ((((isset($context["minPriceNight"]) || array_key_exists("minPriceNight"$context) ? $context["minPriceNight"] : (function () { throw new RuntimeError('Variable "minPriceNight" does not exist.'157$this->source); })()) != "-")) ? (print (twig_escape_filter($this->env, (isset($context["minPriceNight"]) || array_key_exists("minPriceNight"$context) ? $context["minPriceNight"] : (function () { throw new RuntimeError('Variable "minPriceNight" does not exist.'157$this->source); })()), "html"nulltrue))) : (print ("-")));
  347.         echo "</span>
  348.                         </p>
  349.                         <p class=\"d-flex align-items-center mb-1\">
  350.                             Экспресс:<span class=\"d-inline-block ml-auto description\">";
  351.         // line 160
  352.         echo ((((isset($context["hasOutPrice"]) || array_key_exists("hasOutPrice"$context) ? $context["hasOutPrice"] : (function () { throw new RuntimeError('Variable "hasOutPrice" does not exist.'160$this->source); })()) == "1")) ? ("Есть") : ("-"));
  353.         echo "</span>
  354.                         </p>
  355.                     </div>
  356.                 </div>
  357.                 <div class=\"profiles-item__status\">";
  358.         // line 165
  359.         if ((isset($context["isSelfies"]) || array_key_exists("isSelfies"$context) ? $context["isSelfies"] : (function () { throw new RuntimeError('Variable "isSelfies" does not exist.'165$this->source); })())) {
  360.             // line 166
  361.             echo "<div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть селфи\">
  362.                             <svg class=\"icon\">
  363.                                 <use xlink:href=\"#icon-selfie-thumb\"></use>
  364.                             </svg>
  365.                         </div>";
  366.         }
  367.         // line 172
  368.         if ((isset($context["isVideos"]) || array_key_exists("isVideos"$context) ? $context["isVideos"] : (function () { throw new RuntimeError('Variable "isVideos" does not exist.'172$this->source); })())) {
  369.             // line 173
  370.             echo "<div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть видео\">
  371.                             <svg class=\"icon\">
  372.                                 <use xlink:href=\"#icon-video-thumb\"></use>
  373.                             </svg>
  374.                         </div>";
  375.         }
  376.         // line 179
  377.         if ((isset($context["isComments"]) || array_key_exists("isComments"$context) ? $context["isComments"] : (function () { throw new RuntimeError('Variable "isComments" does not exist.'179$this->source); })())) {
  378.             // line 180
  379.             echo "<div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть комментарии\">
  380.                             <svg class=\"icon\">
  381.                                 <use xlink:href=\"#icon-comments-thumb\"></use>
  382.                             </svg>
  383.                         </div>";
  384.         }
  385.         // line 186
  386.         echo "</div>
  387.             </div>
  388.         </div>
  389.     </div>
  390. ";
  391.         
  392.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  393.         
  394.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  395.         
  396.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  397.     }
  398.     /**
  399.      * @codeCoverageIgnore
  400.      */
  401.     public function getTemplateName()
  402.     {
  403.         return "ProfileList/profile.html.twig";
  404.     }
  405.     /**
  406.      * @codeCoverageIgnore
  407.      */
  408.     public function isTraitable()
  409.     {
  410.         return false;
  411.     }
  412.     /**
  413.      * @codeCoverageIgnore
  414.      */
  415.     public function getDebugInfo()
  416.     {
  417.         return array (  397 => 186,  390 => 180,  388 => 179,  381 => 173,  379 => 172,  372 => 166,  370 => 165,  363 => 160,  357 => 157,  351 => 154,  345 => 151,  341 => 149,  337 => 148,  333 => 147,  329 => 146,  325 => 145,  321 => 144,  316 => 141,  310 => 138,  304 => 135,  298 => 132,  294 => 130,  290 => 127,  288 => 126,  283 => 125,  277 => 121,  275 => 120,  273 => 118,  268 => 115,  261 => 111,  253 => 105,  251 => 104,  249 => 103,  246 => 101,  244 => 100,  241 => 99,  235 => 95,  229 => 92,  223 => 90,  220 => 89,  217 => 88,  215 => 87,  210 => 86,  202 => 80,  200 => 79,  195 => 77,  190 => 75,  186 => 74,  182 => 73,  178 => 72,  174 => 71,  170 => 70,  166 => 69,  162 => 67,  160 => 64,  159 => 63,  158 => 61,  157 => 60,  154 => 59,  151 => 58,  148 => 57,  145 => 56,  143 => 55,  140 => 54,  137 => 53,  134 => 52,  130 => 49,  127 => 48,  124 => 47,  121 => 45,  119 => 44,  117 => 42,  115 => 41,  113 => 39,  111 => 38,  109 => 37,  107 => 36,  105 => 35,  99 => 34,  95 => 32,  93 => 31,  91 => 30,  88 => 27,  85 => 26,  83 => 25,  81 => 24,  78 => 21,  75 => 19,  73 => 18,  71 => 16,  69 => 15,  67 => 14,  64 => 10,  62 => 9,  60 => 7,  58 => 6,  56 => 5,  53 => 4,  51 => 3,  48 => 2,  46 => 1,);
  418.     }
  419.     public function getSourceContext()
  420.     {
  421.         return new Source("{% import '_macros/price_helpers.html.twig' as price_helpers %}
  422.     {% set profile = profile.profile is defined ? profile.profile : profile %}
  423.     {% set services = profile.providedServices %}
  424.     {%- set agePlural = '%age% лет'|trans({'lastnum': profile.personParameters.age|last}) -%}
  425.     {%- set ageText = profile.personParameters.age ~ ' ' ~ agePlural ~ ', ' -%}
  426.     {%- set cityText = '' -%}
  427.     {%- if city is defined and city != default_city() -%}
  428.         {%- set cityText = profile.city.name ~ ', ' -%}
  429.     {%- endif -%}
  430.     {%- set isSelfies = profile.selfies is iterable ? (profile.selfies|length > 0) : profile.selfies -%}
  431.     {%- set isVideos = profile.videos is iterable ? (profile.videos|length > 0) : profile.videos -%}
  432.     {%- set isComments = profile.comments is iterable ? (profile.comments|length > 0) : profile.comments -%}
  433.     {%- if 'profile_list.list_by_station' in app.request.get('_route') -%}
  434.         {%- set station = app.request.attributes.get('station') -%}
  435.     {%- else -%}
  436.         {%- set station = profile.stations|first -%}
  437.     {%- endif -%}
  438.     {% set firstStation = '' -%}
  439.     {% set metroText = ''%}
  440.     {% if profile.stations|length > 0 -%}
  441.         {% set metroText = station is not null ? 'метро ' ~ station.name ~ ' в ' ~ profile.city.name|geo_name('дательный') ~ ', ' : '' -%}
  442.     {% endif -%}
  443.     {%- set morpID = profile.id -%}
  444.     {%- set serviceNameList = [] -%}
  445.     {% for service in services -%}
  446.         {# {% set serviceNameList = serviceNameList|merge([service.name]) %} #}
  447.     {% endfor %}
  448.     {%- set service1 = null -%}
  449.     {%- set service2 = null -%}
  450.     {% if serviceNameList is not empty %}
  451.         {%- set service1 = serviceNameList|seo_morphing(morpID) ~ ', ' -%}
  452.         {%- set service2 = serviceNameList|seo_morphing(morpID + 105) ~ ', ' -%}
  453.         {% if service1 == service2 -%}
  454.             {%- set service2 = serviceNameList|seo_morphing(morpID + 104) ~ ', ' -%}
  455.             {% if service1 == service2 -%}
  456.                 {%- set service2 = null -%}
  457.             {% endif %}
  458.         {% endif %}
  459.     {% endif %}
  460.     {# у топа другие поля в объекте #}
  461.     {% set isProfileVip = false %}
  462.     {% set isProfileUltraVip = false %}
  463.     {% if not isProfileTop %}
  464.         {% set isProfileVip = profile.isVip is defined ? profile.isVip : profile.adBoardPlacement and profile.adBoardPlacement.type.isVip %}
  465.         {% set isProfileUltraVip = profile.isUltraVip is defined ? profile.isUltraVip : profile.adBoardPlacement and profile.adBoardPlacement.type.isUltraVip %}
  466.     {% endif %}
  467.     {% set labelHtml =
  468.         isProfileTop ?
  469.             '<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-top\"></use></svg></div>' :
  470.             (isProfileUltraVip ? '<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-ultravip\"></use></svg></div>' :
  471.                 (isProfileVip ? '<div class=\"profile-item-label\"><svg width=\"69\" height=\"69\"><use xlink:href=\"#icon-label-vip\"></use></svg></div>' : '')
  472.             )
  473.     %}
  474.     <div class=\"profiles-item-col\"
  475.         data-ultra=\"{{isProfileUltraVip ?? null}}\"
  476.         data-vip=\"{{isProfileVip ?? null}}\"
  477.         data-standart=\"{{profile.isStandard ?? null}}\"
  478.         data-active=\"{{profile.active}}\"
  479.         data-hidden=\"{{profile.hidden}}\"
  480.         data-approved=\"{{profile.isApproved}}\"
  481.         data-profile-id=\"{{profile.id}}\">
  482.         <div class=\"profiles-item\">
  483.             {{ labelHtml|raw }}
  484.             <div class=\"profiles-item__content d-flex\">
  485.                 {% if ( profile.isApproved ) %}
  486.                     <div class=\"profiles-item__verify\" title=\"Фото проверено\">
  487.                         <svg class=\"icon\">
  488.                             <use xlink:href=\"#icon-models-list-verify\"></use>
  489.                         </svg>
  490.                     </div>
  491.                 {% endif %}
  492.                 <a href=\"{{ path('profile_preview.page', {'city': profile.city.uriIdentity, 'profile': profile.uriIdentity}) }}\" class=\"profiles-item__images d-block\" target=\"_blank\">
  493.                     {% set photo = profile|avatar %}
  494.                     {% if photo and photo.path %}
  495.                         {% set alt = profile.name|trans ~ ', ' ~ ageText ~ cityText ~ metroText ~ (service1 is not null ? service1) ~ (service2 is not null ? service2) ~ (profile.seo.phone is defined ? \"снять по тел. \" ~ profile.seo.phone ~ ', ' : '') ~ 'анкета №' ~ profile.id %}
  496.                         <img data-src=\"{{ responsive_asset(photo.path, 'profile_media', \"200x280\", \"jpg\") }}\"
  497.                             class=\"lazy img-fluid\"
  498.                             alt=\"{{ alt }}\"
  499.                             loading=\"lazy\">
  500.                     {% endif %}
  501.                 </a>
  502.                 <div class=\"profiles-item__info flex-fill\">
  503.                     <div class=\"profiles-item__header\">
  504.                         <div class=\"profiles-item__header-title d-flex align-items-center\">
  505.                             <a href=\"{{ path('profile_preview.page', {'city': profile.city.uriIdentity, 'profile': profile.uriIdentity}) }}\" target=\"_blank\">
  506.                                 {{- profile.name|trans -}}
  507.                             </a>
  508.                         </div>
  509.                         {%- if profile.isActive or not profile.isHidden -%}
  510.                             {%- set onlyPhoneNumber = profile.phoneNumber|replace({' ': '', '-': '', '(': '', ')': ''}) -%}
  511.                             <button class=\"profiles-item__header-phone ml-auto\" type=\"button\" onclick=\"this.classList.add('d-none');this.nextElementSibling.classList.remove('d-none')\">
  512.                                 <svg>
  513.                                     <use xlink:href=\"#icon-phone\"></use>
  514.                                 </svg>
  515.                                 <span>Показать телефон</span>
  516.                             </button>
  517.                             <!--noindex--><a href=\"tel:{{ onlyPhoneNumber }}\" class=\"profiles-item__header-phone ml-auto d-none\">
  518.                                 <svg>
  519.                                     <use xlink:href=\"#icon-phone\"></use>
  520.                                 </svg>
  521.                                 <span>{{- profile.phoneNumber -}}</span>
  522.                             </a><!--/noindex-->
  523.                         {%- endif -%}
  524.                     </div>
  525.                     {%- if station -%}
  526.                     <div class=\"item-info metro d-flex align-items-center\">
  527.                         <svg class=\"icon mr-1\">
  528.                             <use xlink:href=\"#icon-metro\"></use>
  529.                         </svg>
  530.                         <a href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': station.uriIdentity}) }}\" target=\"_blank\" title=\"{{ station.name }}\">
  531.                             {{- station.name -}}
  532.                         </a>
  533.                     </div>
  534.                     {%- endif -%}
  535.                     <div class=\"item-info\">
  536.                         <p class=\"d-flex align-items-center mb-1\">
  537.                             Возраст:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.age ? profile.personParameters.age : '-' }}</span>
  538.                         </p>
  539.                         <p class=\"d-flex align-items-center mb-1\">
  540.                             Рост:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.height ? profile.personParameters.height : '-' }}</span>
  541.                         </p>
  542.                         <p class=\"d-flex align-items-center mb-1\">
  543.                             Вес:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.weight ? profile.personParameters.weight : '-' }}</span>
  544.                         </p>
  545.                         <p class=\"d-flex align-items-center mb-1\">
  546.                             Грудь:<span class=\"d-inline-block ml-auto\">{{ profile.personParameters.breastSize ? profile.personParameters.breastSize : '-' }}</span>
  547.                         </p>
  548.                     </div>
  549.                     {%- set currencyProfile -%}{{ profile.city.countryCode|country_currency }}{%- endset -%}
  550.                     {%- set minPriceHour -%}{{ price_helpers._get_min(profile.apartmentsPricing.oneHourPrice,profile.takeOutPricing.oneHourPrice,currencyProfile) }}{%- endset -%}
  551.                     {%- set minPriceTwo -%}{{ price_helpers._get_min(profile.apartmentsPricing.twoHoursPrice,profile.takeOutPricing.twoHoursPrice,currencyProfile) }}{%- endset -%}
  552.                     {%- set minPriceNight -%}{{ price_helpers._get_min(profile.apartmentsPricing.nightPrice,profile.takeOutPricing.nightPrice,currencyProfile) }}{%- endset -%}
  553.                     {%- set hasOutPrice -%}{{- price_helpers._check_out_price(profile.takeOutPricing.oneHourPrice,profile.takeOutPricing.twoHoursPrice,profile.takeOutPricing.nightPrice) -}}{%- endset -%}
  554.                     <div class=\"item-info\">
  555.                         <p class=\"d-flex align-items-center mb-1\">
  556.                             Час:<span class=\"d-inline-block ml-auto description\">{{ minPriceHour != '-' ? minPriceHour : '-' }}</span>
  557.                         </p>
  558.                         <p class=\"d-flex align-items-center mb-1\">
  559.                             2 часа:<span class=\"d-inline-block ml-auto description\">{{ minPriceTwo != '-' ? minPriceTwo : '-' }}</span>
  560.                         </p>
  561.                         <p class=\"d-flex align-items-center mb-1\">
  562.                             Ночь:<span class=\"d-inline-block ml-auto description\">{{ minPriceNight != '-' ? minPriceNight : '-' }}</span>
  563.                         </p>
  564.                         <p class=\"d-flex align-items-center mb-1\">
  565.                             Экспресс:<span class=\"d-inline-block ml-auto description\">{{ hasOutPrice == '1' ? 'Есть' : '-' }}</span>
  566.                         </p>
  567.                     </div>
  568.                 </div>
  569.                 <div class=\"profiles-item__status\">
  570.                     {%- if isSelfies -%}
  571.                         <div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть селфи\">
  572.                             <svg class=\"icon\">
  573.                                 <use xlink:href=\"#icon-selfie-thumb\"></use>
  574.                             </svg>
  575.                         </div>
  576.                     {%- endif -%}
  577.                     {%- if isVideos -%}
  578.                         <div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть видео\">
  579.                             <svg class=\"icon\">
  580.                                 <use xlink:href=\"#icon-video-thumb\"></use>
  581.                             </svg>
  582.                         </div>
  583.                     {%- endif -%}
  584.                     {%- if isComments -%}
  585.                         <div class=\"status-item d-flex align-items-center justify-content-center\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Есть комментарии\">
  586.                             <svg class=\"icon\">
  587.                                 <use xlink:href=\"#icon-comments-thumb\"></use>
  588.                             </svg>
  589.                         </div>
  590.                     {%- endif -%}
  591.                 </div>
  592.             </div>
  593.         </div>
  594.     </div>
  595. ""ProfileList/profile.html.twig""/app/templates/ProfileList/profile.html.twig");
  596.     }
  597. }