var/cache/dev/twig/ca/ca50ef18e3de04257df03df0b03b6a208123b87f5bba19fb1980de3081aba347.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* website/home/section.html.twig */
  14. class __TwigTemplate_1a9dee0b8fd7956b2adb1224ebc47b1fd33035acecd8deb8fe2a7232fb8ec28e extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/home/section.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/home/section.html.twig"));
  33.         // line 1
  34.         $macros["__internal_84f63695ec253397858c3345eae212def1dd7a8e297a23a99d4742682a833512"] = $this->macros["__internal_84f63695ec253397858c3345eae212def1dd7a8e297a23a99d4742682a833512"] = $this->loadTemplate("utils.html.twig""website/home/section.html.twig"1)->unwrap();
  35.         // line 2
  36.         echo "
  37. ";
  38.         // line 3
  39.         $context["items"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->pageSectionItems((isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'3$this->source); })()));
  40.         // line 4
  41.         $context["itemTemplate"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->pageSectionTemplateItem((isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'4$this->source); })()));
  42.         // line 5
  43.         $context["background"] = (((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'5$this->source); })()), "background", [], "any"falsefalsefalse5), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("PageSectionEnum::YES")))) ? ("sec-bg-alt") : (null));
  44.         // line 6
  45.         $context["format"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->pageSectionFormat(twig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'6$this->source); })()), "type", [], "any"falsefalsefalse6));
  46.         // line 7
  47.         $context["positionItem"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->pageSectionPosition(twig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'7$this->source); })()), "positionItem", [], "any"falsefalsefalse7));
  48.         // line 8
  49.         $context["positionText"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->pageSectionPosition(twig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'8$this->source); })()), "positionText", [], "any"falsefalsefalse8));
  50.         // line 9
  51.         $context["perLine"] = (((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'9$this->source); })()), "numberPerline", [], "any"falsefalsefalse9), twig_length_filter($this->env, (isset($context["items"]) || array_key_exists("items"$context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.'9$this->source); })()))))) ? (twig_length_filter($this->env, (isset($context["items"]) || array_key_exists("items"$context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.'9$this->source); })()))) : (twig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'9$this->source); })()), "numberPerline", [], "any"falsefalsefalse9)));
  52.         // line 10
  53.         $context["ofLines"] = twig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'10$this->source); })()), "numberOfline", [], "any"falsefalsefalse10);
  54.         // line 11
  55.         $context["slider"] = (((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'11$this->source); })()), "slider", [], "any"falsefalsefalse11), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("PageSectionEnum::YES")))) ? (true) : (false));
  56.         // line 12
  57.         $context["showAll"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->pageSectionShowAll((isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'12$this->source); })()));
  58.         // line 13
  59.         $context["linkAll"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->pageSectionLinkAll((isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'13$this->source); })()));
  60.         // line 14
  61.         echo "
  62. ";
  63.         // line 15
  64.         $context["sectionClasses"] = twig_array_filter($this->env, [=> "pag-sec"=> ("sec-" .         // line 17
  65. (isset($context["format"]) || array_key_exists("format"$context) ? $context["format"] : (function () { throw new RuntimeError('Variable "format" does not exist.'17$this->source); })())), =>         // line 18
  66. (isset($context["background"]) || array_key_exists("background"$context) ? $context["background"] : (function () { throw new RuntimeError('Variable "background" does not exist.'18$this->source); })()), => ((        // line 19
  67. (isset($context["slider"]) || array_key_exists("slider"$context) ? $context["slider"] : (function () { throw new RuntimeError('Variable "slider" does not exist.'19$this->source); })())) ? ("slider slider-destaques") : (null)), => ("sec-items-" .         // line 20
  68. (isset($context["positionItem"]) || array_key_exists("positionItem"$context) ? $context["positionItem"] : (function () { throw new RuntimeError('Variable "positionItem" does not exist.'20$this->source); })())), => ("sec-text-" .         // line 21
  69. (isset($context["positionText"]) || array_key_exists("positionText"$context) ? $context["positionText"] : (function () { throw new RuntimeError('Variable "positionText" does not exist.'21$this->source); })()))],         // line 22
  70. function ($__class__) use ($context$macros) { $context["class"] = $__class__; return  !twig_test_empty((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'22$this->source); })())); });
  71.         // line 24
  72.         echo "
  73. ";
  74.         // line 25
  75.         if ((=== twig_compare(twig_length_filter($this->env, (isset($context["items"]) || array_key_exists("items"$context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.'25$this->source); })())), 0))) {
  76.             // line 26
  77.             echo "    <section class=\"";
  78.             echo twig_escape_filter($this->envtwig_trim_filter(twig_join_filter((isset($context["sectionClasses"]) || array_key_exists("sectionClasses"$context) ? $context["sectionClasses"] : (function () { throw new RuntimeError('Variable "sectionClasses" does not exist.'26$this->source); })()), " ")), "html"nulltrue);
  79.             echo "\" id=\"sec-content-";
  80.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'26$this->source); })()), "id", [], "any"falsefalsefalse26), "html"nulltrue);
  81.             echo "\">
  82.         <div id=\"container-";
  83.             // line 27
  84.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'27$this->source); })()), "id", [], "any"falsefalsefalse27), "html"nulltrue);
  85.             echo "\" class=\"";
  86.             echo (( !((isset($context["format"]) || array_key_exists("format"$context) ? $context["format"] : (function () { throw new RuntimeError('Variable "format" does not exist.'27$this->source); })()) === "expand")) ? ("container-boxes") : ("container"));
  87.             echo "\">
  88.             <header class=\"tit-sec\">
  89.                 <h2>";
  90.             // line 29
  91.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'29$this->source); })()), "title", [], "any"falsefalsefalse29), "html"nulltrue);
  92.             echo "</h2>
  93.                 <span class=\"sub\">";
  94.             // line 30
  95.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'30$this->source); })()), "subtitle", [], "any"falsefalsefalse30), "html"nulltrue);
  96.             echo "</span>
  97.             </header>
  98.             ";
  99.             // line 34
  100.             echo "            <div class=\"items-section items-";
  101.             echo twig_escape_filter($this->env, (isset($context["format"]) || array_key_exists("format"$context) ? $context["format"] : (function () { throw new RuntimeError('Variable "format" does not exist.'34$this->source); })()), "html"nulltrue);
  102.             (( !((isset($context["format"]) || array_key_exists("format"$context) ? $context["format"] : (function () { throw new RuntimeError('Variable "format" does not exist.'34$this->source); })()) === "expand")) ? (print (twig_escape_filter($this->env, (" items-line-" . (isset($context["perLine"]) || array_key_exists("perLine"$context) ? $context["perLine"] : (function () { throw new RuntimeError('Variable "perLine" does not exist.'34$this->source); })())), "html"nulltrue))) : (print ("")));
  103.             echo "\">
  104.                 ";
  105.             // line 36
  106.             if ((isset($context["slider"]) || array_key_exists("slider"$context) ? $context["slider"] : (function () { throw new RuntimeError('Variable "slider" does not exist.'36$this->source); })())) {
  107.                 // line 37
  108.                 echo "                    ";
  109.                 // line 38
  110.                 echo "                    <div id=\"arrows-slider-";
  111.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'38$this->source); })()), "id", [], "any"falsefalsefalse38), "html"nulltrue);
  112.                 echo "\" class=\"tns-arrows\">
  113.                         <button class=\"slider-seta slider-seta-prev\">";
  114.                 // line 39
  115.                 echo twig_call_macro($macros["__internal_84f63695ec253397858c3345eae212def1dd7a8e297a23a99d4742682a833512"], "macro_ico", ["arrow-left"], 39$context$this->getSourceContext());
  116.                 echo "</button>
  117.                         <button class=\"slider-seta slider-seta-next\">";
  118.                 // line 40
  119.                 echo twig_call_macro($macros["__internal_84f63695ec253397858c3345eae212def1dd7a8e297a23a99d4742682a833512"], "macro_ico", ["arrow-right"], 40$context$this->getSourceContext());
  120.                 echo "</button>
  121.                     </div>
  122.                 ";
  123.             }
  124.             // line 43
  125.             echo "
  126.                 ";
  127.             // line 45
  128.             echo "                <div
  129.                     ";
  130.             // line 46
  131.             if ((isset($context["slider"]) || array_key_exists("slider"$context) ? $context["slider"] : (function () { throw new RuntimeError('Variable "slider" does not exist.'46$this->source); })())) {
  132.                 // line 47
  133.                 echo "                        id=\"slider-";
  134.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["section"]) || array_key_exists("section"$context) ? $context["section"] : (function () { throw new RuntimeError('Variable "section" does not exist.'47$this->source); })()), "id", [], "any"falsefalsefalse47), "html"nulltrue);
  135.                 echo "\" class=\"js--slider\" data-slider-items=\"";
  136.                 echo twig_escape_filter($this->env, (isset($context["perLine"]) || array_key_exists("perLine"$context) ? $context["perLine"] : (function () { throw new RuntimeError('Variable "perLine" does not exist.'47$this->source); })()), "html"nulltrue);
  137.                 echo "\"
  138.                         data-slider-options-label=\"slider-";
  139.                 // line 48
  140.                 echo twig_escape_filter($this->env, (isset($context["format"]) || array_key_exists("format"$context) ? $context["format"] : (function () { throw new RuntimeError('Variable "format" does not exist.'48$this->source); })()), "html"nulltrue);
  141.                 echo "\"
  142.                     ";
  143.             } else {
  144.                 // line 50
  145.                 echo "                        class=\"products-list-";
  146.                 echo twig_escape_filter($this->env, (isset($context["format"]) || array_key_exists("format"$context) ? $context["format"] : (function () { throw new RuntimeError('Variable "format" does not exist.'50$this->source); })()), "html"nulltrue);
  147.                 echo "\"
  148.                     ";
  149.             }
  150.             // line 51
  151.             echo ">
  152.                     ";
  153.             // line 52
  154.             $context['_parent'] = $context;
  155.             $context['_seq'] = twig_ensure_traversable((isset($context["items"]) || array_key_exists("items"$context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.'52$this->source); })()));
  156.             $context['loop'] = [
  157.               'parent' => $context['_parent'],
  158.               'index0' => 0,
  159.               'index'  => 1,
  160.               'first'  => true,
  161.             ];
  162.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  163.                 $length count($context['_seq']);
  164.                 $context['loop']['revindex0'] = $length 1;
  165.                 $context['loop']['revindex'] = $length;
  166.                 $context['loop']['length'] = $length;
  167.                 $context['loop']['last'] = === $length;
  168.             }
  169.             foreach ($context['_seq'] as $context["ind"] => $context["item"]) {
  170.                 // line 53
  171.                 echo "                        ";
  172.                 $this->loadTemplate((isset($context["itemTemplate"]) || array_key_exists("itemTemplate"$context) ? $context["itemTemplate"] : (function () { throw new RuntimeError('Variable "itemTemplate" does not exist.'53$this->source); })()), "website/home/section.html.twig"53)->display(twig_array_merge($context, ["item" => $context["item"], "format" => (isset($context["format"]) || array_key_exists("format"$context) ? $context["format"] : (function () { throw new RuntimeError('Variable "format" does not exist.'53$this->source); })()), "ind" => ($context["ind"] + 1)]));
  173.                 // line 54
  174.                 echo "                    ";
  175.                 ++$context['loop']['index0'];
  176.                 ++$context['loop']['index'];
  177.                 $context['loop']['first'] = false;
  178.                 if (isset($context['loop']['length'])) {
  179.                     --$context['loop']['revindex0'];
  180.                     --$context['loop']['revindex'];
  181.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  182.                 }
  183.             }
  184.             $_parent $context['_parent'];
  185.             unset($context['_seq'], $context['_iterated'], $context['ind'], $context['item'], $context['_parent'], $context['loop']);
  186.             $context array_intersect_key($context$_parent) + $_parent;
  187.             // line 55
  188.             echo "
  189.                     ";
  190.             // line 57
  191.             echo "                    ";
  192.             if (((isset($context["showAll"]) || array_key_exists("showAll"$context) ? $context["showAll"] : (function () { throw new RuntimeError('Variable "showAll" does not exist.'57$this->source); })()) && (isset($context["slider"]) || array_key_exists("slider"$context) ? $context["slider"] : (function () { throw new RuntimeError('Variable "slider" does not exist.'57$this->source); })()))) {
  193.                 // line 58
  194.                 echo "                        <div class=\"sec--";
  195.                 echo twig_escape_filter($this->env, (isset($context["format"]) || array_key_exists("format"$context) ? $context["format"] : (function () { throw new RuntimeError('Variable "format" does not exist.'58$this->source); })()), "html"nulltrue);
  196.                 echo "\">
  197.                             <div class=\"";
  198.                 // line 59
  199.                 echo (( !((isset($context["format"]) || array_key_exists("format"$context) ? $context["format"] : (function () { throw new RuntimeError('Variable "format" does not exist.'59$this->source); })()) === "default")) ? ("item") : ("item-curso"));
  200.                 echo "\">
  201.                                 <a class=\"link-all\" href=\"";
  202.                 // line 60
  203.                 echo twig_escape_filter($this->env, (isset($context["linkAll"]) || array_key_exists("linkAll"$context) ? $context["linkAll"] : (function () { throw new RuntimeError('Variable "linkAll" does not exist.'60$this->source); })()), "html"nulltrue);
  204.                 echo "\">
  205.                                     ";
  206.                 // line 61
  207.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("see_all""product"), "html"nulltrue);
  208.                 // line 62
  209.                 echo "&nbsp;";
  210.                 echo twig_call_macro($macros["__internal_84f63695ec253397858c3345eae212def1dd7a8e297a23a99d4742682a833512"], "macro_ico", ["arrow-right"], 62$context$this->getSourceContext());
  211.                 // line 63
  212.                 echo "
  213.                                 </a>
  214.                             </div>
  215.                         </div>
  216.                     ";
  217.             }
  218.             // line 68
  219.             echo "                </div>
  220.             </div>
  221.             ";
  222.             // line 72
  223.             echo "            ";
  224.             if (((isset($context["showAll"]) || array_key_exists("showAll"$context) ? $context["showAll"] : (function () { throw new RuntimeError('Variable "showAll" does not exist.'72$this->source); })()) &&  !(isset($context["slider"]) || array_key_exists("slider"$context) ? $context["slider"] : (function () { throw new RuntimeError('Variable "slider" does not exist.'72$this->source); })()))) {
  225.                 // line 73
  226.                 echo "                <div class=\"btn-box btn-box-home\">
  227.                     <a id=\"btn-product-section\" class=\"btn-ver\" href=\"";
  228.                 // line 74
  229.                 echo twig_escape_filter($this->env, (isset($context["linkAll"]) || array_key_exists("linkAll"$context) ? $context["linkAll"] : (function () { throw new RuntimeError('Variable "linkAll" does not exist.'74$this->source); })()), "html"nulltrue);
  230.                 echo "\">";
  231.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("see_all""product"), "html"nulltrue);
  232.                 echo "</a>
  233.                 </div>
  234.             ";
  235.             }
  236.             // line 77
  237.             echo "        </div>
  238.     </section>
  239. ";
  240.         }
  241.         
  242.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  243.         
  244.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  245.     }
  246.     public function getTemplateName()
  247.     {
  248.         return "website/home/section.html.twig";
  249.     }
  250.     public function isTraitable()
  251.     {
  252.         return false;
  253.     }
  254.     public function getDebugInfo()
  255.     {
  256.         return array (  249 => 77,  241 => 74,  238 => 73,  235 => 72,  230 => 68,  223 => 63,  220 => 62,  218 => 61,  214 => 60,  210 => 59,  205 => 58,  202 => 57,  199 => 55,  185 => 54,  182 => 53,  165 => 52,  162 => 51,  156 => 50,  151 => 48,  144 => 47,  142 => 46,  139 => 45,  136 => 43,  130 => 40,  126 => 39,  121 => 38,  119 => 37,  117 => 36,  110 => 34,  104 => 30,  100 => 29,  93 => 27,  86 => 26,  84 => 25,  81 => 24,  79 => 22,  78 => 21,  77 => 20,  76 => 19,  75 => 18,  74 => 17,  73 => 15,  70 => 14,  68 => 13,  66 => 12,  64 => 11,  62 => 10,  60 => 9,  58 => 8,  56 => 7,  54 => 6,  52 => 5,  50 => 4,  48 => 3,  45 => 2,  43 => 1,);
  257.     }
  258.     public function getSourceContext()
  259.     {
  260.         return new Source("{% from 'utils.html.twig' import ico %}
  261. {% set items = pageSectionItems(section) %}
  262. {% set itemTemplate = pageSectionTemplateItem(section) %}
  263. {% set background = section.background == enum('PageSectionEnum::YES') ? 'sec-bg-alt' : null %}
  264. {% set format = pageSectionFormat(section.type) %}
  265. {% set positionItem = pageSectionPosition(section.positionItem) %}
  266. {% set positionText = pageSectionPosition(section.positionText) %}
  267. {% set perLine = (section.numberPerline > items|length)? items|length : section.numberPerline %}
  268. {% set ofLines = section.numberOfline  %}
  269. {% set slider = section.slider == enum('PageSectionEnum::YES') ? true : false %}
  270. {% set showAll = pageSectionShowAll(section) %}
  271. {% set linkAll = pageSectionLinkAll(section) %}
  272. {% set sectionClasses = [
  273.         'pag-sec', 
  274.         \"sec-#{format}\", 
  275.         background, 
  276.         (slider? 'slider slider-destaques':null),
  277.         \"sec-items-#{positionItem}\", 
  278.         \"sec-text-#{positionText}\"
  279.     ]|filter(class=> class is not empty)
  280. %}
  281. {% if items|length > 0 %}
  282.     <section class=\"{{ sectionClasses|join(' ')|trim }}\" id=\"sec-content-{{ section.id }}\">
  283.         <div id=\"container-{{ section.id }}\" class=\"{{ format is not same as('expand')? 'container-boxes' : 'container' }}\">
  284.             <header class=\"tit-sec\">
  285.                 <h2>{{ section.title }}</h2>
  286.                 <span class=\"sub\">{{ section.subtitle }}</span>
  287.             </header>
  288.             {# BOXES | SLIDER #}
  289.             <div class=\"items-section items-{{ format }}{{ format is not same as('expand')? \" items-line-#{perLine}\" }}\">
  290.                 {% if slider %}
  291.                     {# SLIDER ARROWS #}
  292.                     <div id=\"arrows-slider-{{ section.id }}\" class=\"tns-arrows\">
  293.                         <button class=\"slider-seta slider-seta-prev\">{{ ico('arrow-left')  }}</button>
  294.                         <button class=\"slider-seta slider-seta-next\">{{ ico('arrow-right') }}</button>
  295.                     </div>
  296.                 {% endif %}
  297.                 {# SLIDER ITEMS #}
  298.                 <div
  299.                     {% if slider %}
  300.                         id=\"slider-{{ section.id }}\" class=\"js--slider\" data-slider-items=\"{{ perLine }}\"
  301.                         data-slider-options-label=\"slider-{{ format }}\"
  302.                     {% else %}
  303.                         class=\"products-list-{{ format }}\"
  304.                     {% endif %}>
  305.                     {% for ind, item in items %}
  306.                         {% include itemTemplate with { item: item, format: format, ind: ind+1 }%}
  307.                     {% endfor %}
  308.                     {# SHOW MORE #}
  309.                     {% if showAll and slider %}
  310.                         <div class=\"sec--{{ format }}\">
  311.                             <div class=\"{{ format is not same as('default')? \"item\":\"item-curso\" }}\">
  312.                                 <a class=\"link-all\" href=\"{{ linkAll }}\">
  313.                                     {{ 
  314.                                         getLanguage('see_all', 'product') }}&nbsp;{{ ico('arrow-right')
  315.                                     }}
  316.                                 </a>
  317.                             </div>
  318.                         </div>
  319.                     {% endif %}
  320.                 </div>
  321.             </div>
  322.             {# SHOW MORE #}
  323.             {% if showAll and not slider %}
  324.                 <div class=\"btn-box btn-box-home\">
  325.                     <a id=\"btn-product-section\" class=\"btn-ver\" href=\"{{ linkAll }}\">{{ getLanguage('see_all', 'product') }}</a>
  326.                 </div>
  327.             {% endif %}
  328.         </div>
  329.     </section>
  330. {% endif %}
  331. ""website/home/section.html.twig""/var/www/html/templates/website/home/section.html.twig");
  332.     }
  333. }