<?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;
/* base.html.twig */
class __TwigTemplate_0c0c2de0d9daf0cf7776eb5d56e1e377 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'title_suffix' => [$this, 'block_title_suffix'],
'stylesheets' => [$this, 'block_stylesheets'],
'head_scripts' => [$this, 'block_head_scripts'],
'body' => [$this, 'block_body'],
'chat' => [$this, 'block_chat'],
'right' => [$this, 'block_right'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
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", "base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
$context["isMember"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MEMBER");
// line 2
$context["isWebmasterArea"] = twig_in_filter("app_webmaster_", 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "attributes", [], "any", false, false, false, 2), "get", ["_route"], "method", false, false, false, 2));
// line 3
$context["isMessengerApp"] = twig_in_filter("app_messenger_messenger_", 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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "attributes", [], "any", false, false, false, 3), "get", ["_route"], "method", false, false, false, 3));
// line 4
$context["isOperatorApp"] = ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_OPERATOR") && (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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "attributes", [], "any", false, false, false, 4), "get", ["_route"], "method", false, false, false, 4) == "app_messenger_operator_reactapp"));
// line 5
$context["isMassmailerApp"] = twig_in_filter(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.', 5, $this->source); })()), "request", [], "any", false, false, false, 5), "attributes", [], "any", false, false, false, 5), "get", ["_route"], "method", false, false, false, 5), ["app_messenger_massmailer_detail", "app_messenger_massmailer_allaccessdetail"]);
// line 6
echo "<!DOCTYPE html>
<html lang=\"de\">
<head>
<title>";
// line 9
$this->displayBlock('title', $context, $blocks);
echo "</title>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=0\">
<meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\" />
<meta name=\"copyright\" content=\"Copyright © ";
// line 13
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo " Frivol.com\" />
<meta name=\"content-language\" content=\"de\" />
<meta name=\"robots\" content=\"index, follow\" />
<meta name=\"google-site-verification\" content=\"9Ip7seZrghiufzfLkF-Rb13SnrxSmqKAZbBbRwg9gCo\" />
<meta name=\"abstract\" content=\"Frivol.com\" />
<meta name=\"title\" content=\"Frivol.com\" />
<meta name=\"description\" content=\"Frivol.com\" />
<meta name=\"audience\" content=\"all\" />
<meta name=\"revisit-after\" content=\"10 days\" />
<link rel=\"preload\" href=\"";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/fonts/fa-solid-900.woff2"), "html", null, true);
echo "\" as=\"font\" crossorigin/>
<link rel=\"preload\" href=\"";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/app.css"), "html", null, true);
echo "\" as=\"style\"/>
";
// line 25
$this->displayBlock('stylesheets', $context, $blocks);
// line 38
echo "
";
// line 39
$this->loadTemplate("_widgets/google-tag-manager.html.twig", "base.html.twig", 39)->display($context);
// line 40
echo " ";
$this->displayBlock('head_scripts', $context, $blocks);
// line 41
echo " </head>
<body>
<app>
<header class=\"container-fluid mb-1 navbar bg-primary flex-column p-0 fixed-top\">
";
// line 45
ob_start();
// line 46
echo " ";
$this->loadTemplate("_widgets/header-search.html.twig", "base.html.twig", 46)->display($context);
// line 47
echo " ";
$context["search"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 48
echo " <div class=\"row align-items-center flex-nowrap p-2 col-12\">
<div class=\"col-6 col-sm-4 col-md-2 px-0\">
<button class=\"hamburger hamburger--spin float-left mt-3 mx-2 d-md-none\" type=\"button\">
<span class=\"hamburger-box\">
<span class=\"hamburger-inner\"></span>
</span>
</button>
";
// line 56
if ( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea", $context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.', 56, $this->source); })())) {
// line 57
echo " <a class=\"navbar-brand logo text-hide float-left mr-0 ml-md-1\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home_index");
echo "\">
Frivol.com
</a>
";
} else {
// line 61
echo " <a class=\"navbar-brand logo text-hide float-left mr-0 ml-md-1\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_webmaster_dashboard_index");
echo "\">
Frivol.com Webmaster
</a>
";
}
// line 65
echo " </div>
<div class=\"d-none d-sm-block col-sm-4 text-white px-0 pl-md-3\">
";
// line 68
if ( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea", $context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.', 68, $this->source); })())) {
// line 69
echo " ";
echo twig_escape_filter($this->env, (isset($context["search"]) || array_key_exists("search", $context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.', 69, $this->source); })()), "html", null, true);
echo "
";
}
// line 71
echo " </div>
";
// line 73
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.', 73, $this->source); })()), "user", [], "any", false, false, false, 73)) {
// line 74
echo " <div class=\"col-6 col-sm-4 col-md-6 px-0 text-white text-right header-member-logged-in\">
";
// line 75
if ( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea", $context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.', 75, $this->source); })())) {
// line 76
echo " <div id=\"header-app\"></div>
";
} else {
// line 78
echo " ";
$this->loadTemplate("_widgets/header-dropdown-menu-webmaster.html.twig", "base.html.twig", 78)->display($context);
// line 79
echo " ";
}
// line 80
echo " </div>
";
} else {
// line 82
echo " <div class=\"col-6 col-md-5 d-none d-md-flex text-white text-right p-0\">
";
// line 83
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\SecurityController::widget"));
echo "
</div>
<div class=\"col-6 col-sm-3 col-md-1 pr-1 pr-md-3\">
<div class=\"btn-group btn-group-sm float-right\">
<a href=\"";
// line 87
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
echo "\" class=\"btn btn-action border-0 text-nowrap d-md-none text-white mr-1\">
<span class=\"icon d-none d-md-inline\">
<i class=\"fas fa-sign-in-alt\"></i>
</span>
<span class=\"d-inline\">Login</span>
</a>
<a href=\"";
// line 94
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_registration");
echo "\" class=\"btn btn-action border-0 text-nowrap text-white\">
<span class=\"icon d-none d-md-inline\">
<i class=\"fas fa-user-plus\"></i>
</span>
<span class=\"d-inline d-xl-none\">Registrieren</span>
<span class=\"d-none d-xl-inline\">Kostenlos registrieren</span>
</a>
</div>
</div>
";
}
// line 105
echo " </div>
<div class=\"row align-items-center flex-nowrap py-2 col-12 d-none d-md-none\">
";
// line 108
echo twig_escape_filter($this->env, (isset($context["search"]) || array_key_exists("search", $context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.', 108, $this->source); })()), "html", null, true);
echo "
</div>
<nav class=\"navbar row bg-grey-10 p-0 flex-nowrap col-12\" id=\"navbarMain\">
";
// line 112
if ((isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea", $context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.', 112, $this->source); })())) {
// line 113
echo " ";
$this->loadTemplate("_structure/menu-navbar-webmaster.html.twig", "base.html.twig", 113)->display($context);
// line 114
echo " ";
} else {
// line 115
echo " ";
$this->loadTemplate("_structure/menu-navbar.html.twig", "base.html.twig", 115)->display($context);
// line 116
echo " ";
}
// line 117
echo " </nav>
</header>
<content>
<section class=\"container-fluid\">
<div class=\"row align-items-top py-2\">
<div class=\"";
// line 123
echo twig_escape_filter($this->env, ((array_key_exists("mainColumnClass", $context)) ? (_twig_default_filter((isset($context["mainColumnClass"]) || array_key_exists("mainColumnClass", $context) ? $context["mainColumnClass"] : (function () { throw new RuntimeError('Variable "mainColumnClass" does not exist.', 123, $this->source); })()), "col-12 col-md-9")) : ("col-12 col-md-9")), "html", null, true);
echo "\">
<div id=\"messages-banner\"></div>
<section class=\"xhr-container\">
";
// line 127
$this->displayBlock('body', $context, $blocks);
// line 129
echo " </section>
";
// line 131
$this->displayBlock('chat', $context, $blocks);
// line 138
echo " </div>
";
// line 140
$this->displayBlock('right', $context, $blocks);
// line 146
echo " </div>
</section>
</content>
";
// line 151
$this->displayBlock('footer', $context, $blocks);
// line 164
echo " </app>
<div aria-live=\"polite\" aria-atomic=\"true\">
<div id=\"toast-messages\" class=\"position-absolute\">
</div>
</div>
";
// line 170
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.', 170, $this->source); })()), "user", [], "any", false, false, false, 170)) {
// line 171
echo " <div class=\"\">
";
// line 172
$this->loadTemplate("_structure/bonus-mobile-modal.html.twig", "base.html.twig", 172)->display($context);
// line 173
echo " </div>
";
}
// line 175
echo "
";
// line 176
$this->displayBlock('javascripts', $context, $blocks);
// line 252
echo " </body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 9
public function block_title($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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Frivol.com";
echo (((isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea", $context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.', 9, $this->source); })())) ? ("- Webmaster") : (""));
echo " - ";
$this->displayBlock('title_suffix', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_title_suffix($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", "title_suffix"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title_suffix"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 25
public function block_stylesheets($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", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 26
echo " <link rel=\"canonical\" href=\"\" />
<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"";
// line 27
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("apple-touch-icon.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
// line 28
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-32x32.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-16x16.png"), "html", null, true);
echo "\">
<link rel=\"mask-icon\" href=\"";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("safari-pinned-tab.svg"), "html", null, true);
echo "\" color=\"#5bbad5\">
<meta name=\"msapplication-TileColor\" content=\"#da532c\">
<meta name=\"theme-color\" content=\"#ffffff\">
<link rel=\"manifest\" href=\"";
// line 34
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.webmanifest"), "html", null, true);
echo "\">
<link rel=\"manifest\" href=\"";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/manifest.json"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 36
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/app.css"), "html", null, true);
echo "\"/>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 40
public function block_head_scripts($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_scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 127
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 128
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 131
public function block_chat($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", "chat"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "chat"));
// line 132
echo " ";
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.', 132, $this->source); })()), "user", [], "any", false, false, false, 132)) {
// line 133
echo " ";
if ((( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea", $context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.', 133, $this->source); })()) && !(isset($context["isOperatorApp"]) || array_key_exists("isOperatorApp", $context) ? $context["isOperatorApp"] : (function () { throw new RuntimeError('Variable "isOperatorApp" does not exist.', 133, $this->source); })())) && !(isset($context["isMessengerApp"]) || array_key_exists("isMessengerApp", $context) ? $context["isMessengerApp"] : (function () { throw new RuntimeError('Variable "isMessengerApp" does not exist.', 133, $this->source); })()))) {
// line 134
echo " <section id=\"react-messenger-chat\" class=\"d-none d-md-block\"></section>
";
}
// line 136
echo " ";
}
// line 137
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 140
public function block_right($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", "right"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "right"));
// line 141
echo " <aside id=\"sidebar-banner\" class=\"col-3 d-none d-md-block bg-secondary p-1\">
";
// line 142
$this->loadTemplate("_structure/aside.html.twig", "base.html.twig", 142)->display($context);
// line 143
echo " ";
$this->loadTemplate("_widgets/aside-bonus.html.twig", "base.html.twig", 143)->display($context);
// line 144
echo " </aside>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 151
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 152
echo " <footer class=\"container-fluid bg-secondary pt-3\">
<div class=\"row\">
<div class=\"";
// line 154
echo twig_escape_filter($this->env, ((array_key_exists("mainColumnClass", $context)) ? (_twig_default_filter((isset($context["mainColumnClass"]) || array_key_exists("mainColumnClass", $context) ? $context["mainColumnClass"] : (function () { throw new RuntimeError('Variable "mainColumnClass" does not exist.', 154, $this->source); })()), "col-12 col-md-9")) : ("col-12 col-md-9")), "html", null, true);
echo "\">
";
// line 155
$this->loadTemplate("_structure/footer-links.html.twig", "base.html.twig", 155)->display($context);
// line 156
echo " </div>
</div>
<div class=\"row no-gutters\">
<div class=\"col-12 col-md-9\" id=\"js-footer-webmaster-reference\">
</div>
</div>
</footer>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 176
public function block_javascripts($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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 177
echo " <script type=\"text/javascript\">
";
// line 178
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.', 178, $this->source); })()), "user", [], "any", false, false, false, 178)) {
// line 179
echo " let frivolWebsocketUrl = \"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MiscExtension']->getWebsocketUrl(), "html", null, true);
echo "\";
";
}
// line 181
echo " </script>
";
// line 183
if ( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea", $context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.', 183, $this->source); })())) {
// line 184
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("websocket");
echo "
";
// line 185
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
}
// line 187
echo "
";
// line 188
if ((isset($context["isOperatorApp"]) || array_key_exists("isOperatorApp", $context) ? $context["isOperatorApp"] : (function () { throw new RuntimeError('Variable "isOperatorApp" does not exist.', 188, $this->source); })())) {
// line 189
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("react-operator-app");
echo "
";
} elseif ( // line 190
(isset($context["isMassmailerApp"]) || array_key_exists("isMassmailerApp", $context) ? $context["isMassmailerApp"] : (function () { throw new RuntimeError('Variable "isMassmailerApp" does not exist.', 190, $this->source); })())) {
// line 191
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("react-massmailer-app");
echo "
";
} elseif ( // line 192
(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea", $context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.', 192, $this->source); })())) {
// line 193
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("webmaster-area");
echo "
";
} elseif ( // line 194
(isset($context["isMessengerApp"]) || array_key_exists("isMessengerApp", $context) ? $context["isMessengerApp"] : (function () { throw new RuntimeError('Variable "isMessengerApp" does not exist.', 194, $this->source); })())) {
// line 195
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("react-messenger-app");
echo "
";
} else {
// line 197
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("react-apps");
echo "
";
}
// line 199
echo "
";
// line 200
if ( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea", $context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.', 200, $this->source); })())) {
// line 201
echo " <script type=\"text/javascript\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/typeahead.bundle.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\">
var results = new Bloodhound({
initialize: true,
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
queryTokenizer: Bloodhound.tokenizers.whitespace,
prefetch: {
url: '/sgst/prefetch',
},
remote: {
url: '/sgst?term=%QUERY',
wildcard: '%QUERY'
}
});
let outputSection = null;
\$('.typeahead').typeahead({
hint: true,
highlight: true,
minLength: 1,
classNames: {
menu: 'dropdown-menu suggest-dropdown-menu',
selectable: 'dropdown-item suggest-dropdown-item'
}
}, {
name: 'gs_term',
limit: 30,
source: results,
async: true,
templates: {
notFound: 'Keine Treffer',
pending: 'Lädt...',
suggestion: Handlebars.compile(
'<div>'+
'\\{\\{\\# if total\\}\\}<a href=\"\\{\\{totalHref\\}\\}\" class=\"d-flex flex-row\"><span class=\"badge badge-secondary pull-left\">\\{\\{total\\}\\} \\{\\{totalType\\}\\}</span></a>\\{\\{/if\\}\\}'+
'<a href=\"\\{\\{href\\}\\}\" class=\"d-flex flex-row\">'+
'\\{\\{\\# gt age 17 \\}\\}<span class=\"\\{\\{\\# if onl\\}\\} \\{\\{onl\\}\\}\\{\\{\\/if\\}\\}\"></span><img src=\"\\{\\{img\\}\\}\" class=\"dropdown-item-avatar rounded-circle\" alt=\"avatar\"/>'+
'\\{\\{else\\}\\}<img class=\"dropdown-item-preview\" src=\"\\{\\{img\\}\\}\" alt=\"preview\"/>'+
'\\{\\{/gt\\}\\}' +
'<span class=\"dropdown-item-text\">\\{\\{value\\}\\}\\{\\{\\# gt age 17 \\}\\}, \\{\\{age\\}\\}\\{\\{/gt\\}\\}</span>'+
'</a>'+
'</div>',
{
strict: true
}
)
}
});
</script>
";
}
// line 251
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 681 => 251, 627 => 201, 625 => 200, 622 => 199, 616 => 197, 610 => 195, 608 => 194, 603 => 193, 601 => 192, 596 => 191, 594 => 190, 589 => 189, 587 => 188, 584 => 187, 579 => 185, 574 => 184, 572 => 183, 568 => 181, 562 => 179, 560 => 178, 557 => 177, 547 => 176, 530 => 156, 528 => 155, 524 => 154, 520 => 152, 510 => 151, 499 => 144, 496 => 143, 494 => 142, 491 => 141, 481 => 140, 471 => 137, 468 => 136, 464 => 134, 461 => 133, 458 => 132, 448 => 131, 438 => 128, 428 => 127, 410 => 40, 398 => 36, 394 => 35, 390 => 34, 383 => 30, 379 => 29, 375 => 28, 371 => 27, 368 => 26, 358 => 25, 319 => 9, 307 => 252, 305 => 176, 302 => 175, 298 => 173, 296 => 172, 293 => 171, 291 => 170, 283 => 164, 281 => 151, 274 => 146, 272 => 140, 268 => 138, 266 => 131, 262 => 129, 260 => 127, 253 => 123, 245 => 117, 242 => 116, 239 => 115, 236 => 114, 233 => 113, 231 => 112, 224 => 108, 219 => 105, 205 => 94, 195 => 87, 188 => 83, 185 => 82, 181 => 80, 178 => 79, 175 => 78, 171 => 76, 169 => 75, 166 => 74, 164 => 73, 160 => 71, 154 => 69, 152 => 68, 147 => 65, 139 => 61, 131 => 57, 129 => 56, 119 => 48, 116 => 47, 113 => 46, 111 => 45, 105 => 41, 102 => 40, 100 => 39, 97 => 38, 95 => 25, 90 => 23, 86 => 22, 74 => 13, 67 => 9, 62 => 6, 60 => 5, 58 => 4, 56 => 3, 54 => 2, 52 => 1,);
}
public function getSourceContext()
{
return new Source("{% set isMember = is_granted('ROLE_MEMBER') %}
{% set isWebmasterArea = 'app_webmaster_' in app.request.attributes.get('_route') %}
{% set isMessengerApp = 'app_messenger_messenger_' in app.request.attributes.get('_route') %}
{% set isOperatorApp = is_granted('ROLE_OPERATOR') and app.request.attributes.get('_route') == 'app_messenger_operator_reactapp' %}
{% set isMassmailerApp = app.request.attributes.get('_route') in ['app_messenger_massmailer_detail', 'app_messenger_massmailer_allaccessdetail'] %}
<!DOCTYPE html>
<html lang=\"de\">
<head>
<title>{% block title %}Frivol.com{{ isWebmasterArea ? '- Webmaster' : '' }} - {% block title_suffix %}{% endblock %}{% endblock %}</title>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=0\">
<meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\" />
<meta name=\"copyright\" content=\"Copyright © {{ 'now'|date('Y') }} Frivol.com\" />
<meta name=\"content-language\" content=\"de\" />
<meta name=\"robots\" content=\"index, follow\" />
<meta name=\"google-site-verification\" content=\"9Ip7seZrghiufzfLkF-Rb13SnrxSmqKAZbBbRwg9gCo\" />
<meta name=\"abstract\" content=\"Frivol.com\" />
<meta name=\"title\" content=\"Frivol.com\" />
<meta name=\"description\" content=\"Frivol.com\" />
<meta name=\"audience\" content=\"all\" />
<meta name=\"revisit-after\" content=\"10 days\" />
<link rel=\"preload\" href=\"{{ asset(\"build/fonts/fa-solid-900.woff2\") }}\" as=\"font\" crossorigin/>
<link rel=\"preload\" href=\"{{ asset('build/app.css') }}\" as=\"style\"/>
{% block stylesheets %}
<link rel=\"canonical\" href=\"\" />
<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"{{ asset('apple-touch-icon.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('favicon-32x32.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('favicon-16x16.png') }}\">
<link rel=\"mask-icon\" href=\"{{ asset('safari-pinned-tab.svg') }}\" color=\"#5bbad5\">
<meta name=\"msapplication-TileColor\" content=\"#da532c\">
<meta name=\"theme-color\" content=\"#ffffff\">
<link rel=\"manifest\" href=\"{{ asset('favicon.webmanifest') }}\">
<link rel=\"manifest\" href=\"{{ asset('build/manifest.json') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('build/app.css') }}\"/>
{% endblock %}
{% include '_widgets/google-tag-manager.html.twig' %}
{% block head_scripts %}{% endblock %}
</head>
<body>
<app>
<header class=\"container-fluid mb-1 navbar bg-primary flex-column p-0 fixed-top\">
{% set search %}
{% include '_widgets/header-search.html.twig' %}
{% endset %}
<div class=\"row align-items-center flex-nowrap p-2 col-12\">
<div class=\"col-6 col-sm-4 col-md-2 px-0\">
<button class=\"hamburger hamburger--spin float-left mt-3 mx-2 d-md-none\" type=\"button\">
<span class=\"hamburger-box\">
<span class=\"hamburger-inner\"></span>
</span>
</button>
{% if not isWebmasterArea %}
<a class=\"navbar-brand logo text-hide float-left mr-0 ml-md-1\" href=\"{{ path('app_home_index') }}\">
Frivol.com
</a>
{% else %}
<a class=\"navbar-brand logo text-hide float-left mr-0 ml-md-1\" href=\"{{ path('app_webmaster_dashboard_index') }}\">
Frivol.com Webmaster
</a>
{% endif %}
</div>
<div class=\"d-none d-sm-block col-sm-4 text-white px-0 pl-md-3\">
{% if not isWebmasterArea %}
{{ search }}
{% endif %}
</div>
{% if app.user %}
<div class=\"col-6 col-sm-4 col-md-6 px-0 text-white text-right header-member-logged-in\">
{% if not isWebmasterArea %}
<div id=\"header-app\"></div>
{% else %}
{% include '_widgets/header-dropdown-menu-webmaster.html.twig' %}
{% endif %}
</div>
{% else %}
<div class=\"col-6 col-md-5 d-none d-md-flex text-white text-right p-0\">
{{ render(controller('App\\\\Controller\\\\SecurityController::widget')) }}
</div>
<div class=\"col-6 col-sm-3 col-md-1 pr-1 pr-md-3\">
<div class=\"btn-group btn-group-sm float-right\">
<a href=\"{{ path('login') }}\" class=\"btn btn-action border-0 text-nowrap d-md-none text-white mr-1\">
<span class=\"icon d-none d-md-inline\">
<i class=\"fas fa-sign-in-alt\"></i>
</span>
<span class=\"d-inline\">Login</span>
</a>
<a href=\"{{ path('app_security_registration') }}\" class=\"btn btn-action border-0 text-nowrap text-white\">
<span class=\"icon d-none d-md-inline\">
<i class=\"fas fa-user-plus\"></i>
</span>
<span class=\"d-inline d-xl-none\">Registrieren</span>
<span class=\"d-none d-xl-inline\">Kostenlos registrieren</span>
</a>
</div>
</div>
{% endif %}
</div>
<div class=\"row align-items-center flex-nowrap py-2 col-12 d-none d-md-none\">
{{ search }}
</div>
<nav class=\"navbar row bg-grey-10 p-0 flex-nowrap col-12\" id=\"navbarMain\">
{% if isWebmasterArea %}
{% include '_structure/menu-navbar-webmaster.html.twig' %}
{% else %}
{% include '_structure/menu-navbar.html.twig' %}
{% endif %}
</nav>
</header>
<content>
<section class=\"container-fluid\">
<div class=\"row align-items-top py-2\">
<div class=\"{{ mainColumnClass|default('col-12 col-md-9') }}\">
<div id=\"messages-banner\"></div>
<section class=\"xhr-container\">
{% block body %}
{% endblock %}
</section>
{% block chat %}
{% if app.user %}
{% if not isWebmasterArea and not isOperatorApp and not isMessengerApp %}
<section id=\"react-messenger-chat\" class=\"d-none d-md-block\"></section>
{% endif %}
{% endif %}
{% endblock %}
</div>
{% block right %}
<aside id=\"sidebar-banner\" class=\"col-3 d-none d-md-block bg-secondary p-1\">
{% include '_structure/aside.html.twig' %}
{% include '_widgets/aside-bonus.html.twig' %}
</aside>
{% endblock %}
</div>
</section>
</content>
{% block footer %}
<footer class=\"container-fluid bg-secondary pt-3\">
<div class=\"row\">
<div class=\"{{ mainColumnClass|default('col-12 col-md-9') }}\">
{% include '_structure/footer-links.html.twig' %}
</div>
</div>
<div class=\"row no-gutters\">
<div class=\"col-12 col-md-9\" id=\"js-footer-webmaster-reference\">
</div>
</div>
</footer>
{% endblock %}
</app>
<div aria-live=\"polite\" aria-atomic=\"true\">
<div id=\"toast-messages\" class=\"position-absolute\">
</div>
</div>
{% if app.user %}
<div class=\"\">
{% include '_structure/bonus-mobile-modal.html.twig' %}
</div>
{% endif %}
{% block javascripts %}
<script type=\"text/javascript\">
{% if app.user %}
let frivolWebsocketUrl = \"{{ websocketUrl() }}\";
{% endif %}
</script>
{% if not isWebmasterArea %}
{{ encore_entry_script_tags('websocket') }}
{{ encore_entry_script_tags('app') }}
{% endif %}
{% if isOperatorApp %}
{{ encore_entry_script_tags('react-operator-app') }}
{% elseif isMassmailerApp %}
{{ encore_entry_script_tags('react-massmailer-app') }}
{% elseif isWebmasterArea %}
{{ encore_entry_script_tags('webmaster-area') }}
{% elseif isMessengerApp %}
{{ encore_entry_script_tags('react-messenger-app') }}
{% else %}
{{ encore_entry_script_tags('react-apps') }}
{% endif %}
{% if not isWebmasterArea %}
<script type=\"text/javascript\" src=\"{{ asset('js/typeahead.bundle.min.js') }}\"></script>
<script type=\"text/javascript\">
var results = new Bloodhound({
initialize: true,
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
queryTokenizer: Bloodhound.tokenizers.whitespace,
prefetch: {
url: '/sgst/prefetch',
},
remote: {
url: '/sgst?term=%QUERY',
wildcard: '%QUERY'
}
});
let outputSection = null;
\$('.typeahead').typeahead({
hint: true,
highlight: true,
minLength: 1,
classNames: {
menu: 'dropdown-menu suggest-dropdown-menu',
selectable: 'dropdown-item suggest-dropdown-item'
}
}, {
name: 'gs_term',
limit: 30,
source: results,
async: true,
templates: {
notFound: 'Keine Treffer',
pending: 'Lädt...',
suggestion: Handlebars.compile(
'<div>'+
'\\{\\{\\# if total\\}\\}<a href=\"\\{\\{totalHref\\}\\}\" class=\"d-flex flex-row\"><span class=\"badge badge-secondary pull-left\">\\{\\{total\\}\\} \\{\\{totalType\\}\\}</span></a>\\{\\{/if\\}\\}'+
'<a href=\"\\{\\{href\\}\\}\" class=\"d-flex flex-row\">'+
'\\{\\{\\# gt age 17 \\}\\}<span class=\"\\{\\{\\# if onl\\}\\} \\{\\{onl\\}\\}\\{\\{\\/if\\}\\}\"></span><img src=\"\\{\\{img\\}\\}\" class=\"dropdown-item-avatar rounded-circle\" alt=\"avatar\"/>'+
'\\{\\{else\\}\\}<img class=\"dropdown-item-preview\" src=\"\\{\\{img\\}\\}\" alt=\"preview\"/>'+
'\\{\\{/gt\\}\\}' +
'<span class=\"dropdown-item-text\">\\{\\{value\\}\\}\\{\\{\\# gt age 17 \\}\\}, \\{\\{age\\}\\}\\{\\{/gt\\}\\}</span>'+
'</a>'+
'</div>',
{
strict: true
}
)
}
});
</script>
{% endif %}
{% endblock %}
</body>
</html>
", "base.html.twig", "/var/www/frontend-dev/apps/frontend/templates/base.html.twig");
}
}