<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* layout/base.html.twig */
class __TwigTemplate_d7ba6b99d3603bff65be1f3e16d9792a9e49f4cc86ca2930c6a6b0b5bd7472d1 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'meta_other' => [$this, 'block_meta_other'],
'stylesheets' => [$this, 'block_stylesheets'],
'inline_js' => [$this, 'block_inline_js'],
'header' => [$this, 'block_header'],
'header_crumbtrail' => [$this, 'block_header_crumbtrail'],
'main' => [$this, 'block_main'],
'footer' => [$this, 'block_footer'],
'translations' => [$this, 'block_translations'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html
class=\"";
// line 3
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getHtmlClass", [], "method"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["user_config"]) ? $context["user_config"] : $this->getContext($context, "user_config")), "getLangKey", [], "method"), "html", null, true);
echo " page--";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataController", []), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getHtmlClasses", [], "method"), "html", null, true);
echo "\"
data-env=\"";
// line 4
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataEnv", []), "html", null, true);
echo "\"
data-controller=\"";
// line 5
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataController", []), "html", null, true);
echo "\"
data-action=\"";
// line 6
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataAction", []), "html", null, true);
echo "\"
lang=\"";
// line 7
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["hreflangs"]) ? $context["hreflangs"] : $this->getContext($context, "hreflangs")), "hrefLangIso", []), "html", null, true);
echo "\"
data-lang=\"";
// line 8
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataLang", []), "html", null, true);
echo "\"
data-currency=\"";
// line 9
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataCurrency", []), "html", null, true);
echo "\"
data-ajaxroot=\"";
// line 10
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : $this->getContext($context, "app")), "request", []), "getSchemeAndHttpHost", []), "html", null, true);
echo "\"
data-gtm-list-type-add-cart=\"";
// line 11
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["google"]) ? $context["google"] : $this->getContext($context, "google")), "htmlTagAttrListType", []), "html", null, true);
echo "\"
data-google-recaptcha-footer-copyright=\"";
// line 12
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", null, true);
echo "\">
<head>
<title>";
// line 15
echo $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getTitle", []);
echo "</title>
<meta charset=\"utf-8\">
<meta name=\"description\" content=\"";
// line 17
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getMetaDescription", [], "method"), "html", null, true);
echo "\">
<meta name=\"keywords\" content=\"";
// line 18
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getMetaKeywords", [], "method"), "html", null, true);
echo "\">
<meta name=\"robots\" content=\"";
// line 19
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "metaRobots", []), "html", null, true);
echo "\">
<meta name=\"author\" content=\"";
// line 20
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "metaAuthor", []), "html", null, true);
echo "\">
<meta name=\"viewport\" content=\"";
// line 21
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "metaViewport", []), "html", null, true);
echo "\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
";
// line 23
if (($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getFavicon", [], "method") != false)) {
// line 24
echo " <link rel=\"shortcut icon\" type=\"image/png\" href=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getFavicon", [], "method"), "html", null, true);
echo "\"/>
<link rel=\"apple-touch-icon\" href=\"";
// line 25
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getFavicon", [], "method"), "html", null, true);
echo "\">
";
}
// line 27
echo " ";
if ($this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "google", []), "searchConsoleId", [])) {
// line 28
echo " <meta name=\"google-site-verification\" content=\"";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "google", []), "searchConsoleId", []), "html", null, true);
echo "\">
";
}
// line 30
echo " ";
if ($this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "google", []), "merchantId", [])) {
// line 31
echo " <meta name=\"google-site-verification\" content=\"";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "google", []), "merchantId", []), "html", null, true);
echo "\">
";
}
// line 33
echo " ";
if ($this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "facebook", []), "verificationId", [])) {
// line 34
echo " <meta name=\"facebook-domain-verification\" content=\"";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "facebook", []), "verificationId", []), "html", null, true);
echo "\">
";
}
// line 36
echo "
<!-- ";
// line 37
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y-m-d H:i:s"), "html", null, true);
echo " -->
";
// line 39
if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "canonicalUrl", [])) {
echo "<link rel=\"canonical\" href=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "canonicalUrl", []), "html", null, true);
echo "\"/>";
}
// line 40
echo "
";
// line 41
if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "prevPageUrl", [])) {
echo "<link rel=\"prev\" href=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "prevPageUrl", []), "html", null, true);
echo "\"/>";
}
// line 42
echo "
";
// line 43
if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "nextPageUrl", [])) {
echo "<link rel=\"next\" href=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "nextPageUrl", []), "html", null, true);
echo "\"/>";
}
// line 44
echo "
";
// line 45
if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "hasOgImage", [])) {
echo "<meta property=\"og:image\" content=\"";
echo twig_escape_filter($this->env, $this->env->getExtension('EshopBundle\Twig\UrlExtension')->homepageUrl(), "html", null, true);
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getOgImage", []), "html", null, true);
echo "\" />";
}
// line 46
echo "
";
// line 48
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", []))) {
// line 49
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["hreflangs"]) ? $context["hreflangs"] : $this->getContext($context, "hreflangs")), "getLinks", [], "method"));
foreach ($context['_seq'] as $context["_key"] => $context["hreflang"]) {
// line 50
echo " ";
echo $context["hreflang"];
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['hreflang'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
echo " ";
}
// line 53
echo "
";
// line 54
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["metaTagsManager"]) ? $context["metaTagsManager"] : $this->getContext($context, "metaTagsManager")), "getMetaTags", [0 => $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataLang", [])], "method"));
foreach ($context['_seq'] as $context["_key"] => $context["metaTag"]) {
// line 55
echo " <meta name=\"";
echo twig_escape_filter($this->env, $this->getAttribute($context["metaTag"], "name", []), "html", null, true);
echo "\" content=\"";
echo twig_escape_filter($this->env, $this->getAttribute($context["metaTag"], "content", []), "html", null, true);
echo "\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['metaTag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 57
echo "
";
// line 58
$this->displayBlock('meta_other', $context, $blocks);
// line 59
echo " ";
$this->displayBlock('stylesheets', $context, $blocks);
// line 64
echo " ";
$this->displayBlock('inline_js', $context, $blocks);
// line 67
echo " ";
echo twig_include($this->env, $context, "component/marketing/marketing-head.html.twig");
echo "
";
// line 69
echo " <meta name=\"p:domain_verify\" content=\"4414c8e843b85aa4a540c8777c98ed95\"/>
</head>
";
// line 72
$context["bodyClasses"] = $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getBodyClasses", []);
// line 73
echo "<body ";
if ( !twig_test_empty((isset($context["bodyClasses"]) ? $context["bodyClasses"] : $this->getContext($context, "bodyClasses")))) {
echo " class=\"";
echo twig_escape_filter($this->env, (isset($context["bodyClasses"]) ? $context["bodyClasses"] : $this->getContext($context, "bodyClasses")), "html", null, true);
echo "\" ";
}
echo ">
";
// line 75
echo twig_include($this->env, $context, "component/marketing.html.twig");
echo "
<div class=\"siteWrapper\">
";
// line 79
if ($this->env->getExtension('Symfony\Bridge\Twig\Extension\SecurityExtension')->isGranted("ROLE_PREVIOUS_ADMIN")) {
// line 80
echo " <a class=\"btn btn-logout btn-logout-user\" href=\"";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("switch_user", ["_switch_user" => "_exit"]);
echo "\">
<i class=\"fa fa-sign-out\"></i>
";
// line 82
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "SWITCH_USER_EXIT", 1 => "Odhlásit se z uživatele"], "method"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : $this->getContext($context, "app")), "user", []), "username", []), "html", null, true);
echo "
</a>
";
}
// line 85
echo "
";
// line 86
$this->displayBlock('header', $context, $blocks);
// line 89
echo "
";
// line 90
$this->displayBlock('header_crumbtrail', $context, $blocks);
// line 93
echo "
";
// line 94
$this->displayBlock('main', $context, $blocks);
// line 97
echo "
";
// line 98
$this->displayBlock('footer', $context, $blocks);
// line 101
echo "
</div>
";
// line 104
$this->displayBlock('translations', $context, $blocks);
// line 107
echo "
";
// line 108
$this->displayBlock('javascripts', $context, $blocks);
// line 162
echo "
</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 58
public function block_meta_other($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_other"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_other"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 59
public function block_stylesheets($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 60
echo " ";
echo twig_include($this->env, $context, "fonts/custom-font.html.twig");
echo "
";
// line 61
echo twig_include($this->env, $context, "layout/styles/magnific-popup.css.html.twig");
echo "
";
// line 62
echo twig_include($this->env, $context, "layout/styles/critical-css.html.twig");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 64
public function block_inline_js($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inline_js"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inline_js"));
// line 65
echo " <script>window.ebrana = {di: null, scriptQueue: null};</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 86
public function block_header($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 87
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("EshopBundle:Shop:header"));
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 90
public function block_header_crumbtrail($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_crumbtrail"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_crumbtrail"));
// line 91
echo " ";
echo twig_include($this->env, $context, "component/header/crumbtrail.html.twig");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 94
public function block_main($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 95
echo " ";
$this->loadTemplate("layout/base.html.twig", "layout/base.html.twig", 95, "890449106")->display($context);
// line 96
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 98
public function block_footer($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 99
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("EshopBundle:Shop:footer"));
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 104
public function block_translations($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "translations"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "translations"));
// line 105
echo " ";
echo twig_include($this->env, $context, "component/footer/translations.html.twig");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 108
public function block_javascripts($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 109
echo " ";
if (isset($context['assetic']['debug']) && $context['assetic']['debug']) {
// asset "d5a6a11_0"
$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");
// line 117
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_1"
$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");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_2"
$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");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_3"
$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");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_4"
$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");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_5"
$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");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_6"
$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");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
} else {
// asset "d5a6a11"
$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");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
}
unset($context["asset_url"]);
// line 119
echo " <!-- Foxentry start -->
<script type=\"text/javascript\" async>
var Foxentry;
(function () {
var e = document.querySelector(\"script\"), s = document.createElement('script');
s.setAttribute('type', 'text/javascript');
s.setAttribute('async', 'true');
s.setAttribute('src', 'https://cdn.foxentry.cz/lib');
e.parentNode.appendChild(s);
s.onload = function(){ Foxentry = new FoxentryBase('uyA6xKOUGU'); }
})();
</script>
<!-- Foxentry end -->
";
// line 133
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"))) {
// line 134
echo " <!-- BEGIN GCR Badge Code -->
<script src=\"https://apis.google.com/js/platform.js?onload=renderBadge\"
async defer>
</script>
<script>
window.renderBadge = function() {
var ratingBadgeContainer = document.createElement(\"div\");
document.body.appendChild(ratingBadgeContainer);
window.gapi.load('ratingbadge', function() {
window.gapi.ratingbadge.render(
ratingBadgeContainer, {
// REQUIRED
\"merchant_id\": \"";
// line 147
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", null, true);
echo "\",
// OPTIONAL
\"position\": \"";
// line 149
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", null, true);
echo "\"
});
});
}
</script>
<!-- END GCR Badge Code -->
";
}
// line 156
echo " ";
// line 157
echo " <script type=\"text/javascript\">
(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); })();
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "layout/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html
class=\"{{ vars.getHtmlClass() }} {{user_config.getLangKey()}} page--{{ vars.dataController }} {{ vars.getHtmlClasses() }}\"
data-env=\"{{ vars.dataEnv }}\"
data-controller=\"{{ vars.dataController }}\"
data-action=\"{{ vars.dataAction }}\"
lang=\"{{ hreflangs.hrefLangIso }}\"
data-lang=\"{{ vars.dataLang }}\"
data-currency=\"{{ vars.dataCurrency }}\"
data-ajaxroot=\"{{ app.request.getSchemeAndHttpHost }}\"
data-gtm-list-type-add-cart=\"{{ google.htmlTagAttrListType }}\"
data-google-recaptcha-footer-copyright=\"{{ partner_config.getPartnerConnection.isGoogleRecaptchaFooterCopyright() }}\">
<head>
<title>{{ vars.getTitle|raw }}</title>
<meta charset=\"utf-8\">
<meta name=\"description\" content=\"{{ vars.getMetaDescription() }}\">
<meta name=\"keywords\" content=\"{{ vars.getMetaKeywords() }}\">
<meta name=\"robots\" content=\"{{ vars.metaRobots }}\">
<meta name=\"author\" content=\"{{ vars.metaAuthor }}\">
<meta name=\"viewport\" content=\"{{ vars.metaViewport }}\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
{% if vars.getFavicon() != false %}
<link rel=\"shortcut icon\" type=\"image/png\" href=\"{{ vars.getFavicon() }}\"/>
<link rel=\"apple-touch-icon\" href=\"{{ vars.getFavicon() }}\">
{% endif %}
{% if settings.google.searchConsoleId %}
<meta name=\"google-site-verification\" content=\"{{ settings.google.searchConsoleId }}\">
{% endif %}
{% if settings.google.merchantId %}
<meta name=\"google-site-verification\" content=\"{{ settings.google.merchantId }}\">
{% endif %}
{% if settings.facebook.verificationId %}
<meta name=\"facebook-domain-verification\" content=\"{{ settings.facebook.verificationId }}\">
{% endif %}
<!-- {{ \"now\"|date(\"Y-m-d H:i:s\") }} -->
{% if vars.canonicalUrl %}<link rel=\"canonical\" href=\"{{ vars.canonicalUrl }}\"/>{% endif %}
{% if vars.prevPageUrl %}<link rel=\"prev\" href=\"{{ vars.prevPageUrl }}\"/>{% endif %}
{% if vars.nextPageUrl %}<link rel=\"next\" href=\"{{ vars.nextPageUrl }}\"/>{% endif %}
{% if vars.hasOgImage %}<meta property=\"og:image\" content=\"{{ homepage_url() }}{{ vars.getOgImage }}\" />{% endif %}
{% if app.request.uri is same as(vars.canonicalUrl) %}
{% for hreflang in hreflangs.getLinks() %}
{{ hreflang|raw }}
{% endfor %}
{% endif %}
{% for metaTag in metaTagsManager.getMetaTags(vars.dataLang) %}
<meta name=\"{{ metaTag.name }}\" content=\"{{ metaTag.content }}\">
{% endfor %}
{% block meta_other %}{% endblock meta_other %}
{% block stylesheets %}
{{ include('fonts/custom-font.html.twig') }}
{{ include('layout/styles/magnific-popup.css.html.twig') }}
{{ include('layout/styles/critical-css.html.twig') }}
{% endblock stylesheets %}
{% block inline_js %}
<script>window.ebrana = {di: null, scriptQueue: null};</script>
{% endblock inline_js %}
{{ include('component/marketing/marketing-head.html.twig') }}
{# DM 2022-02-23 V082839 - hodil jsem do base, protože je stejně už zcustomizovaná #}
<meta name=\"p:domain_verify\" content=\"4414c8e843b85aa4a540c8777c98ed95\"/>
</head>
{% set bodyClasses = vars.getBodyClasses %}
<body {% if bodyClasses is not empty %} class=\"{{ bodyClasses }}\" {% endif %}>
{{ include('component/marketing.html.twig') }}
<div class=\"siteWrapper\">
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<a class=\"btn btn-logout btn-logout-user\" href=\"{{ path('switch_user', {'_switch_user': '_exit'}) }}\">
<i class=\"fa fa-sign-out\"></i>
{{ translator.getValue('SWITCH_USER_EXIT', 'Odhlásit se z uživatele') }} {{ app.user.username }}
</a>
{% endif %}
{% block header %}
{{ render(controller('EshopBundle:Shop:header')) }}
{% endblock header %}
{% block header_crumbtrail %}
{{ include('component/header/crumbtrail.html.twig') }}
{% endblock header_crumbtrail %}
{% block main %}
{% embed settings.layoutMain %}{% endembed %}
{% endblock main %}
{% block footer %}
{{ render(controller('EshopBundle:Shop:footer')) }}
{% endblock footer %}
</div>
{% block translations %}
{{ include('component/footer/translations.html.twig') }}
{% endblock translations %}
{% block javascripts %}
{% javascripts
'@jquery'
'@jqueryui'
'@bootstrap'
'@vendor'
'@eshop'
'@custom'
'@im' %}
<script src=\"{{ asset_url }}?v={{ release }}\"></script>
{% endjavascripts %}
<!-- Foxentry start -->
<script type=\"text/javascript\" async>
var Foxentry;
(function () {
var e = document.querySelector(\"script\"), s = document.createElement('script');
s.setAttribute('type', 'text/javascript');
s.setAttribute('async', 'true');
s.setAttribute('src', 'https://cdn.foxentry.cz/lib');
e.parentNode.appendChild(s);
s.onload = function(){ Foxentry = new FoxentryBase('uyA6xKOUGU'); }
})();
</script>
<!-- Foxentry end -->
{% if partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId|length > 0 and partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition != 'DO_NOT_DISPLAY' %}
<!-- BEGIN GCR Badge Code -->
<script src=\"https://apis.google.com/js/platform.js?onload=renderBadge\"
async defer>
</script>
<script>
window.renderBadge = function() {
var ratingBadgeContainer = document.createElement(\"div\");
document.body.appendChild(ratingBadgeContainer);
window.gapi.load('ratingbadge', function() {
window.gapi.ratingbadge.render(
ratingBadgeContainer, {
// REQUIRED
\"merchant_id\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId }}\",
// OPTIONAL
\"position\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition }}\"
});
});
}
</script>
<!-- END GCR Badge Code -->
{% endif %}
{# Font awesome async loading #}
<script type=\"text/javascript\">
(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); })();
</script>
{% endblock javascripts %}
</body>
</html>
", "layout/base.html.twig", "/home/www/vac-star-b2c15/custom/src/EshopBundle/Resources/views/layout/base.html.twig");
}
}
/* layout/base.html.twig */
class __TwigTemplate_d7ba6b99d3603bff65be1f3e16d9792a9e49f4cc86ca2930c6a6b0b5bd7472d1___890449106 extends \Twig\Template
{
protected function doGetParent(array $context)
{
// line 95
return $this->loadTemplate($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "layoutMain", []), "layout/base.html.twig", 95);
}
protected function doDisplay(array $context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "layout/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html
class=\"{{ vars.getHtmlClass() }} {{user_config.getLangKey()}} page--{{ vars.dataController }} {{ vars.getHtmlClasses() }}\"
data-env=\"{{ vars.dataEnv }}\"
data-controller=\"{{ vars.dataController }}\"
data-action=\"{{ vars.dataAction }}\"
lang=\"{{ hreflangs.hrefLangIso }}\"
data-lang=\"{{ vars.dataLang }}\"
data-currency=\"{{ vars.dataCurrency }}\"
data-ajaxroot=\"{{ app.request.getSchemeAndHttpHost }}\"
data-gtm-list-type-add-cart=\"{{ google.htmlTagAttrListType }}\"
data-google-recaptcha-footer-copyright=\"{{ partner_config.getPartnerConnection.isGoogleRecaptchaFooterCopyright() }}\">
<head>
<title>{{ vars.getTitle|raw }}</title>
<meta charset=\"utf-8\">
<meta name=\"description\" content=\"{{ vars.getMetaDescription() }}\">
<meta name=\"keywords\" content=\"{{ vars.getMetaKeywords() }}\">
<meta name=\"robots\" content=\"{{ vars.metaRobots }}\">
<meta name=\"author\" content=\"{{ vars.metaAuthor }}\">
<meta name=\"viewport\" content=\"{{ vars.metaViewport }}\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
{% if vars.getFavicon() != false %}
<link rel=\"shortcut icon\" type=\"image/png\" href=\"{{ vars.getFavicon() }}\"/>
<link rel=\"apple-touch-icon\" href=\"{{ vars.getFavicon() }}\">
{% endif %}
{% if settings.google.searchConsoleId %}
<meta name=\"google-site-verification\" content=\"{{ settings.google.searchConsoleId }}\">
{% endif %}
{% if settings.google.merchantId %}
<meta name=\"google-site-verification\" content=\"{{ settings.google.merchantId }}\">
{% endif %}
{% if settings.facebook.verificationId %}
<meta name=\"facebook-domain-verification\" content=\"{{ settings.facebook.verificationId }}\">
{% endif %}
<!-- {{ \"now\"|date(\"Y-m-d H:i:s\") }} -->
{% if vars.canonicalUrl %}<link rel=\"canonical\" href=\"{{ vars.canonicalUrl }}\"/>{% endif %}
{% if vars.prevPageUrl %}<link rel=\"prev\" href=\"{{ vars.prevPageUrl }}\"/>{% endif %}
{% if vars.nextPageUrl %}<link rel=\"next\" href=\"{{ vars.nextPageUrl }}\"/>{% endif %}
{% if vars.hasOgImage %}<meta property=\"og:image\" content=\"{{ homepage_url() }}{{ vars.getOgImage }}\" />{% endif %}
{% if app.request.uri is same as(vars.canonicalUrl) %}
{% for hreflang in hreflangs.getLinks() %}
{{ hreflang|raw }}
{% endfor %}
{% endif %}
{% for metaTag in metaTagsManager.getMetaTags(vars.dataLang) %}
<meta name=\"{{ metaTag.name }}\" content=\"{{ metaTag.content }}\">
{% endfor %}
{% block meta_other %}{% endblock meta_other %}
{% block stylesheets %}
{{ include('fonts/custom-font.html.twig') }}
{{ include('layout/styles/magnific-popup.css.html.twig') }}
{{ include('layout/styles/critical-css.html.twig') }}
{% endblock stylesheets %}
{% block inline_js %}
<script>window.ebrana = {di: null, scriptQueue: null};</script>
{% endblock inline_js %}
{{ include('component/marketing/marketing-head.html.twig') }}
{# DM 2022-02-23 V082839 - hodil jsem do base, protože je stejně už zcustomizovaná #}
<meta name=\"p:domain_verify\" content=\"4414c8e843b85aa4a540c8777c98ed95\"/>
</head>
{% set bodyClasses = vars.getBodyClasses %}
<body {% if bodyClasses is not empty %} class=\"{{ bodyClasses }}\" {% endif %}>
{{ include('component/marketing.html.twig') }}
<div class=\"siteWrapper\">
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<a class=\"btn btn-logout btn-logout-user\" href=\"{{ path('switch_user', {'_switch_user': '_exit'}) }}\">
<i class=\"fa fa-sign-out\"></i>
{{ translator.getValue('SWITCH_USER_EXIT', 'Odhlásit se z uživatele') }} {{ app.user.username }}
</a>
{% endif %}
{% block header %}
{{ render(controller('EshopBundle:Shop:header')) }}
{% endblock header %}
{% block header_crumbtrail %}
{{ include('component/header/crumbtrail.html.twig') }}
{% endblock header_crumbtrail %}
{% block main %}
{% embed settings.layoutMain %}{% endembed %}
{% endblock main %}
{% block footer %}
{{ render(controller('EshopBundle:Shop:footer')) }}
{% endblock footer %}
</div>
{% block translations %}
{{ include('component/footer/translations.html.twig') }}
{% endblock translations %}
{% block javascripts %}
{% javascripts
'@jquery'
'@jqueryui'
'@bootstrap'
'@vendor'
'@eshop'
'@custom'
'@im' %}
<script src=\"{{ asset_url }}?v={{ release }}\"></script>
{% endjavascripts %}
<!-- Foxentry start -->
<script type=\"text/javascript\" async>
var Foxentry;
(function () {
var e = document.querySelector(\"script\"), s = document.createElement('script');
s.setAttribute('type', 'text/javascript');
s.setAttribute('async', 'true');
s.setAttribute('src', 'https://cdn.foxentry.cz/lib');
e.parentNode.appendChild(s);
s.onload = function(){ Foxentry = new FoxentryBase('uyA6xKOUGU'); }
})();
</script>
<!-- Foxentry end -->
{% if partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId|length > 0 and partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition != 'DO_NOT_DISPLAY' %}
<!-- BEGIN GCR Badge Code -->
<script src=\"https://apis.google.com/js/platform.js?onload=renderBadge\"
async defer>
</script>
<script>
window.renderBadge = function() {
var ratingBadgeContainer = document.createElement(\"div\");
document.body.appendChild(ratingBadgeContainer);
window.gapi.load('ratingbadge', function() {
window.gapi.ratingbadge.render(
ratingBadgeContainer, {
// REQUIRED
\"merchant_id\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId }}\",
// OPTIONAL
\"position\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition }}\"
});
});
}
</script>
<!-- END GCR Badge Code -->
{% endif %}
{# Font awesome async loading #}
<script type=\"text/javascript\">
(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); })();
</script>
{% endblock javascripts %}
</body>
</html>
", "layout/base.html.twig", "/home/www/vac-star-b2c15/custom/src/EshopBundle/Resources/views/layout/base.html.twig");
}
}