var/cache/dev/twig/b2/b2ae9e30f3e5bcc041c01fc2e70dc04c.php line 66

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.style-startplatz.html.twig */
  16. class __TwigTemplate_5a84e92c7e5f71d631f9ebe3f8f2ddf1 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.             'additionalHead' => [$this'block_additionalHead'],
  31.             'content' => [$this'block_content'],
  32.             'footer' => [$this'block_footer'],
  33.             'infiniteLoop' => [$this'block_infiniteLoop'],
  34.             'javascriptInfiniteLoop' => [$this'block_javascriptInfiniteLoop'],
  35.             'ajax_helpers' => [$this'block_ajax_helpers'],
  36.             'javascripts' => [$this'block_javascripts'],
  37.         ];
  38.     }
  39.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  40.     {
  41.         // line 1
  42.         return "@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig";
  43.     }
  44.     protected function doDisplay(array $context, array $blocks = []): iterable
  45.     {
  46.         $macros $this->macros;
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzEventBundle/Default/event-single.style-startplatz.html.twig"));
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzEventBundle/Default/event-single.style-startplatz.html.twig"));
  51.         // line 2
  52.         $macros["layout"] = $this->macros["layout"] = $this->load("@StartPlatzEventBundle/Admin/_macros.bs4.html.twig"2)->unwrap();
  53.         // line 3
  54.         $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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "get", ["_route"], "method"falsefalsefalse3);
  55.         // line 1
  56.         $this->parent $this->load("@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig"1);
  57.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.     }
  63.     // line 5
  64.     /**
  65.      * @return iterable<null|scalar|\Stringable>
  66.      */
  67.     public function block_metaData(array $context, array $blocks = []): iterable
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  74.         // line 6
  75.         yield "    ";
  76.         // line 7
  77.         yield "    ";
  78.         $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.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "get", ["lang", ((CoreExtension::getAttribute($this->env$this->source, ($context["event"] ?? null), "lang", [], "any"truetruefalse7)) ? (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.'7$this->source); })()), "lang", [], "any"falsefalsefalse7), "de")) : ("de"))], "method"falsefalsefalse7));
  79.         // line 8
  80.         yield "    ";
  81.         $context["isEnglish"] = ((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'8$this->source); })()) == "en");
  82.         // line 9
  83.         yield "
  84.     ";
  85.         // line 11
  86.         yield "    ";
  87.         $context["seoTitle"] = ((((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); })()), "seoTitleEn", [], "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); })()), "seoTitleEn", [], "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); })()), "seoTitle", [], "any"falsefalsefalse11)));
  88.         // line 12
  89.         yield "    ";
  90.         $context["seoDescription"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'12$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.'12$this->source); })()), "seoDescriptionEn", [], "any"falsefalsefalse12))) ? (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.'12$this->source); })()), "seoDescriptionEn", [], "any"falsefalsefalse12)) : (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.'12$this->source); })()), "seoDescription", [], "any"falsefalsefalse12)));
  91.         // line 13
  92.         yield "    ";
  93.         $context["seoKeyword"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'13$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.'13$this->source); })()), "seoKeywordEn", [], "any"falsefalsefalse13))) ? (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.'13$this->source); })()), "seoKeywordEn", [], "any"falsefalsefalse13)) : (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.'13$this->source); })()), "seoKeyword", [], "any"falsefalsefalse13)));
  94.         // line 14
  95.         yield "
  96.     ";
  97.         // line 16
  98.         yield "    ";
  99.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'16$this->source); })()), "status", [], "any"falsefalsefalse16) == "archive")) {
  100.             // line 17
  101.             yield "        ";
  102.             $context["archivePrefix"] = (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'17$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ((("Past event from " $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'17$this->source); })()), "startDate", [], "any"falsefalsefalse17), "F j, Y")) . ": ")) : ((("Vergangene Veranstaltung vom " $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'17$this->source); })()), "startDate", [], "any"falsefalsefalse17), "d.m.Y")) . ": ")));
  103.             // line 18
  104.             yield "        <meta name=\"description\" content=\"";
  105.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["archivePrefix"]) || array_key_exists("archivePrefix"$context) ? $context["archivePrefix"] : (function () { throw new RuntimeError('Variable "archivePrefix" does not exist.'18$this->source); })()), "html"nulltrue);
  106.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["seoDescription"]) || array_key_exists("seoDescription"$context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.'18$this->source); })()), 0140), "html"nulltrue);
  107.             yield "\">
  108.     ";
  109.         } else {
  110.             // line 20
  111.             yield "        <meta name=\"description\" content=\"";
  112.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoDescription"]) || array_key_exists("seoDescription"$context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.'20$this->source); })()), "html"nulltrue);
  113.             yield "\">
  114.     ";
  115.         }
  116.         // line 22
  117.         yield "    <meta name=\"keywords\" content=\"";
  118.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoKeyword"]) || array_key_exists("seoKeyword"$context) ? $context["seoKeyword"] : (function () { throw new RuntimeError('Variable "seoKeyword" does not exist.'22$this->source); })()), "html"nulltrue);
  119.         yield "\">
  120.     <meta name=\"author\" content=\"";
  121.         // line 23
  122.         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.'23$this->source); })()), "trainer", [], "any"falsefalsefalse23), "html"nulltrue);
  123.         yield "\">
  124.     ";
  125.         // line 25
  126.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'25$this->source); })()), "environment", [], "any"falsefalsefalse25) == "prod")) {
  127.             // line 26
  128.             yield "        <meta name=\"robots\" content=\"index,follow\">
  129.         ";
  130.             // line 27
  131.             if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'27$this->source); })()), "seriesTag", [], "any"falsefalsefalse27))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  132.                 // line 28
  133.                 yield "            <link rel=\"canonical\" href=\"";
  134.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("event_series", ["seriesTag" => CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'28$this->source); })()), "seriesTag", [], "any"falsefalsefalse28), "lang" => (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'28$this->source); })())]), "html"nulltrue);
  135.                 yield "\" />
  136.         ";
  137.             } else {
  138.                 // line 30
  139.                 yield "            <link rel=\"canonical\" href=\"https://www.startplatz.de/event/";
  140.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'30$this->source); })()), "slug", [], "any"falsefalsefalse30)), "html"nulltrue);
  141.                 if (((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'30$this->source); })()) == "en")) {
  142.                     yield "?lang=en";
  143.                 }
  144.                 yield "\" />
  145.         ";
  146.             }
  147.             // line 32
  148.             yield "
  149.         ";
  150.             // line 34
  151.             yield "        ";
  152.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'34$this->source); })()), "hasEnglishVersion", [], "any"falsefalsefalse34)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  153.                 // line 35
  154.                 yield "            <link rel=\"alternate\" hreflang=\"de\" href=\"https://www.startplatz.de/event/";
  155.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'35$this->source); })()), "slug", [], "any"falsefalsefalse35)), "html"nulltrue);
  156.                 yield "?lang=de\" />
  157.             <link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/";
  158.                 // line 36
  159.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'36$this->source); })()), "slug", [], "any"falsefalsefalse36)), "html"nulltrue);
  160.                 yield "?lang=en\" />
  161.             <link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/";
  162.                 // line 37
  163.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'37$this->source); })()), "slug", [], "any"falsefalsefalse37)), "html"nulltrue);
  164.                 yield "\" />
  165.         ";
  166.             }
  167.             // line 39
  168.             yield "    ";
  169.         } else {
  170.             // line 40
  171.             yield "        <meta name=\"robots\" content=\"noindex,nofollow\">
  172.     ";
  173.         }
  174.         // line 42
  175.         yield "
  176.     <!-- Open Graph with language support -->
  177.     <meta property=\"og:title\" content=\"";
  178.         // line 44
  179.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoTitle"]) || array_key_exists("seoTitle"$context) ? $context["seoTitle"] : (function () { throw new RuntimeError('Variable "seoTitle" does not exist.'44$this->source); })()), "html"nulltrue);
  180.         yield "\">
  181.     <meta property=\"og:description\" content=\"";
  182.         // line 45
  183.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoDescription"]) || array_key_exists("seoDescription"$context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.'45$this->source); })()), "html"nulltrue);
  184.         yield "\">
  185.     <meta property=\"og:image\" content=\"";
  186.         // line 46
  187.         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.'46$this->source); })()), "imageLink", [], "any"falsefalsefalse46), "html"nulltrue);
  188.         yield "\">
  189.     <meta property=\"og:locale\" content=\"";
  190.         // line 47
  191.         yield ((((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'47$this->source); })()) == "en")) ? ("en_US") : ("de_DE"));
  192.         yield "\">
  193.     ";
  194.         // line 48
  195.         if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'48$this->source); })()), "hasEnglishVersion", [], "any"falsefalsefalse48)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  196.             // line 49
  197.             yield "        <meta property=\"og:locale:alternate\" content=\"";
  198.             yield ((((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'49$this->source); })()) == "en")) ? ("de_DE") : ("en_US"));
  199.             yield "\">
  200.     ";
  201.         }
  202.         // line 51
  203.         yield "
  204.     <!-- Twitter Card -->
  205.     <meta name=\"twitter:card\" content=\"summary\">
  206.     <meta name=\"twitter:title\" content=\"";
  207.         // line 54
  208.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoTitle"]) || array_key_exists("seoTitle"$context) ? $context["seoTitle"] : (function () { throw new RuntimeError('Variable "seoTitle" does not exist.'54$this->source); })()), "html"nulltrue);
  209.         yield "\">
  210.     <meta name=\"twitter:description\" content=\"";
  211.         // line 55
  212.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoDescription"]) || array_key_exists("seoDescription"$context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.'55$this->source); })()), "html"nulltrue);
  213.         yield "\">
  214.     <meta name=\"twitter:image\" content=\"";
  215.         // line 56
  216.         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.'56$this->source); })()), "imageLink", [], "any"falsefalsefalse56), "html"nulltrue);
  217.         yield "\">
  218. ";
  219.         
  220.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  221.         
  222.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  223.         yield from [];
  224.     }
  225.     // line 60
  226.     /**
  227.      * @return iterable<null|scalar|\Stringable>
  228.      */
  229.     public function block_title(array $context, array $blocks = []): iterable
  230.     {
  231.         $macros $this->macros;
  232.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  233.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  234.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  235.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  236.         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.'60$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.'60$this->source); })()), "seoTitle", [], "any"falsefalsefalse60))) : (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.'60$this->source); })()), "seoTitle", [], "any"falsefalsefalse60))), "html"nulltrue);
  237.         
  238.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  239.         
  240.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  241.         yield from [];
  242.     }
  243.     // line 63
  244.     /**
  245.      * @return iterable<null|scalar|\Stringable>
  246.      */
  247.     public function block_additionalHead(array $context, array $blocks = []): iterable
  248.     {
  249.         $macros $this->macros;
  250.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  251.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  253.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  254.         // line 64
  255.         yield "    ";
  256.         // line 67
  257.         yield "
  258.     ";
  259.         // line 68
  260.         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.'68$this->source); })()), "additionalCss", [], "any"falsefalsefalse68))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  261.             // line 69
  262.             yield "        <!-- addition css styles only for this event -->
  263.         <style>
  264.             .bg-registration {
  265.                 background-color: #9632FF;
  266.             }
  267.             ";
  268.             // line 74
  269.             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.'74$this->source); })()), "additionalCss", [], "any"falsefalsefalse74)), ["event" =>             // line 75
  270. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'75$this->source); })()), "batch" =>             // line 76
  271. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'76$this->source); })()), "isMultiBatchEvent" =>             // line 77
  272. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'77$this->source); })())]);
  273.             // line 78
  274.             yield "
  275.         </style>
  276.     ";
  277.         }
  278.         
  279.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  280.         
  281.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  282.         yield from [];
  283.     }
  284.     // line 84
  285.     /**
  286.      * @return iterable<null|scalar|\Stringable>
  287.      */
  288.     public function block_content(array $context, array $blocks = []): iterable
  289.     {
  290.         $macros $this->macros;
  291.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  293.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  294.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  295.         // line 85
  296.         yield "    ";
  297.         // line 86
  298.         yield "    ";
  299.         $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.'86$this->source); })()), "request", [], "any"falsefalsefalse86), "get", ["lang", ((CoreExtension::getAttribute($this->env$this->source, ($context["event"] ?? null), "lang", [], "any"truetruefalse86)) ? (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.'86$this->source); })()), "lang", [], "any"falsefalsefalse86), "de")) : ("de"))], "method"falsefalsefalse86));
  300.         // line 87
  301.         yield "    ";
  302.         $context["isEnglish"] = ((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'87$this->source); })()) == "en");
  303.         // line 88
  304.         yield "
  305.     ";
  306.         // line 90
  307.         yield "    ";
  308.         $context["navbar"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'90$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.'90$this->source); })()), "navbarEn", [], "any"falsefalsefalse90))) ? (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.'90$this->source); })()), "navbarEn", [], "any"falsefalsefalse90)) : (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.'90$this->source); })()), "navbar", [], "any"falsefalsefalse90)));
  309.         // line 91
  310.         yield "    ";
  311.         $context["teaser"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'91$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.'91$this->source); })()), "teaserEn", [], "any"falsefalsefalse91))) ? (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.'91$this->source); })()), "teaserEn", [], "any"falsefalsefalse91)) : (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.'91$this->source); })()), "teaser", [], "any"falsefalsefalse91)));
  312.         // line 92
  313.         yield "    ";
  314.         $context["content"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'92$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.'92$this->source); })()), "contentEn", [], "any"falsefalsefalse92))) ? (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.'92$this->source); })()), "contentEn", [], "any"falsefalsefalse92)) : (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.'92$this->source); })()), "content", [], "any"falsefalsefalse92)));
  315.         // line 93
  316.         yield "    ";
  317.         $context["contentTwig"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'93$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.'93$this->source); })()), "contentTwigEn", [], "any"falsefalsefalse93))) ? (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.'93$this->source); })()), "contentTwigEn", [], "any"falsefalsefalse93)) : (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.'93$this->source); })()), "contentTwig", [], "any"falsefalsefalse93)));
  318.         // line 94
  319.         yield "    ";
  320.         $context["postCtaContent"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'94$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.'94$this->source); })()), "postCtaContentEn", [], "any"falsefalsefalse94))) ? (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.'94$this->source); })()), "postCtaContentEn", [], "any"falsefalsefalse94)) : (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.'94$this->source); })()), "postCtaContent", [], "any"falsefalsefalse94)));
  321.         // line 95
  322.         yield "
  323.     <!-- start part navbar -->
  324.     ";
  325.         // line 97
  326.         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.'97$this->source); })())), ["event" =>         // line 98
  327. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'98$this->source); })()), "batch" =>         // line 99
  328. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'99$this->source); })()), "isMultiBatchEvent" =>         // line 100
  329. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'100$this->source); })()), "lang" =>         // line 101
  330. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'101$this->source); })()), "isEnglish" =>         // line 102
  331. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'102$this->source); })()), "phrases" =>         // line 103
  332. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'103$this->source); })())]);
  333.         // line 104
  334.         yield "
  335.     <!-- end part navbar -->
  336.     <!-- start part title, time and location -->
  337.     ";
  338.         // line 108
  339.         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.'108$this->source); })())), ["event" =>         // line 109
  340. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'109$this->source); })()), "batch" =>         // line 110
  341. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'110$this->source); })()), "isMultiBatchEvent" =>         // line 111
  342. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'111$this->source); })()), "lang" =>         // line 112
  343. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'112$this->source); })()), "isEnglish" =>         // line 113
  344. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'113$this->source); })()), "phrases" =>         // line 114
  345. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'114$this->source); })())]);
  346.         // line 115
  347.         yield "
  348.     <!-- end part title, time and location -->
  349.     <!-- Archive Banner (SEO-optimized: no redirect) -->
  350.     ";
  351.         // line 119
  352.         yield from $this->load("@StartPlatzEvent/Default/_event.part.archive-banner.html.twig"119)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 120
  353. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'120$this->source); })()), "isEnglish" =>         // line 121
  354. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'121$this->source); })())]));
  355.         // line 123
  356.         yield "    <!-- end archive banner -->
  357.     ";
  358.         // line 125
  359.         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.'125$this->source); })()), "session", [], "any"falsefalsefalse125), "flashbag", [], "any"falsefalsefalse125), "has", ["notice"], "method"falsefalsefalse125)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  360.             // line 126
  361.             yield "        <!-- start part flashbag notices -->
  362.         <section class=\"bg-sp-grey py-3\">
  363.             <div class=\"container\">
  364.                 <div class=\"content-wrapper content-background\">
  365.                     ";
  366.             // line 130
  367.             $context['_parent'] = $context;
  368.             $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.'130$this->source); })()), "session", [], "any"falsefalsefalse130), "flashbag", [], "any"falsefalsefalse130), "get", ["notice"], "method"falsefalsefalse130));
  369.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  370.                 // line 131
  371.                 yield "                        <div class=\"text-center alert ";
  372.                 if (CoreExtension::inFilter("SUCCESS"$context["flashMessage"])) {
  373.                     yield "alert-success";
  374.                 } elseif (CoreExtension::inFilter("ERROR"$context["flashMessage"])) {
  375.                     yield "alert-danger";
  376.                 } else {
  377.                     yield "alert-default";
  378.                 }
  379.                 yield "\" role=\"alert\">";
  380.                 yield Twig\Extension\CoreExtension::replace($context["flashMessage"], ["SUCCESS" => ""]);
  381.                 yield "</div>
  382.                     ";
  383.             }
  384.             $_parent $context['_parent'];
  385.             unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
  386.             $context array_intersect_key($context$_parent) + $_parent;
  387.             // line 133
  388.             yield "                    ";
  389.             yield (isset($context["editFeedback"]) || array_key_exists("editFeedback"$context) ? $context["editFeedback"] : (function () { throw new RuntimeError('Variable "editFeedback" does not exist.'133$this->source); })());
  390.             yield "
  391.                 </div> <!-- End of content-wrapper -->
  392.             </div>
  393.         </section>
  394.         <!-- end part flashbag notices -->
  395.     ";
  396.         }
  397.         // line 139
  398.         yield "
  399.     ";
  400.         // line 141
  401.         if ((((isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'141$this->source); })()) && (isset($context["application"]) || array_key_exists("application"$context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.'141$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.'141$this->source); })()), "applicationStatus", [], "any"falsefalsefalse141))) {
  402.             // line 142
  403.             yield "        <!-- start part feedback application process -->
  404.         ";
  405.             // line 143
  406.             yield from $this->load("@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig"143)->unwrap()->yield($context);
  407.             // line 144
  408.             yield "        <!-- end part feedback application process -->
  409.     ";
  410.         }
  411.         // line 146
  412.         yield "
  413.     <!-- start part content -->
  414.     ";
  415.         // line 148
  416.         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.'148$this->source); })())), ["event" =>         // line 149
  417. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'149$this->source); })()), "batch" =>         // line 150
  418. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'150$this->source); })()), "isMultiBatchEvent" =>         // line 151
  419. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'151$this->source); })()), "lang" =>         // line 152
  420. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'152$this->source); })()), "isEnglish" =>         // line 153
  421. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'153$this->source); })()), "phrases" =>         // line 154
  422. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'154$this->source); })())]);
  423.         // line 155
  424.         yield "
  425.     <!-- end part content -->
  426.     ";
  427.         // line 158
  428.         if ((($tmp = (isset($context["contentTwig"]) || array_key_exists("contentTwig"$context) ? $context["contentTwig"] : (function () { throw new RuntimeError('Variable "contentTwig" does not exist.'158$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  429.             // line 159
  430.             yield "        <!-- start part contentTwig (dynamic Twig content) -->
  431.         ";
  432.             // line 160
  433.             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.'160$this->source); })())), ["event" =>             // line 161
  434. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'161$this->source); })()), "batch" =>             // line 162
  435. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'162$this->source); })()), "isMultiBatchEvent" =>             // line 163
  436. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'163$this->source); })()), "futureBatches" =>             // line 164
  437. (isset($context["futureBatches"]) || array_key_exists("futureBatches"$context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.'164$this->source); })()), "allBatches" =>             // line 165
  438. (isset($context["allBatches"]) || array_key_exists("allBatches"$context) ? $context["allBatches"] : (function () { throw new RuntimeError('Variable "allBatches" does not exist.'165$this->source); })()), "lang" =>             // line 166
  439. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'166$this->source); })()), "isEnglish" =>             // line 167
  440. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'167$this->source); })()), "phrases" =>             // line 168
  441. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'168$this->source); })())]);
  442.             // line 169
  443.             yield "
  444.         <!-- end part contentTwig -->
  445.     ";
  446.         }
  447.         // line 172
  448.         yield "
  449.     <!-- start part anmeldung -->
  450.     ";
  451.         // line 175
  452.         yield from $this->load("@StartPlatzEvent/Default/_section.anmeldung.html.twig"175)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 176
  453. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'176$this->source); })()), "batch" =>         // line 177
  454. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'177$this->source); })()), "batchIsOpen" =>         // line 178
  455. (isset($context["batchIsOpen"]) || array_key_exists("batchIsOpen"$context) ? $context["batchIsOpen"] : (function () { throw new RuntimeError('Variable "batchIsOpen" does not exist.'178$this->source); })()), "application" =>         // line 179
  456. (isset($context["application"]) || array_key_exists("application"$context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.'179$this->source); })()), "settings" =>         // line 180
  457. (isset($context["settings"]) || array_key_exists("settings"$context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.'180$this->source); })()), "isMultiBatchEvent" =>         // line 181
  458. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'181$this->source); })()), "futureBatches" =>         // line 182
  459. (isset($context["futureBatches"]) || array_key_exists("futureBatches"$context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.'182$this->source); })()), "lang" =>         // line 183
  460. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'183$this->source); })()), "isEnglish" =>         // line 184
  461. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'184$this->source); })()), "phrases" =>         // line 185
  462. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'185$this->source); })())]));
  463.         // line 187
  464.         yield "    <!-- end part anmeldung -->
  465.     <!-- start tags -->
  466.     ";
  467.         // line 190
  468.         yield from $this->load("@StartPlatzEvent/Default/_section.tags.html.twig"190)->unwrap()->yield($context);
  469.         // line 191
  470.         yield "    <!-- end tags -->
  471.     <!-- start post cta content -->
  472.     ";
  473.         // line 194
  474.         if ((($tmp = (isset($context["postCtaContent"]) || array_key_exists("postCtaContent"$context) ? $context["postCtaContent"] : (function () { throw new RuntimeError('Variable "postCtaContent" does not exist.'194$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  475.             // line 195
  476.             yield "        ";
  477.             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.'195$this->source); })())), ["event" =>             // line 196
  478. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'196$this->source); })()), "batch" =>             // line 197
  479. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'197$this->source); })()), "isMultiBatchEvent" =>             // line 198
  480. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'198$this->source); })()), "lang" =>             // line 199
  481. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'199$this->source); })()), "isEnglish" =>             // line 200
  482. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'200$this->source); })()), "phrases" =>             // line 201
  483. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'201$this->source); })())]);
  484.             // line 202
  485.             yield "
  486.     ";
  487.         }
  488.         // line 204
  489.         yield "    <!-- end post cta content -->
  490.     ";
  491.         // line 206
  492.         if ((($tmp = (isset($context["speakers"]) || array_key_exists("speakers"$context) ? $context["speakers"] : (function () { throw new RuntimeError('Variable "speakers" does not exist.'206$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  493.             // line 207
  494.             yield "        <!-- start part speakers and partners -->
  495.         ";
  496.             // line 208
  497.             yield from $this->load("@StartPlatzEvent/Default/_section.speakers-and-partners.html.twig"208)->unwrap()->yield($context);
  498.             // line 209
  499.             yield "        <!-- end part speakers and partners -->
  500.     ";
  501.         }
  502.         // line 211
  503.         yield "
  504.     <!-- start part past batches -->
  505.     ";
  506.         // line 213
  507.         yield from $this->load("@StartPlatzEvent/Default/_section.past-batches.html.twig"213)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 214
  508. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'214$this->source); })()), "isMultiBatchEvent" =>         // line 215
  509. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'215$this->source); })()), "pastBatches" =>         // line 216
  510. (isset($context["pastBatches"]) || array_key_exists("pastBatches"$context) ? $context["pastBatches"] : (function () { throw new RuntimeError('Variable "pastBatches" does not exist.'216$this->source); })()), "isEnglish" =>         // line 217
  511. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'217$this->source); })())]));
  512.         // line 219
  513.         yield "    <!-- end part past batches -->
  514.     ";
  515.         // line 221
  516.         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.'221$this->source); })()), "user", [], "any"falsefalsefalse221) && (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'221$this->source); })()))) {
  517.             // line 222
  518.             yield "        <!-- start part promote this event -->
  519.         ";
  520.             // line 223
  521.             yield from $this->load("@StartPlatzEvent/Default/_section.promote-this-event.html.twig"223)->unwrap()->yield($context);
  522.             // line 224
  523.             yield "        <!-- end part promote this event -->
  524.     ";
  525.         }
  526.         // line 226
  527.         yield "
  528.     ";
  529.         // line 228
  530.         if ((((CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse228) && 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.'228$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.'228$this->source); })()), "canReadList", [], "any"falsefalsefalse228))) {
  531.             // line 229
  532.             yield "            <section class=\"bg-sp-grey py-3\">
  533.                 <div class=\"container\">
  534.                     <div class=\"content-wrapper content-background\">
  535.                         Hier kannst Du die Teilnehmerliste einsehen
  536.                         <a class=\"btn btn-outline-dark btn-sm\" href=\"";
  537.             // line 233
  538.             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.'233$this->source); })()), "id", [], "any"falsefalsefalse233)]), "html"nulltrue);
  539.             yield "\" role=\"button\">participants</a>
  540.                     </div>
  541.                 </div>
  542.             </section>
  543.     ";
  544.         }
  545.         // line 238
  546.         yield "
  547.     ";
  548.         // line 239
  549.         if (CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse239)) {
  550.             // line 240
  551.             yield "        ";
  552.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse240), "admin", [], "any"truetruefalse240) && 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.'240$this->source); })()), "user", [], "any"falsefalsefalse240), "admin", [], "any"falsefalsefalse240))) {
  553.                 // line 241
  554.                 yield "            <!-- start part startplatz admin section -->
  555.             ";
  556.                 // line 242
  557.                 yield from $this->load("@StartPlatzEvent/Default/_section.startplatz-admin-section.html.twig"242)->unwrap()->yield($context);
  558.                 // line 243
  559.                 yield "            <!-- end part startplatz admin section -->
  560.         ";
  561.             }
  562.             // line 245
  563.             yield "    ";
  564.         }
  565.         // line 246
  566.         yield "
  567.     ";
  568.         // line 248
  569.         yield "    ";
  570.         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.'248$this->source); })()), "hasEnglishVersion", [], "any"falsefalsefalse248)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  571.             // line 249
  572.             yield "        <div class=\"language-switcher-container\">
  573.             <div class=\"language-switcher\">
  574.                 <a href=\"?lang=de\" class=\"lang-link ";
  575.             // line 251
  576.             yield ((((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'251$this->source); })()) == "de")) ? ("active") : (""));
  577.             yield "\" title=\"Deutsch\">
  578.                     <span class=\"flag\">🇩🇪</span>
  579.                     <span class=\"lang-code\">DE</span>
  580.                 </a>
  581.                 <span class=\"separator\">|</span>
  582.                 <a href=\"?lang=en\" class=\"lang-link ";
  583.             // line 256
  584.             yield ((((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'256$this->source); })()) == "en")) ? ("active") : (""));
  585.             yield "\" title=\"English\">
  586.                     <span class=\"flag\">🇬🇧</span>
  587.                     <span class=\"lang-code\">EN</span>
  588.                 </a>
  589.             </div>
  590.         </div>
  591.         <style>
  592.             .language-switcher-container {
  593.                 position: fixed;
  594.                 top: 120px;
  595.                 right: 20px;
  596.                 z-index: 1000;
  597.             }
  598.             .language-switcher {
  599.                 background: white;
  600.                 border: 2px solid #9632FF;
  601.                 border-radius: 25px;
  602.                 padding: 8px 16px;
  603.                 box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  604.                 display: flex;
  605.                 align-items: center;
  606.                 gap: 8px;
  607.             }
  608.             .language-switcher .lang-link {
  609.                 display: flex;
  610.                 align-items: center;
  611.                 gap: 4px;
  612.                 text-decoration: none;
  613.                 color: #333;
  614.                 font-weight: 500;
  615.                 padding: 4px 8px;
  616.                 border-radius: 15px;
  617.                 transition: all 0.2s;
  618.             }
  619.             .language-switcher .lang-link:hover {
  620.                 background-color: #f0f0f0;
  621.             }
  622.             .language-switcher .lang-link.active {
  623.                 background-color: #9632FF;
  624.                 color: white;
  625.             }
  626.             .language-switcher .flag {
  627.                 font-size: 20px;
  628.                 line-height: 1;
  629.             }
  630.             .language-switcher .lang-code {
  631.                 font-size: 14px;
  632.                 font-weight: 600;
  633.             }
  634.             .language-switcher .separator {
  635.                 color: #ccc;
  636.                 font-weight: 300;
  637.             }
  638.             @media (max-width: 768px) {
  639.                 .language-switcher-container {
  640.                     top: 80px;
  641.                     right: 10px;
  642.                 }
  643.                 .language-switcher {
  644.                     padding: 6px 12px;
  645.                 }
  646.             }
  647.         </style>
  648.     ";
  649.         }
  650.         // line 320
  651.         yield "
  652.     <!-- homepage event single page ends -->
  653. ";
  654.         
  655.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  656.         
  657.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  658.         yield from [];
  659.     }
  660.     // line 324
  661.     /**
  662.      * @return iterable<null|scalar|\Stringable>
  663.      */
  664.     public function block_footer(array $context, array $blocks = []): iterable
  665.     {
  666.         $macros $this->macros;
  667.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  668.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  669.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  670.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  671.         // line 325
  672.         yield "    ";
  673.         if ((($tmp =  !((array_key_exists("embed"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["embed"]) || array_key_exists("embed"$context) ? $context["embed"] : (function () { throw new RuntimeError('Variable "embed" does not exist.'325$this->source); })()), false)) : (false))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  674.             // line 326
  675.             yield "        ";
  676.             yield from $this->load("@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig"326)->unwrap()->yield($context);
  677.             // line 327
  678.             yield "    ";
  679.         }
  680.         
  681.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  682.         
  683.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  684.         yield from [];
  685.     }
  686.     // line 330
  687.     /**
  688.      * @return iterable<null|scalar|\Stringable>
  689.      */
  690.     public function block_infiniteLoop(array $context, array $blocks = []): iterable
  691.     {
  692.         $macros $this->macros;
  693.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  694.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""infiniteLoop"));
  695.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  696.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""infiniteLoop"));
  697.         
  698.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  699.         
  700.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  701.         yield from [];
  702.     }
  703.     // line 331
  704.     /**
  705.      * @return iterable<null|scalar|\Stringable>
  706.      */
  707.     public function block_javascriptInfiniteLoop(array $context, array $blocks = []): iterable
  708.     {
  709.         $macros $this->macros;
  710.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  711.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptInfiniteLoop"));
  712.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  713.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptInfiniteLoop"));
  714.         
  715.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  716.         
  717.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  718.         yield from [];
  719.     }
  720.     // line 332
  721.     /**
  722.      * @return iterable<null|scalar|\Stringable>
  723.      */
  724.     public function block_ajax_helpers(array $context, array $blocks = []): iterable
  725.     {
  726.         $macros $this->macros;
  727.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  728.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ajax_helpers"));
  729.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  730.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ajax_helpers"));
  731.         
  732.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  733.         
  734.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  735.         yield from [];
  736.     }
  737.     // line 334
  738.     /**
  739.      * @return iterable<null|scalar|\Stringable>
  740.      */
  741.     public function block_javascripts(array $context, array $blocks = []): iterable
  742.     {
  743.         $macros $this->macros;
  744.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  745.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  746.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  747.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  748.         // line 335
  749.         yield "    ";
  750.         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.'335$this->source); })()), "additionalJs", [], "any"falsefalsefalse335))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  751.             // line 336
  752.             yield "        <!-- Additional JavaScript for this event -->
  753.         <script>
  754.             // Available variables: event, batch, lang, isEnglish
  755.             var eventData = {
  756.                 id: ";
  757.             // line 340
  758.             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.'340$this->source); })()), "id", [], "any"falsefalsefalse340), "html"nulltrue);
  759.             yield ",
  760.                 title: \"";
  761.             // line 341
  762.             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.'341$this->source); })()), "title", [], "any"falsefalsefalse341), "js"), "html"nulltrue);
  763.             yield "\",
  764.                 slug: \"";
  765.             // line 342
  766.             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.'342$this->source); })()), "slug", [], "any"falsefalsefalse342), "js"), "html"nulltrue);
  767.             yield "\",
  768.                 lang: \"";
  769.             // line 343
  770.             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.'343$this->source); })()), "html"nulltrue);
  771.             yield "\",
  772.                 isEnglish: ";
  773.             // line 344
  774.             yield (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'344$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ("true") : ("false"));
  775.             yield "
  776.             };
  777.             ";
  778.             // line 347
  779.             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.'347$this->source); })()), "additionalJs", [], "any"falsefalsefalse347)), ["event" =>             // line 348
  780. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'348$this->source); })()), "batch" =>             // line 349
  781. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'349$this->source); })()), "lang" =>             // line 350
  782. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'350$this->source); })()), "isEnglish" =>             // line 351
  783. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'351$this->source); })())]);
  784.             // line 352
  785.             yield "
  786.         </script>
  787.     ";
  788.         }
  789.         
  790.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  791.         
  792.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  793.         yield from [];
  794.     }
  795.     /**
  796.      * @codeCoverageIgnore
  797.      */
  798.     public function getTemplateName(): string
  799.     {
  800.         return "@StartPlatzEventBundle/Default/event-single.style-startplatz.html.twig";
  801.     }
  802.     /**
  803.      * @codeCoverageIgnore
  804.      */
  805.     public function isTraitable(): bool
  806.     {
  807.         return false;
  808.     }
  809.     /**
  810.      * @codeCoverageIgnore
  811.      */
  812.     public function getDebugInfo(): array
  813.     {
  814.         return array (  852 => 352,  850 => 351,  849 => 350,  848 => 349,  847 => 348,  846 => 347,  840 => 344,  836 => 343,  832 => 342,  828 => 341,  824 => 340,  818 => 336,  815 => 335,  802 => 334,  780 => 332,  758 => 331,  736 => 330,  724 => 327,  721 => 326,  718 => 325,  705 => 324,  692 => 320,  625 => 256,  617 => 251,  613 => 249,  610 => 248,  607 => 246,  604 => 245,  600 => 243,  598 => 242,  595 => 241,  592 => 240,  590 => 239,  587 => 238,  579 => 233,  573 => 229,  571 => 228,  567 => 226,  563 => 224,  561 => 223,  558 => 222,  556 => 221,  552 => 219,  550 => 217,  549 => 216,  548 => 215,  547 => 214,  546 => 213,  542 => 211,  538 => 209,  536 => 208,  533 => 207,  531 => 206,  527 => 204,  523 => 202,  521 => 201,  520 => 200,  519 => 199,  518 => 198,  517 => 197,  516 => 196,  514 => 195,  512 => 194,  507 => 191,  505 => 190,  500 => 187,  498 => 185,  497 => 184,  496 => 183,  495 => 182,  494 => 181,  493 => 180,  492 => 179,  491 => 178,  490 => 177,  489 => 176,  488 => 175,  483 => 172,  478 => 169,  476 => 168,  475 => 167,  474 => 166,  473 => 165,  472 => 164,  471 => 163,  470 => 162,  469 => 161,  468 => 160,  465 => 159,  463 => 158,  458 => 155,  456 => 154,  455 => 153,  454 => 152,  453 => 151,  452 => 150,  451 => 149,  450 => 148,  446 => 146,  442 => 144,  440 => 143,  437 => 142,  435 => 141,  431 => 139,  421 => 133,  404 => 131,  400 => 130,  394 => 126,  392 => 125,  388 => 123,  386 => 121,  385 => 120,  384 => 119,  378 => 115,  376 => 114,  375 => 113,  374 => 112,  373 => 111,  372 => 110,  371 => 109,  370 => 108,  364 => 104,  362 => 103,  361 => 102,  360 => 101,  359 => 100,  358 => 99,  357 => 98,  356 => 97,  352 => 95,  349 => 94,  346 => 93,  343 => 92,  340 => 91,  337 => 90,  334 => 88,  331 => 87,  328 => 86,  326 => 85,  313 => 84,  299 => 78,  297 => 77,  296 => 76,  295 => 75,  294 => 74,  287 => 69,  285 => 68,  282 => 67,  280 => 64,  267 => 63,  244 => 60,  231 => 56,  227 => 55,  223 => 54,  218 => 51,  212 => 49,  210 => 48,  206 => 47,  202 => 46,  198 => 45,  194 => 44,  190 => 42,  186 => 40,  183 => 39,  178 => 37,  174 => 36,  169 => 35,  166 => 34,  163 => 32,  154 => 30,  148 => 28,  146 => 27,  143 => 26,  141 => 25,  136 => 23,  131 => 22,  125 => 20,  118 => 18,  115 => 17,  112 => 16,  109 => 14,  106 => 13,  103 => 12,  100 => 11,  97 => 9,  94 => 8,  91 => 7,  89 => 6,  76 => 5,  65 => 1,  63 => 3,  61 => 2,  48 => 1,);
  815.     }
  816.     public function getSourceContext(): Source
  817.     {
  818.         return new Source("{% extends \"@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig\" %}
  819. {% import \"@StartPlatzEventBundle/Admin/_macros.bs4.html.twig\" as layout %}
  820. {% set currentPath = app.request.get('_route') %}
  821. {% block metaData %}
  822.     {# Language Detection for SEO - uses event.lang as default if set #}
  823.     {% set lang = app.request.get('lang', event.lang|default('de'))|lower %}
  824.     {% set isEnglish = lang == 'en' %}
  825.     {# Select SEO content based on language with fallback #}
  826.     {% set seoTitle = isEnglish and event.seoTitleEn ? event.seoTitleEn : event.seoTitle %}
  827.     {% set seoDescription = isEnglish and event.seoDescriptionEn ? event.seoDescriptionEn : event.seoDescription %}
  828.     {% set seoKeyword = isEnglish and event.seoKeywordEn ? event.seoKeywordEn : event.seoKeyword %}
  829.     {# Optimize meta description for archived events #}
  830.     {% if event.status == 'archive' %}
  831.         {% set archivePrefix = isEnglish ? 'Past event from ' ~ event.startDate|date('F j, Y') ~ ': ' : 'Vergangene Veranstaltung vom ' ~ event.startDate|date('d.m.Y') ~ ': ' %}
  832.         <meta name=\"description\" content=\"{{ archivePrefix }}{{ seoDescription|slice(0, 140) }}\">
  833.     {% else %}
  834.         <meta name=\"description\" content=\"{{ seoDescription }}\">
  835.     {% endif %}
  836.     <meta name=\"keywords\" content=\"{{ seoKeyword }}\">
  837.     <meta name=\"author\" content=\"{{ event.trainer }}\">
  838.     {% if app.environment == 'prod' %}
  839.         <meta name=\"robots\" content=\"index,follow\">
  840.         {% if event.seriesTag is not empty %}
  841.             <link rel=\"canonical\" href=\"{{ path('event_series', {'seriesTag': event.seriesTag, 'lang': lang}) }}\" />
  842.         {% else %}
  843.             <link rel=\"canonical\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}{% if lang == 'en' %}?lang=en{% endif %}\" />
  844.         {% endif %}
  845.         {# hreflang tags for bilingual support #}
  846.         {% if event.hasEnglishVersion %}
  847.             <link rel=\"alternate\" hreflang=\"de\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}?lang=de\" />
  848.             <link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}?lang=en\" />
  849.             <link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}\" />
  850.         {% endif %}
  851.     {% else %}
  852.         <meta name=\"robots\" content=\"noindex,nofollow\">
  853.     {% endif %}
  854.     <!-- Open Graph with language support -->
  855.     <meta property=\"og:title\" content=\"{{ seoTitle }}\">
  856.     <meta property=\"og:description\" content=\"{{ seoDescription }}\">
  857.     <meta property=\"og:image\" content=\"{{ event.imageLink }}\">
  858.     <meta property=\"og:locale\" content=\"{{ lang == 'en' ? 'en_US' : 'de_DE' }}\">
  859.     {% if event.hasEnglishVersion %}
  860.         <meta property=\"og:locale:alternate\" content=\"{{ lang == 'en' ? 'de_DE' : 'en_US' }}\">
  861.     {% endif %}
  862.     <!-- Twitter Card -->
  863.     <meta name=\"twitter:card\" content=\"summary\">
  864.     <meta name=\"twitter:title\" content=\"{{ seoTitle }}\">
  865.     <meta name=\"twitter:description\" content=\"{{ seoDescription }}\">
  866.     <meta name=\"twitter:image\" content=\"{{ event.imageLink }}\">
  867. {% endblock %}
  868. {% block title %}{{ seoTitle|default(event.seoTitle) }}{% endblock %}
  869. {% block additionalHead %}
  870.     {#
  871.     {% include \"@StartPlatzStyle/CSS/_homepage.sinlge-event.version-2023-fall.html.twig\" %}
  872.     #}
  873.     {% if event.additionalCss is not empty %}
  874.         <!-- addition css styles only for this event -->
  875.         <style>
  876.             .bg-registration {
  877.                 background-color: #9632FF;
  878.             }
  879.             {{ include(template_from_string(event.additionalCss), {
  880.                 'event': event,
  881.                 'batch': batch,
  882.                 'isMultiBatchEvent': isMultiBatchEvent
  883.             }) }}
  884.         </style>
  885.     {% endif %}
  886. {% endblock %}
  887. {% block content %}
  888.     {# Language Detection Logic - uses event.lang as default if set #}
  889.     {% set lang = app.request.get('lang', event.lang|default('de'))|lower %}
  890.     {% set isEnglish = lang == 'en' %}
  891.     {# Select content based on language with fallback to German #}
  892.     {% set navbar = isEnglish and event.navbarEn ? event.navbarEn : event.navbar %}
  893.     {% set teaser = isEnglish and event.teaserEn ? event.teaserEn : event.teaser %}
  894.     {% set content = isEnglish and event.contentEn ? event.contentEn : event.content %}
  895.     {% set contentTwig = isEnglish and event.contentTwigEn ? event.contentTwigEn : event.contentTwig %}
  896.     {% set postCtaContent = isEnglish and event.postCtaContentEn ? event.postCtaContentEn : event.postCtaContent %}
  897.     <!-- start part navbar -->
  898.     {{ include(template_from_string(navbar), {
  899.         'event': event,
  900.         'batch': batch,
  901.         'isMultiBatchEvent': isMultiBatchEvent,
  902.         'lang': lang,
  903.         'isEnglish': isEnglish,
  904.         'phrases': phrases
  905.     }) }}
  906.     <!-- end part navbar -->
  907.     <!-- start part title, time and location -->
  908.     {{ include(template_from_string(teaser), {
  909.         'event': event,
  910.         'batch': batch,
  911.         'isMultiBatchEvent': isMultiBatchEvent,
  912.         'lang': lang,
  913.         'isEnglish': isEnglish,
  914.         'phrases': phrases
  915.     }) }}
  916.     <!-- end part title, time and location -->
  917.     <!-- Archive Banner (SEO-optimized: no redirect) -->
  918.     {% include '@StartPlatzEvent/Default/_event.part.archive-banner.html.twig' with {
  919.         'event': event,
  920.         'isEnglish': isEnglish
  921.     } %}
  922.     <!-- end archive banner -->
  923.     {% if app.session.flashbag.has('notice')  %}
  924.         <!-- start part flashbag notices -->
  925.         <section class=\"bg-sp-grey py-3\">
  926.             <div class=\"container\">
  927.                 <div class=\"content-wrapper content-background\">
  928.                     {% for flashMessage in app.session.flashbag.get('notice') %}
  929.                         <div class=\"text-center alert {% if 'SUCCESS' in flashMessage %}alert-success{% elseif 'ERROR' in flashMessage  %}alert-danger{% else %}alert-default{% endif %}\" role=\"alert\">{{ flashMessage|replace({'SUCCESS': ''})|raw }}</div>
  930.                     {% endfor %}
  931.                     {{ editFeedback|raw }}
  932.                 </div> <!-- End of content-wrapper -->
  933.             </div>
  934.         </section>
  935.         <!-- end part flashbag notices -->
  936.     {% endif %}
  937.     {% if batch and application and application.applicationStatus %}
  938.         <!-- start part feedback application process -->
  939.         {% include \"@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig\" %}
  940.         <!-- end part feedback application process -->
  941.     {% endif %}
  942.     <!-- start part content -->
  943.     {{ include(template_from_string(content), {
  944.         'event': event,
  945.         'batch': batch,
  946.         'isMultiBatchEvent': isMultiBatchEvent,
  947.         'lang': lang,
  948.         'isEnglish': isEnglish,
  949.         'phrases': phrases
  950.     }) }}
  951.     <!-- end part content -->
  952.     {% if contentTwig %}
  953.         <!-- start part contentTwig (dynamic Twig content) -->
  954.         {{ include(template_from_string(contentTwig), {
  955.             'event': event,
  956.             'batch': batch,
  957.             'isMultiBatchEvent': isMultiBatchEvent,
  958.             'futureBatches': futureBatches,
  959.             'allBatches': allBatches,
  960.             'lang': lang,
  961.             'isEnglish': isEnglish,
  962.             'phrases': phrases
  963.         }) }}
  964.         <!-- end part contentTwig -->
  965.     {% endif %}
  966.     <!-- start part anmeldung -->
  967.     {% include \"@StartPlatzEvent/Default/_section.anmeldung.html.twig\" with {
  968.         'event': event,
  969.         'batch': batch,
  970.         'batchIsOpen': batchIsOpen,
  971.         'application': application,
  972.         'settings': settings,
  973.         'isMultiBatchEvent': isMultiBatchEvent,
  974.         'futureBatches': futureBatches,
  975.         'lang': lang,
  976.         'isEnglish': isEnglish,
  977.         'phrases': phrases
  978.     } %}
  979.     <!-- end part anmeldung -->
  980.     <!-- start tags -->
  981.     {% include \"@StartPlatzEvent/Default/_section.tags.html.twig\" %}
  982.     <!-- end tags -->
  983.     <!-- start post cta content -->
  984.     {% if postCtaContent %}
  985.         {{ include(template_from_string(postCtaContent), {
  986.             'event': event,
  987.             'batch': batch,
  988.             'isMultiBatchEvent': isMultiBatchEvent,
  989.             'lang': lang,
  990.             'isEnglish': isEnglish,
  991.             'phrases': phrases
  992.         }) }}
  993.     {% endif %}
  994.     <!-- end post cta content -->
  995.     {% if speakers %}
  996.         <!-- start part speakers and partners -->
  997.         {% include \"@StartPlatzEvent/Default/_section.speakers-and-partners.html.twig\" %}
  998.         <!-- end part speakers and partners -->
  999.     {% endif %}
  1000.     <!-- start part past batches -->
  1001.     {% include \"@StartPlatzEvent/Default/_section.past-batches.html.twig\" with {
  1002.         'event': event,
  1003.         'isMultiBatchEvent': isMultiBatchEvent,
  1004.         'pastBatches': pastBatches,
  1005.         'isEnglish': isEnglish
  1006.     } %}
  1007.     <!-- end part past batches -->
  1008.     {% if app.user and batch %}
  1009.         <!-- start part promote this event -->
  1010.         {% include \"@StartPlatzEvent/Default/_section.promote-this-event.html.twig\" %}
  1011.         <!-- end part promote this event -->
  1012.     {% endif %}
  1013.     {% if app.user is defined and application is defined and application is not null and application.canReadList %}
  1014.             <section class=\"bg-sp-grey py-3\">
  1015.                 <div class=\"container\">
  1016.                     <div class=\"content-wrapper content-background\">
  1017.                         Hier kannst Du die Teilnehmerliste einsehen
  1018.                         <a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('admin_event_participants', {id: event.id} ) }}\" role=\"button\">participants</a>
  1019.                     </div>
  1020.                 </div>
  1021.             </section>
  1022.     {% endif %}
  1023.     {% if app.user is defined %}
  1024.         {% if app.user.admin is defined and app.user.admin %}
  1025.             <!-- start part startplatz admin section -->
  1026.             {% include \"@StartPlatzEvent/Default/_section.startplatz-admin-section.html.twig\" %}
  1027.             <!-- end part startplatz admin section -->
  1028.         {% endif %}
  1029.     {% endif %}
  1030.     {# Language Switcher Component #}
  1031.     {% if event.hasEnglishVersion %}
  1032.         <div class=\"language-switcher-container\">
  1033.             <div class=\"language-switcher\">
  1034.                 <a href=\"?lang=de\" class=\"lang-link {{ lang == 'de' ? 'active' : '' }}\" title=\"Deutsch\">
  1035.                     <span class=\"flag\">🇩🇪</span>
  1036.                     <span class=\"lang-code\">DE</span>
  1037.                 </a>
  1038.                 <span class=\"separator\">|</span>
  1039.                 <a href=\"?lang=en\" class=\"lang-link {{ lang == 'en' ? 'active' : '' }}\" title=\"English\">
  1040.                     <span class=\"flag\">🇬🇧</span>
  1041.                     <span class=\"lang-code\">EN</span>
  1042.                 </a>
  1043.             </div>
  1044.         </div>
  1045.         <style>
  1046.             .language-switcher-container {
  1047.                 position: fixed;
  1048.                 top: 120px;
  1049.                 right: 20px;
  1050.                 z-index: 1000;
  1051.             }
  1052.             .language-switcher {
  1053.                 background: white;
  1054.                 border: 2px solid #9632FF;
  1055.                 border-radius: 25px;
  1056.                 padding: 8px 16px;
  1057.                 box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  1058.                 display: flex;
  1059.                 align-items: center;
  1060.                 gap: 8px;
  1061.             }
  1062.             .language-switcher .lang-link {
  1063.                 display: flex;
  1064.                 align-items: center;
  1065.                 gap: 4px;
  1066.                 text-decoration: none;
  1067.                 color: #333;
  1068.                 font-weight: 500;
  1069.                 padding: 4px 8px;
  1070.                 border-radius: 15px;
  1071.                 transition: all 0.2s;
  1072.             }
  1073.             .language-switcher .lang-link:hover {
  1074.                 background-color: #f0f0f0;
  1075.             }
  1076.             .language-switcher .lang-link.active {
  1077.                 background-color: #9632FF;
  1078.                 color: white;
  1079.             }
  1080.             .language-switcher .flag {
  1081.                 font-size: 20px;
  1082.                 line-height: 1;
  1083.             }
  1084.             .language-switcher .lang-code {
  1085.                 font-size: 14px;
  1086.                 font-weight: 600;
  1087.             }
  1088.             .language-switcher .separator {
  1089.                 color: #ccc;
  1090.                 font-weight: 300;
  1091.             }
  1092.             @media (max-width: 768px) {
  1093.                 .language-switcher-container {
  1094.                     top: 80px;
  1095.                     right: 10px;
  1096.                 }
  1097.                 .language-switcher {
  1098.                     padding: 6px 12px;
  1099.                 }
  1100.             }
  1101.         </style>
  1102.     {% endif %}
  1103.     <!-- homepage event single page ends -->
  1104. {% endblock %}
  1105. {% block footer %}
  1106.     {% if not embed|default(false) %}
  1107.         {% include '@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig' %}
  1108.     {% endif %}
  1109. {% endblock %}
  1110. {% block infiniteLoop %}{% endblock %}
  1111. {% block javascriptInfiniteLoop %}{% endblock %}
  1112. {% block ajax_helpers %}{% endblock %}
  1113. {% block javascripts %}
  1114.     {% if event.additionalJs is not empty %}
  1115.         <!-- Additional JavaScript for this event -->
  1116.         <script>
  1117.             // Available variables: event, batch, lang, isEnglish
  1118.             var eventData = {
  1119.                 id: {{ event.id }},
  1120.                 title: \"{{ event.title|e('js') }}\",
  1121.                 slug: \"{{ event.slug|e('js') }}\",
  1122.                 lang: \"{{ lang }}\",
  1123.                 isEnglish: {{ isEnglish ? 'true' : 'false' }}
  1124.             };
  1125.             {{ include(template_from_string(event.additionalJs), {
  1126.                 'event': event,
  1127.                 'batch': batch,
  1128.                 'lang': lang,
  1129.                 'isEnglish': isEnglish
  1130.             })|raw }}
  1131.         </script>
  1132.     {% endif %}
  1133. {% endblock %}
  1134. ""@StartPlatzEventBundle/Default/event-single.style-startplatz.html.twig""/var/www/html/src/StartPlatz/Bundle/EventBundle/Resources/views/Default/event-single.style-startplatz.html.twig");
  1135.     }
  1136. }