<?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/common/default.html.twig */
class __TwigTemplate_37e7dde2275f3f2c3e1d7232bd75fadb 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_scripts_requirements' => [$this, 'block_head_scripts_requirements'],
'footer_positioning_mobile' => [$this, 'block_footer_positioning_mobile'],
'footer_positioning_desktop' => [$this, 'block_footer_positioning_desktop'],
'content' => [$this, 'block_content'],
'body_end_scripts_requirements' => [$this, 'block_body_end_scripts_requirements'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/common/default.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/common/default.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"";
// line 2
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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), "locale", [], "any", false, false, false, 2), "html", null, true);
yield "\">
<head>
";
// line 4
$context["pageAttributes"] = ((array_key_exists("pageAttributes", $context)) ? ((isset($context["pageAttributes"]) || array_key_exists("pageAttributes", $context) ? $context["pageAttributes"] : (function () { throw new RuntimeError('Variable "pageAttributes" does not exist.', 4, $this->source); })())) : (["group" => "common", "section" => ((array_key_exists("pageSection", $context)) ? ((isset($context["pageSection"]) || array_key_exists("pageSection", $context) ? $context["pageSection"] : (function () { throw new RuntimeError('Variable "pageSection" does not exist.', 4, $this->source); })())) : ("unknown"))]));
// line 5
yield " ";
yield from $this->load("includes/common/head.html.twig", 5)->unwrap()->yield($context);
// line 6
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["pageAttributes"] ?? null), "section", [], "any", true, true, false, 6) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageAttributes"]) || array_key_exists("pageAttributes", $context) ? $context["pageAttributes"] : (function () { throw new RuntimeError('Variable "pageAttributes" does not exist.', 6, $this->source); })()), "section", [], "any", false, false, false, 6) == "sim"))) {
// line 7
yield " ";
yield from $this->load("includes/sim/stylesheets.html.twig", 7)->unwrap()->yield($context);
}
// line 9
yield from $this->unwrap()->yieldBlock('head_scripts_requirements', $context, $blocks);
// line 10
if ((array_key_exists("paymentScripts", $context) && (isset($context["paymentScripts"]) || array_key_exists("paymentScripts", $context) ? $context["paymentScripts"] : (function () { throw new RuntimeError('Variable "paymentScripts" does not exist.', 10, $this->source); })()))) {
// line 11
yield " ";
yield from $this->load("includes/ticketing/payment-scripts.html.twig", 11)->unwrap()->yield($context);
}
// line 13
yield "</head>
<body class=\"is-Layout_Common_Default is-Layout_WithNavMenu ";
// line 14
yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["pageAttributes"] ?? null), "bodyClasses", [], "any", true, true, false, 14)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((" " . CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageAttributes"]) || array_key_exists("pageAttributes", $context) ? $context["pageAttributes"] : (function () { throw new RuntimeError('Variable "pageAttributes" does not exist.', 14, $this->source); })()), "bodyClasses", [], "any", false, false, false, 14)), "html", null, true)) : (""));
yield (((array_key_exists("display_mode", $context) && ((isset($context["display_mode"]) || array_key_exists("display_mode", $context) ? $context["display_mode"] : (function () { throw new RuntimeError('Variable "display_mode" does not exist.', 14, $this->source); })()) == Twig\Extension\CoreExtension::constant("App\\EventSubscriber\\TwigGlobalSubscriber::DISPLAY_MODE_WEBVIEW")))) ? (" is-Layout_WebView") : (""));
yield "\">
";
// line 15
yield from $this->load("includes/common/accessibility-quick-links.twig", 15)->unwrap()->yield($context);
// line 16
yield from $this->load("includes/common/body-begin-scripts.html.twig", 16)->unwrap()->yield($context);
// line 17
yield "<div id=\"body\">
";
// line 20
yield " <!--";
yield from $this->unwrap()->yieldBlock('footer_positioning_mobile', $context, $blocks);
yield "-->
<!--";
// line 21
yield from $this->unwrap()->yieldBlock('footer_positioning_desktop', $context, $blocks);
yield "-->
";
// line 22
if ((array_key_exists("enable_web_harmony", $context) && ((isset($context["enable_web_harmony"]) || array_key_exists("enable_web_harmony", $context) ? $context["enable_web_harmony"] : (function () { throw new RuntimeError('Variable "enable_web_harmony" does not exist.', 22, $this->source); })()) == true))) {
// line 23
yield " ";
yield from $this->load("includes/common/web-harmony.html.twig", 23)->unwrap()->yield(CoreExtension::merge($context, ["footer_positioning_mobile" => $this->unwrap()->renderBlock("footer_positioning_mobile", $context, $blocks), "footer_positioning_desktop" => $this->unwrap()->renderBlock("footer_positioning_desktop", $context, $blocks)]));
// line 27
yield " ";
} else {
// line 28
yield " ";
yield from $this->load("includes/common/default-header.html.twig", 28)->unwrap()->yield($context);
// line 29
yield " ";
}
// line 30
yield " <div class=\"is-container\" id=\"is-Content\">
";
// line 31
yield from $this->load("includes/common/mask.html.twig", 31)->unwrap()->yield(CoreExtension::merge($context, ["global" => true, "id" => "is-Global-Mask"]));
// line 32
if (((((isset($context["display_mode"]) || array_key_exists("display_mode", $context) ? $context["display_mode"] : (function () { throw new RuntimeError('Variable "display_mode" does not exist.', 32, $this->source); })()) != Twig\Extension\CoreExtension::constant("App\\EventSubscriber\\TwigGlobalSubscriber::DISPLAY_MODE_WEBVIEW")) && array_key_exists("steps", $context)) && !Twig\Extension\CoreExtension::testEmpty((isset($context["steps"]) || array_key_exists("steps", $context) ? $context["steps"] : (function () { throw new RuntimeError('Variable "steps" does not exist.', 32, $this->source); })())))) {
// line 33
yield " <div class=\"is-text-center\">
";
// line 34
yield from $this->load("includes/ticketing/header-steps.html.twig", 34)->unwrap()->yield($context);
// line 35
yield " </div>
";
}
// line 37
yield " <main id=\"is-Main\" role=\"main\" tabindex=\"-1\">
";
// line 38
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 39
yield " </main>
</div>
";
// line 41
if (( !array_key_exists("enable_web_harmony", $context) || ((isset($context["enable_web_harmony"]) || array_key_exists("enable_web_harmony", $context) ? $context["enable_web_harmony"] : (function () { throw new RuntimeError('Variable "enable_web_harmony" does not exist.', 41, $this->source); })()) == false))) {
// line 42
yield " ";
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\PageController::getFooterAction", ["filigree" => ((array_key_exists("filigree", $context)) ? ((isset($context["filigree"]) || array_key_exists("filigree", $context) ? $context["filigree"] : (function () { throw new RuntimeError('Variable "filigree" does not exist.', 42, $this->source); })())) : (false))]));
yield "
";
}
// line 44
yield "</div>
";
// line 45
if ((($tmp = !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 46
yield " ";
yield from $this->load("pages/account/userLogin.html.twig", 46)->unwrap()->yield($context);
}
// line 48
yield "
";
// line 49
if (( !array_key_exists("isPdfPrint", $context) || ((isset($context["isPdfPrint"]) || array_key_exists("isPdfPrint", $context) ? $context["isPdfPrint"] : (function () { throw new RuntimeError('Variable "isPdfPrint" does not exist.', 49, $this->source); })()) == false))) {
// line 50
yield " ";
yield from $this->load("includes/common/default-nav.html.twig", 50)->unwrap()->yield($context);
}
// line 53
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageAttributes"]) || array_key_exists("pageAttributes", $context) ? $context["pageAttributes"] : (function () { throw new RuntimeError('Variable "pageAttributes" does not exist.', 53, $this->source); })()), "section", [], "any", false, false, false, 53) == "sim")) {
// line 54
yield " ";
yield from $this->load("includes/sim/body-end-scripts.html.twig", 54)->unwrap()->yield($context);
}
// line 56
yield from $this->unwrap()->yieldBlock('body_end_scripts_requirements', $context, $blocks);
// line 57
yield "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 9
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_head_scripts_requirements(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_scripts_requirements"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_scripts_requirements"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 20
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer_positioning_mobile(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_positioning_mobile"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_positioning_mobile"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 21
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer_positioning_desktop(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_positioning_desktop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_positioning_desktop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 38
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 56
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body_end_scripts_requirements(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_end_scripts_requirements"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_end_scripts_requirements"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "layouts/common/default.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 278 => 56, 256 => 38, 234 => 21, 212 => 20, 190 => 9, 177 => 57, 175 => 56, 171 => 54, 169 => 53, 165 => 50, 163 => 49, 160 => 48, 156 => 46, 154 => 45, 151 => 44, 145 => 42, 143 => 41, 139 => 39, 137 => 38, 134 => 37, 130 => 35, 128 => 34, 125 => 33, 123 => 32, 121 => 31, 118 => 30, 115 => 29, 112 => 28, 109 => 27, 106 => 23, 104 => 22, 100 => 21, 95 => 20, 92 => 17, 90 => 16, 88 => 15, 83 => 14, 80 => 13, 76 => 11, 74 => 10, 72 => 9, 68 => 7, 66 => 6, 63 => 5, 61 => 4, 56 => 2, 53 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
{% set pageAttributes = pageAttributes is defined ? pageAttributes : { group: 'common', section: (pageSection is defined ? pageSection : 'unknown') } %}
{% include 'includes/common/head.html.twig' %}
{% if pageAttributes.section is defined and pageAttributes.section == 'sim' %}
{% include 'includes/sim/stylesheets.html.twig' %}
{% endif %}
{% block head_scripts_requirements %}{% endblock %}
{% if paymentScripts is defined and paymentScripts %}
{% include 'includes/ticketing/payment-scripts.html.twig' %}
{% endif %}
</head>
<body class=\"is-Layout_Common_Default is-Layout_WithNavMenu {{ pageAttributes.bodyClasses is defined ? ' ' ~ pageAttributes.bodyClasses : '' }}{{ (display_mode is defined and display_mode == constant('App\\\\EventSubscriber\\\\TwigGlobalSubscriber::DISPLAY_MODE_WEBVIEW')) ? ' is-Layout_WebView' : '' }}\">
{% include 'includes/common/accessibility-quick-links.twig' %}
{% include 'includes/common/body-begin-scripts.html.twig' %}
<div id=\"body\">
{# Declare default empty blocks so block() never throws when child doesn't override.
Hidden in HTML comments so any child override doesn't render visibly. #}
<!--{% block footer_positioning_mobile %}{% endblock %}-->
<!--{% block footer_positioning_desktop %}{% endblock %}-->
{% if enable_web_harmony is defined and enable_web_harmony == true %}
{% include 'includes/common/web-harmony.html.twig' with {
footer_positioning_mobile: block('footer_positioning_mobile'),
footer_positioning_desktop: block('footer_positioning_desktop'),
} %}
{% else %}
{% include 'includes/common/default-header.html.twig' %}
{% endif %}
<div class=\"is-container\" id=\"is-Content\">
{% include 'includes/common/mask.html.twig' with {global: true, id:'is-Global-Mask'} %}
{% if display_mode != constant('App\\\\EventSubscriber\\\\TwigGlobalSubscriber::DISPLAY_MODE_WEBVIEW') and steps is defined and steps is not empty %}
<div class=\"is-text-center\">
{% include 'includes/ticketing/header-steps.html.twig' %}
</div>
{% endif %}
<main id=\"is-Main\" role=\"main\" tabindex=\"-1\">
{% block content %}{% endblock %}
</main>
</div>
{% if enable_web_harmony is not defined or enable_web_harmony == false %}
{{ render(controller('App\\\\Controller\\\\PageController::getFooterAction', { 'filigree': (filigree is defined) ? filigree : false } )) }}
{% endif %}
</div>
{% if not is_granted('IS_AUTHENTICATED_REMEMBERED') %}
{% include 'pages/account/userLogin.html.twig' %}
{% endif %}
{% if (isPdfPrint is not defined or isPdfPrint == false) %}
{% include 'includes/common/default-nav.html.twig' %}
{% endif %}
{# Include plugins, utils, etc. files #}
{% if pageAttributes.section == 'sim' %}
{% include 'includes/sim/body-end-scripts.html.twig' %}
{% endif %}
{% block body_end_scripts_requirements %}{% endblock %}
</body>
</html>
", "layouts/common/default.html.twig", "/var/www/html/templates/layouts/common/default.html.twig");
}
}