var/cache/dev/twig/23/237385c196a261e53f62ee9a3a5111413db976193a18eaf51b50ead0f27682d6.php line 495

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* SyliusShopBundle::layout.html.twig */
  14. class __TwigTemplate_b2f2fc684f6f6867f85f3ded5c9c03cb0ac7d3e1911db922d94feefe3e825f38 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'metatags' => [$this'block_metatags'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'top' => [$this'block_top'],
  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""SyliusShopBundle::layout.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""SyliusShopBundle::layout.html.twig"));
  41.         // line 1
  42.         echo "<!DOCTYPE html>
  43. <html lang=\"";
  44.         // line 3
  45.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3), 02), "html"nulltrue);
  46.         echo "\">
  47. <head>
  48.     <!-- Google Tag Manager -->
  49.     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  50.           new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  51.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  52.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  53.       })(window,document,'script','dataLayer','GTM-WWHDNWT');</script>
  54.     <!-- End Google Tag Manager -->
  55.     <meta charset=\"utf-8\">
  56.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  57.     <meta name=\"description\" content=\"";
  58.         // line 16
  59.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'16$this->source); })()), "channel", [], "any"falsefalsefalse16), "description", [], "any"falsefalsefalse16), "html"nulltrue);
  60.         echo "\">
  61.     <title>";
  62.         // line 17
  63.         $this->displayBlock('title'$context$blocks);
  64.         // line 18
  65.         echo "</title>
  66.     <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  67.     <!--link href=\"https://allfont.net/allfont.css?fonts=franklin-gothic-medium-cond\" rel=\"stylesheet\" type=\"text/css\" charset=\"utf-8\"/-->
  68. \t<meta name=\"google-site-verification\" content=\"rl9mbePwhmHwLGNeIjxucoYtocTVurzc-H0sbdrkWn0\" />
  69.     ";
  70.         // line 23
  71.         $this->displayBlock('metatags'$context$blocks);
  72.         // line 27
  73.         echo "
  74.     ";
  75.         // line 28
  76.         $this->displayBlock('stylesheets'$context$blocks);
  77.         // line 32
  78.         echo "
  79.     ";
  80.         // line 33
  81.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.head");
  82.         echo "
  83.     <!-- Google tag (gtag.js) -->
  84.     <script async src=\"https://www.googletagmanager.com/gtag/js?id=AW-11379533080\">
  85.     </script>
  86.     <script>
  87.         window.dataLayer = window.dataLayer || [];
  88.         function gtag(){dataLayer.push(arguments);}
  89.         gtag('js', new Date());
  90.         gtag('consent', 'default', {
  91.             'ad_storage': 'denied',
  92.             'ad_user_data': 'denied',
  93.             'ad_personalization': 'denied',
  94.             'analytics_storage': 'denied'
  95.         });
  96.         gtag('config', 'AW-11379533080');
  97.         var consentPreferences = {};
  98.         ";
  99.         // line 50
  100.         if (($this->extensions['ConnectHolland\CookieConsentBundle\Twig\CHCookieConsentTwigExtension']->isCategoryAllowedByUser($context"analytics") == true)) {
  101.             // line 51
  102.             echo "        consentPreferences['analytics_storage'] = 'granted';
  103.         ";
  104.         }
  105.         // line 53
  106.         echo "        ";
  107.         if (($this->extensions['ConnectHolland\CookieConsentBundle\Twig\CHCookieConsentTwigExtension']->isCategoryAllowedByUser($context"tracking") == true)) {
  108.             // line 54
  109.             echo "        consentPreferences['ad_storage'] = 'granted';
  110.         ";
  111.         }
  112.         // line 56
  113.         echo "        ";
  114.         if (($this->extensions['ConnectHolland\CookieConsentBundle\Twig\CHCookieConsentTwigExtension']->isCategoryAllowedByUser($context"marketing") == true)) {
  115.             // line 57
  116.             echo "        consentPreferences['ad_user_data'] = 'granted';
  117.         ";
  118.         }
  119.         // line 59
  120.         echo "        ";
  121.         if (($this->extensions['ConnectHolland\CookieConsentBundle\Twig\CHCookieConsentTwigExtension']->isCategoryAllowedByUser($context"social_media") == true)) {
  122.             // line 60
  123.             echo "        consentPreferences['ad_personalization'] = 'granted';
  124.         ";
  125.         }
  126.         // line 62
  127.         echo "
  128.         // Si l'objet contient des consentements, les envoyer avec gtag
  129.         if (Object.keys(consentPreferences).length > 0) {
  130.             gtag('consent', 'update', consentPreferences);
  131.         }
  132.     </script>
  133.     <script>
  134.     var _paq = window._paq = window._paq || [];
  135.     /* tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" */
  136.     _paq.push(['trackPageView']);
  137.     _paq.push(['enableLinkTracking']);
  138.     (function() {
  139.     var u=\"//mat.kikas.fr/\";
  140.     _paq.push(['setTrackerUrl', u+'matomo.php']);
  141.     _paq.push(['setSiteId', '4']);
  142.     var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  143.     g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  144.     })();
  145.     </script>
  146.     <!-- End Matomo Code -->
  147. </head>
  148. <body class=\"body-";
  149.         // line 85
  150.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'85$this->source); })()), "request", [], "any"falsefalsefalse85), "attributes", [], "any"falsefalsefalse85), "get", [=> "_route"], "method"falsefalsefalse85), "html"nulltrue);
  151.         echo "\">
  152. <!-- Google Tag Manager (noscript) -->
  153. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WWHDNWT\"
  154.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  155. <!-- End Google Tag Manager (noscript) -->
  156.     ";
  157.         // line 90
  158.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_body");
  159.         echo "
  160.     <section class=\"big-wrapper\">
  161.         ";
  162.         // line 92
  163.         $this->displayBlock('top'$context$blocks);
  164.         // line 95
  165.         echo "
  166.         ";
  167.         // line 96
  168.         $this->displayBlock('header'$context$blocks);
  169.         // line 120
  170.         echo "
  171.         <div class=\"main-content page-content\">
  172.             <div class=\"container p-lg-0 my-0\">";
  173.         // line 124
  174.         $this->loadTemplate("@SyliusShop/_flashes.html.twig""SyliusShopBundle::layout.html.twig"124)->display($context);
  175.         echo "</div>
  176.             ";
  177.         // line 125
  178.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_content");
  179.         echo "
  180.             ";
  181.         // line 127
  182.         $this->displayBlock('content'$context$blocks);
  183.         // line 129
  184.         echo "
  185.             ";
  186.         // line 130
  187.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_content");
  188.         echo "
  189.         </div>
  190.         ";
  191.         // line 136
  192.         $this->displayBlock('footer'$context$blocks);
  193.         // line 139
  194.         echo "
  195.         ";
  196.         // line 140
  197.         $this->displayBlock('javascripts'$context$blocks);
  198.         // line 144
  199.         echo "
  200.         ";
  201.         // line 146
  202.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_body");
  203.         echo "
  204.         <div class=\"loading-overlay\" data-js-loading-overlay>
  205.             <div class=\"spinner-border\" role=\"status\">
  206.                 <span class=\"sr-only\">Loading...</span>
  207.             </div>
  208.         </div>
  209.     </section>
  210. <div class=\"menu-overlay\"></div>
  211. <div class=\"goToTop\"><img src=\"";
  212.         // line 154
  213.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/top_go.png"), "html"nulltrue);
  214.         echo "\" alt=\"\" /></div>
  215. </body>
  216. </html>
  217. ";
  218.         
  219.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  220.         
  221.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  222.     }
  223.     // line 17
  224.     public function block_title($context, array $blocks = [])
  225.     {
  226.         $macros $this->macros;
  227.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  228.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  229.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  230.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  231.         if ((array_key_exists("taxon"$context) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["taxon"]) || array_key_exists("taxon"$context) ? $context["taxon"] : (function () { throw new RuntimeError('Variable "taxon" does not exist.'17$this->source); })()), "translation", [], "any"falsefalsefalse17), "title", [], "any"falsefalsefalse17)))) {
  232.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["taxon"]) || array_key_exists("taxon"$context) ? $context["taxon"] : (function () { throw new RuntimeError('Variable "taxon" does not exist.'17$this->source); })()), "translation", [], "any"falsefalsefalse17), "title", [], "any"falsefalsefalse17), "html"nulltrue);
  233.             echo "
  234.             ";
  235.         } else {
  236.             // line 18
  237.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'18$this->source); })()), "channel", [], "any"falsefalsefalse18), "name", [], "any"falsefalsefalse18), "html"nulltrue);
  238.         }
  239.         
  240.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  241.         
  242.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  243.     }
  244.     // line 23
  245.     public function block_metatags($context, array $blocks = [])
  246.     {
  247.         $macros $this->macros;
  248.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  249.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  250.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  251.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  252.         // line 24
  253.         echo "
  254.     ";
  255.         
  256.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  257.         
  258.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  259.     }
  260.     // line 28
  261.     public function block_stylesheets($context, array $blocks = [])
  262.     {
  263.         $macros $this->macros;
  264.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  265.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  266.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  267.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  268.         // line 29
  269.         echo "        ";
  270.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.stylesheets");
  271.         echo "
  272.     ";
  273.         
  274.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  275.         
  276.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  277.     }
  278.     // line 92
  279.     public function block_top($context, array $blocks = [])
  280.     {
  281.         $macros $this->macros;
  282.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  283.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  284.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  285.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  286.         // line 93
  287.         echo "
  288.         ";
  289.         
  290.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  291.         
  292.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  293.     }
  294.     // line 96
  295.     public function block_header($context, array $blocks = [])
  296.     {
  297.         $macros $this->macros;
  298.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  299.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  300.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  301.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  302.         // line 97
  303.         echo "             <div id=\"modalCookies2\" tabindex=\"-1\" >
  304. \t\t\t\t";
  305.         // line 99
  306.         $this->loadTemplate("@CHCookieConsent/cookie_consent_styling.html.twig""SyliusShopBundle::layout.html.twig"99)->display($context);
  307.         // line 100
  308.         echo "\t\t\t\t";
  309.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ch_cookie_consent.show_if_cookie_consent_not_set", ["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.'100$this->source); })()), "localeCode", [], "any"falsefalsefalse100)]));
  310.         echo "
  311.         </div>
  312.             <header class=\"header-body\">
  313.             ";
  314.         // line 105
  315.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header");
  316.         echo "
  317.             </header>
  318.             ";
  319.         // line 109
  320.         echo "            ";
  321.         $context["popups"] = $this->extensions['App\Twig\Extensions\Popup\PopupExtension']->getCurrentPagePopup(twig_get_attribute($this->env$this->sourcetwig_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.'109$this->source); })()), "request", [], "any"falsefalsefalse109), "get", [=> "_route"], "method"falsefalsefalse109), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'109$this->source); })()), "request", [], "any"falsefalsefalse109), "attributes", [], "any"falsefalsefalse109), "get", [=> "_route_params"], "method"falsefalsefalse109));
  322.         // line 110
  323.         echo "            ";
  324.         $context["existPopup"] = false;
  325.         // line 111
  326.         echo "            ";
  327.         $context['_parent'] = $context;
  328.         $context['_seq'] = twig_ensure_traversable((isset($context["popups"]) || array_key_exists("popups"$context) ? $context["popups"] : (function () { throw new RuntimeError('Variable "popups" does not exist.'111$this->source); })()));
  329.         $context['loop'] = [
  330.           'parent' => $context['_parent'],
  331.           'index0' => 0,
  332.           'index'  => 1,
  333.           'first'  => true,
  334.         ];
  335.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  336.             $length count($context['_seq']);
  337.             $context['loop']['revindex0'] = $length 1;
  338.             $context['loop']['revindex'] = $length;
  339.             $context['loop']['length'] = $length;
  340.             $context['loop']['last'] = === $length;
  341.         }
  342.         foreach ($context['_seq'] as $context["_key"] => $context["popup"]) {
  343.             // line 112
  344.             echo "                ";
  345.             $context["existPopup"] = true;
  346.             // line 113
  347.             echo "                ";
  348.             $this->loadTemplate("@SyliusShop/_popup.html.twig""SyliusShopBundle::layout.html.twig"113)->display(twig_array_merge($context, ["popup" => $context["popup"]]));
  349.             // line 114
  350.             echo "            ";
  351.             ++$context['loop']['index0'];
  352.             ++$context['loop']['index'];
  353.             $context['loop']['first'] = false;
  354.             if (isset($context['loop']['length'])) {
  355.                 --$context['loop']['revindex0'];
  356.                 --$context['loop']['revindex'];
  357.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  358.             }
  359.         }
  360.         $_parent $context['_parent'];
  361.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['popup'], $context['_parent'], $context['loop']);
  362.         $context array_intersect_key($context$_parent) + $_parent;
  363.         // line 115
  364.         echo "            ";
  365.         if ((isset($context["existPopup"]) || array_key_exists("existPopup"$context) ? $context["existPopup"] : (function () { throw new RuntimeError('Variable "existPopup" does not exist.'115$this->source); })())) {
  366.             // line 116
  367.             echo "                ";
  368.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("popup"null"bootstrapTheme");
  369.             echo "
  370.             ";
  371.         }
  372.         // line 118
  373.         echo "            ";
  374.         // line 119
  375.         echo "        ";
  376.         
  377.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  378.         
  379.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  380.     }
  381.     // line 127
  382.     public function block_content($context, array $blocks = [])
  383.     {
  384.         $macros $this->macros;
  385.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  386.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  387.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  388.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  389.         // line 128
  390.         echo "            ";
  391.         
  392.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  393.         
  394.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  395.     }
  396.     // line 136
  397.     public function block_footer($context, array $blocks = [])
  398.     {
  399.         $macros $this->macros;
  400.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  401.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  402.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  403.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  404.         // line 137
  405.         echo "            ";
  406.         $this->loadTemplate("@SyliusShop/_footer.html.twig""SyliusShopBundle::layout.html.twig"137)->display($context);
  407.         // line 138
  408.         echo "        ";
  409.         
  410.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  411.         
  412.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  413.     }
  414.     // line 140
  415.     public function block_javascripts($context, array $blocks = [])
  416.     {
  417.         $macros $this->macros;
  418.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  419.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  420.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  421.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  422.         // line 141
  423.         echo "            ";
  424.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.javascripts");
  425.         echo "
  426.         ";
  427.         
  428.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  429.         
  430.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  431.     }
  432.     public function getTemplateName()
  433.     {
  434.         return "SyliusShopBundle::layout.html.twig";
  435.     }
  436.     public function isTraitable()
  437.     {
  438.         return false;
  439.     }
  440.     public function getDebugInfo()
  441.     {
  442.         return array (  494 => 141,  484 => 140,  474 => 138,  471 => 137,  461 => 136,  451 => 128,  441 => 127,  431 => 119,  429 => 118,  423 => 116,  420 => 115,  406 => 114,  403 => 113,  400 => 112,  382 => 111,  379 => 110,  376 => 109,  370 => 105,  361 => 100,  359 => 99,  355 => 97,  345 => 96,  334 => 93,  324 => 92,  310 => 29,  300 => 28,  288 => 24,  278 => 23,  267 => 18,  252 => 17,  237 => 154,  226 => 146,  222 => 144,  220 => 140,  217 => 139,  215 => 136,  206 => 130,  203 => 129,  201 => 127,  196 => 125,  192 => 124,  186 => 120,  184 => 96,  181 => 95,  179 => 92,  174 => 90,  166 => 85,  141 => 62,  137 => 60,  134 => 59,  130 => 57,  127 => 56,  123 => 54,  120 => 53,  116 => 51,  114 => 50,  94 => 33,  91 => 32,  89 => 28,  86 => 27,  84 => 23,  77 => 18,  75 => 17,  71 => 16,  55 => 3,  51 => 1,);
  443.     }
  444.     public function getSourceContext()
  445.     {
  446.         return new Source("<!DOCTYPE html>
  447. <html lang=\"{{ app.request.locale|slice(0, 2) }}\">
  448. <head>
  449.     <!-- Google Tag Manager -->
  450.     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  451.           new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  452.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  453.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  454.       })(window,document,'script','dataLayer','GTM-WWHDNWT');</script>
  455.     <!-- End Google Tag Manager -->
  456.     <meta charset=\"utf-8\">
  457.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  458.     <meta name=\"description\" content=\"{{ sylius.channel.description}}\">
  459.     <title>{% block title %}{% if taxon is defined and taxon.translation.title is not null %}{{ taxon.translation.title }}
  460.             {% else %}{{ sylius.channel.name }}{% endif %}{% endblock %}</title>
  461.     <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  462.     <!--link href=\"https://allfont.net/allfont.css?fonts=franklin-gothic-medium-cond\" rel=\"stylesheet\" type=\"text/css\" charset=\"utf-8\"/-->
  463. \t<meta name=\"google-site-verification\" content=\"rl9mbePwhmHwLGNeIjxucoYtocTVurzc-H0sbdrkWn0\" />
  464.     {% block metatags %}
  465.     {% endblock %}
  466.     {% block stylesheets %}
  467.         {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  468.     {% endblock %}
  469.     {{ sylius_template_event('sylius.shop.layout.head') }}
  470.     <!-- Google tag (gtag.js) -->
  471.     <script async src=\"https://www.googletagmanager.com/gtag/js?id=AW-11379533080\">
  472.     </script>
  473.     <script>
  474.         window.dataLayer = window.dataLayer || [];
  475.         function gtag(){dataLayer.push(arguments);}
  476.         gtag('js', new Date());
  477.         gtag('consent', 'default', {
  478.             'ad_storage': 'denied',
  479.             'ad_user_data': 'denied',
  480.             'ad_personalization': 'denied',
  481.             'analytics_storage': 'denied'
  482.         });
  483.         gtag('config', 'AW-11379533080');
  484.         var consentPreferences = {};
  485.         {% if chcookieconsent_isCategoryAllowedByUser('analytics') == true %}
  486.         consentPreferences['analytics_storage'] = 'granted';
  487.         {% endif %}
  488.         {% if chcookieconsent_isCategoryAllowedByUser('tracking') == true %}
  489.         consentPreferences['ad_storage'] = 'granted';
  490.         {% endif %}
  491.         {% if chcookieconsent_isCategoryAllowedByUser('marketing') == true %}
  492.         consentPreferences['ad_user_data'] = 'granted';
  493.         {% endif %}
  494.         {% if chcookieconsent_isCategoryAllowedByUser('social_media') == true %}
  495.         consentPreferences['ad_personalization'] = 'granted';
  496.         {% endif %}
  497.         // Si l'objet contient des consentements, les envoyer avec gtag
  498.         if (Object.keys(consentPreferences).length > 0) {
  499.             gtag('consent', 'update', consentPreferences);
  500.         }
  501.     </script>
  502.     <script>
  503.     var _paq = window._paq = window._paq || [];
  504.     /* tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" */
  505.     _paq.push(['trackPageView']);
  506.     _paq.push(['enableLinkTracking']);
  507.     (function() {
  508.     var u=\"//mat.kikas.fr/\";
  509.     _paq.push(['setTrackerUrl', u+'matomo.php']);
  510.     _paq.push(['setSiteId', '4']);
  511.     var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  512.     g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  513.     })();
  514.     </script>
  515.     <!-- End Matomo Code -->
  516. </head>
  517. <body class=\"body-{{app.request.attributes.get('_route')}}\">
  518. <!-- Google Tag Manager (noscript) -->
  519. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WWHDNWT\"
  520.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  521. <!-- End Google Tag Manager (noscript) -->
  522.     {{ sylius_template_event('sylius.shop.layout.before_body') }}
  523.     <section class=\"big-wrapper\">
  524.         {% block top %}
  525.         {% endblock %}
  526.         {% block header %}
  527.              <div id=\"modalCookies2\" tabindex=\"-1\" >
  528. \t\t\t\t{% include \"@CHCookieConsent/cookie_consent_styling.html.twig\" %}
  529. \t\t\t\t{{ render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set', { 'locale' : sylius.localeCode })) }}
  530.         </div>
  531.             <header class=\"header-body\">
  532.             {{ sylius_template_event('sylius.shop.layout.header') }}
  533.             </header>
  534.             {#  --- BEGIN POPUP ADMINISTRABLE ---  #}
  535.             {% set popups = app_get_current_page_popup(app.request.get('_route'), app.request.attributes.get('_route_params')) %}
  536.             {% set existPopup = false %}
  537.             {% for popup in popups %}
  538.                 {% set existPopup = true %}
  539.                 {% include '@SyliusShop/_popup.html.twig' with { popup: popup } %}
  540.             {% endfor %}
  541.             {% if existPopup %}
  542.                 {{ encore_entry_script_tags('popup', null, 'bootstrapTheme') }}
  543.             {% endif %}
  544.             {#  --- END POPUP ADMINISTRABLE  ---  #}
  545.         {% endblock %}
  546.         <div class=\"main-content page-content\">
  547.             <div class=\"container p-lg-0 my-0\">{% include '@SyliusShop/_flashes.html.twig' %}</div>
  548.             {{ sylius_template_event('sylius.shop.layout.before_content') }}
  549.             {% block content %}
  550.             {% endblock %}
  551.             {{ sylius_template_event('sylius.shop.layout.after_content') }}
  552.         </div>
  553.         {% block footer %}
  554.             {% include '@SyliusShop/_footer.html.twig' %}
  555.         {% endblock %}
  556.         {% block javascripts %}
  557.             {{ sylius_template_event('sylius.shop.layout.javascripts') }}
  558.         {% endblock %}
  559.         {{ sylius_template_event('sylius.shop.layout.after_body') }}
  560.         <div class=\"loading-overlay\" data-js-loading-overlay>
  561.             <div class=\"spinner-border\" role=\"status\">
  562.                 <span class=\"sr-only\">Loading...</span>
  563.             </div>
  564.         </div>
  565.     </section>
  566. <div class=\"menu-overlay\"></div>
  567. <div class=\"goToTop\"><img src=\"{{ asset('images/top_go.png')}}\" alt=\"\" /></div>
  568. </body>
  569. </html>
  570. ""SyliusShopBundle::layout.html.twig""/home/rayonnage/preprod/sylius/themes/BootstrapTheme/SyliusShopBundle/views/layout.html.twig");
  571.     }
  572. }