var/cache/dev_h00a6008ac8d83daed65bb1b250bc45b1/twig/d0/d0f178813ebd1949a5f46e1fe2b49d8d304763cf70aa85c50598d63ddcda0276.php line 44

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. /* @zenitPlatformStratus/storefront/page/content/index.html.twig */
  16. class __TwigTemplate_3214e12056cf726b8d7947b7a8dbc538 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->blocks = [
  25.             'base_main_inner' => [$this'block_base_main_inner'],
  26.             'page_content' => [$this'block_page_content'],
  27.             'cms_breadcrumb' => [$this'block_cms_breadcrumb'],
  28.             'cms_content' => [$this'block_cms_content'],
  29.             'page_content_blocks' => [$this'block_page_content_blocks'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 2
  35.         return "@Storefront/storefront/page/content/index.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@zenitPlatformStratus/storefront/page/content/index.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@zenitPlatformStratus/storefront/page/content/index.html.twig"));
  44.         $this->parent $this->loadTemplate("@Storefront/storefront/page/content/index.html.twig""@zenitPlatformStratus/storefront/page/content/index.html.twig"2);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     public function block_base_main_inner($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  59.         // line 4
  60.         echo "    <div class=\"container-main\">
  61.         ";
  62.         // line 5
  63.         $this->displayBlock('page_content'$context$blocks);
  64.         // line 92
  65.         echo "    </div>
  66. ";
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.         
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71.     }
  72.     // line 5
  73.     public function block_page_content($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  80.         // line 6
  81.         echo "
  82.             ";
  83.         // line 8
  84.         echo "            ";
  85.         $context["defaultBreadcrumbs"] = true;
  86.         // line 9
  87.         echo "            ";
  88.         $context['_parent'] = $context;
  89.         $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse9), "sections", [], "any"falsefalsefalse9));
  90.         foreach ($context['_seq'] as $context["_key"] => $context["section"]) {
  91.             // line 10
  92.             echo "                ";
  93.             $context['_parent'] = $context;
  94.             $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->source$context["section"], "blocks", [], "any"falsefalsefalse10));
  95.             foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  96.                 // line 11
  97.                 echo "                    ";
  98.                 if ((sw_get_attribute($this->env$this->source$context["block"], "type", [], "any"falsefalsefalse11) === "zenit-breadcrumb")) {
  99.                     // line 12
  100.                     echo "                        ";
  101.                     $context["defaultBreadcrumbs"] = false;
  102.                     // line 13
  103.                     echo "                    ";
  104.                 }
  105.                 // line 14
  106.                 echo "                ";
  107.             }
  108.             $_parent $context['_parent'];
  109.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  110.             $context array_intersect_key($context$_parent) + $_parent;
  111.             // line 15
  112.             echo "            ";
  113.         }
  114.         $_parent $context['_parent'];
  115.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['section'], $context['_parent'], $context['loop']);
  116.         $context array_intersect_key($context$_parent) + $_parent;
  117.         // line 16
  118.         echo "
  119.             ";
  120.         // line 17
  121.         if ((($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-category-header-position") === "absolute") || (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-category-header-position") === "relative") && (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 18
  122. ($context["zenCustomFields"] ?? null), "category", [], "any"falsefalsefalse18), "zenit_stratus_category_header_position", [], "any"falsefalsefalse18) === "absolute")))) {
  123.             // line 19
  124.             echo "                ";
  125.             $context["sectionCategoryOverlay"] = true;
  126.             // line 20
  127.             echo "            ";
  128.         }
  129.         // line 21
  130.         echo "
  131.             ";
  132.         // line 22
  133.         if (((($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-category-image") === true) &&  !(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["zenCustomFields"] ?? null), "category", [], "any"falsefalsefalse22), "zenit_stratus_category_image", [], "any"falsefalsefalse22) === "hide")) || (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-category-image") === false) && (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 23
  134. ($context["zenCustomFields"] ?? null), "category", [], "any"falsefalsefalse23), "zenit_stratus_category_image", [], "any"falsefalsefalse23) === "display")))) {
  135.             // line 24
  136.             echo "                ";
  137.             $context["allowCategoryImage"] = true;
  138.             // line 25
  139.             echo "            ";
  140.         }
  141.         // line 26
  142.         echo "
  143.             ";
  144.         // line 29
  145.         echo "            ";
  146.         $context["hasCategoryImage"] = false;
  147.         // line 30
  148.         echo "            ";
  149.         if (($context["allowCategoryImage"] ?? null)) {
  150.             // line 31
  151.             echo "                ";
  152.             $context["categoryMedia"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse31), "navigation", [], "any"falsefalsefalse31), "active", [], "any"falsefalsefalse31), "media", [], "any"falsefalsefalse31);
  153.             // line 32
  154.             echo "
  155.                 ";
  156.             // line 33
  157.             if (($context["categoryMedia"] ?? null)) {
  158.                 // line 34
  159.                 echo "                    ";
  160.                 $context["hasCategoryImage"] = true;
  161.                 // line 35
  162.                 echo "                ";
  163.             } else {
  164.                 // line 36
  165.                 echo "                    ";
  166.                 // line 37
  167.                 echo "                    ";
  168.                 $context['_parent'] = $context;
  169.                 $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse37), "sections", [], "any"falsefalsefalse37));
  170.                 $context['loop'] = [
  171.                   'parent' => $context['_parent'],
  172.                   'index0' => 0,
  173.                   'index'  => 1,
  174.                   'first'  => true,
  175.                 ];
  176.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  177.                     $length count($context['_seq']);
  178.                     $context['loop']['revindex0'] = $length 1;
  179.                     $context['loop']['revindex'] = $length;
  180.                     $context['loop']['length'] = $length;
  181.                     $context['loop']['last'] = === $length;
  182.                 }
  183.                 foreach ($context['_seq'] as $context["_key"] => $context["section"]) {
  184.                     // line 38
  185.                     echo "                        ";
  186.                     if ((sw_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse38) === 1)) {
  187.                         // line 39
  188.                         echo "                            ";
  189.                         $context["sectionBgImg"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\UrlEncodingTwigFilter']->encodeMediaUrl(sw_get_attribute($this->env$this->source$context["section"], "backgroundMedia", [], "any"falsefalsefalse39));
  190.                         // line 40
  191.                         echo "
  192.                             ";
  193.                         // line 41
  194.                         if (($context["sectionBgImg"] ?? null)) {
  195.                             // line 42
  196.                             echo "                                ";
  197.                             $context["hasCategoryImage"] = true;
  198.                             // line 43
  199.                             echo "                            ";
  200.                         }
  201.                         // line 44
  202.                         echo "                        ";
  203.                     }
  204.                     // line 45
  205.                     echo "                    ";
  206.                     ++$context['loop']['index0'];
  207.                     ++$context['loop']['index'];
  208.                     $context['loop']['first'] = false;
  209.                     if (isset($context['loop']['length'])) {
  210.                         --$context['loop']['revindex0'];
  211.                         --$context['loop']['revindex'];
  212.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  213.                     }
  214.                 }
  215.                 $_parent $context['_parent'];
  216.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['section'], $context['_parent'], $context['loop']);
  217.                 $context array_intersect_key($context$_parent) + $_parent;
  218.                 // line 46
  219.                 echo "                ";
  220.             }
  221.             // line 47
  222.             echo "            ";
  223.         }
  224.         // line 48
  225.         echo "
  226.             ";
  227.         // line 49
  228.         if ( !twig_test_empty(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["zenCustomFields"] ?? null), "category", [], "any"falsefalsefalse49), "zenit_stratus_category_image_color", [], "any"falsefalsefalse49))) {
  229.             // line 50
  230.             echo "                ";
  231.             $context["hasCategoryBgColor"] = true;
  232.             // line 51
  233.             echo "            ";
  234.         }
  235.         // line 52
  236.         echo "
  237.             ";
  238.         // line 53
  239.         if (((($context["hasCategoryBgColor"] ?? null) === true) || (($context["hasCategoryImage"] ?? null) === true))) {
  240.             // line 54
  241.             echo "                ";
  242.             $context["isHeroSection"] = true;
  243.             // line 55
  244.             echo "            ";
  245.         }
  246.         // line 56
  247.         echo "
  248.             ";
  249.         // line 58
  250.         echo "            ";
  251.         if (( !(($context["isHeroSection"] ?? null) === true) && ($context["defaultBreadcrumbs"] ?? null))) {
  252.             // line 59
  253.             echo "                ";
  254.             // line 60
  255.             echo "                ";
  256.             if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\BuildBreadcrumbExtension']->getFullBreadcrumb($contextsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse60), "navigation", [], "any"falsefalsefalse60), "active", [], "any"falsefalsefalse60), sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse60))) {
  257.                 // line 61
  258.                 echo "                    <div class=\"breadcrumb-container\">
  259.                         <div class=\"container\">
  260.                             <div class=\"breadcrumb-wrap cms-breadcrumb justify-content-";
  261.                 // line 63
  262.                 echo sw_escape_filter($this->envtwig_replace_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-breadcrumbs-align"), ["flex-" => ""]), "html"nulltrue);
  263.                 echo "\">
  264.                                 ";
  265.                 // line 64
  266.                 $this->displayBlock('cms_breadcrumb'$context$blocks);
  267.                 // line 70
  268.                 echo "                            </div>
  269.                         </div>
  270.                     </div>
  271.                 ";
  272.             }
  273.             // line 74
  274.             echo "            ";
  275.         }
  276.         // line 75
  277.         echo "
  278.             ";
  279.         // line 76
  280.         $this->displayBlock('cms_content'$context$blocks);
  281.         // line 91
  282.         echo "        ";
  283.         
  284.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  285.         
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  287.     }
  288.     // line 64
  289.     public function block_cms_breadcrumb($context, array $blocks = [])
  290.     {
  291.         $macros $this->macros;
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  293.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  294.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  296.         // line 65
  297.         echo "                                    ";
  298.         $this->loadTemplate("@zenitPlatformStratus/storefront/layout/breadcrumb.html.twig""@zenitPlatformStratus/storefront/page/content/index.html.twig"65)->display(twig_to_array(["navigationTree" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 66
  299. ($context["page"] ?? null), "header", [], "any"falsefalsefalse66), "navigation", [], "any"falsefalsefalse66), "tree", [], "any"falsefalsefalse66), "category" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 67
  300. ($context["page"] ?? null), "header", [], "any"falsefalsefalse67), "navigation", [], "any"falsefalsefalse67), "active", [], "any"falsefalsefalse67)]));
  301.         // line 69
  302.         echo "                                ";
  303.         
  304.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  305.         
  306.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  307.     }
  308.     // line 76
  309.     public function block_cms_content($context, array $blocks = [])
  310.     {
  311.         $macros $this->macros;
  312.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  313.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  314.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  315.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  316.         // line 77
  317.         echo "                ";
  318.         $context["cmsPageClasses"] = twig_trim_filter(("cms-page " twig_striptags(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse77), "cssClass", [], "any"falsefalsefalse77))));
  319.         // line 78
  320.         echo "                <div class=\"";
  321.         echo sw_escape_filter($this->env, ($context["cmsPageClasses"] ?? null), "html"nulltrue);
  322.         echo "\">
  323.                     ";
  324.         // line 79
  325.         $this->displayBlock('page_content_blocks'$context$blocks);
  326.         // line 89
  327.         echo "                </div>
  328.             ";
  329.         
  330.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  331.         
  332.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  333.     }
  334.     // line 79
  335.     public function block_page_content_blocks($context, array $blocks = [])
  336.     {
  337.         $macros $this->macros;
  338.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  339.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  340.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  341.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  342.         // line 80
  343.         echo "                        ";
  344.         $this->loadTemplate("@FourtwosixThemeExtension/storefront/page/content/detail.html.twig""@zenitPlatformStratus/storefront/page/content/index.html.twig"80)->display(twig_array_merge($context, ["cmsPage" => sw_get_attribute($this->env$this->source,         // line 81
  345. ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse81), "defaultBreadcrumbs" =>         // line 82
  346. ($context["defaultBreadcrumbs"] ?? null), "sectionCategoryOverlay" =>         // line 83
  347. ($context["sectionCategoryOverlay"] ?? null), "hasCategoryImage" =>         // line 84
  348. ($context["hasCategoryImage"] ?? null), "hasCategoryBgColor" =>         // line 85
  349. ($context["hasCategoryBgColor"] ?? null), "isHeroSection" =>         // line 86
  350. ($context["isHeroSection"] ?? null)]));
  351.         // line 88
  352.         echo "                    ";
  353.         
  354.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  355.         
  356.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  357.     }
  358.     public function getTemplateName()
  359.     {
  360.         return "@zenitPlatformStratus/storefront/page/content/index.html.twig";
  361.     }
  362.     public function isTraitable()
  363.     {
  364.         return false;
  365.     }
  366.     public function getDebugInfo()
  367.     {
  368.         return array (  384 => 88,  382 => 86,  381 => 85,  380 => 84,  379 => 83,  378 => 82,  377 => 81,  375 => 80,  365 => 79,  354 => 89,  352 => 79,  347 => 78,  344 => 77,  334 => 76,  324 => 69,  322 => 67,  321 => 66,  319 => 65,  309 => 64,  299 => 91,  297 => 76,  294 => 75,  291 => 74,  285 => 70,  283 => 64,  279 => 63,  275 => 61,  272 => 60,  270 => 59,  267 => 58,  264 => 56,  261 => 55,  258 => 54,  256 => 53,  253 => 52,  250 => 51,  247 => 50,  245 => 49,  242 => 48,  239 => 47,  236 => 46,  222 => 45,  219 => 44,  216 => 43,  213 => 42,  211 => 41,  208 => 40,  205 => 39,  202 => 38,  184 => 37,  182 => 36,  179 => 35,  176 => 34,  174 => 33,  171 => 32,  168 => 31,  165 => 30,  162 => 29,  159 => 26,  156 => 25,  153 => 24,  151 => 23,  150 => 22,  147 => 21,  144 => 20,  141 => 19,  139 => 18,  138 => 17,  135 => 16,  129 => 15,  123 => 14,  120 => 13,  117 => 12,  114 => 11,  109 => 10,  104 => 9,  101 => 8,  98 => 6,  88 => 5,  77 => 92,  75 => 5,  72 => 4,  62 => 3,  39 => 2,);
  369.     }
  370.     public function getSourceContext()
  371.     {
  372.         return new Source("{% sw_extends '@Storefront/storefront/page/content/index.html.twig' %}
  373. {% block base_main_inner %}
  374.     <div class=\"container-main\">
  375.         {% block page_content %}
  376.             {# ... checks if custom zenit-breadcrumb is in use #}
  377.             {% set defaultBreadcrumbs = true %}
  378.             {% for section in page.cmsPage.sections %}
  379.                 {% for block in section.blocks %}
  380.                     {% if block.type is same as ('zenit-breadcrumb') %}
  381.                         {% set defaultBreadcrumbs = false %}
  382.                     {% endif %}
  383.                 {% endfor %}
  384.             {% endfor %}
  385.             {% if theme_config(\"zen-category-header-position\") is same as ('absolute')
  386.                 or (theme_config(\"zen-category-header-position\") is same as ('relative') and zenCustomFields.category.zenit_stratus_category_header_position is same as ('absolute')) %}
  387.                 {% set sectionCategoryOverlay = true %}
  388.             {% endif %}
  389.             {% if theme_config(\"zen-category-image\") is same as (true) and zenCustomFields.category.zenit_stratus_category_image is not same as ('hide')
  390.                 or ( theme_config(\"zen-category-image\") is same as (false) and (zenCustomFields.category.zenit_stratus_category_image is same as ('display')) ) %}
  391.                 {% set allowCategoryImage = true %}
  392.             {% endif %}
  393.             {# ... checks if there is either a category image or a
  394.             section image to prevent unwanted hero-sections #}
  395.             {% set hasCategoryImage = false %}
  396.             {% if allowCategoryImage %}
  397.                 {% set categoryMedia = page.header.navigation.active.media %}
  398.                 {% if categoryMedia %}
  399.                     {% set hasCategoryImage = true %}
  400.                 {% else %}
  401.                     {# ... there is not category media, so we have to check if there exists any fallback #}
  402.                     {% for section in page.cmsPage.sections %}
  403.                         {% if loop.index is same as (1) %}
  404.                             {% set sectionBgImg = section.backgroundMedia|sw_encode_media_url %}
  405.                             {% if sectionBgImg %}
  406.                                 {% set hasCategoryImage = true %}
  407.                             {% endif %}
  408.                         {% endif %}
  409.                     {% endfor %}
  410.                 {% endif %}
  411.             {% endif %}
  412.             {% if zenCustomFields.category.zenit_stratus_category_image_color is not empty %}
  413.                 {% set hasCategoryBgColor = true %}
  414.             {% endif %}
  415.             {% if hasCategoryBgColor is same as (true) or hasCategoryImage is same as (true) %}
  416.                 {% set isHeroSection = true %}
  417.             {% endif %}
  418.             {# ... if not a hero section #}
  419.             {% if isHeroSection is not same as (true) and defaultBreadcrumbs %}
  420.                 {# ... check if there is any breadcrumb to show #}
  421.                 {% if sw_breadcrumb_full(page.header.navigation.active, context.context) %}
  422.                     <div class=\"breadcrumb-container\">
  423.                         <div class=\"container\">
  424.                             <div class=\"breadcrumb-wrap cms-breadcrumb justify-content-{{ theme_config('zen-breadcrumbs-align')|replace({'flex-': ''}) }}\">
  425.                                 {% block cms_breadcrumb %}
  426.                                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  427.                                         navigationTree: page.header.navigation.tree,
  428.                                         category: page.header.navigation.active
  429.                                     } only %}
  430.                                 {% endblock %}
  431.                             </div>
  432.                         </div>
  433.                     </div>
  434.                 {% endif %}
  435.             {% endif %}
  436.             {% block cms_content %}
  437.                 {% set cmsPageClasses = ('cms-page ' ~ page.cmsPage.cssClass|striptags)|trim %}
  438.                 <div class=\"{{ cmsPageClasses }}\">
  439.                     {% block page_content_blocks %}
  440.                         {% sw_include \"@Storefront/storefront/page/content/detail.html.twig\" with {
  441.                             'cmsPage': page.cmsPage,
  442.                             'defaultBreadcrumbs': defaultBreadcrumbs,
  443.                             'sectionCategoryOverlay': sectionCategoryOverlay,
  444.                             'hasCategoryImage': hasCategoryImage,
  445.                             'hasCategoryBgColor': hasCategoryBgColor,
  446.                             'isHeroSection': isHeroSection
  447.                         } %}
  448.                     {% endblock %}
  449.                 </div>
  450.             {% endblock %}
  451.         {% endblock %}
  452.     </div>
  453. {% endblock %}
  454. ""@zenitPlatformStratus/storefront/page/content/index.html.twig""/var/www/dev.artecon.426.agency/custom/plugins/zenitPlatformStratus/src/Resources/views/storefront/page/content/index.html.twig");
  455.     }
  456. }