<?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;
/* @DIScoGA4/storefront/base.html.twig */
class __TwigTemplate_543a180a7c97553801e724037ba799a0 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_noscript' => [$this, 'block_base_noscript'],
'disco_base_noscript' => [$this, 'block_disco_base_noscript'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@FourtwosixPhoneValidation/storefront/base.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", "@DIScoGA4/storefront/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@DIScoGA4/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@FourtwosixPhoneValidation/storefront/base.html.twig", "@DIScoGA4/storefront/base.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_base_noscript($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", "base_noscript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_noscript"));
// line 4
echo " ";
$this->displayBlock('disco_base_noscript', $context, $blocks);
// line 14
echo "
";
// line 15
$this->displayParentBlock("base_noscript", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 4
public function block_disco_base_noscript($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", "disco_base_noscript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "disco_base_noscript"));
// line 5
echo "
";
// line 6
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->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 6), "cookies", [], "any", false, false, false, 6), "has", [0 => "_dis_gtag"], "method", false, false, false, 6))) {
// line 7
echo " <!-- Google Tag Manager (noscript) - DisGA4 -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
// line 8
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "DIScoGA4.config.googleTagId");
echo "\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\" title=\"googletagmanager\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) - DisGA4 -->
";
}
// line 12
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@DIScoGA4/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 112 => 12, 105 => 8, 102 => 7, 100 => 6, 97 => 5, 87 => 4, 75 => 15, 72 => 14, 69 => 4, 59 => 3, 36 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_noscript %}
{% block disco_base_noscript %}
{% if config('DIScoGA4.config.googleTagId') and config('DIScoGA4.config.googleTagEnabled') and app.request.cookies.has('_dis_gtag')%}
<!-- Google Tag Manager (noscript) - DisGA4 -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ config('DIScoGA4.config.googleTagId')|raw }}\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\" title=\"googletagmanager\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) - DisGA4 -->
{% endif %}
{% endblock %}
{{ parent() }}
{% endblock %}
", "@DIScoGA4/storefront/base.html.twig", "/var/www/dev.artecon.426.agency/custom/plugins/DIScoGA4/src/Resources/views/storefront/base.html.twig");
}
}