var/cache/website/dev/twig/fd/fdcf24adccc21c18a258aa80af2b2e3429a31df87c6e46db3a51676e3c889eb2.php line 104

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* base.html.twig */
  15. class __TwigTemplate_2e19514555185ca8097bd78da8cae924e49478e2128ab33fd7ad5939204dd04e extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.             'title' => [$this'block_title'],
  26.             'meta' => [$this'block_meta'],
  27.             'style' => [$this'block_style'],
  28.             'header' => [$this'block_header'],
  29.             'content' => [$this'block_content'],
  30.             'footer' => [$this'block_footer'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  41.         // line 1
  42.         yield "<!DOCTYPE html>
  43. <html lang=\"";
  44.         // line 2
  45.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceTwig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "_"), 0, [], "array"falsefalsefalse2), "html"nulltrue);
  46.         yield "\">
  47. \t";
  48.         // line 3
  49.         $context["locale"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse3), "locale", [], "any"falsefalsefalse3);
  50.         // line 4
  51.         yield "\t";
  52.         $context["snippets"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("footer");
  53.         // line 5
  54.         yield "\t";
  55.         $context["snippet_contact"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("contact");
  56.         // line 6
  57.         yield "\t";
  58.         $context["contact_off"] = 0;
  59.         // line 7
  60.         yield "\t";
  61.         $context["ressource_off"] = 0;
  62.         // line 8
  63.         yield "\t<head>
  64. \t\t<link rel=\"preload\" href=\"";
  65.         // line 9
  66.         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"nulltrue);
  67.         yield "\" as=\"font\" type=\"font/otf\" crossorigin>
  68. \t\t<link rel=\"preload\" href=\"";
  69.         // line 10
  70.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/fonts/Barlow-Medium.ttf"), "html"nulltrue);
  71.         yield "\" as=\"font\" type=\"font/ttf\" crossorigin>
  72. \t\t<link rel=\"preload\" href=\"";
  73.         // line 11
  74.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/fonts/Barlow-Regular.ttf"), "html"nulltrue);
  75.         yield "\" as=\"font\" type=\"font/ttf\" crossorigin>
  76. \t\t<link rel=\"preload\" href=\"";
  77.         // line 12
  78.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/fonts/Barlow-SemiBold.ttf"), "html"nulltrue);
  79.         yield "\" as=\"font\" type=\"font/ttf\" crossorigin>
  80. \t\t<link rel=\"preload\" href=\"";
  81.         // line 13
  82.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/website/fonts/Barlow-Black.ttf"), "html"nulltrue);
  83.         yield "\" as=\"font\" type=\"font/ttf\" crossorigin>
  84. \t\t";
  85.         // line 14
  86.         yield from         $this->loadTemplate("css/base-critical-css.html.twig""base.html.twig"14)->unwrap()->yield($context);
  87.         // line 15
  88.         yield "\t\t<meta charset=\"utf-8\">
  89. \t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  90. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> ";
  91.         // line 17
  92.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  93.         // line 18
  94.         yield "\t\t";
  95.         yield from $this->unwrap()->yieldBlock('meta'$context$blocks);
  96.         // line 27
  97.         yield "
  98. \t\t";
  99.         // line 28
  100.         yield from $this->unwrap()->yieldBlock('style'$context$blocks);
  101.         // line 51
  102.         yield "\t</head>
  103. \t<body>
  104. \t\t";
  105.         // line 53
  106.         yield Twig\Extension\CoreExtension::source($this->env"iconset/iconset.html.twig");
  107.         yield "
  108. \t\t";
  109.         // line 54
  110.         yield from         $this->loadTemplate("search-popin.html.twig""base.html.twig"54)->unwrap()->yield($context);
  111.         // line 55
  112.         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>
  113. \t\t<header class=\"sticky\">
  114. \t\t\t";
  115.         // line 57
  116.         yield from $this->unwrap()->yieldBlock('header'$context$blocks);
  117.         // line 60
  118.         yield "\t\t</header>
  119. \t\t<main class=\"prelative\">
  120. \t\t\t";
  121.         // line 62
  122.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  123.         // line 63
  124.         yield "\t\t</main>
  125. \t\t";
  126.         // line 65
  127.         if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse65), "pathInfo", [], "any"falsefalsefalse65), "/fr/contact/contactez-nous"))) {
  128.             // line 66
  129.             yield "\t\t\t";
  130.             $context["contact_off"] = 1;
  131.             // line 67
  132.             yield "\t\t";
  133.         }
  134.         // line 68
  135.         yield "\t\t";
  136.         if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse68), "pathInfo", [], "any"falsefalsefalse68), "/fr/contact/proposez-une-ressource"))) {
  137.             // line 69
  138.             yield "\t\t\t";
  139.             $context["ressource_off"] = 1;
  140.             // line 70
  141.             yield "\t\t";
  142.         }
  143.         // line 71
  144.         yield "\t\t";
  145.         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); })())]));
  146.         // line 72
  147.         yield "\t\t";
  148.         yield from $this->unwrap()->yieldBlock('footer'$context$blocks);
  149.         // line 75
  150.         yield "
  151. \t\t";
  152.         // line 76
  153.         yield from $this->unwrap()->yieldBlock('javascripts'$context$blocks);
  154.         // line 99
  155.         yield "\t</body>
  156. </html>
  157. ";
  158.         
  159.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  160.         
  161.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  162.         return; yield '';
  163.     }
  164.     // line 17
  165.     public function block_title($context, array $blocks = [])
  166.     {
  167.         $macros $this->macros;
  168.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  169.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  170.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  171.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  172.         
  173.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  174.         
  175.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  176.         return; yield '';
  177.     }
  178.     // line 18
  179.     public function block_meta($context, array $blocks = [])
  180.     {
  181.         $macros $this->macros;
  182.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  183.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  184.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  185.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  186.         // line 19
  187.         yield "\t\t\t";
  188.         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
  189. ($context["extension"] ?? null), "seo", [], "any"truetruefalse20)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsefalsefalse20), [])) : ([])), "content" => ((        // line 21
  190. 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
  191. 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
  192. 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->sourceCoreExtension::getAttribute($this->env$this->source,         // line 24
  193. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'24$this->source); })()), "request", [], "any"falsefalsefalse24), "locale", [], "any"falsefalsefalse24)]));
  194.         // line 26
  195.         yield "\t\t";
  196.         
  197.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  198.         
  199.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  200.         return; yield '';
  201.     }
  202.     // line 28
  203.     public function block_style($context, array $blocks = [])
  204.     {
  205.         $macros $this->macros;
  206.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  207.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  208.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  209.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  210.         // line 29
  211.         yield "\t\t\t";
  212.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""base.html.twig"29)->unwrap()->yield(CoreExtension::merge($context, ["file" => "app"]));
  213.         // line 30
  214.         yield "\t\t\t";
  215.         $context['_parent'] = $context;
  216.         $context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackCssFiles("print"));
  217.         foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
  218.             // line 31
  219.             yield "\t\t\t\t<link rel=\"stylesheet\" href=\"";
  220.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"]), "html"nulltrue);
  221.             yield "\" type=\"text/css\" crossorigin=\"anonymous\" media=\"print\">
  222. \t\t\t";
  223.         }
  224.         $_parent $context['_parent'];
  225.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
  226.         $context array_intersect_key($context$_parent) + $_parent;
  227.         // line 33
  228.         yield "\t\t\t";
  229.         if ((((CoreExtension::inFilter("registration"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse33), "requestUri", [], "any"falsefalsefalse33)) || CoreExtension::inFilter("profile"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 34
  230. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'34$this->source); })()), "request", [], "any"falsefalsefalse34), "requestUri", [], "any"falsefalsefalse34))) || CoreExtension::inFilter("password"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 35
  231. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'35$this->source); })()), "request", [], "any"falsefalsefalse35), "requestUri", [], "any"falsefalsefalse35))) || CoreExtension::inFilter("confirmation"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 36
  232. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'36$this->source); })()), "request", [], "any"falsefalsefalse36), "requestUri", [], "any"falsefalsefalse36)))) {
  233.             // line 37
  234.             yield "\t\t\t\t";
  235.             yield from             $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""base.html.twig"37)->unwrap()->yield(CoreExtension::merge($context, ["file" => "profile_css"]));
  236.             // line 38
  237.             yield "\t\t\t";
  238.         }
  239.         // line 39
  240.         yield "\t\t\t";
  241.         if (((CoreExtension::inFilter("registration"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse39), "requestUri", [], "any"falsefalsefalse39)) || CoreExtension::inFilter("password"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 40
  242. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "requestUri", [], "any"falsefalsefalse40))) || CoreExtension::inFilter("confirmation"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 41
  243. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'41$this->source); })()), "request", [], "any"falsefalsefalse41), "requestUri", [], "any"falsefalsefalse41)))) {
  244.             // line 42
  245.             yield "\t\t\t\t";
  246.             yield from             $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""base.html.twig"42)->unwrap()->yield(CoreExtension::merge($context, ["file" => "registration_css"]));
  247.             // line 43
  248.             yield "\t\t\t";
  249.         }
  250.         // line 44
  251.         yield "\t\t\t<link rel=\"shortcut icon\" href=\"";
  252.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html"nulltrue);
  253.         yield "\" type=\"image/x-icon\">
  254. \t\t\t<link rel=\"icon\" sizes=\"16x16 32x32\" href=\"";
  255.         // line 45
  256.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-16x16.png"), "html"nulltrue);
  257.         yield "\">
  258. \t\t\t<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
  259.         // line 46
  260.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("apple-touch-icon.png"), "html"nulltrue);
  261.         yield "\">
  262. \t\t\t<link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"";
  263.         // line 47
  264.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("android-chrome-192x192.png"), "html"nulltrue);
  265.         yield "\">
  266. \t\t\t<link rel=\"icon\" type=\"image/png\" sizes=\"512x512\" href=\"";
  267.         // line 48
  268.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("android-chrome-512x512.png"), "html"nulltrue);
  269.         yield "\">
  270. \t\t\t<link rel=\"manifest\" href=\"";
  271.         // line 49
  272.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("site.webmanifest"), "html"nulltrue);
  273.         yield "\">
  274. \t\t";
  275.         
  276.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  277.         
  278.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  279.         return; yield '';
  280.     }
  281.     // line 57
  282.     public function block_header($context, array $blocks = [])
  283.     {
  284.         $macros $this->macros;
  285.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  287.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  289.         // line 58
  290.         yield "\t\t\t\t";
  291.         yield from         $this->loadTemplate("header.html.twig""base.html.twig"58)->unwrap()->yield($context);
  292.         // line 59
  293.         yield "\t\t\t";
  294.         
  295.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  296.         
  297.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  298.         return; yield '';
  299.     }
  300.     // line 62
  301.     public function block_content($context, array $blocks = [])
  302.     {
  303.         $macros $this->macros;
  304.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  305.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  306.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  307.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  308.         
  309.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  310.         
  311.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  312.         return; yield '';
  313.     }
  314.     // line 72
  315.     public function block_footer($context, array $blocks = [])
  316.     {
  317.         $macros $this->macros;
  318.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  319.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  320.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  321.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  322.         // line 73
  323.         yield "\t\t\t";
  324.         yield from         $this->loadTemplate("footer.html.twig""base.html.twig"73)->unwrap()->yield($context);
  325.         // line 74
  326.         yield "\t\t";
  327.         
  328.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  329.         
  330.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  331.         return; yield '';
  332.     }
  333.     // line 76
  334.     public function block_javascripts($context, array $blocks = [])
  335.     {
  336.         $macros $this->macros;
  337.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  338.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  339.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  340.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  341.         // line 77
  342.         yield "\t\t\t";
  343.         $context['_parent'] = $context;
  344.         $context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackJsFiles("app"));
  345.         foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
  346.             // line 78
  347.             yield "\t\t\t\t<script src=\"";
  348.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"]), "html"nulltrue);
  349.             yield "\" defer=\"defer\"></script>
  350. \t\t\t";
  351.         }
  352.         $_parent $context['_parent'];
  353.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
  354.         $context array_intersect_key($context$_parent) + $_parent;
  355.         // line 80
  356.         yield "\t\t\t<script>
  357. \t\t\t\t";
  358.         // line 81
  359.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["snippets"] ?? null), "content", [], "any"falsetruefalse81), "email", [], "any"truetruefalse81)) {
  360.             yield "const pEmail = document.querySelector('#pqna-email');let email = atob('";
  361.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(base64_encode(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse81), "email", [], "any"falsefalsefalse81)), "html"nulltrue);
  362.             yield "');pEmail.innerText = email;pEmail.href = `mailto:\${email}`;";
  363.         }
  364.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["snippets"] ?? null), "content", [], "any"falsetruefalse81), "numero", [], "any"truetruefalse81) &&  !null)) {
  365.             yield "const pPhone = document.querySelector('#pqna-phone');let phone = atob('";
  366.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(base64_encode(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse81), "numero", [], "any"falsefalsefalse81)), "html"nulltrue);
  367.             yield "');pPhone.innerText = phone;let hrefTel = phone.replace(/[\\s.-]/g, \"\");pPhone.href = `tel:\${hrefTel}`;";
  368.         }
  369.         // line 82
  370.         yield "\t\t\t</script>
  371. \t\t\t<!-- Matomo -->
  372. \t\t\t<script>
  373. \t\t\tvar _paq = window._paq = window._paq || [];
  374. \t\t\t/ tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" /
  375. \t\t\t_paq.push(['trackPageView']);
  376. \t\t\t_paq.push(['enableLinkTracking']);
  377. \t\t\t(function() {
  378. \t\t\tvar u=\"//matomopqna.fr/\";
  379. \t\t\t_paq.push(['setTrackerUrl', u+'matomo.php']);
  380. \t\t\t_paq.push(['setSiteId', '1']);
  381. \t\t\tvar d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  382. \t\t\tg.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  383. \t\t\t})();
  384. \t\t\t</script>
  385. \t\t\t<!-- End Matomo Code -->
  386. \t\t";
  387.         
  388.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  389.         
  390.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  391.         return; yield '';
  392.     }
  393.     /**
  394.      * @codeCoverageIgnore
  395.      */
  396.     public function getTemplateName()
  397.     {
  398.         return "base.html.twig";
  399.     }
  400.     /**
  401.      * @codeCoverageIgnore
  402.      */
  403.     public function isTraitable()
  404.     {
  405.         return false;
  406.     }
  407.     /**
  408.      * @codeCoverageIgnore
  409.      */
  410.     public function getDebugInfo()
  411.     {
  412.         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,);
  413.     }
  414.     public function getSourceContext()
  415.     {
  416.         return new Source("<!DOCTYPE html>
  417. <html lang=\"{{ app.request.locale|split('_')[0] }}\">
  418. \t{% set locale = app.request.locale %}
  419. \t{% set snippets = sulu_snippet_load_by_area('footer') %}
  420. \t{% set snippet_contact = sulu_snippet_load_by_area('contact') %}
  421. \t{% set contact_off = 0 %}
  422. \t{% set ressource_off = 0 %}
  423. \t<head>
  424. \t\t<link rel=\"preload\" href=\"{{ asset('build/website/fonts/YWFT_Ultramagnetic_Rough_Bold_One.otf') }}\" as=\"font\" type=\"font/otf\" crossorigin>
  425. \t\t<link rel=\"preload\" href=\"{{ asset('build/website/fonts/Barlow-Medium.ttf') }}\" as=\"font\" type=\"font/ttf\" crossorigin>
  426. \t\t<link rel=\"preload\" href=\"{{ asset('build/website/fonts/Barlow-Regular.ttf') }}\" as=\"font\" type=\"font/ttf\" crossorigin>
  427. \t\t<link rel=\"preload\" href=\"{{ asset('build/website/fonts/Barlow-SemiBold.ttf') }}\" as=\"font\" type=\"font/ttf\" crossorigin>
  428. \t\t<link rel=\"preload\" href=\"{{ asset('build/website/fonts/Barlow-Black.ttf') }}\" as=\"font\" type=\"font/ttf\" crossorigin>
  429. \t\t{% include \"css/base-critical-css.html.twig\" %}
  430. \t\t<meta charset=\"utf-8\">
  431. \t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  432. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> {% block title %}{% endblock %}
  433. \t\t{% block meta %}
  434. \t\t\t{% include \"@SuluWebsite/Extension/seo.html.twig\" with {
  435.             \"seo\": extension.seo|default([]),
  436.             \"content\": content|default([]),
  437.             \"localizations\": localizations|default([]),
  438.             \"shadowBaseLocale\": shadowBaseLocale|default(),
  439.             \"defaultLocale\": app.request.locale
  440.         } %}
  441. \t\t{% endblock %}
  442. \t\t{% block style %}
  443. \t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'app'} %}
  444. \t\t\t{% for file in encore_entry_css_files('print') %}
  445. \t\t\t\t<link rel=\"stylesheet\" href=\"{{ asset(file) }}\" type=\"text/css\" crossorigin=\"anonymous\" media=\"print\">
  446. \t\t\t{% endfor %}
  447. \t\t\t{% if \"registration\" in app.request.requestUri
  448. \t\t\tor \"profile\" in app.request.requestUri
  449. \t\t\tor \"password\" in app.request.requestUri
  450. \t\t\tor \"confirmation\" in app.request.requestUri %}
  451. \t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'profile_css'} %}
  452. \t\t\t{% endif %}
  453. \t\t\t{% if \"registration\" in app.request.requestUri
  454. \t\t\tor \"password\" in app.request.requestUri
  455. \t\t\tor \"confirmation\" in app.request.requestUri %}
  456. \t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'registration_css'} %}
  457. \t\t\t{% endif %}
  458. \t\t\t<link rel=\"shortcut icon\" href=\"{{ asset('favicon.ico') }}\" type=\"image/x-icon\">
  459. \t\t\t<link rel=\"icon\" sizes=\"16x16 32x32\" href=\"{{ asset('favicon-16x16.png') }}\">
  460. \t\t\t<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('apple-touch-icon.png') }}\">
  461. \t\t\t<link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"{{ asset('android-chrome-192x192.png') }}\">
  462. \t\t\t<link rel=\"icon\" type=\"image/png\" sizes=\"512x512\" href=\"{{ asset('android-chrome-512x512.png') }}\">
  463. \t\t\t<link rel=\"manifest\" href=\"{{ asset('site.webmanifest') }}\">
  464. \t\t{% endblock %}
  465. \t</head>
  466. \t<body>
  467. \t\t{{ source('iconset/iconset.html.twig') }}
  468. \t\t{% include \"search-popin.html.twig\" %}
  469. \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>
  470. \t\t<header class=\"sticky\">
  471. \t\t\t{% block header %}
  472. \t\t\t\t{% include 'header.html.twig' %}
  473. \t\t\t{% endblock %}
  474. \t\t</header>
  475. \t\t<main class=\"prelative\">
  476. \t\t\t{% block content %}{% endblock %}
  477. \t\t</main>
  478. \t\t{% if app.request.pathInfo == \"/fr/contact/contactez-nous\" %}
  479. \t\t\t{% set contact_off = 1 %}
  480. \t\t{% endif %}
  481. \t\t{% if app.request.pathInfo == \"/fr/contact/proposez-une-ressource\" %}
  482. \t\t\t{% set ressource_off = 1 %}
  483. \t\t{% endif %}
  484. \t\t{% include \"contact_snippet.html.twig\"  with {'contact_off': contact_off, 'ressource_off': ressource_off} %}
  485. \t\t{% block footer %}
  486. \t\t\t{% include 'footer.html.twig' %}
  487. \t\t{% endblock %}
  488. \t\t{% block javascripts %}
  489. \t\t\t{% for file in encore_entry_js_files('app') %}
  490. \t\t\t\t<script src=\"{{ asset(file) }}\" defer=\"defer\"></script>
  491. \t\t\t{% endfor %}
  492. \t\t\t<script>
  493. \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 %}
  494. \t\t\t</script>
  495. \t\t\t<!-- Matomo -->
  496. \t\t\t<script>
  497. \t\t\tvar _paq = window._paq = window._paq || [];
  498. \t\t\t/ tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" /
  499. \t\t\t_paq.push(['trackPageView']);
  500. \t\t\t_paq.push(['enableLinkTracking']);
  501. \t\t\t(function() {
  502. \t\t\tvar u=\"//matomopqna.fr/\";
  503. \t\t\t_paq.push(['setTrackerUrl', u+'matomo.php']);
  504. \t\t\t_paq.push(['setSiteId', '1']);
  505. \t\t\tvar d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  506. \t\t\tg.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  507. \t\t\t})();
  508. \t\t\t</script>
  509. \t\t\t<!-- End Matomo Code -->
  510. \t\t{% endblock %}
  511. \t</body>
  512. </html>
  513. ""base.html.twig""/var/www/html/templates/base.html.twig");
  514.     }
  515. }