<?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;
/* lef-career/layout.html.twig */
class __TwigTemplate_65b38f373606dae6d6508ef2a8749e96 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 = [
'layoutCommonAttribute' => [$this, 'block_layoutCommonAttribute'],
'htmlAttributes' => [$this, 'block_htmlAttributes'],
'head_inline_stylesheets' => [$this, 'block_head_inline_stylesheets'],
'head_links' => [$this, 'block_head_links'],
'layout_head_meta_init' => [$this, 'block_layout_head_meta_init'],
'layout_head_meta' => [$this, 'block_layout_head_meta'],
'bodyAttributes' => [$this, 'block_bodyAttributes'],
'scripts' => [$this, 'block_scripts'],
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
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", "lef-career/layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "lef-career/layout.html.twig"));
// line 1
yield "<!doctype html>";
// line 3
yield from $this->unwrap()->yieldBlock('layoutCommonAttribute', $context, $blocks);
// line 6
$context["isDocument"] = $this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 6, $this->source); })()), "\\Pimcore\\Model\\Document\\Page");
// line 8
$this->env->getFunction('layout_html_attribute_add')->getCallable()("html", "lang", 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.', 8, $this->source); })()), "request", [], "any", false, false, true, 8), "locale", [], "any", false, false, true, 8));
// line 9
$this->env->getFunction('layout_html_attribute_add_class')->getCallable()("html", "no-js");
// line 11
yield "<html ";
yield from $this->unwrap()->yieldBlock('htmlAttributes', $context, $blocks);
yield ">
<head>";
// line 13
yield Twig\Extension\CoreExtension::include($this->env, $context, "lef-career/partials/head/meta.html.twig");
// line 15
$_v0 = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
// line 16
if (((isset($context["isDocument"]) || array_key_exists("isDocument", $context) ? $context["isDocument"] : (function () { throw new RuntimeError('Variable "isDocument" does not exist.', 16, $this->source); })()) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 16, $this->source); })()), "title", [], "any", false, false, true, 16)))) {
// line 17
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 17, $this->source); })()), "title", [], "any", false, false, true, 17)], "method", false, false, true, 17);
} else {
// line 19
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", ["LEF Karriere"], "method", false, false, true, 19);
}
// line 22
yield $this->env->getFunction('pimcore_head_title')->getCallable()();
yield from [];
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 15
yield Twig\Extension\CoreExtension::spaceless($_v0);
// line 25
yield Twig\Extension\CoreExtension::include($this->env, $context, "lef-career/partials/head/preloadLinks.html.twig");
// line 26
yield Twig\Extension\CoreExtension::include($this->env, $context, "lef-career/partials/head/asynchronousFontLoading.html.twig");
// line 28
yield "<style>";
// line 29
yield $this->extensions['Aufwind\StdlibBundle\Twig\FileExtension']->includeWeb("/css/career-critical.css");
// line 30
yield "</style>";
// line 32
yield from $this->unwrap()->yieldBlock('head_inline_stylesheets', $context, $blocks);
// line 36
yield from $this->unwrap()->yieldBlock('head_links', $context, $blocks);
// line 40
$_v1 = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
// line 41
if (( !array_key_exists("document", $context) || !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 41, $this->source); })()))) {
// line 42
$context["document"] = Pimcore\Model\Document::getById(1);
}
// line 45
if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 45, $this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
// line 46
$context["document"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 46, $this->source); })()), "getObject", [], "method", false, false, true, 46);
}
// line 49
if (((isset($context["isDocument"]) || array_key_exists("isDocument", $context) ? $context["isDocument"] : (function () { throw new RuntimeError('Variable "isDocument" does not exist.', 49, $this->source); })()) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 49, $this->source); })()), "description", [], "any", false, false, true, 49)))) {
// line 50
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 50, $this->source); })()), "description", [], "any", false, false, true, 50)], "method", false, false, true, 50);
}
yield from [];
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 40
yield Twig\Extension\CoreExtension::spaceless($_v1);
// line 54
yield Twig\Extension\CoreExtension::include($this->env, $context, "lef-career/partials/head/asynchronousStylesheetLoading.html.twig");
// line 56
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('hreflang_init')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 56, $this->source); })()), 56, $this->source)), "html", null, true);
// line 57
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('canonical_init')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 57, $this->source); })()), 57, $this->source)), "html", null, true);
// line 59
yield from $this->unwrap()->yieldBlock('layout_head_meta_init', $context, $blocks);
// line 62
yield from $this->unwrap()->yieldBlock('layout_head_meta', $context, $blocks);
// line 66
yield Twig\Extension\CoreExtension::include($this->env, $context, "lef-career/partials/head/jsFeatureDetection.html.twig");
// line 67
yield Twig\Extension\CoreExtension::include($this->env, $context, "lef-career/partials/head/favicons.html.twig");
// line 68
yield "</head>";
// line 70
if ((($tmp = (isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 70, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 71
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('layout_html_attribute_add_class')->getCallable()("body", "editmode"), "html", null, true);
}
// line 74
if ((($tmp = !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 74, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 75
$context["navigation_root"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 75, $this->source); })()), "getProperty", ["navigation_root"], "method", false, false, true, 75);
// line 76
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["navigation_root"]) || array_key_exists("navigation_root", $context) ? $context["navigation_root"] : (function () { throw new RuntimeError('Variable "navigation_root" does not exist.', 76, $this->source); })()), "id", [], "any", false, false, true, 76) == CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 76, $this->source); })()), "id", [], "any", false, false, true, 76))) {
// line 77
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('layout_html_attribute_add_class')->getCallable()("body", "home"), "html", null, true);
}
}
// line 81
yield "<body ";
yield from $this->unwrap()->yieldBlock('bodyAttributes', $context, $blocks);
yield ">";
// line 82
yield Twig\Extension\CoreExtension::include($this->env, $context, "lef-career/partials/svg-sprite.html.twig");
// line 83
yield Twig\Extension\CoreExtension::include($this->env, $context, "lef-career/partials/header.html.twig");
// line 85
yield "<main id=\"main-content\">";
// line 86
yield from $this->unwrap()->yieldBlock("content", $context, $blocks);
// line 88
if (( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 88, $this->source); })()) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["navigation_root"]) || array_key_exists("navigation_root", $context) ? $context["navigation_root"] : (function () { throw new RuntimeError('Variable "navigation_root" does not exist.', 88, $this->source); })()), "id", [], "any", false, false, true, 88) == CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 88, $this->source); })()), "id", [], "any", false, false, true, 88)))) {
// line 89
$context["footer_snippet"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 89, $this->source); })()), "getProperty", ["footer_snippet"], "method", false, false, true, 89);
// line 90
if ((($tmp = (isset($context["footer_snippet"]) || array_key_exists("footer_snippet", $context) ? $context["footer_snippet"] : (function () { throw new RuntimeError('Variable "footer_snippet" does not exist.', 90, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 91
yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["footer_snippet"]) || array_key_exists("footer_snippet", $context) ? $context["footer_snippet"] : (function () { throw new RuntimeError('Variable "footer_snippet" does not exist.', 91, $this->source); })()), 91, $this->source));
}
}
// line 94
yield "</main>";
// line 96
if (( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 96, $this->source); })()) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["navigation_root"]) || array_key_exists("navigation_root", $context) ? $context["navigation_root"] : (function () { throw new RuntimeError('Variable "navigation_root" does not exist.', 96, $this->source); })()), "id", [], "any", false, false, true, 96) != CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 96, $this->source); })()), "id", [], "any", false, false, true, 96)))) {
// line 97
$context["footer_snippet"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 97, $this->source); })()), "getProperty", ["footer_snippet"], "method", false, false, true, 97);
// line 98
if ((($tmp = (isset($context["footer_snippet"]) || array_key_exists("footer_snippet", $context) ? $context["footer_snippet"] : (function () { throw new RuntimeError('Variable "footer_snippet" does not exist.', 98, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 99
yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["footer_snippet"]) || array_key_exists("footer_snippet", $context) ? $context["footer_snippet"] : (function () { throw new RuntimeError('Variable "footer_snippet" does not exist.', 99, $this->source); })()), 99, $this->source));
}
}
// line 103
yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks);
// line 107
if ((($tmp = !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 107, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 108
yield "<script id=\"accessible-toggle\">";
// line 109
yield $this->extensions['Aufwind\StdlibBundle\Twig\FileExtension']->includeWeb("/lef-career/js/accessible-toggle.js");
// line 110
yield "</script>";
}
// line 113
if (( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 113, $this->source); })()) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["navigation_root"]) || array_key_exists("navigation_root", $context) ? $context["navigation_root"] : (function () { throw new RuntimeError('Variable "navigation_root" does not exist.', 113, $this->source); })()), "id", [], "any", false, false, true, 113) == CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 113, $this->source); })()), "id", [], "any", false, false, true, 113)))) {
// line 114
yield "<script src=\"/vendor/headroom.js/dist/headroom.min.js\"></script>
<script id=\"header-toggle\">";
// line 116
yield $this->extensions['Aufwind\StdlibBundle\Twig\FileExtension']->includeWeb("/lef-career/js/toggle-header-visibility.js");
// line 117
yield "</script>";
}
// line 119
yield "</body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_layoutCommonAttribute(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", "layoutCommonAttribute"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layoutCommonAttribute"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 11
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_htmlAttributes(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", "htmlAttributes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "htmlAttributes"));
yield $this->env->getFunction('layout_html_attribute_render')->getCallable()("html");
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 32
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_head_inline_stylesheets(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_inline_stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_inline_stylesheets"));
// line 33
yield $this->env->getFunction('pimcore_head_style')->getCallable()();
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 36
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_head_links(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_links"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_links"));
// line 37
yield $this->env->getFunction('pimcore_head_link')->getCallable()();
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 59
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_layout_head_meta_init(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", "layout_head_meta_init"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta_init"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 62
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_layout_head_meta(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", "layout_head_meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
// line 63
yield $this->env->getFunction('pimcore_head_meta')->getCallable()();
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 81
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_bodyAttributes(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", "bodyAttributes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyAttributes"));
yield $this->env->getFunction('layout_html_attribute_render')->getCallable()("body");
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 103
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_scripts(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", "scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
// line 104
yield $this->env->getFunction('pimcore_head_script')->getCallable()();
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "lef-career/layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 399 => 104, 386 => 103, 363 => 81, 352 => 63, 339 => 62, 317 => 59, 306 => 37, 293 => 36, 282 => 33, 269 => 32, 246 => 11, 224 => 3, 212 => 119, 209 => 117, 207 => 116, 204 => 114, 202 => 113, 199 => 110, 197 => 109, 195 => 108, 193 => 107, 191 => 103, 187 => 99, 185 => 98, 183 => 97, 181 => 96, 179 => 94, 175 => 91, 173 => 90, 171 => 89, 169 => 88, 167 => 86, 165 => 85, 163 => 83, 161 => 82, 157 => 81, 153 => 77, 151 => 76, 149 => 75, 147 => 74, 144 => 71, 142 => 70, 140 => 68, 138 => 67, 136 => 66, 134 => 62, 132 => 59, 130 => 57, 128 => 56, 126 => 54, 124 => 40, 119 => 50, 117 => 49, 114 => 46, 112 => 45, 109 => 42, 107 => 41, 105 => 40, 103 => 36, 101 => 32, 99 => 30, 97 => 29, 95 => 28, 93 => 26, 91 => 25, 89 => 15, 85 => 22, 82 => 19, 79 => 17, 77 => 16, 75 => 15, 73 => 13, 68 => 11, 66 => 9, 64 => 8, 62 => 6, 60 => 3, 58 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!doctype html>
{%- block layoutCommonAttribute -%}
{%- endblock -%}
{%- set isDocument = document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') -%}
{%- do layout_html_attribute_add('html', 'lang', app.request.locale) -%}
{%- do layout_html_attribute_add_class('html', 'no-js') -%}
<html {% block htmlAttributes -%}{{ layout_html_attribute_render('html')|raw }}{%- endblock -%}>
<head>
{{- include('lef-career/partials/head/meta.html.twig') -}}
{%- apply spaceless -%}
{%- if isDocument and document.title is not empty -%}
{%- do pimcore_head_title().set(document.title) -%}
{%- else -%}
{%- do pimcore_head_title().set('LEF Karriere') -%}
{%- endif -%}
{{- pimcore_head_title() -}}
{%- endapply -%}
{{- include('lef-career/partials/head/preloadLinks.html.twig') -}}
{{- include('lef-career/partials/head/asynchronousFontLoading.html.twig') -}}
<style>
{{- aw_web_file_include('/css/career-critical.css')|raw -}}
</style>
{%- block head_inline_stylesheets -%}
{{- pimcore_head_style() -}}
{%- endblock -%}
{%- block head_links -%}
{{- pimcore_head_link() -}}
{%- endblock -%}
{%- apply spaceless -%}
{%- if not document is defined or not document -%}
{%- set document = pimcore_document(1) -%}
{%- endif -%}
{%- if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') -%}
{%- set document = document.getObject() -%}
{%- endif -%}
{%- if isDocument and document.description is not empty -%}
{%- do pimcore_head_meta().setDescription(document.description) -%}
{%- endif -%}
{%- endapply -%}
{{- include('lef-career/partials/head/asynchronousStylesheetLoading.html.twig') -}}
{{- hreflang_init(document) -}}
{{- canonical_init(document) -}}
{%- block layout_head_meta_init -%}
{%- endblock -%}
{%- block layout_head_meta -%}
{{- pimcore_head_meta() -}}
{%- endblock -%}
{{- include('lef-career/partials/head/jsFeatureDetection.html.twig') -}}
{{- include('lef-career/partials/head/favicons.html.twig') -}}
</head>
{%- if editmode -%}
{{- layout_html_attribute_add_class('body', 'editmode') -}}
{%- endif -%}
{%- if not editmode -%}
{%- set navigation_root = document.getProperty('navigation_root') -%}
{%- if navigation_root.id == document.id -%}
{{- layout_html_attribute_add_class('body', 'home') -}}
{%- endif -%}
{%- endif -%}
<body {% block bodyAttributes -%}{{ layout_html_attribute_render('body')|raw }}{%- endblock -%}>
{{- include('lef-career/partials/svg-sprite.html.twig') -}}
{{- include('lef-career/partials/header.html.twig') -}}
<main id=\"main-content\">
{{- block('content') -}}
{%- if not editmode and navigation_root.id == document.id -%}
{%- set footer_snippet = document.getProperty('footer_snippet') -%}
{%- if footer_snippet -%}
{{- pimcore_inc(footer_snippet) -}}
{%- endif -%}
{%- endif -%}
</main>
{%- if not editmode and navigation_root.id != document.id -%}
{%- set footer_snippet = document.getProperty('footer_snippet') -%}
{%- if footer_snippet -%}
{{- pimcore_inc(footer_snippet) -}}
{%- endif -%}
{%- endif -%}
{%- block scripts -%}
{{ pimcore_head_script() }}
{%- endblock -%}
{%- if not editmode -%}
<script id=\"accessible-toggle\">
{{- aw_web_file_include('/lef-career/js/accessible-toggle.js')|raw -}}
</script>
{%- endif -%}
{%- if not editmode and navigation_root.id == document.id -%}
<script src=\"/vendor/headroom.js/dist/headroom.min.js\"></script>
<script id=\"header-toggle\">
{{- aw_web_file_include('/lef-career/js/toggle-header-visibility.js')|raw -}}
</script>
{%- endif -%}
</body>
</html>", "lef-career/layout.html.twig", "/var/www/pimcore/templates/lef-career/layout.html.twig");
}
public function checkSecurity()
{
static $tags = ["block" => 3, "set" => 6, "do" => 8, "apply" => 15, "if" => 16];
static $filters = ["spaceless" => 15, "raw" => 29, "escape" => 56];
static $functions = ["layout_html_attribute_add" => 8, "layout_html_attribute_add_class" => 9, "include" => 13, "pimcore_head_title" => 17, "aw_web_file_include" => 29, "pimcore_document" => 42, "pimcore_head_meta" => 50, "hreflang_init" => 56, "canonical_init" => 57, "pimcore_inc" => 91, "layout_html_attribute_render" => 11, "pimcore_head_style" => 33, "pimcore_head_link" => 37, "pimcore_head_script" => 104];
try {
$this->sandbox->checkSecurity(
['block', 'set', 'do', 'apply', 'if'],
['spaceless', 'raw', 'escape'],
['layout_html_attribute_add', 'layout_html_attribute_add_class', 'include', 'pimcore_head_title', 'aw_web_file_include', 'pimcore_document', 'pimcore_head_meta', 'hreflang_init', 'canonical_init', 'pimcore_inc', 'layout_html_attribute_render', 'pimcore_head_style', 'pimcore_head_link', 'pimcore_head_script'],
$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;
}
}
}