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

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 13
  46.         $this->displayBlock('meta_title_en'$context$blocks);
  47.         // line 17
  48.         $this->displayBlock('heading_ru'$context$blocks);
  49.         // line 23
  50.         $this->displayBlock('heading_en'$context$blocks);
  51.         // line 27
  52.         $this->displayBlock('meta_description_ru'$context$blocks);
  53.         // line 34
  54.         $this->displayBlock('meta_description_en'$context$blocks);
  55.         // line 38
  56.         $this->displayBlock('meta_keywords_ru'$context$blocks);
  57.         // line 40
  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 4
  77.         $context["station"] = (( !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.'4$this->source); })()), "stations", [], "any"falsefalsefalse4))) ? (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.'4$this->source); })()), "stations", [], "any"falsefalsefalse4), 0, [], "array"falsefalsefalse4)) : (null));
  78.         // line 5
  79.         $context["isGigolo"] = (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.'5$this->source); })()), "personParameters", [], "any"falsefalsefalse5), "gender", [], "any"falsefalsefalse5) == $this->extensions['App\Twig\PersonParametersExtension']->genderMale());
  80.         // line 6
  81.         $context["isTrans"] = (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'6$this->source); })()), "personParameters", [], "any"falsefalsefalse6), "gender", [], "any"falsefalsefalse6) == $this->extensions['App\Twig\PersonParametersExtension']->genderTrans());
  82.         // line 7
  83.         if ((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.'7$this->source); })()), "uriIdentity", [], "any"falsefalsefalse7) == "moskva")) {
  84.             // line 8
  85.             if ((isset($context["isGigolo"]) || array_key_exists("isGigolo"$context) ? $context["isGigolo"] : (function () { throw new RuntimeError('Variable "isGigolo" does not exist.'8$this->source); })())) {
  86.                 echo "Жиголо";
  87.             } elseif ((isset($context["isTrans"]) || array_key_exists("isTrans"$context) ? $context["isTrans"] : (function () { throw new RuntimeError('Variable "isTrans" does not exist.'8$this->source); })())) {
  88.                 echo "Транс";
  89.             } else {
  90.                 echo "Проститутка";
  91.             }
  92.             echo " ";
  93.             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.'8$this->source); })()), "name", [], "any"falsefalsefalse8);
  94.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'8$this->source); })()), "personParameters", [], "any"falsefalsefalse8), "age", [], "any"falsefalsefalse8)) {
  95.                 echo " ";
  96.                 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.'8$this->source); })()), "personParameters", [], "any"falsefalsefalse8), "age", [], "any"falsefalsefalse8));
  97.             }
  98.             echo ", вызвать по телефону ";
  99.             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.'8$this->source); })()), "phoneNumber", [], "any"falsefalsefalse8);
  100.             echo ", ID";
  101.             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.'8$this->source); })()), "id", [], "any"falsefalsefalse8);
  102.             echo ", ";
  103.             echo (((isset($context["station"]) || array_key_exists("station"$context) ? $context["station"] : (function () { throw new RuntimeError('Variable "station" does not exist.'8$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.'8$this->source); })()), "name", [], "any"falsefalsefalse8)) : (""));
  104.             echo "
  105. ";
  106.         } else {
  107.             // line 10
  108.             if ((isset($context["isGigolo"]) || array_key_exists("isGigolo"$context) ? $context["isGigolo"] : (function () { throw new RuntimeError('Variable "isGigolo" does not exist.'10$this->source); })())) {
  109.                 echo "Жиголо";
  110.             } elseif ((isset($context["isTrans"]) || array_key_exists("isTrans"$context) ? $context["isTrans"] : (function () { throw new RuntimeError('Variable "isTrans" does not exist.'10$this->source); })())) {
  111.                 echo "Транс";
  112.             } else {
  113.                 echo "Проститутка";
  114.             }
  115.             echo " ";
  116.             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.'10$this->source); })()), "name", [], "any"falsefalsefalse10);
  117.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'10$this->source); })()), "personParameters", [], "any"falsefalsefalse10), "age", [], "any"falsefalsefalse10)) {
  118.                 echo " ";
  119.                 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.'10$this->source); })()), "personParameters", [], "any"falsefalsefalse10), "age", [], "any"falsefalsefalse10));
  120.             }
  121.             echo ", вызвать по телефону ";
  122.             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.'10$this->source); })()), "phoneNumber", [], "any"falsefalsefalse10);
  123.             echo ", ID";
  124.             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.'10$this->source); })()), "id", [], "any"falsefalsefalse10);
  125.             echo ", ";
  126.             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.'10$this->source); })()), "name", [], "any"falsefalsefalse10), "nominative");
  127.             echo "
  128. ";
  129.         }
  130.         
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  132.         
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  134.         
  135.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  136.     }
  137.     // line 13
  138.     public function block_meta_title_en($context, array $blocks = [])
  139.     {
  140.         $macros $this->macros;
  141.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  142.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_en"));
  143.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  144.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_en"));
  145.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  146.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title_en"));
  147.         
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  149.         
  150.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  151.         
  152.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  153.     }
  154.     // line 17
  155.     public function block_heading_ru($context, array $blocks = [])
  156.     {
  157.         $macros $this->macros;
  158.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  159.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_ru"));
  160.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_ru"));
  162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  163.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_ru"));
  164.         // line 18
  165.         $context["isGigolo"] = (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.'18$this->source); })()), "personParameters", [], "any"falsefalsefalse18), "gender", [], "any"falsefalsefalse18) == $this->extensions['App\Twig\PersonParametersExtension']->genderMale());
  166.         // line 19
  167.         $context["isTrans"] = (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.'19$this->source); })()), "personParameters", [], "any"falsefalsefalse19), "gender", [], "any"falsefalsefalse19) == $this->extensions['App\Twig\PersonParametersExtension']->genderTrans());
  168.         // line 20
  169.         if ((isset($context["isGigolo"]) || array_key_exists("isGigolo"$context) ? $context["isGigolo"] : (function () { throw new RuntimeError('Variable "isGigolo" does not exist.'20$this->source); })())) {
  170.             echo "Жиголо";
  171.         } elseif ((isset($context["isTrans"]) || array_key_exists("isTrans"$context) ? $context["isTrans"] : (function () { throw new RuntimeError('Variable "isTrans" does not exist.'20$this->source); })())) {
  172.             echo "Транс";
  173.         } else {
  174.             echo "Индивидуалка";
  175.         }
  176.         echo " ";
  177.         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.'20$this->source); })()), "name", [], "any"falsefalsefalse20);
  178.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'20$this->source); })()), "personParameters", [], "any"falsefalsefalse20), "age", [], "any"falsefalsefalse20)) {
  179.             echo " ";
  180.             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.'20$this->source); })()), "personParameters", [], "any"falsefalsefalse20), "age", [], "any"falsefalsefalse20));
  181.         }
  182.         
  183.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  184.         
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  186.         
  187.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  188.     }
  189.     // line 23
  190.     public function block_heading_en($context, array $blocks = [])
  191.     {
  192.         $macros $this->macros;
  193.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  194.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_en"));
  195.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_en"));
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""heading_en"));
  199.         
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  201.         
  202.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  203.         
  204.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  205.     }
  206.     // line 27
  207.     public function block_meta_description_ru($context, array $blocks = [])
  208.     {
  209.         $macros $this->macros;
  210.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  211.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_ru"));
  212.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  213.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_ru"));
  214.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  215.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description_ru"));
  216.         // line 28
  217.         $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.'28$this->source); })()), "id", [], "any"falsefalsefalse28);
  218.         // line 29
  219.         $context["isGigolo"] = (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.'29$this->source); })()), "personParameters", [], "any"falsefalsefalse29), "gender", [], "any"falsefalsefalse29) == $this->extensions['App\Twig\PersonParametersExtension']->genderMale());
  220.         // line 30
  221.         $context["isTrans"] = (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), "gender", [], "any"falsefalsefalse30) == $this->extensions['App\Twig\PersonParametersExtension']->genderTrans());
  222.         // line 31
  223.         if ((isset($context["isGigolo"]) || array_key_exists("isGigolo"$context) ? $context["isGigolo"] : (function () { throw new RuntimeError('Variable "isGigolo" does not exist.'31$this->source); })())) {
  224.             echo "Жиголо";
  225.         } elseif ((isset($context["isTrans"]) || array_key_exists("isTrans"$context) ? $context["isTrans"] : (function () { throw new RuntimeError('Variable "isTrans" does not exist.'31$this->source); })())) {
  226.             echo "Транс";
  227.         } else {
  228.             echo "Проститутка";
  229.         }
  230.         echo " ";
  231.         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.'31$this->source); })()), "name", [], "any"falsefalsefalse31);
  232.         echo " в ";
  233.         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.'31$this->source); })()), "name", [], "any"falsefalsefalse31), "prepositional");
  234.         echo ", ";
  235.         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.'31$this->source); })()));
  236.         echo " ";
  237.         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.'31$this->source); })()));
  238.         echo " ";
  239.         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.'31$this->source); })()));
  240.         echo " ";
  241.         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.'31$this->source); })()));
  242.         echo " ";
  243.         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.'31$this->source); })()));
  244.         echo " досуга ";
  245.         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.'31$this->source); })()));
  246.         echo " или на выезде. Только лучшие ";
  247.         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.'31$this->source); })()));
  248.         echo " ";
  249.         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.'31$this->source); })()), "name", [], "any"falsefalsefalse31), "genitive");
  250.         echo ", для вас.";
  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 34
  259.     public function block_meta_description_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_description_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_description_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_description_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.     // line 38
  276.     public function block_meta_keywords_ru($context, array $blocks = [])
  277.     {
  278.         $macros $this->macros;
  279.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  280.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_ru"));
  281.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  282.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_ru"));
  283.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  284.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_ru"));
  285.         
  286.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  287.         
  288.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  289.         
  290.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  291.     }
  292.     // line 40
  293.     public function block_meta_keywords_en($context, array $blocks = [])
  294.     {
  295.         $macros $this->macros;
  296.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  297.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_en"));
  298.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_en"));
  300.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  301.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_keywords_en"));
  302.         
  303.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  304.         
  305.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  306.         
  307.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  308.     }
  309.     /**
  310.      * @codeCoverageIgnore
  311.      */
  312.     public function getTemplateName()
  313.     {
  314.         return "_seo/profile_preview.page.txt.twig";
  315.     }
  316.     /**
  317.      * @codeCoverageIgnore
  318.      */
  319.     public function getDebugInfo()
  320.     {
  321.         return array (  356 => 40,  332 => 38,  308 => 34,  268 => 31,  266 => 30,  264 => 29,  262 => 28,  249 => 27,  225 => 23,  200 => 20,  198 => 19,  196 => 18,  183 => 17,  159 => 13,  125 => 10,  102 => 8,  100 => 7,  98 => 6,  96 => 5,  94 => 4,  81 => 3,  68 => 40,  66 => 38,  64 => 34,  62 => 27,  60 => 23,  58 => 17,  56 => 13,  54 => 3,);
  322.     }
  323.     public function getSourceContext()
  324.     {
  325.         return new Source("{# --- Заголовки страницы <title> --- #}
  326. {%- block meta_title_ru -%}
  327. {% set station = not (profile.stations is empty) ? profile.stations[0] : null %}
  328. {% set isGigolo = (profile.personParameters.gender == gender_male()) %}
  329. {% set isTrans = (profile.personParameters.gender == gender_trans()) %}
  330. {% if city.uriIdentity == 'moskva' %}
  331. {% if isGigolo %}Жиголо{% elseif isTrans %}Транс{% else %}Проститутка{% endif %} {{ profile.name }}{% if profile.personParameters.age %} {{ 'год'|plural(profile.personParameters.age) }}{% endif %}, вызвать по телефону {{ profile.phoneNumber }}, ID{{ profile.id }}, {{ station ? station.name : '' }}
  332. {% else %}
  333. {% if isGigolo %}Жиголо{% elseif isTrans %}Транс{% else %}Проститутка{% endif %} {{ profile.name }}{% if profile.personParameters.age %} {{ 'год'|plural(profile.personParameters.age) }}{% endif %}, вызвать по телефону {{ profile.phoneNumber }}, ID{{ profile.id }}, {{ city.name|geo_name('nominative') }}
  334. {% endif %}
  335. {%- endblock meta_title_ru -%}
  336. {%- block meta_title_en -%}{%- endblock meta_title_en -%}
  337. {# --- Ключевые фразы страницы <h1> --- #}
  338. {%- block heading_ru -%}
  339. {% set isGigolo = (profile.personParameters.gender == gender_male()) %}
  340. {% set isTrans = (profile.personParameters.gender == gender_trans()) %}
  341. {% if isGigolo %}Жиголо{% elseif isTrans %}Транс{% else %}Индивидуалка{% endif %} {{ profile.name }}{% if profile.personParameters.age %} {{ 'год'|plural(profile.personParameters.age) }}{% endif %}
  342. {%- endblock heading_ru -%}
  343. {%- block heading_en -%}{%- endblock heading_en -%}
  344. {# --- Мета описания <meta name=\"description\"> --- #}
  345. {%- block meta_description_ru -%}
  346. {% set _id = profile.id %}
  347. {% set isGigolo = (profile.personParameters.gender == gender_male()) %}
  348. {% set isTrans = (profile.personParameters.gender == gender_trans()) %}
  349. {% if isGigolo %}Жиголо{% elseif isTrans %}Транс{% else %}Проститутка{% endif %} {{ profile.name }} в {{ city.name|geo_name('prepositional') }}, {{ 'подарит|принесет'|seo_morphing(_id) }} {{ 'истинное|незабываемое|нереальное'|seo_morphing(_id) }} {{ 'удовольствие|наслаждение'|seo_morphing(_id) }} {{ 'ценителям|любителям'|seo_morphing(_id) }} {{ 'интимного|сексуального'|seo_morphing(_id) }} досуга {{ 'у себя в апартаментах|в квартире|в номере|на дому'|seo_morphing(_id) }} или на выезде. Только лучшие {{ 'индивидуалки|шлюхи|путаны|жрицы любви'|seo_morphing(_id) }} {{ city.name|geo_name('genitive') }}, для вас.
  350. {%- endblock meta_description_ru -%}
  351. {%- block meta_description_en -%}{%- endblock meta_description_en -%}
  352. {# --- Мета ключи <meta name=\"keywords\"> --- #}
  353. {%- block meta_keywords_ru -%}{%- endblock meta_keywords_ru -%}
  354. {%- block meta_keywords_en -%}{%- endblock meta_keywords_en -%}
  355. ""_seo/profile_preview.page.txt.twig""/app/templates/_seo/profile_preview.page.txt.twig");
  356.     }
  357. }