<?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/rcpmanager/listing/recipe-filter-panel.html.twig */
class __TwigTemplate_375d6cf01c44858f3792a01685f86130 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'component_filter_panel_header' => [$this, 'block_component_filter_panel_header'],
'component_filter_panel_element' => [$this, 'block_component_filter_panel_element'],
'component_filter_panel_items_container' => [$this, 'block_component_filter_panel_items_container'],
'component_filter_panel_item_category' => [$this, 'block_component_filter_panel_item_category'],
'component_filter_panel_item_difficulty' => [$this, 'block_component_filter_panel_item_difficulty'],
'component_filter_panel_item_tag' => [$this, 'block_component_filter_panel_item_tag'],
'component_filter_panel_item_fat' => [$this, 'block_component_filter_panel_item_fat'],
'component_filter_panel_item_energy' => [$this, 'block_component_filter_panel_item_energy'],
'component_filter_panel_item_calories' => [$this, 'block_component_filter_panel_item_calories'],
'component_filter_panel_item_protein' => [$this, 'block_component_filter_panel_item_protein'],
'component_filter_panel_item_carbohydrates' => [$this, 'block_component_filter_panel_item_carbohydrates'],
'component_filter_panel_active_container' => [$this, 'block_component_filter_panel_active_container'],
'component_filter_panel_active_container_inner' => [$this, 'block_component_filter_panel_active_container_inner'],
];
}
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/rcpmanager/listing/recipe-filter-panel.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/rcpmanager/listing/recipe-filter-panel.html.twig"));
// line 1
$this->displayBlock('component_filter_panel_header', $context, $blocks);
// line 3
echo "
";
// line 4
$this->displayBlock('component_filter_panel_element', $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 1
public function block_component_filter_panel_header($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", "component_filter_panel_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 4
public function block_component_filter_panel_element($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", "component_filter_panel_element"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_element"));
// line 5
echo " <div class=\"recipe-filter-panel filter-panel\">
";
// line 7
$this->displayBlock('component_filter_panel_items_container', $context, $blocks);
// line 158
echo "
";
// line 159
$this->displayBlock('component_filter_panel_active_container', $context, $blocks);
// line 164
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
public function block_component_filter_panel_items_container($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", "component_filter_panel_items_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_items_container"));
// line 8
echo " <div class=\"filter-panel-items-container\">
";
// line 9
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["config"] ?? null), "showType", [], "any", false, false, false, 9), "value", [], "any", false, false, false, 9) == "all")) {
// line 10
echo " ";
$this->displayBlock('component_filter_panel_item_category', $context, $blocks);
// line 25
echo " ";
}
// line 26
echo "
";
// line 27
$this->displayBlock('component_filter_panel_item_difficulty', $context, $blocks);
// line 41
echo "
";
// line 42
$this->displayBlock('component_filter_panel_item_tag', $context, $blocks);
// line 56
echo "
";
// line 57
$this->displayBlock('component_filter_panel_item_fat', $context, $blocks);
// line 76
echo "
";
// line 77
$this->displayBlock('component_filter_panel_item_energy', $context, $blocks);
// line 96
echo "
";
// line 97
$this->displayBlock('component_filter_panel_item_calories', $context, $blocks);
// line 116
echo "
";
// line 117
$this->displayBlock('component_filter_panel_item_protein', $context, $blocks);
// line 136
echo "
";
// line 137
$this->displayBlock('component_filter_panel_item_carbohydrates', $context, $blocks);
// line 156
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 10
public function block_component_filter_panel_item_category($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", "component_filter_panel_item_category"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_item_category"));
// line 11
echo " ";
$context["recipeCategories"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["listing"] ?? null), "aggregations", [], "any", false, false, false, 11), "get", [0 => "categories"], "method", false, false, false, 11);
// line 12
echo "
";
// line 13
if ( !twig_test_empty(sw_get_attribute($this->env, $this->source, ($context["recipeCategories"] ?? null), "entities", [], "any", false, false, false, 13))) {
// line 14
echo " ";
$context["recipeCategoriesSorted"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->sort(sw_get_attribute($this->env, $this->source, ($context["recipeCategories"] ?? null), "entities", [], "any", false, false, false, 14), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (twig_lower_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["a"] ?? null), "name", [], "any", false, false, false, 14)) > twig_lower_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["b"] ?? null), "name", [], "any", false, false, false, 14))); });
// line 15
echo "
";
// line 16
$this->loadTemplate("@NdsRecipeManager/rcpmanager/listing/filter/filter-multi-select.html.twig", "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig", 16)->display(twig_array_merge($context, ["pluginSelector" => "recipe-filter-multi-select", "elements" => // line 18
($context["recipeCategoriesSorted"] ?? null), "sidebar" => // line 19
($context["sidebar"] ?? null), "name" => "rcp-categories", "displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterCategoriesFilterName"))]));
// line 23
echo " ";
}
// line 24
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 27
public function block_component_filter_panel_item_difficulty($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", "component_filter_panel_item_difficulty"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_item_difficulty"));
// line 28
echo " ";
$context["difficulty"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["listing"] ?? null), "aggregations", [], "any", false, false, false, 28), "get", [0 => "difficulty"], "method", false, false, false, 28);
// line 29
echo " ";
if ( !twig_test_empty(sw_get_attribute($this->env, $this->source, ($context["difficulty"] ?? null), "entities", [], "any", false, false, false, 29))) {
// line 30
echo " ";
$context["difficultySorted"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->sort(sw_get_attribute($this->env, $this->source, ($context["difficulty"] ?? null), "entities", [], "any", false, false, false, 30), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (twig_lower_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["a"] ?? null), "name", [], "any", false, false, false, 30)) > twig_lower_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["b"] ?? null), "name", [], "any", false, false, false, 30))); });
// line 31
echo "
";
// line 32
$this->loadTemplate("@NdsRecipeManager/rcpmanager/listing/filter/filter-multi-select.html.twig", "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig", 32)->display(twig_array_merge($context, ["pluginSelector" => "recipe-filter-multi-select", "elements" => // line 34
($context["difficultySorted"] ?? null), "sidebar" => // line 35
($context["sidebar"] ?? null), "name" => "rcp-difficulty", "displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterDifficultyFilterName"))]));
// line 39
echo " ";
}
// line 40
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 42
public function block_component_filter_panel_item_tag($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", "component_filter_panel_item_tag"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_item_tag"));
// line 43
echo " ";
$context["tags"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["listing"] ?? null), "aggregations", [], "any", false, false, false, 43), "get", [0 => "tags"], "method", false, false, false, 43);
// line 44
echo " ";
if ( !twig_test_empty(sw_get_attribute($this->env, $this->source, ($context["tags"] ?? null), "entities", [], "any", false, false, false, 44))) {
// line 45
echo " ";
$context["tagsSorted"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->sort(sw_get_attribute($this->env, $this->source, ($context["tags"] ?? null), "entities", [], "any", false, false, false, 45), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (twig_lower_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["a"] ?? null), "name", [], "any", false, false, false, 45)) > twig_lower_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["b"] ?? null), "name", [], "any", false, false, false, 45))); });
// line 46
echo "
";
// line 47
$this->loadTemplate("@NdsRecipeManager/rcpmanager/listing/filter/filter-multi-select.html.twig", "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig", 47)->display(twig_array_merge($context, ["pluginSelector" => "recipe-filter-multi-select", "elements" => // line 49
($context["tagsSorted"] ?? null), "sidebar" => // line 50
($context["sidebar"] ?? null), "name" => "rcp-tags", "displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterTagsFilterName"))]));
// line 54
echo " ";
}
// line 55
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 57
public function block_component_filter_panel_item_fat($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", "component_filter_panel_item_fat"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_item_fat"));
// line 58
echo " ";
$context["fat"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["listing"] ?? null), "aggregations", [], "any", false, false, false, 58), "get", [0 => "fat"], "method", false, false, false, 58);
// line 59
echo " ";
$context["filterRangeActiveMinLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.fatMinLabel"));
// line 60
echo " ";
$context["filterRangeActiveMaxLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.fatMaxLabel"));
// line 61
echo " ";
$context["filterRangeErrorMessage"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterFatFilterError"));
// line 62
echo "
";
// line 63
if (((sw_get_attribute($this->env, $this->source, ($context["fat"] ?? null), "min", [], "any", false, false, false, 63) > 0) && (sw_get_attribute($this->env, $this->source, ($context["fat"] ?? null), "max", [], "any", false, false, false, 63) > 0))) {
// line 64
echo " ";
$this->loadTemplate("@NdsRecipeManager/rcpmanager/listing/filter/filter-range.html.twig", "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig", 64)->display(twig_array_merge($context, ["pluginSelector" => "recipe-filter-range", "fat" => // line 66
($context["fat"] ?? null), "sidebar" => // line 67
($context["sidebar"] ?? null), "name" => "rcp-fat", "minKey" => "rcp-min-fat", "maxKey" => "rcp-max-fat", "currencySymbol" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterFatFilterSymbol")), "displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterFatFilterName"))]));
// line 74
echo " ";
}
// line 75
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 77
public function block_component_filter_panel_item_energy($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", "component_filter_panel_item_energy"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_item_energy"));
// line 78
echo " ";
$context["energy"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["listing"] ?? null), "aggregations", [], "any", false, false, false, 78), "get", [0 => "energy"], "method", false, false, false, 78);
// line 79
echo " ";
$context["filterRangeActiveMinLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.energyMinLabel"));
// line 80
echo " ";
$context["filterRangeActiveMaxLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.energyMaxLabel"));
// line 81
echo " ";
$context["filterRangeErrorMessage"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterEnergyFilterError"));
// line 82
echo "
";
// line 83
if (((sw_get_attribute($this->env, $this->source, ($context["energy"] ?? null), "min", [], "any", false, false, false, 83) > 0) && (sw_get_attribute($this->env, $this->source, ($context["energy"] ?? null), "max", [], "any", false, false, false, 83) > 0))) {
// line 84
echo " ";
$this->loadTemplate("@NdsRecipeManager/rcpmanager/listing/filter/filter-range.html.twig", "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig", 84)->display(twig_array_merge($context, ["pluginSelector" => "recipe-filter-range", "energy" => // line 86
($context["energy"] ?? null), "sidebar" => // line 87
($context["sidebar"] ?? null), "name" => "rcp-energy", "minKey" => "rcp-min-energy", "maxKey" => "rcp-max-energy", "currencySymbol" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterEnergyFilterSymbol")), "displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterEnergyFilterName"))]));
// line 94
echo " ";
}
// line 95
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 97
public function block_component_filter_panel_item_calories($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", "component_filter_panel_item_calories"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_item_calories"));
// line 98
echo " ";
$context["calories"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["listing"] ?? null), "aggregations", [], "any", false, false, false, 98), "get", [0 => "calories"], "method", false, false, false, 98);
// line 99
echo " ";
$context["filterRangeActiveMinLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.caloriesMinLabel"));
// line 100
echo " ";
$context["filterRangeActiveMaxLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.caloriesMaxLabel"));
// line 101
echo " ";
$context["filterRangeErrorMessage"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterCaloriesFilterError"));
// line 102
echo "
";
// line 103
if (((sw_get_attribute($this->env, $this->source, ($context["calories"] ?? null), "min", [], "any", false, false, false, 103) > 0) && (sw_get_attribute($this->env, $this->source, ($context["calories"] ?? null), "max", [], "any", false, false, false, 103) > 0))) {
// line 104
echo " ";
$this->loadTemplate("@NdsRecipeManager/rcpmanager/listing/filter/filter-range.html.twig", "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig", 104)->display(twig_array_merge($context, ["pluginSelector" => "recipe-filter-range", "calories" => // line 106
($context["calories"] ?? null), "sidebar" => // line 107
($context["sidebar"] ?? null), "name" => "rcp-calories", "minKey" => "rcp-min-calories", "maxKey" => "rcp-max-calories", "currencySymbol" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterCaloriesFilterSymbol")), "displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterCaloriesFilterName"))]));
// line 114
echo " ";
}
// line 115
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 117
public function block_component_filter_panel_item_protein($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", "component_filter_panel_item_protein"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_item_protein"));
// line 118
echo " ";
$context["protein"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["listing"] ?? null), "aggregations", [], "any", false, false, false, 118), "get", [0 => "protein"], "method", false, false, false, 118);
// line 119
echo " ";
$context["filterRangeActiveMinLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.proteinMinLabel"));
// line 120
echo " ";
$context["filterRangeActiveMaxLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.proteinMaxLabel"));
// line 121
echo " ";
$context["filterRangeErrorMessage"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterProteinFilterError"));
// line 122
echo "
";
// line 123
if (((sw_get_attribute($this->env, $this->source, ($context["protein"] ?? null), "min", [], "any", false, false, false, 123) > 0) && (sw_get_attribute($this->env, $this->source, ($context["protein"] ?? null), "max", [], "any", false, false, false, 123) > 0))) {
// line 124
echo " ";
$this->loadTemplate("@NdsRecipeManager/rcpmanager/listing/filter/filter-range.html.twig", "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig", 124)->display(twig_array_merge($context, ["pluginSelector" => "recipe-filter-range", "protein" => // line 126
($context["protein"] ?? null), "sidebar" => // line 127
($context["sidebar"] ?? null), "name" => "rcp-protein", "minKey" => "rcp-min-protein", "maxKey" => "rcp-max-protein", "currencySymbol" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterProteinFilterSymbol")), "displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterProteinFilterName"))]));
// line 134
echo " ";
}
// line 135
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 137
public function block_component_filter_panel_item_carbohydrates($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", "component_filter_panel_item_carbohydrates"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_item_carbohydrates"));
// line 138
echo " ";
$context["carbohydrates"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["listing"] ?? null), "aggregations", [], "any", false, false, false, 138), "get", [0 => "carbohydrates"], "method", false, false, false, 138);
// line 139
echo " ";
$context["filterRangeActiveMinLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.carbohydratesMinLabel"));
// line 140
echo " ";
$context["filterRangeActiveMaxLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.carbohydratesMaxLabel"));
// line 141
echo " ";
$context["filterRangeErrorMessage"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterCarbohydratesFilterError"));
// line 142
echo "
";
// line 143
if (((sw_get_attribute($this->env, $this->source, ($context["carbohydrates"] ?? null), "min", [], "any", false, false, false, 143) > 0) && (sw_get_attribute($this->env, $this->source, ($context["carbohydrates"] ?? null), "max", [], "any", false, false, false, 143) > 0))) {
// line 144
echo " ";
$this->loadTemplate("@NdsRecipeManager/rcpmanager/listing/filter/filter-range.html.twig", "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig", 144)->display(twig_array_merge($context, ["pluginSelector" => "recipe-filter-range", "carbohydrates" => // line 146
($context["carbohydrates"] ?? null), "sidebar" => // line 147
($context["sidebar"] ?? null), "name" => "rcp-carbohydrates", "minKey" => "rcp-min-carbohydrates", "maxKey" => "rcp-max-carbohydrates", "currencySymbol" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterCarbohydratesFilterSymbol")), "displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterCarbohydratesFilterName"))]));
// line 154
echo " ";
}
// line 155
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 159
public function block_component_filter_panel_active_container($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", "component_filter_panel_active_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_active_container"));
// line 160
echo " <div class=\"recipe-filter-panel-active-container\">
";
// line 161
$this->displayBlock('component_filter_panel_active_container_inner', $context, $blocks);
// line 162
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 161
public function block_component_filter_panel_active_container_inner($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", "component_filter_panel_active_container_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_filter_panel_active_container_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig";
}
public function getDebugInfo()
{
return array ( 558 => 161, 547 => 162, 545 => 161, 542 => 160, 532 => 159, 522 => 155, 519 => 154, 517 => 147, 516 => 146, 514 => 144, 512 => 143, 509 => 142, 506 => 141, 503 => 140, 500 => 139, 497 => 138, 487 => 137, 477 => 135, 474 => 134, 472 => 127, 471 => 126, 469 => 124, 467 => 123, 464 => 122, 461 => 121, 458 => 120, 455 => 119, 452 => 118, 442 => 117, 432 => 115, 429 => 114, 427 => 107, 426 => 106, 424 => 104, 422 => 103, 419 => 102, 416 => 101, 413 => 100, 410 => 99, 407 => 98, 397 => 97, 387 => 95, 384 => 94, 382 => 87, 381 => 86, 379 => 84, 377 => 83, 374 => 82, 371 => 81, 368 => 80, 365 => 79, 362 => 78, 352 => 77, 342 => 75, 339 => 74, 337 => 67, 336 => 66, 334 => 64, 332 => 63, 329 => 62, 326 => 61, 323 => 60, 320 => 59, 317 => 58, 307 => 57, 297 => 55, 294 => 54, 292 => 50, 291 => 49, 290 => 47, 287 => 46, 284 => 45, 281 => 44, 278 => 43, 268 => 42, 258 => 40, 255 => 39, 253 => 35, 252 => 34, 251 => 32, 248 => 31, 245 => 30, 242 => 29, 239 => 28, 229 => 27, 219 => 24, 216 => 23, 214 => 19, 213 => 18, 212 => 16, 209 => 15, 206 => 14, 204 => 13, 201 => 12, 198 => 11, 188 => 10, 177 => 156, 175 => 137, 172 => 136, 170 => 117, 167 => 116, 165 => 97, 162 => 96, 160 => 77, 157 => 76, 155 => 57, 152 => 56, 150 => 42, 147 => 41, 145 => 27, 142 => 26, 139 => 25, 136 => 10, 134 => 9, 131 => 8, 121 => 7, 110 => 164, 108 => 159, 105 => 158, 103 => 7, 99 => 5, 89 => 4, 71 => 1, 61 => 4, 58 => 3, 56 => 1,);
}
public function getSourceContext()
{
return new Source("{% block component_filter_panel_header %}
{% endblock %}
{% block component_filter_panel_element %}
<div class=\"recipe-filter-panel filter-panel\">
{% block component_filter_panel_items_container %}
<div class=\"filter-panel-items-container\">
{% if config.showType.value == 'all' %}
{% block component_filter_panel_item_category %}
{% set recipeCategories = listing.aggregations.get('categories') %}
{% if not recipeCategories.entities is empty %}
{% set recipeCategoriesSorted = recipeCategories.entities|sort((a, b) => a.name|lower > b.name|lower) %}
{% sw_include '@Storefront/rcpmanager/listing/filter/filter-multi-select.html.twig' with {
pluginSelector: 'recipe-filter-multi-select',
elements: recipeCategoriesSorted,
sidebar: sidebar,
name: 'rcp-categories',
displayName: 'recipe-manager.listing.filterCategoriesFilterName'|trans|sw_sanitize,
} %}
{% endif %}
{% endblock %}
{% endif %}
{% block component_filter_panel_item_difficulty %}
{% set difficulty = listing.aggregations.get('difficulty') %}
{% if not difficulty.entities is empty %}
{% set difficultySorted = difficulty.entities|sort((a, b) => a.name|lower > b.name|lower) %}
{% sw_include '@Storefront/rcpmanager/listing/filter/filter-multi-select.html.twig' with {
pluginSelector: 'recipe-filter-multi-select',
elements: difficultySorted,
sidebar: sidebar,
name: 'rcp-difficulty',
displayName: 'recipe-manager.listing.filterDifficultyFilterName'|trans|sw_sanitize
} %}
{% endif %}
{% endblock %}
{% block component_filter_panel_item_tag %}
{% set tags = listing.aggregations.get('tags') %}
{% if not tags.entities is empty %}
{% set tagsSorted = tags.entities|sort((a, b) => a.name|lower > b.name|lower) %}
{% sw_include '@Storefront/rcpmanager/listing/filter/filter-multi-select.html.twig' with {
pluginSelector: 'recipe-filter-multi-select',
elements: tagsSorted,
sidebar: sidebar,
name: 'rcp-tags',
displayName: 'recipe-manager.listing.filterTagsFilterName'|trans|sw_sanitize
} %}
{% endif %}
{% endblock %}
{% block component_filter_panel_item_fat %}
{% set fat = listing.aggregations.get('fat') %}
{% set filterRangeActiveMinLabel = 'recipe-manager.listing.fatMinLabel'|trans|sw_sanitize %}
{% set filterRangeActiveMaxLabel = 'recipe-manager.listing.fatMaxLabel'|trans|sw_sanitize %}
{% set filterRangeErrorMessage = 'recipe-manager.listing.filterFatFilterError'|trans|sw_sanitize %}
{% if fat.min > 0 and fat.max > 0 %}
{% sw_include '@Storefront/rcpmanager/listing/filter/filter-range.html.twig' with {
pluginSelector: 'recipe-filter-range',
fat: fat,
sidebar: sidebar,
name: 'rcp-fat',
minKey: 'rcp-min-fat',
maxKey: 'rcp-max-fat',
currencySymbol: 'recipe-manager.listing.filterFatFilterSymbol'|trans|sw_sanitize,
displayName: 'recipe-manager.listing.filterFatFilterName'|trans|sw_sanitize,
} %}
{% endif %}
{% endblock %}
{% block component_filter_panel_item_energy %}
{% set energy = listing.aggregations.get('energy') %}
{% set filterRangeActiveMinLabel = 'recipe-manager.listing.energyMinLabel'|trans|sw_sanitize %}
{% set filterRangeActiveMaxLabel = 'recipe-manager.listing.energyMaxLabel'|trans|sw_sanitize %}
{% set filterRangeErrorMessage = 'recipe-manager.listing.filterEnergyFilterError'|trans|sw_sanitize %}
{% if energy.min > 0 and energy.max > 0 %}
{% sw_include '@Storefront/rcpmanager/listing/filter/filter-range.html.twig' with {
pluginSelector: 'recipe-filter-range',
energy: energy,
sidebar: sidebar,
name: 'rcp-energy',
minKey: 'rcp-min-energy',
maxKey: 'rcp-max-energy',
currencySymbol: 'recipe-manager.listing.filterEnergyFilterSymbol'|trans|sw_sanitize,
displayName: 'recipe-manager.listing.filterEnergyFilterName'|trans|sw_sanitize,
} %}
{% endif %}
{% endblock %}
{% block component_filter_panel_item_calories %}
{% set calories = listing.aggregations.get('calories') %}
{% set filterRangeActiveMinLabel = 'recipe-manager.listing.caloriesMinLabel'|trans|sw_sanitize %}
{% set filterRangeActiveMaxLabel = 'recipe-manager.listing.caloriesMaxLabel'|trans|sw_sanitize %}
{% set filterRangeErrorMessage = 'recipe-manager.listing.filterCaloriesFilterError'|trans|sw_sanitize %}
{% if calories.min > 0 and calories.max > 0 %}
{% sw_include '@Storefront/rcpmanager/listing/filter/filter-range.html.twig' with {
pluginSelector: 'recipe-filter-range',
calories: calories,
sidebar: sidebar,
name: 'rcp-calories',
minKey: 'rcp-min-calories',
maxKey: 'rcp-max-calories',
currencySymbol: 'recipe-manager.listing.filterCaloriesFilterSymbol'|trans|sw_sanitize,
displayName: 'recipe-manager.listing.filterCaloriesFilterName'|trans|sw_sanitize,
} %}
{% endif %}
{% endblock %}
{% block component_filter_panel_item_protein %}
{% set protein = listing.aggregations.get('protein') %}
{% set filterRangeActiveMinLabel = 'recipe-manager.listing.proteinMinLabel'|trans|sw_sanitize %}
{% set filterRangeActiveMaxLabel = 'recipe-manager.listing.proteinMaxLabel'|trans|sw_sanitize %}
{% set filterRangeErrorMessage = 'recipe-manager.listing.filterProteinFilterError'|trans|sw_sanitize %}
{% if protein.min > 0 and protein.max > 0 %}
{% sw_include '@Storefront/rcpmanager/listing/filter/filter-range.html.twig' with {
pluginSelector: 'recipe-filter-range',
protein: protein,
sidebar: sidebar,
name: 'rcp-protein',
minKey: 'rcp-min-protein',
maxKey: 'rcp-max-protein',
currencySymbol: 'recipe-manager.listing.filterProteinFilterSymbol'|trans|sw_sanitize,
displayName: 'recipe-manager.listing.filterProteinFilterName'|trans|sw_sanitize,
} %}
{% endif %}
{% endblock %}
{% block component_filter_panel_item_carbohydrates %}
{% set carbohydrates = listing.aggregations.get('carbohydrates') %}
{% set filterRangeActiveMinLabel = 'recipe-manager.listing.carbohydratesMinLabel'|trans|sw_sanitize %}
{% set filterRangeActiveMaxLabel = 'recipe-manager.listing.carbohydratesMaxLabel'|trans|sw_sanitize %}
{% set filterRangeErrorMessage = 'recipe-manager.listing.filterCarbohydratesFilterError'|trans|sw_sanitize %}
{% if carbohydrates.min > 0 and carbohydrates.max > 0 %}
{% sw_include '@Storefront/rcpmanager/listing/filter/filter-range.html.twig' with {
pluginSelector: 'recipe-filter-range',
carbohydrates: carbohydrates,
sidebar: sidebar,
name: 'rcp-carbohydrates',
minKey: 'rcp-min-carbohydrates',
maxKey: 'rcp-max-carbohydrates',
currencySymbol: 'recipe-manager.listing.filterCarbohydratesFilterSymbol'|trans|sw_sanitize,
displayName: 'recipe-manager.listing.filterCarbohydratesFilterName'|trans|sw_sanitize,
} %}
{% endif %}
{% endblock %}
</div>
{% endblock %}
{% block component_filter_panel_active_container %}
<div class=\"recipe-filter-panel-active-container\">
{% block component_filter_panel_active_container_inner %}{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
", "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig", "/var/customers/webs/kew/htdocs6/vendor/store.shopware.com/ndsrecipemanager/src/Resources/views/rcpmanager/listing/recipe-filter-panel.html.twig");
}
}