var/cache/dev/twig/fc/fc08dc4ccd3e7ef422c5ce4a2333beec.php line 363

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* layouts/layout.html.twig */
  14. class __TwigTemplate_56e6adaf8985fc8c22c4bf63e77c08c3 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'favicon' => [$this'block_favicon'],
  25.             'head' => [$this'block_head'],
  26.             'layout_head_meta' => [$this'block_layout_head_meta'],
  27.             'bodyClass' => [$this'block_bodyClass'],
  28.             'header' => [$this'block_header'],
  29.             'body' => [$this'block_body'],
  30.             'content' => [$this'block_content'],
  31.             'footer' => [$this'block_footer'],
  32.             'scripts' => [$this'block_scripts'],
  33.         ];
  34.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  35.         $this->checkSecurity();
  36.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout.html.twig"));
  45.         // line 1
  46.         echo "<!DOCTYPE html>
  47. <html dir=\"ltr\" lang=\"de\">
  48. <head>
  49.     <!-- Required meta tags -->
  50.     <meta charset=\"utf-8\">
  51.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  52.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no\">
  53.     <meta name=\"twitter:widgets:theme\" content=\"light\">
  54.     <meta name=\"twitter:widgets:border-color\" content=\"#55acee\">
  55.     <!-- \"form_builder_spam_protection_recaptcha_v3_site_key\" is a twig global which comes with formbuilder by default -->
  56. ";
  57.         // line 13
  58.         echo "
  59.     <link rel=\"shortcut icon\" href=\"";
  60.         // line 14
  61.         $this->displayBlock('favicon'$context$blocks);
  62.         echo "\" type=\"image/x-icon\" />
  63.     ";
  64.         // line 16
  65.         $this->displayBlock('head'$context$blocks);
  66.         // line 18
  67.         echo "    ";
  68.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'18$this->source); })())) {
  69.             // line 19
  70.             echo "        <script src=\"https://sw-ccm.de/app.js?apiKey=b0712da9003f9ed2404fa76765ad9d272697a7e9e69baaae&amp;domain=b479149\" referrerpolicy=\"origin\"></script>
  71.     ";
  72.         }
  73.         // line 21
  74.         echo "    ";
  75.         ob_start();
  76.         // line 22
  77.         echo "        ";
  78.         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"falsefalsetrue22);
  79.         // line 24
  80.         echo "
  81.         ";
  82.         // line 25
  83.         if (twig_test_empty($this->env->getFunction('pimcore_head_title')->getCallable()())) {
  84.             // line 26
  85.             echo "            ";
  86.             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"falsefalsetrue26)], "method"falsefalsetrue26);
  87.             // line 27
  88.             echo "            ";
  89.             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"falsefalsetrue27)], "method"falsefalsetrue27);
  90.             // line 28
  91.             echo "            ";
  92.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:type""website"], "method"falsefalsetrue28);
  93.             // line 29
  94.             echo "            ";
  95.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:site_name""Radio Oberland"], "method"falsefalsetrue29);
  96.             // line 30
  97.             echo "        ";
  98.         }
  99.         // line 31
  100.         echo "
  101.         ";
  102.         // line 32
  103.         $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"falsefalsetrue32);
  104.         // line 33
  105.         echo "        ";
  106.         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"falsefalsetrue33))) {
  107.             // line 34
  108.             echo "            ";
  109.             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"falsefalsetrue34);
  110.             // line 35
  111.             echo "        ";
  112.         } else {
  113.             // line 36
  114.             echo "            ";
  115.             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"falsefalsetrue36);
  116.             // line 37
  117.             echo "        ";
  118.         }
  119.         // line 38
  120.         echo "
  121.         ";
  122.         // line 39
  123.         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"falsefalsetrue39))) {
  124.             // line 40
  125.             echo "            ";
  126.             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"falsefalsetrue40)], "method"falsefalsetrue40);
  127.             // line 41
  128.             echo "        ";
  129.         }
  130.         // line 42
  131.         echo "
  132.         ";
  133.         // line 43
  134.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("main");
  135.         echo "
  136.         ";
  137.         // line 44
  138.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  139.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  140.         // line 21
  141.         echo twig_spaceless($___internal_parse_0_);
  142.         // line 46
  143.         echo "
  144.     ";
  145.         // line 47
  146.         $this->displayBlock('layout_head_meta'$context$blocks);
  147.         // line 51
  148.         echo "
  149.     <meta name=\"apple-itunes-app\" content=\"app-id=6466818680";
  150.         // line 52
  151.         if (array_key_exists("boa_deeplink"$context)) {
  152.             echo ", app-argument=";
  153.             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"nulltrue);
  154.         }
  155.         echo "\" />
  156.     ";
  157.         // line 53
  158.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'53$this->source); })())) {
  159.             // line 54
  160.             echo "        <script async src=https://cdn.eye-able.com/configs/radio-oberland.de.js></script>
  161.         <script async src=https://cdn.eye-able.com/public/js/eyeAble.js></script>
  162.     ";
  163.         }
  164.         // line 57
  165.         echo "</head>
  166. ";
  167.         // line 58
  168.         $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"falsefalsetrue58);
  169.         // line 59
  170.         $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"falsefalsetrue59);
  171.         // line 60
  172.         $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"falsefalsetrue60);
  173.         // line 61
  174.         $context["allowed"] = true;
  175.         // line 62
  176.         if ((isset($context["password"]) || array_key_exists("password"$context) ? $context["password"] : (function () { throw new RuntimeError('Variable "password" does not exist.'62$this->source); })())) {
  177.             // line 63
  178.             echo "    ";
  179.             // line 64
  180.             echo "    ";
  181.             if ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsetrue64), "cookies", [], "any"falsefalsetrue64), "get", ["pimcore_admin_sid"], "method"falsefalsetrue64)) {
  182.                 // line 65
  183.                 echo "        ";
  184.                 $context["allowed"] = false;
  185.                 // line 66
  186.                 echo "    ";
  187.             }
  188.         }
  189.         // line 68
  190.         echo "<body class=\"";
  191.         if ((isset($context["isDark"]) || array_key_exists("isDark"$context) ? $context["isDark"] : (function () { throw new RuntimeError('Variable "isDark" does not exist.'68$this->source); })())) {
  192.             echo "dark";
  193.         }
  194.         echo " ";
  195.         if ((isset($context["isHalloween"]) || array_key_exists("isHalloween"$context) ? $context["isHalloween"] : (function () { throw new RuntimeError('Variable "isHalloween" does not exist.'68$this->source); })())) {
  196.             echo "dark halloween";
  197.         }
  198.         echo " ";
  199.         $this->displayBlock('bodyClass'$context$blocks);
  200.         echo "\">
  201. <main class=\"main-app font-sans ";
  202.         // line 69
  203.         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") : (""));
  204.         echo "\">
  205.     ";
  206.         // line 71
  207.         $this->displayBlock('header'$context$blocks);
  208.         // line 74
  209.         echo "    ";
  210.         $this->displayBlock('body'$context$blocks);
  211.         // line 88
  212.         echo "
  213.     ";
  214.         // line 89
  215.         $this->displayBlock('footer'$context$blocks);
  216.         // line 97
  217.         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>
  218. </main>
  219. ";
  220.         // line 100
  221.         echo "</body>
  222. ";
  223.         // line 101
  224.         $this->displayBlock('scripts'$context$blocks);
  225.         // line 121
  226.         echo "</html>
  227. ";
  228.         
  229.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  230.         
  231.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  232.         $this->deferred->resolve($this$context$blocks);
  233.     }
  234.     // line 14
  235.     public function block_favicon($context, array $blocks = [])
  236.     {
  237.         $macros $this->macros;
  238.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  239.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  241.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  242.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/images/favicon.png"), "html"nulltrue);
  243.         
  244.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  245.         
  246.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  247.     }
  248.     // line 16
  249.     public function block_head($context, array $blocks = [])
  250.     {
  251.         $macros $this->macros;
  252.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  254.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  255.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  256.         // line 17
  257.         echo "    ";
  258.         
  259.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  260.         
  261.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  262.     }
  263.     public function block_layout_head_meta($context, array $blocks = [])
  264.     {
  265.         $this->deferred->defer($this'layout_head_meta');
  266.     }
  267.     // line 47
  268.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  269.     {
  270.         $macros $this->macros;
  271.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  272.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  273.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  274.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  275.         // line 48
  276.         echo "        ";
  277.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  278.         echo "
  279.         ";
  280.         // line 49
  281.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  282.         echo "
  283.     ";
  284.         
  285.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  286.         
  287.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  288.         $this->deferred->resolve($this$context$blocks);
  289.     }
  290.     // line 68
  291.     public function block_bodyClass($context, array $blocks = [])
  292.     {
  293.         $macros $this->macros;
  294.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  295.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  296.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  297.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  298.         
  299.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  300.         
  301.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  302.     }
  303.     // line 71
  304.     public function block_header($context, array $blocks = [])
  305.     {
  306.         $macros $this->macros;
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  308.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  309.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  310.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  311.         // line 72
  312.         echo "        ";
  313.         $this->loadTemplate("includes/header.html.twig""layouts/layout.html.twig"72)->display($context);
  314.         // line 73
  315.         echo "    ";
  316.         
  317.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  318.         
  319.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  320.     }
  321.     // line 74
  322.     public function block_body($context, array $blocks = [])
  323.     {
  324.         $macros $this->macros;
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  326.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  327.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  328.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  329.         // line 75
  330.         echo "        ";
  331.         if ((isset($context["allowed"]) || array_key_exists("allowed"$context) ? $context["allowed"] : (function () { throw new RuntimeError('Variable "allowed" does not exist.'75$this->source); })())) {
  332.             // line 76
  333.             echo "            <div id=\"content\">
  334.                 ";
  335.             // line 77
  336.             $this->displayBlock('content'$context$blocks);
  337.             // line 79
  338.             echo "            </div>
  339.         ";
  340.         } else {
  341.             // line 81
  342.             echo "            <div id=\"content\">
  343.                 <div class=\"container px-5 py-20 text-black bg-white\">
  344.                     Dieser Bereich ist nicht öffentlich zugänglich
  345.                 </div>
  346.             </div>
  347.         ";
  348.         }
  349.         // line 87
  350.         echo "    ";
  351.         
  352.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  353.         
  354.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  355.     }
  356.     // line 77
  357.     public function block_content($context, array $blocks = [])
  358.     {
  359.         $macros $this->macros;
  360.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  362.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  363.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  364.         // line 78
  365.         echo "                ";
  366.         
  367.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  368.         
  369.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  370.     }
  371.     // line 89
  372.     public function block_footer($context, array $blocks = [])
  373.     {
  374.         $macros $this->macros;
  375.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  376.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  377.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  378.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  379.         // line 90
  380.         echo "        <footer>
  381.             ";
  382.         // line 91
  383.         echo $this->env->getFunction('pimcore_inc')->getCallable()("/Snippets/basic-elemente/footer");
  384.         echo "
  385.         </footer>
  386.         ";
  387.         // line 93
  388.         if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'93$this->source); })()) == false)) {
  389.             // line 95
  390.             echo "        ";
  391.         }
  392.         // line 96
  393.         echo "    ";
  394.         
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  396.         
  397.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  398.     }
  399.     public function block_scripts($context, array $blocks = [])
  400.     {
  401.         $this->deferred->defer($this'scripts');
  402.     }
  403.     // line 101
  404.     public function block_scripts_deferred($context, array $blocks = [])
  405.     {
  406.         $macros $this->macros;
  407.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  408.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  409.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  410.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  411.         // line 102
  412.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  413.         echo "
  414. ";
  415.         // line 103
  416.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("main");
  417.         echo "
  418. ";
  419.         // line 105
  420.         echo "    ";
  421.         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"falsefalsetrue105);
  422.         // line 106
  423.         echo "    ";
  424.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  425.         echo "
  426. ";
  427.         // line 110
  428.         echo "
  429. ";
  430.         // line 113
  431.         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"falsefalsetrue113) == "dev")) {
  432.         }
  433.         // line 116
  434.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'116$this->source); })())) {
  435.         }
  436.         // line 119
  437.         echo "
  438. ";
  439.         
  440.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  441.         
  442.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  443.         $this->deferred->resolve($this$context$blocks);
  444.     }
  445.     /**
  446.      * @codeCoverageIgnore
  447.      */
  448.     public function getTemplateName()
  449.     {
  450.         return "layouts/layout.html.twig";
  451.     }
  452.     /**
  453.      * @codeCoverageIgnore
  454.      */
  455.     public function isTraitable()
  456.     {
  457.         return false;
  458.     }
  459.     /**
  460.      * @codeCoverageIgnore
  461.      */
  462.     public function getDebugInfo()
  463.     {
  464.         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,);
  465.     }
  466.     public function getSourceContext()
  467.     {
  468.         return new Source("<!DOCTYPE html>
  469. <html dir=\"ltr\" lang=\"de\">
  470. <head>
  471.     <!-- Required meta tags -->
  472.     <meta charset=\"utf-8\">
  473.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  474.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no\">
  475.     <meta name=\"twitter:widgets:theme\" content=\"light\">
  476.     <meta name=\"twitter:widgets:border-color\" content=\"#55acee\">
  477.     <!-- \"form_builder_spam_protection_recaptcha_v3_site_key\" is a twig global which comes with formbuilder by default -->
  478. {#    <script type=\"text/javascript\" src=\"https://www.google.com/recaptcha/api.js?render={{ form_builder_spam_protection_recaptcha_v3_site_key }}\" async defer></script>#}
  479.     <link rel=\"shortcut icon\" href=\"{% block favicon %}{{ asset('static/images/favicon.png') }}{% endblock %}\" type=\"image/x-icon\" />
  480.     {% block head %}
  481.     {% endblock %}
  482.     {% if not editmode %}
  483.         <script src=\"https://sw-ccm.de/app.js?apiKey=b0712da9003f9ed2404fa76765ad9d272697a7e9e69baaae&amp;domain=b479149\" referrerpolicy=\"origin\"></script>
  484.     {% endif %}
  485.     {% apply spaceless %}
  486.         {% do pimcore_head_link().appendStylesheet(asset('build/style.css')) %}
  487. {#        {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}#}
  488.         {% if pimcore_head_title() is empty %}
  489.             {% do pimcore_head_title().set(document.getTitle()) %}
  490.             {% do pimcore_head_meta().setProperty('og:title', document.getTitle()) %}
  491.             {% do pimcore_head_meta().setProperty('og:type', 'website') %}
  492.             {% do pimcore_head_meta().setProperty('og:site_name', 'Radio Oberland') %}
  493.         {% endif %}
  494.         {% set ogImage = document.getProperty('image') %}
  495.         {% if ogImage and ogImage.filename %}
  496.             {% do pimcore_head_meta().setProperty('og:image', ogImage) %}
  497.         {% else %}
  498.             {% do pimcore_head_meta().setProperty('og:image', asset('static/images/logos/logo-og.jpg')) %}
  499.         {% endif %}
  500.         {% if document.getDescription() is not empty %}
  501.             {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  502.         {% endif %}
  503.         {{ encore_entry_link_tags('main') }}
  504.         {{ pimcore_head_link() }}
  505.     {%- endapply %}
  506.     {% block layout_head_meta deferred %}
  507.         {{ pimcore_head_title() }}
  508.         {{ pimcore_head_meta() }}
  509.     {% endblock %}
  510.     <meta name=\"apple-itunes-app\" content=\"app-id=6466818680{% if boa_deeplink is defined %}, app-argument={{ boa_deeplink }}{% endif %}\" />
  511.     {% if not editmode %}
  512.         <script async src=https://cdn.eye-able.com/configs/radio-oberland.de.js></script>
  513.         <script async src=https://cdn.eye-able.com/public/js/eyeAble.js></script>
  514.     {% endif %}
  515. </head>
  516. {% set isDark = document.getProperty('dark') %}
  517. {% set isHalloween = document.getProperty('halloween') %}
  518. {% set password = document.getProperty('password') %}
  519. {% set allowed = true %}
  520. {% if password %}
  521.     {# todo: passwortschutz cookie checken oder auf admin login prüfen und formular #}
  522.     {% if not app.request.cookies.get('pimcore_admin_sid') %}
  523.         {% set allowed = false %}
  524.     {% endif %}
  525. {% endif %}
  526. <body class=\"{% if isDark %}dark{% endif %} {% if isHalloween %}dark halloween{% endif %} {% block bodyClass %}{% endblock %}\">
  527. <main class=\"main-app font-sans {{ editmode ? \"main-app--edit-mode\" : \"\" }}\">
  528.     {% block header %}
  529.         {% include 'includes/header.html.twig' %}
  530.     {% endblock %}
  531.     {% block body %}
  532.         {% if allowed %}
  533.             <div id=\"content\">
  534.                 {% block content %}
  535.                 {% endblock %}
  536.             </div>
  537.         {% else %}
  538.             <div id=\"content\">
  539.                 <div class=\"container px-5 py-20 text-black bg-white\">
  540.                     Dieser Bereich ist nicht öffentlich zugänglich
  541.                 </div>
  542.             </div>
  543.         {% endif %}
  544.     {% endblock %}
  545.     {% block footer %}
  546.         <footer>
  547.             {{ pimcore_inc('/Snippets/basic-elemente/footer') }}
  548.         </footer>
  549.         {% if editmode == false %}
  550. {#            <div class=\"vue-app\"><visitor-page></visitor-page></div>#}
  551.         {% endif %}
  552.     {% endblock %}
  553.     <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>
  554. </main>
  555. {#<div style=\"position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: #fff; z-index: 9999;\" id=\"prefetch\"></div>#}
  556. </body>
  557. {% block scripts deferred %}
  558. {{ encore_entry_script_tags('app') }}
  559. {{ encore_entry_script_tags('main') }}
  560. {#    {% do pimcore_head_script().appendFile(asset('build/runtime.js')) %}#}
  561.     {% do pimcore_head_script().appendFile(asset('build/app.js')) %}
  562.     {{ pimcore_head_script() }}
  563. {#<script async src=\"https://cdn.eye-able.com/configs/radio-oberland.de.js\"></script>#}
  564. {#<script async src=\"https://cdn.eye-able.com/public/js/eyeAble.js\"></script>#}
  565. {% if app.environment == 'dev' %}
  566. {#    {% do pimcore_head_script().appendFile('/frontend/js/app.js') %}#}
  567. {% endif %}
  568. {% if not editmode %}
  569. {#    <script src=\"https://sw-ccm.de/app.js?apiKey=b0712da9003f9ed2404fa76765ad9d272697a7e9e69baaae&amp;domain=b479149&amp;theme=c8cabcc\" referrerpolicy=\"origin\"></script>#}
  570. {% endif %}
  571. {% endblock %}
  572. </html>
  573. ""layouts/layout.html.twig""/var/www/vhosts/radio-oberland.de/httpdocs/templates/layouts/layout.html.twig");
  574.     }
  575.     
  576.     public function checkSecurity()
  577.     {
  578.         static $tags = array("block" => 14"if" => 18"apply" => 21"do" => 22"set" => 32"include" => 72);
  579.         static $filters = array("spaceless" => 21"escape" => 52);
  580.         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);
  581.         try {
  582.             $this->sandbox->checkSecurity(
  583.                 ['block''if''apply''do''set''include'],
  584.                 ['spaceless''escape'],
  585.                 ['pimcore_head_link''asset''pimcore_head_title''pimcore_head_meta''encore_entry_link_tags''pimcore_inc''encore_entry_script_tags''pimcore_head_script']
  586.             );
  587.         } catch (SecurityError $e) {
  588.             $e->setSourceContext($this->source);
  589.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  590.                 $e->setTemplateLine($tags[$e->getTagName()]);
  591.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  592.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  593.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  594.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  595.             }
  596.             throw $e;
  597.         }
  598.     }
  599.     private $deferred;
  600. }