var/cache/review/twig/30/308e723165154fbeb95fd533aafc823c.php line 113

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. /* _seo/profile_preview.page.txt.twig */
  14. class __TwigTemplate_84b9536e53d0f9b2ed6d511a44c599e0 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.             'meta_title_ru' => [$this'block_meta_title_ru'],
  25.             'meta_title_en' => [$this'block_meta_title_en'],
  26.             'heading_ru' => [$this'block_heading_ru'],
  27.             'heading_en' => [$this'block_heading_en'],
  28.             'meta_description_ru' => [$this'block_meta_description_ru'],
  29.             'meta_description_en' => [$this'block_meta_description_en'],
  30.             'meta_keywords_ru' => [$this'block_meta_keywords_ru'],
  31.             'meta_keywords_en' => [$this'block_meta_keywords_en'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  38.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""_seo/profile_preview.page.txt.twig"));
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""_seo/profile_preview.page.txt.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""_seo/profile_preview.page.txt.twig"));
  43.         // line 3
  44.         $this->displayBlock('meta_title_ru'$context$blocks);
  45.         // line 34
  46.         $this->displayBlock('meta_title_en'$context$blocks);
  47.         // line 38
  48.         $this->displayBlock('heading_ru'$context$blocks);
  49.         // line 42
  50.         $this->displayBlock('heading_en'$context$blocks);
  51.         // line 46
  52.         $this->displayBlock('meta_description_ru'$context$blocks);
  53.         // line 51
  54.         $this->displayBlock('meta_description_en'$context$blocks);
  55.         // line 55
  56.         $this->displayBlock('meta_keywords_ru'$context$blocks);
  57.         // line 57
  58.         $this->displayBlock('meta_keywords_en'$context$blocks);
  59.         
  60.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.     }
  66.     // line 3
  67.     public function block_meta_title_ru($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  71.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_ru"));
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_ru"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_ru"));
  76.         // line 12
  77.         $context["prices1H"] = twig_array_filter($this->env, [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 13
  78. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'13$this->source); })()), "apartmentsPricing", [], "any"falsefalsefalse13), "oneHourPrice", [], "any"falsefalsefalse13), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 14
  79. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'14$this->source); })()), "takeOutPricing", [], "any"falsefalsefalse14), "oneHourPrice", [], "any"falsefalsefalse14)],         // line 15
  80. function ($__v__) use ($context$macros) { $context["v"] = $__v__; return  !(null === (isset($context["v"]) || array_key_exists("v"$context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.'15$this->source); })())); });
  81.         // line 17
  82.         $context["min1HPrice"] = (( !twig_test_empty((isset($context["prices1H"]) || array_key_exists("prices1H"$context) ? $context["prices1H"] : (function () { throw new RuntimeError('Variable "prices1H" does not exist.'17$this->source); })()))) ? (min((isset($context["prices1H"]) || array_key_exists("prices1H"$context) ? $context["prices1H"] : (function () { throw new RuntimeError('Variable "prices1H" does not exist.'17$this->source); })()))) : (0));
  83.         // line 18
  84.         $context["min1HPriceOutput"] = ((((isset($context["min1HPrice"]) || array_key_exists("min1HPrice"$context) ? $context["min1HPrice"] : (function () { throw new RuntimeError('Variable "min1HPrice" does not exist.'18$this->source); })()) > 0)) ? (((isset($context["min1HPrice"]) || array_key_exists("min1HPrice"$context) ? $context["min1HPrice"] : (function () { throw new RuntimeError('Variable "min1HPrice" does not exist.'18$this->source); })()) . " руб. час,")) : (""));
  85.         // line 20
  86.         $context["firstStation"] = (((twig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "stations", [], "any"truetruefalse20) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'20$this->source); })()), "stations", [], "any"falsefalsefalse20)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 21
  87. (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), "first", [], "any"falsefalsefalse21)) : (null));
  88.         // line 23
  89.         $context["stationOutput"] = (((isset($context["firstStation"]) || array_key_exists("firstStation"$context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.'23$this->source); })())) ? ((("метро " twig_get_attribute($this->env$this->source, (isset($context["firstStation"]) || array_key_exists("firstStation"$context) ? $context["firstStation"] : (function () { throw new RuntimeError('Variable "firstStation" does not exist.'23$this->source); })()), "name", [], "any"falsefalsefalse23)) . ", ")) : (""));
  90.         // line 25
  91.         $context["isDefaultCity"] = (twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'25$this->source); })()), "city", [], "any"falsefalsefalse25) == $this->extensions['App\Twig\DefaultCityExtension']->defaultCity());
  92.         // line 27
  93.         if ((isset($context["isDefaultCity"]) || array_key_exists("isDefaultCity"$context) ? $context["isDefaultCity"] : (function () { throw new RuntimeError('Variable "isDefaultCity" does not exist.'27$this->source); })())) {
  94.             // line 28
  95.             echo "Проститутка ";
  96.             echo 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.'28$this->source); })()), "name", [], "any"falsefalsefalse28);
  97.             echo ", ";
  98.             echo (isset($context["stationOutput"]) || array_key_exists("stationOutput"$context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.'28$this->source); })());
  99.             echo " ";
  100.             echo $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'28$this->source); })()), "personParameters", [], "any"falsefalsefalse28), "age", [], "any"falsefalsefalse28));
  101.             echo ", ";
  102.             echo (isset($context["min1HPriceOutput"]) || array_key_exists("min1HPriceOutput"$context) ? $context["min1HPriceOutput"] : (function () { throw new RuntimeError('Variable "min1HPriceOutput" does not exist.'28$this->source); })());
  103.             echo ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse28), "phone", [], "any"truetruefalse28)) ? (((" телефон " 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.'28$this->source); })()), "seo", [], "any"falsefalsefalse28), "phone", [], "any"falsefalsefalse28)) . ",")) : (""));
  104.             echo " ID";
  105.             echo 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.'28$this->source); })()), "id", [], "any"falsefalsefalse28);
  106.             echo ", ";
  107.             echo $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.'28$this->source); })()), "city", [], "any"falsefalsefalse28), "name", [], "any"falsefalsefalse28), "nominative");
  108.         } else {
  109.             // line 30
  110.             echo "Проститутка ";
  111.             echo 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); })()), "name", [], "any"falsefalsefalse30);
  112.             echo ", ";
  113.             echo $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'30$this->source); })()), "personParameters", [], "any"falsefalsefalse30), "age", [], "any"falsefalsefalse30));
  114.             echo ", ";
  115.             echo (isset($context["min1HPriceOutput"]) || array_key_exists("min1HPriceOutput"$context) ? $context["min1HPriceOutput"] : (function () { throw new RuntimeError('Variable "min1HPriceOutput" does not exist.'30$this->source); })());
  116.             echo ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse30), "phone", [], "any"truetruefalse30)) ? (((" телефон " 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.'30$this->source); })()), "seo", [], "any"falsefalsefalse30), "phone", [], "any"falsefalsefalse30)) . ",")) : (""));
  117.             echo " ID";
  118.             echo 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);
  119.             echo ", ";
  120.             echo $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.'30$this->source); })()), "city", [], "any"falsefalsefalse30), "name", [], "any"falsefalsefalse30), "nominative");
  121.         }
  122.         
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  124.         
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  126.         
  127.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  128.     }
  129.     // line 34
  130.     public function block_meta_title_en($context, array $blocks = [])
  131.     {
  132.         $macros $this->macros;
  133.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  134.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_en"));
  135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  136.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_en"));
  137.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  138.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_en"));
  139.         
  140.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  141.         
  142.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  143.         
  144.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  145.     }
  146.     // line 38
  147.     public function block_heading_ru($context, array $blocks = [])
  148.     {
  149.         $macros $this->macros;
  150.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  151.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_ru"));
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  153.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_ru"));
  154.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  155.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_ru"));
  156.         // line 39
  157.         echo "Проститутка ";
  158.         echo 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.'39$this->source); })()), "name", [], "any"falsefalsefalse39);
  159.         echo " ";
  160.         echo 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.'39$this->source); })()), "phoneNumber", [], "any"falsefalsefalse39);
  161.         echo ", индивидуалка ";
  162.         echo $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection(twig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'39$this->source); })()), "name", [], "any"falsefalsefalse39), "genitive");
  163.         
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  165.         
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  167.         
  168.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  169.     }
  170.     // line 42
  171.     public function block_heading_en($context, array $blocks = [])
  172.     {
  173.         $macros $this->macros;
  174.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  175.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_en"));
  176.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  177.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_en"));
  178.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  179.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_en"));
  180.         
  181.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  182.         
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  184.         
  185.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  186.     }
  187.     // line 46
  188.     public function block_meta_description_ru($context, array $blocks = [])
  189.     {
  190.         $macros $this->macros;
  191.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  192.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_ru"));
  193.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  194.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_ru"));
  195.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  196.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_ru"));
  197.         // line 47
  198.         $context["_id"] = twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'47$this->source); })()), "id", [], "any"falsefalsefalse47);
  199.         // line 48
  200.         echo $this->extensions['App\Twig\SeoExtension']->morphing("Проститутка|Индивидуалка|Путана", (isset($context["_id"]) || array_key_exists("_id"$context) ? $context["_id"] : (function () { throw new RuntimeError('Variable "_id" does not exist.'48$this->source); })()));
  201.         echo " ";
  202.         echo 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.'48$this->source); })()), "name", [], "any"falsefalsefalse48);
  203.         echo ", ";
  204.         echo $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'48$this->source); })()), "personParameters", [], "any"falsefalsefalse48), "age", [], "any"falsefalsefalse48));
  205.         echo " — ";
  206.         echo $this->extensions['App\Twig\SeoExtension']->morphing("сексуальная|аппетитная|страстная", (isset($context["_id"]) || array_key_exists("_id"$context) ? $context["_id"] : (function () { throw new RuntimeError('Variable "_id" does not exist.'48$this->source); })()));
  207.         echo " ";
  208.         echo twig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\PersonParametersExtension']->hairColorLabel(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'48$this->source); })()), "personParameters", [], "any"falsefalsefalse48), "hairColor", [], "any"falsefalsefalse48)), [], "hair_colors"));
  209.         echo ". ";
  210.         echo $this->extensions['App\Twig\SeoExtension']->morphing("Вызов|Заказ|Пригласить", (isset($context["_id"]) || array_key_exists("_id"$context) ? $context["_id"] : (function () { throw new RuntimeError('Variable "_id" does not exist.'48$this->source); })()));
  211.         echo ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "seo", [], "any"falsetruefalse48), "phone", [], "any"truetruefalse48)) ? ((" по тел. " 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.'48$this->source); })()), "seo", [], "any"falsefalsefalse48), "phone", [], "any"falsefalsefalse48))) : (""));
  212.         echo ". Анкета №";
  213.         echo (isset($context["_id"]) || array_key_exists("_id"$context) ? $context["_id"] : (function () { throw new RuntimeError('Variable "_id" does not exist.'48$this->source); })());
  214.         echo ". ";
  215.         echo $this->extensions['App\Twig\SeoExtension']->morphing("Жми|Смотри|Выбирай", (isset($context["_id"]) || array_key_exists("_id"$context) ? $context["_id"] : (function () { throw new RuntimeError('Variable "_id" does not exist.'48$this->source); })()));
  216.         echo " — лучшее для тебя уже рядом!";
  217.         
  218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  219.         
  220.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  221.         
  222.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  223.     }
  224.     // line 51
  225.     public function block_meta_description_en($context, array $blocks = [])
  226.     {
  227.         $macros $this->macros;
  228.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  229.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_en"));
  230.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  231.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_en"));
  232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  233.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_en"));
  234.         
  235.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  236.         
  237.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  238.         
  239.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  240.     }
  241.     // line 55
  242.     public function block_meta_keywords_ru($context, array $blocks = [])
  243.     {
  244.         $macros $this->macros;
  245.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  246.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_ru"));
  247.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  248.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_ru"));
  249.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  250.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_ru"));
  251.         
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  253.         
  254.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  255.         
  256.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  257.     }
  258.     // line 57
  259.     public function block_meta_keywords_en($context, array $blocks = [])
  260.     {
  261.         $macros $this->macros;
  262.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  263.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_en"));
  264.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  265.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_en"));
  266.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  267.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_en"));
  268.         
  269.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  270.         
  271.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  272.         
  273.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  274.     }
  275.     /**
  276.      * @codeCoverageIgnore
  277.      */
  278.     public function getTemplateName()
  279.     {
  280.         return "_seo/profile_preview.page.txt.twig";
  281.     }
  282.     /**
  283.      * @codeCoverageIgnore
  284.      */
  285.     public function getDebugInfo()
  286.     {
  287.         return array (  322 => 57,  298 => 55,  274 => 51,  245 => 48,  243 => 47,  230 => 46,  206 => 42,  188 => 39,  175 => 38,  151 => 34,  127 => 30,  112 => 28,  110 => 27,  108 => 25,  106 => 23,  104 => 21,  103 => 20,  101 => 18,  99 => 17,  97 => 15,  96 => 14,  95 => 13,  94 => 12,  81 => 3,  68 => 57,  66 => 55,  64 => 51,  62 => 46,  60 => 42,  58 => 38,  56 => 34,  54 => 3,);
  288.     }
  289.     public function getSourceContext()
  290.     {
  291.         return new Source("{# --- Заголовки страницы <title> --- #}
  292. {%- block meta_title_ru -%}
  293.     {# {%- set prices = [
  294.             profile.apartmentsPricing.oneHourPrice,
  295.             profile.apartmentsPricing.twoHoursPrice,
  296.             profile.apartmentsPricing.nightPrice,
  297.             profile.takeOutPricing.oneHourPrice,
  298.             profile.takeOutPricing.twoHoursPrice,
  299.             profile.takeOutPricing.nightPrice
  300.         ]|filter(v => v is not null) -%} #}
  301.     {%- set prices1H = [
  302.             profile.apartmentsPricing.oneHourPrice,
  303.             profile.takeOutPricing.oneHourPrice
  304.         ]|filter(v => v is not null) -%}
  305.     {%- set min1HPrice = prices1H is not empty ? min(prices1H) : 0 -%}
  306.     {%- set min1HPriceOutput = min1HPrice > 0 ? min1HPrice ~ ' руб. час,' : '' -%}
  307.     {%- set firstStation = profile.stations is defined and profile.stations is not empty
  308.         ? profile.stations.first
  309.         : null -%}
  310.     {%- set stationOutput = firstStation ? 'метро ' ~ firstStation.name ~ ', ' : '' -%}
  311.     {%- set isDefaultCity = profile.city == default_city() -%}
  312.     {%- if isDefaultCity -%}
  313.         Проститутка {{ profile.name }}, {{ stationOutput }} {{ 'год'|plural(profile.personParameters.age) }}, {{ min1HPriceOutput }}{{ profile.seo.phone is defined ? ' телефон ' ~ profile.seo.phone ~ ',' : '' }} ID{{ profile.id }}, {{ profile.city.name|geo_name('nominative') }}
  314.     {%- else -%}
  315.         Проститутка {{ profile.name }}, {{ 'год'|plural(profile.personParameters.age) }}, {{ min1HPriceOutput }}{{ profile.seo.phone is defined ? ' телефон ' ~ profile.seo.phone ~ ',' : '' }} ID{{ profile.id }}, {{ profile.city.name|geo_name('nominative') }}
  316.     {%- endif -%}
  317. {%- endblock meta_title_ru -%}
  318. {%- block meta_title_en -%}{%- endblock meta_title_en -%}
  319. {# --- Ключевые фразы страницы <h1> --- #}
  320. {%- block heading_ru -%}
  321. Проститутка {{ profile.name }} {{ profile.phoneNumber }}, индивидуалка {{ city.name|geo_name('genitive') }}
  322. {%- endblock heading_ru -%}
  323. {%- block heading_en -%}{%- endblock heading_en -%}
  324. {# --- Мета описания <meta name=\"description\"> --- #}
  325. {%- block meta_description_ru -%}
  326. {% set _id = profile.id %}
  327. {{- 'Проститутка|Индивидуалка|Путана'|seo_morphing(_id)}} {{ profile.name }}, {{ 'год'|plural(profile.personParameters.age) }} — {{ 'сексуальная|аппетитная|страстная'|seo_morphing(_id) }} {{ profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors')|lower }}. {{ 'Вызов|Заказ|Пригласить'|seo_morphing(_id) }}{{ (profile.seo.phone is defined ? \" по тел. \" ~ profile.seo.phone : '') }}. Анкета №{{ _id }}. {{ 'Жми|Смотри|Выбирай'|seo_morphing(_id) }} — лучшее для тебя уже рядом!
  328. {%- endblock meta_description_ru -%}
  329. {%- block meta_description_en -%}{%- endblock meta_description_en -%}
  330. {# --- Мета ключи <meta name=\"keywords\"> --- #}
  331. {%- block meta_keywords_ru -%}{%- endblock meta_keywords_ru -%}
  332. {%- block meta_keywords_en -%}{%- endblock meta_keywords_en -%}
  333. ""_seo/profile_preview.page.txt.twig""/app/templates/_seo/profile_preview.page.txt.twig");
  334.     }
  335. }