var/cache/dev/twig/1f/1f614b7f7532abbba32d55f05614b444.php line 313

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @StartPlatzEventBundle/Default/event-single.tailwind.html.twig */
  16. class __TwigTemplate_5b2a7b52051dbdc98881650b6a7f53a2 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'metaData' => [$this'block_metaData'],
  29.             'title' => [$this'block_title'],
  30.             'styles' => [$this'block_styles'],
  31.             'additionalHead' => [$this'block_additionalHead'],
  32.             'content' => [$this'block_content'],
  33.             'javascripts' => [$this'block_javascripts'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  37.     {
  38.         // line 1
  39.         return "@StartPlatzStyleBundle/base.tailwind.public.html.twig";
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = []): iterable
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzEventBundle/Default/event-single.tailwind.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzEventBundle/Default/event-single.tailwind.html.twig"));
  48.         // line 2
  49.         $context["currentPath"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse2), "get", ["_route"], "method"falsefalsefalse2);
  50.         // line 5
  51.         $context["lang"] = Twig\Extension\CoreExtension::lower($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse5), "get", ["lang", ((CoreExtension::getAttribute($this->env$this->source, ($context["event"] ?? null), "lang", [], "any"truetruefalse5)) ? (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"falsefalsefalse5), "de")) : ("de"))], "method"falsefalsefalse5));
  52.         // line 6
  53.         $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");
  54.         // line 9
  55.         $context["seoTitle"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'9$this->source); })()) && 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.'9$this->source); })()), "seoTitleEn", [], "any"falsefalsefalse9))) ? (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.'9$this->source); })()), "seoTitleEn", [], "any"falsefalsefalse9)) : (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.'9$this->source); })()), "seoTitle", [], "any"falsefalsefalse9)));
  56.         // line 10
  57.         $context["seoDescription"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'10$this->source); })()) && 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.'10$this->source); })()), "seoDescriptionEn", [], "any"falsefalsefalse10))) ? (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.'10$this->source); })()), "seoDescriptionEn", [], "any"falsefalsefalse10)) : (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.'10$this->source); })()), "seoDescription", [], "any"falsefalsefalse10)));
  58.         // line 11
  59.         $context["seoKeyword"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'11$this->source); })()) && 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.'11$this->source); })()), "seoKeywordEn", [], "any"falsefalsefalse11))) ? (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.'11$this->source); })()), "seoKeywordEn", [], "any"falsefalsefalse11)) : (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.'11$this->source); })()), "seoKeyword", [], "any"falsefalsefalse11)));
  60.         // line 14
  61.         $context["isSonderseite"] = ((array_key_exists("batch"$context) && (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'14$this->source); })())) && 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.'14$this->source); })()), "hasCustomPage", [], "method"falsefalsefalse14));
  62.         // line 15
  63.         if ((($tmp = (isset($context["isSonderseite"]) || array_key_exists("isSonderseite"$context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.'15$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  64.             // line 16
  65.             if ((($tmp 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.'16$this->source); })()), "landingPageTitle", [], "any"falsefalsefalse16)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  66.                 // line 17
  67.                 $context["seoTitle"] = 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.'17$this->source); })()), "landingPageTitle", [], "any"falsefalsefalse17);
  68.             }
  69.             // line 19
  70.             if ((($tmp 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.'19$this->source); })()), "landingPageDescription", [], "any"falsefalsefalse19)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  71.                 // line 20
  72.                 $context["seoDescription"] = 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.'20$this->source); })()), "landingPageDescription", [], "any"falsefalsefalse20);
  73.             }
  74.         }
  75.         // line 23
  76.         $context["socialImage"] = ((((isset($context["isSonderseite"]) || array_key_exists("isSonderseite"$context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.'23$this->source); })()) && 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.'23$this->source); })()), "landingPageSocialImage", [], "any"falsefalsefalse23))) ? (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.'23$this->source); })()), "landingPageSocialImage", [], "any"falsefalsefalse23)) : (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.'23$this->source); })()), "imageLink", [], "any"falsefalsefalse23)));
  77.         // line 1
  78.         $this->parent $this->load("@StartPlatzStyleBundle/base.tailwind.public.html.twig"1);
  79.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  80.         
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82.         
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  84.     }
  85.     // line 25
  86.     /**
  87.      * @return iterable<null|scalar|\Stringable>
  88.      */
  89.     public function block_metaData(array $context, array $blocks = []): iterable
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  96.         // line 26
  97.         yield "    ";
  98.         // line 27
  99.         yield "    ";
  100.         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.'27$this->source); })()), "status", [], "any"falsefalsefalse27) == "archive")) {
  101.             // line 28
  102.             yield "        ";
  103.             $context["archivePrefix"] = (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'28$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.'28$this->source); })()), "startDate", [], "any"falsefalsefalse28), "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.'28$this->source); })()), "startDate", [], "any"falsefalsefalse28), "d.m.Y")) . ": ")));
  104.             // line 29
  105.             yield "        <meta name=\"description\" content=\"";
  106.             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.'29$this->source); })()), "html"nulltrue);
  107.             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.'29$this->source); })()), 0140), "html"nulltrue);
  108.             yield "\">
  109.     ";
  110.         } else {
  111.             // line 31
  112.             yield "        <meta name=\"description\" content=\"";
  113.             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.'31$this->source); })()), "html"nulltrue);
  114.             yield "\">
  115.     ";
  116.         }
  117.         // line 33
  118.         yield "    <meta name=\"keywords\" content=\"";
  119.         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.'33$this->source); })()), "html"nulltrue);
  120.         yield "\">
  121.     <meta name=\"author\" content=\"";
  122.         // line 34
  123.         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.'34$this->source); })()), "trainer", [], "any"falsefalsefalse34), "html"nulltrue);
  124.         yield "\">
  125.     ";
  126.         // line 36
  127.         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.'36$this->source); })()), "environment", [], "any"falsefalsefalse36) == "prod")) {
  128.             // line 37
  129.             yield "        <meta name=\"robots\" content=\"index,follow\">
  130.         ";
  131.             // line 38
  132.             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.'38$this->source); })()), "seriesTag", [], "any"falsefalsefalse38))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  133.                 // line 39
  134.                 yield "            <link rel=\"canonical\" href=\"";
  135.                 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.'39$this->source); })()), "seriesTag", [], "any"falsefalsefalse39), "lang" => (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'39$this->source); })())]), "html"nulltrue);
  136.                 yield "\" />
  137.         ";
  138.             } else {
  139.                 // line 41
  140.                 yield "            <link rel=\"canonical\" href=\"https://www.startplatz.de/event/";
  141.                 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.'41$this->source); })()), "slug", [], "any"falsefalsefalse41)), "html"nulltrue);
  142.                 if (((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'41$this->source); })()) == "en")) {
  143.                     yield "?lang=en";
  144.                 }
  145.                 yield "\" />
  146.         ";
  147.             }
  148.             // line 43
  149.             yield "
  150.         ";
  151.             // line 45
  152.             yield "        ";
  153.             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.'45$this->source); })()), "hasEnglishVersion", [], "any"falsefalsefalse45)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  154.                 // line 46
  155.                 yield "            <link rel=\"alternate\" hreflang=\"de\" href=\"https://www.startplatz.de/event/";
  156.                 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.'46$this->source); })()), "slug", [], "any"falsefalsefalse46)), "html"nulltrue);
  157.                 yield "?lang=de\" />
  158.             <link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/";
  159.                 // line 47
  160.                 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.'47$this->source); })()), "slug", [], "any"falsefalsefalse47)), "html"nulltrue);
  161.                 yield "?lang=en\" />
  162.             <link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/";
  163.                 // line 48
  164.                 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.'48$this->source); })()), "slug", [], "any"falsefalsefalse48)), "html"nulltrue);
  165.                 yield "\" />
  166.         ";
  167.             }
  168.             // line 50
  169.             yield "    ";
  170.         } else {
  171.             // line 51
  172.             yield "        <meta name=\"robots\" content=\"noindex,nofollow\">
  173.     ";
  174.         }
  175.         // line 53
  176.         yield "
  177.     ";
  178.         // line 55
  179.         yield "    <meta property=\"og:title\" content=\"";
  180.         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.'55$this->source); })()), "html"nulltrue);
  181.         yield "\">
  182.     <meta property=\"og:description\" content=\"";
  183.         // line 56
  184.         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.'56$this->source); })()), "html"nulltrue);
  185.         yield "\">
  186.     <meta property=\"og:image\" content=\"";
  187.         // line 57
  188.         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.'57$this->source); })()), "html"nulltrue);
  189.         yield "\">
  190.     <meta property=\"og:locale\" content=\"";
  191.         // line 58
  192.         yield ((((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'58$this->source); })()) == "en")) ? ("en_US") : ("de_DE"));
  193.         yield "\">
  194.     ";
  195.         // line 59
  196.         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.'59$this->source); })()), "hasEnglishVersion", [], "any"falsefalsefalse59)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  197.             // line 60
  198.             yield "        <meta property=\"og:locale:alternate\" content=\"";
  199.             yield ((((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'60$this->source); })()) == "en")) ? ("de_DE") : ("en_US"));
  200.             yield "\">
  201.     ";
  202.         }
  203.         // line 62
  204.         yield "
  205.     ";
  206.         // line 64
  207.         yield "    <meta name=\"twitter:card\" content=\"summary\">
  208.     <meta name=\"twitter:title\" content=\"";
  209.         // line 65
  210.         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.'65$this->source); })()), "html"nulltrue);
  211.         yield "\">
  212.     <meta name=\"twitter:description\" content=\"";
  213.         // line 66
  214.         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.'66$this->source); })()), "html"nulltrue);
  215.         yield "\">
  216.     <meta name=\"twitter:image\" content=\"";
  217.         // line 67
  218.         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.'67$this->source); })()), "html"nulltrue);
  219.         yield "\">
  220. ";
  221.         
  222.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  223.         
  224.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  225.         yield from [];
  226.     }
  227.     // line 70
  228.     /**
  229.      * @return iterable<null|scalar|\Stringable>
  230.      */
  231.     public function block_title(array $context, array $blocks = []): iterable
  232.     {
  233.         $macros $this->macros;
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  235.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  236.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  237.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  238.         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.'70$this->source); })()), 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.'70$this->source); })()), "seoTitle", [], "any"falsefalsefalse70))) : (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.'70$this->source); })()), "seoTitle", [], "any"falsefalsefalse70))), "html"nulltrue);
  239.         
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  241.         
  242.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  243.         yield from [];
  244.     }
  245.     // line 72
  246.     /**
  247.      * @return iterable<null|scalar|\Stringable>
  248.      */
  249.     public function block_styles(array $context, array $blocks = []): iterable
  250.     {
  251.         $macros $this->macros;
  252.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  254.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  255.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  256.         // line 86
  257.         yield "<style>
  258.     /* Page Background - visible between sections */
  259.     body { background-color: #FFFFFF; }
  260.     /* Registration Section */
  261.     .bg-registration { background-color: #9632FF; }
  262.     .registration-accent { --registration-accent: #9632FF; }
  263.     /* Tags Section */
  264.     .bg-tags { background-color: #F3F4F6; }
  265.     /* Promote This Event Section */
  266.     .bg-promote { background-color: #F3F4F6; }
  267.     /* Admin Section */
  268.     .bg-admin-section { background-color: #F9FAFB; }
  269. </style>
  270. ";
  271.         
  272.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  273.         
  274.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  275.         yield from [];
  276.     }
  277.     // line 105
  278.     /**
  279.      * @return iterable<null|scalar|\Stringable>
  280.      */
  281.     public function block_additionalHead(array $context, array $blocks = []): iterable
  282.     {
  283.         $macros $this->macros;
  284.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  285.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  286.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  288.         // line 106
  289.         yield "    ";
  290.         // line 107
  291.         yield "    ";
  292.         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.'107$this->source); })()), "additionalCss", [], "any"falsefalsefalse107))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  293.             // line 108
  294.             yield "        <style>
  295.             ";
  296.             // line 109
  297.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->envCoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'109$this->source); })()), "additionalCss", [], "any"falsefalsefalse109)), ["event" =>             // line 110
  298. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'110$this->source); })()), "batch" =>             // line 111
  299. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'111$this->source); })()), "isMultiBatchEvent" =>             // line 112
  300. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'112$this->source); })())]);
  301.             // line 113
  302.             yield "
  303.         </style>
  304.     ";
  305.         }
  306.         // line 116
  307.         yield "
  308.     ";
  309.         // line 118
  310.         yield "    ";
  311.         if (((isset($context["isSonderseite"]) || array_key_exists("isSonderseite"$context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.'118$this->source); })()) &&  !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.'118$this->source); })()), "landingPageCss", [], "any"falsefalsefalse118)))) {
  312.             // line 119
  313.             yield "        <style>";
  314.             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.'119$this->source); })()), "landingPageCss", [], "any"falsefalsefalse119);
  315.             yield "</style>
  316.     ";
  317.         }
  318.         // line 121
  319.         yield "
  320.     ";
  321.         // line 122
  322.         yield from $this->load("@StartPlatzStyleBundle/_meta-pixel.html.twig"122)->unwrap()->yield(CoreExtension::toArray(["meta_pixel_id" => ((CoreExtension::getAttribute($this->env$this->source, ($context["event"] ?? null), "metaPixelId", [], "any"truetruefalse122)) ? (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.'122$this->source); })()), "metaPixelId", [], "any"falsefalsefalse122), null)) : (null))]));
  323.         
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  325.         
  326.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  327.         yield from [];
  328.     }
  329.     // line 125
  330.     /**
  331.      * @return iterable<null|scalar|\Stringable>
  332.      */
  333.     public function block_content(array $context, array $blocks = []): iterable
  334.     {
  335.         $macros $this->macros;
  336.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  337.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  338.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  339.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  340.         // line 126
  341.         yield "    ";
  342.         // line 127
  343.         yield "    ";
  344.         $context["navbar"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'127$this->source); })()) && 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.'127$this->source); })()), "navbarEn", [], "any"falsefalsefalse127))) ? (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.'127$this->source); })()), "navbarEn", [], "any"falsefalsefalse127)) : (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.'127$this->source); })()), "navbar", [], "any"falsefalsefalse127)));
  345.         // line 128
  346.         yield "    ";
  347.         $context["teaser"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'128$this->source); })()) && 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.'128$this->source); })()), "teaserEn", [], "any"falsefalsefalse128))) ? (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.'128$this->source); })()), "teaserEn", [], "any"falsefalsefalse128)) : (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.'128$this->source); })()), "teaser", [], "any"falsefalsefalse128)));
  348.         // line 129
  349.         yield "    ";
  350.         $context["content"] = ((((isset($context["isSonderseite"]) || array_key_exists("isSonderseite"$context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.'129$this->source); })()) && 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.'129$this->source); })()), "landingPageContent", [], "any"falsefalsefalse129))) ? (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.'129$this->source); })()), "landingPageContent", [], "any"falsefalsefalse129)) : (((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'129$this->source); })()) && 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.'129$this->source); })()), "contentEn", [], "any"falsefalsefalse129))) ? (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.'129$this->source); })()), "contentEn", [], "any"falsefalsefalse129)) : (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.'129$this->source); })()), "content", [], "any"falsefalsefalse129)))));
  351.         // line 130
  352.         yield "    ";
  353.         $context["contentTwig"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'130$this->source); })()) && 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.'130$this->source); })()), "contentTwigEn", [], "any"falsefalsefalse130))) ? (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.'130$this->source); })()), "contentTwigEn", [], "any"falsefalsefalse130)) : (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.'130$this->source); })()), "contentTwig", [], "any"falsefalsefalse130)));
  354.         // line 131
  355.         yield "    ";
  356.         $context["postCtaContent"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'131$this->source); })()) && 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.'131$this->source); })()), "postCtaContentEn", [], "any"falsefalsefalse131))) ? (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.'131$this->source); })()), "postCtaContentEn", [], "any"falsefalsefalse131)) : (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.'131$this->source); })()), "postCtaContent", [], "any"falsefalsefalse131)));
  357.         // line 132
  358.         yield "
  359.     ";
  360.         // line 134
  361.         yield "    ";
  362.         if ((($tmp = (isset($context["navbar"]) || array_key_exists("navbar"$context) ? $context["navbar"] : (function () { throw new RuntimeError('Variable "navbar" does not exist.'134$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  363.             // line 135
  364.             yield "        ";
  365.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["navbar"]) || array_key_exists("navbar"$context) ? $context["navbar"] : (function () { throw new RuntimeError('Variable "navbar" does not exist.'135$this->source); })())), ["event" =>             // line 136
  366. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'136$this->source); })()), "batch" =>             // line 137
  367. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'137$this->source); })()), "isMultiBatchEvent" =>             // line 138
  368. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'138$this->source); })()), "lang" =>             // line 139
  369. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'139$this->source); })()), "isEnglish" =>             // line 140
  370. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'140$this->source); })()), "phrases" =>             // line 141
  371. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'141$this->source); })())]);
  372.             // line 142
  373.             yield "
  374.     ";
  375.         }
  376.         // line 144
  377.         yield "
  378.     ";
  379.         // line 146
  380.         yield "    ";
  381.         if ((($tmp = (isset($context["teaser"]) || array_key_exists("teaser"$context) ? $context["teaser"] : (function () { throw new RuntimeError('Variable "teaser" does not exist.'146$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  382.             // line 147
  383.             yield "        ";
  384.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["teaser"]) || array_key_exists("teaser"$context) ? $context["teaser"] : (function () { throw new RuntimeError('Variable "teaser" does not exist.'147$this->source); })())), ["event" =>             // line 148
  385. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'148$this->source); })()), "batch" =>             // line 149
  386. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'149$this->source); })()), "isMultiBatchEvent" =>             // line 150
  387. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'150$this->source); })()), "lang" =>             // line 151
  388. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'151$this->source); })()), "isEnglish" =>             // line 152
  389. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'152$this->source); })()), "phrases" =>             // line 153
  390. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'153$this->source); })())]);
  391.             // line 154
  392.             yield "
  393.     ";
  394.         }
  395.         // line 156
  396.         yield "
  397.     ";
  398.         // line 158
  399.         yield "    ";
  400.         yield from $this->load("@StartPlatzEvent/Default/_event.part.archive-banner.html.twig"158)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 159
  401. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'159$this->source); })()), "isEnglish" =>         // line 160
  402. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'160$this->source); })())]));
  403.         // line 162
  404.         yield "
  405.     ";
  406.         // line 164
  407.         yield "    ";
  408.         if ((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'164$this->source); })()), "session", [], "any"falsefalsefalse164), "flashbag", [], "any"falsefalsefalse164), "has", ["notice"], "method"falsefalsefalse164)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  409.             // line 165
  410.             yield "        <section class=\"bg-gray-100 py-3\">
  411.             <div class=\"max-w-4xl mx-auto px-4\">
  412.                 ";
  413.             // line 167
  414.             $context['_parent'] = $context;
  415.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'167$this->source); })()), "session", [], "any"falsefalsefalse167), "flashbag", [], "any"falsefalsefalse167), "get", ["notice"], "method"falsefalsefalse167));
  416.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  417.                 // line 168
  418.                 yield "                    <div class=\"text-center py-3 px-4 rounded-lg mb-2 ";
  419.                 if (CoreExtension::inFilter("SUCCESS"$context["flashMessage"])) {
  420.                     yield "bg-green-100 text-green-800";
  421.                 } elseif (CoreExtension::inFilter("ERROR"$context["flashMessage"])) {
  422.                     yield "bg-red-100 text-red-800";
  423.                 } else {
  424.                     yield "bg-gray-200 text-gray-800";
  425.                 }
  426.                 yield "\">
  427.                         ";
  428.                 // line 169
  429.                 yield Twig\Extension\CoreExtension::replace($context["flashMessage"], ["SUCCESS" => ""]);
  430.                 yield "
  431.                     </div>
  432.                 ";
  433.             }
  434.             $_parent $context['_parent'];
  435.             unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
  436.             $context array_intersect_key($context$_parent) + $_parent;
  437.             // line 172
  438.             yield "                ";
  439.             yield (isset($context["editFeedback"]) || array_key_exists("editFeedback"$context) ? $context["editFeedback"] : (function () { throw new RuntimeError('Variable "editFeedback" does not exist.'172$this->source); })());
  440.             yield "
  441.             </div>
  442.         </section>
  443.     ";
  444.         }
  445.         // line 176
  446.         yield "
  447.     ";
  448.         // line 178
  449.         yield "    ";
  450.         if ((((isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'178$this->source); })()) && (isset($context["application"]) || array_key_exists("application"$context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.'178$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.'178$this->source); })()), "applicationStatus", [], "any"falsefalsefalse178))) {
  451.             // line 179
  452.             yield "        ";
  453.             yield from $this->load("@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig"179)->unwrap()->yield($context);
  454.             // line 180
  455.             yield "    ";
  456.         }
  457.         // line 181
  458.         yield "
  459.     ";
  460.         // line 183
  461.         yield "    ";
  462.         if ((($tmp = (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'183$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  463.             // line 184
  464.             yield "        ";
  465.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'184$this->source); })())), ["event" =>             // line 185
  466. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'185$this->source); })()), "batch" =>             // line 186
  467. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'186$this->source); })()), "isMultiBatchEvent" =>             // line 187
  468. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'187$this->source); })()), "lang" =>             // line 188
  469. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'188$this->source); })()), "isEnglish" =>             // line 189
  470. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'189$this->source); })()), "phrases" =>             // line 190
  471. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'190$this->source); })())]);
  472.             // line 191
  473.             yield "
  474.     ";
  475.         }
  476.         // line 193
  477.         yield "
  478.     ";
  479.         // line 195
  480.         yield "    ";
  481.         if ((($tmp = (isset($context["contentTwig"]) || array_key_exists("contentTwig"$context) ? $context["contentTwig"] : (function () { throw new RuntimeError('Variable "contentTwig" does not exist.'195$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  482.             // line 196
  483.             yield "        ";
  484.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["contentTwig"]) || array_key_exists("contentTwig"$context) ? $context["contentTwig"] : (function () { throw new RuntimeError('Variable "contentTwig" does not exist.'196$this->source); })())), ["event" =>             // line 197
  485. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'197$this->source); })()), "batch" =>             // line 198
  486. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'198$this->source); })()), "isMultiBatchEvent" =>             // line 199
  487. (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
  488. (isset($context["futureBatches"]) || array_key_exists("futureBatches"$context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.'200$this->source); })()), "allBatches" =>             // line 201
  489. (isset($context["allBatches"]) || array_key_exists("allBatches"$context) ? $context["allBatches"] : (function () { throw new RuntimeError('Variable "allBatches" does not exist.'201$this->source); })()), "lang" =>             // line 202
  490. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'202$this->source); })()), "isEnglish" =>             // line 203
  491. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'203$this->source); })()), "phrases" =>             // line 204
  492. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'204$this->source); })())]);
  493.             // line 205
  494.             yield "
  495.     ";
  496.         }
  497.         // line 207
  498.         yield "
  499.     ";
  500.         // line 209
  501.         yield "    ";
  502.         yield from $this->load("@StartPlatzEvent/Default/_registration.batch.tailwind.html.twig"209)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 210
  503. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'210$this->source); })()), "batch" =>         // line 211
  504. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'211$this->source); })()), "batchIsOpen" =>         // line 212
  505. (isset($context["batchIsOpen"]) || array_key_exists("batchIsOpen"$context) ? $context["batchIsOpen"] : (function () { throw new RuntimeError('Variable "batchIsOpen" does not exist.'212$this->source); })()), "application" =>         // line 213
  506. (isset($context["application"]) || array_key_exists("application"$context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.'213$this->source); })()), "settings" =>         // line 214
  507. (isset($context["settings"]) || array_key_exists("settings"$context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.'214$this->source); })()), "isMultiBatchEvent" =>         // line 215
  508. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'215$this->source); })()), "futureBatches" =>         // line 216
  509. (isset($context["futureBatches"]) || array_key_exists("futureBatches"$context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.'216$this->source); })()), "lang" =>         // line 217
  510. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'217$this->source); })()), "isEnglish" =>         // line 218
  511. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'218$this->source); })()), "phrases" =>         // line 219
  512. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'219$this->source); })())]));
  513.         // line 221
  514.         yield "
  515.     ";
  516.         // line 223
  517.         yield "    ";
  518.         yield from $this->load("@StartPlatzEvent/Default/_section.tags.tailwind.html.twig"223)->unwrap()->yield($context);
  519.         // line 224
  520.         yield "
  521.     ";
  522.         // line 226
  523.         yield "    ";
  524.         if ((($tmp = (isset($context["postCtaContent"]) || array_key_exists("postCtaContent"$context) ? $context["postCtaContent"] : (function () { throw new RuntimeError('Variable "postCtaContent" does not exist.'226$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  525.             // line 227
  526.             yield "        ";
  527.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["postCtaContent"]) || array_key_exists("postCtaContent"$context) ? $context["postCtaContent"] : (function () { throw new RuntimeError('Variable "postCtaContent" does not exist.'227$this->source); })())), ["event" =>             // line 228
  528. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'228$this->source); })()), "batch" =>             // line 229
  529. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'229$this->source); })()), "isMultiBatchEvent" =>             // line 230
  530. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'230$this->source); })()), "lang" =>             // line 231
  531. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'231$this->source); })()), "isEnglish" =>             // line 232
  532. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'232$this->source); })()), "phrases" =>             // line 233
  533. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'233$this->source); })())]);
  534.             // line 234
  535.             yield "
  536.     ";
  537.         }
  538.         // line 236
  539.         yield "
  540.     ";
  541.         // line 238
  542.         yield "    ";
  543.         if ((($tmp = (isset($context["speakers"]) || array_key_exists("speakers"$context) ? $context["speakers"] : (function () { throw new RuntimeError('Variable "speakers" does not exist.'238$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  544.             // line 239
  545.             yield "        ";
  546.             yield from $this->load("@StartPlatzEvent/Default/_section.speakers-and-partners.winter-2025.html.twig"239)->unwrap()->yield($context);
  547.             // line 240
  548.             yield "    ";
  549.         }
  550.         // line 241
  551.         yield "
  552.     ";
  553.         // line 243
  554.         yield "    ";
  555.         yield from $this->load("@StartPlatzEvent/Default/_section.past-batches.html.twig"243)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 244
  556. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'244$this->source); })()), "isMultiBatchEvent" =>         // line 245
  557. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'245$this->source); })()), "pastBatches" =>         // line 246
  558. (isset($context["pastBatches"]) || array_key_exists("pastBatches"$context) ? $context["pastBatches"] : (function () { throw new RuntimeError('Variable "pastBatches" does not exist.'246$this->source); })()), "isEnglish" =>         // line 247
  559. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'247$this->source); })())]));
  560.         // line 249
  561.         yield "
  562.     ";
  563.         // line 251
  564.         yield "    ";
  565.         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.'251$this->source); })()), "user", [], "any"falsefalsefalse251) && (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'251$this->source); })()))) {
  566.             // line 252
  567.             yield "        ";
  568.             yield from $this->load("@StartPlatzEvent/Default/_section.promote-this-event.tailwind.html.twig"252)->unwrap()->yield($context);
  569.             // line 253
  570.             yield "    ";
  571.         }
  572.         // line 254
  573.         yield "
  574.     ";
  575.         // line 256
  576.         yield "    ";
  577.         if ((((CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse256) && 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.'256$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.'256$this->source); })()), "canReadList", [], "any"falsefalsefalse256))) {
  578.             // line 257
  579.             yield "        <section class=\"bg-gray-100 py-6\">
  580.             <div class=\"max-w-4xl mx-auto px-4 text-center\">
  581.                 <span class=\"text-gray-700\">";
  582.             // line 259
  583.             yield (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'259$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ("You can view the participant list here") : ("Hier kannst Du die Teilnehmerliste einsehen"));
  584.             yield "</span>
  585.                 <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=\"";
  586.             // line 260
  587.             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.'260$this->source); })()), "id", [], "any"falsefalsefalse260)]), "html"nulltrue);
  588.             yield "\">
  589.                     participants
  590.                 </a>
  591.             </div>
  592.         </section>
  593.     ";
  594.         }
  595.         // line 266
  596.         yield "
  597.     ";
  598.         // line 268
  599.         yield "    ";
  600.         if (CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse268)) {
  601.             // line 269
  602.             yield "        ";
  603.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse269), "admin", [], "any"truetruefalse269) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'269$this->source); })()), "user", [], "any"falsefalsefalse269), "admin", [], "any"falsefalsefalse269))) {
  604.                 // line 270
  605.                 yield "            ";
  606.                 yield from $this->load("@StartPlatzEvent/Default/_section.startplatz-admin-section.tailwind.html.twig"270)->unwrap()->yield($context);
  607.                 // line 271
  608.                 yield "        ";
  609.             }
  610.             // line 272
  611.             yield "    ";
  612.         }
  613.         // line 273
  614.         yield "
  615.     ";
  616.         // line 275
  617.         yield "    ";
  618.         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.'275$this->source); })()), "hasEnglishVersion", [], "any"falsefalsefalse275)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  619.             // line 276
  620.             yield "        <div class=\"fixed top-32 right-5 z-50\" x-data=\"{ hover: false }\">
  621.             <div class=\"bg-white border-2 border-sp-purple rounded-full px-4 py-2 shadow-lg flex items-center gap-2\">
  622.                 <a href=\"?lang=de\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all ";
  623.             // line 278
  624.             yield ((((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'278$this->source); })()) == "de")) ? ("bg-sp-purple text-white") : ("text-gray-800 hover:bg-gray-100"));
  625.             yield "\" title=\"Deutsch\">
  626.                     <span class=\"text-xl\">DE</span>
  627.                 </a>
  628.                 <span class=\"text-gray-300\">|</span>
  629.                 <a href=\"?lang=en\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all ";
  630.             // line 282
  631.             yield ((((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'282$this->source); })()) == "en")) ? ("bg-sp-purple text-white") : ("text-gray-800 hover:bg-gray-100"));
  632.             yield "\" title=\"English\">
  633.                     <span class=\"text-xl\">EN</span>
  634.                 </a>
  635.             </div>
  636.         </div>
  637.     ";
  638.         }
  639.         
  640.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  641.         
  642.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  643.         yield from [];
  644.     }
  645.     // line 290
  646.     /**
  647.      * @return iterable<null|scalar|\Stringable>
  648.      */
  649.     public function block_javascripts(array $context, array $blocks = []): iterable
  650.     {
  651.         $macros $this->macros;
  652.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  653.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  654.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  655.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  656.         // line 291
  657.         yield "    ";
  658.         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.'291$this->source); })()), "additionalJs", [], "any"falsefalsefalse291))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  659.             // line 292
  660.             yield "        <script>
  661.             var eventData = {
  662.                 id: ";
  663.             // line 294
  664.             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.'294$this->source); })()), "id", [], "any"falsefalsefalse294), "html"nulltrue);
  665.             yield ",
  666.                 title: \"";
  667.             // line 295
  668.             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.'295$this->source); })()), "title", [], "any"falsefalsefalse295), "js"), "html"nulltrue);
  669.             yield "\",
  670.                 slug: \"";
  671.             // line 296
  672.             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.'296$this->source); })()), "slug", [], "any"falsefalsefalse296), "js"), "html"nulltrue);
  673.             yield "\",
  674.                 lang: \"";
  675.             // line 297
  676.             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.'297$this->source); })()), "html"nulltrue);
  677.             yield "\",
  678.                 isEnglish: ";
  679.             // line 298
  680.             yield (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'298$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ("true") : ("false"));
  681.             yield "
  682.             };
  683.             ";
  684.             // line 301
  685.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->envCoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'301$this->source); })()), "additionalJs", [], "any"falsefalsefalse301)), ["event" =>             // line 302
  686. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'302$this->source); })()), "batch" =>             // line 303
  687. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'303$this->source); })()), "lang" =>             // line 304
  688. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'304$this->source); })()), "isEnglish" =>             // line 305
  689. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'305$this->source); })())]);
  690.             // line 306
  691.             yield "
  692.         </script>
  693.     ";
  694.         }
  695.         // line 309
  696.         yield "
  697.     ";
  698.         // line 311
  699.         yield "    ";
  700.         if (((isset($context["isSonderseite"]) || array_key_exists("isSonderseite"$context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.'311$this->source); })()) &&  !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.'311$this->source); })()), "landingPageJs", [], "any"falsefalsefalse311)))) {
  701.             // line 312
  702.             yield "        <script>";
  703.             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.'312$this->source); })()), "landingPageJs", [], "any"falsefalsefalse312);
  704.             yield "</script>
  705.     ";
  706.         }
  707.         
  708.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  709.         
  710.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  711.         yield from [];
  712.     }
  713.     /**
  714.      * @codeCoverageIgnore
  715.      */
  716.     public function getTemplateName(): string
  717.     {
  718.         return "@StartPlatzEventBundle/Default/event-single.tailwind.html.twig";
  719.     }
  720.     /**
  721.      * @codeCoverageIgnore
  722.      */
  723.     public function isTraitable(): bool
  724.     {
  725.         return false;
  726.     }
  727.     /**
  728.      * @codeCoverageIgnore
  729.      */
  730.     public function getDebugInfo(): array
  731.     {
  732.         return array (  747 => 312,  744 => 311,  741 => 309,  736 => 306,  734 => 305,  733 => 304,  732 => 303,  731 => 302,  730 => 301,  724 => 298,  720 => 297,  716 => 296,  712 => 295,  708 => 294,  704 => 292,  701 => 291,  688 => 290,  670 => 282,  663 => 278,  659 => 276,  656 => 275,  653 => 273,  650 => 272,  647 => 271,  644 => 270,  641 => 269,  638 => 268,  635 => 266,  626 => 260,  622 => 259,  618 => 257,  615 => 256,  612 => 254,  609 => 253,  606 => 252,  603 => 251,  600 => 249,  598 => 247,  597 => 246,  596 => 245,  595 => 244,  593 => 243,  590 => 241,  587 => 240,  584 => 239,  581 => 238,  578 => 236,  574 => 234,  572 => 233,  571 => 232,  570 => 231,  569 => 230,  568 => 229,  567 => 228,  565 => 227,  562 => 226,  559 => 224,  556 => 223,  553 => 221,  551 => 219,  550 => 218,  549 => 217,  548 => 216,  547 => 215,  546 => 214,  545 => 213,  544 => 212,  543 => 211,  542 => 210,  540 => 209,  537 => 207,  533 => 205,  531 => 204,  530 => 203,  529 => 202,  528 => 201,  527 => 200,  526 => 199,  525 => 198,  524 => 197,  522 => 196,  519 => 195,  516 => 193,  512 => 191,  510 => 190,  509 => 189,  508 => 188,  507 => 187,  506 => 186,  505 => 185,  503 => 184,  500 => 183,  497 => 181,  494 => 180,  491 => 179,  488 => 178,  485 => 176,  477 => 172,  468 => 169,  457 => 168,  453 => 167,  449 => 165,  446 => 164,  443 => 162,  441 => 160,  440 => 159,  438 => 158,  435 => 156,  431 => 154,  429 => 153,  428 => 152,  427 => 151,  426 => 150,  425 => 149,  424 => 148,  422 => 147,  419 => 146,  416 => 144,  412 => 142,  410 => 141,  409 => 140,  408 => 139,  407 => 138,  406 => 137,  405 => 136,  403 => 135,  400 => 134,  397 => 132,  394 => 131,  391 => 130,  388 => 129,  385 => 128,  382 => 127,  380 => 126,  367 => 125,  356 => 122,  353 => 121,  347 => 119,  344 => 118,  341 => 116,  336 => 113,  334 => 112,  333 => 111,  332 => 110,  331 => 109,  328 => 108,  325 => 107,  323 => 106,  310 => 105,  282 => 86,  269 => 72,  246 => 70,  233 => 67,  229 => 66,  225 => 65,  222 => 64,  219 => 62,  213 => 60,  211 => 59,  207 => 58,  203 => 57,  199 => 56,  194 => 55,  191 => 53,  187 => 51,  184 => 50,  179 => 48,  175 => 47,  170 => 46,  167 => 45,  164 => 43,  155 => 41,  149 => 39,  147 => 38,  144 => 37,  142 => 36,  137 => 34,  132 => 33,  126 => 31,  119 => 29,  116 => 28,  113 => 27,  111 => 26,  98 => 25,  87 => 1,  85 => 23,  81 => 20,  79 => 19,  76 => 17,  74 => 16,  72 => 15,  70 => 14,  68 => 11,  66 => 10,  64 => 9,  62 => 6,  60 => 5,  58 => 2,  45 => 1,);
  733.     }
  734.     public function getSourceContext(): Source
  735.     {
  736.         return new Source("{% extends \"@StartPlatzStyleBundle/base.tailwind.public.html.twig\" %}
  737. {% set currentPath = app.request.get('_route') %}
  738. {# Language Detection - uses event.lang as default if set #}
  739. {% set lang = app.request.get('lang', event.lang|default('de'))|lower %}
  740. {% set isEnglish = lang == 'en' %}
  741. {# Select SEO content based on language with fallback #}
  742. {% set seoTitle = isEnglish and event.seoTitleEn ? event.seoTitleEn : event.seoTitle %}
  743. {% set seoDescription = isEnglish and event.seoDescriptionEn ? event.seoDescriptionEn : event.seoDescription %}
  744. {% set seoKeyword = isEnglish and event.seoKeywordEn ? event.seoKeywordEn : event.seoKeyword %}
  745. {# Sonderseite: batch-level overrides when custom page is active #}
  746. {% set isSonderseite = batch is defined and batch and batch.hasCustomPage() %}
  747. {% if isSonderseite %}
  748.     {% if batch.landingPageTitle %}
  749.         {% set seoTitle = batch.landingPageTitle %}
  750.     {% endif %}
  751.     {% if batch.landingPageDescription %}
  752.         {% set seoDescription = batch.landingPageDescription %}
  753.     {% endif %}
  754. {% endif %}
  755. {% set socialImage = (isSonderseite and batch.landingPageSocialImage) ? batch.landingPageSocialImage : event.imageLink %}
  756. {% block metaData %}
  757.     {# Optimize meta description for archived events #}
  758.     {% if event.status == 'archive' %}
  759.         {% set archivePrefix = isEnglish ? 'Past event from ' ~ event.startDate|date('F j, Y') ~ ': ' : 'Vergangene Veranstaltung vom ' ~ event.startDate|date('d.m.Y') ~ ': ' %}
  760.         <meta name=\"description\" content=\"{{ archivePrefix }}{{ seoDescription|slice(0, 140) }}\">
  761.     {% else %}
  762.         <meta name=\"description\" content=\"{{ seoDescription }}\">
  763.     {% endif %}
  764.     <meta name=\"keywords\" content=\"{{ seoKeyword }}\">
  765.     <meta name=\"author\" content=\"{{ event.trainer }}\">
  766.     {% if app.environment == 'prod' %}
  767.         <meta name=\"robots\" content=\"index,follow\">
  768.         {% if event.seriesTag is not empty %}
  769.             <link rel=\"canonical\" href=\"{{ path('event_series', {'seriesTag': event.seriesTag, 'lang': lang}) }}\" />
  770.         {% else %}
  771.             <link rel=\"canonical\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}{% if lang == 'en' %}?lang=en{% endif %}\" />
  772.         {% endif %}
  773.         {# hreflang tags for bilingual support #}
  774.         {% if event.hasEnglishVersion %}
  775.             <link rel=\"alternate\" hreflang=\"de\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}?lang=de\" />
  776.             <link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}?lang=en\" />
  777.             <link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}\" />
  778.         {% endif %}
  779.     {% else %}
  780.         <meta name=\"robots\" content=\"noindex,nofollow\">
  781.     {% endif %}
  782.     {# Open Graph with language support #}
  783.     <meta property=\"og:title\" content=\"{{ seoTitle }}\">
  784.     <meta property=\"og:description\" content=\"{{ seoDescription }}\">
  785.     <meta property=\"og:image\" content=\"{{ socialImage }}\">
  786.     <meta property=\"og:locale\" content=\"{{ lang == 'en' ? 'en_US' : 'de_DE' }}\">
  787.     {% if event.hasEnglishVersion %}
  788.         <meta property=\"og:locale:alternate\" content=\"{{ lang == 'en' ? 'de_DE' : 'en_US' }}\">
  789.     {% endif %}
  790.     {# Twitter Card #}
  791.     <meta name=\"twitter:card\" content=\"summary\">
  792.     <meta name=\"twitter:title\" content=\"{{ seoTitle }}\">
  793.     <meta name=\"twitter:description\" content=\"{{ seoDescription }}\">
  794.     <meta name=\"twitter:image\" content=\"{{ socialImage }}\">
  795. {% endblock %}
  796. {% block title %}{{ seoTitle|default(event.seoTitle) }}{% endblock %}
  797. {% block styles %}
  798. {#
  799.    ╔═══════════════════════════════════════════════════════════════════════╗
  800.    ║  DEFAULT STYLES - werden durch event.additionalCss überschrieben      ║
  801.    ║                                                                       ║
  802.    ║  Anpassbar via additionalCss (Beispiel Dark Theme):                   ║
  803.    ║  body { background-color: #0a0a0a; }                                  ║
  804.    ║  .bg-registration { background-color: #171717; }                      ║
  805.    ║  .registration-accent { --registration-accent: #3D9DD6; }             ║
  806.    ║  .bg-tags { background-color: #171717; }                              ║
  807.    ║  .bg-promote { background-color: #171717; }                           ║
  808.    ║  .bg-admin-section { background-color: #171717; }                     ║
  809.    ╚═══════════════════════════════════════════════════════════════════════╝
  810. #}
  811. <style>
  812.     /* Page Background - visible between sections */
  813.     body { background-color: #FFFFFF; }
  814.     /* Registration Section */
  815.     .bg-registration { background-color: #9632FF; }
  816.     .registration-accent { --registration-accent: #9632FF; }
  817.     /* Tags Section */
  818.     .bg-tags { background-color: #F3F4F6; }
  819.     /* Promote This Event Section */
  820.     .bg-promote { background-color: #F3F4F6; }
  821.     /* Admin Section */
  822.     .bg-admin-section { background-color: #F9FAFB; }
  823. </style>
  824. {% endblock %}
  825. {% block additionalHead %}
  826.     {# Custom CSS from Event #}
  827.     {% if event.additionalCss is not empty %}
  828.         <style>
  829.             {{ include(template_from_string(event.additionalCss), {
  830.                 'event': event,
  831.                 'batch': batch,
  832.                 'isMultiBatchEvent': isMultiBatchEvent
  833.             }) }}
  834.         </style>
  835.     {% endif %}
  836.     {# Sonderseite: batch-level CSS overrides #}
  837.     {% if isSonderseite and batch.landingPageCss is not empty %}
  838.         <style>{{ batch.landingPageCss|raw }}</style>
  839.     {% endif %}
  840.     {% include \"@StartPlatzStyleBundle/_meta-pixel.html.twig\" with { meta_pixel_id: event.metaPixelId|default(null) } only %}
  841. {% endblock %}
  842. {% block content %}
  843.     {# Select content based on language with fallback to German #}
  844.     {% set navbar = isEnglish and event.navbarEn ? event.navbarEn : event.navbar %}
  845.     {% set teaser = isEnglish and event.teaserEn ? event.teaserEn : event.teaser %}
  846.     {% set content = (isSonderseite and batch.landingPageContent) ? batch.landingPageContent : (isEnglish and event.contentEn ? event.contentEn : event.content) %}
  847.     {% set contentTwig = isEnglish and event.contentTwigEn ? event.contentTwigEn : event.contentTwig %}
  848.     {% set postCtaContent = isEnglish and event.postCtaContentEn ? event.postCtaContentEn : event.postCtaContent %}
  849.     {# Navbar Section #}
  850.     {% if navbar %}
  851.         {{ include(template_from_string(navbar), {
  852.             'event': event,
  853.             'batch': batch,
  854.             'isMultiBatchEvent': isMultiBatchEvent,
  855.             'lang': lang,
  856.             'isEnglish': isEnglish,
  857.             'phrases': phrases
  858.         }) }}
  859.     {% endif %}
  860.     {# Teaser Section #}
  861.     {% if teaser %}
  862.         {{ include(template_from_string(teaser), {
  863.             'event': event,
  864.             'batch': batch,
  865.             'isMultiBatchEvent': isMultiBatchEvent,
  866.             'lang': lang,
  867.             'isEnglish': isEnglish,
  868.             'phrases': phrases
  869.         }) }}
  870.     {% endif %}
  871.     {# Archive Banner (SEO-optimized: no redirect) #}
  872.     {% include '@StartPlatzEvent/Default/_event.part.archive-banner.html.twig' with {
  873.         'event': event,
  874.         'isEnglish': isEnglish
  875.     } %}
  876.     {# Flash Messages (Notices) #}
  877.     {% if app.session.flashbag.has('notice') %}
  878.         <section class=\"bg-gray-100 py-3\">
  879.             <div class=\"max-w-4xl mx-auto px-4\">
  880.                 {% for flashMessage in app.session.flashbag.get('notice') %}
  881.                     <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 %}\">
  882.                         {{ flashMessage|replace({'SUCCESS': ''})|raw }}
  883.                     </div>
  884.                 {% endfor %}
  885.                 {{ editFeedback|raw }}
  886.             </div>
  887.         </section>
  888.     {% endif %}
  889.     {# Application Status Feedback #}
  890.     {% if batch and application and application.applicationStatus %}
  891.         {% include \"@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig\" %}
  892.     {% endif %}
  893.     {# Main Content Section #}
  894.     {% if content %}
  895.         {{ include(template_from_string(content), {
  896.             'event': event,
  897.             'batch': batch,
  898.             'isMultiBatchEvent': isMultiBatchEvent,
  899.             'lang': lang,
  900.             'isEnglish': isEnglish,
  901.             'phrases': phrases
  902.         }) }}
  903.     {% endif %}
  904.     {# Dynamic Twig Content #}
  905.     {% if contentTwig %}
  906.         {{ include(template_from_string(contentTwig), {
  907.             'event': event,
  908.             'batch': batch,
  909.             'isMultiBatchEvent': isMultiBatchEvent,
  910.             'futureBatches': futureBatches,
  911.             'allBatches': allBatches,
  912.             'lang': lang,
  913.             'isEnglish': isEnglish,
  914.             'phrases': phrases
  915.         }) }}
  916.     {% endif %}
  917.     {# Registration Section #}
  918.     {% include \"@StartPlatzEvent/Default/_registration.batch.tailwind.html.twig\" with {
  919.         'event': event,
  920.         'batch': batch,
  921.         'batchIsOpen': batchIsOpen,
  922.         'application': application,
  923.         'settings': settings,
  924.         'isMultiBatchEvent': isMultiBatchEvent,
  925.         'futureBatches': futureBatches,
  926.         'lang': lang,
  927.         'isEnglish': isEnglish,
  928.         'phrases': phrases
  929.     } %}
  930.     {# Tags Section #}
  931.     {% include \"@StartPlatzEvent/Default/_section.tags.tailwind.html.twig\" %}
  932.     {# Post CTA Content #}
  933.     {% if postCtaContent %}
  934.         {{ include(template_from_string(postCtaContent), {
  935.             'event': event,
  936.             'batch': batch,
  937.             'isMultiBatchEvent': isMultiBatchEvent,
  938.             'lang': lang,
  939.             'isEnglish': isEnglish,
  940.             'phrases': phrases
  941.         }) }}
  942.     {% endif %}
  943.     {# Speakers Section #}
  944.     {% if speakers %}
  945.         {% include \"@StartPlatzEvent/Default/_section.speakers-and-partners.winter-2025.html.twig\" %}
  946.     {% endif %}
  947.     {# Past Batches Section #}
  948.     {% include \"@StartPlatzEvent/Default/_section.past-batches.html.twig\" with {
  949.         'event': event,
  950.         'isMultiBatchEvent': isMultiBatchEvent,
  951.         'pastBatches': pastBatches,
  952.         'isEnglish': isEnglish
  953.     } %}
  954.     {# Promote This Event (for logged-in users) #}
  955.     {% if app.user and batch %}
  956.         {% include \"@StartPlatzEvent/Default/_section.promote-this-event.tailwind.html.twig\" %}
  957.     {% endif %}
  958.     {# Participant List Access #}
  959.     {% if app.user is defined and application is defined and application is not null and application.canReadList %}
  960.         <section class=\"bg-gray-100 py-6\">
  961.             <div class=\"max-w-4xl mx-auto px-4 text-center\">
  962.                 <span class=\"text-gray-700\">{{ isEnglish ? 'You can view the participant list here' : 'Hier kannst Du die Teilnehmerliste einsehen' }}</span>
  963.                 <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} ) }}\">
  964.                     participants
  965.                 </a>
  966.             </div>
  967.         </section>
  968.     {% endif %}
  969.     {# Admin Section #}
  970.     {% if app.user is defined %}
  971.         {% if app.user.admin is defined and app.user.admin %}
  972.             {% include \"@StartPlatzEvent/Default/_section.startplatz-admin-section.tailwind.html.twig\" %}
  973.         {% endif %}
  974.     {% endif %}
  975.     {# Language Switcher Component #}
  976.     {% if event.hasEnglishVersion %}
  977.         <div class=\"fixed top-32 right-5 z-50\" x-data=\"{ hover: false }\">
  978.             <div class=\"bg-white border-2 border-sp-purple rounded-full px-4 py-2 shadow-lg flex items-center gap-2\">
  979.                 <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\">
  980.                     <span class=\"text-xl\">DE</span>
  981.                 </a>
  982.                 <span class=\"text-gray-300\">|</span>
  983.                 <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\">
  984.                     <span class=\"text-xl\">EN</span>
  985.                 </a>
  986.             </div>
  987.         </div>
  988.     {% endif %}
  989. {% endblock %}
  990. {% block javascripts %}
  991.     {% if event.additionalJs is not empty %}
  992.         <script>
  993.             var eventData = {
  994.                 id: {{ event.id }},
  995.                 title: \"{{ event.title|e('js') }}\",
  996.                 slug: \"{{ event.slug|e('js') }}\",
  997.                 lang: \"{{ lang }}\",
  998.                 isEnglish: {{ isEnglish ? 'true' : 'false' }}
  999.             };
  1000.             {{ include(template_from_string(event.additionalJs), {
  1001.                 'event': event,
  1002.                 'batch': batch,
  1003.                 'lang': lang,
  1004.                 'isEnglish': isEnglish
  1005.             })|raw }}
  1006.         </script>
  1007.     {% endif %}
  1008.     {# Sonderseite: batch-level JS #}
  1009.     {% if isSonderseite and batch.landingPageJs is not empty %}
  1010.         <script>{{ batch.landingPageJs|raw }}</script>
  1011.     {% endif %}
  1012. {% endblock %}
  1013. ""@StartPlatzEventBundle/Default/event-single.tailwind.html.twig""/var/www/html/src/StartPlatz/Bundle/EventBundle/Resources/views/Default/event-single.tailwind.html.twig");
  1014.     }
  1015. }