<?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;
/* Frontend/landing/cgv-pro.html.twig */
class __TwigTemplate_7d9e87752c99df570f65a4da16dca040 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta_robot' => [$this, 'block_meta_robot'],
'meta_title' => [$this, 'block_meta_title'],
'meta_desc' => [$this, 'block_meta_desc'],
'body_content' => [$this, 'block_body_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend/frontend_pro.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/landing/cgv-pro.html.twig"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/landing/cgv-pro.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/landing/cgv-pro.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontend_pro.html.twig", "Frontend/landing/cgv-pro.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_meta_robot($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_robot"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_robot"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_robot"));
// line 4
echo " ";
$this->displayParentBlock("meta_robot", $context, $blocks);
echo "
<link rel=\"canonical\" href=\"";
// line 5
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("frontend_cgv_pro");
echo "\"/>
";
// line 6
echo twig_source($this->env, "stubs/seo/robots_noindex_nofollow.html.twig");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_meta_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.landing.cgv-pro.title", [], "seo"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 10
public function block_meta_desc($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.landing.cgv-pro.desc", [], "seo"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 12
public function block_body_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
// line 13
echo " ";
if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL"))) {
// line 14
echo " ";
$this->loadTemplate("/Frontend/landing/cgv/pro/pt/portugal_pro_content.html.twig", "Frontend/landing/cgv-pro.html.twig", 14)->display(twig_array_merge($context, ["header" => true]));
// line 15
echo " ";
} elseif ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_BELGIUM"))) {
// line 16
echo " ";
$this->loadTemplate("/Frontend/landing/cgv/pro/be/belgium_pro_content.html.twig", "Frontend/landing/cgv-pro.html.twig", 16)->display(twig_array_merge($context, ["header" => true]));
// line 17
echo " ";
} elseif ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_SPAIN"))) {
// line 18
echo " ";
$this->loadTemplate("/Frontend/landing/cgv/pro/es/spain_pro_content.html.twig", "Frontend/landing/cgv-pro.html.twig", 18)->display(twig_array_merge($context, ["header" => true]));
// line 19
echo " ";
} else {
// line 20
echo " ";
$this->loadTemplate("/Frontend/landing/cgv/pro/_cgv_pro_content.html.twig", "Frontend/landing/cgv-pro.html.twig", 20)->display(twig_array_merge($context, ["header" => true]));
// line 21
echo " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Frontend/landing/cgv-pro.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 191 => 21, 188 => 20, 185 => 19, 182 => 18, 179 => 17, 176 => 16, 173 => 15, 170 => 14, 167 => 13, 154 => 12, 129 => 10, 104 => 9, 89 => 6, 85 => 5, 80 => 4, 67 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/frontend_pro.html.twig' %}
{% block meta_robot %}
{{ parent() }}
<link rel=\"canonical\" href=\"{{ url('frontend_cgv_pro') }}\"/>
{{ source('stubs/seo/robots_noindex_nofollow.html.twig') }}
{% endblock %}
{% block meta_title %}{{ 'seo.landing.cgv-pro.title'|trans({}, \"seo\") }}{% endblock %}
{% block meta_desc %}{{ 'seo.landing.cgv-pro.desc'|trans({}, \"seo\") }}{% endblock %}
{% block body_content %}
{% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_PORTUGAL')) %}
{% include '/Frontend/landing/cgv/pro/pt/portugal_pro_content.html.twig' with {'header': true } %}
{% elseif is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_BELGIUM')) %}
{% include '/Frontend/landing/cgv/pro/be/belgium_pro_content.html.twig' with {'header': true } %}
{% elseif is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_SPAIN')) %}
{% include '/Frontend/landing/cgv/pro/es/spain_pro_content.html.twig' with {'header': true } %}
{% else %}
{% include '/Frontend/landing/cgv/pro/_cgv_pro_content.html.twig' with {'header': true } %}
{% endif %}
{% endblock body_content %}
", "Frontend/landing/cgv-pro.html.twig", "/srv/src/Resources/views/Frontend/landing/cgv-pro.html.twig");
}
}