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

/* base.html.twig */
class __TwigTemplate_e3bbf3574541c5874be93d88ca944424 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 = [
            'title' => [$this, 'block_title'],
            'stylesheets' => [$this, 'block_stylesheets'],
            'javascripts' => [$this, 'block_javascripts'],
            'body' => [$this, 'block_body'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield "<!DOCTYPE html>
<html lang=\"";
        // line 2
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
        yield "\">
<head>
    <meta charset=\"UTF-8\">
    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
    <meta name=\"title\" content=\"";
        // line 7
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 7), "configuration", [], "any", false, false, false, 7), "pageMeta", [], "any", false, false, false, 7), "title", [], "any", false, false, false, 7), "html", null, true);
        yield "\">
    <meta name=\"description\" content=\"";
        // line 8
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 8), "configuration", [], "any", false, false, false, 8), "pageMeta", [], "any", false, false, false, 8), "description", [], "any", false, false, false, 8), "html", null, true);
        yield "\">
    <meta name=\"author\" content=\"";
        // line 9
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 9), "configuration", [], "any", false, false, false, 9), "pageMeta", [], "any", false, false, false, 9), "author", [], "any", false, false, false, 9), "html", null, true);
        yield "\">
    <meta name=\"keywords\" content=\"";
        // line 10
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 10), "configuration", [], "any", false, false, false, 10), "pageMeta", [], "any", false, false, false, 10), "keywords", [], "any", false, false, false, 10), "html", null, true);
        yield "\">
    <meta name=\"robots\" content=\"";
        // line 11
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 11), "configuration", [], "any", false, false, false, 11), "pageMeta", [], "any", false, false, false, 11), "robots", [], "any", false, false, false, 11), "html", null, true);
        yield "\">
    <meta property=\"og:image\" content=\"";
        // line 12
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 12), "configuration", [], "any", false, false, false, 12), "pageMeta", [], "any", false, false, false, 12), "ogImage", [], "any", false, false, false, 12), "html", null, true);
        yield "\">
    <meta property=\"og:site_name\" content=\"";
        // line 13
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 13), "configuration", [], "any", false, false, false, 13), "pageMeta", [], "any", false, false, false, 13), "siteName", [], "any", false, false, false, 13), "html", null, true);
        yield "\">
    <meta property=\"og:title\" content=\"";
        // line 14
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 14), "configuration", [], "any", false, false, false, 14), "pageMeta", [], "any", false, false, false, 14), "title", [], "any", false, false, false, 14), "html", null, true);
        yield "\">
    <meta property=\"og:description\" content=\"";
        // line 15
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 15), "configuration", [], "any", false, false, false, 15), "pageMeta", [], "any", false, false, false, 15), "description", [], "any", false, false, false, 15), "html", null, true);
        yield "\">
    <meta property=\"og:type\" content=\"object\">
    <meta property=\"og:url\" content=\"";
        // line 17
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 17), "configuration", [], "any", false, false, false, 17), "pageMeta", [], "any", false, false, false, 17), "canonical", [], "any", false, false, false, 17), "html", null, true);
        yield "\">
    <meta property=\"twitter:image\" content=\"";
        // line 18
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 18), "configuration", [], "any", false, false, false, 18), "pageMeta", [], "any", false, false, false, 18), "ogImage", [], "any", false, false, false, 18), "html", null, true);
        yield "\">
    <meta property=\"twitter:title\" content=\"";
        // line 19
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 19), "configuration", [], "any", false, false, false, 19), "pageMeta", [], "any", false, false, false, 19), "title", [], "any", false, false, false, 19), "html", null, true);
        yield "\">
    <meta property=\"twitter:description\" content=\"";
        // line 20
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 20), "configuration", [], "any", false, false, false, 20), "pageMeta", [], "any", false, false, false, 20), "description", [], "any", false, false, false, 20), "html", null, true);
        yield "\">
    <meta property=\"twitter:url\" content=\"";
        // line 21
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 21), "configuration", [], "any", false, false, false, 21), "pageMeta", [], "any", false, false, false, 21), "canonical", [], "any", false, false, false, 21), "html", null, true);
        yield "\">
    <link rel=\"canonical\" href=\"";
        // line 22
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 22), "configuration", [], "any", false, false, false, 22), "pageMeta", [], "any", false, false, false, 22), "canonical", [], "any", false, false, false, 22), "html", null, true);
        yield "\">
    <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
    <meta name=\"csrf-token\" content=\"";
        // line 24
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("form_intention"), "html", null, true);
        yield "\">
    <title>";
        // line 25
        yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
        // line 28
        yield "</title>
    ";
        // line 29
        yield from $this->load("favicons/favicons.twig", 29)->unwrap()->yield($context);
        // line 30
        yield "    ";
        yield from $this->load("fonts/preload.font.twig", 30)->unwrap()->yield($context);
        // line 31
        yield "    ";
        yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
        // line 40
        yield "
    ";
        // line 42
        yield "    ";
        yield $this->extensions['App\Engine\Templating\ViteExtension']->viteEntryPoint("frontend/ts/main.ts");
        yield "
    ";
        // line 43
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Rompetomp\InertiaBundle\Twig\InertiaTwigExtension']->inertiaHeadFunction(($context["page"] ?? null)), "html", null, true);
        yield "

    ";
        // line 45
        yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
        // line 51
        yield "</head>
<body data-theme=\"default\" data-layout=\"fluid\" data-sidebar-position=\"left\" data-sidebar-layout=\"default\">
";
        // line 53
        yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
        // line 56
        yield "</body>
</html>
";
        yield from [];
    }

    // line 25
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(Twig\Extension\CoreExtension::filter($this->env, [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,         // line 26
($context["page"] ?? null), "props", [], "any", false, false, false, 26), "configuration", [], "any", false, false, false, 26), "pageMeta", [], "any", false, false, false, 26), "title", [], "any", false, false, false, 26), (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,         // line 27
($context["page"] ?? null), "props", [], "any", false, false, false, 27), "configuration", [], "any", false, false, false, 27), "pageMeta", [], "any", false, false, false, 27), "title", [], "any", false, false, false, 27) == CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 27), "configuration", [], "any", false, false, false, 27), "pageMeta", [], "any", false, false, false, 27), "siteName", [], "any", false, false, false, 27))) ? ("") : (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 27), "configuration", [], "any", false, false, false, 27), "pageMeta", [], "any", false, false, false, 27), "siteName", [], "any", false, false, false, 27)))],         // line 28
function ($__v__) use ($context, $macros) { $context["v"] = $__v__; return ($context["v"] ?? null); }), " | "), "html", null, true);
        yield from [];
    }

    // line 31
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_stylesheets(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 32
        yield "        <link rel=\"stylesheet\" href=\"/cb/assets/minimalist-blocks/content.css\"/>
        ";
        // line 33
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 33), "location", [], "any", false, false, false, 33) == "admin")) {
            // line 34
            yield "            <link rel=\"stylesheet\" href=\"/assets/css/admin/admin.css?t=";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Twig\Extension\CoreExtension']->convertDate(), "timestamp", [], "any", false, false, false, 34), "html", null, true);
            yield "\"/>
        ";
        } elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,         // line 35
($context["page"] ?? null), "props", [], "any", false, false, false, 35), "location", [], "any", false, false, false, 35) == "fileManager")) {
            // line 36
            yield "        ";
        } else {
            // line 37
            yield "            <link rel=\"stylesheet\" href=\"/assets/css/frontend/frontend.css?t=";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Twig\Extension\CoreExtension']->convertDate(), "timestamp", [], "any", false, false, false, 37), "html", null, true);
            yield "\"/>
        ";
        }
        // line 39
        yield "    ";
        yield from [];
    }

    // line 45
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_javascripts(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 46
        yield "        ";
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "props", [], "any", false, false, false, 46), "location", [], "any", false, false, false, 46) == "admin")) {
            // line 47
            yield "            <script src=\"/assets/js/admin-framework-app.js\"></script>
            <script src=\"/cb/assets/minimalist-blocks/custom-content.js\"></script>
        ";
        }
        // line 50
        yield "    ";
        yield from [];
    }

    // line 53
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 54
        yield "    ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Rompetomp\InertiaBundle\Twig\InertiaTwigExtension']->inertiaFunction(($context["page"] ?? null)), "html", null, true);
        yield "
";
        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  238 => 54,  231 => 53,  226 => 50,  221 => 47,  218 => 46,  211 => 45,  206 => 39,  200 => 37,  197 => 36,  195 => 35,  190 => 34,  188 => 33,  185 => 32,  178 => 31,  173 => 28,  172 => 27,  171 => 26,  164 => 25,  157 => 56,  155 => 53,  151 => 51,  149 => 45,  144 => 43,  139 => 42,  136 => 40,  133 => 31,  130 => 30,  128 => 29,  125 => 28,  123 => 25,  119 => 24,  114 => 22,  110 => 21,  106 => 20,  102 => 19,  98 => 18,  94 => 17,  89 => 15,  85 => 14,  81 => 13,  77 => 12,  73 => 11,  69 => 10,  65 => 9,  61 => 8,  57 => 7,  49 => 2,  46 => 1,);
    }

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