var/cache/dev/twig/ab/ab60349b72bbb63e661f66c5d305f311aa5f69bc41d2305805ce0d20e2eb231e.php line 315

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Markup;
  6. use Twig\Sandbox\SecurityError;
  7. use Twig\Sandbox\SecurityNotAllowedTagError;
  8. use Twig\Sandbox\SecurityNotAllowedFilterError;
  9. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  10. use Twig\Source;
  11. use Twig\Template;
  12. /* layout/base.html.twig */
  13. class __TwigTemplate_d7ba6b99d3603bff65be1f3e16d9792a9e49f4cc86ca2930c6a6b0b5bd7472d1 extends \Twig\Template
  14. {
  15.     public function __construct(Environment $env)
  16.     {
  17.         parent::__construct($env);
  18.         $this->parent false;
  19.         $this->blocks = [
  20.             'meta_other' => [$this'block_meta_other'],
  21.             'stylesheets' => [$this'block_stylesheets'],
  22.             'inline_js' => [$this'block_inline_js'],
  23.             'header' => [$this'block_header'],
  24.             'header_crumbtrail' => [$this'block_header_crumbtrail'],
  25.             'main' => [$this'block_main'],
  26.             'footer' => [$this'block_footer'],
  27.             'translations' => [$this'block_translations'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout/base.html.twig"));
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout/base.html.twig"));
  37.         // line 1
  38.         echo "<!DOCTYPE html>
  39. <html
  40.     class=\"";
  41.         // line 3
  42.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "getHtmlClass", [], "method"), "html"nulltrue);
  43.         echo " ";
  44.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["user_config"]) ? $context["user_config"] : $this->getContext($context"user_config")), "getLangKey", [], "method"), "html"nulltrue);
  45.         echo " page--";
  46.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "dataController", []), "html"nulltrue);
  47.         echo " ";
  48.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "getHtmlClasses", [], "method"), "html"nulltrue);
  49.         echo "\"
  50.     data-env=\"";
  51.         // line 4
  52.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "dataEnv", []), "html"nulltrue);
  53.         echo "\"
  54.     data-controller=\"";
  55.         // line 5
  56.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "dataController", []), "html"nulltrue);
  57.         echo "\"
  58.     data-action=\"";
  59.         // line 6
  60.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "dataAction", []), "html"nulltrue);
  61.         echo "\"
  62.     lang=\"";
  63.         // line 7
  64.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["hreflangs"]) ? $context["hreflangs"] : $this->getContext($context"hreflangs")), "hrefLangIso", []), "html"nulltrue);
  65.         echo "\"
  66.     data-lang=\"";
  67.         // line 8
  68.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "dataLang", []), "html"nulltrue);
  69.         echo "\"
  70.     data-currency=\"";
  71.         // line 9
  72.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "dataCurrency", []), "html"nulltrue);
  73.         echo "\"
  74.     data-ajaxroot=\"";
  75.         // line 10
  76.         echo twig_escape_filter($this->env$this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : $this->getContext($context"app")), "request", []), "getSchemeAndHttpHost", []), "html"nulltrue);
  77.         echo "\"
  78.     data-gtm-list-type-add-cart=\"";
  79.         // line 11
  80.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["google"]) ? $context["google"] : $this->getContext($context"google")), "htmlTagAttrListType", []), "html"nulltrue);
  81.         echo "\"
  82.     data-google-recaptcha-footer-copyright=\"";
  83.         // line 12
  84.         echo twig_escape_filter($this->env$this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context"partner_config")), "getPartnerConnection", []), "isGoogleRecaptchaFooterCopyright", [], "method"), "html"nulltrue);
  85.         echo "\">
  86.     <head>
  87.         <title>";
  88.         // line 15
  89.         echo $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "getTitle", []);
  90.         echo "</title>
  91.         <meta charset=\"utf-8\">
  92.         <meta name=\"description\" content=\"";
  93.         // line 17
  94.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "getMetaDescription", [], "method"), "html"nulltrue);
  95.         echo "\">
  96.         <meta name=\"keywords\" content=\"";
  97.         // line 18
  98.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "getMetaKeywords", [], "method"), "html"nulltrue);
  99.         echo "\">
  100.         <meta name=\"robots\" content=\"";
  101.         // line 19
  102.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "metaRobots", []), "html"nulltrue);
  103.         echo "\">
  104.         <meta name=\"author\" content=\"";
  105.         // line 20
  106.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "metaAuthor", []), "html"nulltrue);
  107.         echo "\">
  108.         <meta name=\"viewport\" content=\"";
  109.         // line 21
  110.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "metaViewport", []), "html"nulltrue);
  111.         echo "\">
  112.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  113.         ";
  114.         // line 23
  115.         if (($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "getFavicon", [], "method") != false)) {
  116.             // line 24
  117.             echo "        <link rel=\"shortcut icon\" type=\"image/png\" href=\"";
  118.             echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "getFavicon", [], "method"), "html"nulltrue);
  119.             echo "\"/>
  120.             <link rel=\"apple-touch-icon\" href=\"";
  121.             // line 25
  122.             echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "getFavicon", [], "method"), "html"nulltrue);
  123.             echo "\">
  124.         ";
  125.         }
  126.         // line 27
  127.         echo "        ";
  128.         if ($this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context"settings")), "google", []), "searchConsoleId", [])) {
  129.             // line 28
  130.             echo "            <meta name=\"google-site-verification\" content=\"";
  131.             echo twig_escape_filter($this->env$this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context"settings")), "google", []), "searchConsoleId", []), "html"nulltrue);
  132.             echo "\">
  133.         ";
  134.         }
  135.         // line 30
  136.         echo "        ";
  137.         if ($this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context"settings")), "google", []), "merchantId", [])) {
  138.             // line 31
  139.             echo "            <meta name=\"google-site-verification\" content=\"";
  140.             echo twig_escape_filter($this->env$this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context"settings")), "google", []), "merchantId", []), "html"nulltrue);
  141.             echo "\">
  142.         ";
  143.         }
  144.         // line 33
  145.         echo "        ";
  146.         if ($this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context"settings")), "facebook", []), "verificationId", [])) {
  147.             // line 34
  148.             echo "            <meta name=\"facebook-domain-verification\" content=\"";
  149.             echo twig_escape_filter($this->env$this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context"settings")), "facebook", []), "verificationId", []), "html"nulltrue);
  150.             echo "\">
  151.         ";
  152.         }
  153.         // line 36
  154.         echo "
  155.         <!-- ";
  156.         // line 37
  157.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y-m-d H:i:s"), "html"nulltrue);
  158.         echo " -->
  159.         ";
  160.         // line 39
  161.         if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "canonicalUrl", [])) {
  162.             echo "<link rel=\"canonical\" href=\"";
  163.             echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "canonicalUrl", []), "html"nulltrue);
  164.             echo "\"/>";
  165.         }
  166.         // line 40
  167.         echo "
  168.         ";
  169.         // line 41
  170.         if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "prevPageUrl", [])) {
  171.             echo "<link rel=\"prev\" href=\"";
  172.             echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "prevPageUrl", []), "html"nulltrue);
  173.             echo "\"/>";
  174.         }
  175.         // line 42
  176.         echo "
  177.         ";
  178.         // line 43
  179.         if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "nextPageUrl", [])) {
  180.             echo "<link rel=\"next\" href=\"";
  181.             echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "nextPageUrl", []), "html"nulltrue);
  182.             echo "\"/>";
  183.         }
  184.         // line 44
  185.         echo "
  186.         ";
  187.         // line 45
  188.         if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "hasOgImage", [])) {
  189.             echo "<meta property=\"og:image\" content=\"";
  190.             echo twig_escape_filter($this->env$this->env->getExtension('EshopBundle\Twig\UrlExtension')->homepageUrl(), "html"nulltrue);
  191.             echo twig_escape_filter($this->env$this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "getOgImage", []), "html"nulltrue);
  192.             echo "\" />";
  193.         }
  194.         // line 46
  195.         echo "
  196.         ";
  197.         // line 48
  198.         if (($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : $this->getContext($context"app")), "request", []), "uri", []) === $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "canonicalUrl", []))) {
  199.             // line 49
  200.             echo "            ";
  201.             $context['_parent'] = $context;
  202.             $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["hreflangs"]) ? $context["hreflangs"] : $this->getContext($context"hreflangs")), "getLinks", [], "method"));
  203.             foreach ($context['_seq'] as $context["_key"] => $context["hreflang"]) {
  204.                 // line 50
  205.                 echo "                ";
  206.                 echo $context["hreflang"];
  207.                 echo "
  208.             ";
  209.             }
  210.             $_parent $context['_parent'];
  211.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['hreflang'], $context['_parent'], $context['loop']);
  212.             $context array_intersect_key($context$_parent) + $_parent;
  213.             // line 52
  214.             echo "        ";
  215.         }
  216.         // line 53
  217.         echo "
  218.         ";
  219.         // line 54
  220.         $context['_parent'] = $context;
  221.         $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["metaTagsManager"]) ? $context["metaTagsManager"] : $this->getContext($context"metaTagsManager")), "getMetaTags", [=> $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "dataLang", [])], "method"));
  222.         foreach ($context['_seq'] as $context["_key"] => $context["metaTag"]) {
  223.             // line 55
  224.             echo "            <meta name=\"";
  225.             echo twig_escape_filter($this->env$this->getAttribute($context["metaTag"], "name", []), "html"nulltrue);
  226.             echo "\" content=\"";
  227.             echo twig_escape_filter($this->env$this->getAttribute($context["metaTag"], "content", []), "html"nulltrue);
  228.             echo "\">
  229.         ";
  230.         }
  231.         $_parent $context['_parent'];
  232.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['metaTag'], $context['_parent'], $context['loop']);
  233.         $context array_intersect_key($context$_parent) + $_parent;
  234.         // line 57
  235.         echo "
  236.     ";
  237.         // line 58
  238.         $this->displayBlock('meta_other'$context$blocks);
  239.         // line 59
  240.         echo "    ";
  241.         $this->displayBlock('stylesheets'$context$blocks);
  242.         // line 64
  243.         echo "    ";
  244.         $this->displayBlock('inline_js'$context$blocks);
  245.         // line 67
  246.         echo "    ";
  247.         echo twig_include($this->env$context"component/marketing/marketing-head.html.twig");
  248.         echo "
  249.         ";
  250.         // line 69
  251.         echo "        <meta name=\"p:domain_verify\" content=\"4414c8e843b85aa4a540c8777c98ed95\"/>
  252. </head>
  253. ";
  254.         // line 72
  255.         $context["bodyClasses"] = $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context"vars")), "getBodyClasses", []);
  256.         // line 73
  257.         echo "<body ";
  258.         if ( !twig_test_empty((isset($context["bodyClasses"]) ? $context["bodyClasses"] : $this->getContext($context"bodyClasses")))) {
  259.             echo " class=\"";
  260.             echo twig_escape_filter($this->env, (isset($context["bodyClasses"]) ? $context["bodyClasses"] : $this->getContext($context"bodyClasses")), "html"nulltrue);
  261.             echo "\" ";
  262.         }
  263.         echo ">
  264.     ";
  265.         // line 75
  266.         echo twig_include($this->env$context"component/marketing.html.twig");
  267.         echo "
  268.     <div class=\"siteWrapper\">
  269.         ";
  270.         // line 79
  271.         if ($this->env->getExtension('Symfony\Bridge\Twig\Extension\SecurityExtension')->isGranted("ROLE_PREVIOUS_ADMIN")) {
  272.             // line 80
  273.             echo "            <a class=\"btn btn-logout btn-logout-user\" href=\"";
  274.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("switch_user", ["_switch_user" => "_exit"]);
  275.             echo "\">
  276.                 <i class=\"fa fa-sign-out\"></i>
  277.                 ";
  278.             // line 82
  279.             echo twig_escape_filter($this->env$this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context"translator")), "getValue", [=> "SWITCH_USER_EXIT"=> "Odhlásit se z uživatele"], "method"), "html"nulltrue);
  280.             echo " ";
  281.             echo twig_escape_filter($this->env$this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : $this->getContext($context"app")), "user", []), "username", []), "html"nulltrue);
  282.             echo "
  283.             </a>
  284.         ";
  285.         }
  286.         // line 85
  287.         echo "
  288.         ";
  289.         // line 86
  290.         $this->displayBlock('header'$context$blocks);
  291.         // line 89
  292.         echo "
  293.         ";
  294.         // line 90
  295.         $this->displayBlock('header_crumbtrail'$context$blocks);
  296.         // line 93
  297.         echo "
  298.         ";
  299.         // line 94
  300.         $this->displayBlock('main'$context$blocks);
  301.         // line 97
  302.         echo "
  303.     ";
  304.         // line 98
  305.         $this->displayBlock('footer'$context$blocks);
  306.         // line 101
  307.         echo "
  308. </div>
  309. ";
  310.         // line 104
  311.         $this->displayBlock('translations'$context$blocks);
  312.         // line 107
  313.         echo "
  314. ";
  315.         // line 108
  316.         $this->displayBlock('javascripts'$context$blocks);
  317.         // line 162
  318.         echo "
  319. </body>
  320. </html>
  321. ";
  322.         
  323.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  324.         
  325.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  326.     }
  327.     // line 58
  328.     public function block_meta_other($context, array $blocks = [])
  329.     {
  330.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  331.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_other"));
  332.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  333.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_other"));
  334.         
  335.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  336.         
  337.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  338.     }
  339.     // line 59
  340.     public function block_stylesheets($context, array $blocks = [])
  341.     {
  342.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  343.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  344.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  345.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  346.         // line 60
  347.         echo "        ";
  348.         echo twig_include($this->env$context"fonts/custom-font.html.twig");
  349.         echo "
  350.         ";
  351.         // line 61
  352.         echo twig_include($this->env$context"layout/styles/magnific-popup.css.html.twig");
  353.         echo "
  354.         ";
  355.         // line 62
  356.         echo twig_include($this->env$context"layout/styles/critical-css.html.twig");
  357.         echo "
  358.     ";
  359.         
  360.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  361.         
  362.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  363.     }
  364.     // line 64
  365.     public function block_inline_js($context, array $blocks = [])
  366.     {
  367.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  368.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inline_js"));
  369.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  370.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inline_js"));
  371.         // line 65
  372.         echo "        <script>window.ebrana = {di: null, scriptQueue: null};</script>
  373.     ";
  374.         
  375.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  376.         
  377.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  378.     }
  379.     // line 86
  380.     public function block_header($context, array $blocks = [])
  381.     {
  382.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  383.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  384.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  385.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  386.         // line 87
  387.         echo "            ";
  388.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("EshopBundle:Shop:header"));
  389.         echo "
  390.         ";
  391.         
  392.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  393.         
  394.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  395.     }
  396.     // line 90
  397.     public function block_header_crumbtrail($context, array $blocks = [])
  398.     {
  399.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  400.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_crumbtrail"));
  401.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  402.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_crumbtrail"));
  403.         // line 91
  404.         echo "            ";
  405.         echo twig_include($this->env$context"component/header/crumbtrail.html.twig");
  406.         echo "
  407.         ";
  408.         
  409.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  410.         
  411.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  412.     }
  413.     // line 94
  414.     public function block_main($context, array $blocks = [])
  415.     {
  416.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  417.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  418.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  419.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  420.         // line 95
  421.         echo "        ";
  422.         $this->loadTemplate("layout/base.html.twig""layout/base.html.twig"95"890449106")->display($context);
  423.         // line 96
  424.         echo "        ";
  425.         
  426.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  427.         
  428.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  429.     }
  430.     // line 98
  431.     public function block_footer($context, array $blocks = [])
  432.     {
  433.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  434.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  435.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  436.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  437.         // line 99
  438.         echo "        ";
  439.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("EshopBundle:Shop:footer"));
  440.         echo "
  441.     ";
  442.         
  443.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  444.         
  445.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  446.     }
  447.     // line 104
  448.     public function block_translations($context, array $blocks = [])
  449.     {
  450.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  451.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""translations"));
  452.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  453.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""translations"));
  454.         // line 105
  455.         echo "    ";
  456.         echo twig_include($this->env$context"component/footer/translations.html.twig");
  457.         echo "
  458. ";
  459.         
  460.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  461.         
  462.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  463.     }
  464.     // line 108
  465.     public function block_javascripts($context, array $blocks = [])
  466.     {
  467.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  468.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  469.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  470.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  471.         // line 109
  472.         echo "    ";
  473.         if (isset($context['assetic']['debug']) && $context['assetic']['debug']) {
  474.             // asset "d5a6a11_0"
  475.             $context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_0") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_1.js");
  476.             // line 117
  477.             echo "    <script src=\"";
  478.             echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context"asset_url")), "html"nulltrue);
  479.             echo "?v=";
  480.             echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context"release")), "html"nulltrue);
  481.             echo "\"></script>
  482.     ";
  483.             // asset "d5a6a11_1"
  484.             $context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_1") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_2.js");
  485.             echo "    <script src=\"";
  486.             echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context"asset_url")), "html"nulltrue);
  487.             echo "?v=";
  488.             echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context"release")), "html"nulltrue);
  489.             echo "\"></script>
  490.     ";
  491.             // asset "d5a6a11_2"
  492.             $context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_2") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_3.js");
  493.             echo "    <script src=\"";
  494.             echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context"asset_url")), "html"nulltrue);
  495.             echo "?v=";
  496.             echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context"release")), "html"nulltrue);
  497.             echo "\"></script>
  498.     ";
  499.             // asset "d5a6a11_3"
  500.             $context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_3") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_4.js");
  501.             echo "    <script src=\"";
  502.             echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context"asset_url")), "html"nulltrue);
  503.             echo "?v=";
  504.             echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context"release")), "html"nulltrue);
  505.             echo "\"></script>
  506.     ";
  507.             // asset "d5a6a11_4"
  508.             $context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_4") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_5.js");
  509.             echo "    <script src=\"";
  510.             echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context"asset_url")), "html"nulltrue);
  511.             echo "?v=";
  512.             echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context"release")), "html"nulltrue);
  513.             echo "\"></script>
  514.     ";
  515.             // asset "d5a6a11_5"
  516.             $context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_5") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_6.js");
  517.             echo "    <script src=\"";
  518.             echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context"asset_url")), "html"nulltrue);
  519.             echo "?v=";
  520.             echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context"release")), "html"nulltrue);
  521.             echo "\"></script>
  522.     ";
  523.             // asset "d5a6a11_6"
  524.             $context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_6") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_7.js");
  525.             echo "    <script src=\"";
  526.             echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context"asset_url")), "html"nulltrue);
  527.             echo "?v=";
  528.             echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context"release")), "html"nulltrue);
  529.             echo "\"></script>
  530.     ";
  531.         } else {
  532.             // asset "d5a6a11"
  533.             $context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11.js");
  534.             echo "    <script src=\"";
  535.             echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context"asset_url")), "html"nulltrue);
  536.             echo "?v=";
  537.             echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context"release")), "html"nulltrue);
  538.             echo "\"></script>
  539.     ";
  540.         }
  541.         unset($context["asset_url"]);
  542.         // line 119
  543.         echo "    <!-- Foxentry start -->
  544.     <script type=\"text/javascript\" async>
  545.         var Foxentry;
  546.         (function () {
  547.             var e = document.querySelector(\"script\"), s = document.createElement('script');
  548.             s.setAttribute('type', 'text/javascript');
  549.             s.setAttribute('async', 'true');
  550.             s.setAttribute('src', 'https://cdn.foxentry.cz/lib');
  551.             e.parentNode.appendChild(s);
  552.             s.onload = function(){ Foxentry = new FoxentryBase('uyA6xKOUGU'); }
  553.         })();
  554.     </script>
  555.     <!-- Foxentry end -->
  556.         ";
  557.         // line 133
  558.         if (((twig_length_filter($this->env$this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context"partner_config")), "getPartnerConnection", []), "getGoogleCustomerReviewsMerchantId", [])) > 0) && ($this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context"partner_config")), "getPartnerConnection", []), "getGoogleCustomerReviewsWidgetPosition", []) != "DO_NOT_DISPLAY"))) {
  559.             // line 134
  560.             echo "        <!-- BEGIN GCR Badge Code -->
  561.         <script src=\"https://apis.google.com/js/platform.js?onload=renderBadge\"
  562.                 async defer>
  563.         </script>
  564.         <script>
  565.             window.renderBadge = function() {
  566.                 var ratingBadgeContainer = document.createElement(\"div\");
  567.                 document.body.appendChild(ratingBadgeContainer);
  568.                 window.gapi.load('ratingbadge', function() {
  569.                     window.gapi.ratingbadge.render(
  570.                         ratingBadgeContainer, {
  571.                             // REQUIRED
  572.                             \"merchant_id\": \"";
  573.             // line 147
  574.             echo twig_escape_filter($this->env$this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context"partner_config")), "getPartnerConnection", []), "getGoogleCustomerReviewsMerchantId", []), "html"nulltrue);
  575.             echo "\",
  576.                             // OPTIONAL
  577.                             \"position\": \"";
  578.             // line 149
  579.             echo twig_escape_filter($this->env$this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context"partner_config")), "getPartnerConnection", []), "getGoogleCustomerReviewsWidgetPosition", []), "html"nulltrue);
  580.             echo "\"
  581.                         });
  582.                 });
  583.             }
  584.         </script>
  585.         <!-- END GCR Badge Code -->
  586.     ";
  587.         }
  588.         // line 156
  589.         echo "    ";
  590.         // line 157
  591.         echo "    <script type=\"text/javascript\">
  592.         (function() { var css = document.createElement('link'); css.href = 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'; css.rel = 'stylesheet'; css.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(css); })();
  593.     </script>
  594. ";
  595.         
  596.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  597.         
  598.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  599.     }
  600.     public function getTemplateName()
  601.     {
  602.         return "layout/base.html.twig";
  603.     }
  604.     public function isTraitable()
  605.     {
  606.         return false;
  607.     }
  608.     public function getDebugInfo()
  609.     {
  610.         return array (  653 => 157,  651 => 156,  641 => 149,  636 => 147,  621 => 134,  619 => 133,  603 => 119,  537 => 117,  532 => 109,  523 => 108,  510 => 105,  501 => 104,  488 => 99,  479 => 98,  469 => 96,  466 => 95,  457 => 94,  444 => 91,  435 => 90,  422 => 87,  413 => 86,  402 => 65,  393 => 64,  381 => 62,  377 => 61,  372 => 60,  363 => 59,  346 => 58,  333 => 162,  331 => 108,  328 => 107,  326 => 104,  321 => 101,  319 => 98,  316 => 97,  314 => 94,  311 => 93,  309 => 90,  306 => 89,  304 => 86,  301 => 85,  293 => 82,  287 => 80,  285 => 79,  278 => 75,  268 => 73,  266 => 72,  261 => 69,  256 => 67,  253 => 64,  250 => 59,  248 => 58,  245 => 57,  234 => 55,  230 => 54,  227 => 53,  224 => 52,  215 => 50,  210 => 49,  208 => 48,  204 => 46,  197 => 45,  194 => 44,  188 => 43,  185 => 42,  179 => 41,  176 => 40,  170 => 39,  165 => 37,  162 => 36,  156 => 34,  153 => 33,  147 => 31,  144 => 30,  138 => 28,  135 => 27,  130 => 25,  125 => 24,  123 => 23,  118 => 21,  114 => 20,  110 => 19,  106 => 18,  102 => 17,  97 => 15,  91 => 12,  87 => 11,  83 => 10,  79 => 9,  75 => 8,  71 => 7,  67 => 6,  63 => 5,  59 => 4,  49 => 3,  45 => 1,);
  611.     }
  612.     /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  613.     public function getSource()
  614.     {
  615.         @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.'E_USER_DEPRECATED);
  616.         return $this->getSourceContext()->getCode();
  617.     }
  618.     public function getSourceContext()
  619.     {
  620.         return new Source("<!DOCTYPE html>
  621. <html
  622.     class=\"{{ vars.getHtmlClass() }} {{user_config.getLangKey()}} page--{{ vars.dataController }} {{ vars.getHtmlClasses() }}\"
  623.     data-env=\"{{ vars.dataEnv }}\"
  624.     data-controller=\"{{ vars.dataController }}\"
  625.     data-action=\"{{ vars.dataAction }}\"
  626.     lang=\"{{ hreflangs.hrefLangIso }}\"
  627.     data-lang=\"{{ vars.dataLang }}\"
  628.     data-currency=\"{{ vars.dataCurrency }}\"
  629.     data-ajaxroot=\"{{ app.request.getSchemeAndHttpHost }}\"
  630.     data-gtm-list-type-add-cart=\"{{ google.htmlTagAttrListType }}\"
  631.     data-google-recaptcha-footer-copyright=\"{{ partner_config.getPartnerConnection.isGoogleRecaptchaFooterCopyright() }}\">
  632.     <head>
  633.         <title>{{ vars.getTitle|raw }}</title>
  634.         <meta charset=\"utf-8\">
  635.         <meta name=\"description\" content=\"{{ vars.getMetaDescription() }}\">
  636.         <meta name=\"keywords\" content=\"{{ vars.getMetaKeywords() }}\">
  637.         <meta name=\"robots\" content=\"{{ vars.metaRobots }}\">
  638.         <meta name=\"author\" content=\"{{ vars.metaAuthor }}\">
  639.         <meta name=\"viewport\" content=\"{{ vars.metaViewport }}\">
  640.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  641.         {% if vars.getFavicon() != false %}
  642.         <link rel=\"shortcut icon\" type=\"image/png\" href=\"{{ vars.getFavicon() }}\"/>
  643.             <link rel=\"apple-touch-icon\" href=\"{{ vars.getFavicon() }}\">
  644.         {% endif %}
  645.         {% if settings.google.searchConsoleId %}
  646.             <meta name=\"google-site-verification\" content=\"{{ settings.google.searchConsoleId }}\">
  647.         {% endif %}
  648.         {% if settings.google.merchantId %}
  649.             <meta name=\"google-site-verification\" content=\"{{ settings.google.merchantId }}\">
  650.         {% endif %}
  651.         {% if settings.facebook.verificationId %}
  652.             <meta name=\"facebook-domain-verification\" content=\"{{ settings.facebook.verificationId }}\">
  653.         {% endif %}
  654.         <!-- {{ \"now\"|date(\"Y-m-d H:i:s\") }} -->
  655.         {% if vars.canonicalUrl %}<link rel=\"canonical\" href=\"{{ vars.canonicalUrl }}\"/>{% endif %}
  656.         {% if vars.prevPageUrl %}<link rel=\"prev\" href=\"{{ vars.prevPageUrl }}\"/>{% endif %}
  657.         {% if vars.nextPageUrl %}<link rel=\"next\" href=\"{{ vars.nextPageUrl }}\"/>{% endif %}
  658.         {% if vars.hasOgImage %}<meta property=\"og:image\" content=\"{{ homepage_url() }}{{ vars.getOgImage }}\" />{% endif %}
  659.         {% if app.request.uri is same as(vars.canonicalUrl) %}
  660.             {% for hreflang in hreflangs.getLinks() %}
  661.                 {{ hreflang|raw }}
  662.             {% endfor %}
  663.         {% endif %}
  664.         {% for metaTag in metaTagsManager.getMetaTags(vars.dataLang) %}
  665.             <meta name=\"{{ metaTag.name }}\" content=\"{{ metaTag.content }}\">
  666.         {% endfor %}
  667.     {% block meta_other %}{% endblock meta_other %}
  668.     {% block stylesheets %}
  669.         {{ include('fonts/custom-font.html.twig') }}
  670.         {{ include('layout/styles/magnific-popup.css.html.twig') }}
  671.         {{ include('layout/styles/critical-css.html.twig') }}
  672.     {% endblock stylesheets %}
  673.     {% block inline_js %}
  674.         <script>window.ebrana = {di: null, scriptQueue: null};</script>
  675.     {% endblock inline_js %}
  676.     {{ include('component/marketing/marketing-head.html.twig') }}
  677.         {# DM 2022-02-23 V082839 - hodil jsem do base, protože je stejně už zcustomizovaná #}
  678.         <meta name=\"p:domain_verify\" content=\"4414c8e843b85aa4a540c8777c98ed95\"/>
  679. </head>
  680. {% set bodyClasses = vars.getBodyClasses %}
  681. <body {% if bodyClasses  is not empty %} class=\"{{ bodyClasses }}\" {% endif %}>
  682.     {{ include('component/marketing.html.twig') }}
  683.     <div class=\"siteWrapper\">
  684.         {% if is_granted('ROLE_PREVIOUS_ADMIN') %}
  685.             <a class=\"btn btn-logout btn-logout-user\" href=\"{{ path('switch_user', {'_switch_user': '_exit'}) }}\">
  686.                 <i class=\"fa fa-sign-out\"></i>
  687.                 {{ translator.getValue('SWITCH_USER_EXIT', 'Odhlásit se z uživatele') }} {{ app.user.username }}
  688.             </a>
  689.         {% endif %}
  690.         {% block header %}
  691.             {{ render(controller('EshopBundle:Shop:header')) }}
  692.         {% endblock header %}
  693.         {% block header_crumbtrail %}
  694.             {{ include('component/header/crumbtrail.html.twig') }}
  695.         {% endblock header_crumbtrail %}
  696.         {% block main %}
  697.         {% embed settings.layoutMain %}{% endembed %}
  698.         {% endblock main %}
  699.     {% block footer %}
  700.         {{ render(controller('EshopBundle:Shop:footer')) }}
  701.     {% endblock footer %}
  702. </div>
  703. {% block translations %}
  704.     {{ include('component/footer/translations.html.twig') }}
  705. {% endblock translations %}
  706. {% block javascripts %}
  707.     {% javascripts
  708.                 '@jquery'
  709.                 '@jqueryui'
  710.                 '@bootstrap'
  711.                 '@vendor'
  712.                 '@eshop'
  713.                 '@custom'
  714.                 '@im' %}
  715.     <script src=\"{{ asset_url }}?v={{ release }}\"></script>
  716.     {% endjavascripts %}
  717.     <!-- Foxentry start -->
  718.     <script type=\"text/javascript\" async>
  719.         var Foxentry;
  720.         (function () {
  721.             var e = document.querySelector(\"script\"), s = document.createElement('script');
  722.             s.setAttribute('type', 'text/javascript');
  723.             s.setAttribute('async', 'true');
  724.             s.setAttribute('src', 'https://cdn.foxentry.cz/lib');
  725.             e.parentNode.appendChild(s);
  726.             s.onload = function(){ Foxentry = new FoxentryBase('uyA6xKOUGU'); }
  727.         })();
  728.     </script>
  729.     <!-- Foxentry end -->
  730.         {% if partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId|length > 0  and partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition != 'DO_NOT_DISPLAY' %}
  731.         <!-- BEGIN GCR Badge Code -->
  732.         <script src=\"https://apis.google.com/js/platform.js?onload=renderBadge\"
  733.                 async defer>
  734.         </script>
  735.         <script>
  736.             window.renderBadge = function() {
  737.                 var ratingBadgeContainer = document.createElement(\"div\");
  738.                 document.body.appendChild(ratingBadgeContainer);
  739.                 window.gapi.load('ratingbadge', function() {
  740.                     window.gapi.ratingbadge.render(
  741.                         ratingBadgeContainer, {
  742.                             // REQUIRED
  743.                             \"merchant_id\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId }}\",
  744.                             // OPTIONAL
  745.                             \"position\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition }}\"
  746.                         });
  747.                 });
  748.             }
  749.         </script>
  750.         <!-- END GCR Badge Code -->
  751.     {% endif %}
  752.     {# Font awesome async loading #}
  753.     <script type=\"text/javascript\">
  754.         (function() { var css = document.createElement('link'); css.href = 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'; css.rel = 'stylesheet'; css.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(css); })();
  755.     </script>
  756. {% endblock javascripts %}
  757. </body>
  758. </html>
  759. ""layout/base.html.twig""/home/www/vac-star-b2c15/custom/src/EshopBundle/Resources/views/layout/base.html.twig");
  760.     }
  761. }
  762. /* layout/base.html.twig */
  763. class __TwigTemplate_d7ba6b99d3603bff65be1f3e16d9792a9e49f4cc86ca2930c6a6b0b5bd7472d1___890449106 extends \Twig\Template
  764. {
  765.     protected function doGetParent(array $context)
  766.     {
  767.         // line 95
  768.         return $this->loadTemplate($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context"settings")), "layoutMain", []), "layout/base.html.twig"95);
  769.     }
  770.     protected function doDisplay(array $context, array $blocks = [])
  771.     {
  772.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  773.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout/base.html.twig"));
  774.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  775.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout/base.html.twig"));
  776.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  777.         
  778.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  779.         
  780.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  781.     }
  782.     public function getTemplateName()
  783.     {
  784.         return "layout/base.html.twig";
  785.     }
  786.     public function isTraitable()
  787.     {
  788.         return false;
  789.     }
  790.     public function getDebugInfo()
  791.     {
  792.         return array (  866 => 95,  653 => 157,  651 => 156,  641 => 149,  636 => 147,  621 => 134,  619 => 133,  603 => 119,  537 => 117,  532 => 109,  523 => 108,  510 => 105,  501 => 104,  488 => 99,  479 => 98,  469 => 96,  466 => 95,  457 => 94,  444 => 91,  435 => 90,  422 => 87,  413 => 86,  402 => 65,  393 => 64,  381 => 62,  377 => 61,  372 => 60,  363 => 59,  346 => 58,  333 => 162,  331 => 108,  328 => 107,  326 => 104,  321 => 101,  319 => 98,  316 => 97,  314 => 94,  311 => 93,  309 => 90,  306 => 89,  304 => 86,  301 => 85,  293 => 82,  287 => 80,  285 => 79,  278 => 75,  268 => 73,  266 => 72,  261 => 69,  256 => 67,  253 => 64,  250 => 59,  248 => 58,  245 => 57,  234 => 55,  230 => 54,  227 => 53,  224 => 52,  215 => 50,  210 => 49,  208 => 48,  204 => 46,  197 => 45,  194 => 44,  188 => 43,  185 => 42,  179 => 41,  176 => 40,  170 => 39,  165 => 37,  162 => 36,  156 => 34,  153 => 33,  147 => 31,  144 => 30,  138 => 28,  135 => 27,  130 => 25,  125 => 24,  123 => 23,  118 => 21,  114 => 20,  110 => 19,  106 => 18,  102 => 17,  97 => 15,  91 => 12,  87 => 11,  83 => 10,  79 => 9,  75 => 8,  71 => 7,  67 => 6,  63 => 5,  59 => 4,  49 => 3,  45 => 1,);
  793.     }
  794.     /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  795.     public function getSource()
  796.     {
  797.         @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.'E_USER_DEPRECATED);
  798.         return $this->getSourceContext()->getCode();
  799.     }
  800.     public function getSourceContext()
  801.     {
  802.         return new Source("<!DOCTYPE html>
  803. <html
  804.     class=\"{{ vars.getHtmlClass() }} {{user_config.getLangKey()}} page--{{ vars.dataController }} {{ vars.getHtmlClasses() }}\"
  805.     data-env=\"{{ vars.dataEnv }}\"
  806.     data-controller=\"{{ vars.dataController }}\"
  807.     data-action=\"{{ vars.dataAction }}\"
  808.     lang=\"{{ hreflangs.hrefLangIso }}\"
  809.     data-lang=\"{{ vars.dataLang }}\"
  810.     data-currency=\"{{ vars.dataCurrency }}\"
  811.     data-ajaxroot=\"{{ app.request.getSchemeAndHttpHost }}\"
  812.     data-gtm-list-type-add-cart=\"{{ google.htmlTagAttrListType }}\"
  813.     data-google-recaptcha-footer-copyright=\"{{ partner_config.getPartnerConnection.isGoogleRecaptchaFooterCopyright() }}\">
  814.     <head>
  815.         <title>{{ vars.getTitle|raw }}</title>
  816.         <meta charset=\"utf-8\">
  817.         <meta name=\"description\" content=\"{{ vars.getMetaDescription() }}\">
  818.         <meta name=\"keywords\" content=\"{{ vars.getMetaKeywords() }}\">
  819.         <meta name=\"robots\" content=\"{{ vars.metaRobots }}\">
  820.         <meta name=\"author\" content=\"{{ vars.metaAuthor }}\">
  821.         <meta name=\"viewport\" content=\"{{ vars.metaViewport }}\">
  822.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  823.         {% if vars.getFavicon() != false %}
  824.         <link rel=\"shortcut icon\" type=\"image/png\" href=\"{{ vars.getFavicon() }}\"/>
  825.             <link rel=\"apple-touch-icon\" href=\"{{ vars.getFavicon() }}\">
  826.         {% endif %}
  827.         {% if settings.google.searchConsoleId %}
  828.             <meta name=\"google-site-verification\" content=\"{{ settings.google.searchConsoleId }}\">
  829.         {% endif %}
  830.         {% if settings.google.merchantId %}
  831.             <meta name=\"google-site-verification\" content=\"{{ settings.google.merchantId }}\">
  832.         {% endif %}
  833.         {% if settings.facebook.verificationId %}
  834.             <meta name=\"facebook-domain-verification\" content=\"{{ settings.facebook.verificationId }}\">
  835.         {% endif %}
  836.         <!-- {{ \"now\"|date(\"Y-m-d H:i:s\") }} -->
  837.         {% if vars.canonicalUrl %}<link rel=\"canonical\" href=\"{{ vars.canonicalUrl }}\"/>{% endif %}
  838.         {% if vars.prevPageUrl %}<link rel=\"prev\" href=\"{{ vars.prevPageUrl }}\"/>{% endif %}
  839.         {% if vars.nextPageUrl %}<link rel=\"next\" href=\"{{ vars.nextPageUrl }}\"/>{% endif %}
  840.         {% if vars.hasOgImage %}<meta property=\"og:image\" content=\"{{ homepage_url() }}{{ vars.getOgImage }}\" />{% endif %}
  841.         {% if app.request.uri is same as(vars.canonicalUrl) %}
  842.             {% for hreflang in hreflangs.getLinks() %}
  843.                 {{ hreflang|raw }}
  844.             {% endfor %}
  845.         {% endif %}
  846.         {% for metaTag in metaTagsManager.getMetaTags(vars.dataLang) %}
  847.             <meta name=\"{{ metaTag.name }}\" content=\"{{ metaTag.content }}\">
  848.         {% endfor %}
  849.     {% block meta_other %}{% endblock meta_other %}
  850.     {% block stylesheets %}
  851.         {{ include('fonts/custom-font.html.twig') }}
  852.         {{ include('layout/styles/magnific-popup.css.html.twig') }}
  853.         {{ include('layout/styles/critical-css.html.twig') }}
  854.     {% endblock stylesheets %}
  855.     {% block inline_js %}
  856.         <script>window.ebrana = {di: null, scriptQueue: null};</script>
  857.     {% endblock inline_js %}
  858.     {{ include('component/marketing/marketing-head.html.twig') }}
  859.         {# DM 2022-02-23 V082839 - hodil jsem do base, protože je stejně už zcustomizovaná #}
  860.         <meta name=\"p:domain_verify\" content=\"4414c8e843b85aa4a540c8777c98ed95\"/>
  861. </head>
  862. {% set bodyClasses = vars.getBodyClasses %}
  863. <body {% if bodyClasses  is not empty %} class=\"{{ bodyClasses }}\" {% endif %}>
  864.     {{ include('component/marketing.html.twig') }}
  865.     <div class=\"siteWrapper\">
  866.         {% if is_granted('ROLE_PREVIOUS_ADMIN') %}
  867.             <a class=\"btn btn-logout btn-logout-user\" href=\"{{ path('switch_user', {'_switch_user': '_exit'}) }}\">
  868.                 <i class=\"fa fa-sign-out\"></i>
  869.                 {{ translator.getValue('SWITCH_USER_EXIT', 'Odhlásit se z uživatele') }} {{ app.user.username }}
  870.             </a>
  871.         {% endif %}
  872.         {% block header %}
  873.             {{ render(controller('EshopBundle:Shop:header')) }}
  874.         {% endblock header %}
  875.         {% block header_crumbtrail %}
  876.             {{ include('component/header/crumbtrail.html.twig') }}
  877.         {% endblock header_crumbtrail %}
  878.         {% block main %}
  879.         {% embed settings.layoutMain %}{% endembed %}
  880.         {% endblock main %}
  881.     {% block footer %}
  882.         {{ render(controller('EshopBundle:Shop:footer')) }}
  883.     {% endblock footer %}
  884. </div>
  885. {% block translations %}
  886.     {{ include('component/footer/translations.html.twig') }}
  887. {% endblock translations %}
  888. {% block javascripts %}
  889.     {% javascripts
  890.                 '@jquery'
  891.                 '@jqueryui'
  892.                 '@bootstrap'
  893.                 '@vendor'
  894.                 '@eshop'
  895.                 '@custom'
  896.                 '@im' %}
  897.     <script src=\"{{ asset_url }}?v={{ release }}\"></script>
  898.     {% endjavascripts %}
  899.     <!-- Foxentry start -->
  900.     <script type=\"text/javascript\" async>
  901.         var Foxentry;
  902.         (function () {
  903.             var e = document.querySelector(\"script\"), s = document.createElement('script');
  904.             s.setAttribute('type', 'text/javascript');
  905.             s.setAttribute('async', 'true');
  906.             s.setAttribute('src', 'https://cdn.foxentry.cz/lib');
  907.             e.parentNode.appendChild(s);
  908.             s.onload = function(){ Foxentry = new FoxentryBase('uyA6xKOUGU'); }
  909.         })();
  910.     </script>
  911.     <!-- Foxentry end -->
  912.         {% if partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId|length > 0  and partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition != 'DO_NOT_DISPLAY' %}
  913.         <!-- BEGIN GCR Badge Code -->
  914.         <script src=\"https://apis.google.com/js/platform.js?onload=renderBadge\"
  915.                 async defer>
  916.         </script>
  917.         <script>
  918.             window.renderBadge = function() {
  919.                 var ratingBadgeContainer = document.createElement(\"div\");
  920.                 document.body.appendChild(ratingBadgeContainer);
  921.                 window.gapi.load('ratingbadge', function() {
  922.                     window.gapi.ratingbadge.render(
  923.                         ratingBadgeContainer, {
  924.                             // REQUIRED
  925.                             \"merchant_id\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId }}\",
  926.                             // OPTIONAL
  927.                             \"position\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition }}\"
  928.                         });
  929.                 });
  930.             }
  931.         </script>
  932.         <!-- END GCR Badge Code -->
  933.     {% endif %}
  934.     {# Font awesome async loading #}
  935.     <script type=\"text/javascript\">
  936.         (function() { var css = document.createElement('link'); css.href = 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'; css.rel = 'stylesheet'; css.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(css); })();
  937.     </script>
  938. {% endblock javascripts %}
  939. </body>
  940. </html>
  941. ""layout/base.html.twig""/home/www/vac-star-b2c15/custom/src/EshopBundle/Resources/views/layout/base.html.twig");
  942.     }
  943. }