<?php
use Twig\Environment;
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;
/* @FlixxSharingBarSW6/storefront/base.html.twig */
class __TwigTemplate_8c3011db9666e6efece267aa583f7aa7739615829160252bb899b0d525c72c8a extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_header' => [$this, 'block_base_header'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@WesioWhatsApp6/storefront/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FlixxSharingBarSW6/storefront/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FlixxSharingBarSW6/storefront/base.html.twig"));
// line 3
$context["sharingBarNetworks"] = twig_get_attribute($this->env, $this->source, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 3), "extensions", [], "any", false, false, false, 3)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["flixSharingBar"] ?? null) : null), "get", [0 => "networks"], "method", false, false, false, 3);
// line 4
$context["sharingBarConfig"] = twig_get_attribute($this->env, $this->source, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 4), "extensions", [], "any", false, false, false, 4)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["flixSharingBar"] ?? null) : null), "get", [0 => "config"], "method", false, false, false, 4);
// line 5
$context["isArticlePage"] = (($context["activeRoute"] ?? null) === "frontend.detail.page");
// line 6
$context["renderInBody"] = false;
// line 2
$this->parent = $this->loadTemplate("@WesioWhatsApp6/storefront/base.html.twig", "@FlixxSharingBarSW6/storefront/base.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 9
public function block_base_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_header"));
// line 10
echo "
";
// line 11
if ((($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["sharingBarConfig"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["flixSbArticleDetailOnly"] ?? null) : null)) {
// line 12
echo " ";
if (((($context["isArticlePage"] ?? null) && ((($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["sharingBarConfig"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["flixSbPositionArticle"] ?? null) : null) == 1)) && ((($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = // line 13
($context["sharingBarConfig"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["flixSbPosition"] ?? null) : null) != 3))) {
// line 15
echo " ";
$context["renderInBody"] = true;
// line 16
echo " ";
}
// line 17
echo " ";
} else {
// line 18
echo " ";
if (($context["isArticlePage"] ?? null)) {
// line 19
echo " ";
if ((((($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["sharingBarConfig"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["flixSbPositionArticle"] ?? null) : null) == 1) && ((($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = // line 20
($context["sharingBarConfig"] ?? null)) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e["flixSbPosition"] ?? null) : null) != 3))) {
// line 21
echo " ";
$context["renderInBody"] = true;
// line 22
echo " ";
}
// line 23
echo " ";
} else {
// line 24
echo " ";
if (((($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = ($context["sharingBarConfig"] ?? null)) && is_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52) || $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 instanceof ArrayAccess ? ($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52["flixSbPosition"] ?? null) : null) != 3)) {
// line 25
echo " ";
$context["renderInBody"] = true;
// line 26
echo " ";
}
// line 27
echo " ";
}
// line 28
echo " ";
}
// line 29
echo "
";
// line 31
if (($context["renderInBody"] ?? null)) {
// line 32
echo "
";
// line 33
$this->loadTemplate("@FlixxSharingBarSW6/storefront/flixx-sharing-bar-sw6/icons.html.twig", "@FlixxSharingBarSW6/storefront/base.html.twig", 33)->display(twig_array_merge($context, ["sharingBarNetworks" => // line 34
($context["sharingBarNetworks"] ?? null), "sharingBarConfig" => // line 35
($context["sharingBarConfig"] ?? null), "isArticlePage" => // line 36
($context["isArticlePage"] ?? null)]));
// line 39
echo " ";
}
// line 40
echo "
";
// line 41
$this->displayParentBlock("base_header", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@FlixxSharingBarSW6/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 146 => 41, 143 => 40, 140 => 39, 138 => 36, 137 => 35, 136 => 34, 135 => 33, 132 => 32, 130 => 31, 126 => 29, 123 => 28, 120 => 27, 117 => 26, 114 => 25, 111 => 24, 108 => 23, 105 => 22, 102 => 21, 100 => 20, 98 => 19, 95 => 18, 92 => 17, 89 => 16, 86 => 15, 84 => 13, 82 => 12, 80 => 11, 77 => 10, 67 => 9, 56 => 2, 54 => 6, 52 => 5, 50 => 4, 48 => 3, 35 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% set sharingBarNetworks = context.context.extensions['flixSharingBar'].get('networks') %}
{% set sharingBarConfig = context.context.extensions['flixSharingBar'].get('config') %}
{% set isArticlePage = activeRoute is same as('frontend.detail.page') %}
{% set renderInBody = false %}
{% block base_header %}
{% if sharingBarConfig['flixSbArticleDetailOnly'] %}
{% if isArticlePage and (sharingBarConfig['flixSbPositionArticle'] == 1)
and sharingBarConfig['flixSbPosition'] != 3
%}
{% set renderInBody = true %}
{% endif %}
{% else %}
{% if isArticlePage %}
{% if sharingBarConfig['flixSbPositionArticle'] == 1
and sharingBarConfig['flixSbPosition'] != 3 %}
{% set renderInBody = true %}
{% endif %}
{% else %}
{% if sharingBarConfig['flixSbPosition'] != 3 %}
{% set renderInBody = true %}
{% endif %}
{% endif %}
{% endif %}
{% if renderInBody %}
{% sw_include '@Storefront/storefront/flixx-sharing-bar-sw6/icons.html.twig' with {
sharingBarNetworks: sharingBarNetworks,
sharingBarConfig: sharingBarConfig,
isArticlePage: isArticlePage
}
%}
{% endif %}
{{ parent() }}
{% endblock %}
", "@FlixxSharingBarSW6/storefront/base.html.twig", "/home/asgsgbnt/www.asg-store.de/custom/plugins/FlixxSharingBarSW6/src/Resources/views/storefront/base.html.twig");
}
}