<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* _seo/profile_preview.page.txt.twig */
class __TwigTemplate_84b9536e53d0f9b2ed6d511a44c599e0 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'meta_title_ru' => [$this, 'block_meta_title_ru'],
'meta_title_en' => [$this, 'block_meta_title_en'],
'heading_ru' => [$this, 'block_heading_ru'],
'heading_en' => [$this, 'block_heading_en'],
'meta_description_ru' => [$this, 'block_meta_description_ru'],
'meta_description_en' => [$this, 'block_meta_description_en'],
'meta_keywords_ru' => [$this, 'block_meta_keywords_ru'],
'meta_keywords_en' => [$this, 'block_meta_keywords_en'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "_seo/profile_preview.page.txt.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "_seo/profile_preview.page.txt.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "_seo/profile_preview.page.txt.twig"));
// line 3
$this->displayBlock('meta_title_ru', $context, $blocks);
// line 34
$this->displayBlock('meta_title_en', $context, $blocks);
// line 38
$this->displayBlock('heading_ru', $context, $blocks);
// line 42
$this->displayBlock('heading_en', $context, $blocks);
// line 46
$this->displayBlock('meta_description_ru', $context, $blocks);
// line 51
$this->displayBlock('meta_description_en', $context, $blocks);
// line 55
$this->displayBlock('meta_keywords_ru', $context, $blocks);
// line 57
$this->displayBlock('meta_keywords_en', $context, $blocks);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_meta_title_ru($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title_ru"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title_ru"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title_ru"));
// line 12
$context["prices1H"] = twig_array_filter($this->env, [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 13
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 13, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 13), "oneHourPrice", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 14
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 14, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 14), "oneHourPrice", [], "any", false, false, false, 14)], // line 15
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); })())); });
// line 17
$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));
// line 18
$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); })()) . " руб. час,")) : (""));
// line 20
$context["firstStation"] = (((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "stations", [], "any", true, true, false, 20) && !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", false, false, false, 20)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 21
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 21, $this->source); })()), "stations", [], "any", false, false, false, 21), "first", [], "any", false, false, false, 21)) : (null));
// line 23
$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", false, false, false, 23)) . ", ")) : (""));
// line 25
$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", false, false, false, 25) == $this->extensions['App\Twig\DefaultCityExtension']->defaultCity());
// line 27
if ((isset($context["isDefaultCity"]) || array_key_exists("isDefaultCity", $context) ? $context["isDefaultCity"] : (function () { throw new RuntimeError('Variable "isDefaultCity" does not exist.', 27, $this->source); })())) {
// line 28
echo "Проститутка ";
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", false, false, false, 28);
echo ", ";
echo (isset($context["stationOutput"]) || array_key_exists("stationOutput", $context) ? $context["stationOutput"] : (function () { throw new RuntimeError('Variable "stationOutput" does not exist.', 28, $this->source); })());
echo " ";
echo $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год", twig_get_attribute($this->env, $this->source, 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); })()), "personParameters", [], "any", false, false, false, 28), "age", [], "any", false, false, false, 28));
echo ", ";
echo (isset($context["min1HPriceOutput"]) || array_key_exists("min1HPriceOutput", $context) ? $context["min1HPriceOutput"] : (function () { throw new RuntimeError('Variable "min1HPriceOutput" does not exist.', 28, $this->source); })());
echo ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 28), "phone", [], "any", true, true, false, 28)) ? (((" телефон " . twig_get_attribute($this->env, $this->source, 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); })()), "seo", [], "any", false, false, false, 28), "phone", [], "any", false, false, false, 28)) . ",")) : (""));
echo " ID";
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", false, false, false, 28);
echo ", ";
echo $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection(twig_get_attribute($this->env, $this->source, 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); })()), "city", [], "any", false, false, false, 28), "name", [], "any", false, false, false, 28), "nominative");
} else {
// line 30
echo "Проститутка ";
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", false, false, false, 30);
echo ", ";
echo $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год", twig_get_attribute($this->env, $this->source, 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); })()), "personParameters", [], "any", false, false, false, 30), "age", [], "any", false, false, false, 30));
echo ", ";
echo (isset($context["min1HPriceOutput"]) || array_key_exists("min1HPriceOutput", $context) ? $context["min1HPriceOutput"] : (function () { throw new RuntimeError('Variable "min1HPriceOutput" does not exist.', 30, $this->source); })());
echo ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 30), "phone", [], "any", true, true, false, 30)) ? (((" телефон " . twig_get_attribute($this->env, $this->source, 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); })()), "seo", [], "any", false, false, false, 30), "phone", [], "any", false, false, false, 30)) . ",")) : (""));
echo " ID";
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", false, false, false, 30);
echo ", ";
echo $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection(twig_get_attribute($this->env, $this->source, 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); })()), "city", [], "any", false, false, false, 30), "name", [], "any", false, false, false, 30), "nominative");
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 34
public function block_meta_title_en($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title_en"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 38
public function block_heading_ru($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "heading_ru"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "heading_ru"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "heading_ru"));
// line 39
echo "Проститутка ";
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", false, false, false, 39);
echo " ";
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", false, false, false, 39);
echo ", индивидуалка ";
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", false, false, false, 39), "genitive");
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 42
public function block_heading_en($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "heading_en"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "heading_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "heading_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 46
public function block_meta_description_ru($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description_ru"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description_ru"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description_ru"));
// line 47
$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", false, false, false, 47);
// line 48
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); })()));
echo " ";
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", false, false, false, 48);
echo ", ";
echo $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год", twig_get_attribute($this->env, $this->source, 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); })()), "personParameters", [], "any", false, false, false, 48), "age", [], "any", false, false, false, 48));
echo " — ";
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); })()));
echo " ";
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->source, 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); })()), "personParameters", [], "any", false, false, false, 48), "hairColor", [], "any", false, false, false, 48)), [], "hair_colors"));
echo ". ";
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); })()));
echo ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "seo", [], "any", false, true, false, 48), "phone", [], "any", true, true, false, 48)) ? ((" по тел. " . twig_get_attribute($this->env, $this->source, 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); })()), "seo", [], "any", false, false, false, 48), "phone", [], "any", false, false, false, 48))) : (""));
echo ". Анкета №";
echo (isset($context["_id"]) || array_key_exists("_id", $context) ? $context["_id"] : (function () { throw new RuntimeError('Variable "_id" does not exist.', 48, $this->source); })());
echo ". ";
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); })()));
echo " — лучшее для тебя уже рядом!";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 51
public function block_meta_description_en($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description_en"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 55
public function block_meta_keywords_ru($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_keywords_ru"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_keywords_ru"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_keywords_ru"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 57
public function block_meta_keywords_en($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_keywords_en"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_keywords_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_keywords_en"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "_seo/profile_preview.page.txt.twig";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{# --- Заголовки страницы <title> --- #}
{%- block meta_title_ru -%}
{# {%- set prices = [
profile.apartmentsPricing.oneHourPrice,
profile.apartmentsPricing.twoHoursPrice,
profile.apartmentsPricing.nightPrice,
profile.takeOutPricing.oneHourPrice,
profile.takeOutPricing.twoHoursPrice,
profile.takeOutPricing.nightPrice
]|filter(v => v is not null) -%} #}
{%- set prices1H = [
profile.apartmentsPricing.oneHourPrice,
profile.takeOutPricing.oneHourPrice
]|filter(v => v is not null) -%}
{%- set min1HPrice = prices1H is not empty ? min(prices1H) : 0 -%}
{%- set min1HPriceOutput = min1HPrice > 0 ? min1HPrice ~ ' руб. час,' : '' -%}
{%- set firstStation = profile.stations is defined and profile.stations is not empty
? profile.stations.first
: null -%}
{%- set stationOutput = firstStation ? 'метро ' ~ firstStation.name ~ ', ' : '' -%}
{%- set isDefaultCity = profile.city == default_city() -%}
{%- if isDefaultCity -%}
Проститутка {{ 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') }}
{%- else -%}
Проститутка {{ profile.name }}, {{ 'год'|plural(profile.personParameters.age) }}, {{ min1HPriceOutput }}{{ profile.seo.phone is defined ? ' телефон ' ~ profile.seo.phone ~ ',' : '' }} ID{{ profile.id }}, {{ profile.city.name|geo_name('nominative') }}
{%- endif -%}
{%- endblock meta_title_ru -%}
{%- block meta_title_en -%}{%- endblock meta_title_en -%}
{# --- Ключевые фразы страницы <h1> --- #}
{%- block heading_ru -%}
Проститутка {{ profile.name }} {{ profile.phoneNumber }}, индивидуалка {{ city.name|geo_name('genitive') }}
{%- endblock heading_ru -%}
{%- block heading_en -%}{%- endblock heading_en -%}
{# --- Мета описания <meta name=\"description\"> --- #}
{%- block meta_description_ru -%}
{% set _id = profile.id %}
{{- 'Проститутка|Индивидуалка|Путана'|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) }} — лучшее для тебя уже рядом!
{%- endblock meta_description_ru -%}
{%- block meta_description_en -%}{%- endblock meta_description_en -%}
{# --- Мета ключи <meta name=\"keywords\"> --- #}
{%- block meta_keywords_ru -%}{%- endblock meta_keywords_ru -%}
{%- block meta_keywords_en -%}{%- endblock meta_keywords_en -%}
", "_seo/profile_preview.page.txt.twig", "/app/templates/_seo/profile_preview.page.txt.twig");
}
}