Files
dockerfluxodecaixapro/cache/twig/28/28350893695d116189ac32e262761bbb.php
2026-09-01 10:46:29 -03:00

534 lines
29 KiB
PHP
Executable File

<?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;
/* @index/layout.twig */
class __TwigTemplate_8723fb70cf74eece5affeb4939cd01b7 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 = [
'head' => [$this, 'block_head'],
'layout_navbar' => [$this, 'block_layout_navbar'],
'layout_body' => [$this, 'block_layout_body'],
'content' => [$this, 'block_content'],
'scripts' => [$this, 'block_scripts'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 1
yield "<!DOCTYPE html>
<html lang=\"pt-BR\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
";
// line 8
yield " <title>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_title", [], "any", true, true, false, 8)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_title", [], "any", false, false, false, 8), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))) : (((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_title", [], "any", true, true, false, 8)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_title", [], "any", false, false, false, 8), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))), "html", null, true);
yield "</title>
<meta name=\"description\" content=\"";
// line 9
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_description", [], "any", false, false, false, 9), "html", null, true);
yield "\">
";
// line 10
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_keywords", [], "any", false, false, false, 10)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 11
yield " <meta name=\"keywords\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_keywords", [], "any", false, false, false, 11), "html", null, true);
yield "\">
";
}
// line 13
yield " <link rel=\"canonical\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("canonical_url", $context)) ? (Twig\Extension\CoreExtension::default(($context["canonical_url"] ?? null), $this->env->getFunction('url')->getCallable()(((array_key_exists("request_path", $context)) ? (Twig\Extension\CoreExtension::default(($context["request_path"] ?? null), "")) : (""))))) : ($this->env->getFunction('url')->getCallable()(((array_key_exists("request_path", $context)) ? (Twig\Extension\CoreExtension::default(($context["request_path"] ?? null), "")) : (""))))), "html", null, true);
yield "\">
";
// line 16
yield " <meta property=\"og:type\" content=\"website\">
<meta property=\"og:url\" content=\"";
// line 17
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()(((array_key_exists("request_path", $context)) ? (Twig\Extension\CoreExtension::default(($context["request_path"] ?? null), "")) : (""))), "html", null, true);
yield "\">
<meta property=\"og:title\" content=\"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_title", [], "any", true, true, false, 18)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_title", [], "any", false, false, false, 18), ((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))) : (((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))), "html", null, true);
yield "\">
<meta property=\"og:description\" content=\"";
// line 19
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_description", [], "any", true, true, false, 19)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_description", [], "any", false, false, false, 19), CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_description", [], "any", false, false, false, 19))) : (CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_description", [], "any", false, false, false, 19))), "html", null, true);
yield "\">
";
// line 20
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_image", [], "any", false, false, false, 20)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 21
yield " <meta property=\"og:image\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()(("storage/uploads/seo/" . CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_image", [], "any", false, false, false, 21))), "html", null, true);
yield "\">
";
}
// line 23
yield "
";
// line 25
yield " <meta name=\"twitter:card\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "twitter_card", [], "any", true, true, false, 25)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "twitter_card", [], "any", false, false, false, 25), "summary_large_image")) : ("summary_large_image")), "html", null, true);
yield "\">
<meta name=\"twitter:url\" content=\"";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()(((array_key_exists("request_path", $context)) ? (Twig\Extension\CoreExtension::default(($context["request_path"] ?? null), "")) : (""))), "html", null, true);
yield "\">
<meta name=\"twitter:title\" content=\"";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_title", [], "any", true, true, false, 27)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_title", [], "any", false, false, false, 27), ((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))) : (((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))), "html", null, true);
yield "\">
<meta name=\"twitter:description\" content=\"";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_description", [], "any", true, true, false, 28)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_description", [], "any", false, false, false, 28), CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_description", [], "any", false, false, false, 28))) : (CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_description", [], "any", false, false, false, 28))), "html", null, true);
yield "\">
";
// line 29
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_image", [], "any", false, false, false, 29)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 30
yield " <meta name=\"twitter:image\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()(("storage/uploads/seo/" . CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_image", [], "any", false, false, false, 30))), "html", null, true);
yield "\">
";
}
// line 32
yield "
";
// line 34
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "google_site_verification", [], "any", false, false, false, 34)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 35
yield " <meta name=\"google-site-verification\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "google_site_verification", [], "any", false, false, false, 35), "html", null, true);
yield "\">
";
}
// line 37
yield "
";
// line 39
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_type", [], "any", false, false, false, 39) && (CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_type", [], "any", false, false, false, 39) != "none"))) {
// line 40
yield " <script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"";
// line 43
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_type", [], "any", false, false, false, 43), "html", null, true);
yield "\",
\"name\": \"";
// line 44
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_name", [], "any", false, false, false, 44), "html", null, true);
yield "\",
\"url\": \"";
// line 45
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_url", [], "any", false, false, false, 45), "html", null, true);
yield "\",
\"description\": \"";
// line 46
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_description", [], "any", false, false, false, 46), "html", null, true);
yield "\",
";
// line 47
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_phone", [], "any", false, false, false, 47)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield "\"telephone\": \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_phone", [], "any", false, false, false, 47), "html", null, true);
yield "\",";
}
// line 48
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_email", [], "any", false, false, false, 48)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield "\"email\": \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_email", [], "any", false, false, false, 48), "html", null, true);
yield "\",";
}
// line 49
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_address", [], "any", false, false, false, 49)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 50
yield " \"address\": {
\"@type\": \"PostalAddress\",
\"streetAddress\": \"";
// line 52
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_address", [], "any", false, false, false, 52), "html", null, true);
yield "\",
\"addressLocality\": \"";
// line 53
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_city", [], "any", false, false, false, 53), "html", null, true);
yield "\",
\"addressRegion\": \"";
// line 54
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_state", [], "any", false, false, false, 54), "html", null, true);
yield "\",
\"postalCode\": \"";
// line 55
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_zip", [], "any", false, false, false, 55), "html", null, true);
yield "\",
\"addressCountry\": \"";
// line 56
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_country", [], "any", false, false, false, 56), "html", null, true);
yield "\"
},
";
}
// line 59
yield " \"sameAs\": [
";
// line 60
$context["social_links"] = Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_social_links", [], "any", false, false, false, 60), "
");
// line 61
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["social_links"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
// line 62
yield " \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::trim($context["link"]), "html", null, true);
yield "\"";
yield (((($tmp = !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 62)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (",") : (""));
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 64
yield " ]
}
</script>
";
}
// line 68
yield "
";
// line 70
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "google_analytics_id", [], "any", false, false, false, 70)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 71
yield " <script async src=\"https://www.googletagmanager.com/gtag/js?id=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "google_analytics_id", [], "any", false, false, false, 71), "html", null, true);
yield "\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '";
// line 76
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "google_analytics_id", [], "any", false, false, false, 76), "html", null, true);
yield "');
</script>
";
}
// line 79
yield "
";
// line 81
yield " <link rel=\"stylesheet\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('asset_url')->getCallable()("css/bootstrap.min.css"), "html", null, true);
yield "\">
";
// line 84
yield " <link rel=\"stylesheet\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('asset_url')->getCallable()("css/landing-page.css"), "html", null, true);
yield "\">
";
// line 87
yield " <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css\">
";
// line 90
yield "
";
// line 92
yield " <script src=\"https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js\" defer></script>
";
// line 94
yield from $this->unwrap()->yieldBlock('head', $context, $blocks);
// line 95
yield "
";
// line 97
yield " <style id=\"theme-customizer-css\">
:root {
--primary-color: ";
// line 99
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["theme_settings"] ?? null), "primary_color", [], "any", true, true, false, 99)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["theme_settings"] ?? null), "primary_color", [], "any", false, false, false, 99), "#0d6efd")) : ("#0d6efd")), "html", null, true);
yield ";
--bg-color: ";
// line 100
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["theme_settings"] ?? null), "background_color", [], "any", true, true, false, 100)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["theme_settings"] ?? null), "background_color", [], "any", false, false, false, 100), "#f8f9fa")) : ("#f8f9fa")), "html", null, true);
yield ";
--text-color: ";
// line 101
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["theme_settings"] ?? null), "text_color", [], "any", true, true, false, 101)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["theme_settings"] ?? null), "text_color", [], "any", false, false, false, 101), "#212529")) : ("#212529")), "html", null, true);
yield ";
}
body {
background-color: var(--bg-color) !important;
color: var(--text-color) !important;
}
.text-primary, .btn-primary {
color: var(--primary-color) !important;
}
.bg-primary, .btn-primary {
background-color: var(--primary-color) !important;
border-color: var(--primary-color) !important;
}
";
// line 114
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["theme_settings"] ?? null), "container_width", [], "any", false, false, false, 114) == "container-fluid")) {
// line 115
yield " .container {
max-width: 100% !important;
}
";
}
// line 119
yield " </style>
</head>
<body style=\"background:#f8f9fa;\">
";
// line 124
yield from $this->unwrap()->yieldBlock('layout_navbar', $context, $blocks);
// line 130
yield "
";
// line 131
yield from $this->unwrap()->yieldBlock('layout_body', $context, $blocks);
// line 137
yield "
";
// line 139
yield " ";
if (( !($context["is_maintenance_mode"] ?? null) || (CoreExtension::getAttribute($this->env, $this->source, ($context["auth"] ?? null), "user", [], "any", true, true, false, 139) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["auth"] ?? null), "user", [], "any", false, false, false, 139), "role", [], "any", false, false, false, 139) == "super_admin")))) {
// line 140
yield " ";
yield from $this->load("partials/footer.twig", 140)->unwrap()->yield($context);
// line 141
yield " ";
}
// line 142
yield "
";
// line 144
yield " <script src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('asset_url')->getCallable()("js/bootstrap.bundle.js"), "html", null, true);
yield "\"></script>
";
// line 147
yield "
";
// line 148
yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks);
// line 149
yield "
<link rel=\"stylesheet\" type=\"text/css\" href=\"/consent/cookieconsent.min.css\" />
<script src=\"/consent/cookieconsent.min.js\"></script>
<script>
window.addEventListener(\"load\", function(){
window.cookieconsent.initialise({
\"palette\": {
\"popup\": {
\"background\": \"#216942\",
\"text\": \"#b2d192\"
},
\"button\": {
\"background\": \"#afed71\"
}
},
\"content\": {
\"message\": \"";
// line 168
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("layout.cookie_consent.message"), "html", null, true);
yield "\",
\"dismiss\": \"";
// line 169
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("layout.cookie_consent.dismiss"), "html", null, true);
yield "\",
\"link\": \"";
// line 170
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("layout.footer.terms"), "html", null, true);
yield "\",
\"href\": \"/user_terms.html\"
}
})});
</script>
</body>
</html>
";
yield from [];
}
// line 94
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_head(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
yield from [];
}
// line 124
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_layout_navbar(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 125
yield " ";
// line 126
yield " ";
if (( !($context["is_maintenance_mode"] ?? null) || (CoreExtension::getAttribute($this->env, $this->source, ($context["auth"] ?? null), "user", [], "any", true, true, false, 126) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["auth"] ?? null), "user", [], "any", false, false, false, 126), "role", [], "any", false, false, false, 126) == "super_admin")))) {
// line 127
yield " ";
yield from $this->load("partials/nav-bar.twig", 127)->unwrap()->yield($context);
// line 128
yield " ";
}
// line 129
yield " ";
yield from [];
}
// line 131
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_layout_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 132
yield " ";
// line 133
yield " <main class=\"container py-4\">
";
// line 134
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 135
yield " </main>
";
yield from [];
}
// line 134
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
yield from [];
}
// line 148
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_scripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@index/layout.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 496 => 148, 486 => 134, 480 => 135, 478 => 134, 475 => 133, 473 => 132, 466 => 131, 461 => 129, 458 => 128, 455 => 127, 452 => 126, 450 => 125, 443 => 124, 433 => 94, 416 => 170, 412 => 169, 408 => 168, 387 => 149, 385 => 148, 382 => 147, 376 => 144, 373 => 142, 370 => 141, 367 => 140, 364 => 139, 361 => 137, 359 => 131, 356 => 130, 354 => 124, 347 => 119, 341 => 115, 339 => 114, 323 => 101, 319 => 100, 315 => 99, 311 => 97, 308 => 95, 306 => 94, 302 => 92, 299 => 90, 295 => 87, 289 => 84, 283 => 81, 280 => 79, 274 => 76, 265 => 71, 262 => 70, 259 => 68, 253 => 64, 234 => 62, 216 => 61, 213 => 60, 210 => 59, 204 => 56, 200 => 55, 196 => 54, 192 => 53, 188 => 52, 184 => 50, 181 => 49, 174 => 48, 168 => 47, 164 => 46, 160 => 45, 156 => 44, 152 => 43, 147 => 40, 144 => 39, 141 => 37, 135 => 35, 132 => 34, 129 => 32, 123 => 30, 121 => 29, 117 => 28, 113 => 27, 109 => 26, 104 => 25, 101 => 23, 95 => 21, 93 => 20, 89 => 19, 85 => 18, 81 => 17, 78 => 16, 72 => 13, 66 => 11, 64 => 10, 60 => 9, 55 => 8, 47 => 1,);
}
public function getSourceContext(): Source
{
return new Source("", "@index/layout.twig", "/app/modules/index/views/layout.twig");
}
}