<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;

/* /var/www/html/october_cms_projects/dil_website/themes/demo/partials/site/nav-links.htm */
class __TwigTemplate_5767c36ff1b6e749a77e86c19b3ee671 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $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 = []): iterable
    {
        $macros = $this->macros;
        // line 1
        $context["activeNavLink"] = ((array_key_exists("activeNavLink", $context)) ? (Twig\Extension\CoreExtension::default(($context["activeNavLink"] ?? null), Cms\Twig\GetAttrNode::customGetAttribute($this->env, $this->source, Cms\Twig\GetAttrNode::customGetAttribute($this->env, $this->source, ($context["this"] ?? null), "page", [], "any", false, false, false, 1), "id", [], "any", false, false, false, 1))) : (Cms\Twig\GetAttrNode::customGetAttribute($this->env, $this->source, Cms\Twig\GetAttrNode::customGetAttribute($this->env, $this->source, ($context["this"] ?? null), "page", [], "any", false, false, false, 1), "id", [], "any", false, false, false, 1)));
        // line 2
        yield "
<li class=\"nav-item\">
    <a class=\"nav-link ";
        // line 4
        yield (((($context["activeNavLink"] ?? null) == "index")) ? ("active") : (""));
        yield "\" href=\"";
        yield $this->extensions['Cms\Twig\Extension']->pageFilter("index");
        yield "\">Home</a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link ";
        // line 7
        yield (((($context["activeNavLink"] ?? null) == "plant")) ? ("active") : (""));
        yield "\" href=\"";
        yield $this->extensions['Cms\Twig\Extension']->pageFilter("plant");
        yield "\">Plant</a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link ";
        // line 10
        yield (((($context["activeNavLink"] ?? null) == "wiki")) ? ("active") : (""));
        yield "\" href=\"#\">Performance</a>
</li>
<li class=\"nav-item dropdown\">
    <a class=\"nav-link ";
        // line 13
        yield (((($context["activeNavLink"] ?? null) == "about")) ? ("active") : (""));
        yield "\" href=\"#\">ESG</a>
    ";
        // line 17
        yield "</li>
<li class=\"nav-item\">
    <a class=\"nav-link ";
        // line 19
        yield (((($context["activeNavLink"] ?? null) == "wiki")) ? ("active") : (""));
        yield "\" href=\"#\">CSR</a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link ";
        // line 22
        yield (((($context["activeNavLink"] ?? null) == "wiki")) ? ("active") : (""));
        yield "\" href=\"#\">Board Of Directors  </a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link ";
        // line 25
        yield (((($context["activeNavLink"] ?? null) == "wiki")) ? ("active") : (""));
        yield "\" href=\"#\"> Awards and Accolades </a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link ";
        // line 28
        yield (((($context["activeNavLink"] ?? null) == "wiki")) ? ("active") : (""));
        yield "\" href=\"#\">Corporate Information</a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link ";
        // line 31
        yield (((($context["activeNavLink"] ?? null) == "contact")) ? ("active") : (""));
        yield "\" href=\"";
        yield $this->extensions['Cms\Twig\Extension']->pageFilter("contact");
        yield "\">Contact </a>
</li>
";
        // line 36
        if ((($tmp = Cms\Twig\GetAttrNode::customGetAttribute($this->env, $this->source, ($context["sitePicker"] ?? null), "isEnabled", [], "any", false, false, false, 36)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 37
            yield "    ";
        } elseif ((($tmp =         // line 51
($context["backendUrl"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 52
            yield "    ";
        }
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "/var/www/html/october_cms_projects/dil_website/themes/demo/partials/site/nav-links.htm";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  115 => 52,  113 => 51,  111 => 37,  109 => 36,  102 => 31,  96 => 28,  90 => 25,  84 => 22,  78 => 19,  74 => 17,  70 => 13,  64 => 10,  56 => 7,  48 => 4,  44 => 2,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% set activeNavLink = activeNavLink|default(this.page.id) %}

<li class=\"nav-item\">
    <a class=\"nav-link {{ activeNavLink == 'index' ? 'active' }}\" href=\"{{ 'index'|page }}\">Home</a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link {{ activeNavLink == 'plant' ? 'active' }}\" href=\"{{ 'plant'|page }}\">Plant</a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link {{ activeNavLink == 'wiki' ? 'active' }}\" href=\"#\">Performance</a>
</li>
<li class=\"nav-item dropdown\">
    <a class=\"nav-link {{ activeNavLink == 'about' ? 'active' }}\" href=\"#\">ESG</a>
    {# <ul class=\"sub-menu\">
        <li class=\"nav-item\"><a class=\"nav-link {{ activeNavLink == 'about' ? 'active' }}\" href=\"#\">Employee Welfare</a></li>
    </ul> #}
</li>
<li class=\"nav-item\">
    <a class=\"nav-link {{ activeNavLink == 'wiki' ? 'active' }}\" href=\"#\">CSR</a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link {{ activeNavLink == 'wiki' ? 'active' }}\" href=\"#\">Board Of Directors  </a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link {{ activeNavLink == 'wiki' ? 'active' }}\" href=\"#\"> Awards and Accolades </a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link {{ activeNavLink == 'wiki' ? 'active' }}\" href=\"#\">Corporate Information</a>
</li>
<li class=\"nav-item\">
    <a class=\"nav-link {{ activeNavLink == 'contact' ? 'active' }}\" href=\"{{ 'contact'|page }}\">Contact </a>
</li>
{# <li class=\"nav-item\">
    <a class=\"nav-link {{ activeNavLink == 'components' ? 'active' }}\" href=\"{{ 'components'|page }}\">Components Demo</a>
</li> #}
{% if sitePicker.isEnabled %}
    {# <li class=\"nav-item dropdown\">
        <a class=\"btn btn-outline-light dropdown-toggle\" href=\"{{ this|page }}\" id=\"navbarDropdown\" role=\"button\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">
            {{ this.site.name|default('Sites') }}
        </a>
        <ul class=\"dropdown-menu\" aria-labelledby=\"navbarDropdown\">
            {% for site in sitePicker.sites %}
                <li><a class=\"dropdown-item {{ this.site.code == site.code ? 'active' }}\" href=\"{{ site.url }}\">{{ site.name }}</a></li>
            {% endfor %}
            {% if backendUrl %}
                <li><hr class=\"dropdown-divider\"></li>
                <li><a class=\"dropdown-item\" href=\"{{ backendUrl }}\">Backend Area</a></li>
            {% endif %}
        </ul>
    </li> #}
{% elseif backendUrl %}
    {# <li class=\"nav-item\">
        <a class=\"btn btn-outline-light\" href=\"{{ backendUrl }}\" target=\"backend\">Backend Area</a>
    </li> #}
{% endif %}", "/var/www/html/october_cms_projects/dil_website/themes/demo/partials/site/nav-links.htm", "");
    }
}
