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

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