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

/* layouts/app.twig */
class __TwigTemplate_f8571469806fb817e5892a2431d04a7c 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 = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield "<!DOCTYPE html>

<meta charset=\"utf-8\">
<meta name=\"description\" content=\"";
        // line 4
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('config')->getCallable()("meta_description"), "html", null, true);
        yield "\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">

<link rel=\"icon\" href=\"app/images/favicon.light.png\">
<link rel=\"dns-prefetch\" href=\"//fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">

";
        // line 11
        yield $this->env->getFunction('vite')->getCallable()(["app/resources/css/app.css", "app/resources/js/app.js"]);
        yield "

";
        // line 13
        yield $this->env->getFunction('analytics')->getCallable()();
        yield "

";
        // line 16
        if ((($tmp = $this->env->getFunction('config')->getCallable()("google_analytics_id", false)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 17
            yield "    ";
            yield from $this->load("components/analytics/google.twig", 17)->unwrap()->yield($context);
        }
        // line 19
        yield "
";
        // line 21
        if (($this->env->getFunction('config')->getCallable()("matomo_analytics_url", false) && $this->env->getFunction('config')->getCallable()("matomo_analytics_site_id", false))) {
            // line 22
            yield "    ";
            yield from $this->load("components/analytics/matomo.twig", 22)->unwrap()->yield($context);
        }
        // line 24
        yield "
<title>";
        // line 25
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true);
        yield " &bull; ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('config')->getCallable()("site_title"), "html", null, true);
        yield "</title>

<div class=\"";
        // line 27
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["theme"] ?? null), "html", null, true);
        yield "\" x-data=\"application\" x-effect=\"storeThemeCookie(\$store.theme)\" :class=\"{ 'dark': \$store.theme === 'dark' }\">
    <div class=\"flex flex-col min-h-screen font-sans dark:bg-slate-800\">
        ";
        // line 29
        yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
        // line 30
        yield "    </div>
</div>
";
        yield from [];
    }

    // line 29
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  107 => 29,  100 => 30,  98 => 29,  93 => 27,  86 => 25,  83 => 24,  79 => 22,  77 => 21,  74 => 19,  70 => 17,  68 => 16,  63 => 13,  58 => 11,  48 => 4,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "layouts/app.twig", "/home/lightshoro/cdn.eradium.fr/DirectoryLister-5.1.0/app/views/layouts/app.twig");
    }
}
