<?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_d0271970e8dd5a80c91f3c8f51002daf 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 "

<title>";
        // line 15
        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 17
        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 19
        yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
        // line 20
        yield "    </div>
</div>
";
        yield from [];
    }

    // line 19
    /**
     * @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 (  89 => 19,  82 => 20,  80 => 19,  75 => 17,  68 => 15,  63 => 13,  58 => 11,  48 => 4,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "layouts/app.twig", "/home3/uptimevi/public_html/app/views/layouts/app.twig");
    }
}
