var/cache/dev_h90dfaab4b9218db9f54295f5d696836f/twig/4e/4eccf967bb19e1767133d54bec8bafabf10c77ed289f49915e3f10d7c46302c1.php line 50

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. /* @Storefront/storefront/section/cms-section-sidebar.html.twig */
  16. class __TwigTemplate_da17c4db30028eb1823066dd94a3c160058518773513e22cd844f906ab0d6729 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.             'page_content_section_sidebar' => [$this'block_page_content_section_sidebar'],
  27.             'section_sidebar_content' => [$this'block_section_sidebar_content'],
  28.             'section_sidebar_content_block' => [$this'block_section_sidebar_content_block'],
  29.             'section_main_content' => [$this'block_section_main_content'],
  30.             'section_main_content_block' => [$this'block_section_main_content_block'],
  31.         ];
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/section/cms-section-sidebar.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/section/cms-section-sidebar.html.twig"));
  40.         // line 1
  41.         $this->displayBlock('page_content_section_sidebar'$context$blocks);
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     public function block_page_content_section_sidebar($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_section_sidebar"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_section_sidebar"));
  54.         // line 2
  55.         echo "    ";
  56.         $context["sectionMobileBehaviorClass"] = ("cms-section-sidebar-mobile-" sw_get_attribute($this->env$this->source, ($context["section"] ?? null), "mobileBehavior", [], "any"falsefalsefalse2));
  57.         // line 3
  58.         echo "    ";
  59.         $context["layout"] = ((sw_get_attribute($this->env$this->source, ($context["section"] ?? null), "sizingMode", [], "any"falsefalsefalse3)) ? (twig_replace_filter(sw_get_attribute($this->env$this->source, ($context["section"] ?? null), "sizingMode", [], "any"falsefalsefalse3), ["_" => "-"])) : ("container"));
  60.         // line 4
  61.         echo "
  62.     <div class=\"cms-section-sidebar ";
  63.         // line 5
  64.         echo sw_escape_filter($this->env, ($context["sectionMobileBehaviorClass"] ?? null), "html"nulltrue);
  65.         echo " ";
  66.         echo sw_escape_filter($this->env, ($context["layout"] ?? null), "html"nulltrue);
  67.         echo " row\">
  68.         ";
  69.         // line 7
  70.         $context["sidebarBlocks"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["section"] ?? null), "blocks", [], "any"falsefalsefalse7), "filterBySectionPosition", [=> "sidebar"], "method"falsefalsefalse7);
  71.         // line 8
  72.         echo "        ";
  73.         $context["mainContentBlocks"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["section"] ?? null), "blocks", [], "any"falsefalsefalse8), "filterBySectionPosition", [=> "main"], "method"falsefalsefalse8);
  74.         // line 9
  75.         echo "
  76.         ";
  77.         // line 10
  78.         $this->displayBlock('section_sidebar_content'$context$blocks);
  79.         // line 20
  80.         echo "
  81.         ";
  82.         // line 21
  83.         $this->displayBlock('section_main_content'$context$blocks);
  84.         // line 31
  85.         echo "    </div>
  86. ";
  87.         
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  89.         
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  91.     }
  92.     // line 10
  93.     public function block_section_sidebar_content($context, array $blocks = [])
  94.     {
  95.         $macros $this->macros;
  96.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_sidebar_content"));
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_sidebar_content"));
  100.         // line 11
  101.         echo "            <div class=\"cms-section-sidebar-sidebar-content col-lg-4 col-xl-3\">
  102.                 ";
  103.         // line 13
  104.         $context['_parent'] = $context;
  105.         $context['_seq'] = twig_ensure_traversable(($context["sidebarBlocks"] ?? null));
  106.         $context['loop'] = [
  107.           'parent' => $context['_parent'],
  108.           'index0' => 0,
  109.           'index'  => 1,
  110.           'first'  => true,
  111.         ];
  112.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  113.             $length count($context['_seq']);
  114.             $context['loop']['revindex0'] = $length 1;
  115.             $context['loop']['revindex'] = $length;
  116.             $context['loop']['length'] = $length;
  117.             $context['loop']['last'] = === $length;
  118.         }
  119.         foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  120.             // line 14
  121.             echo "                    ";
  122.             $this->displayBlock('section_sidebar_content_block'$context$blocks);
  123.             // line 17
  124.             echo "                ";
  125.             ++$context['loop']['index0'];
  126.             ++$context['loop']['index'];
  127.             $context['loop']['first'] = false;
  128.             if (isset($context['loop']['length'])) {
  129.                 --$context['loop']['revindex0'];
  130.                 --$context['loop']['revindex'];
  131.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  132.             }
  133.         }
  134.         $_parent $context['_parent'];
  135.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  136.         $context array_intersect_key($context$_parent) + $_parent;
  137.         // line 18
  138.         echo "            </div>
  139.         ";
  140.         
  141.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  142.         
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  144.     }
  145.     // line 14
  146.     public function block_section_sidebar_content_block($context, array $blocks = [])
  147.     {
  148.         $macros $this->macros;
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  150.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_sidebar_content_block"));
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_sidebar_content_block"));
  153.         // line 15
  154.         echo "                        ";
  155.         $this->loadTemplate("@Storefront/storefront/section/cms-section-block-container.html.twig""@Storefront/storefront/section/cms-section-sidebar.html.twig"15)->display($context);
  156.         // line 16
  157.         echo "                    ";
  158.         
  159.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  160.         
  161.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  162.     }
  163.     // line 21
  164.     public function block_section_main_content($context, array $blocks = [])
  165.     {
  166.         $macros $this->macros;
  167.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  168.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_main_content"));
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  170.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_main_content"));
  171.         // line 22
  172.         echo "            <div class=\"cms-section-sidebar-main-content col-lg-8 col-xl-9\">
  173.                 ";
  174.         // line 24
  175.         $context['_parent'] = $context;
  176.         $context['_seq'] = twig_ensure_traversable(($context["mainContentBlocks"] ?? null));
  177.         $context['loop'] = [
  178.           'parent' => $context['_parent'],
  179.           'index0' => 0,
  180.           'index'  => 1,
  181.           'first'  => true,
  182.         ];
  183.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  184.             $length count($context['_seq']);
  185.             $context['loop']['revindex0'] = $length 1;
  186.             $context['loop']['revindex'] = $length;
  187.             $context['loop']['length'] = $length;
  188.             $context['loop']['last'] = === $length;
  189.         }
  190.         foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  191.             // line 25
  192.             echo "                    ";
  193.             $this->displayBlock('section_main_content_block'$context$blocks);
  194.             // line 28
  195.             echo "                ";
  196.             ++$context['loop']['index0'];
  197.             ++$context['loop']['index'];
  198.             $context['loop']['first'] = false;
  199.             if (isset($context['loop']['length'])) {
  200.                 --$context['loop']['revindex0'];
  201.                 --$context['loop']['revindex'];
  202.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  203.             }
  204.         }
  205.         $_parent $context['_parent'];
  206.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  207.         $context array_intersect_key($context$_parent) + $_parent;
  208.         // line 29
  209.         echo "            </div>
  210.         ";
  211.         
  212.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  213.         
  214.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  215.     }
  216.     // line 25
  217.     public function block_section_main_content_block($context, array $blocks = [])
  218.     {
  219.         $macros $this->macros;
  220.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  221.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_main_content_block"));
  222.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  223.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_main_content_block"));
  224.         // line 26
  225.         echo "                        ";
  226.         $this->loadTemplate("@Storefront/storefront/section/cms-section-block-container.html.twig""@Storefront/storefront/section/cms-section-sidebar.html.twig"26)->display($context);
  227.         // line 27
  228.         echo "                    ";
  229.         
  230.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  231.         
  232.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  233.     }
  234.     public function getTemplateName()
  235.     {
  236.         return "@Storefront/storefront/section/cms-section-sidebar.html.twig";
  237.     }
  238.     public function getDebugInfo()
  239.     {
  240.         return array (  263 => 27,  260 => 26,  250 => 25,  239 => 29,  225 => 28,  222 => 25,  205 => 24,  201 => 22,  191 => 21,  181 => 16,  178 => 15,  168 => 14,  157 => 18,  143 => 17,  140 => 14,  123 => 13,  119 => 11,  109 => 10,  98 => 31,  96 => 21,  93 => 20,  91 => 10,  88 => 9,  85 => 8,  83 => 7,  76 => 5,  73 => 4,  70 => 3,  67 => 2,  48 => 1,);
  241.     }
  242.     public function getSourceContext()
  243.     {
  244.         return new Source("{% block page_content_section_sidebar %}
  245.     {% set sectionMobileBehaviorClass = 'cms-section-sidebar-mobile-' ~ section.mobileBehavior %}
  246.     {% set layout = section.sizingMode ? section.sizingMode|replace({\"_\": \"-\"}) : \"container\" %}
  247.     <div class=\"cms-section-sidebar {{ sectionMobileBehaviorClass }} {{ layout }} row\">
  248.         {% set sidebarBlocks = section.blocks.filterBySectionPosition('sidebar') %}
  249.         {% set mainContentBlocks = section.blocks.filterBySectionPosition('main') %}
  250.         {% block section_sidebar_content %}
  251.             <div class=\"cms-section-sidebar-sidebar-content col-lg-4 col-xl-3\">
  252.                 {% for block in sidebarBlocks %}
  253.                     {% block section_sidebar_content_block %}
  254.                         {% sw_include \"@Storefront/storefront/section/cms-section-block-container.html.twig\" %}
  255.                     {% endblock %}
  256.                 {% endfor %}
  257.             </div>
  258.         {% endblock %}
  259.         {% block section_main_content %}
  260.             <div class=\"cms-section-sidebar-main-content col-lg-8 col-xl-9\">
  261.                 {% for block in mainContentBlocks %}
  262.                     {% block section_main_content_block %}
  263.                         {% sw_include \"@Storefront/storefront/section/cms-section-block-container.html.twig\" %}
  264.                     {% endblock %}
  265.                 {% endfor %}
  266.             </div>
  267.         {% endblock %}
  268.     </div>
  269. {% endblock %}
  270. ""@Storefront/storefront/section/cms-section-sidebar.html.twig""/home/fasflpog/shopware/vendor/shopware/storefront/Resources/views/storefront/section/cms-section-sidebar.html.twig");
  271.     }
  272. }