<?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;
/* @zenitPlatformShippingBar/storefront/base.html.twig */
class __TwigTemplate_1185534c0e56a7159a3248ced85f1f05dae5d79f40987e231e95d9761eef6635 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'],
'zenit_shipping_bar_extends_top' => [$this, 'block_zenit_shipping_bar_extends_top'],
'base_footer' => [$this, 'block_base_footer'],
'zenit_shipping_bar_extends_bottom_prepend' => [$this, 'block_zenit_shipping_bar_extends_bottom_prepend'],
'zenit_shipping_bar_extends_bottom_append' => [$this, 'block_zenit_shipping_bar_extends_bottom_append'],
];
}
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", "@zenitPlatformShippingBar/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", "@zenitPlatformShippingBar/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/base.html.twig", "@zenitPlatformShippingBar/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 " ";
$this->displayBlock('zenit_shipping_bar_extends_top', $context, $blocks);
// line 19
echo "
";
// line 20
$this->displayParentBlock("base_header", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_zenit_shipping_bar_extends_top($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", "zenit_shipping_bar_extends_top"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "zenit_shipping_bar_extends_top"));
// line 6
echo " ";
$context["zenShippingBar"] = sw_get_attribute($this->env, $this->source, (($__internal_compile_0 = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 6), "extensions", [], "any", false, false, false, 6)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["zenitPlatformShippingBar"] ?? null) : null), "config", [], "any", false, false, false, 6);
// line 7
echo "
";
// line 8
if (((sw_get_attribute($this->env, $this->source, ($context["zenShippingBar"] ?? null), "active", [], "any", false, false, false, 8) && (sw_get_attribute($this->env, $this->source, ($context["zenShippingBar"] ?? null), "topBar", [], "any", false, false, false, 8) == "prepend")) && (sw_get_attribute($this->env, $this->source, ($context["zenShippingBar"] ?? null), "paymentExtension", [], "any", false, false, false, 8) == "noextend"))) {
// line 9
echo " ";
$this->loadTemplate("@zenitPlatformShippingBar/storefront//shipping-bar/shipping-bar.html.twig", "@zenitPlatformShippingBar/storefront/base.html.twig", 9)->display(twig_array_merge($context, ["position" => "top", "attach" => "prepend", "statemanager" => sw_get_attribute($this->env, $this->source, // line 12
($context["zenShippingBar"] ?? null), "statemanagerHeader", [], "any", false, false, false, 12), "statemanagerBaseClass" => "d-none", "statemanagerIcons" => sw_get_attribute($this->env, $this->source, // line 14
($context["zenShippingBar"] ?? null), "statemanagerIconsHeader", [], "any", false, false, false, 14), "statemanagerInformations" => sw_get_attribute($this->env, $this->source, // line 15
($context["zenShippingBar"] ?? null), "statemanagerInformationsHeader", [], "any", false, false, false, 15)]));
// line 17
echo " ";
}
// line 18
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 24
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 25
echo " ";
$this->displayBlock('zenit_shipping_bar_extends_bottom_prepend', $context, $blocks);
// line 39
echo "
";
// line 40
$this->displayParentBlock("base_footer", $context, $blocks);
echo "
";
// line 42
$this->displayBlock('zenit_shipping_bar_extends_bottom_append', $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 25
public function block_zenit_shipping_bar_extends_bottom_prepend($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", "zenit_shipping_bar_extends_bottom_prepend"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "zenit_shipping_bar_extends_bottom_prepend"));
// line 26
echo " ";
$context["zenShippingBar"] = sw_get_attribute($this->env, $this->source, (($__internal_compile_1 = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 26), "extensions", [], "any", false, false, false, 26)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["zenitPlatformShippingBar"] ?? null) : null), "config", [], "any", false, false, false, 26);
// line 27
echo "
";
// line 28
if (((sw_get_attribute($this->env, $this->source, ($context["zenShippingBar"] ?? null), "active", [], "any", false, false, false, 28) && (sw_get_attribute($this->env, $this->source, ($context["zenShippingBar"] ?? null), "footerBar", [], "any", false, false, false, 28) == "prepend")) && (sw_get_attribute($this->env, $this->source, ($context["zenShippingBar"] ?? null), "paymentExtension", [], "any", false, false, false, 28) == "noextend"))) {
// line 29
echo " ";
$this->loadTemplate("@zenitPlatformShippingBar/storefront//shipping-bar/shipping-bar.html.twig", "@zenitPlatformShippingBar/storefront/base.html.twig", 29)->display(twig_array_merge($context, ["position" => "bottom", "attach" => "prepend", "statemanager" => sw_get_attribute($this->env, $this->source, // line 32
($context["zenShippingBar"] ?? null), "statemanagerFooter", [], "any", false, false, false, 32), "statemanagerBaseClass" => "d-none", "statemanagerIcons" => sw_get_attribute($this->env, $this->source, // line 34
($context["zenShippingBar"] ?? null), "statemanagerIconsFooter", [], "any", false, false, false, 34), "statemanagerInformations" => sw_get_attribute($this->env, $this->source, // line 35
($context["zenShippingBar"] ?? null), "statemanagerInformationsFooter", [], "any", false, false, false, 35)]));
// line 37
echo " ";
}
// line 38
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 42
public function block_zenit_shipping_bar_extends_bottom_append($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", "zenit_shipping_bar_extends_bottom_append"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "zenit_shipping_bar_extends_bottom_append"));
// line 43
echo " ";
$context["zenShippingBar"] = sw_get_attribute($this->env, $this->source, (($__internal_compile_2 = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 43), "extensions", [], "any", false, false, false, 43)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["zenitPlatformShippingBar"] ?? null) : null), "config", [], "any", false, false, false, 43);
// line 44
echo "
";
// line 45
if (((sw_get_attribute($this->env, $this->source, ($context["zenShippingBar"] ?? null), "active", [], "any", false, false, false, 45) && (sw_get_attribute($this->env, $this->source, ($context["zenShippingBar"] ?? null), "footerBar", [], "any", false, false, false, 45) == "append")) && (sw_get_attribute($this->env, $this->source, ($context["zenShippingBar"] ?? null), "paymentExtension", [], "any", false, false, false, 45) == "noextend"))) {
// line 46
echo " ";
$this->loadTemplate("@zenitPlatformShippingBar/storefront//shipping-bar/shipping-bar.html.twig", "@zenitPlatformShippingBar/storefront/base.html.twig", 46)->display(twig_array_merge($context, ["position" => "bottom", "attach" => "append", "statemanager" => sw_get_attribute($this->env, $this->source, // line 49
($context["zenShippingBar"] ?? null), "statemanagerFooter", [], "any", false, false, false, 49), "statemanagerBaseClass" => "d-none", "statemanagerIcons" => sw_get_attribute($this->env, $this->source, // line 51
($context["zenShippingBar"] ?? null), "statemanagerIconsFooter", [], "any", false, false, false, 51), "statemanagerInformations" => sw_get_attribute($this->env, $this->source, // line 52
($context["zenShippingBar"] ?? null), "statemanagerInformationsFooter", [], "any", false, false, false, 52)]));
// line 54
echo " ";
}
// line 55
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@zenitPlatformShippingBar/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 222 => 55, 219 => 54, 217 => 52, 216 => 51, 215 => 49, 213 => 46, 211 => 45, 208 => 44, 205 => 43, 195 => 42, 185 => 38, 182 => 37, 180 => 35, 179 => 34, 178 => 32, 176 => 29, 174 => 28, 171 => 27, 168 => 26, 158 => 25, 148 => 42, 143 => 40, 140 => 39, 137 => 25, 127 => 24, 117 => 18, 114 => 17, 112 => 15, 111 => 14, 110 => 12, 108 => 9, 106 => 8, 103 => 7, 100 => 6, 90 => 5, 78 => 20, 75 => 19, 72 => 5, 62 => 4, 39 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{# Include the shipping bar top position #}
{% block base_header %}
{% block zenit_shipping_bar_extends_top %}
{% set zenShippingBar = context.context.extensions['zenitPlatformShippingBar'].config %}
{% if zenShippingBar.active and zenShippingBar.topBar == 'prepend' and zenShippingBar.paymentExtension == 'noextend' %}
{% sw_include '@Storefront/storefront//shipping-bar/shipping-bar.html.twig' with {
position: 'top',
attach: 'prepend',
statemanager: zenShippingBar.statemanagerHeader,
statemanagerBaseClass: 'd-none',
statemanagerIcons: zenShippingBar.statemanagerIconsHeader,
statemanagerInformations: zenShippingBar.statemanagerInformationsHeader
} %}
{% endif %}
{% endblock %}
{{ parent() }}
{% endblock %}
{# Include the shipping bar bottom position #}
{% block base_footer %}
{% block zenit_shipping_bar_extends_bottom_prepend %}
{% set zenShippingBar = context.context.extensions['zenitPlatformShippingBar'].config %}
{% if zenShippingBar.active and zenShippingBar.footerBar == 'prepend' and zenShippingBar.paymentExtension == 'noextend' %}
{% sw_include '@Storefront/storefront//shipping-bar/shipping-bar.html.twig' with {
position: 'bottom',
attach: 'prepend',
statemanager: zenShippingBar.statemanagerFooter,
statemanagerBaseClass: 'd-none',
statemanagerIcons: zenShippingBar.statemanagerIconsFooter,
statemanagerInformations: zenShippingBar.statemanagerInformationsFooter
} %}
{% endif %}
{% endblock %}
{{ parent() }}
{% block zenit_shipping_bar_extends_bottom_append %}
{% set zenShippingBar = context.context.extensions['zenitPlatformShippingBar'].config %}
{% if zenShippingBar.active and zenShippingBar.footerBar == 'append' and zenShippingBar.paymentExtension == 'noextend' %}
{% sw_include '@Storefront/storefront//shipping-bar/shipping-bar.html.twig' with {
position: 'bottom',
attach: 'append',
statemanager: zenShippingBar.statemanagerFooter,
statemanagerBaseClass: 'd-none',
statemanagerIcons: zenShippingBar.statemanagerIconsFooter,
statemanagerInformations: zenShippingBar.statemanagerInformationsFooter
} %}
{% endif %}
{% endblock %}
{% endblock %}
", "@zenitPlatformShippingBar/storefront/base.html.twig", "/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/zenitPlatformShippingBar/src/Resources/views/storefront/base.html.twig");
}
}