<?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;
/* @ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig */
class __TwigTemplate_77c451a5230d0d6d2445a827d6e3f7c9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'proclane_cms_block_hero_basic' => [$this, 'block_proclane_cms_block_hero_basic'],
'proclane_cms_block_hero_basic_slot_left' => [$this, 'block_proclane_cms_block_hero_basic_slot_left'],
];
}
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", "@ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig"));
// line 1
$this->displayBlock('proclane_cms_block_hero_basic', $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function block_proclane_cms_block_hero_basic($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", "proclane_cms_block_hero_basic"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "proclane_cms_block_hero_basic"));
// line 2
echo " ";
// line 3
echo " ";
$this->displayBlock('proclane_cms_block_hero_basic_slot_left', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_proclane_cms_block_hero_basic_slot_left($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", "proclane_cms_block_hero_basic_slot_left"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "proclane_cms_block_hero_basic_slot_left"));
// line 4
echo " <div class=\"cms-block-hero-basic-slot-text\" data-position-hero-basic-plugin>
";
// line 5
$context["element"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["block"] ?? null), "slots", [], "any", false, false, false, 5), "getSlot", [0 => "text"], "method", false, false, false, 5);
// line 6
echo "
";
// line 7
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find((("@Storefront/storefront/element/cms-element-" . sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "type", [], "any", false, false, false, 7)) . ".html.twig"));
return $this->loadTemplate($includeTemplate ?? null, "@ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig", 7);
})())->display(twig_array_merge($context, ["element" => // line 8
($context["element"] ?? null)]));
// line 10
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig";
}
public function getDebugInfo()
{
return array ( 103 => 10, 101 => 8, 94 => 7, 91 => 6, 89 => 5, 86 => 4, 66 => 3, 64 => 2, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{% block proclane_cms_block_hero_basic %}
{# Element => text #}
{% block proclane_cms_block_hero_basic_slot_left %}
<div class=\"cms-block-hero-basic-slot-text\" data-position-hero-basic-plugin>
{% set element = block.slots.getSlot('text') %}
{% sw_include '@Storefront/storefront/element/cms-element-' ~ element.type ~'.html.twig' with {
'element': element
} %}
</div>
{% endblock %}
{% endblock %}
", "@ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig", "/var/www/html/htdocs/custom/plugins/ProcWegmannTheme/src/Resources/views/storefront/block/cms-block-hero-basic.html.twig");
}
}