<?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;
/* @SwagCustomNotification/storefront/base.html.twig */
class __TwigTemplate_8d34de09747041e758d673fc9695a5e54742bc99caca74465688fd6c3854c695 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_header' => [$this, 'block_base_header'],
'base_main' => [$this, 'block_base_main'],
];
}
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", "@SwagCustomNotification/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", "@SwagCustomNotification/storefront/base.html.twig"));
$context["consentCookieKey"] = "sw-consent-manager-accepted";
$this->parent = $this->loadTemplate("@Storefront/storefront/base.html.twig", "@SwagCustomNotification/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 4
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 5
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "SwagCustomNotification.config.showBanner")) {
// line 6
echo " ";
$this->loadTemplate("@SwagCustomNotification/storefront/layout/header/banner.html.twig", "@SwagCustomNotification/storefront/base.html.twig", 6)->display($context);
// line 7
echo " ";
}
// line 8
echo "
";
// line 9
$this->displayParentBlock("base_header", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 12
public function block_base_main($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_main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_main"));
// line 13
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "SwagCustomNotification.config.showConsentPopup")) {
// line 14
echo " ";
$this->loadTemplate("@SwagCustomNotification/storefront/layout/modal/consent.html.twig", "@SwagCustomNotification/storefront/base.html.twig", 14)->display($context);
// line 15
echo " ";
}
// line 16
echo "
";
// line 17
$this->displayParentBlock("base_main", $context, $blocks);
echo "
";
// line 19
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "SwagCustomNotification.config.showInfoPopup")) {
// line 20
echo " ";
$this->loadTemplate("@SwagCustomNotification/storefront/layout/modal/info.html.twig", "@SwagCustomNotification/storefront/base.html.twig", 20)->display($context);
// line 21
echo " ";
}
// line 22
echo "
";
// line 23
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "SwagCustomNotification.config.showNewsletter")) {
// line 24
echo " ";
$this->loadTemplate("@SwagCustomNotification/storefront/layout/modal/newsletter-popup.html.twig", "@SwagCustomNotification/storefront/base.html.twig", 24)->display($context);
// line 25
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@SwagCustomNotification/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 137 => 25, 134 => 24, 132 => 23, 129 => 22, 126 => 21, 123 => 20, 121 => 19, 116 => 17, 113 => 16, 110 => 15, 107 => 14, 104 => 13, 94 => 12, 82 => 9, 79 => 8, 76 => 7, 73 => 6, 70 => 5, 60 => 4, 36 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% set consentCookieKey = 'sw-consent-manager-accepted' %}
{% block base_header %}
{% if config('SwagCustomNotification.config.showBanner') %}
{% sw_include '@SwagCustomNotification/storefront/layout/header/banner.html.twig' %}
{% endif %}
{{ parent() }}
{% endblock %}
{% block base_main %}
{% if config('SwagCustomNotification.config.showConsentPopup') %}
{% sw_include '@SwagCustomNotification/storefront/layout/modal/consent.html.twig' %}
{% endif %}
{{ parent() }}
{% if config('SwagCustomNotification.config.showInfoPopup') %}
{% sw_include '@SwagCustomNotification/storefront/layout/modal/info.html.twig' %}
{% endif %}
{% if config('SwagCustomNotification.config.showNewsletter') %}
{% sw_include '@SwagCustomNotification/storefront/layout/modal/newsletter-popup.html.twig' %}
{% endif %}
{% endblock %}
", "@SwagCustomNotification/storefront/base.html.twig", "/home/fasflpog/shopware/custom/apps/SwagCustomNotification/Resources/views/storefront/base.html.twig");
}
}