<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* base.html.twig */
class __TwigTemplate_2e19514555185ca8097bd78da8cae924e49478e2128ab33fd7ad5939204dd04e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'meta' => [$this, 'block_meta'],
'style' => [$this, 'block_style'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"";
// line 2
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "_"), 0, [], "array", false, false, false, 2), "html", null, true);
yield "\">
\t";
// line 3
$context["locale"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3);
// line 4
yield "\t";
$context["snippets"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("footer");
// line 5
yield "\t";
$context["snippet_contact"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("contact");
// line 6
yield "\t";
$context["contact_off"] = 0;
// line 7
yield "\t";
$context["ressource_off"] = 0;
// line 8
yield "\t<head>
\t\t<link rel=\"preload\" href=\"";
// line 9
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/fonts/YWFT_Ultramagnetic_Rough_Bold_One.otf"), "html", null, true);
yield "\" as=\"font\" type=\"font/otf\" crossorigin>
\t\t<link rel=\"preload\" href=\"";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/fonts/Barlow-Medium.ttf"), "html", null, true);
yield "\" as=\"font\" type=\"font/ttf\" crossorigin>
\t\t<link rel=\"preload\" href=\"";
// line 11
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/fonts/Barlow-Regular.ttf"), "html", null, true);
yield "\" as=\"font\" type=\"font/ttf\" crossorigin>
\t\t<link rel=\"preload\" href=\"";
// line 12
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/fonts/Barlow-SemiBold.ttf"), "html", null, true);
yield "\" as=\"font\" type=\"font/ttf\" crossorigin>
\t\t<link rel=\"preload\" href=\"";
// line 13
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/fonts/Barlow-Black.ttf"), "html", null, true);
yield "\" as=\"font\" type=\"font/ttf\" crossorigin>
\t\t";
// line 14
yield from $this->loadTemplate("css/base-critical-css.html.twig", "base.html.twig", 14)->unwrap()->yield($context);
// line 15
yield "\t\t<meta charset=\"utf-8\">
\t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> ";
// line 17
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
// line 18
yield "\t\t";
yield from $this->unwrap()->yieldBlock('meta', $context, $blocks);
// line 27
yield "
\t\t";
// line 28
yield from $this->unwrap()->yieldBlock('style', $context, $blocks);
// line 51
yield "\t</head>
\t<body>
\t\t";
// line 53
yield Twig\Extension\CoreExtension::source($this->env, "iconset/iconset.html.twig");
yield "
\t\t";
// line 54
yield from $this->loadTemplate("search-popin.html.twig", "base.html.twig", 54)->unwrap()->yield($context);
// line 55
yield "\t\t<span id=\"backToTopButton\" class=\"bgblue jcc aic dflex\"><img src=\"/resources/img/up-arrow-icon.svg\" alt=\"Remonter en haut de la page\" width=\"18\" height=\"20\"></span>
\t\t<header class=\"sticky\">
\t\t\t";
// line 57
yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
// line 60
yield "\t\t</header>
\t\t<main class=\"prelative\">
\t\t\t";
// line 62
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 63
yield "\t\t</main>
\t\t";
// line 65
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 65, $this->source); })()), "request", [], "any", false, false, false, 65), "pathInfo", [], "any", false, false, false, 65), "/fr/contact/contactez-nous"))) {
// line 66
yield "\t\t\t";
$context["contact_off"] = 1;
// line 67
yield "\t\t";
}
// line 68
yield "\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 68, $this->source); })()), "request", [], "any", false, false, false, 68), "pathInfo", [], "any", false, false, false, 68), "/fr/contact/proposez-une-ressource"))) {
// line 69
yield "\t\t\t";
$context["ressource_off"] = 1;
// line 70
yield "\t\t";
}
// line 71
yield "\t\t";
yield from $this->loadTemplate("contact_snippet.html.twig", "base.html.twig", 71)->unwrap()->yield(CoreExtension::merge($context, ["contact_off" => (isset($context["contact_off"]) || array_key_exists("contact_off", $context) ? $context["contact_off"] : (function () { throw new RuntimeError('Variable "contact_off" does not exist.', 71, $this->source); })()), "ressource_off" => (isset($context["ressource_off"]) || array_key_exists("ressource_off", $context) ? $context["ressource_off"] : (function () { throw new RuntimeError('Variable "ressource_off" does not exist.', 71, $this->source); })())]));
// line 72
yield "\t\t";
yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
// line 75
yield "
\t\t";
// line 76
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 99
yield "\t</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
return; yield '';
}
// line 17
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 18
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 19
yield "\t\t\t";
yield from $this->loadTemplate("@SuluWebsite/Extension/seo.html.twig", "base.html.twig", 19)->unwrap()->yield(CoreExtension::merge($context, ["seo" => ((CoreExtension::getAttribute($this->env, $this->source, // line 20
($context["extension"] ?? null), "seo", [], "any", true, true, false, 20)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, false, false, 20), [])) : ([])), "content" => (( // line 21
array_key_exists("content", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 21, $this->source); })()), [])) : ([])), "localizations" => (( // line 22
array_key_exists("localizations", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["localizations"]) || array_key_exists("localizations", $context) ? $context["localizations"] : (function () { throw new RuntimeError('Variable "localizations" does not exist.', 22, $this->source); })()), [])) : ([])), "shadowBaseLocale" => (( // line 23
array_key_exists("shadowBaseLocale", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["shadowBaseLocale"]) || array_key_exists("shadowBaseLocale", $context) ? $context["shadowBaseLocale"] : (function () { throw new RuntimeError('Variable "shadowBaseLocale" does not exist.', 23, $this->source); })()))) : ("")), "defaultLocale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 24
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "locale", [], "any", false, false, false, 24)]));
// line 26
yield "\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 28
public function block_style($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
// line 29
yield "\t\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "base.html.twig", 29)->unwrap()->yield(CoreExtension::merge($context, ["file" => "app"]));
// line 30
yield "\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackCssFiles("print"));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 31
yield "\t\t\t\t<link rel=\"stylesheet\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"]), "html", null, true);
yield "\" type=\"text/css\" crossorigin=\"anonymous\" media=\"print\">
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 33
yield "\t\t\t";
if ((((CoreExtension::inFilter("registration", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "requestUri", [], "any", false, false, false, 33)) || CoreExtension::inFilter("profile", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 34
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "request", [], "any", false, false, false, 34), "requestUri", [], "any", false, false, false, 34))) || CoreExtension::inFilter("password", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 35
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), "requestUri", [], "any", false, false, false, 35))) || CoreExtension::inFilter("confirmation", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 36
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 36, $this->source); })()), "request", [], "any", false, false, false, 36), "requestUri", [], "any", false, false, false, 36)))) {
// line 37
yield "\t\t\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "base.html.twig", 37)->unwrap()->yield(CoreExtension::merge($context, ["file" => "profile_css"]));
// line 38
yield "\t\t\t";
}
// line 39
yield "\t\t\t";
if (((CoreExtension::inFilter("registration", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "requestUri", [], "any", false, false, false, 39)) || CoreExtension::inFilter("password", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 40
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 40, $this->source); })()), "request", [], "any", false, false, false, 40), "requestUri", [], "any", false, false, false, 40))) || CoreExtension::inFilter("confirmation", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 41
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 41, $this->source); })()), "request", [], "any", false, false, false, 41), "requestUri", [], "any", false, false, false, 41)))) {
// line 42
yield "\t\t\t\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "base.html.twig", 42)->unwrap()->yield(CoreExtension::merge($context, ["file" => "registration_css"]));
// line 43
yield "\t\t\t";
}
// line 44
yield "\t\t\t<link rel=\"shortcut icon\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
yield "\" type=\"image/x-icon\">
\t\t\t<link rel=\"icon\" sizes=\"16x16 32x32\" href=\"";
// line 45
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-16x16.png"), "html", null, true);
yield "\">
\t\t\t<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
// line 46
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("apple-touch-icon.png"), "html", null, true);
yield "\">
\t\t\t<link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"";
// line 47
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("android-chrome-192x192.png"), "html", null, true);
yield "\">
\t\t\t<link rel=\"icon\" type=\"image/png\" sizes=\"512x512\" href=\"";
// line 48
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("android-chrome-512x512.png"), "html", null, true);
yield "\">
\t\t\t<link rel=\"manifest\" href=\"";
// line 49
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("site.webmanifest"), "html", null, true);
yield "\">
\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 57
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 58
yield "\t\t\t\t";
yield from $this->loadTemplate("header.html.twig", "base.html.twig", 58)->unwrap()->yield($context);
// line 59
yield "\t\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 62
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 72
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 73
yield "\t\t\t";
yield from $this->loadTemplate("footer.html.twig", "base.html.twig", 73)->unwrap()->yield($context);
// line 74
yield "\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 76
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 77
yield "\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackJsFiles("app"));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 78
yield "\t\t\t\t<script src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"]), "html", null, true);
yield "\" defer=\"defer\"></script>
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 80
yield "\t\t\t<script>
\t\t\t\t";
// line 81
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["snippets"] ?? null), "content", [], "any", false, true, false, 81), "email", [], "any", true, true, false, 81)) {
yield "const pEmail = document.querySelector('#pqna-email');let email = atob('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(base64_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["snippets"]) || array_key_exists("snippets", $context) ? $context["snippets"] : (function () { throw new RuntimeError('Variable "snippets" does not exist.', 81, $this->source); })()), "content", [], "any", false, false, false, 81), "email", [], "any", false, false, false, 81)), "html", null, true);
yield "');pEmail.innerText = email;pEmail.href = `mailto:\${email}`;";
}
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["snippets"] ?? null), "content", [], "any", false, true, false, 81), "numero", [], "any", true, true, false, 81) && !null)) {
yield "const pPhone = document.querySelector('#pqna-phone');let phone = atob('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(base64_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["snippets"]) || array_key_exists("snippets", $context) ? $context["snippets"] : (function () { throw new RuntimeError('Variable "snippets" does not exist.', 81, $this->source); })()), "content", [], "any", false, false, false, 81), "numero", [], "any", false, false, false, 81)), "html", null, true);
yield "');pPhone.innerText = phone;let hrefTel = phone.replace(/[\\s.-]/g, \"\");pPhone.href = `tel:\${hrefTel}`;";
}
// line 82
yield "\t\t\t</script>
\t\t\t<!-- Matomo -->
\t\t\t<script>
\t\t\tvar _paq = window._paq = window._paq || [];
\t\t\t/ tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" /
\t\t\t_paq.push(['trackPageView']);
\t\t\t_paq.push(['enableLinkTracking']);
\t\t\t(function() {
\t\t\tvar u=\"//matomopqna.fr/\";
\t\t\t_paq.push(['setTrackerUrl', u+'matomo.php']);
\t\t\t_paq.push(['setSiteId', '1']);
\t\t\tvar d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
\t\t\tg.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
\t\t\t})();
\t\t\t</script>
\t\t\t<!-- End Matomo Code -->
\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 415 => 82, 404 => 81, 401 => 80, 392 => 78, 387 => 77, 377 => 76, 366 => 74, 363 => 73, 353 => 72, 334 => 62, 323 => 59, 320 => 58, 310 => 57, 297 => 49, 293 => 48, 289 => 47, 285 => 46, 281 => 45, 276 => 44, 273 => 43, 270 => 42, 268 => 41, 267 => 40, 265 => 39, 262 => 38, 259 => 37, 257 => 36, 256 => 35, 255 => 34, 253 => 33, 244 => 31, 239 => 30, 236 => 29, 226 => 28, 215 => 26, 213 => 24, 212 => 23, 211 => 22, 210 => 21, 209 => 20, 207 => 19, 197 => 18, 178 => 17, 165 => 99, 163 => 76, 160 => 75, 157 => 72, 154 => 71, 151 => 70, 148 => 69, 145 => 68, 142 => 67, 139 => 66, 137 => 65, 133 => 63, 131 => 62, 127 => 60, 125 => 57, 121 => 55, 119 => 54, 115 => 53, 111 => 51, 109 => 28, 106 => 27, 103 => 18, 101 => 17, 97 => 15, 95 => 14, 91 => 13, 87 => 12, 83 => 11, 79 => 10, 75 => 9, 72 => 8, 69 => 7, 66 => 6, 63 => 5, 60 => 4, 58 => 3, 54 => 2, 51 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale|split('_')[0] }}\">
\t{% set locale = app.request.locale %}
\t{% set snippets = sulu_snippet_load_by_area('footer') %}
\t{% set snippet_contact = sulu_snippet_load_by_area('contact') %}
\t{% set contact_off = 0 %}
\t{% set ressource_off = 0 %}
\t<head>
\t\t<link rel=\"preload\" href=\"{{ asset('build/website/fonts/YWFT_Ultramagnetic_Rough_Bold_One.otf') }}\" as=\"font\" type=\"font/otf\" crossorigin>
\t\t<link rel=\"preload\" href=\"{{ asset('build/website/fonts/Barlow-Medium.ttf') }}\" as=\"font\" type=\"font/ttf\" crossorigin>
\t\t<link rel=\"preload\" href=\"{{ asset('build/website/fonts/Barlow-Regular.ttf') }}\" as=\"font\" type=\"font/ttf\" crossorigin>
\t\t<link rel=\"preload\" href=\"{{ asset('build/website/fonts/Barlow-SemiBold.ttf') }}\" as=\"font\" type=\"font/ttf\" crossorigin>
\t\t<link rel=\"preload\" href=\"{{ asset('build/website/fonts/Barlow-Black.ttf') }}\" as=\"font\" type=\"font/ttf\" crossorigin>
\t\t{% include \"css/base-critical-css.html.twig\" %}
\t\t<meta charset=\"utf-8\">
\t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> {% block title %}{% endblock %}
\t\t{% block meta %}
\t\t\t{% include \"@SuluWebsite/Extension/seo.html.twig\" with {
\"seo\": extension.seo|default([]),
\"content\": content|default([]),
\"localizations\": localizations|default([]),
\"shadowBaseLocale\": shadowBaseLocale|default(),
\"defaultLocale\": app.request.locale
} %}
\t\t{% endblock %}
\t\t{% block style %}
\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'app'} %}
\t\t\t{% for file in encore_entry_css_files('print') %}
\t\t\t\t<link rel=\"stylesheet\" href=\"{{ asset(file) }}\" type=\"text/css\" crossorigin=\"anonymous\" media=\"print\">
\t\t\t{% endfor %}
\t\t\t{% if \"registration\" in app.request.requestUri
\t\t\tor \"profile\" in app.request.requestUri
\t\t\tor \"password\" in app.request.requestUri
\t\t\tor \"confirmation\" in app.request.requestUri %}
\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'profile_css'} %}
\t\t\t{% endif %}
\t\t\t{% if \"registration\" in app.request.requestUri
\t\t\tor \"password\" in app.request.requestUri
\t\t\tor \"confirmation\" in app.request.requestUri %}
\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'registration_css'} %}
\t\t\t{% endif %}
\t\t\t<link rel=\"shortcut icon\" href=\"{{ asset('favicon.ico') }}\" type=\"image/x-icon\">
\t\t\t<link rel=\"icon\" sizes=\"16x16 32x32\" href=\"{{ asset('favicon-16x16.png') }}\">
\t\t\t<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('apple-touch-icon.png') }}\">
\t\t\t<link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"{{ asset('android-chrome-192x192.png') }}\">
\t\t\t<link rel=\"icon\" type=\"image/png\" sizes=\"512x512\" href=\"{{ asset('android-chrome-512x512.png') }}\">
\t\t\t<link rel=\"manifest\" href=\"{{ asset('site.webmanifest') }}\">
\t\t{% endblock %}
\t</head>
\t<body>
\t\t{{ source('iconset/iconset.html.twig') }}
\t\t{% include \"search-popin.html.twig\" %}
\t\t<span id=\"backToTopButton\" class=\"bgblue jcc aic dflex\"><img src=\"/resources/img/up-arrow-icon.svg\" alt=\"Remonter en haut de la page\" width=\"18\" height=\"20\"></span>
\t\t<header class=\"sticky\">
\t\t\t{% block header %}
\t\t\t\t{% include 'header.html.twig' %}
\t\t\t{% endblock %}
\t\t</header>
\t\t<main class=\"prelative\">
\t\t\t{% block content %}{% endblock %}
\t\t</main>
\t\t{% if app.request.pathInfo == \"/fr/contact/contactez-nous\" %}
\t\t\t{% set contact_off = 1 %}
\t\t{% endif %}
\t\t{% if app.request.pathInfo == \"/fr/contact/proposez-une-ressource\" %}
\t\t\t{% set ressource_off = 1 %}
\t\t{% endif %}
\t\t{% include \"contact_snippet.html.twig\" with {'contact_off': contact_off, 'ressource_off': ressource_off} %}
\t\t{% block footer %}
\t\t\t{% include 'footer.html.twig' %}
\t\t{% endblock %}
\t\t{% block javascripts %}
\t\t\t{% for file in encore_entry_js_files('app') %}
\t\t\t\t<script src=\"{{ asset(file) }}\" defer=\"defer\"></script>
\t\t\t{% endfor %}
\t\t\t<script>
\t\t\t\t{% if snippets.content.email is defined %}const pEmail = document.querySelector('#pqna-email');let email = atob('{{ snippets.content.email|base64_encode }}');pEmail.innerText = email;pEmail.href = `mailto:\${email}`;{% endif %}{% if snippets.content.numero is defined and not null %}const pPhone = document.querySelector('#pqna-phone');let phone = atob('{{ snippets.content.numero|base64_encode }}');pPhone.innerText = phone;let hrefTel = phone.replace(/[\\s.-]/g, \"\");pPhone.href = `tel:\${hrefTel}`;{% endif %}
\t\t\t</script>
\t\t\t<!-- Matomo -->
\t\t\t<script>
\t\t\tvar _paq = window._paq = window._paq || [];
\t\t\t/ tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" /
\t\t\t_paq.push(['trackPageView']);
\t\t\t_paq.push(['enableLinkTracking']);
\t\t\t(function() {
\t\t\tvar u=\"//matomopqna.fr/\";
\t\t\t_paq.push(['setTrackerUrl', u+'matomo.php']);
\t\t\t_paq.push(['setSiteId', '1']);
\t\t\tvar d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
\t\t\tg.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
\t\t\t})();
\t\t\t</script>
\t\t\t<!-- End Matomo Code -->
\t\t{% endblock %}
\t</body>
</html>
", "base.html.twig", "/var/www/html/templates/base.html.twig");
}
}