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

/* C:\xampp\htdocs\kcofbmscms\themes\kcofbms\layouts\default.htm */
class __TwigTemplate_901c145becdedcb46b4963f6d8e86d9a 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 = [
        ];
        $this->sandbox = $this->extensions[SandboxExtension::class];
        $this->checkSecurity();
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield "<!DOCTYPE html>
<html>
    <head>
        <meta charset=\"utf-8\">
        <title>Kericho County Finance Bill Management System - ";
        // line 5
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["this"] ?? null), "page", [], "any", false, false, true, 5), "title", [], "any", false, false, true, 5), 5, $this->source), "html", null, true);
        yield "</title>
        <meta name=\"description\" content=\"";
        // line 6
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["this"] ?? null), "page", [], "any", false, false, true, 6), "meta_description", [], "any", false, false, true, 6), 6, $this->source), "html", null, true);
        yield "\">
        <meta name=\"title\" content=\"";
        // line 7
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["this"] ?? null), "page", [], "any", false, false, true, 7), "meta_title", [], "any", false, false, true, 7), 7, $this->source), "html", null, true);
        yield "\">
        <meta name=\"author\" content=\"Kericho County FBMS\">
        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
        <meta name=\"generator\" content=\"Kericho County FBMS\">
        <link rel=\"icon\" type=\"image/png\" href=\"";
        // line 11
        yield $this->extensions['Cms\Twig\Extension']->themeFilter("assets/images/logo_w.jpg");
        yield "\">
        <link href=\"";
        // line 12
        yield $this->extensions['Cms\Twig\Extension']->themeFilter("assets/css/vendor.css");
        yield "\" rel=\"stylesheet\">
        <link href=\"";
        // line 13
        yield $this->extensions['Cms\Twig\Extension']->themeFilter("assets/css/theme.css");
        yield "\" rel=\"stylesheet\">
        <link href=\"";
        // line 14
        yield $this->extensions['Cms\Twig\Extension']->themeFilter("assets/css/custom.css");
        yield "\" rel=\"stylesheet\">
\t\t<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
        ";
        // line 16
        echo $this->env->getExtension('Cms\Twig\Extension')->assetsFunction('css');
        echo $this->env->getExtension('Cms\Twig\Extension')->displayBlock('styles');
        // line 17
        yield "    </head>
    <body>

        <!-- Header -->
        <header id=\"layout-header\">
            ";
        // line 22
        $context['__cms_partial_params'] = [];
        echo $this->env->getExtension('Cms\Twig\Extension')->partialFunction("site/header"        , $context['__cms_partial_params']        , true        );
        unset($context['__cms_partial_params']);
        // line 23
        yield "        </header>

        <!-- Content -->
        <section id=\"layout-content\">
            ";
        // line 27
        echo $this->env->getExtension('Cms\Twig\Extension')->pageFunction();
        // line 28
        yield "        </section>

        <!-- Footer -->
        <footer id=\"layout-footer\">
            ";
        // line 32
        $context['__cms_partial_params'] = [];
        echo $this->env->getExtension('Cms\Twig\Extension')->partialFunction("site/footer"        , $context['__cms_partial_params']        , true        );
        unset($context['__cms_partial_params']);
        // line 33
        yield "        </footer>

        <!-- Scripts -->
        <script src=\"";
        // line 36
        yield $this->extensions['Cms\Twig\Extension']->themeFilter("assets/vendor/jquery.js");
        yield "\"></script>
        <script src=\"";
        // line 37
        yield $this->extensions['Cms\Twig\Extension']->themeFilter("assets/vendor/bootstrap.js");
        yield "\"></script>
        <script src=\"";
        // line 38
        yield $this->extensions['Cms\Twig\Extension']->themeFilter("assets/javascript/app.js");
        yield "\"></script>
        ";
        // line 39
        $_minify = System\Classes\CombineAssets::instance()->useMinify;
        if ($_minify) {
            echo '<script src="http://localhost/kcofbmscms/modules/system/assets/js/framework.combined-min.js?v=1.2.7"></script>'.PHP_EOL;
        }
        else {
            echo '<script src="http://localhost/kcofbmscms/modules/system/assets/js/framework.js?v=1.2.7"></script>'.PHP_EOL;
            echo '<script src="http://localhost/kcofbmscms/modules/system/assets/js/framework.extras.js?v=1.2.7"></script>'.PHP_EOL;
        }
        echo '<link rel="stylesheet" property="stylesheet" href="http://localhost/kcofbmscms/modules/system/assets/css/framework.extras'.($_minify ? '-min' : '').'.css?v=1.2.7">'.PHP_EOL;
        unset($_minify);
        // line 40
        yield "        ";
        $_minify = System\Classes\CombineAssets::instance()->useMinify;
        echo '<script data-module="snowboard-manifest" src="http://localhost/kcofbmscms/modules/system/assets/js/build/manifest.js?v=1.2.7"></script>'.PHP_EOL;
        echo '<script data-module="snowboard-vendor" src="http://localhost/kcofbmscms/modules/system/assets/js/snowboard/build/snowboard.vendor.js?v=1.2.7"></script>'.PHP_EOL;
        echo '<script data-module="snowboard-base" data-base-url="http://localhost/kcofbmscms" data-asset-url="http://localhost/kcofbmscms/" src="http://localhost/kcofbmscms/modules/system/assets/js/snowboard/build/snowboard.base.js?v=1.2.7"></script>'.PHP_EOL;
        echo '<script data-module="request" src="http://localhost/kcofbmscms/modules/system/assets/js/snowboard/build/snowboard.request.js?v=1.2.7"></script>'.PHP_EOL;
        echo '<script data-module="attr" src="http://localhost/kcofbmscms/modules/system/assets/js/snowboard/build/snowboard.data-attr.js?v=1.2.7"></script>'.PHP_EOL;
        echo '<script data-module="extras" src="http://localhost/kcofbmscms/modules/system/assets/js/snowboard/build/snowboard.extras.js?v=1.2.7"></script>'.PHP_EOL;
        // line 41
        yield "        ";
        echo $this->env->getExtension('Cms\Twig\Extension')->assetsFunction('js');
        echo $this->env->getExtension('Cms\Twig\Extension')->assetsFunction('vite');
        echo $this->env->getExtension('Cms\Twig\Extension')->displayBlock('scripts');
        // line 42
        yield "
    </body>
</html>";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "C:\\xampp\\htdocs\\kcofbmscms\\themes\\kcofbms\\layouts\\default.htm";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  156 => 42,  151 => 41,  142 => 40,  131 => 39,  127 => 38,  123 => 37,  119 => 36,  114 => 33,  110 => 32,  104 => 28,  102 => 27,  96 => 23,  92 => 22,  85 => 17,  82 => 16,  77 => 14,  73 => 13,  69 => 12,  65 => 11,  58 => 7,  54 => 6,  50 => 5,  44 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("<!DOCTYPE html>
<html>
    <head>
        <meta charset=\"utf-8\">
        <title>Kericho County Finance Bill Management System - {{ this.page.title }}</title>
        <meta name=\"description\" content=\"{{ this.page.meta_description }}\">
        <meta name=\"title\" content=\"{{ this.page.meta_title }}\">
        <meta name=\"author\" content=\"Kericho County FBMS\">
        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
        <meta name=\"generator\" content=\"Kericho County FBMS\">
        <link rel=\"icon\" type=\"image/png\" href=\"{{ 'assets/images/logo_w.jpg'|theme }}\">
        <link href=\"{{ 'assets/css/vendor.css'|theme }}\" rel=\"stylesheet\">
        <link href=\"{{ 'assets/css/theme.css'|theme }}\" rel=\"stylesheet\">
        <link href=\"{{ 'assets/css/custom.css'|theme }}\" rel=\"stylesheet\">
\t\t<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
        {% styles %}
    </head>
    <body>

        <!-- Header -->
        <header id=\"layout-header\">
            {% partial 'site/header' %}
        </header>

        <!-- Content -->
        <section id=\"layout-content\">
            {% page %}
        </section>

        <!-- Footer -->
        <footer id=\"layout-footer\">
            {% partial 'site/footer' %}
        </footer>

        <!-- Scripts -->
        <script src=\"{{ 'assets/vendor/jquery.js'|theme }}\"></script>
        <script src=\"{{ 'assets/vendor/bootstrap.js'|theme }}\"></script>
        <script src=\"{{ 'assets/javascript/app.js'|theme }}\"></script>
        {% framework extras %}
        {% snowboard all %}
        {% scripts %}

    </body>
</html>", "C:\\xampp\\htdocs\\kcofbmscms\\themes\\kcofbms\\layouts\\default.htm", "");
    }
    
    public function checkSecurity()
    {
        static $tags = ["styles" => 16, "partial" => 22, "page" => 27, "framework" => 39, "snowboard" => 40, "scripts" => 41];
        static $filters = ["escape" => 5, "theme" => 11];
        static $functions = [];

        try {
            $this->sandbox->checkSecurity(
                ['styles', 'partial', 'page', 'framework', 'snowboard', 'scripts'],
                ['escape', 'theme'],
                [],
                $this->source
            );
        } catch (SecurityError $e) {
            $e->setSourceContext($this->source);

            if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
                $e->setTemplateLine($tags[$e->getTagName()]);
            } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
                $e->setTemplateLine($filters[$e->getFilterName()]);
            } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
                $e->setTemplateLine($functions[$e->getFunctionName()]);
            }

            throw $e;
        }

    }
}
