var/cache/dev_ha6cdf01c8a14124e315e8ec5e6f48dc2/twig/c1/c16e5ab24e4dc8da1b7dc211963e33ea3e0004cbd8d61e4efe9619ae95bc2363.php line 40

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/meta.html.twig */
  16. class __TwigTemplate_001af06d9a73e217044dcd28b8395bffb710f7f5adc977e7da27dbfdc9aa46bc 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_head_javascript_hmr_mode' => [$this'block_layout_head_javascript_hmr_mode'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@SasBlogModule/storefront/layout/meta.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagPayPal/storefront/layout/meta.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagPayPal/storefront/layout/meta.html.twig"));
  40.         $this->parent $this->loadTemplate("@SasBlogModule/storefront/layout/meta.html.twig""@SwagPayPal/storefront/layout/meta.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_layout_head_javascript_hmr_mode($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_javascript_hmr_mode"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_javascript_hmr_mode"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("layout_head_javascript_hmr_mode"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 6
  61.         if ((($__internal_compile_0 sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "extensions", [], "any"falsefalsefalse6)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_constant("Swag\\PayPal\\Checkout\\Plus\\PlusSubscriber::PAYPAL_PLUS_DATA_EXTENSION_ID")] ?? null) : null)) {
  62.             // line 7
  63.             echo "        <script src=\"https://www.paypalobjects.com/webstatic/ppplus/ppplus.min.js\"></script>
  64.     ";
  65.         }
  66.         
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  68.         
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  70.     }
  71.     public function getTemplateName()
  72.     {
  73.         return "@SwagPayPal/storefront/layout/meta.html.twig";
  74.     }
  75.     public function isTraitable()
  76.     {
  77.         return false;
  78.     }
  79.     public function getDebugInfo()
  80.     {
  81.         return array (  76 => 7,  74 => 6,  68 => 4,  58 => 3,  35 => 2,);
  82.     }
  83.     public function getSourceContext()
  84.     {
  85.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  86. {% block layout_head_javascript_hmr_mode %}
  87.     {{ parent() }}
  88.     {% if page.extensions[constant('Swag\\\\PayPal\\\\Checkout\\\\Plus\\\\PlusSubscriber::PAYPAL_PLUS_DATA_EXTENSION_ID')] %}
  89.         <script src=\"https://www.paypalobjects.com/webstatic/ppplus/ppplus.min.js\"></script>
  90.     {% endif %}
  91. {% endblock %}
  92. ""@SwagPayPal/storefront/layout/meta.html.twig""/var/customers/webs/youksakka/htdocs/custom/plugins/SwagPayPal/src/Resources/views/storefront/layout/meta.html.twig");
  93.     }
  94. }