<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* Global/layout.html.twig */
class __TwigTemplate_f4f4eade1f233b0f496250f9a5002ca202fae09c13537037502e25e149d8d865 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'meta_dynamic_seo' => [$this, 'block_meta_dynamic_seo'],
'stylesheets' => [$this, 'block_stylesheets'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Global/layout.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Global/layout.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "get", [0 => "_locale"], "method", false, false, false, 2), "html", null, true);
echo "\">
<head>
<!--[if IE]>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<![endif]-->
<meta charset=\"utf-8\" />
<meta name=\"robots\" content=\"index, follow, all\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\" />
<title>";
// line 10
$this->displayBlock('title', $context, $blocks);
echo " | ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 10, $this->source); })()), "getSetting", [0 => "website_name"], "method", false, false, false, 10), "html", null, true);
echo "</title>
<meta property=\"og:site_name\" content=\"";
// line 11
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 11, $this->source); })()), "getSetting", [0 => "website_name"], "method", false, false, false, 11), "html", null, true);
echo "\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:url\" content=\"";
// line 13
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "schemeAndHttpHost", [], "any", false, false, false, 13) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "requestUri", [], "any", false, false, false, 13)), "html", null, true);
echo "\" />
<meta name=\"twitter:card\" content=\"summary_large_image\" />
<meta name=\"twitter:site\" content=\"@";
// line 16
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 16, $this->source); })()), "getSetting", [0 => "website_slug"], "method", false, false, false, 16), "html", null, true);
echo "\" />
";
// line 17
$this->displayBlock('meta_dynamic_seo', $context, $blocks);
// line 28
echo " <link rel=\"shortcut icon\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 28, $this->source); })()), "getAppLayoutSettings", [], "any", false, false, false, 28), "getFaviconPath", [], "any", false, false, false, 28))), "html", null, true);
echo "\" />
<link rel=\"canonical\" href=\"";
// line 29
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 29, $this->source); })()), "request", [], "any", false, false, false, 29), "schemeAndHttpHost", [], "any", false, false, false, 29) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 29, $this->source); })()), "request", [], "any", false, false, false, 29), "requestUri", [], "any", false, false, false, 29)), "html", null, true);
echo "\" />
<meta name=\"apple-mobile-web-app-title\" content=\"";
// line 31
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 31, $this->source); })()), "getSetting", [0 => "website_name"], "method", false, false, false, 31), "html", null, true);
echo "\" />
<meta name=\"twitter:site\" content=\"@";
// line 32
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 32, $this->source); })()), "getSetting", [0 => "website_name"], "method", false, false, false, 32), "html", null, true);
echo "\" />
<meta name=\"application-name\" content=\"";
// line 33
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 33, $this->source); })()), "getSetting", [0 => "website_name"], "method", false, false, false, 33), "html", null, true);
echo "\" />
<meta name=\"msapplication-tooltip\" content=\"";
// line 34
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 34, $this->source); })()), "getSetting", [0 => ("website_description_" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "request", [], "any", false, false, false, 34), "locale", [], "any", false, false, false, 34))], "method", false, false, false, 34), "html", null, true);
echo "\" />
";
// line 37
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 37, $this->source); })()), "getSetting", [0 => "google_analytics_code"], "method", false, false, false, 37) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 37, $this->source); })()), "getSetting", [0 => "google_analytics_code"], "method", false, false, false, 37)))) {
// line 38
echo " <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=";
// line 39
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 39, $this->source); })()), "getSetting", [0 => "google_analytics_code"], "method", false, false, false, 39), "html", null, true);
echo "\" integrity=\"sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '";
// line 47
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 47, $this->source); })()), "getSetting", [0 => "google_analytics_code"], "method", false, false, false, 47), "html", null, true);
echo "');
</script>
";
}
// line 50
echo "
";
// line 51
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
// line 54
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 54, $this->source); })()), "request", [], "any", false, false, false, 54), "locale", [], "any", false, false, false, 54) == "fr")) {
// line 55
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app.fr");
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 56
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "locale", [], "any", false, false, false, 56) == "ar")) {
// line 57
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app.ar");
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 58
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 58, $this->source); })()), "request", [], "any", false, false, false, 58), "locale", [], "any", false, false, false, 58) == "es")) {
// line 59
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app.es");
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 60
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 60, $this->source); })()), "request", [], "any", false, false, false, 60), "locale", [], "any", false, false, false, 60) == "de")) {
// line 61
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app.de");
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 62
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 62, $this->source); })()), "request", [], "any", false, false, false, 62), "locale", [], "any", false, false, false, 62) == "pt")) {
// line 63
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app.pt");
echo "
";
}
// line 65
echo "
";
// line 67
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags(("app." . twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 67, $this->source); })()), "getSetting", [0 => "app_theme"], "method", false, false, false, 67)));
echo "
";
// line 69
$this->displayBlock('stylesheets', $context, $blocks);
// line 71
echo "
";
// line 73
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 73, $this->source); })()), "getSetting", [0 => "custom_css"], "method", false, false, false, 73) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 73, $this->source); })()), "getSetting", [0 => "custom_css"], "method", false, false, false, 73)))) {
// line 74
echo " <style>
";
// line 75
echo twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 75, $this->source); })()), "getSetting", [0 => "custom_css"], "method", false, false, false, 75);
echo "
</style>
";
}
// line 78
echo "
</head>
<body class=\"bg-gray ";
// line 80
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 80, $this->source); })()), "request", [], "any", false, false, false, 80), "locale", [], "any", false, false, false, 80) == "ar")) {
echo "rtl";
}
echo "\" data-currency-ccy=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 80, $this->source); })()), "getSetting", [0 => "currency_ccy"], "method", false, false, false, 80), "html", null, true);
echo "\" data-currency-symbol=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 80, $this->source); })()), "getSetting", [0 => "currency_symbol"], "method", false, false, false, 80), "html", null, true);
echo "\" data-currency-position=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 80, $this->source); })()), "getSetting", [0 => "currency_position"], "method", false, false, false, 80), "html", null, true);
echo "\" data-timezone=\"";
echo twig_escape_filter($this->env, (isset($context["date_timezone"]) || array_key_exists("date_timezone", $context) ? $context["date_timezone"] : (function () { throw new RuntimeError('Variable "date_timezone" does not exist.', 80, $this->source); })()), "html", null, true);
echo "\" ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 80, $this->source); })()), "getSetting", [0 => "show_cookie_policy_bar"], "method", false, false, false, 80) == "yes")) {
echo "data-cookie-bar-page-link=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 80, $this->source); })()), "getSetting", [0 => "cookie_policy_page_slug"], "method", false, false, false, 80)]), "html", null, true);
echo "\" ";
}
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 80, $this->source); })()), "getEnv", [0 => "DEMO_MODE"], "method", false, false, false, 80) == "1")) {
echo "data-demo-mode=\"1\"";
}
echo ">
";
// line 82
$this->loadTemplate("Global/header.html.twig", "Global/layout.html.twig", 82)->display($context);
// line 83
echo "
";
// line 84
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
// line 85
echo " ";
$this->loadTemplate("Global/message.html.twig", "Global/layout.html.twig", 85)->display(twig_array_merge($context, ["type" => "info", "icon" => "fas fa-info-circle", "message" => (((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("You are connected as \"%username%", ["%username%" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 85, $this->source); })()), "user", [], "any", false, false, false, 85), "username", [], "any", false, false, false, 85)]) . "\", <a href=\"") . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_index", ["_switch_user" => "_exit"])) . "\">") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Click here")) . "</a> ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("to return to your dashboard"))]));
// line 86
echo " ";
}
// line 87
echo "
";
// line 88
$this->displayBlock('content', $context, $blocks);
// line 89
echo "
";
// line 90
$this->loadTemplate("Global/footer.html.twig", "Global/layout.html.twig", 90)->display($context);
// line 91
echo "
";
// line 92
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 93
echo " ";
$this->loadTemplate("Global/dashboard-items-sidenav.html.twig", "Global/layout.html.twig", 93)->display($context);
// line 94
echo " ";
}
// line 95
echo "
";
// line 96
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
// line 98
$this->displayBlock('javascripts', $context, $blocks);
// line 100
echo "
";
// line 101
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 101, $this->source); })()), "flashes", [], "any", false, false, false, 101));
foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
// line 102
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 103
echo " <div class=\"flash-message\" data-type=\"";
echo twig_escape_filter($this->env, $context["type"], "html", null, true);
echo "\" data-message=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["message"]), "html", null, true);
echo "\"></div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 105
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['type'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 106
echo "
<script id=\"top-search-result-template\" type=\"text/x-handlebars-template\">
";
// line 108
$this->loadTemplate("Global/event-preview-horizontal.html.twig", "Global/layout.html.twig", 108)->display(twig_array_merge($context, ["handlebarstemplate" => true]));
// line 109
echo " </script>
";
// line 111
if ((twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 111, $this->source); })()), "getSetting", [0 => "show_back_to_top_button"], "method", false, false, false, 111) == "yes")) {
// line 112
echo " <a class=\"material-scrolltop cursor-pointer btn btn-sm btn-primary\"></a>
";
}
// line 114
echo "
</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 10
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 17
public function block_meta_dynamic_seo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_dynamic_seo"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_dynamic_seo"));
// line 18
echo " <meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 18, $this->source); })()), "getSetting", [0 => ("website_description_" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 18, $this->source); })()), "request", [], "any", false, false, false, 18), "locale", [], "any", false, false, false, 18))], "method", false, false, false, 18), "html", null, true);
echo "\" />
<meta name=\"keywords\" content=\"";
// line 19
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 19, $this->source); })()), "getSetting", [0 => ("website_keywords_" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 19, $this->source); })()), "request", [], "any", false, false, false, 19), "locale", [], "any", false, false, false, 19))], "method", false, false, false, 19), "html", null, true);
echo "\" />
<meta property=\"og:title\" content=\"";
// line 20
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 20, $this->source); })()), "getSetting", [0 => "website_name"], "method", false, false, false, 20), "html", null, true);
echo "\" />
<meta property=\"og:image\" content=\"";
// line 21
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 21, $this->source); })()), "getAppLayoutSettings", [], "any", false, false, false, 21), "getOgImagePath", [], "any", false, false, false, 21))), "html", null, true);
echo "\" />
<meta property=\"og:description\" content=\"";
// line 22
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 22, $this->source); })()), "getSetting", [0 => ("website_description_" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 22, $this->source); })()), "request", [], "any", false, false, false, 22), "locale", [], "any", false, false, false, 22))], "method", false, false, false, 22), "html", null, true);
echo "\" />
<meta name=\"twitter:title\" content=\"";
// line 23
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 23, $this->source); })()), "getSetting", [0 => "website_name"], "method", false, false, false, 23), "html", null, true);
echo "\" />
<meta name=\"twitter:image\" content=\"";
// line 24
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 24, $this->source); })()), "getAppLayoutSettings", [], "any", false, false, false, 24), "getOgImagePath", [], "any", false, false, false, 24))), "html", null, true);
echo "\" />
<meta name=\"twitter:image:alt\" content=\"";
// line 25
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 25, $this->source); })()), "getSetting", [0 => ("website_description_" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "locale", [], "any", false, false, false, 25))], "method", false, false, false, 25), "html", null, true);
echo "\" />
<meta name=\"twitter:description\" content=\"";
// line 26
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 26, $this->source); })()), "getSetting", [0 => ("website_description_" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26))], "method", false, false, false, 26), "html", null, true);
echo "\" />
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 69
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 70
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 88
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 98
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 99
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Global/layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 458 => 99, 448 => 98, 430 => 88, 420 => 70, 410 => 69, 398 => 26, 394 => 25, 390 => 24, 386 => 23, 382 => 22, 378 => 21, 374 => 20, 370 => 19, 365 => 18, 355 => 17, 337 => 10, 324 => 114, 320 => 112, 318 => 111, 314 => 109, 312 => 108, 308 => 106, 302 => 105, 291 => 103, 286 => 102, 282 => 101, 279 => 100, 277 => 98, 272 => 96, 269 => 95, 266 => 94, 263 => 93, 261 => 92, 258 => 91, 256 => 90, 253 => 89, 251 => 88, 248 => 87, 245 => 86, 242 => 85, 240 => 84, 237 => 83, 235 => 82, 210 => 80, 206 => 78, 200 => 75, 197 => 74, 194 => 73, 191 => 71, 189 => 69, 183 => 67, 180 => 65, 174 => 63, 172 => 62, 167 => 61, 165 => 60, 160 => 59, 158 => 58, 153 => 57, 151 => 56, 146 => 55, 143 => 54, 138 => 51, 135 => 50, 129 => 47, 118 => 39, 115 => 38, 112 => 37, 107 => 34, 103 => 33, 99 => 32, 95 => 31, 90 => 29, 85 => 28, 83 => 17, 79 => 16, 73 => 13, 68 => 11, 62 => 10, 51 => 2, 48 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.get('_locale') }}\">
<head>
<!--[if IE]>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<![endif]-->
<meta charset=\"utf-8\" />
<meta name=\"robots\" content=\"index, follow, all\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\" />
<title>{% block title %}{% endblock %} | {{ services.getSetting(\"website_name\") }}</title>
<meta property=\"og:site_name\" content=\"{{ services.getSetting(\"website_name\") }}\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:url\" content=\"{{ app.request.schemeAndHttpHost ~ app.request.requestUri }}\" />
<meta name=\"twitter:card\" content=\"summary_large_image\" />
<meta name=\"twitter:site\" content=\"@{{ services.getSetting(\"website_slug\") }}\" />
{% block meta_dynamic_seo %}
<meta name=\"description\" content=\"{{ services.getSetting(\"website_description_\" ~ app.request.locale) }}\" />
<meta name=\"keywords\" content=\"{{ services.getSetting(\"website_keywords_\" ~ app.request.locale) }}\" />
<meta property=\"og:title\" content=\"{{ services.getSetting(\"website_name\") }}\" />
<meta property=\"og:image\" content=\"{{ absolute_url(asset(services.getAppLayoutSettings.getOgImagePath)) }}\" />
<meta property=\"og:description\" content=\"{{ services.getSetting(\"website_description_\" ~ app.request.locale) }}\" />
<meta name=\"twitter:title\" content=\"{{ services.getSetting(\"website_name\") }}\" />
<meta name=\"twitter:image\" content=\"{{ absolute_url(asset(services.getAppLayoutSettings.getOgImagePath)) }}\" />
<meta name=\"twitter:image:alt\" content=\"{{ services.getSetting(\"website_description_\" ~ app.request.locale) }}\" />
<meta name=\"twitter:description\" content=\"{{ services.getSetting(\"website_description_\" ~ app.request.locale) }}\" />
{% endblock %}
<link rel=\"shortcut icon\" href=\"{{ absolute_url(asset(services.getAppLayoutSettings.getFaviconPath)) }}\" />
<link rel=\"canonical\" href=\"{{ app.request.schemeAndHttpHost ~ app.request.requestUri }}\" />
<meta name=\"apple-mobile-web-app-title\" content=\"{{ services.getSetting(\"website_name\") }}\" />
<meta name=\"twitter:site\" content=\"@{{ services.getSetting(\"website_name\") }}\" />
<meta name=\"application-name\" content=\"{{ services.getSetting(\"website_name\") }}\" />
<meta name=\"msapplication-tooltip\" content=\"{{ services.getSetting(\"website_description_\" ~ app.request.locale) }}\" />
{# Google analytics code added in the app parameters #}
{% if services.getSetting('google_analytics_code') != \"\" and services.getSetting('google_analytics_code') is not null %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id={{ services.getSetting('google_analytics_code') }}\" integrity=\"sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '{{ services.getSetting('google_analytics_code') }}');
</script>
{% endif %}
{{ encore_entry_link_tags('app') }}
{# i18n lang specific styles #}
{% if app.request.locale == \"fr\" %}
{{ encore_entry_link_tags('app.fr') }}
{% elseif app.request.locale == \"ar\" %}
{{ encore_entry_link_tags('app.ar') }}
{% elseif app.request.locale == \"es\" %}
{{ encore_entry_link_tags('app.es') }}
{% elseif app.request.locale == \"de\" %}
{{ encore_entry_link_tags('app.de') }}
{% elseif app.request.locale == \"pt\" %}
{{ encore_entry_link_tags('app.pt') }}
{% endif %}
{# Application theme #}
{{ encore_entry_link_tags('app.'~services.getSetting('app_theme')) }}
{% block stylesheets %}
{% endblock %}
{# Custom css code added in the app parameters #}
{% if services.getSetting('custom_css') != \"\" and services.getSetting('custom_css') is not null %}
<style>
{{ services.getSetting('custom_css')|raw }}
</style>
{% endif %}
</head>
<body class=\"bg-gray {% if app.request.locale == \"ar\" %}rtl{% endif %}\" data-currency-ccy=\"{{ services.getSetting('currency_ccy') }}\" data-currency-symbol=\"{{ services.getSetting('currency_symbol') }}\" data-currency-position=\"{{ services.getSetting('currency_position') }}\" data-timezone=\"{{ date_timezone }}\" {% if services.getSetting('show_cookie_policy_bar') == \"yes\" %}data-cookie-bar-page-link=\"{{ path('page', { slug : services.getSetting('cookie_policy_page_slug') }) }}\" {% endif %} {% if services.getEnv('DEMO_MODE') == \"1\" %}data-demo-mode=\"1\"{% endif %}>
{% include \"Global/header.html.twig\" %}
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
{% include \"Global/message.html.twig\" with { type: 'info', icon: 'fas fa-info-circle', message: ('You are connected as \"%username%'|trans({'%username%' : app.user.username})~ '\", <a href=\"'~ path('dashboard_index', {'_switch_user': '_exit'}) ~'\">' ~ 'Click here'|trans ~ '</a> ' ~ 'to return to your dashboard'|trans) } %}
{% endif %}
{% block content %}{% endblock %}
{% include \"Global/footer.html.twig\" %}
{% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
{% include \"Global/dashboard-items-sidenav.html.twig\" %}
{% endif %}
{{ encore_entry_script_tags('app') }}
{% block javascripts %}
{% endblock %}
{% for type, messages in app.flashes %}
{% for message in messages %}
<div class=\"flash-message\" data-type=\"{{ type }}\" data-message=\"{{ message|trans }}\"></div>
{% endfor %}
{% endfor %}
<script id=\"top-search-result-template\" type=\"text/x-handlebars-template\">
{% include \"Global/event-preview-horizontal.html.twig\" with { handlebarstemplate: true } %}
</script>
{% if services.getSetting(\"show_back_to_top_button\") == \"yes\" %}
<a class=\"material-scrolltop cursor-pointer btn btn-sm btn-primary\"></a>
{% endif %}
</body>
</html>
", "Global/layout.html.twig", "/www/wwwroot/eventos.keoscx.com/templates/Global/layout.html.twig");
}
}