<?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;
/* @SyliusShop/layout.html.twig */
class __TwigTemplate_c00e3b017fb058332e0b4186b8dbd155 extends \Twig\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'],
'metatags' => [$this, 'block_metatags'],
'stylesheets' => [$this, 'block_stylesheets'],
'top' => [$this, 'block_top'],
'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_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/layout.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, twig_slice($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), 0, 2), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
";
// line 7
$context["_title_no_tag"] = (( $this->hasBlock("title_no_tag", $context, $blocks)) ? ( $this->renderBlock("title_no_tag", $context, $blocks)) : (""));
// line 8
echo "
";
// line 9
if ( !twig_test_empty((isset($context["_title_no_tag"]) || array_key_exists("_title_no_tag", $context) ? $context["_title_no_tag"] : (function () { throw new RuntimeError('Variable "_title_no_tag" does not exist.', 9, $this->source); })()))) {
// line 10
echo " ";
echo (isset($context["_title_no_tag"]) || array_key_exists("_title_no_tag", $context) ? $context["_title_no_tag"] : (function () { throw new RuntimeError('Variable "_title_no_tag" does not exist.', 10, $this->source); })());
echo "
";
} else {
// line 12
echo " <title> ";
$this->displayBlock('title', $context, $blocks);
echo "</title>
";
}
// line 14
echo "
";
// line 15
echo $this->extensions['App\Twig\Extensions\GoogleTagManager\GoogleTagManagerExtension']->getGoogleTagManagerDatalayer();
echo "
<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
";
// line 18
$this->displayBlock('metatags', $context, $blocks);
// line 27
echo " ";
$context["canonicalList"] = $this->extensions['App\Twig\Extensions\Canonical\CanonicalExtension']->getCanonicalLink(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.', 27, $this->source); })()), "request", [], "any", false, false, false, 27));
// line 28
echo " ";
if ( !(null === (isset($context["canonicalList"]) || array_key_exists("canonicalList", $context) ? $context["canonicalList"] : (function () { throw new RuntimeError('Variable "canonicalList" does not exist.', 28, $this->source); })()))) {
// line 29
echo " <link rel=\"canonical\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["canonicalList"]) || array_key_exists("canonicalList", $context) ? $context["canonicalList"] : (function () { throw new RuntimeError('Variable "canonicalList" does not exist.', 29, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["sylius"]) || array_key_exists("sylius", $context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.', 29, $this->source); })()), "localeCode", [], "any", false, false, false, 29), [], "array", false, false, false, 29), "html", null, true);
echo "\" />
";
}
// line 31
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["canonicalList"]) || array_key_exists("canonicalList", $context) ? $context["canonicalList"] : (function () { throw new RuntimeError('Variable "canonicalList" does not exist.', 31, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 32
echo " <link rel=\"alternate\" href=\"";
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "\" hreflang=\"";
echo twig_escape_filter($this->env, twig_replace_filter($context["key"], ["_" => "-"]), "html", null, true);
echo "\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
echo " <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
";
// line 36
$this->displayBlock('stylesheets', $context, $blocks);
// line 40
echo "
";
// line 41
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.head");
echo "
</head>
<body class=\"body-";
// line 45
echo twig_escape_filter($this->env, 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.', 45, $this->source); })()), "request", [], "any", false, false, false, 45), "attributes", [], "any", false, false, false, 45), "get", [0 => "_route"], "method", false, false, false, 45), "html", null, true);
echo "\">
";
// line 46
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_body");
echo "
";
// line 47
$this->displayBlock('top', $context, $blocks);
// line 59
echo " <main class=\"big-wrapper\">
<div class=\"menu-mob-overlay\"></div>
";
// line 61
$this->displayBlock('header', $context, $blocks);
// line 82
echo "
<div class=\"main-content page-content\">
<div class=\"container p-lg-0 my-0\">";
// line 84
$this->loadTemplate("@SyliusShop/_flashes.html.twig", "@SyliusShop/layout.html.twig", 84)->display($context);
echo "</div>
";
// line 85
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_content");
echo "
";
// line 87
$this->displayBlock('content', $context, $blocks);
// line 89
echo "
";
// line 92
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_content");
echo "
</div>
";
// line 96
$this->displayBlock('footer', $context, $blocks);
// line 99
echo "
";
// line 100
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_body");
echo "
<div class=\"bloc-help text-white d-block d-lg-none\">
<div class=\" font-18 bg-sce\">
<div class=\"font-aller-bold font-18 font-18-mobile\">Besoin d'aide?</div>
<div>
<a href=\"tel:0385338969\" class=\"font-20-mobile font-20 p-nomargin color-pink-s font-weight-medium\"><p>06 20 15 80 43 </p> </a>
</div>
</div>
</div>
<div class=\"loading-overlay\" data-js-loading-overlay>
<div class=\"spinner-border\" role=\"status\">
<span class=\"sr-only\">Loading...</span>
</div>
</div>
</main>
<div class=\"goToTop\"><img src=\"";
// line 117
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/top_go.png"), "html", null, true);
echo "\" alt=\"\" /></div>
";
// line 120
$this->loadTemplate("@CHCookieConsent/cookie_consent_styling.html.twig", "@SyliusShop/layout.html.twig", 120)->display($context);
// line 121
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi", $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ch_cookie_consent.show", ["locale" => twig_get_attribute($this->env, $this->source, (isset($context["sylius"]) || array_key_exists("sylius", $context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.', 121, $this->source); })()), "localeCode", [], "any", false, false, false, 121)]));
echo "
";
// line 123
$this->displayBlock('javascripts', $context, $blocks);
// line 126
echo " </body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 12
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$this->loadTemplate("@DediSyliusSEOPlugin/Shop/Header/_title.html.twig", "@SyliusShop/layout.html.twig", 12)->display(twig_array_merge($context, ["resource" => (($context["product"]) ?? (twig_get_attribute($this->env, $this->source, (isset($context["sylius"]) || array_key_exists("sylius", $context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.', 12, $this->source); })()), "channel", [], "any", false, false, false, 12)))]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 18
public function block_metatags($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
// line 19
echo " ";
$context["metaDescription"] = $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.metatags", ["resource" => (($context["product"]) ?? (twig_get_attribute($this->env, $this->source, (isset($context["sylius"]) || array_key_exists("sylius", $context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.', 19, $this->source); })()), "channel", [], "any", false, false, false, 19)))]);
// line 20
echo " ";
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.rich_snippets");
echo "
";
// line 21
if (twig_test_empty((isset($context["metaDescription"]) || array_key_exists("metaDescription", $context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.', 21, $this->source); })()))) {
// line 22
echo " <meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["sylius"]) || array_key_exists("sylius", $context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.', 22, $this->source); })()), "channel", [], "any", false, false, false, 22), "description", [], "any", false, false, false, 22), "html", null, true);
echo "\">
";
} else {
// line 24
echo " ";
echo (isset($context["metaDescription"]) || array_key_exists("metaDescription", $context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.', 24, $this->source); })());
echo "
";
}
// line 26
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 36
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 37
echo " <link rel=\"stylesheet\" href=\"https://use.typekit.net/icm3oad.css\">
";
// line 38
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.stylesheets");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 47
public function block_top($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "top"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "top"));
// line 53
echo "
";
// line 58
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 61
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 62
echo "
<header class=\"header-body\">
";
// line 64
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header");
echo "
</header>
";
// line 68
echo " ";
$context["popups"] = $this->extensions['App\Twig\Extensions\Popup\PopupExtension']->getCurrentPagePopup(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.', 68, $this->source); })()), "request", [], "any", false, false, false, 68), "get", [0 => "_route"], "method", false, false, false, 68), 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.', 68, $this->source); })()), "request", [], "any", false, false, false, 68), "attributes", [], "any", false, false, false, 68), "get", [0 => "_route_params"], "method", false, false, false, 68));
// line 69
echo " ";
$context["existPopup"] = false;
// line 70
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["popups"]) || array_key_exists("popups", $context) ? $context["popups"] : (function () { throw new RuntimeError('Variable "popups" does not exist.', 70, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["popup"]) {
// line 71
echo " ";
$context["existPopup"] = true;
// line 72
echo " ";
$this->loadTemplate("@SyliusShop/_popup.html.twig", "@SyliusShop/layout.html.twig", 72)->display(twig_array_merge($context, ["popup" => $context["popup"]]));
// line 73
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['popup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 74
echo " ";
if ((isset($context["existPopup"]) || array_key_exists("existPopup", $context) ? $context["existPopup"] : (function () { throw new RuntimeError('Variable "existPopup" does not exist.', 74, $this->source); })())) {
// line 75
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("popup", null, "bootstrapTheme");
echo "
";
}
// line 77
echo " ";
// line 78
echo "
";
// line 79
$this->loadTemplate("@SyliusShop/Product/_popupAddToCart.html.twig", "@SyliusShop/layout.html.twig", 79)->display($context);
// line 80
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 87
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 88
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 96
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 97
echo " ";
$this->loadTemplate("@SyliusShop/_footer.html.twig", "@SyliusShop/layout.html.twig", 97)->display($context);
// line 98
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 123
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 124
echo " ";
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.javascripts");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@SyliusShop/layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 485 => 124, 475 => 123, 465 => 98, 462 => 97, 452 => 96, 442 => 88, 432 => 87, 421 => 80, 419 => 79, 416 => 78, 414 => 77, 408 => 75, 405 => 74, 391 => 73, 388 => 72, 385 => 71, 367 => 70, 364 => 69, 361 => 68, 355 => 64, 351 => 62, 341 => 61, 331 => 58, 328 => 53, 318 => 47, 306 => 38, 303 => 37, 293 => 36, 283 => 26, 277 => 24, 271 => 22, 269 => 21, 264 => 20, 261 => 19, 251 => 18, 232 => 12, 220 => 126, 218 => 123, 212 => 121, 210 => 120, 204 => 117, 184 => 100, 181 => 99, 179 => 96, 172 => 92, 167 => 89, 165 => 87, 160 => 85, 156 => 84, 152 => 82, 150 => 61, 146 => 59, 144 => 47, 140 => 46, 136 => 45, 129 => 41, 126 => 40, 124 => 36, 120 => 34, 109 => 32, 104 => 31, 98 => 29, 95 => 28, 92 => 27, 90 => 18, 84 => 15, 81 => 14, 75 => 12, 69 => 10, 67 => 9, 64 => 8, 62 => 7, 54 => 2, 51 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale|slice(0, 2) }}\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
{% set _title_no_tag = block('title_no_tag') ?? '' %}
{% if _title_no_tag is not empty %}
{{ _title_no_tag|raw }}
{% else %}
<title> {% block title %}{% include '@DediSyliusSEOPlugin/Shop/Header/_title.html.twig' with { 'resource': product ?? sylius.channel } %}{% endblock %}</title>
{% endif %}
{{ app_get_google_tag_manager_datalayer() }}
<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
{% block metatags %}
{% set metaDescription = sylius_template_event('dedi_sylius_seo_plugin.metatags', { resource: product ?? sylius.channel }) %}
{{ sylius_template_event('dedi_sylius_seo_plugin.rich_snippets') }}
{% if metaDescription is empty %}
<meta name=\"description\" content=\"{{ sylius.channel.description }}\">
{% else %}
{{ metaDescription|raw }}
{% endif %}
{% endblock %}
{% set canonicalList = app_get_canonical_link(app.request) %}
{% if canonicalList is not null %}
<link rel=\"canonical\" href=\"{{ canonicalList[sylius.localeCode] }}\" />
{% endif %}
{% for key,value in canonicalList %}
<link rel=\"alternate\" href=\"{{ value }}\" hreflang=\"{{ key|replace({ '_': \"-\"}) }}\" />
{% endfor %}
<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
{% block stylesheets %}
<link rel=\"stylesheet\" href=\"https://use.typekit.net/icm3oad.css\">
{{ sylius_template_event('sylius.shop.layout.stylesheets') }}
{% endblock %}
{{ sylius_template_event('sylius.shop.layout.head') }}
</head>
<body class=\"body-{{app.request.attributes.get('_route')}}\">
{{ sylius_template_event('sylius.shop.layout.before_body') }}
{% block top %}
{# a remettre si on veut gerer les switch de langue & de channel#}
{# <nav class=\"bg-dark navbar navbar-expand-lg\">#}
{# <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarTop\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">#}
{# <span class=\"navbar-toggler-icon\"></span>#}
{# </button>#}
{# <div class=\"collapse navbar-collapse\" id=\"navbarTop\">#}
{# {{ sylius_template_event('sylius.shop.layout.topbar') }}#}
{# </div>#}
{# </nav>#}
{% endblock %}
<main class=\"big-wrapper\">
<div class=\"menu-mob-overlay\"></div>
{% block header %}
<header class=\"header-body\">
{{ sylius_template_event('sylius.shop.layout.header') }}
</header>
{# --- BEGIN POPUP ADMINISTRABLE --- #}
{% set popups = app_get_current_page_popup(app.request.get('_route'), app.request.attributes.get('_route_params')) %}
{% set existPopup = false %}
{% for popup in popups %}
{% set existPopup = true %}
{% include '@SyliusShop/_popup.html.twig' with { popup: popup } %}
{% endfor %}
{% if existPopup %}
{{ encore_entry_script_tags('popup', null, 'bootstrapTheme') }}
{% endif %}
{# --- END POPUP ADMINISTRABLE --- #}
{% include '@SyliusShop/Product/_popupAddToCart.html.twig' %}
{% endblock %}
<div class=\"main-content page-content\">
<div class=\"container p-lg-0 my-0\">{% include '@SyliusShop/_flashes.html.twig' %}</div>
{{ sylius_template_event('sylius.shop.layout.before_content') }}
{% block content %}
{% endblock %}
{{ sylius_template_event('sylius.shop.layout.after_content') }}
</div>
{% block footer %}
{% include '@SyliusShop/_footer.html.twig' %}
{% endblock %}
{{ sylius_template_event('sylius.shop.layout.after_body') }}
<div class=\"bloc-help text-white d-block d-lg-none\">
<div class=\" font-18 bg-sce\">
<div class=\"font-aller-bold font-18 font-18-mobile\">Besoin d'aide?</div>
<div>
<a href=\"tel:0385338969\" class=\"font-20-mobile font-20 p-nomargin color-pink-s font-weight-medium\"><p>06 20 15 80 43 </p> </a>
</div>
</div>
</div>
<div class=\"loading-overlay\" data-js-loading-overlay>
<div class=\"spinner-border\" role=\"status\">
<span class=\"sr-only\">Loading...</span>
</div>
</div>
</main>
<div class=\"goToTop\"><img src=\"{{ asset('images/top_go.png')}}\" alt=\"\" /></div>
{% include \"@CHCookieConsent/cookie_consent_styling.html.twig\" %}
{{ render_esi(path('ch_cookie_consent.show', { 'locale' : sylius.localeCode })) }}
{% block javascripts %}
{{ sylius_template_event('sylius.shop.layout.javascripts') }}
{% endblock %}
</body>
</html>
", "@SyliusShop/layout.html.twig", "/var/www/html/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/layout.html.twig");
}
}