<?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;
/* @SwagPayPal/storefront/layout/footer/footer.html.twig */
class __TwigTemplate_461a0addcb2a12cbc85273c633edc8f6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'layout_footer_payment_logos' => [$this, 'block_layout_footer_payment_logos'],
'layout_footer_payment_logos_paypal_installment_banner' => [$this, 'block_layout_footer_payment_logos_paypal_installment_banner'],
'layout_footer_payment_logos_paypal_funding_eligibility' => [$this, 'block_layout_footer_payment_logos_paypal_funding_eligibility'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@zenitPlatformStratus/storefront/layout/footer/footer.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SwagPayPal/storefront/layout/footer/footer.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SwagPayPal/storefront/layout/footer/footer.html.twig"));
$this->parent = $this->loadTemplate("@zenitPlatformStratus/storefront/layout/footer/footer.html.twig", "@SwagPayPal/storefront/layout/footer/footer.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_layout_footer_payment_logos($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_footer_payment_logos"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_footer_payment_logos"));
// line 4
echo " ";
$this->displayBlock('layout_footer_payment_logos_paypal_installment_banner', $context, $blocks);
// line 15
echo "
";
// line 16
$this->displayParentBlock("layout_footer_payment_logos", $context, $blocks);
echo "
";
// line 18
$this->displayBlock('layout_footer_payment_logos_paypal_funding_eligibility', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 4
public function block_layout_footer_payment_logos_paypal_installment_banner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_footer_payment_logos_paypal_installment_banner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_footer_payment_logos_paypal_installment_banner"));
// line 5
echo " ";
// line 6
echo " ";
$context["installmentBanner"] = (($__internal_compile_0 = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, false, 6), "extensions", [], "any", false, false, false, 6)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_constant("Swag\\PayPal\\Installment\\Banner\\InstallmentBannerSubscriber::PAYPAL_INSTALLMENT_BANNER_DATA_EXTENSION_ID")] ?? null) : null);
// line 7
echo "
";
// line 8
if ( !(null === ($context["installmentBanner"] ?? null))) {
// line 9
echo " <div class=\"col-4 mt-2 p-0 footer-logo is-payment\"
data-swag-paypal-installment-banner=\"true\"
data-swag-pay-pal-installment-banner-options=\"";
// line 11
echo sw_escape_filter($this->env, $this->env->getFilter('json_encode')->getCallable()(($context["installmentBanner"] ?? null)), "html", null, true);
echo "\">
</div>
";
}
// line 14
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 18
public function block_layout_footer_payment_logos_paypal_funding_eligibility($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_footer_payment_logos_paypal_funding_eligibility"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_footer_payment_logos_paypal_funding_eligibility"));
// line 19
echo " ";
// line 20
echo " ";
$context["fundingEligibilityData"] = (($__internal_compile_1 = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, false, 20), "extensions", [], "any", false, false, false, 20)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[twig_constant("Swag\\PayPal\\Storefront\\Data\\FundingSubscriber::FUNDING_ELIGIBILITY_EXTENSION")] ?? null) : null);
// line 21
echo "
";
// line 22
if (($context["fundingEligibilityData"] ?? null)) {
// line 23
echo " <div data-swag-paypal-funding-eligibility=\"true\"
data-swag-paypal-funding-eligibility-options=\"";
// line 24
echo sw_escape_filter($this->env, $this->env->getFilter('json_encode')->getCallable()(($context["fundingEligibilityData"] ?? null)), "html", null, true);
echo "\">
</div>
";
}
// line 27
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@SwagPayPal/storefront/layout/footer/footer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 160 => 27, 154 => 24, 151 => 23, 149 => 22, 146 => 21, 143 => 20, 141 => 19, 131 => 18, 121 => 14, 115 => 11, 111 => 9, 109 => 8, 106 => 7, 103 => 6, 101 => 5, 91 => 4, 81 => 18, 76 => 16, 73 => 15, 70 => 4, 60 => 3, 37 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/layout/footer/footer.html.twig' %}
{% block layout_footer_payment_logos %}
{% block layout_footer_payment_logos_paypal_installment_banner %}
{# @var \\Swag\\PayPal\\Installment\\Banner\\BannerData installmentBanner #}
{% set installmentBanner = page.footer.extensions[constant('Swag\\\\PayPal\\\\Installment\\\\Banner\\\\InstallmentBannerSubscriber::PAYPAL_INSTALLMENT_BANNER_DATA_EXTENSION_ID')] %}
{% if installmentBanner is not null %}
<div class=\"col-4 mt-2 p-0 footer-logo is-payment\"
data-swag-paypal-installment-banner=\"true\"
data-swag-pay-pal-installment-banner-options=\"{{ installmentBanner|json_encode }}\">
</div>
{% endif %}
{% endblock %}
{{ parent() }}
{% block layout_footer_payment_logos_paypal_funding_eligibility %}
{# @var \\Swag\\PayPal\\Storefront\\Data\\Struct\\FundingEligibilityData fundingEligibilityData #}
{% set fundingEligibilityData = page.footer.extensions[constant('Swag\\\\PayPal\\\\Storefront\\\\Data\\\\FundingSubscriber::FUNDING_ELIGIBILITY_EXTENSION')] %}
{% if fundingEligibilityData %}
<div data-swag-paypal-funding-eligibility=\"true\"
data-swag-paypal-funding-eligibility-options=\"{{ fundingEligibilityData|json_encode }}\">
</div>
{% endif %}
{% endblock %}
{% endblock %}
", "@SwagPayPal/storefront/layout/footer/footer.html.twig", "/var/www/dev.artecon.426.agency/custom/plugins/SwagPayPal/src/Resources/views/storefront/layout/footer/footer.html.twig");
}
}