<?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;
/* layout/default.html.twig */
class __TwigTemplate_25a494860720e7413c1058759dce014f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'headScript' => [$this, 'block_headScript'],
'metaTags' => [$this, 'block_metaTags'],
'headScriptBlock' => [$this, 'block_headScriptBlock'],
'head_stylesheets' => [$this, 'block_head_stylesheets'],
'header' => [$this, 'block_header'],
'contentBlock' => [$this, 'block_contentBlock'],
'beforeScripts' => [$this, 'block_beforeScripts'],
'scripts' => [$this, 'block_scripts'],
'footer' => [$this, 'block_footer'],
'afterScripts' => [$this, 'block_afterScripts'],
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/default.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/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", "layout/default.html.twig"));
// line 1
yield "<!DOCTYPE html>
";
// line 2
$context["currentDocument"] = 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, true, 2), "get", ["contentDocument"], "method", false, false, true, 2);
// line 3
$context["language"] = Twig\Extension\CoreExtension::slice($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(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.', 3, $this->source); })()), "request", [], "any", false, false, true, 3), "locale", [], "any", false, false, true, 3), 3, $this->source), 0, 2);
// line 4
$context["UAKey"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("UAKey", "UA-9448822-1");
// line 5
$context["GTMKey"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("GTMKey", "GTM-W3ZCDKL8");
// line 6
yield "
<html lang=\"en\">
<head>
<meta charset=\"utf-8\">
<!-- Cookiebot Script -->
<script id=\"Cookiebot\" src=\"https://consent.cookiebot.com/uc.js\" data-cbid=\"16bb5d9f-9b9a-49f5-ad29-fbf0a3f899e1\" data-blockingmode=\"manual\" type=\"text/javascript\"></script>
<!-- Google Tag Manager -->
<script data-cookieconsent=\"ignore\">
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','";
// line 21
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["GTMKey"]) || array_key_exists("GTMKey", $context) ? $context["GTMKey"] : (function () { throw new RuntimeError('Variable "GTMKey" does not exist.', 21, $this->source); })()), 21, $this->source), "html", null, true);
yield "');
</script>
<!-- End Google Tag Manager -->
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<link rel=\"icon\" href=\"";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/images/icons/favicon.png"), "html", null, true);
yield "\" type=\"image/png\">
<link href=\"https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap&family=Lato:ital,wght@1,300;1,400;1,700&display=swap\" rel=\"stylesheet\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
<link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css\"/>
<!-- Temporaly, should be removed, issues with fancybox--> <script src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js\"></script>
<link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css\" rel=\"stylesheet\" />
";
// line 34
yield from $this->unwrap()->yieldBlock('headScript', $context, $blocks);
// line 36
yield "
";
// line 37
yield from $this->unwrap()->yieldBlock('metaTags', $context, $blocks);
// line 45
yield "
";
// line 47
yield from $this->unwrap()->yieldBlock('headScriptBlock', $context, $blocks);
// line 75
yield "</head>
<body>
";
// line 78
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.', 78, $this->source); })()))) {
// line 79
yield " ";
if (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.', 79, $this->source); })()), "getProperty", ["tabletNavigation"], "method", false, false, true, 79)) {
// line 80
yield " ";
yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, 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.', 80, $this->source); })()), "getProperty", ["tabletNavigation"], "method", false, false, true, 80), "getFullPath", [], "method", false, false, true, 80), 80, $this->source));
yield "
";
}
// line 82
yield " ";
}
// line 83
yield "
<div class=\"body-content\">
<header>
";
// line 88
yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
// line 95
yield " </header>
";
// line 98
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(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.', 98, $this->source); })()), "flashes", ["info"], "method", false, false, true, 98));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 99
yield " ";
yield from $this->loadTemplate("Components/info-message.html.twig", "layout/default.html.twig", 99)->unwrap()->yield(CoreExtension::merge($context, ["message" => $context["message"]]));
// line 100
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 101
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(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.', 101, $this->source); })()), "flashes", ["success"], "method", false, false, true, 101));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 102
yield " ";
yield from $this->loadTemplate("Components/success-message.html.twig", "layout/default.html.twig", 102)->unwrap()->yield(CoreExtension::merge($context, ["message" => $context["message"]]));
// line 103
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 104
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(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.', 104, $this->source); })()), "flashes", ["error"], "method", false, false, true, 104));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 105
yield " ";
yield from $this->loadTemplate("Components/error-message.html.twig", "layout/default.html.twig", 105)->unwrap()->yield(CoreExtension::merge($context, ["message" => $context["message"]]));
// line 106
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 107
yield "
";
// line 109
yield from $this->unwrap()->yieldBlock('contentBlock', $context, $blocks);
// line 111
yield "
";
// line 113
yield from $this->unwrap()->yieldBlock('beforeScripts', $context, $blocks);
// line 115
yield "
";
// line 116
yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks);
// line 119
yield "
";
// line 120
yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
// line 127
yield " </div>
<script src=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js\"></script>
";
// line 131
yield from $this->unwrap()->yieldBlock('afterScripts', $context, $blocks);
// line 133
yield "</body>
</html>
";
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
// line 34
public function block_headScript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headScript"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headScript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headScript"));
// line 35
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 37
public function block_metaTags($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
// line 38
yield " ";
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.', 38, $this->source); })()))) {
// line 39
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(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.', 39, $this->source); })()), "getDescription", [], "method", false, false, true, 39), 39, $this->source), "html", null, true);
yield "\">
<title>";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(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.', 40, $this->source); })()), "getTitle", [], "method", false, false, true, 40), 40, $this->source), "html", null, true);
yield "</title>
";
} else {
// line 42
yield " <title>Stoelting</title>
";
}
// line 44
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 47
public function block_headScriptBlock($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headScriptBlock"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headScriptBlock"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headScriptBlock"));
// line 48
yield " ";
$___internal_parse_0_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
// line 50
yield " ";
// line 51
yield "
";
// line 52
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/bootstrap.css")], "method", false, false, true, 52);
// line 53
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/Stoelting.css")], "method", false, false, true, 53);
// line 54
yield "
";
// line 55
if ((array_key_exists("editmode", $context) && (isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 55, $this->source); })()))) {
// line 56
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/AdminMode.css")], "method", false, false, true, 56);
// line 57
yield " ";
}
// line 58
yield "
";
// line 59
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/bootstrap.js")], "method", false, false, true, 59);
// line 60
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/Stoelting.js")], "method", false, false, true, 60);
return; yield '';
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 48
yield Twig\Extension\CoreExtension::spaceless($___internal_parse_0_);
// line 62
yield "
";
// line 64
yield " ";
// line 67
yield "
";
// line 68
yield from $this->unwrap()->yieldBlock('head_stylesheets', $context, $blocks);
// line 71
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 68
public function block_head_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
// line 69
yield " ";
yield $this->env->getFunction('pimcore_head_link')->getCallable()();
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 88
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 89
yield " ";
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.', 89, $this->source); })()))) {
// line 90
yield " ";
if (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.', 90, $this->source); })()), "getProperty", ["header"], "method", false, false, true, 90)) {
// line 91
yield " ";
yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, 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.', 91, $this->source); })()), "getProperty", ["header"], "method", false, false, true, 91), "getFullPath", [], "method", false, false, true, 91), 91, $this->source));
yield "
";
}
// line 93
yield " ";
}
// line 94
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 109
public function block_contentBlock($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBlock"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBlock"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBlock"));
// line 110
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 113
public function block_beforeScripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeScripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeScripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeScripts"));
// line 114
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 116
public function block_scripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
$__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 117
yield " ";
yield $this->env->getFunction('pimcore_head_script')->getCallable()();
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 120
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 121
yield " ";
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.', 121, $this->source); })()))) {
// line 122
yield " ";
if (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.', 122, $this->source); })()), "getProperty", ["footer"], "method", false, false, true, 122)) {
// line 123
yield " ";
yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, 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.', 123, $this->source); })()), "getProperty", ["footer"], "method", false, false, true, 123), "getFullPath", [], "method", false, false, true, 123), 123, $this->source));
yield "
";
}
// line 125
yield " ";
}
// line 126
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 131
public function block_afterScripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterScripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterScripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterScripts"));
// line 132
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "layout/default.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 660 => 132, 647 => 131, 633 => 126, 630 => 125, 624 => 123, 621 => 122, 618 => 121, 605 => 120, 588 => 117, 575 => 116, 561 => 114, 548 => 113, 534 => 110, 521 => 109, 507 => 94, 504 => 93, 498 => 91, 495 => 90, 492 => 89, 479 => 88, 462 => 69, 449 => 68, 432 => 71, 430 => 68, 427 => 67, 425 => 64, 422 => 62, 420 => 48, 415 => 60, 413 => 59, 410 => 58, 407 => 57, 404 => 56, 402 => 55, 399 => 54, 396 => 53, 394 => 52, 391 => 51, 389 => 50, 386 => 48, 373 => 47, 359 => 44, 355 => 42, 350 => 40, 345 => 39, 342 => 38, 329 => 37, 315 => 35, 302 => 34, 286 => 133, 284 => 131, 278 => 127, 276 => 120, 273 => 119, 271 => 116, 268 => 115, 266 => 113, 262 => 111, 260 => 109, 256 => 107, 242 => 106, 239 => 105, 221 => 104, 207 => 103, 204 => 102, 186 => 101, 172 => 100, 169 => 99, 151 => 98, 147 => 95, 145 => 88, 138 => 83, 135 => 82, 129 => 80, 126 => 79, 124 => 78, 119 => 75, 117 => 47, 113 => 45, 111 => 37, 108 => 36, 106 => 34, 96 => 27, 87 => 21, 70 => 6, 68 => 5, 66 => 4, 64 => 3, 62 => 2, 59 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
{% set currentDocument = app.request.get('contentDocument') %}
{% set language = app.request.locale | slice(0, 2) %}
{% set UAKey = pimcore_website_config('UAKey', 'UA-9448822-1') %}
{% set GTMKey = pimcore_website_config('GTMKey', 'GTM-W3ZCDKL8') %}
<html lang=\"en\">
<head>
<meta charset=\"utf-8\">
<!-- Cookiebot Script -->
<script id=\"Cookiebot\" src=\"https://consent.cookiebot.com/uc.js\" data-cbid=\"16bb5d9f-9b9a-49f5-ad29-fbf0a3f899e1\" data-blockingmode=\"manual\" type=\"text/javascript\"></script>
<!-- Google Tag Manager -->
<script data-cookieconsent=\"ignore\">
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{{ GTMKey }}');
</script>
<!-- End Google Tag Manager -->
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<link rel=\"icon\" href=\"{{ asset('static/images/icons/favicon.png') }}\" type=\"image/png\">
<link href=\"https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap&family=Lato:ital,wght@1,300;1,400;1,700&display=swap\" rel=\"stylesheet\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
<link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css\"/>
<!-- Temporaly, should be removed, issues with fancybox--> <script src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js\"></script>
<link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css\" rel=\"stylesheet\" />
{% block headScript %}
{% endblock %}
{% block metaTags %}
{% if document is defined and document %}
<meta name=\"description\" content=\"{{ document.getDescription() }}\">
<title>{{ document.getTitle() }}</title>
{% else %}
<title>Stoelting</title>
{% endif %}
{% endblock %}
{% block headScriptBlock %}
{% apply spaceless -%}
{# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
{# we use the view helper to have cache buster functionality #}
{% do pimcore_head_link().appendStylesheet(asset('static/css/bootstrap.css')) %}
{% do pimcore_head_link().appendStylesheet(asset('static/css/Stoelting.css')) %}
{% if editmode is defined and editmode %}
{% do pimcore_head_link().appendStylesheet(asset('static/css/AdminMode.css')) %}
{% endif %}
{% do pimcore_head_script().appendFile(asset('static/js/bootstrap.js')) %}
{% do pimcore_head_script().appendFile(asset('static/js/Stoelting.js')) %}
{%- endapply %}
{# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
{# {% block layout_head_meta deferred %}
{% include \"Default/metaTags.html.twig\" %}
{% endblock %} #}
{% block head_stylesheets %}
{{ pimcore_head_link() }}
{% endblock %}
{% endblock %}
</head>
<body>
{% if document is defined and document %}
{% if document.getProperty('tabletNavigation') %}
{{ pimcore_inc(document.getProperty('tabletNavigation').getFullPath()) }}
{% endif %}
{% endif %}
<div class=\"body-content\">
<header>
{% block header %}
{% if document is defined and document %}
{% if document.getProperty('header') %}
{{ pimcore_inc(document.getProperty('header').getFullPath()) }}
{% endif %}
{% endif %}
{% endblock %}
</header>
{# Flash messages #}
{% for message in app.flashes('info') %}
{% include 'Components/info-message.html.twig' with { 'message': message } %}
{% endfor %}
{% for message in app.flashes('success') %}
{% include 'Components/success-message.html.twig' with { 'message': message } %}
{% endfor %}
{% for message in app.flashes('error') %}
{% include 'Components/error-message.html.twig' with { 'message': message } %}
{% endfor %}
{% block contentBlock %}
{% endblock %}
{% block beforeScripts %}
{% endblock %}
{% block scripts %}
{{ pimcore_head_script() }}
{% endblock %}
{% block footer %}
{% if document is defined and document %}
{% if document.getProperty('footer') %}
{{ pimcore_inc(document.getProperty('footer').getFullPath()) }}
{% endif %}
{% endif %}
{% endblock %}
</div>
<script src=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js\"></script>
{% block afterScripts %}
{% endblock %}
</body>
</html>
", "layout/default.html.twig", "/var/www/webovi/stoelting/pimcore/templates/layout/default.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 2, "block" => 34, "if" => 78, "for" => 98, "include" => 99, "apply" => 48, "do" => 52);
static $filters = array("slice" => 3, "escape" => 21, "spaceless" => 48);
static $functions = array("pimcore_website_config" => 4, "asset" => 27, "pimcore_inc" => 80, "pimcore_head_link" => 52, "pimcore_head_script" => 59);
try {
$this->sandbox->checkSecurity(
['set', 'block', 'if', 'for', 'include', 'apply', 'do'],
['slice', 'escape', 'spaceless'],
['pimcore_website_config', 'asset', 'pimcore_inc', '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;
}
}
}