<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* layouts/layout.html.twig */
class __TwigTemplate_56e6adaf8985fc8c22c4bf63e77c08c3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'favicon' => [$this, 'block_favicon'],
'head' => [$this, 'block_head'],
'layout_head_meta' => [$this, 'block_layout_head_meta'],
'bodyClass' => [$this, 'block_bodyClass'],
'header' => [$this, 'block_header'],
'body' => [$this, 'block_body'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'scripts' => [$this, 'block_scripts'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
$this->deferred = $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
}
protected function doDisplay(array $context, array $blocks = [])
{
$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/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", "layouts/layout.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html dir=\"ltr\" lang=\"de\">
<head>
<!-- Required meta tags -->
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no\">
<meta name=\"twitter:widgets:theme\" content=\"light\">
<meta name=\"twitter:widgets:border-color\" content=\"#55acee\">
<!-- \"form_builder_spam_protection_recaptcha_v3_site_key\" is a twig global which comes with formbuilder by default -->
";
// line 13
echo "
<link rel=\"shortcut icon\" href=\"";
// line 14
$this->displayBlock('favicon', $context, $blocks);
echo "\" type=\"image/x-icon\" />
";
// line 16
$this->displayBlock('head', $context, $blocks);
// line 18
echo " ";
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 18, $this->source); })())) {
// line 19
echo " <script src=\"https://sw-ccm.de/app.js?apiKey=b0712da9003f9ed2404fa76765ad9d272697a7e9e69baaae&domain=b479149\" referrerpolicy=\"origin\"></script>
";
}
// line 21
echo " ";
ob_start();
// line 22
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/style.css")], "method", false, false, true, 22);
// line 24
echo "
";
// line 25
if (twig_test_empty($this->env->getFunction('pimcore_head_title')->getCallable()())) {
// line 26
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 26, $this->source); })()), "getTitle", [], "method", false, false, true, 26)], "method", false, false, true, 26);
// line 27
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:title", twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 27, $this->source); })()), "getTitle", [], "method", false, false, true, 27)], "method", false, false, true, 27);
// line 28
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:type", "website"], "method", false, false, true, 28);
// line 29
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:site_name", "Radio Oberland"], "method", false, false, true, 29);
// line 30
echo " ";
}
// line 31
echo "
";
// line 32
$context["ogImage"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 32, $this->source); })()), "getProperty", ["image"], "method", false, false, true, 32);
// line 33
echo " ";
if (((isset($context["ogImage"]) || array_key_exists("ogImage", $context) ? $context["ogImage"] : (function () { throw new RuntimeError('Variable "ogImage" does not exist.', 33, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["ogImage"]) || array_key_exists("ogImage", $context) ? $context["ogImage"] : (function () { throw new RuntimeError('Variable "ogImage" does not exist.', 33, $this->source); })()), "filename", [], "any", false, false, true, 33))) {
// line 34
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image", (isset($context["ogImage"]) || array_key_exists("ogImage", $context) ? $context["ogImage"] : (function () { throw new RuntimeError('Variable "ogImage" does not exist.', 34, $this->source); })())], "method", false, false, true, 34);
// line 35
echo " ";
} else {
// line 36
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image", $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/images/logos/logo-og.jpg")], "method", false, false, true, 36);
// line 37
echo " ";
}
// line 38
echo "
";
// line 39
if ( !twig_test_empty(twig_get_attribute($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))) {
// line 40
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [twig_get_attribute($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); })()), "getDescription", [], "method", false, false, true, 40)], "method", false, false, true, 40);
// line 41
echo " ";
}
// line 42
echo "
";
// line 43
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("main");
echo "
";
// line 44
echo $this->env->getFunction('pimcore_head_link')->getCallable()();
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 21
echo twig_spaceless($___internal_parse_0_);
// line 46
echo "
";
// line 47
$this->displayBlock('layout_head_meta', $context, $blocks);
// line 51
echo "
<meta name=\"apple-itunes-app\" content=\"app-id=6466818680";
// line 52
if (array_key_exists("boa_deeplink", $context)) {
echo ", app-argument=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["boa_deeplink"]) || array_key_exists("boa_deeplink", $context) ? $context["boa_deeplink"] : (function () { throw new RuntimeError('Variable "boa_deeplink" does not exist.', 52, $this->source); })()), 52, $this->source), "html", null, true);
}
echo "\" />
";
// line 53
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 53, $this->source); })())) {
// line 54
echo " <script async src=https://cdn.eye-able.com/configs/radio-oberland.de.js></script>
<script async src=https://cdn.eye-able.com/public/js/eyeAble.js></script>
";
}
// line 57
echo "</head>
";
// line 58
$context["isDark"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 58, $this->source); })()), "getProperty", ["dark"], "method", false, false, true, 58);
// line 59
$context["isHalloween"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 59, $this->source); })()), "getProperty", ["halloween"], "method", false, false, true, 59);
// line 60
$context["password"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 60, $this->source); })()), "getProperty", ["password"], "method", false, false, true, 60);
// line 61
$context["allowed"] = true;
// line 62
if ((isset($context["password"]) || array_key_exists("password", $context) ? $context["password"] : (function () { throw new RuntimeError('Variable "password" does not exist.', 62, $this->source); })())) {
// line 63
echo " ";
// line 64
echo " ";
if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 64, $this->source); })()), "request", [], "any", false, false, true, 64), "cookies", [], "any", false, false, true, 64), "get", ["pimcore_admin_sid"], "method", false, false, true, 64)) {
// line 65
echo " ";
$context["allowed"] = false;
// line 66
echo " ";
}
}
// line 68
echo "<body class=\"";
if ((isset($context["isDark"]) || array_key_exists("isDark", $context) ? $context["isDark"] : (function () { throw new RuntimeError('Variable "isDark" does not exist.', 68, $this->source); })())) {
echo "dark";
}
echo " ";
if ((isset($context["isHalloween"]) || array_key_exists("isHalloween", $context) ? $context["isHalloween"] : (function () { throw new RuntimeError('Variable "isHalloween" does not exist.', 68, $this->source); })())) {
echo "dark halloween";
}
echo " ";
$this->displayBlock('bodyClass', $context, $blocks);
echo "\">
<main class=\"main-app font-sans ";
// line 69
echo (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 69, $this->source); })())) ? ("main-app--edit-mode") : (""));
echo "\">
";
// line 71
$this->displayBlock('header', $context, $blocks);
// line 74
echo " ";
$this->displayBlock('body', $context, $blocks);
// line 88
echo "
";
// line 89
$this->displayBlock('footer', $context, $blocks);
// line 97
echo " <textarea type=\"text\" id=\"clipboard\" style=\" position: fixed; bottom: 0; right: 0; transform: translate(100%, 100%); height: 40px; width: 300px; border: 0; opacity: 1;\"></textarea>
</main>
";
// line 100
echo "</body>
";
// line 101
$this->displayBlock('scripts', $context, $blocks);
// line 121
echo "</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$this->deferred->resolve($this, $context, $blocks);
}
// line 14
public function block_favicon($context, array $blocks = [])
{
$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", "favicon"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "favicon"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/images/favicon.png"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 16
public function block_head($context, array $blocks = [])
{
$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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
// line 17
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_layout_head_meta($context, array $blocks = [])
{
$this->deferred->defer($this, 'layout_head_meta');
}
// line 47
public function block_layout_head_meta_deferred($context, array $blocks = [])
{
$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 48
echo " ";
echo $this->env->getFunction('pimcore_head_title')->getCallable()();
echo "
";
// line 49
echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
// line 68
public function block_bodyClass($context, array $blocks = [])
{
$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", "bodyClass"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 71
public function block_header($context, array $blocks = [])
{
$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", "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 72
echo " ";
$this->loadTemplate("includes/header.html.twig", "layouts/layout.html.twig", 72)->display($context);
// line 73
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 74
public function block_body($context, array $blocks = [])
{
$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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 75
echo " ";
if ((isset($context["allowed"]) || array_key_exists("allowed", $context) ? $context["allowed"] : (function () { throw new RuntimeError('Variable "allowed" does not exist.', 75, $this->source); })())) {
// line 76
echo " <div id=\"content\">
";
// line 77
$this->displayBlock('content', $context, $blocks);
// line 79
echo " </div>
";
} else {
// line 81
echo " <div id=\"content\">
<div class=\"container px-5 py-20 text-black bg-white\">
Dieser Bereich ist nicht öffentlich zugänglich
</div>
</div>
";
}
// line 87
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 77
public function block_content($context, array $blocks = [])
{
$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"));
// line 78
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 89
public function block_footer($context, array $blocks = [])
{
$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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 90
echo " <footer>
";
// line 91
echo $this->env->getFunction('pimcore_inc')->getCallable()("/Snippets/basic-elemente/footer");
echo "
</footer>
";
// line 93
if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 93, $this->source); })()) == false)) {
// line 95
echo " ";
}
// line 96
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_scripts($context, array $blocks = [])
{
$this->deferred->defer($this, 'scripts');
}
// line 101
public function block_scripts_deferred($context, array $blocks = [])
{
$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 102
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
// line 103
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("main");
echo "
";
// line 105
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/app.js")], "method", false, false, true, 105);
// line 106
echo " ";
echo $this->env->getFunction('pimcore_head_script')->getCallable()();
echo "
";
// line 110
echo "
";
// line 113
if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 113, $this->source); })()), "environment", [], "any", false, false, true, 113) == "dev")) {
}
// line 116
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 116, $this->source); })())) {
}
// line 119
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "layouts/layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 499 => 119, 496 => 116, 493 => 113, 488 => 110, 482 => 106, 479 => 105, 475 => 103, 471 => 102, 461 => 101, 446 => 96, 443 => 95, 441 => 93, 436 => 91, 433 => 90, 423 => 89, 413 => 78, 403 => 77, 393 => 87, 385 => 81, 381 => 79, 379 => 77, 376 => 76, 373 => 75, 363 => 74, 353 => 73, 350 => 72, 340 => 71, 322 => 68, 309 => 49, 304 => 48, 294 => 47, 279 => 17, 269 => 16, 250 => 14, 238 => 121, 236 => 101, 233 => 100, 229 => 97, 227 => 89, 224 => 88, 221 => 74, 219 => 71, 214 => 69, 201 => 68, 197 => 66, 194 => 65, 191 => 64, 189 => 63, 187 => 62, 185 => 61, 183 => 60, 181 => 59, 179 => 58, 176 => 57, 171 => 54, 169 => 53, 162 => 52, 159 => 51, 157 => 47, 154 => 46, 152 => 21, 149 => 44, 145 => 43, 142 => 42, 139 => 41, 136 => 40, 134 => 39, 131 => 38, 128 => 37, 125 => 36, 122 => 35, 119 => 34, 116 => 33, 114 => 32, 111 => 31, 108 => 30, 105 => 29, 102 => 28, 99 => 27, 96 => 26, 94 => 25, 91 => 24, 88 => 22, 85 => 21, 81 => 19, 78 => 18, 76 => 16, 71 => 14, 68 => 13, 55 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html dir=\"ltr\" lang=\"de\">
<head>
<!-- Required meta tags -->
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no\">
<meta name=\"twitter:widgets:theme\" content=\"light\">
<meta name=\"twitter:widgets:border-color\" content=\"#55acee\">
<!-- \"form_builder_spam_protection_recaptcha_v3_site_key\" is a twig global which comes with formbuilder by default -->
{# <script type=\"text/javascript\" src=\"https://www.google.com/recaptcha/api.js?render={{ form_builder_spam_protection_recaptcha_v3_site_key }}\" async defer></script>#}
<link rel=\"shortcut icon\" href=\"{% block favicon %}{{ asset('static/images/favicon.png') }}{% endblock %}\" type=\"image/x-icon\" />
{% block head %}
{% endblock %}
{% if not editmode %}
<script src=\"https://sw-ccm.de/app.js?apiKey=b0712da9003f9ed2404fa76765ad9d272697a7e9e69baaae&domain=b479149\" referrerpolicy=\"origin\"></script>
{% endif %}
{% apply spaceless %}
{% do pimcore_head_link().appendStylesheet(asset('build/style.css')) %}
{# {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}#}
{% if pimcore_head_title() is empty %}
{% do pimcore_head_title().set(document.getTitle()) %}
{% do pimcore_head_meta().setProperty('og:title', document.getTitle()) %}
{% do pimcore_head_meta().setProperty('og:type', 'website') %}
{% do pimcore_head_meta().setProperty('og:site_name', 'Radio Oberland') %}
{% endif %}
{% set ogImage = document.getProperty('image') %}
{% if ogImage and ogImage.filename %}
{% do pimcore_head_meta().setProperty('og:image', ogImage) %}
{% else %}
{% do pimcore_head_meta().setProperty('og:image', asset('static/images/logos/logo-og.jpg')) %}
{% endif %}
{% if document.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% endif %}
{{ encore_entry_link_tags('main') }}
{{ pimcore_head_link() }}
{%- endapply %}
{% block layout_head_meta deferred %}
{{ pimcore_head_title() }}
{{ pimcore_head_meta() }}
{% endblock %}
<meta name=\"apple-itunes-app\" content=\"app-id=6466818680{% if boa_deeplink is defined %}, app-argument={{ boa_deeplink }}{% endif %}\" />
{% if not editmode %}
<script async src=https://cdn.eye-able.com/configs/radio-oberland.de.js></script>
<script async src=https://cdn.eye-able.com/public/js/eyeAble.js></script>
{% endif %}
</head>
{% set isDark = document.getProperty('dark') %}
{% set isHalloween = document.getProperty('halloween') %}
{% set password = document.getProperty('password') %}
{% set allowed = true %}
{% if password %}
{# todo: passwortschutz cookie checken oder auf admin login prüfen und formular #}
{% if not app.request.cookies.get('pimcore_admin_sid') %}
{% set allowed = false %}
{% endif %}
{% endif %}
<body class=\"{% if isDark %}dark{% endif %} {% if isHalloween %}dark halloween{% endif %} {% block bodyClass %}{% endblock %}\">
<main class=\"main-app font-sans {{ editmode ? \"main-app--edit-mode\" : \"\" }}\">
{% block header %}
{% include 'includes/header.html.twig' %}
{% endblock %}
{% block body %}
{% if allowed %}
<div id=\"content\">
{% block content %}
{% endblock %}
</div>
{% else %}
<div id=\"content\">
<div class=\"container px-5 py-20 text-black bg-white\">
Dieser Bereich ist nicht öffentlich zugänglich
</div>
</div>
{% endif %}
{% endblock %}
{% block footer %}
<footer>
{{ pimcore_inc('/Snippets/basic-elemente/footer') }}
</footer>
{% if editmode == false %}
{# <div class=\"vue-app\"><visitor-page></visitor-page></div>#}
{% endif %}
{% endblock %}
<textarea type=\"text\" id=\"clipboard\" style=\" position: fixed; bottom: 0; right: 0; transform: translate(100%, 100%); height: 40px; width: 300px; border: 0; opacity: 1;\"></textarea>
</main>
{#<div style=\"position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: #fff; z-index: 9999;\" id=\"prefetch\"></div>#}
</body>
{% block scripts deferred %}
{{ encore_entry_script_tags('app') }}
{{ encore_entry_script_tags('main') }}
{# {% do pimcore_head_script().appendFile(asset('build/runtime.js')) %}#}
{% do pimcore_head_script().appendFile(asset('build/app.js')) %}
{{ pimcore_head_script() }}
{#<script async src=\"https://cdn.eye-able.com/configs/radio-oberland.de.js\"></script>#}
{#<script async src=\"https://cdn.eye-able.com/public/js/eyeAble.js\"></script>#}
{% if app.environment == 'dev' %}
{# {% do pimcore_head_script().appendFile('/frontend/js/app.js') %}#}
{% endif %}
{% if not editmode %}
{# <script src=\"https://sw-ccm.de/app.js?apiKey=b0712da9003f9ed2404fa76765ad9d272697a7e9e69baaae&domain=b479149&theme=c8cabcc\" referrerpolicy=\"origin\"></script>#}
{% endif %}
{% endblock %}
</html>
", "layouts/layout.html.twig", "/var/www/vhosts/radio-oberland.de/httpdocs/templates/layouts/layout.html.twig");
}
public function checkSecurity()
{
static $tags = array("block" => 14, "if" => 18, "apply" => 21, "do" => 22, "set" => 32, "include" => 72);
static $filters = array("spaceless" => 21, "escape" => 52);
static $functions = array("pimcore_head_link" => 22, "asset" => 22, "pimcore_head_title" => 25, "pimcore_head_meta" => 27, "encore_entry_link_tags" => 43, "pimcore_inc" => 91, "encore_entry_script_tags" => 102, "pimcore_head_script" => 105);
try {
$this->sandbox->checkSecurity(
['block', 'if', 'apply', 'do', 'set', 'include'],
['spaceless', 'escape'],
['pimcore_head_link', 'asset', 'pimcore_head_title', 'pimcore_head_meta', 'encore_entry_link_tags', 'pimcore_inc', 'encore_entry_script_tags', 'pimcore_head_script']
);
} 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;
}
}
private $deferred;
}