<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* website/includes/search-section.html.twig */
class __TwigTemplate_dfbdac4191d780635bf8785aa4b8a0230548f5d644d46c46d97050428321f5bc extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "website/includes/search-section.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "website/includes/search-section.html.twig"));
// line 1
if ((isset($context["hasProducts"]) || array_key_exists("hasProducts", $context) ? $context["hasProducts"] : (function () { throw new RuntimeError('Variable "hasProducts" does not exist.', 1, $this->source); })())) {
// line 2
echo "\t";
if ((((array_key_exists("banners", $context) && array_key_exists("homeLayoutSections", $context)) && (1 === twig_compare(twig_length_filter($this->env, (isset($context["banners"]) || array_key_exists("banners", $context) ? $context["banners"] : (function () { throw new RuntimeError('Variable "banners" does not exist.', 2, $this->source); })())), 0))) && twig_get_attribute($this->env, $this->source, (isset($context["homeLayoutSections"]) || array_key_exists("homeLayoutSections", $context) ? $context["homeLayoutSections"] : (function () { throw new RuntimeError('Variable "homeLayoutSections" does not exist.', 2, $this->source); })()), "bannerSection", [], "any", false, false, false, 2))) {
// line 3
echo "\t\t<div class=\"busca-contem-banner ";
if ((array_key_exists("section", $context) && 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.', 3, $this->source); })()), "background", [], "any", false, false, false, 3))) {
echo " sec-bg-alt";
}
echo "\">
\t\t\t<div class=\"container\">
\t\t\t\t";
// line 5
$this->loadTemplate("website/includes/search-form-section.html.twig", "website/includes/search-section.html.twig", 5)->display($context);
// line 6
echo "\t\t\t</div>
\t\t</div>
\t";
} else {
// line 9
echo "\t\t<div class=\"busca-contem-topo\">
\t\t\t<div class=\"container\">
\t\t \t";
// line 11
$this->loadTemplate("website/includes/search-form-section.html.twig", "website/includes/search-section.html.twig", 11)->display($context);
// line 12
echo "\t\t </div>
\t\t</div>
\t";
}
}
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "website/includes/search-section.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 69 => 12, 67 => 11, 63 => 9, 58 => 6, 56 => 5, 48 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% if hasProducts %}
\t{% if banners is defined and homeLayoutSections is defined and banners|length > 0 and homeLayoutSections.bannerSection %}
\t\t<div class=\"busca-contem-banner {% if section is defined and section.background %} sec-bg-alt{% endif %}\">
\t\t\t<div class=\"container\">
\t\t\t\t{% include 'website/includes/search-form-section.html.twig' %}
\t\t\t</div>
\t\t</div>
\t{% else %}
\t\t<div class=\"busca-contem-topo\">
\t\t\t<div class=\"container\">
\t\t \t{% include 'website/includes/search-form-section.html.twig' %}
\t\t </div>
\t\t</div>
\t{% endif %}
{% endif %}", "website/includes/search-section.html.twig", "/var/www/html/templates/website/includes/search-section.html.twig");
}
}