var/cache/dev/twig/74/7463d9aa8848c388ffb2c4bfa92eaada.php line 141

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_a1003f76744ccbf96401507bed784904 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.             'seo_title' => [$this'block_seo_title'],
  25.             'seo_metatags' => [$this'block_seo_metatags'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'messages' => [$this'block_messages'],
  28.             'sidebar' => [$this'block_sidebar'],
  29.             'accountSidebar' => [$this'block_accountSidebar'],
  30.             'top' => [$this'block_top'],
  31.             'header' => [$this'block_header'],
  32.             'content' => [$this'block_content'],
  33.             'footer' => [$this'block_footer'],
  34.             'javascripts' => [$this'block_javascripts'],
  35.             'confirmationModal' => [$this'block_confirmationModal'],
  36.         ];
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout.html.twig"));
  45.         // line 1
  46.         echo "<!DOCTYPE html>
  47. <html lang=\"";
  48.         // line 3
  49.         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);
  50.         echo "\">
  51. <head>
  52.     <meta charset=\"utf-8\">
  53.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  54.     ";
  55.         // line 8
  56.         $this->displayBlock('seo_title'$context$blocks);
  57.         // line 11
  58.         echo "    <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  59.     <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  60.     <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  61.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/favicon/apple-touch-icon.png?v=1.0.0\">
  62.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon/favicon-16x16.png?v=1.0.0\">
  63.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon/favicon-32x32.png?v=1.0.0\">
  64.     <link rel=\"icon\" type=\"image/png\" sizes=\"96x96\" href=\"/favicon/favicon-96x96.png?v=1.0.0\">
  65.     <link rel=\"icon\" type=\"image/svg+xml\" href=\"/favicon/favicon.svg?v=1.0.0\">
  66.     <link rel=\"mask-icon\" href=\"/favicon/safari-pinned-tab.svg?v=1.0.0\" color=\"#5bbad5\">
  67.     <link rel=\"shortcut icon\" href=\"/favicon/favicon.ico?v=1.0.0\">
  68.     <meta name=\"theme-color\" content=\"#ffffff\">
  69.     <link href=\"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap\" rel=\"stylesheet\">
  70.     ";
  71.         // line 24
  72.         $this->loadTemplate("@SyliusShop/_links.html.twig""@SyliusShop/layout.html.twig"24)->display($context);
  73.         // line 25
  74.         echo "    ";
  75.         $this->loadTemplate("@SyliusShop/_clarity.html.twig""@SyliusShop/layout.html.twig"25)->display($context);
  76.         // line 26
  77.         echo "    ";
  78.         $this->displayBlock('seo_metatags'$context$blocks);
  79.         // line 42
  80.         echo "
  81.     ";
  82.         // line 44
  83.         $this->displayBlock('stylesheets'$context$blocks);
  84.         // line 52
  85.         echo "
  86.     ";
  87.         // line 53
  88.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.head");
  89.         echo "
  90. </head>
  91. <body class=\"pushable\">
  92. ";
  93.         // line 57
  94.         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->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.'57$this->source); })()), "request", [], "any"falsefalsefalse57), "locale", [], "any"falsefalsefalse57)]));
  95.         echo "
  96. ";
  97.         // line 58
  98.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_body");
  99.         echo "
  100. ";
  101.         // line 60
  102.         $this->displayBlock('messages'$context$blocks);
  103.         // line 63
  104.         echo "
  105. ";
  106.         // line 64
  107.         $this->displayBlock('sidebar'$context$blocks);
  108.         // line 69
  109.         echo "
  110. ";
  111.         // line 70
  112.         $this->displayBlock('accountSidebar'$context$blocks);
  113.         // line 77
  114.         echo "
  115. <div class=\"pusher\" data-route=\"";
  116.         // line 78
  117.         echo twig_escape_filter($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.'78$this->source); })()), "request", [], "any"falsefalsefalse78), "get", [=> "_route"], "method"falsefalsefalse78), "html"nulltrue);
  118.         echo "\">
  119.     ";
  120.         // line 79
  121.         $this->displayBlock('top'$context$blocks);
  122.         // line 89
  123.         echo "
  124.     ";
  125.         // line 90
  126.         $this->displayBlock('header'$context$blocks);
  127.         // line 98
  128.         echo "
  129.     ";
  130.         // line 100
  131.         echo "    ";
  132.         $context["currentRoute"] = 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.'100$this->source); })()), "request", [], "any"falsefalsefalse100), "get", [=> "_route"], "method"falsefalsefalse100);
  133.         // line 101
  134.         echo "    ";
  135.         $context["isHomepage"] = ((isset($context["currentRoute"]) || array_key_exists("currentRoute"$context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.'101$this->source); })()) == "sylius_shop_homepage");
  136.         // line 102
  137.         echo "    ";
  138.         $context["isBot"] = 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.'102$this->source); })()), "request", [], "any"falsefalsefalse102), "attributes", [], "any"falsefalsefalse102), "get", [=> "is_bot"=> false], "method"falsefalsefalse102);
  139.         // line 103
  140.         echo "    ";
  141.         $context["hideFloatingSearch"] = ((((((twig_in_filter("/account/"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 104
  142. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'104$this->source); })()), "request", [], "any"falsefalsefalse104), "pathInfo", [], "any"falsefalsefalse104)) || (is_string($__internal_compile_0 =         // line 105
  143. (isset($context["currentRoute"]) || array_key_exists("currentRoute"$context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.'105$this->source); })())) && is_string($__internal_compile_1 "bitbag_sylius_organization_plugin_shop_account_") && ('' === $__internal_compile_1 || === strpos($__internal_compile_0$__internal_compile_1)))) || (is_string($__internal_compile_2 =         // line 106
  144. (isset($context["currentRoute"]) || array_key_exists("currentRoute"$context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.'106$this->source); })())) && is_string($__internal_compile_3 "sylius_shop_account_") && ('' === $__internal_compile_3 || === strpos($__internal_compile_2$__internal_compile_3)))) || (is_string($__internal_compile_4 =         // line 107
  145. (isset($context["currentRoute"]) || array_key_exists("currentRoute"$context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.'107$this->source); })())) && is_string($__internal_compile_5 "sylius_shop_cart_") && ('' === $__internal_compile_5 || === strpos($__internal_compile_4$__internal_compile_5)))) || (is_string($__internal_compile_6 =         // line 108
  146. (isset($context["currentRoute"]) || array_key_exists("currentRoute"$context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.'108$this->source); })())) && is_string($__internal_compile_7 "sylius_shop_checkout_") && ('' === $__internal_compile_7 || === strpos($__internal_compile_6$__internal_compile_7)))) || (is_string($__internal_compile_8 =         // line 109
  147. (isset($context["currentRoute"]) || array_key_exists("currentRoute"$context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.'109$this->source); })())) && is_string($__internal_compile_9 "sylius_shop_order_") && ('' === $__internal_compile_9 || === strpos($__internal_compile_8$__internal_compile_9)))) || (        // line 110
  148. (isset($context["currentRoute"]) || array_key_exists("currentRoute"$context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.'110$this->source); })()) == "app_crfq_create"));
  149.         // line 111
  150.         echo "
  151.     ";
  152.         // line 112
  153.         if ((isset($context["isHomepage"]) || array_key_exists("isHomepage"$context) ? $context["isHomepage"] : (function () { throw new RuntimeError('Variable "isHomepage" does not exist.'112$this->source); })())) {
  154.             // line 113
  155.             echo "        ";
  156.             $this->loadTemplate("@SyliusShop/Homepage/introduction.html.twig""@SyliusShop/layout.html.twig"113)->display($context);
  157.             // line 114
  158.             echo "            <div class=\"ui hidden divider\"></div>
  159.     ";
  160.         }
  161.         // line 116
  162.         echo "
  163.     ";
  164.         // line 117
  165.         if ( !$this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
  166.             // line 118
  167.             echo "        <div class=\"ui hidden divider\"></div>
  168.     ";
  169.         }
  170.         // line 120
  171.         echo "
  172.     <div class=\"ui container\">
  173.         ";
  174.         // line 123
  175.         $this->loadTemplate("@SyliusShop/_flashes.html.twig""@SyliusShop/layout.html.twig"123)->display($context);
  176.         // line 124
  177.         echo "
  178.         ";
  179.         // line 125
  180.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_content");
  181.         echo "
  182.         ";
  183.         // line 127
  184.         $this->displayBlock('content'$context$blocks);
  185.         // line 129
  186.         echo "
  187.         ";
  188.         // line 130
  189.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_content");
  190.         echo "
  191.     </div>
  192.     ";
  193.         // line 133
  194.         if ((( !(isset($context["isHomepage"]) || array_key_exists("isHomepage"$context) ? $context["isHomepage"] : (function () { throw new RuntimeError('Variable "isHomepage" does not exist.'133$this->source); })()) &&  !(isset($context["isBot"]) || array_key_exists("isBot"$context) ? $context["isBot"] : (function () { throw new RuntimeError('Variable "isBot" does not exist.'133$this->source); })())) &&  !(isset($context["hideFloatingSearch"]) || array_key_exists("hideFloatingSearch"$context) ? $context["hideFloatingSearch"] : (function () { throw new RuntimeError('Variable "hideFloatingSearch" does not exist.'133$this->source); })()))) {
  195.             // line 134
  196.             echo "        ";
  197.             $this->loadTemplate("@SyliusShop/Homepage/_aiSearch.html.twig""@SyliusShop/layout.html.twig"134)->display(twig_array_merge($context, ["floating" => true]));
  198.             // line 135
  199.             echo "    ";
  200.         }
  201.         // line 136
  202.         echo "
  203.     ";
  204.         // line 137
  205.         $this->displayBlock('footer'$context$blocks);
  206.         // line 140
  207.         echo "</div>
  208. ";
  209.         // line 142
  210.         $this->displayBlock('javascripts'$context$blocks);
  211.         // line 191
  212.         echo "
  213. ";
  214.         // line 192
  215.         $this->displayBlock('confirmationModal'$context$blocks);
  216.         // line 195
  217.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_body");
  218.         echo "
  219. </body>
  220. </html>
  221. ";
  222.         
  223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  224.         
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  226.     }
  227.     // line 8
  228.     public function block_seo_title($context, array $blocks = [])
  229.     {
  230.         $macros $this->macros;
  231.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  232.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo_title"));
  233.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  234.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo_title"));
  235.         // line 9
  236.         echo "        ";
  237.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.title", ["resource" => (($context["product"]) ?? ((($context["taxon"]) ?? ((($context["vendor"]) ?? ((($context["page"]) ?? (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.'9$this->source); })()), "channel", [], "any"falsefalsefalse9)))))))))]);
  238.         echo "
  239.     ";
  240.         
  241.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  242.         
  243.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  244.     }
  245.     // line 26
  246.     public function block_seo_metatags($context, array $blocks = [])
  247.     {
  248.         $macros $this->macros;
  249.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  250.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo_metatags"));
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo_metatags"));
  253.         // line 27
  254.         echo "        ";
  255.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.metatags", ["resource" => (($context["product"]) ?? ((($context["taxon"]) ?? ((($context["vendor"]) ?? ((($context["page"]) ?? (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.'27$this->source); })()), "channel", [], "any"falsefalsefalse27)))))))))]);
  256.         echo "
  257.         ";
  258.         // line 28
  259.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.rich_snippets");
  260.         echo "
  261.         ";
  262.         // line 30
  263.         if ($this->extensions['BitBag\OpenMarketplace\Component\SEO\Extension\NoIndexExtension']->isNoIndexPath(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.'30$this->source); })()), "request", [], "any"falsefalsefalse30), "pathinfo", [], "any"falsefalsefalse30), 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.'30$this->source); })()), "request", [], "any"falsefalsefalse30), "query", [], "any"falsefalsefalse30), "all", [], "any"falsefalsefalse30))) {
  264.             // line 31
  265.             echo "            <meta name=\"robots\" content=\"noindex, nofollow\">
  266.         ";
  267.         }
  268.         // line 33
  269.         echo "
  270.         ";
  271.         // line 34
  272.         $context["resourceToUse"] = ((array_key_exists("taxon"$context)) ? ((isset($context["taxon"]) || array_key_exists("taxon"$context) ? $context["taxon"] : (function () { throw new RuntimeError('Variable "taxon" does not exist.'34$this->source); })())) : (((array_key_exists("vendor"$context)) ? ((isset($context["vendor"]) || array_key_exists("vendor"$context) ? $context["vendor"] : (function () { throw new RuntimeError('Variable "vendor" does not exist.'34$this->source); })())) : (((array_key_exists("page"$context)) ? ((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'34$this->source); })())) : (null))))));
  273.         // line 35
  274.         echo "
  275.         ";
  276.         // line 36
  277.         if ( !(null === (isset($context["resourceToUse"]) || array_key_exists("resourceToUse"$context) ? $context["resourceToUse"] : (function () { throw new RuntimeError('Variable "resourceToUse" does not exist.'36$this->source); })()))) {
  278.             // line 37
  279.             echo "            <script type=\"application/ld+json\">
  280.               ";
  281.             // line 38
  282.             echo twig_replace_filter(json_encode($this->extensions['BitBag\OpenMarketplace\Component\SEO\Extension\SchemaMarkupExtension']->generateSchemaMarkup((isset($context["resourceToUse"]) || array_key_exists("resourceToUse"$context) ? $context["resourceToUse"] : (function () { throw new RuntimeError('Variable "resourceToUse" does not exist.'38$this->source); })())), twig_constant("JSON_PRETTY_PRINT")), ["\\/" => "/"]);
  283.             echo "
  284.             </script>
  285.         ";
  286.         }
  287.         // line 41
  288.         echo "    ";
  289.         
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  291.         
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  293.     }
  294.     // line 44
  295.     public function block_stylesheets($context, array $blocks = [])
  296.     {
  297.         $macros $this->macros;
  298.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  300.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  301.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  302.         // line 45
  303.         echo "        ";
  304.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.stylesheets");
  305.         echo "
  306.         <style>
  307.             .tw.flag {
  308.                 visibility: hidden !important;
  309.             }
  310.         </style>
  311.     ";
  312.         
  313.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  314.         
  315.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  316.     }
  317.     // line 60
  318.     public function block_messages($context, array $blocks = [])
  319.     {
  320.         $macros $this->macros;
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  322.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messages"));
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messages"));
  325.         // line 61
  326.         echo "    <div class=\"hyf-messages\"></div>
  327. ";
  328.         
  329.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  330.         
  331.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  332.     }
  333.     // line 64
  334.     public function block_sidebar($context, array $blocks = [])
  335.     {
  336.         $macros $this->macros;
  337.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  338.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  339.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  340.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  341.         // line 65
  342.         echo "    <div class=\"ui right wide sidebar vertical menu overlay mobile-sidebar\">
  343.         ";
  344.         // line 66
  345.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.sidebar");
  346.         echo "
  347.     </div>
  348. ";
  349.         
  350.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  351.         
  352.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  353.     }
  354.     // line 70
  355.     public function block_accountSidebar($context, array $blocks = [])
  356.     {
  357.         $macros $this->macros;
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  359.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""accountSidebar"));
  360.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  361.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""accountSidebar"));
  362.         // line 71
  363.         echo "    ";
  364.         if ((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.'71$this->source); })()), "user", [], "any"falsefalsefalse71) != null)) {
  365.             // line 72
  366.             echo "        <div class=\"ui left wide sidebar vertical menu overlay mobile-account-sidebar\">
  367.             ";
  368.             // line 73
  369.             $this->loadTemplate("Context/Vendor/Menu/_mobileMenu.html.twig""@SyliusShop/layout.html.twig"73)->display($context);
  370.             // line 74
  371.             echo "        </div>
  372.     ";
  373.         }
  374.         
  375.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  376.         
  377.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  378.     }
  379.     // line 79
  380.     public function block_top($context, array $blocks = [])
  381.     {
  382.         $macros $this->macros;
  383.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  384.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  385.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  386.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  387.         // line 80
  388.         echo "        <div id=\"menu\" class=\"top-menu bg-white\">
  389.             <div class=\"ui container\">
  390.                 <div class=\"top-bar\">
  391.                     ";
  392.         // line 83
  393.         $this->loadTemplate("@SyliusShop/Layout/Header/_logo.html.twig""@SyliusShop/layout.html.twig"83)->display($context);
  394.         // line 84
  395.         echo "                    ";
  396.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.topbar");
  397.         echo "
  398.                 </div>
  399.             </div>
  400.         </div>
  401.     ";
  402.         
  403.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  404.         
  405.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  406.     }
  407.     // line 90
  408.     public function block_header($context, array $blocks = [])
  409.     {
  410.         $macros $this->macros;
  411.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  412.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  413.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  414.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  415.         // line 91
  416.         echo "        <div id=\"menu-categories\" class=\"bg-topaz-100\">
  417.             <div class=\"ui container\">
  418.                 ";
  419.         // line 93
  420.         $this->loadTemplate("@SyliusShop/Layout/Header/_menu.html.twig""@SyliusShop/layout.html.twig"93)->display($context);
  421.         // line 94
  422.         echo "            </div>
  423.         </div>
  424.     ";
  425.         
  426.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  427.         
  428.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  429.     }
  430.     // line 127
  431.     public function block_content($context, array $blocks = [])
  432.     {
  433.         $macros $this->macros;
  434.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  435.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  436.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  437.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  438.         // line 128
  439.         echo "        ";
  440.         
  441.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  442.         
  443.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  444.     }
  445.     // line 137
  446.     public function block_footer($context, array $blocks = [])
  447.     {
  448.         $macros $this->macros;
  449.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  450.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  451.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  452.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  453.         // line 138
  454.         echo "        ";
  455.         $this->loadTemplate("@SyliusShop/_footer.html.twig""@SyliusShop/layout.html.twig"138)->display($context);
  456.         // line 139
  457.         echo "    ";
  458.         
  459.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  460.         
  461.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  462.     }
  463.     // line 142
  464.     public function block_javascripts($context, array $blocks = [])
  465.     {
  466.         $macros $this->macros;
  467.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  468.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  469.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  470.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  471.         // line 143
  472.         echo "    ";
  473.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.javascripts");
  474.         echo "
  475.     <script>
  476.         // Make compare variables globally available for webpack bundled scripts
  477.         window.addToCompareSuccessTitle = '";
  478.         // line 147
  479.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.success"), "html"nulltrue);
  480.         echo "';
  481.         window.addToCompareSuccess = '";
  482.         // line 148
  483.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.product_compare.added"), "html"nulltrue);
  484.         echo "';
  485.         window.addToCompareErrorTitle = '";
  486.         // line 149
  487.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.error"), "html"nulltrue);
  488.         echo "';
  489.         window.addToCompareError = '";
  490.         // line 150
  491.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.product_compare.fail"), "html"nulltrue);
  492.         echo "';
  493.         window.visitComparisonPage = '";
  494.         // line 151
  495.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.visit_comparison_page"), "html"nulltrue);
  496.         echo "';
  497.         window.browseCompare = '";
  498.         // line 152
  499.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.product.card.in_comparison"), "html"nulltrue);
  500.         echo "';
  501.         window.comparisonPageUrl = '";
  502.         // line 153
  503.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_product_compare_show");
  504.         echo "';
  505.         window.addToCompareUrl = '";
  506.         // line 154
  507.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_product_compare_add_to_compare", ["productId" => "{id}"]);
  508.         echo "';
  509.         window.checkSvgPath = '";
  510.         // line 155
  511.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/shop/images/check.svg""shop"), "html"nulltrue);
  512.         echo "';
  513.         // Wishlist global variables
  514.         window.addToListErrorTitle = '";
  515.         // line 158
  516.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.error"), "html"nulltrue);
  517.         echo "';
  518.         window.addToListError = '";
  519.         // line 159
  520.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.failed_to_add_to_list"), "html"nulltrue);
  521.         echo "';
  522.         window.inList = '";
  523.         // line 160
  524.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.added_to_list"), "html"nulltrue);
  525.         echo "';
  526.         window.listPageUrl = '";
  527.         // line 161
  528.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_wishlist_plugin_shop_locale_wishlist_list_products");
  529.         echo "';
  530.         // Password validation translations
  531.         window.translations = window.translations || {};
  532.         window.translations.passwordsMustMatch = \"";
  533.         // line 165
  534.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.passwords_must_match"), "js"), "html"nulltrue);
  535.         echo "\";
  536.         window.translations.passwordStrength = {
  537.             enterPass: \"";
  538.         // line 167
  539.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.password_strength.enter_pass"), "js"), "html"nulltrue);
  540.         echo "\",
  541.             shortPass: \"";
  542.         // line 168
  543.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.password_strength.short_pass"), "js"), "html"nulltrue);
  544.         echo "\",
  545.             containsField: \"";
  546.         // line 169
  547.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.password_strength.contains_field"), "js"), "html"nulltrue);
  548.         echo "\",
  549.             reallyInsecure: \"";
  550.         // line 170
  551.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.password_strength.really_insecure"), "js"), "html"nulltrue);
  552.         echo "\",
  553.             weak: \"";
  554.         // line 171
  555.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.password_strength.weak"), "js"), "html"nulltrue);
  556.         echo "\",
  557.             medium: \"";
  558.         // line 172
  559.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.password_strength.medium"), "js"), "html"nulltrue);
  560.         echo "\",
  561.             strong: \"";
  562.         // line 173
  563.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.password_strength.strong"), "js"), "html"nulltrue);
  564.         echo "\"
  565.         };
  566.     </script>
  567.     ";
  568.         // line 178
  569.         echo "    <script>
  570.         \$(document).ready(function () {
  571.             \$(\"[data-content],[data-html]\").each(function () {
  572.                 var position = \$(this).attr(\"data-position\") || \"bottom center\";
  573.                 var opts = {hoverable: true, position: position};
  574.                 if (\$(this).hasClass('custom-tooltip')) {
  575.                     opts.className = { popup: 'ui popup custom-tooltip-popup' };
  576.                 }
  577.                 \$(this).popup(opts);
  578.             });
  579.         });
  580.     </script>
  581. ";
  582.         
  583.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  584.         
  585.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  586.     }
  587.     // line 192
  588.     public function block_confirmationModal($context, array $blocks = [])
  589.     {
  590.         $macros $this->macros;
  591.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  592.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""confirmationModal"));
  593.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  594.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""confirmationModal"));
  595.         // line 193
  596.         echo "    ";
  597.         $this->loadTemplate("@SyliusUi/Modal/_confirmation.html.twig""@SyliusShop/layout.html.twig"193)->display($context);
  598.         
  599.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  600.         
  601.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  602.     }
  603.     public function getTemplateName()
  604.     {
  605.         return "@SyliusShop/layout.html.twig";
  606.     }
  607.     public function isTraitable()
  608.     {
  609.         return false;
  610.     }
  611.     public function getDebugInfo()
  612.     {
  613.         return array (  681 => 193,  671 => 192,  649 => 178,  642 => 173,  638 => 172,  634 => 171,  630 => 170,  626 => 169,  622 => 168,  618 => 167,  613 => 165,  606 => 161,  602 => 160,  598 => 159,  594 => 158,  588 => 155,  584 => 154,  580 => 153,  576 => 152,  572 => 151,  568 => 150,  564 => 149,  560 => 148,  556 => 147,  548 => 143,  538 => 142,  528 => 139,  525 => 138,  515 => 137,  505 => 128,  495 => 127,  482 => 94,  480 => 93,  476 => 91,  466 => 90,  450 => 84,  448 => 83,  443 => 80,  433 => 79,  421 => 74,  419 => 73,  416 => 72,  413 => 71,  403 => 70,  390 => 66,  387 => 65,  377 => 64,  366 => 61,  356 => 60,  338 => 45,  328 => 44,  318 => 41,  312 => 38,  309 => 37,  307 => 36,  304 => 35,  302 => 34,  299 => 33,  295 => 31,  293 => 30,  288 => 28,  283 => 27,  273 => 26,  260 => 9,  250 => 8,  236 => 195,  234 => 192,  231 => 191,  229 => 142,  225 => 140,  223 => 137,  220 => 136,  217 => 135,  214 => 134,  212 => 133,  206 => 130,  203 => 129,  201 => 127,  196 => 125,  193 => 124,  191 => 123,  186 => 120,  182 => 118,  180 => 117,  177 => 116,  173 => 114,  170 => 113,  168 => 112,  165 => 111,  163 => 110,  162 => 109,  161 => 108,  160 => 107,  159 => 106,  158 => 105,  157 => 104,  155 => 103,  152 => 102,  149 => 101,  146 => 100,  143 => 98,  141 => 90,  138 => 89,  136 => 79,  132 => 78,  129 => 77,  127 => 70,  124 => 69,  122 => 64,  119 => 63,  117 => 60,  112 => 58,  108 => 57,  101 => 53,  98 => 52,  96 => 44,  92 => 42,  89 => 26,  86 => 25,  84 => 24,  69 => 11,  67 => 8,  59 => 3,  55 => 1,);
  614.     }
  615.     public function getSourceContext()
  616.     {
  617.         return new Source("<!DOCTYPE html>
  618. <html lang=\"{{ app.request.locale|slice(0, 2) }}\">
  619. <head>
  620.     <meta charset=\"utf-8\">
  621.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  622.     {% block seo_title %}
  623.         {{ sylius_template_event('dedi_sylius_seo_plugin.title', { resource: product ?? taxon ?? vendor ?? page ?? sylius.channel }) }}
  624.     {% endblock %}
  625.     <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  626.     <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  627.     <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  628.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/favicon/apple-touch-icon.png?v=1.0.0\">
  629.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon/favicon-16x16.png?v=1.0.0\">
  630.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon/favicon-32x32.png?v=1.0.0\">
  631.     <link rel=\"icon\" type=\"image/png\" sizes=\"96x96\" href=\"/favicon/favicon-96x96.png?v=1.0.0\">
  632.     <link rel=\"icon\" type=\"image/svg+xml\" href=\"/favicon/favicon.svg?v=1.0.0\">
  633.     <link rel=\"mask-icon\" href=\"/favicon/safari-pinned-tab.svg?v=1.0.0\" color=\"#5bbad5\">
  634.     <link rel=\"shortcut icon\" href=\"/favicon/favicon.ico?v=1.0.0\">
  635.     <meta name=\"theme-color\" content=\"#ffffff\">
  636.     <link href=\"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap\" rel=\"stylesheet\">
  637.     {% include '@SyliusShop/_links.html.twig' %}
  638.     {% include '@SyliusShop/_clarity.html.twig' %}
  639.     {% block seo_metatags %}
  640.         {{ sylius_template_event('dedi_sylius_seo_plugin.metatags', { resource: product ?? taxon ?? vendor ?? page ?? sylius.channel }) }}
  641.         {{ sylius_template_event('dedi_sylius_seo_plugin.rich_snippets') }}
  642.         {% if is_noindex_path(app.request.pathinfo, app.request.query.all) %}
  643.             <meta name=\"robots\" content=\"noindex, nofollow\">
  644.         {% endif %}
  645.         {% set resourceToUse = taxon is defined ? taxon : (vendor is defined ? vendor : (page is defined ? page : null)) %}
  646.         {% if resourceToUse is not null %}
  647.             <script type=\"application/ld+json\">
  648.               {{ generate_schema_markup(resourceToUse) | json_encode(constant('JSON_PRETTY_PRINT')) | replace({'\\\\/':'/'}) | raw }}
  649.             </script>
  650.         {% endif %}
  651.     {% endblock %}
  652.     {% block stylesheets %}
  653.         {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  654.         <style>
  655.             .tw.flag {
  656.                 visibility: hidden !important;
  657.             }
  658.         </style>
  659.     {% endblock %}
  660.     {{ sylius_template_event('sylius.shop.layout.head') }}
  661. </head>
  662. <body class=\"pushable\">
  663. {{ render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set', { 'locale' : app.request.locale })) }}
  664. {{ sylius_template_event('sylius.shop.layout.before_body') }}
  665. {% block messages %}
  666.     <div class=\"hyf-messages\"></div>
  667. {% endblock %}
  668. {% block sidebar %}
  669.     <div class=\"ui right wide sidebar vertical menu overlay mobile-sidebar\">
  670.         {{ sylius_template_event('sylius.shop.layout.sidebar') }}
  671.     </div>
  672. {% endblock %}
  673. {% block accountSidebar %}
  674.     {% if app.user != null %}
  675.         <div class=\"ui left wide sidebar vertical menu overlay mobile-account-sidebar\">
  676.             {% include 'Context/Vendor/Menu/_mobileMenu.html.twig' %}
  677.         </div>
  678.     {% endif %}
  679. {% endblock %}
  680. <div class=\"pusher\" data-route=\"{{ app.request.get('_route') }}\">
  681.     {% block top %}
  682.         <div id=\"menu\" class=\"top-menu bg-white\">
  683.             <div class=\"ui container\">
  684.                 <div class=\"top-bar\">
  685.                     {% include \"@SyliusShop/Layout/Header/_logo.html.twig\" %}
  686.                     {{ sylius_template_event('sylius.shop.layout.topbar') }}
  687.                 </div>
  688.             </div>
  689.         </div>
  690.     {% endblock %}
  691.     {% block header %}
  692.         <div id=\"menu-categories\" class=\"bg-topaz-100\">
  693.             <div class=\"ui container\">
  694.                 {% include '@SyliusShop/Layout/Header/_menu.html.twig' %}
  695.             </div>
  696.         </div>
  697.     {% endblock %}
  698.     {# AI Search Bar - static in introduction on homepage, floating on all other pages #}
  699.     {% set currentRoute = app.request.get('_route') %}
  700.     {% set isHomepage = currentRoute == 'sylius_shop_homepage' %}
  701.     {% set isBot = app.request.attributes.get('is_bot', false) %}
  702.     {% set hideFloatingSearch =
  703.         '/account/' in app.request.pathInfo or
  704.         currentRoute starts with 'bitbag_sylius_organization_plugin_shop_account_' or
  705.         currentRoute starts with 'sylius_shop_account_' or
  706.         currentRoute starts with 'sylius_shop_cart_' or
  707.         currentRoute starts with 'sylius_shop_checkout_' or
  708.         currentRoute starts with 'sylius_shop_order_' or
  709.         currentRoute == 'app_crfq_create' %}
  710.     {% if isHomepage %}
  711.         {% include '@SyliusShop/Homepage/introduction.html.twig' %}
  712.             <div class=\"ui hidden divider\"></div>
  713.     {% endif %}
  714.     {% if not is_mobile() %}
  715.         <div class=\"ui hidden divider\"></div>
  716.     {% endif %}
  717.     <div class=\"ui container\">
  718.         {% include '@SyliusShop/_flashes.html.twig' %}
  719.         {{ sylius_template_event('sylius.shop.layout.before_content') }}
  720.         {% block content %}
  721.         {% endblock %}
  722.         {{ sylius_template_event('sylius.shop.layout.after_content') }}
  723.     </div>
  724.     {% if not isHomepage and not isBot and not hideFloatingSearch %}
  725.         {% include '@SyliusShop/Homepage/_aiSearch.html.twig' with {'floating': true} %}
  726.     {% endif %}
  727.     {% block footer %}
  728.         {% include '@SyliusShop/_footer.html.twig' %}
  729.     {% endblock %}
  730. </div>
  731. {% block javascripts %}
  732.     {{ sylius_template_event('sylius.shop.layout.javascripts') }}
  733.     <script>
  734.         // Make compare variables globally available for webpack bundled scripts
  735.         window.addToCompareSuccessTitle = '{{ 'sylius.ui.success'|trans }}';
  736.         window.addToCompareSuccess = '{{ 'app.product_compare.added'|trans }}';
  737.         window.addToCompareErrorTitle = '{{ 'sylius.ui.error'|trans }}';
  738.         window.addToCompareError = '{{ 'app.product_compare.fail'|trans }}';
  739.         window.visitComparisonPage = '{{ 'app.ui.visit_comparison_page'|trans }}';
  740.         window.browseCompare = '{{ 'app.ui.product.card.in_comparison'|trans }}';
  741.         window.comparisonPageUrl = '{{ path('app_shop_product_compare_show') }}';
  742.         window.addToCompareUrl = '{{ path('app_shop_product_compare_add_to_compare', {'productId': '{id}'}) }}';
  743.         window.checkSvgPath = '{{ asset('build/shop/images/check.svg', 'shop') }}';
  744.         // Wishlist global variables
  745.         window.addToListErrorTitle = '{{ 'sylius.ui.error'|trans }}';
  746.         window.addToListError = '{{ 'app.ui.failed_to_add_to_list'|trans }}';
  747.         window.inList = '{{ 'sylius.ui.added_to_list'|trans }}';
  748.         window.listPageUrl = '{{ path('bitbag_sylius_wishlist_plugin_shop_locale_wishlist_list_products') }}';
  749.         // Password validation translations
  750.         window.translations = window.translations || {};
  751.         window.translations.passwordsMustMatch = \"{{ 'app.ui.form.passwords_must_match'|trans|e('js') }}\";
  752.         window.translations.passwordStrength = {
  753.             enterPass: \"{{ 'app.ui.form.password_strength.enter_pass'|trans|e('js') }}\",
  754.             shortPass: \"{{ 'app.ui.form.password_strength.short_pass'|trans|e('js') }}\",
  755.             containsField: \"{{ 'app.ui.form.password_strength.contains_field'|trans|e('js') }}\",
  756.             reallyInsecure: \"{{ 'app.ui.form.password_strength.really_insecure'|trans|e('js') }}\",
  757.             weak: \"{{ 'app.ui.form.password_strength.weak'|trans|e('js') }}\",
  758.             medium: \"{{ 'app.ui.form.password_strength.medium'|trans|e('js') }}\",
  759.             strong: \"{{ 'app.ui.form.password_strength.strong'|trans|e('js') }}\"
  760.         };
  761.     </script>
  762.     {# Initialize tooltips globally #}
  763.     <script>
  764.         \$(document).ready(function () {
  765.             \$(\"[data-content],[data-html]\").each(function () {
  766.                 var position = \$(this).attr(\"data-position\") || \"bottom center\";
  767.                 var opts = {hoverable: true, position: position};
  768.                 if (\$(this).hasClass('custom-tooltip')) {
  769.                     opts.className = { popup: 'ui popup custom-tooltip-popup' };
  770.                 }
  771.                 \$(this).popup(opts);
  772.             });
  773.         });
  774.     </script>
  775. {% endblock %}
  776. {% block confirmationModal %}
  777.     {% include '@SyliusUi/Modal/_confirmation.html.twig' %}
  778. {% endblock %}
  779. {{ sylius_template_event('sylius.shop.layout.after_body') }}
  780. </body>
  781. </html>
  782. ""@SyliusShop/layout.html.twig""/srv/open_marketplace/templates/bundles/SyliusShopBundle/layout.html.twig");
  783.     }
  784. }