<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* @StartPlatzEventBundle/Default/event-single.tailwind.html.twig */
class __TwigTemplate_5b2a7b52051dbdc98881650b6a7f53a2 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'metaData' => [$this, 'block_metaData'],
'title' => [$this, 'block_title'],
'styles' => [$this, 'block_styles'],
'additionalHead' => [$this, 'block_additionalHead'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@StartPlatzStyleBundle/base.tailwind.public.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@StartPlatzEventBundle/Default/event-single.tailwind.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@StartPlatzEventBundle/Default/event-single.tailwind.html.twig"));
// line 2
$context["currentPath"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "get", ["_route"], "method", false, false, false, 2);
// line 5
$context["lang"] = Twig\Extension\CoreExtension::lower($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 5, $this->source); })()), "request", [], "any", false, false, false, 5), "get", ["lang", ((CoreExtension::getAttribute($this->env, $this->source, ($context["event"] ?? null), "lang", [], "any", true, true, false, 5)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 5, $this->source); })()), "lang", [], "any", false, false, false, 5), "de")) : ("de"))], "method", false, false, false, 5));
// line 6
$context["isEnglish"] = ((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 6, $this->source); })()) == "en");
// line 9
$context["seoTitle"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 9, $this->source); })()), "seoTitle", [], "any", false, false, false, 9);
// line 10
$context["seoDescription"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 10, $this->source); })()), "seoDescription", [], "any", false, false, false, 10);
// line 11
$context["seoKeyword"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 11, $this->source); })()), "seoKeyword", [], "any", false, false, false, 11);
// line 12
$context["socialImage"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 12, $this->source); })()), "imagelink", [], "any", false, false, false, 12);
// line 1
$this->parent = $this->load("@StartPlatzStyleBundle/base.tailwind.public.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 14
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metaData(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaData"));
// line 15
yield " ";
// line 16
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 16, $this->source); })()), "status", [], "any", false, false, false, 16) == "archive")) {
// line 17
yield " ";
$context["archivePrefix"] = (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 17, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ((("Past event from " . $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 17, $this->source); })()), "startDate", [], "any", false, false, false, 17), "F j, Y")) . ": ")) : ((("Vergangene Veranstaltung vom " . $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 17, $this->source); })()), "startDate", [], "any", false, false, false, 17), "d.m.Y")) . ": ")));
// line 18
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["archivePrefix"]) || array_key_exists("archivePrefix", $context) ? $context["archivePrefix"] : (function () { throw new RuntimeError('Variable "archivePrefix" does not exist.', 18, $this->source); })()), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["seoDescription"]) || array_key_exists("seoDescription", $context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.', 18, $this->source); })()), 0, 140), "html", null, true);
yield "\">
";
} else {
// line 20
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoDescription"]) || array_key_exists("seoDescription", $context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.', 20, $this->source); })()), "html", null, true);
yield "\">
";
}
// line 22
yield " <meta name=\"keywords\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoKeyword"]) || array_key_exists("seoKeyword", $context) ? $context["seoKeyword"] : (function () { throw new RuntimeError('Variable "seoKeyword" does not exist.', 22, $this->source); })()), "html", null, true);
yield "\">
<meta name=\"author\" content=\"";
// line 23
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 23, $this->source); })()), "trainer", [], "any", false, false, false, 23), "html", null, true);
yield "\">
";
// line 25
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "environment", [], "any", false, false, false, 25) == "prod")) {
// line 26
yield " <meta name=\"robots\" content=\"index,follow\">
";
// line 27
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 27, $this->source); })()), "seriesTag", [], "any", false, false, false, 27))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 28
yield " <link rel=\"canonical\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("event_series", ["seriesTag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 28, $this->source); })()), "seriesTag", [], "any", false, false, false, 28), "lang" => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 28, $this->source); })())]), "html", null, true);
yield "\" />
";
} else {
// line 30
yield " <link rel=\"canonical\" href=\"https://www.startplatz.de/event/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 30, $this->source); })()), "slug", [], "any", false, false, false, 30)), "html", null, true);
if (((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 30, $this->source); })()) == "en")) {
yield "?lang=en";
}
yield "\" />
";
}
// line 32
yield "
";
// line 34
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 34, $this->source); })()), "hasEnglishVersion", [], "any", false, false, false, 34)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 35
yield " <link rel=\"alternate\" hreflang=\"de\" href=\"https://www.startplatz.de/event/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 35, $this->source); })()), "slug", [], "any", false, false, false, 35)), "html", null, true);
yield "?lang=de\" />
<link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/";
// line 36
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 36, $this->source); })()), "slug", [], "any", false, false, false, 36)), "html", null, true);
yield "?lang=en\" />
<link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/";
// line 37
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 37, $this->source); })()), "slug", [], "any", false, false, false, 37)), "html", null, true);
yield "\" />
";
}
// line 39
yield " ";
} else {
// line 40
yield " <meta name=\"robots\" content=\"noindex,nofollow\">
";
}
// line 42
yield "
";
// line 44
yield " <meta property=\"og:title\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoTitle"]) || array_key_exists("seoTitle", $context) ? $context["seoTitle"] : (function () { throw new RuntimeError('Variable "seoTitle" does not exist.', 44, $this->source); })()), "html", null, true);
yield "\">
<meta property=\"og:description\" content=\"";
// line 45
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoDescription"]) || array_key_exists("seoDescription", $context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.', 45, $this->source); })()), "html", null, true);
yield "\">
<meta property=\"og:image\" content=\"";
// line 46
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["socialImage"]) || array_key_exists("socialImage", $context) ? $context["socialImage"] : (function () { throw new RuntimeError('Variable "socialImage" does not exist.', 46, $this->source); })()), "html", null, true);
yield "\">
<meta property=\"og:locale\" content=\"";
// line 47
yield ((((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 47, $this->source); })()) == "en")) ? ("en_US") : ("de_DE"));
yield "\">
";
// line 48
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 48, $this->source); })()), "hasEnglishVersion", [], "any", false, false, false, 48)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 49
yield " <meta property=\"og:locale:alternate\" content=\"";
yield ((((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 49, $this->source); })()) == "en")) ? ("de_DE") : ("en_US"));
yield "\">
";
}
// line 51
yield "
";
// line 53
yield " <meta name=\"twitter:card\" content=\"summary\">
<meta name=\"twitter:title\" content=\"";
// line 54
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoTitle"]) || array_key_exists("seoTitle", $context) ? $context["seoTitle"] : (function () { throw new RuntimeError('Variable "seoTitle" does not exist.', 54, $this->source); })()), "html", null, true);
yield "\">
<meta name=\"twitter:description\" content=\"";
// line 55
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoDescription"]) || array_key_exists("seoDescription", $context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.', 55, $this->source); })()), "html", null, true);
yield "\">
<meta name=\"twitter:image\" content=\"";
// line 56
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["socialImage"]) || array_key_exists("socialImage", $context) ? $context["socialImage"] : (function () { throw new RuntimeError('Variable "socialImage" does not exist.', 56, $this->source); })()), "html", null, true);
yield "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 59
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("seoTitle", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["seoTitle"]) || array_key_exists("seoTitle", $context) ? $context["seoTitle"] : (function () { throw new RuntimeError('Variable "seoTitle" does not exist.', 59, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 59, $this->source); })()), "title", [], "any", false, false, false, 59))) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 59, $this->source); })()), "title", [], "any", false, false, false, 59))), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 61
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_styles(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
// line 75
yield "<style>
/* Page Background - visible between sections */
body { background-color: #FFFFFF; }
/* Registration Section */
.bg-registration { background-color: #9632FF; }
.registration-accent { --registration-accent: #9632FF; }
/* Tags Section */
.bg-tags { background-color: #F3F4F6; }
/* Promote This Event Section */
.bg-promote { background-color: #F3F4F6; }
/* Admin Section */
.bg-admin-section { background-color: #F9FAFB; }
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 94
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_additionalHead(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "additionalHead"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "additionalHead"));
// line 95
yield " ";
// line 96
yield " ";
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 96, $this->source); })()), "additionalCss", [], "any", false, false, false, 96))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 97
yield " <style>
";
// line 98
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 98, $this->source); })()), "additionalCss", [], "any", false, false, false, 98)), ["event" => // line 99
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 99, $this->source); })()), "batch" => // line 100
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 100, $this->source); })()), "isMultiBatchEvent" => // line 101
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 101, $this->source); })())]);
// line 102
yield "
</style>
";
}
// line 105
yield "
";
// line 106
yield from $this->load("@StartPlatzStyleBundle/_meta-pixel.html.twig", 106)->unwrap()->yield(CoreExtension::toArray(["meta_pixel_id" => ((CoreExtension::getAttribute($this->env, $this->source, ($context["event"] ?? null), "metaPixelId", [], "any", true, true, false, 106)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 106, $this->source); })()), "metaPixelId", [], "any", false, false, false, 106), null)) : (null))]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 109
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "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 110
yield " ";
// line 111
yield " ";
$context["navbar"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 111, $this->source); })()), "navbar", [], "any", false, false, false, 111);
// line 112
yield " ";
$context["teaser"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 112, $this->source); })()), "teaser", [], "any", false, false, false, 112);
// line 113
yield " ";
$context["content"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 113, $this->source); })()), "content", [], "any", false, false, false, 113);
// line 114
yield " ";
$context["contentTwig"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 114, $this->source); })()), "contentTwig", [], "any", false, false, false, 114);
// line 115
yield " ";
$context["postCtaContent"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 115, $this->source); })()), "postCtaContent", [], "any", false, false, false, 115);
// line 116
yield "
";
// line 118
yield " ";
if ((($tmp = (isset($context["navbar"]) || array_key_exists("navbar", $context) ? $context["navbar"] : (function () { throw new RuntimeError('Variable "navbar" does not exist.', 118, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 119
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["navbar"]) || array_key_exists("navbar", $context) ? $context["navbar"] : (function () { throw new RuntimeError('Variable "navbar" does not exist.', 119, $this->source); })())), ["event" => // line 120
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 120, $this->source); })()), "batch" => // line 121
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 121, $this->source); })()), "isMultiBatchEvent" => // line 122
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 122, $this->source); })()), "lang" => // line 123
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 123, $this->source); })()), "isEnglish" => // line 124
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 124, $this->source); })()), "phrases" => // line 125
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 125, $this->source); })())]);
// line 126
yield "
";
}
// line 128
yield "
";
// line 130
yield " ";
if ((($tmp = (isset($context["teaser"]) || array_key_exists("teaser", $context) ? $context["teaser"] : (function () { throw new RuntimeError('Variable "teaser" does not exist.', 130, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 131
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["teaser"]) || array_key_exists("teaser", $context) ? $context["teaser"] : (function () { throw new RuntimeError('Variable "teaser" does not exist.', 131, $this->source); })())), ["event" => // line 132
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 132, $this->source); })()), "batch" => // line 133
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 133, $this->source); })()), "isMultiBatchEvent" => // line 134
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 134, $this->source); })()), "lang" => // line 135
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 135, $this->source); })()), "isEnglish" => // line 136
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 136, $this->source); })()), "phrases" => // line 137
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 137, $this->source); })())]);
// line 138
yield "
";
}
// line 140
yield "
";
// line 142
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.part.archive-banner.html.twig", 142)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 143
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 143, $this->source); })()), "isEnglish" => // line 144
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 144, $this->source); })())]));
// line 146
yield "
";
// line 148
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 148, $this->source); })()), "session", [], "any", false, false, false, 148), "flashbag", [], "any", false, false, false, 148), "has", ["notice"], "method", false, false, false, 148)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 149
yield " <section class=\"bg-gray-100 py-3\">
<div class=\"max-w-4xl mx-auto px-4\">
";
// line 151
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "session", [], "any", false, false, false, 151), "flashbag", [], "any", false, false, false, 151), "get", ["notice"], "method", false, false, false, 151));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 152
yield " <div class=\"text-center py-3 px-4 rounded-lg mb-2 ";
if (CoreExtension::inFilter("SUCCESS", $context["flashMessage"])) {
yield "bg-green-100 text-green-800";
} elseif (CoreExtension::inFilter("ERROR", $context["flashMessage"])) {
yield "bg-red-100 text-red-800";
} else {
yield "bg-gray-200 text-gray-800";
}
yield "\">
";
// line 153
yield Twig\Extension\CoreExtension::replace($context["flashMessage"], ["SUCCESS" => ""]);
yield "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 156
yield " ";
yield (isset($context["editFeedback"]) || array_key_exists("editFeedback", $context) ? $context["editFeedback"] : (function () { throw new RuntimeError('Variable "editFeedback" does not exist.', 156, $this->source); })());
yield "
</div>
</section>
";
}
// line 160
yield "
";
// line 162
yield " ";
if ((((isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 162, $this->source); })()) && (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 162, $this->source); })())) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 162, $this->source); })()), "applicationStatus", [], "any", false, false, false, 162))) {
// line 163
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig", 163)->unwrap()->yield($context);
// line 164
yield " ";
}
// line 165
yield "
";
// line 167
yield " ";
if ((($tmp = (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 167, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 168
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 168, $this->source); })())), ["event" => // line 169
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 169, $this->source); })()), "batch" => // line 170
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 170, $this->source); })()), "isMultiBatchEvent" => // line 171
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 171, $this->source); })()), "lang" => // line 172
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 172, $this->source); })()), "isEnglish" => // line 173
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 173, $this->source); })()), "phrases" => // line 174
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 174, $this->source); })())]);
// line 175
yield "
";
}
// line 177
yield "
";
// line 179
yield " ";
if ((($tmp = (isset($context["contentTwig"]) || array_key_exists("contentTwig", $context) ? $context["contentTwig"] : (function () { throw new RuntimeError('Variable "contentTwig" does not exist.', 179, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 180
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["contentTwig"]) || array_key_exists("contentTwig", $context) ? $context["contentTwig"] : (function () { throw new RuntimeError('Variable "contentTwig" does not exist.', 180, $this->source); })())), ["event" => // line 181
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 181, $this->source); })()), "batch" => // line 182
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 182, $this->source); })()), "isMultiBatchEvent" => // line 183
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 183, $this->source); })()), "futureBatches" => // line 184
(isset($context["futureBatches"]) || array_key_exists("futureBatches", $context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.', 184, $this->source); })()), "allBatches" => // line 185
(isset($context["allBatches"]) || array_key_exists("allBatches", $context) ? $context["allBatches"] : (function () { throw new RuntimeError('Variable "allBatches" does not exist.', 185, $this->source); })()), "lang" => // line 186
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 186, $this->source); })()), "isEnglish" => // line 187
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 187, $this->source); })()), "phrases" => // line 188
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 188, $this->source); })())]);
// line 189
yield "
";
}
// line 191
yield "
";
// line 193
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.batch.tailwind.html.twig", 193)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 194
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 194, $this->source); })()), "batch" => // line 195
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 195, $this->source); })()), "batchIsOpen" => // line 196
(isset($context["batchIsOpen"]) || array_key_exists("batchIsOpen", $context) ? $context["batchIsOpen"] : (function () { throw new RuntimeError('Variable "batchIsOpen" does not exist.', 196, $this->source); })()), "application" => // line 197
(isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 197, $this->source); })()), "settings" => // line 198
(isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 198, $this->source); })()), "isMultiBatchEvent" => // line 199
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 199, $this->source); })()), "futureBatches" => // line 200
(isset($context["futureBatches"]) || array_key_exists("futureBatches", $context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.', 200, $this->source); })()), "lang" => // line 201
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 201, $this->source); })()), "isEnglish" => // line 202
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 202, $this->source); })()), "phrases" => // line 203
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 203, $this->source); })())]));
// line 205
yield "
";
// line 207
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_section.tags.tailwind.html.twig", 207)->unwrap()->yield($context);
// line 208
yield "
";
// line 210
yield " ";
if ((($tmp = (isset($context["postCtaContent"]) || array_key_exists("postCtaContent", $context) ? $context["postCtaContent"] : (function () { throw new RuntimeError('Variable "postCtaContent" does not exist.', 210, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 211
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["postCtaContent"]) || array_key_exists("postCtaContent", $context) ? $context["postCtaContent"] : (function () { throw new RuntimeError('Variable "postCtaContent" does not exist.', 211, $this->source); })())), ["event" => // line 212
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 212, $this->source); })()), "batch" => // line 213
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 213, $this->source); })()), "isMultiBatchEvent" => // line 214
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 214, $this->source); })()), "lang" => // line 215
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 215, $this->source); })()), "isEnglish" => // line 216
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 216, $this->source); })()), "phrases" => // line 217
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 217, $this->source); })())]);
// line 218
yield "
";
}
// line 220
yield "
";
// line 222
yield " ";
if ((($tmp = (isset($context["speakers"]) || array_key_exists("speakers", $context) ? $context["speakers"] : (function () { throw new RuntimeError('Variable "speakers" does not exist.', 222, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 223
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_section.speakers-and-partners.winter-2025.html.twig", 223)->unwrap()->yield($context);
// line 224
yield " ";
}
// line 225
yield "
";
// line 227
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_section.past-batches.html.twig", 227)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 228
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 228, $this->source); })()), "isMultiBatchEvent" => // line 229
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 229, $this->source); })()), "pastBatches" => // line 230
(isset($context["pastBatches"]) || array_key_exists("pastBatches", $context) ? $context["pastBatches"] : (function () { throw new RuntimeError('Variable "pastBatches" does not exist.', 230, $this->source); })()), "isEnglish" => // line 231
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 231, $this->source); })())]));
// line 233
yield "
";
// line 235
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 235, $this->source); })()), "user", [], "any", false, false, false, 235) && (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 235, $this->source); })()))) {
// line 236
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_section.promote-this-event.tailwind.html.twig", 236)->unwrap()->yield($context);
// line 237
yield " ";
}
// line 238
yield "
";
// line 240
yield " ";
if ((((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 240) && array_key_exists("application", $context)) && !(null === (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 240, $this->source); })()))) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 240, $this->source); })()), "canReadList", [], "any", false, false, false, 240))) {
// line 241
yield " <section class=\"bg-gray-100 py-6\">
<div class=\"max-w-4xl mx-auto px-4 text-center\">
<span class=\"text-gray-700\">";
// line 243
yield (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 243, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("You can view the participant list here") : ("Hier kannst Du die Teilnehmerliste einsehen"));
yield "</span>
<a class=\"ml-2 inline-block px-4 py-2 border border-gray-800 rounded-lg hover:bg-gray-800 hover:text-white transition-colors\" href=\"";
// line 244
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_participants", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 244, $this->source); })()), "id", [], "any", false, false, false, 244)]), "html", null, true);
yield "\">
participants
</a>
</div>
</section>
";
}
// line 250
yield "
";
// line 252
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 252)) {
// line 253
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 253), "admin", [], "any", true, true, false, 253) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 253, $this->source); })()), "user", [], "any", false, false, false, 253), "admin", [], "any", false, false, false, 253))) {
// line 254
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_section.startplatz-admin-section.tailwind.html.twig", 254)->unwrap()->yield($context);
// line 255
yield " ";
}
// line 256
yield " ";
}
// line 257
yield "
";
// line 259
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 259, $this->source); })()), "hasEnglishVersion", [], "any", false, false, false, 259)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 260
yield " <div class=\"fixed top-32 right-5 z-50\" x-data=\"{ hover: false }\">
<div class=\"bg-white border-2 border-sp-purple rounded-full px-4 py-2 shadow-lg flex items-center gap-2\">
<a href=\"?lang=de\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all ";
// line 262
yield ((((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 262, $this->source); })()) == "de")) ? ("bg-sp-purple text-white") : ("text-gray-800 hover:bg-gray-100"));
yield "\" title=\"Deutsch\">
<span class=\"text-xl\">DE</span>
</a>
<span class=\"text-gray-300\">|</span>
<a href=\"?lang=en\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all ";
// line 266
yield ((((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 266, $this->source); })()) == "en")) ? ("bg-sp-purple text-white") : ("text-gray-800 hover:bg-gray-100"));
yield "\" title=\"English\">
<span class=\"text-xl\">EN</span>
</a>
</div>
</div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 274
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "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 275
yield " ";
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 275, $this->source); })()), "additionalJs", [], "any", false, false, false, 275))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 276
yield " <script>
var eventData = {
id: ";
// line 278
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 278, $this->source); })()), "id", [], "any", false, false, false, 278), "html", null, true);
yield ",
title: \"";
// line 279
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, ($context["resolved"] ?? null), "title", [], "any", true, true, false, 279) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 279, $this->source); })()), "title", [], "any", false, false, false, 279)))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 279, $this->source); })()), "title", [], "any", false, false, false, 279)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 279, $this->source); })()), "title", [], "any", false, false, false, 279))), "js"), "html", null, true);
yield "\",
slug: \"";
// line 280
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 280, $this->source); })()), "slug", [], "any", false, false, false, 280), "js"), "html", null, true);
yield "\",
lang: \"";
// line 281
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 281, $this->source); })()), "html", null, true);
yield "\",
isEnglish: ";
// line 282
yield (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 282, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("true") : ("false"));
yield "
};
";
// line 285
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["resolved"]) || array_key_exists("resolved", $context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.', 285, $this->source); })()), "additionalJs", [], "any", false, false, false, 285)), ["event" => // line 286
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 286, $this->source); })()), "batch" => // line 287
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 287, $this->source); })()), "lang" => // line 288
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 288, $this->source); })()), "isEnglish" => // line 289
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 289, $this->source); })())]);
// line 290
yield "
</script>
";
}
// line 293
yield "
";
// line 295
yield " ";
if ((((array_key_exists("isSonderseite", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["isSonderseite"]) || array_key_exists("isSonderseite", $context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.', 295, $this->source); })()), false)) : (false)) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 295, $this->source); })()), "landingPageJs", [], "any", false, false, false, 295)))) {
// line 296
yield " <script>";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 296, $this->source); })()), "landingPageJs", [], "any", false, false, false, 296);
yield "</script>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@StartPlatzEventBundle/Default/event-single.tailwind.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 720 => 296, 717 => 295, 714 => 293, 709 => 290, 707 => 289, 706 => 288, 705 => 287, 704 => 286, 703 => 285, 697 => 282, 693 => 281, 689 => 280, 685 => 279, 681 => 278, 677 => 276, 674 => 275, 661 => 274, 643 => 266, 636 => 262, 632 => 260, 629 => 259, 626 => 257, 623 => 256, 620 => 255, 617 => 254, 614 => 253, 611 => 252, 608 => 250, 599 => 244, 595 => 243, 591 => 241, 588 => 240, 585 => 238, 582 => 237, 579 => 236, 576 => 235, 573 => 233, 571 => 231, 570 => 230, 569 => 229, 568 => 228, 566 => 227, 563 => 225, 560 => 224, 557 => 223, 554 => 222, 551 => 220, 547 => 218, 545 => 217, 544 => 216, 543 => 215, 542 => 214, 541 => 213, 540 => 212, 538 => 211, 535 => 210, 532 => 208, 529 => 207, 526 => 205, 524 => 203, 523 => 202, 522 => 201, 521 => 200, 520 => 199, 519 => 198, 518 => 197, 517 => 196, 516 => 195, 515 => 194, 513 => 193, 510 => 191, 506 => 189, 504 => 188, 503 => 187, 502 => 186, 501 => 185, 500 => 184, 499 => 183, 498 => 182, 497 => 181, 495 => 180, 492 => 179, 489 => 177, 485 => 175, 483 => 174, 482 => 173, 481 => 172, 480 => 171, 479 => 170, 478 => 169, 476 => 168, 473 => 167, 470 => 165, 467 => 164, 464 => 163, 461 => 162, 458 => 160, 450 => 156, 441 => 153, 430 => 152, 426 => 151, 422 => 149, 419 => 148, 416 => 146, 414 => 144, 413 => 143, 411 => 142, 408 => 140, 404 => 138, 402 => 137, 401 => 136, 400 => 135, 399 => 134, 398 => 133, 397 => 132, 395 => 131, 392 => 130, 389 => 128, 385 => 126, 383 => 125, 382 => 124, 381 => 123, 380 => 122, 379 => 121, 378 => 120, 376 => 119, 373 => 118, 370 => 116, 367 => 115, 364 => 114, 361 => 113, 358 => 112, 355 => 111, 353 => 110, 340 => 109, 329 => 106, 326 => 105, 321 => 102, 319 => 101, 318 => 100, 317 => 99, 316 => 98, 313 => 97, 310 => 96, 308 => 95, 295 => 94, 267 => 75, 254 => 61, 231 => 59, 218 => 56, 214 => 55, 210 => 54, 207 => 53, 204 => 51, 198 => 49, 196 => 48, 192 => 47, 188 => 46, 184 => 45, 179 => 44, 176 => 42, 172 => 40, 169 => 39, 164 => 37, 160 => 36, 155 => 35, 152 => 34, 149 => 32, 140 => 30, 134 => 28, 132 => 27, 129 => 26, 127 => 25, 122 => 23, 117 => 22, 111 => 20, 104 => 18, 101 => 17, 98 => 16, 96 => 15, 83 => 14, 72 => 1, 70 => 12, 68 => 11, 66 => 10, 64 => 9, 62 => 6, 60 => 5, 58 => 2, 45 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"@StartPlatzStyleBundle/base.tailwind.public.html.twig\" %}
{% set currentPath = app.request.get('_route') %}
{# Language Detection - uses event.lang as default if set #}
{% set lang = app.request.get('lang', event.lang|default('de'))|lower %}
{% set isEnglish = lang == 'en' %}
{# SEO + Social: via EventContentResolver (Batch-Override bei Multi-Batch, sonst Event) #}
{% set seoTitle = resolved.seoTitle %}
{% set seoDescription = resolved.seoDescription %}
{% set seoKeyword = resolved.seoKeyword %}
{% set socialImage = resolved.imagelink %}
{% block metaData %}
{# Optimize meta description for archived events #}
{% if event.status == 'archive' %}
{% set archivePrefix = isEnglish ? 'Past event from ' ~ event.startDate|date('F j, Y') ~ ': ' : 'Vergangene Veranstaltung vom ' ~ event.startDate|date('d.m.Y') ~ ': ' %}
<meta name=\"description\" content=\"{{ archivePrefix }}{{ seoDescription|slice(0, 140) }}\">
{% else %}
<meta name=\"description\" content=\"{{ seoDescription }}\">
{% endif %}
<meta name=\"keywords\" content=\"{{ seoKeyword }}\">
<meta name=\"author\" content=\"{{ resolved.trainer }}\">
{% if app.environment == 'prod' %}
<meta name=\"robots\" content=\"index,follow\">
{% if event.seriesTag is not empty %}
<link rel=\"canonical\" href=\"{{ path('event_series', {'seriesTag': event.seriesTag, 'lang': lang}) }}\" />
{% else %}
<link rel=\"canonical\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}{% if lang == 'en' %}?lang=en{% endif %}\" />
{% endif %}
{# hreflang tags for bilingual support #}
{% if event.hasEnglishVersion %}
<link rel=\"alternate\" hreflang=\"de\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}?lang=de\" />
<link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}?lang=en\" />
<link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}\" />
{% endif %}
{% else %}
<meta name=\"robots\" content=\"noindex,nofollow\">
{% endif %}
{# Open Graph with language support #}
<meta property=\"og:title\" content=\"{{ seoTitle }}\">
<meta property=\"og:description\" content=\"{{ seoDescription }}\">
<meta property=\"og:image\" content=\"{{ socialImage }}\">
<meta property=\"og:locale\" content=\"{{ lang == 'en' ? 'en_US' : 'de_DE' }}\">
{% if event.hasEnglishVersion %}
<meta property=\"og:locale:alternate\" content=\"{{ lang == 'en' ? 'de_DE' : 'en_US' }}\">
{% endif %}
{# Twitter Card #}
<meta name=\"twitter:card\" content=\"summary\">
<meta name=\"twitter:title\" content=\"{{ seoTitle }}\">
<meta name=\"twitter:description\" content=\"{{ seoDescription }}\">
<meta name=\"twitter:image\" content=\"{{ socialImage }}\">
{% endblock %}
{% block title %}{{ seoTitle|default(resolved.title) }}{% endblock %}
{% block styles %}
{#
╔═══════════════════════════════════════════════════════════════════════╗
║ DEFAULT STYLES - werden durch event.additionalCss überschrieben ║
║ ║
║ Anpassbar via additionalCss (Beispiel Dark Theme): ║
║ body { background-color: #0a0a0a; } ║
║ .bg-registration { background-color: #171717; } ║
║ .registration-accent { --registration-accent: #3D9DD6; } ║
║ .bg-tags { background-color: #171717; } ║
║ .bg-promote { background-color: #171717; } ║
║ .bg-admin-section { background-color: #171717; } ║
╚═══════════════════════════════════════════════════════════════════════╝
#}
<style>
/* Page Background - visible between sections */
body { background-color: #FFFFFF; }
/* Registration Section */
.bg-registration { background-color: #9632FF; }
.registration-accent { --registration-accent: #9632FF; }
/* Tags Section */
.bg-tags { background-color: #F3F4F6; }
/* Promote This Event Section */
.bg-promote { background-color: #F3F4F6; }
/* Admin Section */
.bg-admin-section { background-color: #F9FAFB; }
</style>
{% endblock %}
{% block additionalHead %}
{# Custom CSS via Resolver (Batch-Override bei Multi-Batch) #}
{% if resolved.additionalCss is not empty %}
<style>
{{ include(template_from_string(resolved.additionalCss), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent
}) }}
</style>
{% endif %}
{% include \"@StartPlatzStyleBundle/_meta-pixel.html.twig\" with { meta_pixel_id: event.metaPixelId|default(null) } only %}
{% endblock %}
{% block content %}
{# Content via Resolver (Multi-Batch: Batch gewinnt; EN fallback auf DE) #}
{% set navbar = resolved.navbar %}
{% set teaser = resolved.teaser %}
{% set content = resolved.content %}
{% set contentTwig = resolved.contentTwig %}
{% set postCtaContent = resolved.postCtaContent %}
{# Navbar Section #}
{% if navbar %}
{{ include(template_from_string(navbar), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
{# Teaser Section #}
{% if teaser %}
{{ include(template_from_string(teaser), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
{# Archive Banner (SEO-optimized: no redirect) #}
{% include '@StartPlatzEvent/Default/_event.part.archive-banner.html.twig' with {
'event': event,
'isEnglish': isEnglish
} %}
{# Flash Messages (Notices) #}
{% if app.session.flashbag.has('notice') %}
<section class=\"bg-gray-100 py-3\">
<div class=\"max-w-4xl mx-auto px-4\">
{% for flashMessage in app.session.flashbag.get('notice') %}
<div class=\"text-center py-3 px-4 rounded-lg mb-2 {% if 'SUCCESS' in flashMessage %}bg-green-100 text-green-800{% elseif 'ERROR' in flashMessage %}bg-red-100 text-red-800{% else %}bg-gray-200 text-gray-800{% endif %}\">
{{ flashMessage|replace({'SUCCESS': ''})|raw }}
</div>
{% endfor %}
{{ editFeedback|raw }}
</div>
</section>
{% endif %}
{# Application Status Feedback #}
{% if batch and application and application.applicationStatus %}
{% include \"@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig\" %}
{% endif %}
{# Main Content Section #}
{% if content %}
{{ include(template_from_string(content), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
{# Dynamic Twig Content #}
{% if contentTwig %}
{{ include(template_from_string(contentTwig), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'futureBatches': futureBatches,
'allBatches': allBatches,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
{# Registration Section #}
{% include \"@StartPlatzEvent/Default/_registration.batch.tailwind.html.twig\" with {
'event': event,
'batch': batch,
'batchIsOpen': batchIsOpen,
'application': application,
'settings': settings,
'isMultiBatchEvent': isMultiBatchEvent,
'futureBatches': futureBatches,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
} %}
{# Tags Section #}
{% include \"@StartPlatzEvent/Default/_section.tags.tailwind.html.twig\" %}
{# Post CTA Content #}
{% if postCtaContent %}
{{ include(template_from_string(postCtaContent), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
{# Speakers Section #}
{% if speakers %}
{% include \"@StartPlatzEvent/Default/_section.speakers-and-partners.winter-2025.html.twig\" %}
{% endif %}
{# Past Batches Section #}
{% include \"@StartPlatzEvent/Default/_section.past-batches.html.twig\" with {
'event': event,
'isMultiBatchEvent': isMultiBatchEvent,
'pastBatches': pastBatches,
'isEnglish': isEnglish
} %}
{# Promote This Event (for logged-in users) #}
{% if app.user and batch %}
{% include \"@StartPlatzEvent/Default/_section.promote-this-event.tailwind.html.twig\" %}
{% endif %}
{# Participant List Access #}
{% if app.user is defined and application is defined and application is not null and application.canReadList %}
<section class=\"bg-gray-100 py-6\">
<div class=\"max-w-4xl mx-auto px-4 text-center\">
<span class=\"text-gray-700\">{{ isEnglish ? 'You can view the participant list here' : 'Hier kannst Du die Teilnehmerliste einsehen' }}</span>
<a class=\"ml-2 inline-block px-4 py-2 border border-gray-800 rounded-lg hover:bg-gray-800 hover:text-white transition-colors\" href=\"{{ path('admin_event_participants', {id: event.id} ) }}\">
participants
</a>
</div>
</section>
{% endif %}
{# Admin Section #}
{% if app.user is defined %}
{% if app.user.admin is defined and app.user.admin %}
{% include \"@StartPlatzEvent/Default/_section.startplatz-admin-section.tailwind.html.twig\" %}
{% endif %}
{% endif %}
{# Language Switcher Component #}
{% if event.hasEnglishVersion %}
<div class=\"fixed top-32 right-5 z-50\" x-data=\"{ hover: false }\">
<div class=\"bg-white border-2 border-sp-purple rounded-full px-4 py-2 shadow-lg flex items-center gap-2\">
<a href=\"?lang=de\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all {{ lang == 'de' ? 'bg-sp-purple text-white' : 'text-gray-800 hover:bg-gray-100' }}\" title=\"Deutsch\">
<span class=\"text-xl\">DE</span>
</a>
<span class=\"text-gray-300\">|</span>
<a href=\"?lang=en\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all {{ lang == 'en' ? 'bg-sp-purple text-white' : 'text-gray-800 hover:bg-gray-100' }}\" title=\"English\">
<span class=\"text-xl\">EN</span>
</a>
</div>
</div>
{% endif %}
{% endblock %}
{% block javascripts %}
{% if resolved.additionalJs is not empty %}
<script>
var eventData = {
id: {{ event.id }},
title: \"{{ (resolved.title ?? event.title)|e('js') }}\",
slug: \"{{ event.slug|e('js') }}\",
lang: \"{{ lang }}\",
isEnglish: {{ isEnglish ? 'true' : 'false' }}
};
{{ include(template_from_string(resolved.additionalJs), {
'event': event,
'batch': batch,
'lang': lang,
'isEnglish': isEnglish
})|raw }}
</script>
{% endif %}
{# Sonderseite: batch-level JS (isSonderseite wurde mit Sonderseite-Rueckbau entfernt, Variable defensiv abgesichert) #}
{% if isSonderseite|default(false) and batch.landingPageJs is not empty %}
<script>{{ batch.landingPageJs|raw }}</script>
{% endif %}
{% endblock %}
", "@StartPlatzEventBundle/Default/event-single.tailwind.html.twig", "/var/www/html/src/StartPlatz/Bundle/EventBundle/Resources/views/Default/event-single.tailwind.html.twig");
}
}