<?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;
/* front/theme1/base.html.twig */
class __TwigTemplate_a92d9e6148ad392cb84cf1062418f7fb0f52136e0413d5485f2c01a74a7a3b2b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'metaTag' => [$this, 'block_metaTag'],
'preload' => [$this, 'block_preload'],
'stylesheets' => [$this, 'block_stylesheets'],
'navbar' => [$this, 'block_navbar'],
'body' => [$this, 'block_body'],
'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", "front/theme1/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", "front/theme1/base.html.twig"));
// line 1
echo "<!doctype html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($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), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\" />
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
";
// line 10
echo " <link rel=\"icon\" type=\"image/x-icon\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("public/favicon/favicon.ico"), "html", null, true);
echo "\" />
";
// line 12
echo " ";
echo $this->extensions['Leogout\Bundle\SeoBundle\Twig\SeoExtension']->seo();
echo "
<link rel=\"preconnect\" href=\"//www.google-analytics.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://code.jquery.com\" crossorigin>
";
// line 20
echo " ";
// line 21
echo "
<script src=\"";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/js/jquery-3.6.0.min.js"), "html", null, true);
echo "\"></script>
";
// line 24
$this->displayBlock('metaTag', $context, $blocks);
// line 68
echo "
";
// line 69
$this->displayBlock('preload', $context, $blocks);
// line 70
echo "
";
// line 72
$this->displayBlock('stylesheets', $context, $blocks);
// line 82
echo "
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-XR7K60K3YD\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XR7K60K3YD');
</script>
</head>
<body>
";
// line 95
$this->displayBlock('navbar', $context, $blocks);
// line 99
echo "
<main class=\"";
// line 100
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 100, $this->source); })()), "request", [], "any", false, false, false, 100), "attributes", [], "any", false, false, false, 100), "get", [0 => "_route"], "method", false, false, false, 100) == "index_page_home")) ? ("home_page") : (""));
echo "\">
";
// line 101
$this->displayBlock('body', $context, $blocks);
echo "
</main>
<a href=\"javascript:void(0);\" class=\"scroll-to-top\" title=\"Haut\" style=\"display: none;\"><span>Haut</span></a>
";
// line 106
$this->displayBlock('footer', $context, $blocks);
// line 109
echo "
";
// line 110
$this->displayBlock('javascripts', $context, $blocks);
// line 239
echo "
</body>
</html>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 24
public function block_metaTag($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", "metaTag"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTag"));
// line 25
echo " ";
if ((array_key_exists("meta_robots", $context) && !twig_test_empty((isset($context["meta_robots"]) || array_key_exists("meta_robots", $context) ? $context["meta_robots"] : (function () { throw new RuntimeError('Variable "meta_robots" does not exist.', 25, $this->source); })())))) {
// line 26
echo " <meta name=\"robots\" content=\"";
echo twig_escape_filter($this->env, (isset($context["meta_robots"]) || array_key_exists("meta_robots", $context) ? $context["meta_robots"] : (function () { throw new RuntimeError('Variable "meta_robots" does not exist.', 26, $this->source); })()), "html", null, true);
echo "\">
";
}
// line 28
echo "
";
// line 29
if ((array_key_exists("canonical", $context) && ((isset($context["canonical"]) || array_key_exists("canonical", $context) ? $context["canonical"] : (function () { throw new RuntimeError('Variable "canonical" does not exist.', 29, $this->source); })()) != null))) {
// line 30
echo " <link href=\"";
echo twig_escape_filter($this->env, (isset($context["canonical"]) || array_key_exists("canonical", $context) ? $context["canonical"] : (function () { throw new RuntimeError('Variable "canonical" does not exist.', 30, $this->source); })()), "html", null, true);
echo "\" rel=\"canonical\"/>
";
} else {
// line 32
echo " ";
if (twig_in_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 32, $this->source); })()), "request", [], "any", false, false, false, 32), "attributes", [], "any", false, false, false, 32), "get", [0 => "_route"], "method", false, false, false, 32), [0 => "index_page_home", 1 => "plan_du_site"])) {
// line 33
echo " ";
$context["currentPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($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), "attributes", [], "any", false, false, false, 33), "get", [0 => "_route"], "method", false, false, false, 33));
// line 34
echo " ";
} else {
// line 35
echo " ";
$context["parametre_url"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (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), "attributes", [], "any", false, false, false, 35), "get", [0 => "page"], "method", false, false, false, 35);
// line 36
echo " ";
if ((((isset($context["parametre_url"]) || array_key_exists("parametre_url", $context) ? $context["parametre_url"] : (function () { throw new RuntimeError('Variable "parametre_url" does not exist.', 36, $this->source); })()) != null) && ((isset($context["parametre_url"]) || array_key_exists("parametre_url", $context) ? $context["parametre_url"] : (function () { throw new RuntimeError('Variable "parametre_url" does not exist.', 36, $this->source); })()) != "1"))) {
// line 37
echo " ";
$context["currentPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "request", [], "any", false, false, false, 37), "attributes", [], "any", false, false, false, 37), "get", [0 => "_route"], "method", false, false, false, 37), ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "request", [], "any", false, false, false, 37), "attributes", [], "any", false, false, false, 37), "get", [0 => "_route_params"], "method", false, false, false, 37), "slug", [], "any", false, false, false, 37), "page" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "request", [], "any", false, false, false, 37), "attributes", [], "any", false, false, false, 37), "get", [0 => "_route_params"], "method", false, false, false, 37), "page", [], "any", false, false, false, 37)]);
// line 38
echo " ";
} else {
// line 39
echo " ";
$context["currentPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($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), "attributes", [], "any", false, false, false, 39), "get", [0 => "_route"], "method", false, false, false, 39), ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($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), "attributes", [], "any", false, false, false, 39), "get", [0 => "_route_params"], "method", false, false, false, 39), "slug", [], "any", false, false, false, 39)]);
// line 40
echo " ";
}
// line 41
echo " ";
}
// line 42
echo "
<link href=\"";
// line 43
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 43, $this->source); })()), "request", [], "any", false, false, false, 43), "schemeAndHttpHost", [], "any", false, false, false, 43) . (isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 43, $this->source); })())), "html", null, true);
echo "\" rel=\"canonical\" />
";
}
// line 45
echo "
";
// line 47
echo " ";
if ($this->extensions['App\Twig\FunctionExtension']->ActifLanguageFunction()) {
// line 48
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\FunctionExtension']->ActifLanguageFunction());
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 49
echo " <link rel=\"alternate\" hreflang=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "languagecode", [], "any", false, false, false, 49), "html", null, true);
echo "\" href=\"";
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 49, $this->source); })()), "request", [], "any", false, false, false, 49), "schemeAndHttpHost", [], "any", false, false, false, 49) . (isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 49, $this->source); })())), "html", null, true);
echo "\"/>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 51
echo " ";
}
// line 52
echo "
";
// line 53
if ((array_key_exists("custom_schemaOrg", $context) && ((isset($context["custom_schemaOrg"]) || array_key_exists("custom_schemaOrg", $context) ? $context["custom_schemaOrg"] : (function () { throw new RuntimeError('Variable "custom_schemaOrg" does not exist.', 53, $this->source); })()) != null))) {
// line 54
echo " ";
echo (isset($context["custom_schemaOrg"]) || array_key_exists("custom_schemaOrg", $context) ? $context["custom_schemaOrg"] : (function () { throw new RuntimeError('Variable "custom_schemaOrg" does not exist.', 54, $this->source); })());
echo "
";
}
// line 56
echo "
";
// line 58
if (array_key_exists("schemaOrg", $context)) {
// line 59
echo " ";
echo twig_replace_filter(twig_replace_filter((isset($context["schemaOrg"]) || array_key_exists("schemaOrg", $context) ? $context["schemaOrg"] : (function () { throw new RuntimeError('Variable "schemaOrg" does not exist.', 59, $this->source); })()), ["\\" => "/"]), ["//" => "/"]);
echo "
";
}
// line 61
echo "
";
// line 62
if (array_key_exists("schema_breadcrumb", $context)) {
// line 63
echo " ";
echo twig_replace_filter(twig_replace_filter((isset($context["schema_breadcrumb"]) || array_key_exists("schema_breadcrumb", $context) ? $context["schema_breadcrumb"] : (function () { throw new RuntimeError('Variable "schema_breadcrumb" does not exist.', 63, $this->source); })()), ["\\" => "/"]), ["//" => "/"]);
echo "
";
}
// line 65
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 69
public function block_preload($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", "preload"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preload"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 72
public function block_stylesheets($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", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 73
echo " ";
// line 74
echo " <style>
";
// line 76
echo "
";
// line 77
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackCssFiles("app-theme"));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 78
echo " ";
echo twig_source($this->env, ("@PUBLIC" . $context["file"]));
echo "
";
}
$_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
echo " </style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 95
public function block_navbar($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", "navbar"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
// line 96
echo " ";
$context["className"] = (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 96, $this->source); })()), "request", [], "any", false, false, false, 96), "attributes", [], "any", false, false, false, 96), "get", [0 => "_route"], "method", false, false, false, 96) == "index_page_home")) ? ("home_page") : (""));
// line 97
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\FunctionController::renderMenu", ["className" => (isset($context["className"]) || array_key_exists("className", $context) ? $context["className"] : (function () { throw new RuntimeError('Variable "className" does not exist.', 97, $this->source); })())]));
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 101
public function block_body($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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 106
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 107
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\FunctionController::renderFooter", ["TypeMenu" => "Footer"]));
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 110
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 111
echo "
<script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js\"></script>
<script src=\"";
// line 114
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/wow-animate/js/wow.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 115
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/galerie-isotope-wow/js/isotope.pkgd.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 116
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/galerie-isotope-wow/js/plugins.js"), "html", null, true);
echo "\"></script>
";
// line 120
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app-theme");
echo "
<script>
// new WOW().init();
(function () {
'use strict'
// Fetch all the forms we want to apply custom Bootstrap validation styles to
var forms = document.querySelectorAll('.needs-validation')
// Loop over them and prevent submission
Array.prototype.slice.call(forms)
.forEach(function (form) {
form.addEventListener('submit', function (event) {
form.classList.add('was-validated')
if (!form.checkValidity()) {
event.preventDefault()
event.stopPropagation()
return false;
}
event.preventDefault();
\$(form).find('button[type=\"submit\"]').attr('disabled','true');
grecaptcha.execute('";
// line 143
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\ParametreSiteExtension']->ParametreSiteFunction(), "clekey", [], "any", false, false, false, 143), "html", null, true);
echo "', {action: 'create_comment'}).then(token => {
\$(form).find('[name=g-recaptcha-response]').val(token);
form.submit();
});
}, false)
})
})()
function reCaptchaOnFocus() {
var head = document.getElementsByTagName('head')[0]
var script = document.createElement('script')
script.type = 'text/javascript';
script.src = 'https://www.google.com/recaptcha/api.js?render=";
// line 155
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\ParametreSiteExtension']->ParametreSiteFunction(), "clekey", [], "any", false, false, false, 155), "html", null, true);
echo "'
head.appendChild(script);
};
if(document.getElementsByClassName('form-recap')){
for (let i = 0; i < document.getElementsByClassName('form-recap').length; i++) {
document.getElementsByClassName('form-recap')[i].addEventListener('focus', (event) => {
reCaptchaOnFocus()
}, true);
}
}
</script>
<script>
\$(document).ready(function(){
/* const elems = document.querySelectorAll('.datepicker_input');
for (const elem of elems) {
const datepicker = new Datepicker(elem, {
'format': 'dd/mm/yyyy',
'language' : 'fr',
// title: getDatePickerTitle(elem)
});
} */
\$(window).on(\"scroll\", function () {
if (\$(this).scrollTop() > \$(window).height() / 2) {
\$(\".scroll-to-top\").fadeIn();
} else {
\$(\".scroll-to-top\").fadeOut();
}
});
\$('.header-savoir-plus').on(\"click\", function () {
\$(\"html, body\").animate({ scrollTop: \$('#bloc-content').offset().top - 100 }, \"slow\" );
return false;
});
\$(\".scroll-to-top\").on(\"click\", function () {
\$(\"html, body\").animate({ scrollTop: 0 }, 500);
return false;
});
\$('input[name=\"prestation[]\"]').change(function(){
if(this.hasAttribute('checked')){
\$(this).attr('checked',false);
}else{
\$(this).attr('checked',true);
}
\$.each(\$(\"input[name='prestation[]']\"), function () {
if (this.value == 'Autre' && this.hasAttribute('checked')) {
\$('.autre_prestation').removeClass('d-none');
\$('input[name=\"autre_prestation\"]').attr('required',true);
}else{
\$('.autre_prestation').addClass('d-none');
\$('input[name=\"autre_prestation\"]').attr('required',false);
}
});
});
\$('input[name=\"vous_etes\"]').change(function(){
if (this.value == 'Autre') {
\$('.autre_coordonne').removeClass('d-none');
\$('input[name=\"autre_coordonne\"]').attr('required',true);
}else{
\$('.autre_coordonne').addClass('d-none');
\$('input[name=\"autre_coordonne\"]').attr('required',false);
}
});
});
</script>
";
// line 233
if (($this->extensions['App\Twig\ParametreSiteExtension']->CookiesFunction() != null)) {
// line 234
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 234, $this->source); })()), "request", [], "any", false, false, false, 234), "server", [], "any", false, false, false, 234), "get", [0 => "APP_THEME"], "method", false, false, false, 234)) . "/cookies/cookie.html.twig"), [], false);
echo "
";
}
// line 236
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front/theme1/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 577 => 236, 571 => 234, 569 => 233, 488 => 155, 473 => 143, 446 => 120, 441 => 116, 437 => 115, 433 => 114, 428 => 111, 418 => 110, 405 => 107, 395 => 106, 377 => 101, 364 => 97, 361 => 96, 351 => 95, 340 => 80, 331 => 78, 327 => 77, 324 => 76, 321 => 74, 319 => 73, 309 => 72, 291 => 69, 279 => 65, 273 => 63, 271 => 62, 268 => 61, 262 => 59, 260 => 58, 256 => 56, 250 => 54, 248 => 53, 245 => 52, 242 => 51, 231 => 49, 226 => 48, 223 => 47, 220 => 45, 215 => 43, 212 => 42, 209 => 41, 206 => 40, 203 => 39, 200 => 38, 197 => 37, 194 => 36, 191 => 35, 188 => 34, 185 => 33, 182 => 32, 176 => 30, 174 => 29, 171 => 28, 165 => 26, 162 => 25, 152 => 24, 139 => 239, 137 => 110, 134 => 109, 132 => 106, 124 => 101, 120 => 100, 117 => 99, 115 => 95, 100 => 82, 98 => 72, 94 => 70, 92 => 69, 89 => 68, 87 => 24, 82 => 22, 79 => 21, 77 => 20, 66 => 12, 61 => 10, 53 => 2, 50 => 1,);
}
public function getSourceContext()
{
return new Source("<!doctype html>
<html lang=\"{{ app.request.locale }}\">
<head>
<meta charset=\"utf-8\" />
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
{# <link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"{{asset('public/favicon/apple-touch-icon.png')}}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{asset('public/favicon/favicon-32x32.png')}}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{asset('public/favicon/favicon-16x16.png')}}\"> #}
<link rel=\"icon\" type=\"image/x-icon\" href=\"{{ asset('public/favicon/favicon.ico') }}\" />
{# <link rel=\"manifest\" href=\"{{asset('public/favicon/site.webmanifest')}}\"> #}
{{ leogout_seo() }}
<link rel=\"preconnect\" href=\"//www.google-analytics.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://code.jquery.com\" crossorigin>
{# {% include 'front/preload_fonts.html.twig' %} #}
{# <link href=\"https://cdn.jsdelivr.net/npm/vanillajs-datepicker@1.1.4/dist/css/datepicker.min.css\" rel=\"stylesheet\"> #}
<script src=\"{{asset('templates/front/theme1/assets/js/jquery-3.6.0.min.js')}}\"></script>
{% block metaTag %}
{% if meta_robots is defined and meta_robots is not empty %}
<meta name=\"robots\" content=\"{{meta_robots}}\">
{% endif %}
{% if canonical is defined and canonical != null %}
<link href=\"{{canonical}}\" rel=\"canonical\"/>
{% else %}
{% if app.request.attributes.get('_route') in ['index_page_home','plan_du_site'] %}
{% set currentPath = path(app.request.attributes.get('_route')) %}
{% else %}
{% set parametre_url = app.request.attributes.get('page') %}
{% if parametre_url != null and parametre_url != '1' %}
{% set currentPath = path(app.request.attributes.get('_route'),{slug:app.request.attributes.get('_route_params').slug,page:app.request.attributes.get('_route_params').page}) %}
{% else %}
{% set currentPath = path(app.request.attributes.get('_route'),{slug:app.request.attributes.get('_route_params').slug}) %}
{% endif %}
{% endif %}
<link href=\"{{app.request.schemeAndHttpHost ~ currentPath}}\" rel=\"canonical\" />
{% endif %}
{# <link rel=\"alternate\" hreflang=\"x-default\" href=\"{{app.request.schemeAndHttpHost ~ currentPath}}\" /> #}
{% if ActifLanguage() %}
{% for item in ActifLanguage() %}
<link rel=\"alternate\" hreflang=\"{{item.languagecode}}\" href=\"{{app.request.schemeAndHttpHost ~ currentPath}}\"/>
{% endfor %}
{% endif %}
{% if custom_schemaOrg is defined and custom_schemaOrg != null %}
{{custom_schemaOrg|raw}}
{% endif %}
{% if schemaOrg is defined %}
{{schemaOrg|replace({\"\\\\\": \"/\"})|replace({\"//\": \"/\"})|raw}}
{% endif %}
{% if schema_breadcrumb is defined %}
{{schema_breadcrumb|replace({\"\\\\\": \"/\"})|replace({\"//\": \"/\"})|raw}}
{% endif %}
{% endblock %}
{% block preload %}{% endblock %}
{% block stylesheets %}
{# {{ encore_entry_link_tags('app-theme') }} #}
<style>
{# {% include 'front/config_theme.html.twig' %} #}
{% for file in encore_entry_css_files('app-theme') %}
{{ source('@PUBLIC' ~ file) }}
{% endfor %}
</style>
{% endblock %}
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-XR7K60K3YD\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XR7K60K3YD');
</script>
</head>
<body>
{% block navbar %}
{% set className = app.request.attributes.get('_route') == 'index_page_home'?'home_page':'' %}
{{ render(controller('App\\\\Controller\\\\Front\\\\FunctionController::renderMenu',{'className': className })) }}
{% endblock %}
<main class=\"{{app.request.attributes.get('_route') == 'index_page_home'?'home_page':''}}\">
{% block body %}{% endblock %}
</main>
<a href=\"javascript:void(0);\" class=\"scroll-to-top\" title=\"Haut\" style=\"display: none;\"><span>Haut</span></a>
{% block footer %}
{{ render(controller('App\\\\Controller\\\\Front\\\\FunctionController::renderFooter',{ 'TypeMenu': 'Footer' })) }}
{% endblock %}
{% block javascripts %}
<script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js\"></script>
<script src=\"{{asset('templates/front/theme1/assets/plugins/wow-animate/js/wow.min.js')}}\"></script>
<script src=\"{{asset('templates/front/theme1/assets/plugins/galerie-isotope-wow/js/isotope.pkgd.min.js')}}\"></script>
<script src=\"{{asset('templates/front/theme1/assets/plugins/galerie-isotope-wow/js/plugins.js')}}\"></script>
{# <script src=\"https://cdn.jsdelivr.net/npm/vanillajs-datepicker@1.1.4/dist/js/datepicker-full.min.js\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/vanillajs-datepicker@1.2.0/dist/js/locales/fr.js\"></script> #}
{{ encore_entry_script_tags('app-theme') }}
<script>
// new WOW().init();
(function () {
'use strict'
// Fetch all the forms we want to apply custom Bootstrap validation styles to
var forms = document.querySelectorAll('.needs-validation')
// Loop over them and prevent submission
Array.prototype.slice.call(forms)
.forEach(function (form) {
form.addEventListener('submit', function (event) {
form.classList.add('was-validated')
if (!form.checkValidity()) {
event.preventDefault()
event.stopPropagation()
return false;
}
event.preventDefault();
\$(form).find('button[type=\"submit\"]').attr('disabled','true');
grecaptcha.execute('{{ParametreSite().clekey}}', {action: 'create_comment'}).then(token => {
\$(form).find('[name=g-recaptcha-response]').val(token);
form.submit();
});
}, false)
})
})()
function reCaptchaOnFocus() {
var head = document.getElementsByTagName('head')[0]
var script = document.createElement('script')
script.type = 'text/javascript';
script.src = 'https://www.google.com/recaptcha/api.js?render={{ParametreSite().clekey}}'
head.appendChild(script);
};
if(document.getElementsByClassName('form-recap')){
for (let i = 0; i < document.getElementsByClassName('form-recap').length; i++) {
document.getElementsByClassName('form-recap')[i].addEventListener('focus', (event) => {
reCaptchaOnFocus()
}, true);
}
}
</script>
<script>
\$(document).ready(function(){
/* const elems = document.querySelectorAll('.datepicker_input');
for (const elem of elems) {
const datepicker = new Datepicker(elem, {
'format': 'dd/mm/yyyy',
'language' : 'fr',
// title: getDatePickerTitle(elem)
});
} */
\$(window).on(\"scroll\", function () {
if (\$(this).scrollTop() > \$(window).height() / 2) {
\$(\".scroll-to-top\").fadeIn();
} else {
\$(\".scroll-to-top\").fadeOut();
}
});
\$('.header-savoir-plus').on(\"click\", function () {
\$(\"html, body\").animate({ scrollTop: \$('#bloc-content').offset().top - 100 }, \"slow\" );
return false;
});
\$(\".scroll-to-top\").on(\"click\", function () {
\$(\"html, body\").animate({ scrollTop: 0 }, 500);
return false;
});
\$('input[name=\"prestation[]\"]').change(function(){
if(this.hasAttribute('checked')){
\$(this).attr('checked',false);
}else{
\$(this).attr('checked',true);
}
\$.each(\$(\"input[name='prestation[]']\"), function () {
if (this.value == 'Autre' && this.hasAttribute('checked')) {
\$('.autre_prestation').removeClass('d-none');
\$('input[name=\"autre_prestation\"]').attr('required',true);
}else{
\$('.autre_prestation').addClass('d-none');
\$('input[name=\"autre_prestation\"]').attr('required',false);
}
});
});
\$('input[name=\"vous_etes\"]').change(function(){
if (this.value == 'Autre') {
\$('.autre_coordonne').removeClass('d-none');
\$('input[name=\"autre_coordonne\"]').attr('required',true);
}else{
\$('.autre_coordonne').addClass('d-none');
\$('input[name=\"autre_coordonne\"]').attr('required',false);
}
});
});
</script>
{% if Cookies() != null %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/cookies/cookie.html.twig',{}, with_context = false)}}
{% endif %}
{% endblock %}
</body>
</html>", "front/theme1/base.html.twig", "/var/www/vhosts/hrz.fr/abs-33-oscar.hrz.fr/templates/front/theme1/base.html.twig");
}
}