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

/* error.html.twig */
class __TwigTemplate_b1a176b568030cfe01dd1aff934c9be207e6977a4a5b0f0176b20d41d5fc0be2 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'logo_login' => [$this, 'block_logo_login'],
            'title' => [$this, 'block_title'],
            'head' => [$this, 'block_head'],
            'stylesheets' => [$this, 'block_stylesheets'],
            'javascripts' => [$this, 'block_javascripts'],
            'login_box_icon' => [$this, 'block_login_box_icon'],
            'error_icon' => [$this, 'block_error_icon'],
            'login_box_msg' => [$this, 'block_login_box_msg'],
            'login_form' => [$this, 'block_login_form'],
            'error_content' => [$this, 'block_error_content'],
            'login_social_auth' => [$this, 'block_login_social_auth'],
            'login_actions' => [$this, 'block_login_actions'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "@AdminLTE/layout/security-layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 3
        $context["errorTitleKey"] = (("http_error_" . ($context["status_code"] ?? null)) . ".description");
        // line 4
        $context["errorTitleTrans"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["errorTitleKey"] ?? null), ["%status_code%" => ($context["status_code"] ?? null)], "exceptions");
        // line 5
        if (0 === twig_compare(($context["errorTitleKey"] ?? null), ($context["errorTitleTrans"] ?? null))) {
            // line 6
            $context["errorTitleKey"] = "http_error.description";
            // line 7
            $context["errorTitleTrans"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["errorTitleKey"] ?? null), ["%status_code%" => ($context["status_code"] ?? null)], "exceptions");
        }
        // line 10
        $context["errorMessageKey"] = (("http_error_" . ($context["status_code"] ?? null)) . ".suggestion");
        // line 11
        $context["errorMessageTrans"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["errorMessageKey"] ?? null), ["%status_code%" => ($context["status_code"] ?? null)], "exceptions");
        // line 12
        if (0 === twig_compare(($context["errorMessageKey"] ?? null), ($context["errorMessageTrans"] ?? null))) {
            // line 13
            $context["errorMessageKey"] = "http_error.suggestion";
            // line 14
            $context["errorMessageTrans"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["errorMessageKey"] ?? null), ["%status_code%" => ($context["status_code"] ?? null)], "exceptions");
        }
        // line 1
        $this->parent = $this->loadTemplate("@AdminLTE/layout/security-layout.html.twig", "error.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 17
    public function block_logo_login($context, array $blocks = [])
    {
        $macros = $this->macros;
        $this->loadTemplate("partials/logo_login.html.twig", "error.html.twig", 17)->display($context);
    }

    // line 18
    public function block_title($context, array $blocks = [])
    {
        $macros = $this->macros;
        echo twig_escape_filter($this->env, ($context["status_code"] ?? null), "html", null, true);
        echo " - ";
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("http_error.title", [], "exceptions"), "html", null, true);
    }

    // line 20
    public function block_head($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 21
        echo "    ";
        $this->displayParentBlock("head", $context, $blocks);
        echo "
    ";
        // line 22
        $this->loadTemplate("partials/head.html.twig", "error.html.twig", 22)->display($context);
    }

    // line 25
    public function block_stylesheets($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 26
        echo "    ";
        echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
        echo "
";
    }

    // line 29
    public function block_javascripts($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 30
        echo "    ";
        echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
        echo "
";
    }

    // line 33
    public function block_login_box_icon($context, array $blocks = [])
    {
        $macros = $this->macros;
        $this->displayBlock('error_icon', $context, $blocks);
    }

    public function block_error_icon($context, array $blocks = [])
    {
        $macros = $this->macros;
    }

    // line 35
    public function block_login_box_msg($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 36
        echo "    ";
        echo twig_escape_filter($this->env, ($context["errorTitleTrans"] ?? null), "html", null, true);
        echo "
";
    }

    // line 39
    public function block_login_form($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 40
        echo "    ";
        $this->displayBlock('error_content', $context, $blocks);
    }

    public function block_error_content($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 41
        echo "        <p>
            ";
        // line 42
        echo twig_escape_filter($this->env, ($context["errorMessageTrans"] ?? null), "html", null, true);
        echo "
        </p>
        <p>
            <a class=\"btn btn-primary\" href=\"";
        // line 45
        echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
        echo "\">";
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("dashboard.title"), "html", null, true);
        echo "</a>
        </p>
    ";
    }

    // line 50
    public function block_login_social_auth($context, array $blocks = [])
    {
        $macros = $this->macros;
    }

    // line 51
    public function block_login_actions($context, array $blocks = [])
    {
        $macros = $this->macros;
    }

    public function getTemplateName()
    {
        return "error.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  190 => 51,  184 => 50,  175 => 45,  169 => 42,  166 => 41,  158 => 40,  154 => 39,  147 => 36,  143 => 35,  131 => 33,  124 => 30,  120 => 29,  113 => 26,  109 => 25,  105 => 22,  100 => 21,  96 => 20,  87 => 18,  80 => 17,  75 => 1,  72 => 14,  70 => 13,  68 => 12,  66 => 11,  64 => 10,  61 => 7,  59 => 6,  57 => 5,  55 => 4,  53 => 3,  46 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "error.html.twig", "/var/www/html/kimai2/templates/error.html.twig");
    }
}
