var/cache/dev_h35c9e4fa64367e5a564f83803cfdec08/twig/f1/f10f473d840ac6932b8833d76472f9d2a7dafba0e8c3419ee5aca5437939041a.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig */
  16. class __TwigTemplate_375d6cf01c44858f3792a01685f86130 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->parent false;
  25.         $this->blocks = [
  26.             'component_filter_panel_header' => [$this'block_component_filter_panel_header'],
  27.             'component_filter_panel_element' => [$this'block_component_filter_panel_element'],
  28.             'component_filter_panel_items_container' => [$this'block_component_filter_panel_items_container'],
  29.             'component_filter_panel_item_category' => [$this'block_component_filter_panel_item_category'],
  30.             'component_filter_panel_item_difficulty' => [$this'block_component_filter_panel_item_difficulty'],
  31.             'component_filter_panel_item_tag' => [$this'block_component_filter_panel_item_tag'],
  32.             'component_filter_panel_item_fat' => [$this'block_component_filter_panel_item_fat'],
  33.             'component_filter_panel_item_energy' => [$this'block_component_filter_panel_item_energy'],
  34.             'component_filter_panel_item_calories' => [$this'block_component_filter_panel_item_calories'],
  35.             'component_filter_panel_item_protein' => [$this'block_component_filter_panel_item_protein'],
  36.             'component_filter_panel_item_carbohydrates' => [$this'block_component_filter_panel_item_carbohydrates'],
  37.             'component_filter_panel_active_container' => [$this'block_component_filter_panel_active_container'],
  38.             'component_filter_panel_active_container_inner' => [$this'block_component_filter_panel_active_container_inner'],
  39.         ];
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = [])
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig"));
  48.         // line 1
  49.         $this->displayBlock('component_filter_panel_header'$context$blocks);
  50.         // line 3
  51.         echo "
  52. ";
  53.         // line 4
  54.         $this->displayBlock('component_filter_panel_element'$context$blocks);
  55.         
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.     }
  60.     // line 1
  61.     public function block_component_filter_panel_header($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_header"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_header"));
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.     }
  73.     // line 4
  74.     public function block_component_filter_panel_element($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_element"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_element"));
  81.         // line 5
  82.         echo "    <div class=\"recipe-filter-panel filter-panel\">
  83.         ";
  84.         // line 7
  85.         $this->displayBlock('component_filter_panel_items_container'$context$blocks);
  86.         // line 158
  87.         echo "
  88.         ";
  89.         // line 159
  90.         $this->displayBlock('component_filter_panel_active_container'$context$blocks);
  91.         // line 164
  92.         echo "    </div>
  93. ";
  94.         
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  96.         
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98.     }
  99.     // line 7
  100.     public function block_component_filter_panel_items_container($context, array $blocks = [])
  101.     {
  102.         $macros $this->macros;
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_items_container"));
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_items_container"));
  107.         // line 8
  108.         echo "            <div class=\"filter-panel-items-container\">
  109.                 ";
  110.         // line 9
  111.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["config"] ?? null), "showType", [], "any"falsefalsefalse9), "value", [], "any"falsefalsefalse9) == "all")) {
  112.             // line 10
  113.             echo "                    ";
  114.             $this->displayBlock('component_filter_panel_item_category'$context$blocks);
  115.             // line 25
  116.             echo "                ";
  117.         }
  118.         // line 26
  119.         echo "
  120.                 ";
  121.         // line 27
  122.         $this->displayBlock('component_filter_panel_item_difficulty'$context$blocks);
  123.         // line 41
  124.         echo "
  125.                 ";
  126.         // line 42
  127.         $this->displayBlock('component_filter_panel_item_tag'$context$blocks);
  128.         // line 56
  129.         echo "
  130.                 ";
  131.         // line 57
  132.         $this->displayBlock('component_filter_panel_item_fat'$context$blocks);
  133.         // line 76
  134.         echo "
  135.                 ";
  136.         // line 77
  137.         $this->displayBlock('component_filter_panel_item_energy'$context$blocks);
  138.         // line 96
  139.         echo "
  140.                 ";
  141.         // line 97
  142.         $this->displayBlock('component_filter_panel_item_calories'$context$blocks);
  143.         // line 116
  144.         echo "
  145.                 ";
  146.         // line 117
  147.         $this->displayBlock('component_filter_panel_item_protein'$context$blocks);
  148.         // line 136
  149.         echo "
  150.                 ";
  151.         // line 137
  152.         $this->displayBlock('component_filter_panel_item_carbohydrates'$context$blocks);
  153.         // line 156
  154.         echo "            </div>
  155.         ";
  156.         
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  158.         
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  160.     }
  161.     // line 10
  162.     public function block_component_filter_panel_item_category($context, array $blocks = [])
  163.     {
  164.         $macros $this->macros;
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_category"));
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_category"));
  169.         // line 11
  170.         echo "                        ";
  171.         $context["recipeCategories"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse11), "get", [=> "categories"], "method"falsefalsefalse11);
  172.         // line 12
  173.         echo "
  174.                         ";
  175.         // line 13
  176.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["recipeCategories"] ?? null), "entities", [], "any"falsefalsefalse13))) {
  177.             // line 14
  178.             echo "                            ";
  179.             $context["recipeCategoriesSorted"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->sort(sw_get_attribute($this->env$this->source, ($context["recipeCategories"] ?? null), "entities", [], "any"falsefalsefalse14), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_lower_filter($this->envsw_get_attribute($this->env$this->source, ($context["a"] ?? null), "name", [], "any"falsefalsefalse14)) > twig_lower_filter($this->envsw_get_attribute($this->env$this->source, ($context["b"] ?? null), "name", [], "any"falsefalsefalse14))); });
  180.             // line 15
  181.             echo "
  182.                             ";
  183.             // line 16
  184.             $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
  185. ($context["recipeCategoriesSorted"] ?? null), "sidebar" =>             // line 19
  186. ($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"))]));
  187.             // line 23
  188.             echo "                        ";
  189.         }
  190.         // line 24
  191.         echo "                    ";
  192.         
  193.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  194.         
  195.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  196.     }
  197.     // line 27
  198.     public function block_component_filter_panel_item_difficulty($context, array $blocks = [])
  199.     {
  200.         $macros $this->macros;
  201.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  202.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_difficulty"));
  203.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  204.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_difficulty"));
  205.         // line 28
  206.         echo "                    ";
  207.         $context["difficulty"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse28), "get", [=> "difficulty"], "method"falsefalsefalse28);
  208.         // line 29
  209.         echo "                    ";
  210.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["difficulty"] ?? null), "entities", [], "any"falsefalsefalse29))) {
  211.             // line 30
  212.             echo "                        ";
  213.             $context["difficultySorted"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->sort(sw_get_attribute($this->env$this->source, ($context["difficulty"] ?? null), "entities", [], "any"falsefalsefalse30), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_lower_filter($this->envsw_get_attribute($this->env$this->source, ($context["a"] ?? null), "name", [], "any"falsefalsefalse30)) > twig_lower_filter($this->envsw_get_attribute($this->env$this->source, ($context["b"] ?? null), "name", [], "any"falsefalsefalse30))); });
  214.             // line 31
  215.             echo "
  216.                         ";
  217.             // line 32
  218.             $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
  219. ($context["difficultySorted"] ?? null), "sidebar" =>             // line 35
  220. ($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"))]));
  221.             // line 39
  222.             echo "                    ";
  223.         }
  224.         // line 40
  225.         echo "                ";
  226.         
  227.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  228.         
  229.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  230.     }
  231.     // line 42
  232.     public function block_component_filter_panel_item_tag($context, array $blocks = [])
  233.     {
  234.         $macros $this->macros;
  235.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_tag"));
  237.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  238.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_tag"));
  239.         // line 43
  240.         echo "                    ";
  241.         $context["tags"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse43), "get", [=> "tags"], "method"falsefalsefalse43);
  242.         // line 44
  243.         echo "                    ";
  244.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["tags"] ?? null), "entities", [], "any"falsefalsefalse44))) {
  245.             // line 45
  246.             echo "                        ";
  247.             $context["tagsSorted"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->sort(sw_get_attribute($this->env$this->source, ($context["tags"] ?? null), "entities", [], "any"falsefalsefalse45), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_lower_filter($this->envsw_get_attribute($this->env$this->source, ($context["a"] ?? null), "name", [], "any"falsefalsefalse45)) > twig_lower_filter($this->envsw_get_attribute($this->env$this->source, ($context["b"] ?? null), "name", [], "any"falsefalsefalse45))); });
  248.             // line 46
  249.             echo "
  250.                         ";
  251.             // line 47
  252.             $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
  253. ($context["tagsSorted"] ?? null), "sidebar" =>             // line 50
  254. ($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"))]));
  255.             // line 54
  256.             echo "                    ";
  257.         }
  258.         // line 55
  259.         echo "                ";
  260.         
  261.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  262.         
  263.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  264.     }
  265.     // line 57
  266.     public function block_component_filter_panel_item_fat($context, array $blocks = [])
  267.     {
  268.         $macros $this->macros;
  269.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  270.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_fat"));
  271.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  272.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_fat"));
  273.         // line 58
  274.         echo "                    ";
  275.         $context["fat"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse58), "get", [=> "fat"], "method"falsefalsefalse58);
  276.         // line 59
  277.         echo "                    ";
  278.         $context["filterRangeActiveMinLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.fatMinLabel"));
  279.         // line 60
  280.         echo "                    ";
  281.         $context["filterRangeActiveMaxLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.fatMaxLabel"));
  282.         // line 61
  283.         echo "                    ";
  284.         $context["filterRangeErrorMessage"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterFatFilterError"));
  285.         // line 62
  286.         echo "
  287.                     ";
  288.         // line 63
  289.         if (((sw_get_attribute($this->env$this->source, ($context["fat"] ?? null), "min", [], "any"falsefalsefalse63) > 0) && (sw_get_attribute($this->env$this->source, ($context["fat"] ?? null), "max", [], "any"falsefalsefalse63) > 0))) {
  290.             // line 64
  291.             echo "                        ";
  292.             $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
  293. ($context["fat"] ?? null), "sidebar" =>             // line 67
  294. ($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"))]));
  295.             // line 74
  296.             echo "                    ";
  297.         }
  298.         // line 75
  299.         echo "                ";
  300.         
  301.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  302.         
  303.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  304.     }
  305.     // line 77
  306.     public function block_component_filter_panel_item_energy($context, array $blocks = [])
  307.     {
  308.         $macros $this->macros;
  309.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  310.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_energy"));
  311.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  312.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_energy"));
  313.         // line 78
  314.         echo "                    ";
  315.         $context["energy"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse78), "get", [=> "energy"], "method"falsefalsefalse78);
  316.         // line 79
  317.         echo "                    ";
  318.         $context["filterRangeActiveMinLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.energyMinLabel"));
  319.         // line 80
  320.         echo "                    ";
  321.         $context["filterRangeActiveMaxLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.energyMaxLabel"));
  322.         // line 81
  323.         echo "                    ";
  324.         $context["filterRangeErrorMessage"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterEnergyFilterError"));
  325.         // line 82
  326.         echo "
  327.                     ";
  328.         // line 83
  329.         if (((sw_get_attribute($this->env$this->source, ($context["energy"] ?? null), "min", [], "any"falsefalsefalse83) > 0) && (sw_get_attribute($this->env$this->source, ($context["energy"] ?? null), "max", [], "any"falsefalsefalse83) > 0))) {
  330.             // line 84
  331.             echo "                        ";
  332.             $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
  333. ($context["energy"] ?? null), "sidebar" =>             // line 87
  334. ($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"))]));
  335.             // line 94
  336.             echo "                    ";
  337.         }
  338.         // line 95
  339.         echo "                ";
  340.         
  341.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  342.         
  343.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  344.     }
  345.     // line 97
  346.     public function block_component_filter_panel_item_calories($context, array $blocks = [])
  347.     {
  348.         $macros $this->macros;
  349.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  350.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_calories"));
  351.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  352.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_calories"));
  353.         // line 98
  354.         echo "                    ";
  355.         $context["calories"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse98), "get", [=> "calories"], "method"falsefalsefalse98);
  356.         // line 99
  357.         echo "                    ";
  358.         $context["filterRangeActiveMinLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.caloriesMinLabel"));
  359.         // line 100
  360.         echo "                    ";
  361.         $context["filterRangeActiveMaxLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.caloriesMaxLabel"));
  362.         // line 101
  363.         echo "                    ";
  364.         $context["filterRangeErrorMessage"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterCaloriesFilterError"));
  365.         // line 102
  366.         echo "
  367.                     ";
  368.         // line 103
  369.         if (((sw_get_attribute($this->env$this->source, ($context["calories"] ?? null), "min", [], "any"falsefalsefalse103) > 0) && (sw_get_attribute($this->env$this->source, ($context["calories"] ?? null), "max", [], "any"falsefalsefalse103) > 0))) {
  370.             // line 104
  371.             echo "                        ";
  372.             $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
  373. ($context["calories"] ?? null), "sidebar" =>             // line 107
  374. ($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"))]));
  375.             // line 114
  376.             echo "                    ";
  377.         }
  378.         // line 115
  379.         echo "                ";
  380.         
  381.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  382.         
  383.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  384.     }
  385.     // line 117
  386.     public function block_component_filter_panel_item_protein($context, array $blocks = [])
  387.     {
  388.         $macros $this->macros;
  389.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  390.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_protein"));
  391.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  392.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_protein"));
  393.         // line 118
  394.         echo "                    ";
  395.         $context["protein"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse118), "get", [=> "protein"], "method"falsefalsefalse118);
  396.         // line 119
  397.         echo "                    ";
  398.         $context["filterRangeActiveMinLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.proteinMinLabel"));
  399.         // line 120
  400.         echo "                    ";
  401.         $context["filterRangeActiveMaxLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.proteinMaxLabel"));
  402.         // line 121
  403.         echo "                    ";
  404.         $context["filterRangeErrorMessage"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterProteinFilterError"));
  405.         // line 122
  406.         echo "
  407.                     ";
  408.         // line 123
  409.         if (((sw_get_attribute($this->env$this->source, ($context["protein"] ?? null), "min", [], "any"falsefalsefalse123) > 0) && (sw_get_attribute($this->env$this->source, ($context["protein"] ?? null), "max", [], "any"falsefalsefalse123) > 0))) {
  410.             // line 124
  411.             echo "                        ";
  412.             $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
  413. ($context["protein"] ?? null), "sidebar" =>             // line 127
  414. ($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"))]));
  415.             // line 134
  416.             echo "                    ";
  417.         }
  418.         // line 135
  419.         echo "                ";
  420.         
  421.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  422.         
  423.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  424.     }
  425.     // line 137
  426.     public function block_component_filter_panel_item_carbohydrates($context, array $blocks = [])
  427.     {
  428.         $macros $this->macros;
  429.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  430.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_carbohydrates"));
  431.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  432.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_carbohydrates"));
  433.         // line 138
  434.         echo "                    ";
  435.         $context["carbohydrates"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse138), "get", [=> "carbohydrates"], "method"falsefalsefalse138);
  436.         // line 139
  437.         echo "                    ";
  438.         $context["filterRangeActiveMinLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.carbohydratesMinLabel"));
  439.         // line 140
  440.         echo "                    ";
  441.         $context["filterRangeActiveMaxLabel"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.carbohydratesMaxLabel"));
  442.         // line 141
  443.         echo "                    ";
  444.         $context["filterRangeErrorMessage"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipe-manager.listing.filterCarbohydratesFilterError"));
  445.         // line 142
  446.         echo "
  447.                     ";
  448.         // line 143
  449.         if (((sw_get_attribute($this->env$this->source, ($context["carbohydrates"] ?? null), "min", [], "any"falsefalsefalse143) > 0) && (sw_get_attribute($this->env$this->source, ($context["carbohydrates"] ?? null), "max", [], "any"falsefalsefalse143) > 0))) {
  450.             // line 144
  451.             echo "                        ";
  452.             $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
  453. ($context["carbohydrates"] ?? null), "sidebar" =>             // line 147
  454. ($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"))]));
  455.             // line 154
  456.             echo "                    ";
  457.         }
  458.         // line 155
  459.         echo "                ";
  460.         
  461.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  462.         
  463.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  464.     }
  465.     // line 159
  466.     public function block_component_filter_panel_active_container($context, array $blocks = [])
  467.     {
  468.         $macros $this->macros;
  469.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  470.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_active_container"));
  471.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  472.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_active_container"));
  473.         // line 160
  474.         echo "            <div class=\"recipe-filter-panel-active-container\">
  475.                 ";
  476.         // line 161
  477.         $this->displayBlock('component_filter_panel_active_container_inner'$context$blocks);
  478.         // line 162
  479.         echo "            </div>
  480.         ";
  481.         
  482.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  483.         
  484.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  485.     }
  486.     // line 161
  487.     public function block_component_filter_panel_active_container_inner($context, array $blocks = [])
  488.     {
  489.         $macros $this->macros;
  490.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  491.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_active_container_inner"));
  492.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  493.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_active_container_inner"));
  494.         
  495.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  496.         
  497.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  498.     }
  499.     public function getTemplateName()
  500.     {
  501.         return "@NdsRecipeManager/rcpmanager/listing/recipe-filter-panel.html.twig";
  502.     }
  503.     public function getDebugInfo()
  504.     {
  505.         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,);
  506.     }
  507.     public function getSourceContext()
  508.     {
  509.         return new Source("{% block component_filter_panel_header %}
  510. {% endblock %}
  511. {% block component_filter_panel_element %}
  512.     <div class=\"recipe-filter-panel filter-panel\">
  513.         {% block component_filter_panel_items_container %}
  514.             <div class=\"filter-panel-items-container\">
  515.                 {% if config.showType.value == 'all' %}
  516.                     {% block component_filter_panel_item_category %}
  517.                         {% set recipeCategories = listing.aggregations.get('categories') %}
  518.                         {% if not recipeCategories.entities is empty %}
  519.                             {% set recipeCategoriesSorted = recipeCategories.entities|sort((a, b) => a.name|lower > b.name|lower) %}
  520.                             {% sw_include '@Storefront/rcpmanager/listing/filter/filter-multi-select.html.twig' with {
  521.                                 pluginSelector: 'recipe-filter-multi-select',
  522.                                 elements: recipeCategoriesSorted,
  523.                                 sidebar: sidebar,
  524.                                 name: 'rcp-categories',
  525.                                 displayName: 'recipe-manager.listing.filterCategoriesFilterName'|trans|sw_sanitize,
  526.                             } %}
  527.                         {% endif %}
  528.                     {% endblock %}
  529.                 {% endif %}
  530.                 {% block component_filter_panel_item_difficulty %}
  531.                     {% set difficulty = listing.aggregations.get('difficulty') %}
  532.                     {% if not difficulty.entities is empty %}
  533.                         {% set difficultySorted = difficulty.entities|sort((a, b) => a.name|lower > b.name|lower)  %}
  534.                         {% sw_include '@Storefront/rcpmanager/listing/filter/filter-multi-select.html.twig' with {
  535.                             pluginSelector: 'recipe-filter-multi-select',
  536.                             elements: difficultySorted,
  537.                             sidebar: sidebar,
  538.                             name: 'rcp-difficulty',
  539.                             displayName: 'recipe-manager.listing.filterDifficultyFilterName'|trans|sw_sanitize
  540.                         } %}
  541.                     {% endif %}
  542.                 {% endblock %}
  543.                 {% block component_filter_panel_item_tag %}
  544.                     {% set tags = listing.aggregations.get('tags') %}
  545.                     {% if not tags.entities is empty %}
  546.                         {% set tagsSorted = tags.entities|sort((a, b) => a.name|lower > b.name|lower)  %}
  547.                         {% sw_include '@Storefront/rcpmanager/listing/filter/filter-multi-select.html.twig' with {
  548.                             pluginSelector: 'recipe-filter-multi-select',
  549.                             elements: tagsSorted,
  550.                             sidebar: sidebar,
  551.                             name: 'rcp-tags',
  552.                             displayName: 'recipe-manager.listing.filterTagsFilterName'|trans|sw_sanitize
  553.                         } %}
  554.                     {% endif %}
  555.                 {% endblock %}
  556.                 {% block component_filter_panel_item_fat %}
  557.                     {% set fat = listing.aggregations.get('fat') %}
  558.                     {% set filterRangeActiveMinLabel = 'recipe-manager.listing.fatMinLabel'|trans|sw_sanitize %}
  559.                     {% set filterRangeActiveMaxLabel = 'recipe-manager.listing.fatMaxLabel'|trans|sw_sanitize %}
  560.                     {% set filterRangeErrorMessage = 'recipe-manager.listing.filterFatFilterError'|trans|sw_sanitize %}
  561.                     {% if fat.min > 0 and fat.max > 0 %}
  562.                         {% sw_include '@Storefront/rcpmanager/listing/filter/filter-range.html.twig' with {
  563.                             pluginSelector: 'recipe-filter-range',
  564.                             fat: fat,
  565.                             sidebar: sidebar,
  566.                             name: 'rcp-fat',
  567.                             minKey: 'rcp-min-fat',
  568.                             maxKey: 'rcp-max-fat',
  569.                             currencySymbol: 'recipe-manager.listing.filterFatFilterSymbol'|trans|sw_sanitize,
  570.                             displayName: 'recipe-manager.listing.filterFatFilterName'|trans|sw_sanitize,
  571.                         } %}
  572.                     {% endif %}
  573.                 {% endblock %}
  574.                 {% block component_filter_panel_item_energy %}
  575.                     {% set energy = listing.aggregations.get('energy') %}
  576.                     {% set filterRangeActiveMinLabel = 'recipe-manager.listing.energyMinLabel'|trans|sw_sanitize %}
  577.                     {% set filterRangeActiveMaxLabel = 'recipe-manager.listing.energyMaxLabel'|trans|sw_sanitize %}
  578.                     {% set filterRangeErrorMessage = 'recipe-manager.listing.filterEnergyFilterError'|trans|sw_sanitize %}
  579.                     {% if energy.min > 0 and energy.max > 0 %}
  580.                         {% sw_include '@Storefront/rcpmanager/listing/filter/filter-range.html.twig' with {
  581.                             pluginSelector: 'recipe-filter-range',
  582.                             energy: energy,
  583.                             sidebar: sidebar,
  584.                             name: 'rcp-energy',
  585.                             minKey: 'rcp-min-energy',
  586.                             maxKey: 'rcp-max-energy',
  587.                             currencySymbol: 'recipe-manager.listing.filterEnergyFilterSymbol'|trans|sw_sanitize,
  588.                             displayName: 'recipe-manager.listing.filterEnergyFilterName'|trans|sw_sanitize,
  589.                         } %}
  590.                     {% endif %}
  591.                 {% endblock %}
  592.                 {% block component_filter_panel_item_calories %}
  593.                     {% set calories = listing.aggregations.get('calories') %}
  594.                     {% set filterRangeActiveMinLabel = 'recipe-manager.listing.caloriesMinLabel'|trans|sw_sanitize %}
  595.                     {% set filterRangeActiveMaxLabel = 'recipe-manager.listing.caloriesMaxLabel'|trans|sw_sanitize %}
  596.                     {% set filterRangeErrorMessage = 'recipe-manager.listing.filterCaloriesFilterError'|trans|sw_sanitize %}
  597.                     {% if calories.min > 0 and calories.max > 0 %}
  598.                         {% sw_include '@Storefront/rcpmanager/listing/filter/filter-range.html.twig' with {
  599.                             pluginSelector: 'recipe-filter-range',
  600.                             calories: calories,
  601.                             sidebar: sidebar,
  602.                             name: 'rcp-calories',
  603.                             minKey: 'rcp-min-calories',
  604.                             maxKey: 'rcp-max-calories',
  605.                             currencySymbol: 'recipe-manager.listing.filterCaloriesFilterSymbol'|trans|sw_sanitize,
  606.                             displayName: 'recipe-manager.listing.filterCaloriesFilterName'|trans|sw_sanitize,
  607.                         } %}
  608.                     {% endif %}
  609.                 {% endblock %}
  610.                 {% block component_filter_panel_item_protein %}
  611.                     {% set protein = listing.aggregations.get('protein') %}
  612.                     {% set filterRangeActiveMinLabel = 'recipe-manager.listing.proteinMinLabel'|trans|sw_sanitize %}
  613.                     {% set filterRangeActiveMaxLabel = 'recipe-manager.listing.proteinMaxLabel'|trans|sw_sanitize %}
  614.                     {% set filterRangeErrorMessage = 'recipe-manager.listing.filterProteinFilterError'|trans|sw_sanitize %}
  615.                     {% if protein.min > 0 and protein.max > 0 %}
  616.                         {% sw_include '@Storefront/rcpmanager/listing/filter/filter-range.html.twig' with {
  617.                             pluginSelector: 'recipe-filter-range',
  618.                             protein: protein,
  619.                             sidebar: sidebar,
  620.                             name: 'rcp-protein',
  621.                             minKey: 'rcp-min-protein',
  622.                             maxKey: 'rcp-max-protein',
  623.                             currencySymbol: 'recipe-manager.listing.filterProteinFilterSymbol'|trans|sw_sanitize,
  624.                             displayName: 'recipe-manager.listing.filterProteinFilterName'|trans|sw_sanitize,
  625.                         } %}
  626.                     {% endif %}
  627.                 {% endblock %}
  628.                 {% block component_filter_panel_item_carbohydrates %}
  629.                     {% set carbohydrates = listing.aggregations.get('carbohydrates') %}
  630.                     {% set filterRangeActiveMinLabel = 'recipe-manager.listing.carbohydratesMinLabel'|trans|sw_sanitize %}
  631.                     {% set filterRangeActiveMaxLabel = 'recipe-manager.listing.carbohydratesMaxLabel'|trans|sw_sanitize %}
  632.                     {% set filterRangeErrorMessage = 'recipe-manager.listing.filterCarbohydratesFilterError'|trans|sw_sanitize %}
  633.                     {% if carbohydrates.min > 0 and carbohydrates.max > 0 %}
  634.                         {% sw_include '@Storefront/rcpmanager/listing/filter/filter-range.html.twig' with {
  635.                             pluginSelector: 'recipe-filter-range',
  636.                             carbohydrates: carbohydrates,
  637.                             sidebar: sidebar,
  638.                             name: 'rcp-carbohydrates',
  639.                             minKey: 'rcp-min-carbohydrates',
  640.                             maxKey: 'rcp-max-carbohydrates',
  641.                             currencySymbol: 'recipe-manager.listing.filterCarbohydratesFilterSymbol'|trans|sw_sanitize,
  642.                             displayName: 'recipe-manager.listing.filterCarbohydratesFilterName'|trans|sw_sanitize,
  643.                         } %}
  644.                     {% endif %}
  645.                 {% endblock %}
  646.             </div>
  647.         {% endblock %}
  648.         {% block component_filter_panel_active_container %}
  649.             <div class=\"recipe-filter-panel-active-container\">
  650.                 {% block component_filter_panel_active_container_inner %}{% endblock %}
  651.             </div>
  652.         {% endblock %}
  653.     </div>
  654. {% endblock %}
  655. ""@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");
  656.     }
  657. }