<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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;
/* @TcinnThemeWareModern/storefront/base.html.twig */
class __TwigTemplate_3a048891b2eeb42d5b7c319274c4da47 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_body_inner' => [$this, 'block_base_body_inner'],
'base_body_classes' => [$this, 'block_base_body_classes'],
'base_header' => [$this, 'block_base_header'],
'base_footer' => [$this, 'block_base_footer'],
'base_navigation' => [$this, 'block_base_navigation'],
'base_navigation_inner' => [$this, 'block_base_navigation_inner'],
'layout_sticky_logo' => [$this, 'block_layout_sticky_logo'],
'twt_layout_header_textlogo' => [$this, 'block_twt_layout_header_textlogo'],
'layout_sticky_navigation_toggle' => [$this, 'block_layout_sticky_navigation_toggle'],
'twt_layout_header_search_on_header' => [$this, 'block_twt_layout_header_search_on_header'],
'base_body_script' => [$this, 'block_base_body_script'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/storefront/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@TcinnThemeWareModern/storefront/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@TcinnThemeWareModern/storefront/base.html.twig"));
// line 8
$context["twtContainerLayout"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-container-layout");
// line 9
$context["twtAdditionalJsFile"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-additional-js-file");
// line 10
$context["twtAdditionalJsFileAsync"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-additional-js-file-async");
// line 11
$context["twtAdditionalJsFileLoad"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-additional-js-file-load");
// line 12
$context["twtAnnoncementBannerShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-annoncement-banner-show");
// line 13
$context["twtBodyClass"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-body-class");
// line 14
$context["twtBodyClassCmsPageId"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-body-class-cms-page-id");
// line 15
$context["twtContainerLayout"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-container-layout");
// line 16
$context["twtContainerMaxWidth"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-container-max-width");
// line 17
$context["twtCustomJsCode"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-custom-js-code");
// line 18
$context["twtExpertMode"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-expert-mode");
// line 19
$context["twtFloatingWidgetAnimation"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-floating-widget-animation");
// line 20
$context["twtFloatingWidgetBackdrop"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-floating-widget-backdrop");
// line 21
$context["twtFloatingWidgetShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-floating-widget-show");
// line 22
$context["twtFloatingWidgetShowOpened"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-floating-widget-show-opened");
// line 23
$context["twtHeaderLogoType"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-header-logo-type");
// line 24
$context["twtHeaderSearchType"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-header-search-type");
// line 25
$context["twtHeaderType"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-header-type");
// line 26
$context["twtLicensekey"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-footer-lizenzkey");
// line 27
$context["twtNavMainShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-nav-main-show");
// line 28
$context["twtShoppingExperiencesHeaderPosition"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-shopping-experiences-header-position");
// line 29
$context["twtSlideoutCommunitiesShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-slideout-communities-show");
// line 30
$context["twtStickyNavMainBreakpoint"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-breakpoint");
// line 31
$context["twtStickyNavMainCartShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-cart-show");
// line 32
$context["twtStickyNavMainLogoImage"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-logo-image");
// line 33
$context["twtStickyNavMainLogoShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-logo-show");
// line 34
$context["twtStickyNavMainScrollTop"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-scroll-top");
// line 35
$context["twtStickyNavMainSearchShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-search-show");
// line 36
$context["twtStickyNavMainShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-show");
// line 37
$context["twtStickyNavMainToggle"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-toggle");
// line 38
$context["twtStickyNavMainType"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-type");
// line 39
$context["twtHeaderPhoneFixed"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-header-phone-fixed");
// line 40
$context["twtUspBarFooter"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-usp-bar-footer");
// line 41
$context["twtUspBarFooterPosition"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-usp-bar-footer-position");
// line 42
$context["twtUspBarHeader"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-usp-bar-header");
// line 43
$context["twtUspBarHeaderPosition"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-usp-bar-header-position");
// line 46
if (( !twig_test_empty($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TcinnThemeWareModern.config.debugMode")) && ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TcinnThemeWareModern.config.debugMode") == "true"))) {
// line 47
$context["twtExpertMode"] = 1;
}
// line 51
$context["twtCustomCssCode"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-custom-css-code");
// line 52
$context["twtCustomHtmlCode"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-custom-html-code");
// line 53
$context["twtAdditionalCssFileLoad"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-additional-css-file-load");
// line 59
$context["twtCustomFields"] = ["category" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 60
($context["page"] ?? null), "header", [], "any", false, false, false, 60), "navigation", [], "any", false, false, false, 60), "active", [], "any", false, false, false, 60), "translated", [], "any", false, false, false, 60), "customFields", [], "any", false, false, false, 60), "product" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 61
($context["page"] ?? null), "product", [], "any", false, false, false, 61), "translated", [], "any", false, false, false, 61), "customFields", [], "any", false, false, false, 61)];
// line 65
$context["twtShoppingExperiencesHeader"] = false;
// line 67
if ((($context["twtShoppingExperiencesHeaderPosition"] ?? null) == 2)) {
// line 69
if ((($context["controllerAction"] ?? null) === "home")) {
// line 71
$context["twtShoppingExperiencesHeader"] = true;
} elseif ((twig_lower_filter($this->env, // line 73
($context["controllerName"] ?? null)) === "navigation")) {
// line 75
if (( !twig_test_empty(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["twtCustomFields"] ?? null), "category", [], "any", false, false, false, 75), "twt_modern_pro_custom_field__category__shopping_experiences_header", [], "any", false, false, false, 75)) && (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["twtCustomFields"] ?? null), "category", [], "any", false, false, false, 75), "twt_modern_pro_custom_field__category__shopping_experiences_header", [], "any", false, false, false, 75) == "1"))) {
// line 76
$context["twtShoppingExperiencesHeader"] = true;
}
}
}
// line 124
$context["bodyClasses"] = [];
// line 126
if ( !twig_test_empty(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["twtCustomFields"] ?? null), "category", [], "any", false, false, false, 126), "twt_modern_pro_custom_field__category__body_class", [], "any", false, false, false, 126))) {
// line 127
$context["bodyClasses"] = twig_array_merge([0 => twig_lower_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["twtCustomFields"] ?? null), "category", [], "any", false, false, false, 127), "twt_modern_pro_custom_field__category__body_class", [], "any", false, false, false, 127))], ($context["bodyClasses"] ?? null));
}
// line 131
if ((($context["twtBodyClass"] ?? null) && (($context["twtExpertMode"] ?? null) == 2))) {
// line 132
$context["bodyClasses"] = twig_array_merge([0 => ($context["twtBodyClass"] ?? null)], ($context["bodyClasses"] ?? null));
}
// line 136
if ( !twig_test_empty(sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "customer", [], "any", false, false, false, 136))) {
$context["bodyClasses"] = twig_array_merge([0 => "twt-logged-in"], ($context["bodyClasses"] ?? null));
}
// line 139
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 139), "type", [], "any", false, false, false, 139) != null)) {
// line 140
if ((($context["twtBodyClassCmsPageId"] ?? null) == 2)) {
// line 141
$context["bodyClasses"] = twig_array_merge([0 => ("twt-cms-id-" . sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 141), "id", [], "any", false, false, false, 141))], ($context["bodyClasses"] ?? null));
}
// line 143
if ((($context["twtBodyClassCmsPageId"] ?? null) == 3)) {
// line 144
$context["bodyClasses"] = twig_array_merge([0 => ("twt-cms-id-" . twig_slice($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 144), "id", [], "any", false, false, false, 144), 0, 7))], ($context["bodyClasses"] ?? null));
}
}
// line 149
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 149), "type", [], "any", false, false, false, 149) != null)) {
// line 150
$context["bodyClasses"] = twig_array_merge([0 => ("twt-is-cms-" . twig_replace_filter(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 150), "type", [], "any", false, false, false, 150), ["_" => "-"]))], ($context["bodyClasses"] ?? null));
}
// line 154
if ((($context["twtContainerLayout"] ?? null) == 1)) {
// line 155
$context["bodyClasses"] = twig_array_merge([0 => "twt-full-width"], ($context["bodyClasses"] ?? null));
} elseif (( // line 156
($context["twtContainerLayout"] ?? null) == 2)) {
// line 157
$context["bodyClasses"] = twig_array_merge([0 => "twt-full-width-boxed"], ($context["bodyClasses"] ?? null));
} elseif (( // line 158
($context["twtContainerLayout"] ?? null) == 3)) {
// line 159
$context["bodyClasses"] = twig_array_merge([0 => "twt-boxed"], ($context["bodyClasses"] ?? null));
}
// line 163
if (($context["twtShoppingExperiencesHeader"] ?? null)) {
// line 164
$context["bodyClasses"] = twig_array_merge([0 => "twt-shopping-experiences-header"], ($context["bodyClasses"] ?? null));
}
// line 168
if (($context["twtHeaderType"] ?? null)) {
// line 169
$context["bodyClasses"] = twig_array_merge([0 => ("twt-header-type-" . ($context["twtHeaderType"] ?? null))], ($context["bodyClasses"] ?? null));
}
// line 173
$context["bodyClasses"] = twig_array_merge([0 => "twt-modern"], ($context["bodyClasses"] ?? null));
// line 176
$context["bodyClasses"] = twig_array_merge([0 => "themeware"], ($context["bodyClasses"] ?? null));
// line 2
$this->parent = $this->loadTemplate("@Storefront/storefront/base.html.twig", "@TcinnThemeWareModern/storefront/base.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 84
public function block_base_body_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_inner"));
// line 85
echo "\t";
$context["tcinn"] = true;
// line 86
echo "
";
// line 87
if (($context["twtLicensekey"] ?? null)) {
// line 88
echo "\t\t";
$context["twtLicensekeyValues"] = [];
// line 89
echo "\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, 9));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["letter"]) {
// line 90
echo "\t\t\t";
$context["twtLicensekeyValues"] = twig_array_merge(($context["twtLicensekeyValues"] ?? null), [ // line 91
$context["letter"] => (sw_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 91) + 47)]);
// line 93
echo "\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['letter'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 94
echo "\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range("A", "Z"));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["letter"]) {
// line 95
echo "\t\t\t";
$context["twtLicensekeyValues"] = twig_array_merge(($context["twtLicensekeyValues"] ?? null), [ // line 96
$context["letter"] => (sw_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 96) + 64)]);
// line 98
echo "\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['letter'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 99
echo "\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range("a", "z"));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["letter"]) {
// line 100
echo "\t\t\t";
$context["twtLicensekeyValues"] = twig_array_merge(($context["twtLicensekeyValues"] ?? null), [ // line 101
$context["letter"] => (sw_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 101) + 96)]);
// line 103
echo "\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['letter'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 104
echo "\t\t";
$context["twtLicensekeySum"] = 0;
// line 105
echo "\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_split_filter($this->env, twig_replace_filter(($context["twtLicensekey"] ?? null), ["-" => ""]), ""));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["char"]) {
// line 106
echo "\t\t\t";
$context["twtLicensekeySum"] = (($context["twtLicensekeySum"] ?? null) + ((($__internal_compile_0 = ($context["twtLicensekeyValues"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[$context["char"]] ?? null) : null) * (sw_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 106) - 1)));
// line 107
echo "\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['char'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 108
echo "\t\t";
if (((($context["twtLicensekeySum"] ?? null) == 11000) || ((is_string($__internal_compile_1 = ($context["twtLicensekey"] ?? null)) && is_string($__internal_compile_2 = "TL") && ('' === $__internal_compile_2 || 0 === strpos($__internal_compile_1, $__internal_compile_2))) && (twig_length_filter($this->env, ($context["twtLicensekey"] ?? null)) == 16)))) {
// line 109
echo "\t\t\t";
$context["tcinn"] = false;
// line 110
echo "\t\t";
}
// line 111
echo " ";
}
// line 112
echo "
\t";
// line 114
echo "\t";
if ((($context["twtContainerLayout"] ?? null) == 3)) {
// line 115
echo "\t\t<div class=\"container body-container\">";
$this->displayParentBlock("base_body_inner", $context, $blocks);
echo "</div>
\t";
} else {
// line 117
echo "\t\t";
// line 118
echo "\t\t";
$this->displayParentBlock("base_body_inner", $context, $blocks);
echo "
\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 181
public function block_base_body_classes($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_classes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_classes"));
$this->displayParentBlock("base_body_classes", $context, $blocks);
ob_start();
echo " ";
echo sw_escape_filter($this->env, twig_join_filter(($context["bodyClasses"] ?? null), " "), "html", null, true);
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo sw_escape_filter($this->env, twig_replace_filter($___internal_parse_0_, ["\t" => "", "
" => "", "
" => "", "\000" => "", "" => "", "
" => ""]), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 185
public function block_base_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_header"));
// line 186
echo "\t";
// line 187
echo "\t";
if ((($context["twtAnnoncementBannerShow"] ?? null) > 1)) {
// line 188
echo "\t\t";
$__internal_compile_3 = null;
try {
$__internal_compile_3 = $this->loadTemplate("@TcinnThemeWareModern/storefront/themeware/extensions/twt-announcement-banner.html.twig", "@TcinnThemeWareModern/storefront/base.html.twig", 188);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_3) {
$__internal_compile_3->display(twig_array_merge($context, ["type" => "header", "alignment" => "top", "close" => "false"]));
}
// line 193
echo "\t";
}
// line 194
echo "
\t";
// line 196
echo "\t";
if (((($context["twtUspBarHeader"] ?? null) > 1) && (($context["twtUspBarHeaderPosition"] ?? null) == 1))) {
// line 197
echo "\t\t";
$__internal_compile_4 = null;
try {
$__internal_compile_4 = $this->loadTemplate("@TcinnThemeWareModern/storefront/themeware/extensions/twt-usp-bar.html.twig", "@TcinnThemeWareModern/storefront/base.html.twig", 197);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_4) {
$__internal_compile_4->display(twig_array_merge($context, ["type" => "header", "alignment" => "top"]));
}
// line 201
echo "\t";
}
// line 202
echo "
\t";
// line 204
echo "\t";
$this->displayParentBlock("base_header", $context, $blocks);
echo "
\t";
// line 207
echo "\t";
if (((($context["twtUspBarHeader"] ?? null) > 1) && (($context["twtUspBarHeaderPosition"] ?? null) == 2))) {
// line 208
echo "\t\t";
$__internal_compile_5 = null;
try {
$__internal_compile_5 = $this->loadTemplate("@TcinnThemeWareModern/storefront/themeware/extensions/twt-usp-bar.html.twig", "@TcinnThemeWareModern/storefront/base.html.twig", 208);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_5) {
$__internal_compile_5->display(twig_array_merge($context, ["type" => "header"]));
}
// line 211
echo "\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 216
public function block_base_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer"));
// line 217
echo "\t";
// line 218
echo "\t";
if (((($context["twtUspBarFooter"] ?? null) > 1) && (($context["twtUspBarFooterPosition"] ?? null) == 1))) {
// line 219
echo "\t\t";
$__internal_compile_6 = null;
try {
$__internal_compile_6 = $this->loadTemplate("@TcinnThemeWareModern/storefront/themeware/extensions/twt-usp-bar.html.twig", "@TcinnThemeWareModern/storefront/base.html.twig", 219);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_6) {
$__internal_compile_6->display(twig_array_merge($context, ["type" => "footer"]));
}
// line 222
echo "\t";
}
// line 223
echo "
\t";
// line 225
echo "\t";
$this->displayParentBlock("base_footer", $context, $blocks);
echo "
\t";
// line 228
echo "\t";
// line 229
echo "\t";
if ((($context["twtSlideoutCommunitiesShow"] ?? null) == 2)) {
// line 230
echo "\t\t";
$__internal_compile_7 = null;
try {
$__internal_compile_7 = $this->loadTemplate("@TcinnThemeWareModern/storefront/themeware/extensions/twt-slideout-communities.html.twig", "@TcinnThemeWareModern/storefront/base.html.twig", 230);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_7) {
$__internal_compile_7->display($context);
}
// line 231
echo "\t";
}
// line 232
echo "
\t";
// line 234
echo "\t";
if ((($context["twtFloatingWidgetShow"] ?? null) == 2)) {
// line 235
echo "\t\t";
$__internal_compile_8 = null;
try {
$__internal_compile_8 = $this->loadTemplate("@TcinnThemeWareModern/storefront/themeware/extensions/twt-floating-widget.html.twig", "@TcinnThemeWareModern/storefront/base.html.twig", 235);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_8) {
$__internal_compile_8->display(twig_array_merge($context, ["open" => // line 236
($context["twtFloatingWidgetShowOpened"] ?? null), "animation" => // line 237
($context["twtFloatingWidgetAnimation"] ?? null), "backdrop" => // line 238
($context["twtFloatingWidgetBackdrop"] ?? null)]));
}
// line 240
echo "\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 246
public function block_base_navigation($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation"));
// line 247
echo "
\t";
// line 249
echo "\t";
if ((($context["twtHeaderType"] ?? null) != 10)) {
// line 250
echo "
\t\t";
// line 252
echo "\t\t";
if ((($context["twtStickyNavMainShow"] ?? null) > 1)) {
// line 253
echo "\t\t\t";
// line 254
echo "\t\t\t<div class=\"nav-main\">
\t\t\t\t";
// line 255
$this->displayBlock('base_navigation_inner', $context, $blocks);
// line 316
echo "\t\t\t</div>
\t\t";
} else {
// line 318
echo "
\t\t\t";
// line 320
echo "\t\t\t";
$this->displayParentBlock("base_navigation", $context, $blocks);
echo "
\t\t";
}
// line 322
echo "
\t";
}
// line 324
echo "
\t";
// line 326
echo "
\t";
// line 330
echo "\t";
if (((($context["twtHeaderSearchType"] ?? null) == 2) || (($context["twtHeaderSearchType"] ?? null) == 4))) {
// line 331
echo "\t\t";
$this->displayBlock('twt_layout_header_search_on_header', $context, $blocks);
// line 336
echo "\t";
}
// line 337
echo "
\t";
// line 339
echo "\t";
if (((($context["twtUspBarHeader"] ?? null) > 1) && (($context["twtUspBarHeaderPosition"] ?? null) == 3))) {
// line 340
echo "\t\t";
$__internal_compile_9 = null;
try {
$__internal_compile_9 = $this->loadTemplate("@TcinnThemeWareModern/storefront/themeware/extensions/twt-usp-bar.html.twig", "@TcinnThemeWareModern/storefront/base.html.twig", 340);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_9) {
$__internal_compile_9->display(twig_array_merge($context, ["type" => "header", "alignment" => "top"]));
}
// line 344
echo "\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 255
public function block_base_navigation_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation_inner"));
// line 256
echo "\t\t\t\t\t<div class=\"container\">
\t\t\t\t\t\t";
// line 259
echo "\t\t\t\t\t\t";
if (((($context["twtStickyNavMainLogoShow"] ?? null) == 2) && ($context["twtStickyNavMainLogoImage"] ?? null))) {
// line 260
echo "\t\t\t\t\t\t\t";
$this->displayBlock('layout_sticky_logo', $context, $blocks);
// line 283
echo "\t\t\t\t\t\t";
}
// line 284
echo "
\t\t\t\t\t\t";
// line 286
echo "\t\t\t\t\t\t";
if (((($context["twtStickyNavMainToggle"] ?? null) == 2) || (($context["twtStickyNavMainShow"] ?? null) == 3))) {
// line 287
echo "\t\t\t\t\t\t\t";
$this->displayBlock('layout_sticky_navigation_toggle', $context, $blocks);
// line 300
echo "\t\t\t\t\t\t";
}
// line 301
echo "
\t\t\t\t\t\t";
// line 303
echo "\t\t\t\t\t\t";
if ((($context["twtStickyNavMainCartShow"] ?? null) == 2)) {
// line 304
echo "\t\t\t\t\t\t\t<span id=\"js-sticky-cart-position\" class=\"d-none\"></span>
\t\t\t\t\t\t";
}
// line 306
echo "
\t\t\t\t\t\t";
// line 308
echo "\t\t\t\t\t\t";
if ((($context["twtStickyNavMainSearchShow"] ?? null) == 2)) {
// line 309
echo "\t\t\t\t\t\t\t<span id=\"js-sticky-search-position\" class=\"d-none\"></span>
\t\t\t\t\t\t";
}
// line 311
echo "\t\t\t\t\t</div>
\t\t\t\t\t";
// line 314
echo "\t\t\t\t\t";
$this->displayParentBlock("base_navigation_inner", $context, $blocks);
echo "
\t\t\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 260
public function block_layout_sticky_logo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_sticky_logo"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_sticky_logo"));
// line 261
echo "\t\t\t\t\t\t\t\t<div id=\"sticky-logo\" class=\"d-none\">
\t\t\t\t\t\t\t\t\t<a class=\"sticky-logo-main-link\" href=\"";
// line 262
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.home.page");
echo "\" title=\"";
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.logoLink")), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t<picture>
\t\t\t\t\t\t\t\t\t\t\t";
// line 266
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ((($context["twtHeaderLogoType"] ?? null) != 2)) {
// line 267
echo "\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\UrlEncodingTwigFilter']->encodeUrl(($context["twtStickyNavMainLogoImage"] ?? null)), "html", null, true);
echo "\" alt=\"";
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.logoLink")), "html", null, true);
echo "\" />
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 269
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 271
echo "\t\t\t\t\t\t\t\t\t\t\t";
$this->displayBlock('twt_layout_header_textlogo', $context, $blocks);
// line 278
echo "
\t\t\t\t\t\t\t\t\t\t</picture>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 271
public function block_twt_layout_header_textlogo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "twt_layout_header_textlogo"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "twt_layout_header_textlogo"));
// line 272
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if ((($context["twtHeaderLogoType"] ?? null) == 2)) {
// line 273
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$__internal_compile_10 = null;
try {
$__internal_compile_10 = $this->loadTemplate("@TcinnThemeWareModern/storefront/themeware/includes/twt-textlogo-include.html.twig", "@TcinnThemeWareModern/storefront/base.html.twig", 273);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_10) {
$__internal_compile_10->display(twig_array_merge($context, ["sticky" => true]));
}
// line 276
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 277
echo "\t\t\t\t\t\t\t\t\t\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 287
public function block_layout_sticky_navigation_toggle($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_sticky_navigation_toggle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_sticky_navigation_toggle"));
// line 288
echo "\t\t\t\t\t\t\t\t<div id=\"sticky-nav-main-toggle\" class=\"d-none\">
\t\t\t\t\t\t\t\t\t<div class=\"menu-button\">
\t\t\t\t\t\t\t\t\t\t<button class=\"btn nav-main-toggle-btn header-actions-btn\"\ttype=\"button\" title=\"";
// line 290
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("twt.header.offcanvasMenuText"), "html", null, true);
echo "\" data-offcanvas-menu=\"true\" aria-label=\"";
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.menuLink")), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t";
// line 291
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@TcinnThemeWareModern/storefront/base.html.twig", 291);
})())->display(twig_array_merge($context, ["name" => "stack"]));
// line 292
echo "\t\t\t\t\t\t\t\t\t\t";
// line 293
echo "\t\t\t\t\t\t\t\t\t\t<span class=\"header-nav-main-toggle-label\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 294
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("twt.header.offcanvasMenuText"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 331
public function block_twt_layout_header_search_on_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "twt_layout_header_search_on_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "twt_layout_header_search_on_header"));
// line 332
echo "\t\t\t<div class=\"search-container\">
\t\t\t\t";
// line 333
$this->loadTemplate("@TcinnThemeWareModern/storefront/layout/header/search.html.twig", "@TcinnThemeWareModern/storefront/base.html.twig", 333)->display($context);
// line 334
echo "\t\t\t</div>
\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 350
public function block_base_body_script($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_script"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_script"));
// line 351
echo "\t";
// line 352
echo "\t<div id=\"twt-data-attributes\" class=\"invisible d-none\"
\t\t ";
// line 353
if (($context["twtShoppingExperiencesHeader"] ?? null)) {
echo " ";
// line 354
echo "\t\t\t data-twt-shopping-experiences-header=\"true\"
\t\t ";
}
// line 356
echo "\t\t ";
if (((($context["twtStickyNavMainShow"] ?? null) > 1) && (($context["twtHeaderType"] ?? null) < 10))) {
echo " ";
// line 357
echo "\t\t\t data-twt-sticky-breakpoint=\"";
echo sw_escape_filter($this->env, ($context["twtStickyNavMainBreakpoint"] ?? null), "html", null, true);
echo "\"
\t\t\t data-twt-sticky-cart=\"";
// line 358
echo sw_escape_filter($this->env, ($context["twtStickyNavMainCartShow"] ?? null), "html", null, true);
echo "\"
\t\t\t data-twt-sticky-container-width=\"";
// line 359
echo sw_escape_filter($this->env, ($context["twtContainerMaxWidth"] ?? null), "html", null, true);
echo "\"
\t\t\t data-twt-sticky-scroll-top=\"";
// line 360
echo sw_escape_filter($this->env, ($context["twtStickyNavMainScrollTop"] ?? null), "html", null, true);
echo "\"
\t\t\t data-twt-sticky-search=\"";
// line 361
echo sw_escape_filter($this->env, ($context["twtStickyNavMainSearchShow"] ?? null), "html", null, true);
echo "\"
\t\t\t data-twt-sticky-type=\"";
// line 362
echo sw_escape_filter($this->env, ($context["twtStickyNavMainType"] ?? null), "html", null, true);
echo "\"
\t\t ";
}
// line 364
echo "\t\t ";
if (((($context["twtStickyNavMainShow"] ?? null) > 1) && (($context["twtHeaderType"] ?? null) < 10))) {
echo " ";
// line 365
echo "\t\t\t data-twt-mobile-sticky-header=\"";
echo sw_escape_filter($this->env, ($context["twtHeaderPhoneFixed"] ?? null), "html", null, true);
echo "\"
\t\t ";
}
// line 367
echo "\t\t data-twt-search-type=\"";
echo sw_escape_filter($this->env, ($context["twtHeaderSearchType"] ?? null), "html", null, true);
echo "\"
\t\t data-twt-top-navigation-type=\"";
// line 368
echo sw_escape_filter($this->env, ($context["twtNavMainShow"] ?? null), "html", null, true);
echo "\"
\t></div>
\t";
// line 372
echo "\t";
if (( !twig_test_empty($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TcinnThemeWareModern.config.debugMode")) && ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TcinnThemeWareModern.config.debugMode") == "true"))) {
// line 373
echo "\t\t<!-- BEGIN: Debug information -->
\t\t<!-- Theme: Modern -->
\t\t<!-- Edition: Pro -->
\t\t<!-- Version: 1.1.4 -->
\t\t<!-- CMS page type: ";
// line 377
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 377), "type", [], "any", false, false, false, 377) != null)) {
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 377), "type", [], "any", false, false, false, 377), "html", null, true);
} else {
echo "none";
}
echo " -->
\t\t<!-- Expert mode: ";
// line 378
if ((($context["twtExpertMode"] ?? null) == 1)) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- Individual CSS code: ";
// line 379
if (twig_test_empty(($context["twtCustomCssCode"] ?? null))) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- Individual HTML code: ";
// line 380
if (twig_test_empty(($context["twtCustomHtmlCode"] ?? null))) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- Individual JavaScript code: ";
// line 381
if (twig_test_empty(($context["twtCustomJsCode"] ?? null))) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- Load CSS file: ";
// line 382
if ((($context["twtAdditionalCssFileLoad"] ?? null) == 1)) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- Load JavaScript file: ";
// line 383
if ((($context["twtAdditionalJsFileLoad"] ?? null) == 1)) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- END: Debug information -->
\t";
}
// line 386
echo "
\t";
// line 388
echo "\t";
$this->displayParentBlock("base_body_script", $context, $blocks);
echo "
\t";
// line 391
echo "\t";
if ((($context["twtCustomJsCode"] ?? null) && (($context["twtExpertMode"] ?? null) == 2))) {
// line 392
echo "\t\t<!-- Custom js code -->
\t\t";
// line 393
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-custom-js-code");
echo "
\t";
}
// line 395
echo "
\t";
// line 397
echo "\t";
if (((($context["twtAdditionalJsFile"] ?? null) && (($context["twtAdditionalJsFileLoad"] ?? null) == 2)) && (($context["twtExpertMode"] ?? null) == 2))) {
// line 398
echo "\t\t<!-- Custom js file -->
\t\t<script type=\"text/javascript\" src=\"";
// line 399
echo sw_escape_filter($this->env, ($context["twtAdditionalJsFile"] ?? null), "html", null, true);
echo "\" crossorigin=\"anonymous\"";
if ((($context["twtAdditionalJsFileAsync"] ?? null) == 2)) {
echo " async";
}
echo "></script>
\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@TcinnThemeWareModern/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1132 => 399, 1129 => 398, 1126 => 397, 1123 => 395, 1118 => 393, 1115 => 392, 1112 => 391, 1106 => 388, 1103 => 386, 1093 => 383, 1085 => 382, 1077 => 381, 1069 => 380, 1061 => 379, 1053 => 378, 1045 => 377, 1039 => 373, 1036 => 372, 1030 => 368, 1025 => 367, 1019 => 365, 1015 => 364, 1010 => 362, 1006 => 361, 1002 => 360, 998 => 359, 994 => 358, 989 => 357, 985 => 356, 981 => 354, 978 => 353, 975 => 352, 973 => 351, 963 => 350, 952 => 334, 950 => 333, 947 => 332, 937 => 331, 921 => 294, 918 => 293, 916 => 292, 908 => 291, 902 => 290, 898 => 288, 888 => 287, 878 => 277, 875 => 276, 864 => 273, 861 => 272, 851 => 271, 837 => 278, 834 => 271, 831 => 269, 823 => 267, 820 => 266, 812 => 262, 809 => 261, 799 => 260, 786 => 314, 782 => 311, 778 => 309, 775 => 308, 772 => 306, 768 => 304, 765 => 303, 762 => 301, 759 => 300, 756 => 287, 753 => 286, 750 => 284, 747 => 283, 744 => 260, 741 => 259, 737 => 256, 727 => 255, 716 => 344, 705 => 340, 702 => 339, 699 => 337, 696 => 336, 693 => 331, 690 => 330, 687 => 326, 684 => 324, 680 => 322, 674 => 320, 671 => 318, 667 => 316, 665 => 255, 662 => 254, 660 => 253, 657 => 252, 654 => 250, 651 => 249, 648 => 247, 638 => 246, 627 => 240, 624 => 238, 623 => 237, 622 => 236, 613 => 235, 610 => 234, 607 => 232, 604 => 231, 593 => 230, 590 => 229, 588 => 228, 582 => 225, 579 => 223, 576 => 222, 565 => 219, 562 => 218, 560 => 217, 550 => 216, 539 => 211, 528 => 208, 525 => 207, 519 => 204, 516 => 202, 513 => 201, 502 => 197, 499 => 196, 496 => 194, 493 => 193, 482 => 188, 479 => 187, 477 => 186, 467 => 185, 441 => 181, 427 => 118, 425 => 117, 419 => 115, 416 => 114, 413 => 112, 410 => 111, 407 => 110, 404 => 109, 401 => 108, 387 => 107, 384 => 106, 366 => 105, 363 => 104, 349 => 103, 347 => 101, 345 => 100, 327 => 99, 313 => 98, 311 => 96, 309 => 95, 291 => 94, 277 => 93, 275 => 91, 273 => 90, 255 => 89, 252 => 88, 250 => 87, 247 => 86, 244 => 85, 234 => 84, 223 => 2, 221 => 176, 219 => 173, 216 => 169, 214 => 168, 211 => 164, 209 => 163, 206 => 159, 204 => 158, 202 => 157, 200 => 156, 198 => 155, 196 => 154, 193 => 150, 191 => 149, 187 => 144, 185 => 143, 182 => 141, 180 => 140, 178 => 139, 174 => 136, 171 => 132, 169 => 131, 166 => 127, 164 => 126, 162 => 124, 157 => 76, 155 => 75, 153 => 73, 151 => 71, 149 => 69, 147 => 67, 145 => 65, 143 => 61, 142 => 60, 141 => 59, 139 => 53, 137 => 52, 135 => 51, 132 => 47, 130 => 46, 128 => 43, 126 => 42, 124 => 41, 122 => 40, 120 => 39, 118 => 38, 116 => 37, 114 => 36, 112 => 35, 110 => 34, 108 => 33, 106 => 32, 104 => 31, 102 => 30, 100 => 29, 98 => 28, 96 => 27, 94 => 26, 92 => 25, 90 => 24, 88 => 23, 86 => 22, 84 => 21, 82 => 20, 80 => 19, 78 => 18, 76 => 17, 74 => 16, 72 => 15, 70 => 14, 68 => 13, 66 => 12, 64 => 11, 62 => 10, 60 => 9, 58 => 8, 45 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{# TODO: prüfen... #}
{# ---------------- START: SET TEMPLATE VARS ---------------- #}
{# ThemeWare: Set theme variables #}
{% set twtContainerLayout = theme_config('twt-container-layout') %}
{% set twtAdditionalJsFile = theme_config('twt-additional-js-file') %}
{% set twtAdditionalJsFileAsync = theme_config('twt-additional-js-file-async') %}
{% set twtAdditionalJsFileLoad = theme_config('twt-additional-js-file-load') %}
{% set twtAnnoncementBannerShow = theme_config('twt-annoncement-banner-show') %}
{% set twtBodyClass = theme_config('twt-body-class') %}
{% set twtBodyClassCmsPageId = theme_config('twt-body-class-cms-page-id') %}
{% set twtContainerLayout = theme_config('twt-container-layout') %}
{% set twtContainerMaxWidth = theme_config('twt-container-max-width') %}
{% set twtCustomJsCode = theme_config('twt-custom-js-code') %}
{% set twtExpertMode = theme_config('twt-expert-mode') %}
{% set twtFloatingWidgetAnimation = theme_config('twt-floating-widget-animation') %}
{% set twtFloatingWidgetBackdrop = theme_config('twt-floating-widget-backdrop') %}
{% set twtFloatingWidgetShow = theme_config('twt-floating-widget-show') %}
{% set twtFloatingWidgetShowOpened = theme_config('twt-floating-widget-show-opened') %}
{% set twtHeaderLogoType = theme_config('twt-header-logo-type') %}
{% set twtHeaderSearchType = theme_config('twt-header-search-type') %}
{% set twtHeaderType = theme_config('twt-header-type') %}
{% set twtLicensekey = theme_config('twt-footer-lizenzkey') %}
{% set twtNavMainShow = theme_config('twt-nav-main-show') %}
{% set twtShoppingExperiencesHeaderPosition = theme_config('twt-shopping-experiences-header-position') %}
{% set twtSlideoutCommunitiesShow = theme_config('twt-slideout-communities-show') %}
{% set twtStickyNavMainBreakpoint = theme_config('twt-sticky-nav-main-breakpoint') %}
{% set twtStickyNavMainCartShow = theme_config('twt-sticky-nav-main-cart-show') %}
{% set twtStickyNavMainLogoImage = theme_config('twt-sticky-nav-main-logo-image') %}
{% set twtStickyNavMainLogoShow = theme_config('twt-sticky-nav-main-logo-show') %}
{% set twtStickyNavMainScrollTop = theme_config('twt-sticky-nav-main-scroll-top') %}
{% set twtStickyNavMainSearchShow = theme_config('twt-sticky-nav-main-search-show') %}
{% set twtStickyNavMainShow = theme_config('twt-sticky-nav-main-show') %}
{% set twtStickyNavMainToggle = theme_config('twt-sticky-nav-main-toggle') %}
{% set twtStickyNavMainType = theme_config('twt-sticky-nav-main-type') %}
{% set twtHeaderPhoneFixed = theme_config('twt-header-phone-fixed') %}
{% set twtUspBarFooter = theme_config('twt-usp-bar-footer') %}
{% set twtUspBarFooterPosition = theme_config('twt-usp-bar-footer-position') %}
{% set twtUspBarHeader = theme_config('twt-usp-bar-header') %}
{% set twtUspBarHeaderPosition = theme_config('twt-usp-bar-header-position') %}
{# Debug mode: Overwrite expert mode #}
{% if config('TcinnThemeWareModern.config.debugMode') is not empty and config('TcinnThemeWareModern.config.debugMode') == 'true' %}
\t{% set twtExpertMode = 1 %}
{% endif %}
{# Debug mode #}
{% set twtCustomCssCode = theme_config('twt-custom-css-code') %}
{% set twtCustomHtmlCode = theme_config('twt-custom-html-code') %}
{% set twtAdditionalCssFileLoad = theme_config('twt-additional-css-file-load') %}
{# ---------------- END: SET TEMPLATE VARS ---------------- #}
{# ThemeWare: Set custom fields #}
{% set twtCustomFields = {
\tcategory: page.header.navigation.active.translated.customFields,
\tproduct: page.product.translated.customFields
} %}
{# ThemeWare: Set \"Shopping Experiences Header\" variable #}
{% set twtShoppingExperiencesHeader = false %}
{% if twtShoppingExperiencesHeaderPosition == 2 %}
\t{# ThemeWare: Allow \"Shopping Experiences Header\" on the home page or in listings via a custom-field #}
\t{% if controllerAction is same as('home') %}
\t\t{# ThemeWare: Allow \"Shopping Experiences Header\" on the home page #}
\t\t{% set twtShoppingExperiencesHeader = true %}
\t{% elseif controllerName|lower is same as('navigation') %}
\t\t{# ThemeWare: Allow \"Shopping Experiences Header\" in listing pages via a custom-field #}
\t\t{% if twtCustomFields.category.twt_modern_pro_custom_field__category__shopping_experiences_header is not empty and twtCustomFields.category.twt_modern_pro_custom_field__category__shopping_experiences_header == \"1\" %}
\t\t\t{% set twtShoppingExperiencesHeader = true %}
\t\t{% endif %}
\t{% endif %}
{% endif %}
{# TODO: prüfen... #}
{# TODO: Kommentare formatieren, Blöcke mit TW #}
{% block base_body_inner %}
\t{% set tcinn = true %}
{% if twtLicensekey %}
\t\t{% set twtLicensekeyValues = {} %}
\t\t{% for letter in 0..9 %}
\t\t\t{% set twtLicensekeyValues = twtLicensekeyValues|merge({
\t\t\t\t(letter): (loop.index + 47)
\t\t\t}) %}
\t\t{% endfor %}
\t\t{% for letter in 'A'..'Z' %}
\t\t\t{% set twtLicensekeyValues = twtLicensekeyValues|merge({
\t\t\t\t(letter): (loop.index + 64)
\t\t\t}) %}
\t\t{% endfor %}
\t\t{% for letter in 'a'..'z' %}
\t\t\t{% set twtLicensekeyValues = twtLicensekeyValues|merge({
\t\t\t\t(letter): (loop.index + 96)
\t\t\t}) %}
\t\t{% endfor %}
\t\t{% set twtLicensekeySum = 0 %}
\t\t{% for char in twtLicensekey|replace({'-': ''})|split('') %}
\t\t\t{% set twtLicensekeySum = (twtLicensekeySum + (twtLicensekeyValues[char] * (loop.index-1))) %}
\t\t{% endfor %}
\t\t{% if twtLicensekeySum == 11000 or (twtLicensekey starts with 'TL' and twtLicensekey|length == 16) %}
\t\t\t{% set tcinn = false %}
\t\t{% endif %}
{% endif %}
\t{# ThemeWare: Add additional wrapper in the body for boxed layouts #}
\t{% if twtContainerLayout == 3 %}
\t\t<div class=\"container body-container\">{{ parent() }}</div>
\t{% else %}
\t\t{# Default block #}
\t\t{{ parent() }}
\t{% endif %}
{% endblock %}
{# ThemeWare: Set body classes (reverse order) #}
{% set bodyClasses = [] %}
\t{# ThemeWare: Apply category class #}
\t{% if twtCustomFields.category.twt_modern_pro_custom_field__category__body_class is not empty %}
\t\t{% set bodyClasses = [twtCustomFields.category.twt_modern_pro_custom_field__category__body_class|lower]|merge(bodyClasses) %}
\t{% endif %}
\t{# ThemeWare: Theme body class #}
\t{% if twtBodyClass and twtExpertMode == 2 %}
\t\t{% set bodyClasses = [twtBodyClass]|merge(bodyClasses) %}
\t{% endif %}
\t{# ThemeWare: Theme logged-in class #}
\t{% if context.customer is not empty %}{% set bodyClasses = ['twt-logged-in']|merge(bodyClasses) %}{% endif %}
\t{# ThemeWare: Add CMS-Page-ID #}
\t{% if page.cmsPage.type != NULL %}
\t\t{% if twtBodyClassCmsPageId == 2 %}
\t\t\t{% set bodyClasses = ['twt-cms-id-' ~ page.cmsPage.id]|merge(bodyClasses) %}
\t\t{% endif %}
\t\t{% if twtBodyClassCmsPageId == 3 %}
\t\t\t{% set bodyClasses = ['twt-cms-id-' ~ page.cmsPage.id|slice(0, 7)]|merge(bodyClasses) %}
\t\t{% endif %}
\t{% endif %}
\t{# ThemeWare: Add CMS-Pagetype #}
\t{% if page.cmsPage.type != NULL %}
\t\t{% set bodyClasses = ['twt-is-cms-' ~ page.cmsPage.type|replace({ \"_\":\"-\" })]|merge(bodyClasses) %}
\t{% endif %}
\t{# ThemeWare: Add container layout #}
\t{% if twtContainerLayout == 1 %}
\t\t{% set bodyClasses = ['twt-full-width']|merge(bodyClasses) %}
\t{% elseif twtContainerLayout == 2 %}
\t\t{% set bodyClasses = ['twt-full-width-boxed']|merge(bodyClasses) %}
\t{% elseif twtContainerLayout == 3 %}
\t\t{% set bodyClasses = ['twt-boxed']|merge(bodyClasses) %}
\t{% endif %}
\t{# ThemeWare: Apply \"Shopping experience header\" class #}
\t{% if twtShoppingExperiencesHeader %}
\t\t{% set bodyClasses = ['twt-shopping-experiences-header']|merge(bodyClasses) %}
\t{% endif %}
\t{# ThemeWare: Add header type #}
\t{% if twtHeaderType %}
\t\t{% set bodyClasses = ['twt-header-type-' ~ twtHeaderType]|merge(bodyClasses) %}
\t{% endif %}
\t{# ThemeWare: Theme variant class #}
\t{% set bodyClasses = ['twt-modern']|merge(bodyClasses) %}
\t{# ThemeWare: ThemeWare class #}
\t{% set bodyClasses = ['themeware']|merge(bodyClasses) %}
{# ThemeWare: Add body classes
\t- Replace: tab, new line, return, NUL-byte, vertical tab
#}
{% block base_body_classes %}{{ parent() }}{% apply replace({\"\\t\":\"\", \"\\n\":\"\", \"\\r\":\"\", \"\\0\":\"\", \"\\x0B\":\"\", \"\\r\\n\":\"\"}) %} {{ bodyClasses|join(' ') }}{% endapply %}{% endblock %}
{# ThemeWare: Add/change header #}
{% block base_header %}
\t{# ThemeWare: \"Ankündigungsbanner\" ergänzen. #}
\t{% if twtAnnoncementBannerShow > 1 %}
\t\t{% sw_include '@Storefront/storefront/themeware/extensions/twt-announcement-banner.html.twig' ignore missing with {
\t\t\ttype: 'header',
\t\t\talignment: 'top',
\t\t\tclose: 'false'
\t\t} %}
\t{% endif %}
\t{# ThemeWare: \"USP-Bar\" über dem Header ergänzen. #}
\t{% if twtUspBarHeader > 1 and twtUspBarHeaderPosition == 1 %}
\t\t{% sw_include '@Storefront/storefront/themeware/extensions/twt-usp-bar.html.twig' ignore missing with {
\t\t\ttype: 'header',
\t\t\talignment: 'top'
\t\t} %}
\t{% endif %}
\t{# Default block #}
\t{{ parent() }}
\t{# ThemeWare: \"USP-Bar\" über der Navigation ergänzen. #}
\t{% if twtUspBarHeader > 1 and twtUspBarHeaderPosition == 2 %}
\t\t{% sw_include '@Storefront/storefront/themeware/extensions/twt-usp-bar.html.twig' ignore missing with {
\t\t\ttype: 'header'
\t\t} %}
\t{% endif %}
{% endblock %}
{# ThemeWare: Adjustments on base footer #}
{% block base_footer %}
\t{# ThemeWare: \"USP-Bar\" über dem Footer ergänzen. #}
\t{% if twtUspBarFooter > 1 and twtUspBarFooterPosition == 1 %}
\t\t{% sw_include '@Storefront/storefront/themeware/extensions/twt-usp-bar.html.twig' ignore missing with {
\t\t\ttype: 'footer'
\t\t} %}
\t{% endif %}
\t{# Default block #}
\t{{ parent() }}
\t{# ThemeWare: \"Slideout-Communities\" zum Footer hinzufügen. #}
\t{# TODO: Add configuration #}
\t{% if twtSlideoutCommunitiesShow == 2 %}
\t\t{% sw_include '@Storefront/storefront/themeware/extensions/twt-slideout-communities.html.twig' ignore missing %}
\t{% endif %}
\t{# ThemeWare: \"Floating-Widget\" zum Footer hinzufügen. #}
\t{% if twtFloatingWidgetShow == 2 %}
\t\t{% sw_include '@Storefront/storefront/themeware/extensions/twt-floating-widget.html.twig' ignore missing with {
\t\t\topen: twtFloatingWidgetShowOpened,
\t\t\tanimation: twtFloatingWidgetAnimation,
\t\t\tbackdrop: twtFloatingWidgetBackdrop
\t\t} %}
\t{% endif %}
{% endblock %}
{# ThemeWare: Adjustments on the main navigation #}
{# TODO: Check compatibility #}
{% block base_navigation %}
\t{# ThemeWare: Block leeren wenn \"Header 10\" aktiv ist. Andernfalls werden Anpassungen für unsere Basis-Header vorgenommen. #customHeader #}
\t{% if twtHeaderType != 10 %}
\t\t{# ThemeWare: Add sticky data attribute #}
\t\t{% if twtStickyNavMainShow > 1 %}
\t\t\t{# ThemeWare: Set data only if sticky navigation is activated #}
\t\t\t<div class=\"nav-main\">
\t\t\t\t{% block base_navigation_inner %}
\t\t\t\t\t<div class=\"container\">
\t\t\t\t\t\t{# ThemeWare: Add sticky logo for sticky-navigation #}
\t\t\t\t\t\t{% if twtStickyNavMainLogoShow == 2 and twtStickyNavMainLogoImage %}
\t\t\t\t\t\t\t{% block layout_sticky_logo %}
\t\t\t\t\t\t\t\t<div id=\"sticky-logo\" class=\"d-none\">
\t\t\t\t\t\t\t\t\t<a class=\"sticky-logo-main-link\" href=\"{{ path('frontend.home.page') }}\" title=\"{{ \"header.logoLink\"|trans|striptags }}\">
\t\t\t\t\t\t\t\t\t\t<picture>
\t\t\t\t\t\t\t\t\t\t\t{# Default logo #}
\t\t\t\t\t\t\t\t\t\t\t{% if twtHeaderLogoType != 2 %}
\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ twtStickyNavMainLogoImage |sw_encode_url }}\" alt=\"{{ \"header.logoLink\"|trans|striptags }}\" />
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{# ThemeWare: \"Text-Logo\" ergänzen. #}
\t\t\t\t\t\t\t\t\t\t\t{% block twt_layout_header_textlogo %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if twtHeaderLogoType == 2 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% sw_include '@Storefront/storefront/themeware/includes/twt-textlogo-include.html.twig' ignore missing with {
\t\t\t\t\t\t\t\t\t\t\t\t\t\tsticky: true
\t\t\t\t\t\t\t\t\t\t\t\t\t} %}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% endblock %}
\t\t\t\t\t\t\t\t\t\t</picture>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endblock %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{# ThemeWare: Add nav-main-toggle for sticky-navigation #}
\t\t\t\t\t\t{% if twtStickyNavMainToggle == 2 or twtStickyNavMainShow == 3 %}
\t\t\t\t\t\t\t{% block layout_sticky_navigation_toggle %}
\t\t\t\t\t\t\t\t<div id=\"sticky-nav-main-toggle\" class=\"d-none\">
\t\t\t\t\t\t\t\t\t<div class=\"menu-button\">
\t\t\t\t\t\t\t\t\t\t<button class=\"btn nav-main-toggle-btn header-actions-btn\"\ttype=\"button\" title=\"{{ \"twt.header.offcanvasMenuText\"|trans }}\" data-offcanvas-menu=\"true\" aria-label=\"{{ \"general.menuLink\"|trans|striptags }}\">
\t\t\t\t\t\t\t\t\t\t{% sw_icon 'stack' %}
\t\t\t\t\t\t\t\t\t\t{# ThemeWare: Add label 'Navigation' to toggle-icon #}
\t\t\t\t\t\t\t\t\t\t<span class=\"header-nav-main-toggle-label\">
\t\t\t\t\t\t\t\t\t\t\t{{ \"twt.header.offcanvasMenuText\"|trans }}
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endblock %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{# ThemeWare: Add cart-button for sticky-navigation #}
\t\t\t\t\t\t{% if twtStickyNavMainCartShow == 2 %}
\t\t\t\t\t\t\t<span id=\"js-sticky-cart-position\" class=\"d-none\"></span>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{# ThemeWare: Add search-button for sticky-navigation #}
\t\t\t\t\t\t{% if twtStickyNavMainSearchShow == 2 %}
\t\t\t\t\t\t\t<span id=\"js-sticky-search-position\" class=\"d-none\"></span>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t\t{# Default block #}
\t\t\t\t\t{{ parent() }}
\t\t\t\t{% endblock %}
\t\t\t</div>
\t\t{% else %}
\t\t\t{# Default block #}
\t\t\t{{ parent() }}
\t\t{% endif %}
\t{% endif %}
\t{# ThemeWare: Add elements after the main navigation #}
\t{# ThemeWare: New position for the search container with \"Flyout search\" (twt-header-search-type 2) or \"Fullscreen search\" (twt-header-search-type 4)
\t\t- \"Flyout search\" must be used in \"Header 2.1\" (twt-header-type 4)
\t#}
\t{% if twtHeaderSearchType == 2 or twtHeaderSearchType == 4 %}
\t\t{% block twt_layout_header_search_on_header %}
\t\t\t<div class=\"search-container\">
\t\t\t\t{% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
\t\t\t</div>
\t\t{% endblock %}
\t{% endif %}
\t{# ThemeWare: \"USP-Bar\" unter dem Header hinzufügen. #}
\t{% if twtUspBarHeader > 1 and twtUspBarHeaderPosition == 3 %}
\t\t{% sw_include '@Storefront/storefront/themeware/extensions/twt-usp-bar.html.twig' ignore missing with {
\t\t\ttype: 'header',
\t\t\talignment: 'top'
\t\t} %}
\t{% endif %}
{% endblock %}
{# ThemeWare: Adjustments on script block #}
{# TODO: Check with v6.5.0 #}
{% block base_body_script %}
\t{# ThemeWare: Add data atrributes (for ThemeWare exclusive elements) #}
\t<div id=\"twt-data-attributes\" class=\"invisible d-none\"
\t\t {% if twtShoppingExperiencesHeader %} {# \"Erlebniswelt-Header\" aktiv #}
\t\t\t data-twt-shopping-experiences-header=\"true\"
\t\t {% endif %}
\t\t {% if twtStickyNavMainShow > 1 and twtHeaderType < 10 %} {# Top-Navigation ist sticky (nicht im Custom-Header) #}
\t\t\t data-twt-sticky-breakpoint=\"{{ twtStickyNavMainBreakpoint }}\"
\t\t\t data-twt-sticky-cart=\"{{ twtStickyNavMainCartShow }}\"
\t\t\t data-twt-sticky-container-width=\"{{ twtContainerMaxWidth }}\"
\t\t\t data-twt-sticky-scroll-top=\"{{ twtStickyNavMainScrollTop }}\"
\t\t\t data-twt-sticky-search=\"{{ twtStickyNavMainSearchShow }}\"
\t\t\t data-twt-sticky-type=\"{{ twtStickyNavMainType }}\"
\t\t {% endif %}
\t\t {% if twtStickyNavMainShow > 1 and twtHeaderType < 10 %} {# Mobile Header ist sticky (nicht im Custom-Header) #}
\t\t\t data-twt-mobile-sticky-header=\"{{ twtHeaderPhoneFixed }}\"
\t\t {% endif %}
\t\t data-twt-search-type=\"{{ twtHeaderSearchType }}\"
\t\t data-twt-top-navigation-type=\"{{ twtNavMainShow }}\"
\t></div>
\t{# ThemeWare: Debug mode #}
\t{% if config('TcinnThemeWareModern.config.debugMode') is not empty and config('TcinnThemeWareModern.config.debugMode') == 'true' %}
\t\t<!-- BEGIN: Debug information -->
\t\t<!-- Theme: Modern -->
\t\t<!-- Edition: Pro -->
\t\t<!-- Version: 1.1.4 -->
\t\t<!-- CMS page type: {% if page.cmsPage.type != NULL %}{{ page.cmsPage.type }}{% else %}none{% endif %} -->
\t\t<!-- Expert mode: {% if twtExpertMode == 1 %}false{% else %}true{% endif %} -->
\t\t<!-- Individual CSS code: {% if twtCustomCssCode is empty %}false{% else %}true{% endif %} -->
\t\t<!-- Individual HTML code: {% if twtCustomHtmlCode is empty %}false{% else %}true{% endif %} -->
\t\t<!-- Individual JavaScript code: {% if twtCustomJsCode is empty %}false{% else %}true{% endif %} -->
\t\t<!-- Load CSS file: {% if twtAdditionalCssFileLoad == 1 %}false{% else %}true{% endif %} -->
\t\t<!-- Load JavaScript file: {% if twtAdditionalJsFileLoad == 1 %}false{% else %}true{% endif %} -->
\t\t<!-- END: Debug information -->
\t{% endif %}
\t{# Default block #}
\t{{ parent() }}
\t{# ThemeWare: JavaScript ergänzen. #}
\t{% if twtCustomJsCode and twtExpertMode == 2 %}
\t\t<!-- Custom js code -->
\t\t{{ theme_config('twt-custom-js-code') | raw }}
\t{% endif %}
\t{# ThemeWare: JS-Datei ergänzen. #}
\t{% if twtAdditionalJsFile and twtAdditionalJsFileLoad == 2 and twtExpertMode == 2 %}
\t\t<!-- Custom js file -->
\t\t<script type=\"text/javascript\" src=\"{{ twtAdditionalJsFile }}\" crossorigin=\"anonymous\"{% if twtAdditionalJsFileAsync == 2 %} async{% endif %}></script>
\t{% endif %}
{% endblock %}", "@TcinnThemeWareModern/storefront/base.html.twig", "/var/customers/webs/kew/htdocs6/custom/plugins/TcinnThemeWareModern/src/Resources/views/storefront/base.html.twig");
}
}