<?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;

/* @UVDeskSupportCenter/Templates/solutionLeftSidebar.html.twig */
class __TwigTemplate_5399d86fe5903426a92b3a9d66e98c99 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 2
        yield "<div class=\"uv-aside\" ";
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 2), "cookies", [], "any", false, false, false, 2) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 2), "cookies", [], "any", false, false, false, 2), "get", ["uv-asideView"], "method", false, false, false, 2))) {
            yield "style=\"display: none;\"";
        }
        yield ">
    ";
        // line 3
        $context["sidebarLinks"] = CoreExtension::getAttribute($this->env, $this->source, ($context["default_service"] ?? null), "getLeftSidebarRoutes", [], "method", false, false, false, 3);
        // line 4
        yield "    ";
        if (($context["sidebarLinks"] ?? null)) {
            // line 5
            yield "        <div class=\"uv-aside-head\">
            <div class=\"uv-aside-title\">
                <h6>";
            // line 7
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["sidebarLinks"] ?? null), "title", [], "any", false, false, false, 7), "html", null, true);
            yield "</h6>
            </div>
            <div class=\"uv-aside-back\">
                <span onclick=\"history.length > 1 ? history.go(-1) : window.location = '";
            // line 10
            yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_action");
            yield "';\"> ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Back"), "html", null, true);
            yield "</span>
            </div>
        </div>

        <div class=\"uv-aside-nav\">
            <ul>
                ";
            // line 16
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["sidebarLinks"] ?? null), "items", [], "any", false, false, false, 16));
            foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
                // line 17
                yield "                    <li>
                        <a class=\"";
                // line 18
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "class", [], "any", false, false, false, 18), "html", null, true);
                yield "\" ";
                ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, false, 18)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("href=" . CoreExtension::getAttribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, false, 18)), "html", null, true)) : (yield false));
                yield " ";
                if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "attr", [], "any", true, true, false, 18)) {
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "attr", [], "any", false, false, false, 18), "html", null, true);
                }
                yield ">";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 18);
                yield "</a>
                    </li>
                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['item'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 21
            yield "            </ul>
        </div>
    ";
        }
        // line 24
        yield "</div>";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "@UVDeskSupportCenter/Templates/solutionLeftSidebar.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  104 => 24,  99 => 21,  82 => 18,  79 => 17,  75 => 16,  64 => 10,  58 => 7,  54 => 5,  51 => 4,  49 => 3,  42 => 2,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "@UVDeskSupportCenter/Templates/solutionLeftSidebar.html.twig", "/home/bmdranzo/public_html/vendor/uvdesk/support-center-bundle/Resources/views/Templates/solutionLeftSidebar.html.twig");
    }
}
