var/cache/dev_h00a6008ac8d83daed65bb1b250bc45b1/twig/7a/7a4f61ef6a26d3cc3888a8f1769c32b4a67a36c3616c7f1658cb105b65554b9e.php line 52

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @SwagPayPal/storefront/layout/footer/footer.html.twig */
  16. class __TwigTemplate_461a0addcb2a12cbc85273c633edc8f6 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'layout_footer_payment_logos' => [$this'block_layout_footer_payment_logos'],
  26.             'layout_footer_payment_logos_paypal_installment_banner' => [$this'block_layout_footer_payment_logos_paypal_installment_banner'],
  27.             'layout_footer_payment_logos_paypal_funding_eligibility' => [$this'block_layout_footer_payment_logos_paypal_funding_eligibility'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@zenitPlatformStratus/storefront/layout/footer/footer.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagPayPal/storefront/layout/footer/footer.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagPayPal/storefront/layout/footer/footer.html.twig"));
  42.         $this->parent $this->loadTemplate("@zenitPlatformStratus/storefront/layout/footer/footer.html.twig""@SwagPayPal/storefront/layout/footer/footer.html.twig"2);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_layout_footer_payment_logos($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_footer_payment_logos"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_footer_payment_logos"));
  57.         // line 4
  58.         echo "    ";
  59.         $this->displayBlock('layout_footer_payment_logos_paypal_installment_banner'$context$blocks);
  60.         // line 15
  61.         echo "
  62.     ";
  63.         // line 16
  64.         $this->displayParentBlock("layout_footer_payment_logos"$context$blocks);
  65.         echo "
  66.     ";
  67.         // line 18
  68.         $this->displayBlock('layout_footer_payment_logos_paypal_funding_eligibility'$context$blocks);
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.     }
  74.     // line 4
  75.     public function block_layout_footer_payment_logos_paypal_installment_banner($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_footer_payment_logos_paypal_installment_banner"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_footer_payment_logos_paypal_installment_banner"));
  82.         // line 5
  83.         echo "        ";
  84.         // line 6
  85.         echo "        ";
  86.         $context["installmentBanner"] = (($__internal_compile_0 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "footer", [], "any"falsefalsefalse6), "extensions", [], "any"falsefalsefalse6)) && 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);
  87.         // line 7
  88.         echo "
  89.         ";
  90.         // line 8
  91.         if ( !(null === ($context["installmentBanner"] ?? null))) {
  92.             // line 9
  93.             echo "            <div class=\"col-4 mt-2 p-0 footer-logo is-payment\"
  94.                  data-swag-paypal-installment-banner=\"true\"
  95.                  data-swag-pay-pal-installment-banner-options=\"";
  96.             // line 11
  97.             echo sw_escape_filter($this->env$this->env->getFilter('json_encode')->getCallable()(($context["installmentBanner"] ?? null)), "html"nulltrue);
  98.             echo "\">
  99.             </div>
  100.         ";
  101.         }
  102.         // line 14
  103.         echo "    ";
  104.         
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  106.         
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  108.     }
  109.     // line 18
  110.     public function block_layout_footer_payment_logos_paypal_funding_eligibility($context, array $blocks = [])
  111.     {
  112.         $macros $this->macros;
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_footer_payment_logos_paypal_funding_eligibility"));
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_footer_payment_logos_paypal_funding_eligibility"));
  117.         // line 19
  118.         echo "        ";
  119.         // line 20
  120.         echo "        ";
  121.         $context["fundingEligibilityData"] = (($__internal_compile_1 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "footer", [], "any"falsefalsefalse20), "extensions", [], "any"falsefalsefalse20)) && 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);
  122.         // line 21
  123.         echo "
  124.         ";
  125.         // line 22
  126.         if (($context["fundingEligibilityData"] ?? null)) {
  127.             // line 23
  128.             echo "            <div data-swag-paypal-funding-eligibility=\"true\"
  129.                  data-swag-paypal-funding-eligibility-options=\"";
  130.             // line 24
  131.             echo sw_escape_filter($this->env$this->env->getFilter('json_encode')->getCallable()(($context["fundingEligibilityData"] ?? null)), "html"nulltrue);
  132.             echo "\">
  133.             </div>
  134.         ";
  135.         }
  136.         // line 27
  137.         echo "    ";
  138.         
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  140.         
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  142.     }
  143.     public function getTemplateName()
  144.     {
  145.         return "@SwagPayPal/storefront/layout/footer/footer.html.twig";
  146.     }
  147.     public function isTraitable()
  148.     {
  149.         return false;
  150.     }
  151.     public function getDebugInfo()
  152.     {
  153.         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,);
  154.     }
  155.     public function getSourceContext()
  156.     {
  157.         return new Source("{% sw_extends '@Storefront/storefront/layout/footer/footer.html.twig' %}
  158. {% block layout_footer_payment_logos %}
  159.     {% block layout_footer_payment_logos_paypal_installment_banner %}
  160.         {# @var \\Swag\\PayPal\\Installment\\Banner\\BannerData installmentBanner #}
  161.         {% set installmentBanner = page.footer.extensions[constant('Swag\\\\PayPal\\\\Installment\\\\Banner\\\\InstallmentBannerSubscriber::PAYPAL_INSTALLMENT_BANNER_DATA_EXTENSION_ID')] %}
  162.         {% if installmentBanner is not null %}
  163.             <div class=\"col-4 mt-2 p-0 footer-logo is-payment\"
  164.                  data-swag-paypal-installment-banner=\"true\"
  165.                  data-swag-pay-pal-installment-banner-options=\"{{ installmentBanner|json_encode }}\">
  166.             </div>
  167.         {% endif %}
  168.     {% endblock %}
  169.     {{ parent() }}
  170.     {% block layout_footer_payment_logos_paypal_funding_eligibility %}
  171.         {# @var \\Swag\\PayPal\\Storefront\\Data\\Struct\\FundingEligibilityData fundingEligibilityData #}
  172.         {% set fundingEligibilityData = page.footer.extensions[constant('Swag\\\\PayPal\\\\Storefront\\\\Data\\\\FundingSubscriber::FUNDING_ELIGIBILITY_EXTENSION')] %}
  173.         {% if fundingEligibilityData %}
  174.             <div data-swag-paypal-funding-eligibility=\"true\"
  175.                  data-swag-paypal-funding-eligibility-options=\"{{ fundingEligibilityData|json_encode }}\">
  176.             </div>
  177.         {% endif %}
  178.     {% endblock %}
  179. {% endblock %}
  180. ""@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");
  181.     }
  182. }