<?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;
/* @TcinnThemeWareLiving/storefront/base.html.twig */
class __TwigTemplate_966e2d590dbe3b46a3e97c6096b6992df9fe8fa7646d7c3fefe24e507b60c965 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@TcinnThemeWareLiving/storefront/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@TcinnThemeWareLiving/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["twtAnnouncementBannerShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-announcement-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["twtIconSet"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-iconset");
// line 27
$context["twtLicensekey"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-footer-lizenzkey");
// line 28
$context["twtNavMainShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-nav-main-show");
// line 29
$context["twtShoppingExperiencesHeaderPosition"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-shopping-experiences-header-position");
// line 30
$context["twtSlideoutCommunitiesShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-slideout-communities-show");
// line 31
$context["twtStickyNavMainBreakpoint"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-breakpoint");
// line 32
$context["twtStickyNavMainCartShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-cart-show");
// line 33
$context["twtStickyNavMainLogoImage"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-logo-image");
// line 34
$context["twtStickyNavMainLogoShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-logo-show");
// line 35
$context["twtStickyNavMainScrollTop"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-scroll-top");
// line 36
$context["twtStickyNavMainSearchShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-search-show");
// line 37
$context["twtStickyNavMainShow"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-show");
// line 38
$context["twtStickyNavMainToggle"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-toggle");
// line 39
$context["twtStickyNavMainType"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-sticky-nav-main-type");
// line 40
$context["twtHeaderPhoneFixed"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-header-phone-fixed");
// line 41
$context["twtUspBarFooter"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-usp-bar-footer");
// line 42
$context["twtUspBarFooterPosition"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-usp-bar-footer-position");
// line 43
$context["twtUspBarHeader"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-usp-bar-header");
// line 44
$context["twtUspBarHeaderPosition"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-usp-bar-header-position");
// line 45
$context["twtCookiePermissionPosition"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-cookie-permission-position");
// line 48
if (( !twig_test_empty($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TcinnThemeWareLiving.config.debugMode")) && (0 === twig_compare($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TcinnThemeWareLiving.config.debugMode"), "true")))) {
// line 49
$context["twtExpertMode"] = 1;
}
// line 53
$context["twtCustomCssCode"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-custom-css-code");
// line 54
$context["twtCustomHtmlCode"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-custom-html-code");
// line 55
$context["twtAdditionalCssFileLoad"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-additional-css-file-load");
// line 61
$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 62
($context["page"] ?? null), "header", [], "any", false, false, false, 62), "navigation", [], "any", false, false, false, 62), "active", [], "any", false, false, false, 62), "translated", [], "any", false, false, false, 62), "customFields", [], "any", false, false, false, 62), "product" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 63
($context["page"] ?? null), "product", [], "any", false, false, false, 63), "translated", [], "any", false, false, false, 63), "customFields", [], "any", false, false, false, 63)];
// line 67
$context["twtShoppingExperiencesHeader"] = false;
// line 69
if ((0 === twig_compare(($context["twtShoppingExperiencesHeaderPosition"] ?? null), 2))) {
// line 71
if ((($context["controllerAction"] ?? null) === "home")) {
// line 73
$context["twtShoppingExperiencesHeader"] = true;
} elseif ((twig_lower_filter($this->env, // line 75
($context["controllerName"] ?? null)) === "navigation")) {
// line 77
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, 77), "twt_living_pro_custom_field__category__shopping_experiences_header", [], "any", false, false, false, 77)) && (0 === twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["twtCustomFields"] ?? null), "category", [], "any", false, false, false, 77), "twt_living_pro_custom_field__category__shopping_experiences_header", [], "any", false, false, false, 77), "1")))) {
// line 78
$context["twtShoppingExperiencesHeader"] = true;
}
}
}
// line 126
$context["bodyClasses"] = [];
// line 128
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, 128), "twt_living_pro_custom_field__category__body_class", [], "any", false, false, false, 128))) {
// line 129
$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, 129), "twt_living_pro_custom_field__category__body_class", [], "any", false, false, false, 129))], ($context["bodyClasses"] ?? null));
}
// line 133
if ((($context["twtBodyClass"] ?? null) && (0 === twig_compare(($context["twtExpertMode"] ?? null), 2)))) {
// line 134
$context["bodyClasses"] = twig_array_merge([0 => ($context["twtBodyClass"] ?? null)], ($context["bodyClasses"] ?? null));
}
// line 138
if ( !twig_test_empty(sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "customer", [], "any", false, false, false, 138))) {
$context["bodyClasses"] = twig_array_merge([0 => "twt-logged-in"], ($context["bodyClasses"] ?? null));
}
// line 141
if ((0 !== twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 141), "type", [], "any", false, false, false, 141), null))) {
// line 142
if ((0 === twig_compare(($context["twtBodyClassCmsPageId"] ?? null), 2))) {
// line 143
$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, 143), "id", [], "any", false, false, false, 143))], ($context["bodyClasses"] ?? null));
}
// line 145
if ((0 === twig_compare(($context["twtBodyClassCmsPageId"] ?? null), 3))) {
// line 146
$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, 146), "id", [], "any", false, false, false, 146), 0, 7))], ($context["bodyClasses"] ?? null));
}
}
// line 151
if ((0 !== twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 151), "type", [], "any", false, false, false, 151), null))) {
// line 152
$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, 152), "type", [], "any", false, false, false, 152), ["_" => "-"]))], ($context["bodyClasses"] ?? null));
}
// line 156
if ((0 === twig_compare(($context["twtContainerLayout"] ?? null), 1))) {
// line 157
$context["bodyClasses"] = twig_array_merge([0 => "twt-full-width"], ($context["bodyClasses"] ?? null));
} elseif ((0 === twig_compare( // line 158
($context["twtContainerLayout"] ?? null), 2))) {
// line 159
$context["bodyClasses"] = twig_array_merge([0 => "twt-full-width-boxed"], ($context["bodyClasses"] ?? null));
} elseif ((0 === twig_compare( // line 160
($context["twtContainerLayout"] ?? null), 3))) {
// line 161
$context["bodyClasses"] = twig_array_merge([0 => "twt-boxed"], ($context["bodyClasses"] ?? null));
}
// line 165
if (($context["twtShoppingExperiencesHeader"] ?? null)) {
// line 166
$context["bodyClasses"] = twig_array_merge([0 => "twt-shopping-experiences-header"], ($context["bodyClasses"] ?? null));
}
// line 170
if (($context["twtHeaderType"] ?? null)) {
// line 171
$context["bodyClasses"] = twig_array_merge([0 => ("twt-header-type-" . ($context["twtHeaderType"] ?? null))], ($context["bodyClasses"] ?? null));
}
// line 175
$context["bodyClasses"] = twig_array_merge([0 => "twt-living"], ($context["bodyClasses"] ?? null));
// line 178
$context["bodyClasses"] = twig_array_merge([0 => "themeware"], ($context["bodyClasses"] ?? null));
// line 2
$this->parent = $this->loadTemplate("@Storefront/storefront/base.html.twig", "@TcinnThemeWareLiving/storefront/base.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 86
public function block_base_body_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_inner"));
// line 87
echo "\t";
$context["tcinn"] = true;
// line 88
echo "
";
// line 89
if (($context["twtLicensekey"] ?? null)) {
// line 90
echo "\t\t";
$context["twtLicensekeyValues"] = [];
// line 91
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 92
echo "\t\t\t";
$context["twtLicensekeyValues"] = twig_array_merge(($context["twtLicensekeyValues"] ?? null), [ // line 93
$context["letter"] => (sw_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 93) + 47)]);
// line 95
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 96
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 97
echo "\t\t\t";
$context["twtLicensekeyValues"] = twig_array_merge(($context["twtLicensekeyValues"] ?? null), [ // line 98
$context["letter"] => (sw_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 98) + 64)]);
// line 100
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 101
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 102
echo "\t\t\t";
$context["twtLicensekeyValues"] = twig_array_merge(($context["twtLicensekeyValues"] ?? null), [ // line 103
$context["letter"] => (sw_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 103) + 96)]);
// line 105
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 106
echo "\t\t";
$context["twtLicensekeySum"] = 0;
// line 107
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 108
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, 108) - 1)));
// line 109
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 110
echo "\t\t";
if (((0 === twig_compare(($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))) && (0 === twig_compare(twig_length_filter($this->env, ($context["twtLicensekey"] ?? null)), 16))))) {
// line 111
echo "\t\t\t";
$context["tcinn"] = false;
// line 112
echo "\t\t";
}
// line 113
echo " ";
}
// line 114
echo "
\t";
// line 116
echo "\t";
if ((0 === twig_compare(($context["twtContainerLayout"] ?? null), 3))) {
// line 117
echo "\t\t<div class=\"container body-container\">";
$this->displayParentBlock("base_body_inner", $context, $blocks);
echo "</div>
\t";
} else {
// line 119
echo "\t\t";
// line 120
echo "\t\t";
$this->displayParentBlock("base_body_inner", $context, $blocks);
echo "
\t";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 183
public function block_base_body_classes($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_classes"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 187
public function block_base_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_header"));
// line 188
echo "\t";
// line 189
echo "\t";
if ((1 === twig_compare(($context["twtAnnouncementBannerShow"] ?? null), 1))) {
// line 190
echo "\t\t";
$__internal_compile_3 = null;
try {
$__internal_compile_3 = $this->loadTemplate("@TcinnThemeWareLiving/storefront/themeware/extensions/twt-announcement-banner.html.twig", "@TcinnThemeWareLiving/storefront/base.html.twig", 190);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_3) {
$__internal_compile_3->display(twig_array_merge($context, ["type" => "header", "alignment" => "top"]));
}
// line 194
echo "\t";
}
// line 195
echo "
\t";
// line 197
echo "\t";
if (((1 === twig_compare(($context["twtUspBarHeader"] ?? null), 1)) && (0 === twig_compare(($context["twtUspBarHeaderPosition"] ?? null), 1)))) {
// line 198
echo "\t\t";
$__internal_compile_4 = null;
try {
$__internal_compile_4 = $this->loadTemplate("@TcinnThemeWareLiving/storefront/themeware/extensions/twt-usp-bar.html.twig", "@TcinnThemeWareLiving/storefront/base.html.twig", 198);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_4) {
$__internal_compile_4->display(twig_array_merge($context, ["type" => "header", "alignment" => "top"]));
}
// line 202
echo "\t";
}
// line 203
echo "
\t";
// line 205
echo "\t";
$this->displayParentBlock("base_header", $context, $blocks);
echo "
\t";
// line 208
echo "\t";
if (((1 === twig_compare(($context["twtUspBarHeader"] ?? null), 1)) && (0 === twig_compare(($context["twtUspBarHeaderPosition"] ?? null), 2)))) {
// line 209
echo "\t\t";
$__internal_compile_5 = null;
try {
$__internal_compile_5 = $this->loadTemplate("@TcinnThemeWareLiving/storefront/themeware/extensions/twt-usp-bar.html.twig", "@TcinnThemeWareLiving/storefront/base.html.twig", 209);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_5) {
$__internal_compile_5->display(twig_array_merge($context, ["type" => "header"]));
}
// line 212
echo "\t";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 217
public function block_base_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer"));
// line 218
echo "\t";
// line 219
echo "\t";
if (((1 === twig_compare(($context["twtUspBarFooter"] ?? null), 1)) && (0 === twig_compare(($context["twtUspBarFooterPosition"] ?? null), 1)))) {
// line 220
echo "\t\t";
$__internal_compile_6 = null;
try {
$__internal_compile_6 = $this->loadTemplate("@TcinnThemeWareLiving/storefront/themeware/extensions/twt-usp-bar.html.twig", "@TcinnThemeWareLiving/storefront/base.html.twig", 220);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_6) {
$__internal_compile_6->display(twig_array_merge($context, ["type" => "footer"]));
}
// line 223
echo "\t";
}
// line 224
echo "
\t";
// line 226
echo "\t";
$this->displayParentBlock("base_footer", $context, $blocks);
echo "
\t";
// line 229
echo "\t";
// line 230
echo "\t";
if ((0 === twig_compare(($context["twtSlideoutCommunitiesShow"] ?? null), 2))) {
// line 231
echo "\t\t";
$__internal_compile_7 = null;
try {
$__internal_compile_7 = $this->loadTemplate("@TcinnThemeWareLiving/storefront/themeware/extensions/twt-slideout-communities.html.twig", "@TcinnThemeWareLiving/storefront/base.html.twig", 231);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_7) {
$__internal_compile_7->display($context);
}
// line 232
echo "\t";
}
// line 233
echo "
\t";
// line 235
echo "\t";
if ((0 === twig_compare(($context["twtFloatingWidgetShow"] ?? null), 2))) {
// line 236
echo "\t\t";
$__internal_compile_8 = null;
try {
$__internal_compile_8 = $this->loadTemplate("@TcinnThemeWareLiving/storefront/themeware/extensions/twt-floating-widget.html.twig", "@TcinnThemeWareLiving/storefront/base.html.twig", 236);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_8) {
$__internal_compile_8->display(twig_array_merge($context, ["open" => // line 237
($context["twtFloatingWidgetShowOpened"] ?? null), "animation" => // line 238
($context["twtFloatingWidgetAnimation"] ?? null), "backdrop" => // line 239
($context["twtFloatingWidgetBackdrop"] ?? null)]));
}
// line 241
echo "\t";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 247
public function block_base_navigation($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation"));
// line 248
echo "
\t";
// line 250
echo "\t";
if ((0 !== twig_compare(($context["twtHeaderType"] ?? null), 10))) {
// line 251
echo "
\t\t";
// line 253
echo "\t\t";
if ((1 === twig_compare(($context["twtStickyNavMainShow"] ?? null), 1))) {
// line 254
echo "\t\t\t";
// line 255
echo "\t\t\t<div class=\"nav-main\">
\t\t\t\t";
// line 256
$this->displayBlock('base_navigation_inner', $context, $blocks);
// line 321
echo "\t\t\t</div>
\t\t";
} else {
// line 323
echo "
\t\t\t";
// line 325
echo "\t\t\t";
$this->displayParentBlock("base_navigation", $context, $blocks);
echo "
\t\t";
}
// line 327
echo "
\t";
}
// line 329
echo "
\t";
// line 331
echo "
\t";
// line 335
echo "\t";
if (((0 === twig_compare(($context["twtHeaderSearchType"] ?? null), 2)) || (0 === twig_compare(($context["twtHeaderSearchType"] ?? null), 4)))) {
// line 336
echo "\t\t";
$this->displayBlock('twt_layout_header_search_on_header', $context, $blocks);
// line 341
echo "\t";
}
// line 342
echo "
\t";
// line 344
echo "\t";
if (((1 === twig_compare(($context["twtUspBarHeader"] ?? null), 1)) && (0 === twig_compare(($context["twtUspBarHeaderPosition"] ?? null), 3)))) {
// line 345
echo "\t\t";
$__internal_compile_9 = null;
try {
$__internal_compile_9 = $this->loadTemplate("@TcinnThemeWareLiving/storefront/themeware/extensions/twt-usp-bar.html.twig", "@TcinnThemeWareLiving/storefront/base.html.twig", 345);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_9) {
$__internal_compile_9->display(twig_array_merge($context, ["type" => "header", "alignment" => "top"]));
}
// line 349
echo "\t";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 256
public function block_base_navigation_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_navigation_inner"));
// line 257
echo "\t\t\t\t\t<div class=\"container\">
\t\t\t\t\t\t";
// line 260
echo "\t\t\t\t\t\t";
if (((0 === twig_compare(($context["twtStickyNavMainLogoShow"] ?? null), 2)) && ($context["twtStickyNavMainLogoImage"] ?? null))) {
// line 261
echo "\t\t\t\t\t\t\t";
$this->displayBlock('layout_sticky_logo', $context, $blocks);
// line 284
echo "\t\t\t\t\t\t";
}
// line 285
echo "
\t\t\t\t\t\t";
// line 287
echo "\t\t\t\t\t\t";
if (((0 === twig_compare(($context["twtStickyNavMainToggle"] ?? null), 2)) || (0 === twig_compare(($context["twtStickyNavMainShow"] ?? null), 3)))) {
// line 288
echo "\t\t\t\t\t\t\t";
$this->displayBlock('layout_sticky_navigation_toggle', $context, $blocks);
// line 305
echo "\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 ((0 === twig_compare(($context["twtStickyNavMainCartShow"] ?? null), 2))) {
// line 309
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 311
echo "
\t\t\t\t\t\t";
// line 313
echo "\t\t\t\t\t\t";
if ((0 === twig_compare(($context["twtStickyNavMainSearchShow"] ?? null), 2))) {
// line 314
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 316
echo "\t\t\t\t\t</div>
\t\t\t\t\t";
// line 319
echo "\t\t\t\t\t";
$this->displayParentBlock("base_navigation_inner", $context, $blocks);
echo "
\t\t\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 261
public function block_layout_sticky_logo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_sticky_logo"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_sticky_logo"));
// line 262
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 263
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 267
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ((0 !== twig_compare(($context["twtHeaderLogoType"] ?? null), 2))) {
// line 268
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 270
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 272
echo "\t\t\t\t\t\t\t\t\t\t\t";
$this->displayBlock('twt_layout_header_textlogo', $context, $blocks);
// line 279
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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 272
public function block_twt_layout_header_textlogo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "twt_layout_header_textlogo"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "twt_layout_header_textlogo"));
// line 273
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if ((0 === twig_compare(($context["twtHeaderLogoType"] ?? null), 2))) {
// line 274
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$__internal_compile_10 = null;
try {
$__internal_compile_10 = $this->loadTemplate("@TcinnThemeWareLiving/storefront/themeware/includes/twt-textlogo-include.html.twig", "@TcinnThemeWareLiving/storefront/base.html.twig", 274);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_10) {
$__internal_compile_10->display(twig_array_merge($context, ["sticky" => true]));
}
// line 277
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 278
echo "\t\t\t\t\t\t\t\t\t\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 288
public function block_layout_sticky_navigation_toggle($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_sticky_navigation_toggle"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_sticky_navigation_toggle"));
// line 289
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 291
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\t";
// line 292
if ( !(($context["twtIconSet"] ?? null) === "default")) {
// line 293
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
((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, "@TcinnThemeWareLiving/storefront/base.html.twig", 293);
})())->display(twig_array_merge($context, ["pack" => "themeware", "name" => "stack"]));
// line 294
echo "\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 295
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
((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, "@TcinnThemeWareLiving/storefront/base.html.twig", 295);
})())->display(twig_array_merge($context, ["name" => "stack"]));
// line 296
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 297
echo "\t\t\t\t\t\t\t\t\t\t\t";
// line 298
echo "\t\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\t";
// line 299
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\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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 336
public function block_twt_layout_header_search_on_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "twt_layout_header_search_on_header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "twt_layout_header_search_on_header"));
// line 337
echo "\t\t\t<div class=\"search-container\">
\t\t\t\t";
// line 338
$this->loadTemplate("@TcinnThemeWareLiving/storefront/layout/header/search.html.twig", "@TcinnThemeWareLiving/storefront/base.html.twig", 338)->display($context);
// line 339
echo "\t\t\t</div>
\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 355
public function block_base_body_script($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_script"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_script"));
// line 356
echo "\t";
// line 357
echo "\t<div id=\"twt-data-attributes\" class=\"invisible d-none\"
\t\t ";
// line 358
if (($context["twtShoppingExperiencesHeader"] ?? null)) {
echo " ";
// line 359
echo "\t\t\t data-twt-shopping-experiences-header=\"true\"
\t\t ";
}
// line 361
echo "\t\t ";
if (((1 === twig_compare(($context["twtStickyNavMainShow"] ?? null), 1)) && (-1 === twig_compare(($context["twtHeaderType"] ?? null), 10)))) {
echo " ";
// line 362
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 363
echo sw_escape_filter($this->env, ($context["twtStickyNavMainCartShow"] ?? null), "html", null, true);
echo "\"
\t\t\t data-twt-sticky-container-width=\"";
// line 364
echo sw_escape_filter($this->env, ($context["twtContainerMaxWidth"] ?? null), "html", null, true);
echo "\"
\t\t\t data-twt-sticky-scroll-top=\"";
// line 365
echo sw_escape_filter($this->env, ($context["twtStickyNavMainScrollTop"] ?? null), "html", null, true);
echo "\"
\t\t\t data-twt-sticky-search=\"";
// line 366
echo sw_escape_filter($this->env, ($context["twtStickyNavMainSearchShow"] ?? null), "html", null, true);
echo "\"
\t\t\t data-twt-sticky-type=\"";
// line 367
echo sw_escape_filter($this->env, ($context["twtStickyNavMainType"] ?? null), "html", null, true);
echo "\"
\t\t ";
}
// line 369
echo "\t\t ";
if (((1 === twig_compare(($context["twtStickyNavMainShow"] ?? null), 1)) && (-1 === twig_compare(($context["twtHeaderType"] ?? null), 10)))) {
echo " ";
// line 370
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 372
echo "\t\t";
if ((1 === twig_compare(($context["twtCookiePermissionPosition"] ?? null), 1))) {
echo " ";
// line 373
echo "\t\t\tdata-twt-cookie-permission-position=\"true\"
\t\t";
}
// line 375
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 376
echo sw_escape_filter($this->env, ($context["twtNavMainShow"] ?? null), "html", null, true);
echo "\"
\t></div>
\t";
// line 380
echo "\t";
if (( !twig_test_empty($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TcinnThemeWareLiving.config.debugMode")) && (0 === twig_compare($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TcinnThemeWareLiving.config.debugMode"), "true")))) {
// line 381
echo "\t\t<!-- BEGIN: Debug information -->
\t\t<!-- Theme: Living -->
\t\t<!-- Edition: Pro -->
\t\t<!-- Version: 1.1.10 -->
\t\t<!-- CMS page type: ";
// line 385
if ((0 !== twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 385), "type", [], "any", false, false, false, 385), 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, 385), "type", [], "any", false, false, false, 385), "html", null, true);
} else {
echo "none";
}
echo " -->
\t\t<!-- Expert mode: ";
// line 386
if ((0 === twig_compare(($context["twtExpertMode"] ?? null), 1))) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- Individual CSS code: ";
// line 387
if (twig_test_empty(($context["twtCustomCssCode"] ?? null))) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- Individual HTML code: ";
// line 388
if (twig_test_empty(($context["twtCustomHtmlCode"] ?? null))) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- Individual JavaScript code: ";
// line 389
if (twig_test_empty(($context["twtCustomJsCode"] ?? null))) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- Load CSS file: ";
// line 390
if ((0 === twig_compare(($context["twtAdditionalCssFileLoad"] ?? null), 1))) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- Load JavaScript file: ";
// line 391
if ((0 === twig_compare(($context["twtAdditionalJsFileLoad"] ?? null), 1))) {
echo "false";
} else {
echo "true";
}
echo " -->
\t\t<!-- END: Debug information -->
\t";
}
// line 394
echo "
\t";
// line 396
echo "\t";
if (((0 === twig_compare(($context["twtIconSet"] ?? null), "fa-free")) || (0 === twig_compare(($context["twtIconSet"] ?? null), "fa-free-alt")))) {
// line 397
echo "\t\t<!--! Font Awesome Free 5 by @fontawesome - https://fontawesome.com | License - https://fontawesome.com/license/free -->
\t";
}
// line 399
echo "\t";
if (((0 === twig_compare(($context["twtIconSet"] ?? null), "fa6-free")) || (0 === twig_compare(($context["twtIconSet"] ?? null), "fa6-free-alt")))) {
// line 400
echo "\t\t<!--! Font Awesome Free 6 by @fontawesome - https://fontawesome.com | License - https://fontawesome.com/license/free Copyright 2022 Fonticons, Inc. -->
\t";
}
// line 402
echo "
\t";
// line 404
echo "\t";
$this->displayParentBlock("base_body_script", $context, $blocks);
echo "
\t";
// line 407
echo "\t";
if ((($context["twtCustomJsCode"] ?? null) && (0 === twig_compare(($context["twtExpertMode"] ?? null), 2)))) {
// line 408
echo "\t\t<!-- Custom js code -->
\t\t";
// line 409
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "twt-custom-js-code");
echo "
\t";
}
// line 411
echo "
\t";
// line 413
echo "\t";
if (((($context["twtAdditionalJsFile"] ?? null) && (0 === twig_compare(($context["twtAdditionalJsFileLoad"] ?? null), 2))) && (0 === twig_compare(($context["twtExpertMode"] ?? null), 2)))) {
// line 414
echo "\t\t<!-- Custom js file -->
\t\t<script type=\"text/javascript\" src=\"";
// line 415
echo sw_escape_filter($this->env, ($context["twtAdditionalJsFile"] ?? null), "html", null, true);
echo "\" crossorigin=\"anonymous\"";
if ((0 === twig_compare(($context["twtAdditionalJsFileAsync"] ?? null), 2))) {
echo " async";
}
echo "></script>
\t";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@TcinnThemeWareLiving/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1179 => 415, 1176 => 414, 1173 => 413, 1170 => 411, 1165 => 409, 1162 => 408, 1159 => 407, 1153 => 404, 1150 => 402, 1146 => 400, 1143 => 399, 1139 => 397, 1136 => 396, 1133 => 394, 1123 => 391, 1115 => 390, 1107 => 389, 1099 => 388, 1091 => 387, 1083 => 386, 1075 => 385, 1069 => 381, 1066 => 380, 1060 => 376, 1055 => 375, 1051 => 373, 1047 => 372, 1041 => 370, 1037 => 369, 1032 => 367, 1028 => 366, 1024 => 365, 1020 => 364, 1016 => 363, 1011 => 362, 1007 => 361, 1003 => 359, 1000 => 358, 997 => 357, 995 => 356, 985 => 355, 974 => 339, 972 => 338, 969 => 337, 959 => 336, 943 => 299, 940 => 298, 938 => 297, 935 => 296, 926 => 295, 923 => 294, 914 => 293, 912 => 292, 906 => 291, 902 => 289, 892 => 288, 882 => 278, 879 => 277, 868 => 274, 865 => 273, 855 => 272, 841 => 279, 838 => 272, 835 => 270, 827 => 268, 824 => 267, 816 => 263, 813 => 262, 803 => 261, 790 => 319, 786 => 316, 782 => 314, 779 => 313, 776 => 311, 772 => 309, 769 => 308, 766 => 306, 763 => 305, 760 => 288, 757 => 287, 754 => 285, 751 => 284, 748 => 261, 745 => 260, 741 => 257, 731 => 256, 720 => 349, 709 => 345, 706 => 344, 703 => 342, 700 => 341, 697 => 336, 694 => 335, 691 => 331, 688 => 329, 684 => 327, 678 => 325, 675 => 323, 671 => 321, 669 => 256, 666 => 255, 664 => 254, 661 => 253, 658 => 251, 655 => 250, 652 => 248, 642 => 247, 631 => 241, 628 => 239, 627 => 238, 626 => 237, 617 => 236, 614 => 235, 611 => 233, 608 => 232, 597 => 231, 594 => 230, 592 => 229, 586 => 226, 583 => 224, 580 => 223, 569 => 220, 566 => 219, 564 => 218, 554 => 217, 543 => 212, 532 => 209, 529 => 208, 523 => 205, 520 => 203, 517 => 202, 506 => 198, 503 => 197, 500 => 195, 497 => 194, 486 => 190, 483 => 189, 481 => 188, 471 => 187, 445 => 183, 431 => 120, 429 => 119, 423 => 117, 420 => 116, 417 => 114, 414 => 113, 411 => 112, 408 => 111, 405 => 110, 391 => 109, 388 => 108, 370 => 107, 367 => 106, 353 => 105, 351 => 103, 349 => 102, 331 => 101, 317 => 100, 315 => 98, 313 => 97, 295 => 96, 281 => 95, 279 => 93, 277 => 92, 259 => 91, 256 => 90, 254 => 89, 251 => 88, 248 => 87, 238 => 86, 227 => 2, 225 => 178, 223 => 175, 220 => 171, 218 => 170, 215 => 166, 213 => 165, 210 => 161, 208 => 160, 206 => 159, 204 => 158, 202 => 157, 200 => 156, 197 => 152, 195 => 151, 191 => 146, 189 => 145, 186 => 143, 184 => 142, 182 => 141, 178 => 138, 175 => 134, 173 => 133, 170 => 129, 168 => 128, 166 => 126, 161 => 78, 159 => 77, 157 => 75, 155 => 73, 153 => 71, 151 => 69, 149 => 67, 147 => 63, 146 => 62, 145 => 61, 143 => 55, 141 => 54, 139 => 53, 136 => 49, 134 => 48, 132 => 45, 130 => 44, 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 twtAnnouncementBannerShow = theme_config('twt-announcement-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 twtIconSet = theme_config('twt-iconset') %}
{% 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') %}
{% set twtCookiePermissionPosition = theme_config('twt-cookie-permission-position') %}
{# Debug mode: Overwrite expert mode #}
{% if config('TcinnThemeWareLiving.config.debugMode') is not empty and config('TcinnThemeWareLiving.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_living_pro_custom_field__category__shopping_experiences_header is not empty and twtCustomFields.category.twt_living_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_living_pro_custom_field__category__body_class is not empty %}
\t\t{% set bodyClasses = [twtCustomFields.category.twt_living_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-living']|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 twtAnnouncementBannerShow > 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} %}
\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\t{% if twtIconSet is not same as ('default') %}
\t\t\t\t\t\t\t\t\t\t\t\t{% sw_icon 'stack' style {'pack':'themeware'} %}
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t{% sw_icon 'stack' %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\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\t<span class=\"header-nav-main-toggle-label\">
\t\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\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{% if twtCookiePermissionPosition > 1 %} {# Cookie permission position #}
\t\t\tdata-twt-cookie-permission-position=\"true\"
\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('TcinnThemeWareLiving.config.debugMode') is not empty and config('TcinnThemeWareLiving.config.debugMode') == 'true' %}
\t\t<!-- BEGIN: Debug information -->
\t\t<!-- Theme: Living -->
\t\t<!-- Edition: Pro -->
\t\t<!-- Version: 1.1.10 -->
\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{# ThemeWare: Add copyright informations #}
\t{% if twtIconSet == 'fa-free' or twtIconSet == 'fa-free-alt' %}
\t\t<!--! Font Awesome Free 5 by @fontawesome - https://fontawesome.com | License - https://fontawesome.com/license/free -->
\t{% endif %}
\t{% if twtIconSet == 'fa6-free' or twtIconSet == 'fa6-free-alt' %}
\t\t<!--! Font Awesome Free 6 by @fontawesome - https://fontawesome.com | License - https://fontawesome.com/license/free Copyright 2022 Fonticons, Inc. -->
\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 %}", "@TcinnThemeWareLiving/storefront/base.html.twig", "/var/www/share/staging.traumkonzept.de/shopware/custom/plugins/TcinnThemeWareLiving/src/Resources/views/storefront/base.html.twig");
}
}