var/cache/dev/twig/be/befcf94e406ca78f6b38e79d501189a1.php line 45

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