<?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;
/* @NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig */
class __TwigTemplate_84c67cdd10d24bd508eb07d57ff05c17 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'cms_block_recipe_list' => [$this, 'block_cms_block_recipe_list'],
];
}
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", "@NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig"));
// line 1
$this->displayBlock('cms_block_recipe_list', $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function block_cms_block_recipe_list($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", "cms_block_recipe_list"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_block_recipe_list"));
// line 2
echo " ";
$context["element"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["block"] ?? null), "slots", [], "any", false, false, false, 2), "getSlot", [0 => "recipeList"], "method", false, false, false, 2);
// line 3
echo "
<div class=\"col-12\" data-cms-element-id=\"";
// line 4
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "id", [], "any", false, false, false, 4), "html", null, true);
echo "\">
";
// line 5
$__internal_compile_0 = null;
try {
$__internal_compile_0 = ((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, 5)) . ".html.twig"));
return $this->loadTemplate($includeTemplate ?? null, "@NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig", 5);
})());
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_0) {
$__internal_compile_0->display($context);
}
// line 6
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig";
}
public function getDebugInfo()
{
return array ( 89 => 6, 73 => 5, 69 => 4, 66 => 3, 63 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% block cms_block_recipe_list %}
{% set element = block.slots.getSlot('recipeList') %}
<div class=\"col-12\" data-cms-element-id=\"{{ element.id }}\">
{% sw_include \"@Storefront/storefront/element/cms-element-\" ~ element.type ~ \".html.twig\" ignore missing %}
</div>
{% endblock %}
", "@NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig", "/var/customers/webs/kew/htdocs6/vendor/store.shopware.com/ndsrecipemanager/src/Resources/views/storefront/block/cms-block-recipe-list-block.html.twig");
}
}