var/cache/dev/twig/98/98929c3945be0f365c1eea611593680fd55f7e4f2375f723f27801d2d4022223.php line 318

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. /* @SyliusShop/layout.html.twig */
  14. class __TwigTemplate_df15c542636ee117fa3286e31145506b75a0061473b3335db669c7bb1f4e6d29 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.             'head' => [$this'block_head'],
  25.             'title' => [$this'block_title'],
  26.             'metatags' => [$this'block_metatags'],
  27.             'stylesheets' => [$this'block_stylesheets'],
  28.             'header' => [$this'block_header'],
  29.             'banner' => [$this'block_banner'],
  30.             'content' => [$this'block_content'],
  31.             'footer' => [$this'block_footer'],
  32.             'javascripts' => [$this'block_javascripts'],
  33.         ];
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout.html.twig"));
  42.         // line 1
  43.         echo "<!DOCTYPE html>
  44. <html lang=\"";
  45.         // line 3
  46.         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);
  47.         echo "\">
  48. <head>
  49.     ";
  50.         // line 5
  51.         $this->displayBlock('head'$context$blocks);
  52.         // line 44
  53.         echo "</head>
  54. <body class=\"pushable\">
  55.     <!-- Google Tag Manager (noscript) -->
  56.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
  57.         // line 49
  58.         echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code"$context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.'49$this->source); })()), "html"nulltrue);
  59.         echo "\"
  60.     height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  61.     <!-- End Google Tag Manager (noscript) -->
  62.     ";
  63.         // line 53
  64.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_body");
  65.         echo "
  66.     <div class=\"pusher\">
  67.         ";
  68.         // line 55
  69.         $this->displayBlock('header'$context$blocks);
  70.         // line 62
  71.         echo "
  72.         ";
  73.         // line 63
  74.         $this->displayBlock('banner'$context$blocks);
  75.         // line 65
  76.         echo "
  77.         ";
  78.         // line 66
  79.         if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 67
  80. (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'67$this->source); })()), "channel", [], "any"falsefalsefalse67), "code", [], "any"falsefalsefalse67) == "collect") && ((((((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 69
  81. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'69$this->source); })()), "request", [], "any"falsefalsefalse69), "attributes", [], "any"falsefalsefalse69), "get", [=> "_route"], "method"falsefalsefalse69) == "app_shop_product_search") || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 70
  82. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'70$this->source); })()), "request", [], "any"falsefalsefalse70), "attributes", [], "any"falsefalsefalse70), "get", [=> "_route"], "method"falsefalsefalse70) == "sylius_shop_product_show")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 71
  83. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'71$this->source); })()), "request", [], "any"falsefalsefalse71), "attributes", [], "any"falsefalsefalse71), "get", [=> "_route"], "method"falsefalsefalse71) == "sylius_shop_cart_summary")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 72
  84. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'72$this->source); })()), "request", [], "any"falsefalsefalse72), "attributes", [], "any"falsefalsefalse72), "get", [=> "_route"], "method"falsefalsefalse72) == "sylius_shop_login")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 73
  85. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'73$this->source); })()), "request", [], "any"falsefalsefalse73), "attributes", [], "any"falsefalsefalse73), "get", [=> "_route"], "method"falsefalsefalse73) == "sylius_shop_register")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 74
  86. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'74$this->source); })()), "request", [], "any"falsefalsefalse74), "attributes", [], "any"falsefalsefalse74), "get", [=> "_route"], "method"falsefalsefalse74) == "sylius_shop_checkout_address")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 75
  87. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'75$this->source); })()), "request", [], "any"falsefalsefalse75), "attributes", [], "any"falsefalsefalse75), "get", [=> "_route"], "method"falsefalsefalse75) == "sylius_shop_checkout_select_shipping")) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 76
  88. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'76$this->source); })()), "request", [], "any"falsefalsefalse76), "attributes", [], "any"falsefalsefalse76), "get", [=> "_route"], "method"falsefalsefalse76) == "sylius_shop_checkout_complete")))) {
  89.             // line 78
  90.             echo "            <div class=\"env env-message\">";
  91.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.vousboutique"), "html"nulltrue);
  92.             echo "  ";
  93.             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.'78$this->source); })()), "channel", [], "any"falsefalsefalse78), "name", [], "any"falsefalsefalse78), "html"nulltrue);
  94.             echo "</div>
  95.         ";
  96.         }
  97.         // line 80
  98.         echo "
  99.         <div class=\"container\">
  100.             ";
  101.         // line 82
  102.         if ((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.'82$this->source); })()), "request", [], "any"falsefalsefalse82), "attributes", [], "any"falsefalsefalse82), "get", [=> "_route"], "method"falsefalsefalse82) != "sylius_shop_cart_summary")) {
  103.             // line 83
  104.             echo "                ";
  105.             $this->loadTemplate("@SyliusShop/_flashes.html.twig""@SyliusShop/layout.html.twig"83)->display($context);
  106.             // line 84
  107.             echo "            ";
  108.         }
  109.         // line 85
  110.         echo "
  111.             ";
  112.         // line 86
  113.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_content");
  114.         echo "
  115.             ";
  116.         // line 88
  117.         $this->displayBlock('content'$context$blocks);
  118.         // line 90
  119.         echo "
  120.             ";
  121.         // line 91
  122.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_content");
  123.         echo "
  124.         </div>
  125.         ";
  126.         // line 94
  127.         $this->displayBlock('footer'$context$blocks);
  128.         // line 97
  129.         echo "
  130.         ";
  131.         // line 98
  132.         if ((twig_in_filter(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.'98$this->source); })()), "request", [], "any"falsefalsefalse98), "attributes", [], "any"falsefalsefalse98), "get", [=> "_route"], "method"falsefalsefalse98), (isset($context["click_and_collect_modal_routes"]) || array_key_exists("click_and_collect_modal_routes"$context) ? $context["click_and_collect_modal_routes"] : (function () { throw new RuntimeError('Variable "click_and_collect_modal_routes" does not exist.'98$this->source); })())) && (twig_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.'98$this->source); })()), "channel", [], "any"falsefalsefalse98), "code", [], "any"falsefalsefalse98) == "collect"))) {
  133.             // line 99
  134.             echo "            ";
  135.             $this->loadTemplate("modal/ClickAndCollectModal.html.twig""@SyliusShop/layout.html.twig"99)->display($context);
  136.             // line 100
  137.             echo "        ";
  138.         }
  139.         // line 101
  140.         echo "    </div>
  141.     ";
  142.         // line 103
  143.         $this->loadTemplate("@SyliusUi/Modal/_confirmation.html.twig""@SyliusShop/layout.html.twig"103)->display($context);
  144.         // line 104
  145.         echo "
  146.     ";
  147.         // line 105
  148.         $this->displayBlock('javascripts'$context$blocks);
  149.         // line 129
  150.         echo "    ";
  151.         $this->loadTemplate("bundles/SyliusShopBundle/_chatbot.html.twig""@SyliusShop/layout.html.twig"129)->display($context);
  152.         // line 130
  153.         echo "    ";
  154.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_body");
  155.         echo "
  156. </body>
  157. </html>
  158. ";
  159.         
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  161.         
  162.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  163.     }
  164.     // line 5
  165.     public function block_head($context, array $blocks = [])
  166.     {
  167.         $macros $this->macros;
  168.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  169.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  170.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  171.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  172.         // line 6
  173.         echo "        <meta charset=\"utf-8\">
  174.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  175.         <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/assets/shop/img/apple-touch-icon.png\">
  176.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/assets/shop/img/favicon-32x32.png\">
  177.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/assets/shop/img/favicon-16x16.png\">
  178.         <title>";
  179.         // line 12
  180.         $this->displayBlock('title'$context$blocks);
  181.         echo "</title>
  182.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
  183.         <link href=\"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap\" rel=\"stylesheet\">
  184.         <script src=\"/assets/fontawesome.min.js\" crossorigin=\"anonymous\"></script>
  185.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  186.         <meta name=\"google-site-verification\" content=\"XoZRtMHvBvLVQiMB9PYBD-HAkPFglBkbiNeadhSIIXo\" />
  187.         ";
  188.         // line 19
  189.         $this->displayBlock('metatags'$context$blocks);
  190.         // line 21
  191.         echo "
  192.         ";
  193.         // line 22
  194.         $this->displayBlock('stylesheets'$context$blocks);
  195.         // line 32
  196.         echo "
  197.         <!-- Google Tag Manager -->
  198.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  199.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  200.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  201.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  202.         })(window,document,'script','dataLayer','";
  203.         // line 38
  204.         echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code"$context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.'38$this->source); })()), "html"nulltrue);
  205.         echo "');</script>
  206.         <!-- End Google Tag Manager -->
  207.         ";
  208.         // line 42
  209.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.head");
  210.         echo "
  211.     ";
  212.         
  213.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  214.         
  215.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  216.     }
  217.     // line 12
  218.     public function block_title($context, array $blocks = [])
  219.     {
  220.         $macros $this->macros;
  221.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  222.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  223.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  224.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  225.         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.'12$this->source); })()), "channel", [], "any"falsefalsefalse12), "name", [], "any"falsefalsefalse12), "html"nulltrue);
  226.         
  227.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  228.         
  229.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  230.     }
  231.     // line 19
  232.     public function block_metatags($context, array $blocks = [])
  233.     {
  234.         $macros $this->macros;
  235.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  237.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  238.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  239.         // line 20
  240.         echo "        ";
  241.         
  242.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  243.         
  244.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  245.     }
  246.     // line 22
  247.     public function block_stylesheets($context, array $blocks = [])
  248.     {
  249.         $macros $this->macros;
  250.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  251.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  252.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  253.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  254.         // line 23
  255.         echo "            ";
  256.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.stylesheets");
  257.         echo "
  258.             <!-- @TODO: Remove next line, set it into _styles.html.twig (not working at the moment) -->
  259.             ";
  260.         // line 26
  261.         $this->loadTemplate("@SyliusUi/_stylesheets.html.twig""@SyliusShop/layout.html.twig"26)->display(twig_array_merge($context, ["path" => "assets/shop/css/framework.css"]));
  262.         // line 27
  263.         echo "
  264.             <!-- Slick Slider -->
  265.             <link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
  266.             <link rel=\"stylesheet\" href=\"https://unpkg.com/aos@next/dist/aos.css\" />
  267.         ";
  268.         
  269.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  270.         
  271.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  272.     }
  273.     // line 55
  274.     public function block_header($context, array $blocks = [])
  275.     {
  276.         $macros $this->macros;
  277.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  278.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  279.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  280.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  281.         // line 56
  282.         echo "            <header class=\"header\" id=\"header\">
  283.                 <div class=\"container container--large\">
  284.                     ";
  285.         // line 58
  286.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header");
  287.         echo "
  288.                 </div>
  289.             </header>
  290.         ";
  291.         
  292.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  293.         
  294.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  295.     }
  296.     // line 63
  297.     public function block_banner($context, array $blocks = [])
  298.     {
  299.         $macros $this->macros;
  300.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  301.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""banner"));
  302.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  303.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""banner"));
  304.         // line 64
  305.         echo "        ";
  306.         
  307.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  308.         
  309.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  310.     }
  311.     // line 88
  312.     public function block_content($context, array $blocks = [])
  313.     {
  314.         $macros $this->macros;
  315.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  316.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  317.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  318.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  319.         // line 89
  320.         echo "            ";
  321.         
  322.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  323.         
  324.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  325.     }
  326.     // line 94
  327.     public function block_footer($context, array $blocks = [])
  328.     {
  329.         $macros $this->macros;
  330.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  331.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  332.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  333.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  334.         // line 95
  335.         echo "            ";
  336.         $this->loadTemplate("@SyliusShop/_footer.html.twig""@SyliusShop/layout.html.twig"95)->display($context);
  337.         // line 96
  338.         echo "        ";
  339.         
  340.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  341.         
  342.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  343.     }
  344.     // line 105
  345.     public function block_javascripts($context, array $blocks = [])
  346.     {
  347.         $macros $this->macros;
  348.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  349.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  350.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  351.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  352.         // line 106
  353.         echo "
  354.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"></script>
  355.         <script type=\"text/javascript\" src=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>
  356.         <!-- @TODO: Find a better way to load that -->
  357.         ";
  358.         // line 111
  359.         $this->loadTemplate("@SyliusUi/_javascripts.html.twig""@SyliusShop/layout.html.twig"111)->display(twig_array_merge($context, ["path" => "assets/shop/js/header.js"]));
  360.         // line 112
  361.         echo "        ";
  362.         $this->loadTemplate("@SyliusUi/_javascripts.html.twig""@SyliusShop/layout.html.twig"112)->display(twig_array_merge($context, ["path" => "assets/shop/js/carousels.js"]));
  363.         // line 113
  364.         echo "
  365.         ";
  366.         // line 114
  367.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.javascripts");
  368.         echo "
  369.         <script src=\"https://unpkg.com/aos@next/dist/aos.js\"></script>
  370.         <script>
  371.             AOS.init({
  372.                 once: true
  373.             });
  374.             ";
  375.         // line 120
  376.         if ( !twig_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.'120$this->source); })()), "channel", [], "any"falsefalsefalse120), "getEnableClickNCollect", [], "method"falsefalsefalse120)) {
  377.             // line 121
  378.             echo "                ";
  379.             if (twig_in_filter(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.'121$this->source); })()), "request", [], "any"falsefalsefalse121), "attributes", [], "any"falsefalsefalse121), "get", [=> "_route"], "method"falsefalsefalse121), (isset($context["click_and_collect_modal_routes"]) || array_key_exists("click_and_collect_modal_routes"$context) ? $context["click_and_collect_modal_routes"] : (function () { throw new RuntimeError('Variable "click_and_collect_modal_routes" does not exist.'121$this->source); })()))) {
  380.                 // line 122
  381.                 echo "                \$(document).ready(() => {
  382.                     \$('#click-and-collect-modal').modal('show');
  383.                 })
  384.                 ";
  385.             }
  386.             // line 126
  387.             echo "            ";
  388.         }
  389.         // line 127
  390.         echo "        </script>
  391.     ";
  392.         
  393.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  394.         
  395.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  396.     }
  397.     public function getTemplateName()
  398.     {
  399.         return "@SyliusShop/layout.html.twig";
  400.     }
  401.     public function isTraitable()
  402.     {
  403.         return false;
  404.     }
  405.     public function getDebugInfo()
  406.     {
  407.         return array (  457 => 127,  454 => 126,  448 => 122,  445 => 121,  443 => 120,  434 => 114,  431 => 113,  428 => 112,  426 => 111,  419 => 106,  409 => 105,  399 => 96,  396 => 95,  386 => 94,  376 => 89,  366 => 88,  356 => 64,  346 => 63,  332 => 58,  328 => 56,  318 => 55,  304 => 27,  302 => 26,  295 => 23,  285 => 22,  275 => 20,  265 => 19,  246 => 12,  234 => 42,  227 => 38,  219 => 32,  217 => 22,  214 => 21,  212 => 19,  202 => 12,  194 => 6,  184 => 5,  169 => 130,  166 => 129,  164 => 105,  161 => 104,  159 => 103,  155 => 101,  152 => 100,  149 => 99,  147 => 98,  144 => 97,  142 => 94,  136 => 91,  133 => 90,  131 => 88,  126 => 86,  123 => 85,  120 => 84,  117 => 83,  115 => 82,  111 => 80,  103 => 78,  101 => 76,  100 => 75,  99 => 74,  98 => 73,  97 => 72,  96 => 71,  95 => 70,  94 => 69,  93 => 67,  92 => 66,  89 => 65,  87 => 63,  84 => 62,  82 => 55,  77 => 53,  70 => 49,  63 => 44,  61 => 5,  56 => 3,  52 => 1,);
  408.     }
  409.     public function getSourceContext()
  410.     {
  411.         return new Source("<!DOCTYPE html>
  412. <html lang=\"{{ app.request.locale|slice(0, 2) }}\">
  413. <head>
  414.     {% block head %}
  415.         <meta charset=\"utf-8\">
  416.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  417.         <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/assets/shop/img/apple-touch-icon.png\">
  418.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/assets/shop/img/favicon-32x32.png\">
  419.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/assets/shop/img/favicon-16x16.png\">
  420.         <title>{% block title %}{{ sylius.channel.name }}{% endblock %}</title>
  421.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
  422.         <link href=\"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap\" rel=\"stylesheet\">
  423.         <script src=\"/assets/fontawesome.min.js\" crossorigin=\"anonymous\"></script>
  424.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  425.         <meta name=\"google-site-verification\" content=\"XoZRtMHvBvLVQiMB9PYBD-HAkPFglBkbiNeadhSIIXo\" />
  426.         {% block metatags %}
  427.         {% endblock %}
  428.         {% block stylesheets %}
  429.             {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  430.             <!-- @TODO: Remove next line, set it into _styles.html.twig (not working at the moment) -->
  431.             {% include '@SyliusUi/_stylesheets.html.twig' with {'path': 'assets/shop/css/framework.css'} %}
  432.             <!-- Slick Slider -->
  433.             <link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
  434.             <link rel=\"stylesheet\" href=\"https://unpkg.com/aos@next/dist/aos.css\" />
  435.         {% endblock %}
  436.         <!-- Google Tag Manager -->
  437.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  438.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  439.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  440.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  441.         })(window,document,'script','dataLayer','{{ gtm_code }}');</script>
  442.         <!-- End Google Tag Manager -->
  443.         {{ sylius_template_event('sylius.shop.layout.head') }}
  444.     {% endblock %}
  445. </head>
  446. <body class=\"pushable\">
  447.     <!-- Google Tag Manager (noscript) -->
  448.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ gtm_code }}\"
  449.     height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  450.     <!-- End Google Tag Manager (noscript) -->
  451.     {{ sylius_template_event('sylius.shop.layout.before_body') }}
  452.     <div class=\"pusher\">
  453.         {% block header %}
  454.             <header class=\"header\" id=\"header\">
  455.                 <div class=\"container container--large\">
  456.                     {{ sylius_template_event('sylius.shop.layout.header') }}
  457.                 </div>
  458.             </header>
  459.         {% endblock %}
  460.         {% block banner %}
  461.         {% endblock %}
  462.         {% if (
  463.             sylius.channel.code == \"collect\"
  464.             and
  465.             (app.request.attributes.get('_route') ==   \"app_shop_product_search\"
  466.             or app.request.attributes.get('_route') ==   \"sylius_shop_product_show\"
  467.             or app.request.attributes.get('_route') ==   \"sylius_shop_cart_summary\"
  468.             or app.request.attributes.get('_route') ==   \"sylius_shop_login\"
  469.             or app.request.attributes.get('_route') ==   \"sylius_shop_register\"
  470.             or app.request.attributes.get('_route') ==   \"sylius_shop_checkout_address\"
  471.             or app.request.attributes.get('_route') ==   \"sylius_shop_checkout_select_shipping\"
  472.             or app.request.attributes.get('_route') ==   \"sylius_shop_checkout_complete\")
  473.         ) %}
  474.             <div class=\"env env-message\">{{ 'sylius.ui.vousboutique'|trans }}  {{ sylius.channel.name }}</div>
  475.         {% endif %}
  476.         <div class=\"container\">
  477.             {% if (app.request.attributes.get('_route') != \"sylius_shop_cart_summary\" ) %}
  478.                 {% include '@SyliusShop/_flashes.html.twig' %}
  479.             {% endif %}
  480.             {{ sylius_template_event('sylius.shop.layout.before_content') }}
  481.             {% block content %}
  482.             {% endblock %}
  483.             {{ sylius_template_event('sylius.shop.layout.after_content') }}
  484.         </div>
  485.         {% block footer %}
  486.             {% include '@SyliusShop/_footer.html.twig' %}
  487.         {% endblock %}
  488.         {% if app.request.attributes.get('_route') in click_and_collect_modal_routes and sylius.channel.code == \"collect\" %}
  489.             {% include 'modal/ClickAndCollectModal.html.twig' %}
  490.         {% endif %}
  491.     </div>
  492.     {% include '@SyliusUi/Modal/_confirmation.html.twig' %}
  493.     {% block javascripts %}
  494.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"></script>
  495.         <script type=\"text/javascript\" src=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>
  496.         <!-- @TODO: Find a better way to load that -->
  497.         {% include '@SyliusUi/_javascripts.html.twig' with {'path': 'assets/shop/js/header.js'} %}
  498.         {% include '@SyliusUi/_javascripts.html.twig' with {'path': 'assets/shop/js/carousels.js'} %}
  499.         {{ sylius_template_event('sylius.shop.layout.javascripts') }}
  500.         <script src=\"https://unpkg.com/aos@next/dist/aos.js\"></script>
  501.         <script>
  502.             AOS.init({
  503.                 once: true
  504.             });
  505.             {% if ( not sylius.channel.getEnableClickNCollect() ) %}
  506.                 {% if app.request.attributes.get('_route') in click_and_collect_modal_routes %}
  507.                 \$(document).ready(() => {
  508.                     \$('#click-and-collect-modal').modal('show');
  509.                 })
  510.                 {% endif %}
  511.             {% endif %}
  512.         </script>
  513.     {% endblock %}
  514.     {% include 'bundles/SyliusShopBundle/_chatbot.html.twig' %}
  515.     {{ sylius_template_event('sylius.shop.layout.after_body') }}
  516. </body>
  517. </html>
  518. ""@SyliusShop/layout.html.twig""/home/mons/site/www/templates/bundles/SyliusShopBundle/layout.html.twig");
  519.     }
  520. }