var/cache/dev_ha61ef46992a3948952fe944d3fcb7240/twig/27/275d428f171e05f9cce56e63e56a1f909314f77dfa14bded2e7004dab1f66359.php line 242

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use Twig\Error\LoaderError;
  5. use Twig\Error\RuntimeError;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* @Storefront/storefront/element/cms-element-cross-selling.html.twig */
  15. class __TwigTemplate_9b02571c454c510fcdbd5e9d6095d0f1bec21470fa39227715d19cd7b3788e22 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.             'cms_element_cross_selling_tabs_inner' => [$this'block_cms_element_cross_selling_tabs_inner'],
  26.             'cms_element_cross_selling_tabs_navigation' => [$this'block_cms_element_cross_selling_tabs_navigation'],
  27.             'cms_element_cross_selling_tabs_navigation_container' => [$this'block_cms_element_cross_selling_tabs_navigation_container'],
  28.             'cms_element_cross_selling_tabs_content' => [$this'block_cms_element_cross_selling_tabs_content'],
  29.             'cms_element_cross_selling_tabs_content_container' => [$this'block_cms_element_cross_selling_tabs_content_container'],
  30.             'cms_element_cross_selling_tabs_content_container_slider' => [$this'block_cms_element_cross_selling_tabs_content_container_slider'],
  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/element/cms-element-cross-selling.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/element/cms-element-cross-selling.html.twig"));
  40.         // line 1
  41.         $this->displayBlock('cms_element_cross_selling_tabs_inner'$context$blocks);
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     public function block_cms_element_cross_selling_tabs_inner($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""cms_element_cross_selling_tabs_inner"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_inner"));
  54.         // line 2
  55.         echo "    ";
  56.         if ( !($context["sliderConfig"] ?? null)) {
  57.             // line 3
  58.             echo "        ";
  59.             $context["sliderConfig"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["element"] ?? null), "fieldConfig", [], "any"falsefalsefalse3), "elements", [], "any"falsefalsefalse3);
  60.             // line 4
  61.             echo "    ";
  62.         }
  63.         // line 5
  64.         echo "    <div class=\"product-detail-cross-selling\">
  65.         <div class=\"card card-tabs\" data-cross-selling=\"true\">
  66.             ";
  67.         // line 7
  68.         $this->displayBlock('cms_element_cross_selling_tabs_navigation'$context$blocks);
  69.         // line 38
  70.         echo "
  71.             ";
  72.         // line 39
  73.         $this->displayBlock('cms_element_cross_selling_tabs_content'$context$blocks);
  74.         // line 101
  75.         echo "        </div>
  76.     </div>
  77. ";
  78.         
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  80.         
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  82.     }
  83.     // line 7
  84.     public function block_cms_element_cross_selling_tabs_navigation($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_navigation"));
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_navigation"));
  91.         // line 8
  92.         echo "                <div class=\"card-header product-detail-tab-navigation product-cross-selling-tab-navigation\">
  93.                     ";
  94.         // line 9
  95.         $this->displayBlock('cms_element_cross_selling_tabs_navigation_container'$context$blocks);
  96.         // line 36
  97.         echo "                </div>
  98.             ";
  99.         
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  101.         
  102.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  103.     }
  104.     // line 9
  105.     public function block_cms_element_cross_selling_tabs_navigation_container($context, array $blocks = [])
  106.     {
  107.         $macros $this->macros;
  108.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  109.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_navigation_container"));
  110.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  111.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_navigation_container"));
  112.         // line 10
  113.         echo "                        <ul class=\"nav nav-tabs product-detail-tab-navigation-list\"
  114.                             id=\"product-detail-cross-selling-tabs\"
  115.                             role=\"tablist\">
  116.                             ";
  117.         // line 13
  118.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["element"] ?? null), "data", [], "any"falsetruefalse13), "crossSellings", [], "any"falsetruefalse13), "elements", [], "any"truetruefalse13)) {
  119.             // line 14
  120.             echo "                                ";
  121.             $context['_parent'] = $context;
  122.             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["element"] ?? null), "data", [], "any"falsefalsefalse14), "crossSellings", [], "any"falsefalsefalse14), "elements", [], "any"falsefalsefalse14), function ($__item__) use ($context$macros) { $context["item"] = $__item__; return ((=== twig_compare(sw_get_attribute($this->env$this->source$context["item"], "total", [], "any"falsefalsefalse14), 0)) && (=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source$context["item"], "crossSelling", [], "any"falsefalsefalse14), "active", [], "any"falsefalsefalse14), true))); }));
  123.             $context['loop'] = [
  124.               'parent' => $context['_parent'],
  125.               'index0' => 0,
  126.               'index'  => 1,
  127.               'first'  => true,
  128.             ];
  129.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  130.                 $length count($context['_seq']);
  131.                 $context['loop']['revindex0'] = $length 1;
  132.                 $context['loop']['revindex'] = $length;
  133.                 $context['loop']['length'] = $length;
  134.                 $context['loop']['last'] = === $length;
  135.             }
  136.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  137.                 // line 15
  138.                 echo "                                    ";
  139.                 $context["crossSelling"] = sw_get_attribute($this->env$this->source$context["item"], "crossSelling", [], "any"falsefalsefalse15);
  140.                 // line 16
  141.                 echo "                                    ";
  142.                 $context["products"] = sw_get_attribute($this->env$this->source$context["item"], "products", [], "any"falsefalsefalse16);
  143.                 // line 17
  144.                 echo "                                    ";
  145.                 $context["id"] = sw_get_attribute($this->env$this->source, ($context["crossSelling"] ?? null), "id", [], "any"falsefalsefalse17);
  146.                 // line 18
  147.                 echo "                                        <li class=\"nav-item\">
  148.                                             <a class=\"nav-link product-detail-tab-navigation-link";
  149.                 // line 19
  150.                 if (sw_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse19)) {
  151.                     echo " active";
  152.                 }
  153.                 echo "\"
  154.                                                id=\"cross-selling-tab-";
  155.                 // line 20
  156.                 echo twig_escape_filter($this->env, ($context["id"] ?? null), "html"nulltrue);
  157.                 echo "\"
  158.                                                ";
  159.                 // line 21
  160.                 echo twig_escape_filter($this->env, ($context["dataBsToggleAttr"] ?? null), "html"nulltrue);
  161.                 echo "=\"tab\"
  162.                                                href=\"#cross-selling-tab-";
  163.                 // line 22
  164.                 echo twig_escape_filter($this->env, ($context["id"] ?? null), "html"nulltrue);
  165.                 echo "-pane\"
  166.                                                role=\"tab\"
  167.                                                aria-controls=\"cross-selling-tab-";
  168.                 // line 24
  169.                 echo twig_escape_filter($this->env, ($context["id"] ?? null), "html"nulltrue);
  170.                 echo "-pane\"
  171.                                                aria-selected=\"true\">
  172.                                                 ";
  173.                 // line 26
  174.                 echo twig_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["crossSelling"] ?? null), "translated", [], "any"falsefalsefalse26), "name", [], "any"falsefalsefalse26), "html"nulltrue);
  175.                 echo "
  176.                                                 <span class=\"product-detail-tab-navigation-icon\">
  177.                                                     ";
  178.                 // line 28
  179.                 ((function () use ($context$blocks) {
  180.                     $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  181.                     $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  182.                     return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/element/cms-element-cross-selling.html.twig"28);
  183.                 })())->display(twig_array_merge($context, ["pack" => "solid""name" => "arrow-medium-right"]));
  184.                 // line 29
  185.                 echo "                                                </span>
  186.                                             </a>
  187.                                         </li>
  188.                                 ";
  189.                 ++$context['loop']['index0'];
  190.                 ++$context['loop']['index'];
  191.                 $context['loop']['first'] = false;
  192.                 if (isset($context['loop']['length'])) {
  193.                     --$context['loop']['revindex0'];
  194.                     --$context['loop']['revindex'];
  195.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  196.                 }
  197.             }
  198.             $_parent $context['_parent'];
  199.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  200.             $context array_intersect_key($context$_parent) + $_parent;
  201.             // line 33
  202.             echo "                            ";
  203.         }
  204.         // line 34
  205.         echo "                        </ul>
  206.                     ";
  207.         
  208.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  209.         
  210.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  211.     }
  212.     // line 39
  213.     public function block_cms_element_cross_selling_tabs_content($context, array $blocks = [])
  214.     {
  215.         $macros $this->macros;
  216.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  217.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_content"));
  218.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  219.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_content"));
  220.         // line 40
  221.         echo "                <div class=\"product-detail-tabs-content card-body\">
  222.                     ";
  223.         // line 41
  224.         $this->displayBlock('cms_element_cross_selling_tabs_content_container'$context$blocks);
  225.         // line 99
  226.         echo "                </div>
  227.             ";
  228.         
  229.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  230.         
  231.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  232.     }
  233.     // line 41
  234.     public function block_cms_element_cross_selling_tabs_content_container($context, array $blocks = [])
  235.     {
  236.         $macros $this->macros;
  237.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  238.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_content_container"));
  239.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  240.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_content_container"));
  241.         // line 42
  242.         echo "                        <div class=\"tab-content\">
  243.                             ";
  244.         // line 43
  245.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["element"] ?? null), "data", [], "any"falsetruefalse43), "crossSellings", [], "any"falsetruefalse43), "elements", [], "any"truetruefalse43)) {
  246.             // line 44
  247.             echo "                                ";
  248.             $context['_parent'] = $context;
  249.             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["element"] ?? null), "data", [], "any"falsefalsefalse44), "crossSellings", [], "any"falsefalsefalse44), "elements", [], "any"falsefalsefalse44), function ($__item__) use ($context$macros) { $context["item"] = $__item__; return ((=== twig_compare(sw_get_attribute($this->env$this->source$context["item"], "total", [], "any"falsefalsefalse44), 0)) && (=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source$context["item"], "crossSelling", [], "any"falsefalsefalse44), "active", [], "any"falsefalsefalse44), true))); }));
  250.             $context['loop'] = [
  251.               'parent' => $context['_parent'],
  252.               'index0' => 0,
  253.               'index'  => 1,
  254.               'first'  => true,
  255.             ];
  256.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  257.                 $length count($context['_seq']);
  258.                 $context['loop']['revindex0'] = $length 1;
  259.                 $context['loop']['revindex'] = $length;
  260.                 $context['loop']['length'] = $length;
  261.                 $context['loop']['last'] = === $length;
  262.             }
  263.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  264.                 // line 45
  265.                 echo "                                    ";
  266.                 $context["crossSelling"] = sw_get_attribute($this->env$this->source$context["item"], "crossSelling", [], "any"falsefalsefalse45);
  267.                 // line 46
  268.                 echo "                                    ";
  269.                 $context["products"] = sw_get_attribute($this->env$this->source$context["item"], "products", [], "any"falsefalsefalse46);
  270.                 // line 47
  271.                 echo "                                    ";
  272.                 $context["id"] = sw_get_attribute($this->env$this->source, ($context["crossSelling"] ?? null), "id", [], "any"falsefalsefalse47);
  273.                 // line 48
  274.                 echo "                                        <div class=\"tab-pane fade show";
  275.                 if (sw_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse48)) {
  276.                     echo " active";
  277.                 }
  278.                 echo "\"
  279.                                              id=\"cross-selling-tab-";
  280.                 // line 49
  281.                 echo twig_escape_filter($this->env, ($context["id"] ?? null), "html"nulltrue);
  282.                 echo "-pane\"
  283.                                              role=\"tabpanel\"
  284.                                              aria-labelledby=\"cross-selling-tab-";
  285.                 // line 51
  286.                 echo twig_escape_filter($this->env, ($context["id"] ?? null), "html"nulltrue);
  287.                 echo "\">
  288.                                             ";
  289.                 // line 52
  290.                 $context["config"] = ["title" => ["value" => sw_get_attribute($this->env$this->source,                 // line 54
  291. ($context["crossSelling"] ?? null), "name", [], "any"falsefalsefalse54)], "border" => ["value" => false], "rotate" => ["value" => false], "products" => ["value" =>                 // line 63
  292. ($context["products"] ?? null)], "boxLayout" => ["value" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,                 // line 66
  293. ($context["sliderConfig"] ?? null), "boxLayout", [], "any"falsefalsefalse66), "value", [], "any"falsefalsefalse66)], "elMinWidth" => ["value" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,                 // line 69
  294. ($context["sliderConfig"] ?? null), "elMinWidth", [], "any"falsefalsefalse69), "value", [], "any"falsefalsefalse69)], "navigation" => ["value" => true], "displayMode" => ["value" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,                 // line 75
  295. ($context["sliderConfig"] ?? null), "displayMode", [], "any"falsefalsefalse75), "value", [], "any"falsefalsefalse75)], "verticalAlign" => ["value" =>                 // line 78
  296. ($context["center"] ?? null)]];
  297.                 // line 81
  298.                 echo "
  299.                                             ";
  300.                 // line 82
  301.                 $this->displayBlock('cms_element_cross_selling_tabs_content_container_slider'$context$blocks);
  302.                 // line 93
  303.                 echo "
  304.                                         </div>
  305.                                 ";
  306.                 ++$context['loop']['index0'];
  307.                 ++$context['loop']['index'];
  308.                 $context['loop']['first'] = false;
  309.                 if (isset($context['loop']['length'])) {
  310.                     --$context['loop']['revindex0'];
  311.                     --$context['loop']['revindex'];
  312.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  313.                 }
  314.             }
  315.             $_parent $context['_parent'];
  316.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  317.             $context array_intersect_key($context$_parent) + $_parent;
  318.             // line 96
  319.             echo "                            ";
  320.         }
  321.         // line 97
  322.         echo "                        </div>
  323.                     ";
  324.         
  325.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  326.         
  327.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  328.     }
  329.     // line 82
  330.     public function block_cms_element_cross_selling_tabs_content_container_slider($context, array $blocks = [])
  331.     {
  332.         $macros $this->macros;
  333.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  334.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_content_container_slider"));
  335.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  336.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_content_container_slider"));
  337.         // line 83
  338.         echo "                                                ";
  339.         $this->loadTemplate("@Storefront/storefront/element/cms-element-product-slider.html.twig""@Storefront/storefront/element/cms-element-cross-selling.html.twig"83)->display(twig_array_merge($context, ["sliderConfig" =>         // line 84
  340. ($context["config"] ?? null), "element" => ["data" => ["products" =>         // line 87
  341. ($context["products"] ?? null)], "type" => "product-slider"]]));
  342.         // line 92
  343.         echo "                                            ";
  344.         
  345.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  346.         
  347.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  348.     }
  349.     public function getTemplateName()
  350.     {
  351.         return "@Storefront/storefront/element/cms-element-cross-selling.html.twig";
  352.     }
  353.     public function getDebugInfo()
  354.     {
  355.         return array (  383 => 92,  381 => 87,  380 => 84,  378 => 83,  368 => 82,  357 => 97,  354 => 96,  338 => 93,  336 => 82,  333 => 81,  331 => 78,  330 => 75,  329 => 69,  328 => 66,  327 => 63,  326 => 54,  325 => 52,  321 => 51,  316 => 49,  309 => 48,  306 => 47,  303 => 46,  300 => 45,  282 => 44,  280 => 43,  277 => 42,  267 => 41,  256 => 99,  254 => 41,  251 => 40,  241 => 39,  230 => 34,  227 => 33,  210 => 29,  202 => 28,  197 => 26,  192 => 24,  187 => 22,  183 => 21,  179 => 20,  173 => 19,  170 => 18,  167 => 17,  164 => 16,  161 => 15,  143 => 14,  141 => 13,  136 => 10,  126 => 9,  115 => 36,  113 => 9,  110 => 8,  100 => 7,  88 => 101,  86 => 39,  83 => 38,  81 => 7,  77 => 5,  74 => 4,  71 => 3,  68 => 2,  49 => 1,);
  356.     }
  357.     public function getSourceContext()
  358.     {
  359.         return new Source("{% block cms_element_cross_selling_tabs_inner %}
  360.     {% if not sliderConfig %}
  361.         {% set sliderConfig = element.fieldConfig.elements %}
  362.     {% endif %}
  363.     <div class=\"product-detail-cross-selling\">
  364.         <div class=\"card card-tabs\" data-cross-selling=\"true\">
  365.             {% block cms_element_cross_selling_tabs_navigation %}
  366.                 <div class=\"card-header product-detail-tab-navigation product-cross-selling-tab-navigation\">
  367.                     {% block cms_element_cross_selling_tabs_navigation_container %}
  368.                         <ul class=\"nav nav-tabs product-detail-tab-navigation-list\"
  369.                             id=\"product-detail-cross-selling-tabs\"
  370.                             role=\"tablist\">
  371.                             {% if element.data.crossSellings.elements is defined %}
  372.                                 {% for item in element.data.crossSellings.elements|filter(item => item.total > 0 and item.crossSelling.active == true) %}
  373.                                     {% set crossSelling = item.crossSelling %}
  374.                                     {% set products = item.products %}
  375.                                     {% set id = crossSelling.id %}
  376.                                         <li class=\"nav-item\">
  377.                                             <a class=\"nav-link product-detail-tab-navigation-link{% if loop.first %} active{% endif %}\"
  378.                                                id=\"cross-selling-tab-{{ id }}\"
  379.                                                {{ dataBsToggleAttr }}=\"tab\"
  380.                                                href=\"#cross-selling-tab-{{ id }}-pane\"
  381.                                                role=\"tab\"
  382.                                                aria-controls=\"cross-selling-tab-{{ id }}-pane\"
  383.                                                aria-selected=\"true\">
  384.                                                 {{ crossSelling.translated.name }}
  385.                                                 <span class=\"product-detail-tab-navigation-icon\">
  386.                                                     {% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
  387.                                                 </span>
  388.                                             </a>
  389.                                         </li>
  390.                                 {% endfor %}
  391.                             {% endif %}
  392.                         </ul>
  393.                     {% endblock %}
  394.                 </div>
  395.             {% endblock %}
  396.             {% block cms_element_cross_selling_tabs_content %}
  397.                 <div class=\"product-detail-tabs-content card-body\">
  398.                     {% block cms_element_cross_selling_tabs_content_container %}
  399.                         <div class=\"tab-content\">
  400.                             {% if element.data.crossSellings.elements is defined %}
  401.                                 {% for item in element.data.crossSellings.elements|filter(item => item.total > 0 and item.crossSelling.active == true) %}
  402.                                     {% set crossSelling = item.crossSelling %}
  403.                                     {% set products = item.products %}
  404.                                     {% set id = crossSelling.id %}
  405.                                         <div class=\"tab-pane fade show{% if loop.first %} active{% endif %}\"
  406.                                              id=\"cross-selling-tab-{{ id }}-pane\"
  407.                                              role=\"tabpanel\"
  408.                                              aria-labelledby=\"cross-selling-tab-{{ id }}\">
  409.                                             {% set config = {
  410.                                                 'title': {
  411.                                                     'value': crossSelling.name
  412.                                                 },
  413.                                                 'border': {
  414.                                                     'value': false
  415.                                                 },
  416.                                                 'rotate': {
  417.                                                     'value': false
  418.                                                 },
  419.                                                 'products': {
  420.                                                     'value': products
  421.                                                 },
  422.                                                 'boxLayout': {
  423.                                                     'value': sliderConfig.boxLayout.value
  424.                                                 },
  425.                                                 'elMinWidth': {
  426.                                                     'value': sliderConfig.elMinWidth.value
  427.                                                 },
  428.                                                 'navigation': {
  429.                                                     'value': true
  430.                                                 },
  431.                                                 'displayMode': {
  432.                                                     'value': sliderConfig.displayMode.value
  433.                                                 },
  434.                                                 'verticalAlign': {
  435.                                                     'value': center
  436.                                                 }
  437.                                             } %}
  438.                                             {% block cms_element_cross_selling_tabs_content_container_slider %}
  439.                                                 {% sw_include \"@Storefront/storefront/element/cms-element-product-slider.html.twig\" with {
  440.                                                     sliderConfig: config,
  441.                                                     element: {
  442.                                                         'data': {
  443.                                                             'products': products
  444.                                                         },
  445.                                                         type: 'product-slider'
  446.                                                     }
  447.                                                 } %}
  448.                                             {% endblock %}
  449.                                         </div>
  450.                                 {% endfor %}
  451.                             {% endif %}
  452.                         </div>
  453.                     {% endblock %}
  454.                 </div>
  455.             {% endblock %}
  456.         </div>
  457.     </div>
  458. {% endblock %}
  459. ""@Storefront/storefront/element/cms-element-cross-selling.html.twig""/www/htdocs/w01c128a/atngmbh.webneo-demo.de/www/vendor/shopware/storefront/Resources/views/storefront/element/cms-element-cross-selling.html.twig");
  460.     }
  461. }