var/cache/dev_h470ebe8d8ccd12942d9662afa697ffe9/twig/a5/a516de76b07622430ebd061b13112fab5f9b3c7a5926d24037d6c166c2962cab.php line 51

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. /* @DIScoGA4/storefront/base.html.twig */
  16. class __TwigTemplate_f3515e303d951f1a73f1342b691e428d 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.             'base_noscript' => [$this'block_base_noscript'],
  26.             'disco_base_noscript' => [$this'block_disco_base_noscript'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@FourtwosixPhoneValidation/storefront/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DIScoGA4/storefront/base.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DIScoGA4/storefront/base.html.twig"));
  41.         $this->parent $this->loadTemplate("@FourtwosixPhoneValidation/storefront/base.html.twig""@DIScoGA4/storefront/base.html.twig"2);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_base_noscript($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_noscript"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_noscript"));
  56.         // line 4
  57.         echo "    ";
  58.         $this->displayBlock('disco_base_noscript'$context$blocks);
  59.         // line 14
  60.         echo "
  61.     ";
  62.         // line 15
  63.         $this->displayParentBlock("base_noscript"$context$blocks);
  64.         echo "
  65. ";
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     // line 4
  72.     public function block_disco_base_noscript($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""disco_base_noscript"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""disco_base_noscript"));
  79.         // line 5
  80.         echo "
  81.         ";
  82.         // line 6
  83.         if ((($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"DIScoGA4.config.googleTagId") && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"DIScoGA4.config.googleTagEnabled")) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse6), "cookies", [], "any"falsefalsefalse6), "has", [=> "_dis_gtag"], "method"falsefalsefalse6))) {
  84.             // line 7
  85.             echo "            <!-- Google Tag Manager (noscript) - DisGA4 -->
  86.             <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
  87.             // line 8
  88.             echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"DIScoGA4.config.googleTagId");
  89.             echo "\"
  90.                         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\" title=\"googletagmanager\"></iframe></noscript>
  91.             <!-- End Google Tag Manager (noscript) - DisGA4 -->
  92.         ";
  93.         }
  94.         // line 12
  95.         echo "
  96.     ";
  97.         
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  99.         
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  101.     }
  102.     public function getTemplateName()
  103.     {
  104.         return "@DIScoGA4/storefront/base.html.twig";
  105.     }
  106.     public function isTraitable()
  107.     {
  108.         return false;
  109.     }
  110.     public function getDebugInfo()
  111.     {
  112.         return array (  112 => 12,  105 => 8,  102 => 7,  100 => 6,  97 => 5,  87 => 4,  75 => 15,  72 => 14,  69 => 4,  59 => 3,  36 => 2,);
  113.     }
  114.     public function getSourceContext()
  115.     {
  116.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  117. {% block base_noscript %}
  118.     {% block disco_base_noscript %}
  119.         {% if config('DIScoGA4.config.googleTagId') and config('DIScoGA4.config.googleTagEnabled') and app.request.cookies.has('_dis_gtag')%}
  120.             <!-- Google Tag Manager (noscript) - DisGA4 -->
  121.             <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ config('DIScoGA4.config.googleTagId')|raw }}\"
  122.                         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\" title=\"googletagmanager\"></iframe></noscript>
  123.             <!-- End Google Tag Manager (noscript) - DisGA4 -->
  124.         {% endif %}
  125.     {% endblock %}
  126.     {{ parent() }}
  127. {% endblock %}
  128. ""@DIScoGA4/storefront/base.html.twig""/var/www/dev.artecon.426.agency/custom/plugins/DIScoGA4/src/Resources/views/storefront/base.html.twig");
  129.     }
  130. }