var/cache/website/dev/twig/04/04c46c1afd46f4c86dacb49af51b4f87.php line 84

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. /* base.html.twig */
  16. class __TwigTemplate_af8fe3dee12aac0f6e888e7ac9b38af0 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->parent = false;
  28. $this->blocks = [
  29. 'meta' => [$this, 'block_meta'],
  30. 'style' => [$this, 'block_style'],
  31. 'header' => [$this, 'block_header'],
  32. 'hero' => [$this, 'block_hero'],
  33. 'content' => [$this, 'block_content'],
  34. 'footer' => [$this, 'block_footer'],
  35. 'javascripts' => [$this, 'block_javascripts'],
  36. ];
  37. }
  38. protected function doDisplay(array $context, array $blocks = []): iterable
  39. {
  40. $macros = $this->macros;
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
  45. // line 1
  46. yield "<!DOCTYPE html>
  47. <html lang=\"";
  48. // line 3
  49. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3), "_"), 0, [], "array", false, false, false, 3), "html", null, true);
  50. yield "\">
  51. <head>
  52. <meta charset=\"utf-8\">
  53. <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  54. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  55. <script src=\"https://consent.cookiefirst.com/sites/theatertotal.de-944f7496-632a-4ede-a931-0fc19ec69bbb/consent.js\"></script>
  56. <title>TheaterTotal</title>
  57. <link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\">
  58. ";
  59. // line 12
  60. yield from $this->unwrap()->yieldBlock('meta', $context, $blocks);
  61. // line 20
  62. yield " <!-- Favicons -->
  63. ";
  64. // line 22
  65. yield from $this->unwrap()->yieldBlock('style', $context, $blocks);
  66. // line 25
  67. yield "</head>
  68. <body>
  69. ";
  70. // line 28
  71. yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
  72. // line 31
  73. yield from $this->unwrap()->yieldBlock('hero', $context, $blocks);
  74. // line 34
  75. yield "
  76. <main>
  77. ";
  78. // line 36
  79. yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
  80. // line 37
  81. yield "</main>
  82. ";
  83. // line 43
  84. yield "
  85. ";
  86. // line 45
  87. yield "
  88. ";
  89. // line 46
  90. yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
  91. // line 49
  92. yield "
  93. ";
  94. // line 50
  95. yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  96. // line 53
  97. yield "</body>
  98. </html>
  99. ";
  100. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  101. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  102. yield from [];
  103. }
  104. // line 12
  105. /**
  106. * @return iterable<null|scalar|\Stringable>
  107. */
  108. public function block_meta(array $context, array $blocks = []): iterable
  109. {
  110. $macros = $this->macros;
  111. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  112. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  113. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  115. // line 13
  116. yield " ";
  117. yield from $this->load("@SuluWebsite/Extension/seo.html.twig", 13)->unwrap()->yield(CoreExtension::merge($context, ["seo" => ((CoreExtension::getAttribute($this->env, $this->source, // line 14
  118. ($context["extension"] ?? null), "seo", [], "any", true, true, false, 14)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 14, $this->source); })()), "seo", [], "any", false, false, false, 14), [])) : ([])), "content" => (( // line 15
  119. array_key_exists("content", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 15, $this->source); })()), [])) : ([])), "localizations" => (( // line 16
  120. array_key_exists("localizations", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["localizations"]) || array_key_exists("localizations", $context) ? $context["localizations"] : (function () { throw new RuntimeError('Variable "localizations" does not exist.', 16, $this->source); })()), [])) : ([])), "shadowBaseLocale" => (( // line 17
  121. array_key_exists("shadowBaseLocale", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["shadowBaseLocale"]) || array_key_exists("shadowBaseLocale", $context) ? $context["shadowBaseLocale"] : (function () { throw new RuntimeError('Variable "shadowBaseLocale" does not exist.', 17, $this->source); })()))) : (""))]));
  122. // line 19
  123. yield " ";
  124. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  125. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  126. yield from [];
  127. }
  128. // line 22
  129. /**
  130. * @return iterable<null|scalar|\Stringable>
  131. */
  132. public function block_style(array $context, array $blocks = []): iterable
  133. {
  134. $macros = $this->macros;
  135. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  136. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
  137. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  138. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
  139. // line 23
  140. yield " ";
  141. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  142. yield "
  143. ";
  144. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  145. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  146. yield from [];
  147. }
  148. // line 28
  149. /**
  150. * @return iterable<null|scalar|\Stringable>
  151. */
  152. public function block_header(array $context, array $blocks = []): iterable
  153. {
  154. $macros = $this->macros;
  155. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  156. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
  157. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  158. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
  159. // line 29
  160. yield " ";
  161. yield from $this->load("partials/header.html.twig", 29)->unwrap()->yield($context);
  162. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  163. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  164. yield from [];
  165. }
  166. // line 31
  167. /**
  168. * @return iterable<null|scalar|\Stringable>
  169. */
  170. public function block_hero(array $context, array $blocks = []): iterable
  171. {
  172. $macros = $this->macros;
  173. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  174. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "hero"));
  175. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  176. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "hero"));
  177. // line 32
  178. yield " ";
  179. yield from $this->load("partials/hero.html.twig", 32)->unwrap()->yield($context);
  180. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  181. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  182. yield from [];
  183. }
  184. // line 36
  185. /**
  186. * @return iterable<null|scalar|\Stringable>
  187. */
  188. public function block_content(array $context, array $blocks = []): iterable
  189. {
  190. $macros = $this->macros;
  191. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  192. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  193. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  194. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  195. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  196. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  197. yield from [];
  198. }
  199. // line 46
  200. /**
  201. * @return iterable<null|scalar|\Stringable>
  202. */
  203. public function block_footer(array $context, array $blocks = []): iterable
  204. {
  205. $macros = $this->macros;
  206. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  207. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  208. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  209. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  210. // line 47
  211. yield " ";
  212. yield from $this->load("partials/footer.html.twig", 47)->unwrap()->yield($context);
  213. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  214. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  215. yield from [];
  216. }
  217. // line 50
  218. /**
  219. * @return iterable<null|scalar|\Stringable>
  220. */
  221. public function block_javascripts(array $context, array $blocks = []): iterable
  222. {
  223. $macros = $this->macros;
  224. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  225. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  226. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  227. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  228. // line 51
  229. yield " ";
  230. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  231. yield "
  232. ";
  233. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  234. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  235. yield from [];
  236. }
  237. /**
  238. * @codeCoverageIgnore
  239. */
  240. public function getTemplateName(): string
  241. {
  242. return "base.html.twig";
  243. }
  244. /**
  245. * @codeCoverageIgnore
  246. */
  247. public function isTraitable(): bool
  248. {
  249. return false;
  250. }
  251. /**
  252. * @codeCoverageIgnore
  253. */
  254. public function getDebugInfo(): array
  255. {
  256. return array ( 293 => 51, 280 => 50, 268 => 47, 255 => 46, 233 => 36, 221 => 32, 208 => 31, 196 => 29, 183 => 28, 169 => 23, 156 => 22, 145 => 19, 143 => 17, 142 => 16, 141 => 15, 140 => 14, 138 => 13, 125 => 12, 112 => 53, 110 => 50, 107 => 49, 105 => 46, 102 => 45, 99 => 43, 94 => 37, 92 => 36, 88 => 34, 86 => 31, 84 => 28, 79 => 25, 77 => 22, 73 => 20, 71 => 12, 59 => 3, 55 => 1,);
  257. }
  258. public function getSourceContext(): Source
  259. {
  260. return new Source("<!DOCTYPE html>
  261. <html lang=\"{{ app.request.locale|split('_')[0] }}\">
  262. <head>
  263. <meta charset=\"utf-8\">
  264. <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  265. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  266. <script src=\"https://consent.cookiefirst.com/sites/theatertotal.de-944f7496-632a-4ede-a931-0fc19ec69bbb/consent.js\"></script>
  267. <title>TheaterTotal</title>
  268. <link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\">
  269. {% block meta %}
  270. {% include \"@SuluWebsite/Extension/seo.html.twig\" with {
  271. \"seo\": extension.seo|default([]),
  272. \"content\": content|default([]),
  273. \"localizations\": localizations|default([]),
  274. \"shadowBaseLocale\": shadowBaseLocale|default(),
  275. } %}
  276. {% endblock %}
  277. <!-- Favicons -->
  278. {% block style %}
  279. {{ encore_entry_link_tags('app') }}
  280. {% endblock %}
  281. </head>
  282. <body>
  283. {% block header %}
  284. {% include \"partials/header.html.twig\" %}
  285. {% endblock %}
  286. {% block hero %}
  287. {% include \"partials/hero.html.twig\" %}
  288. {% endblock %}
  289. <main>
  290. {% block content %}{% endblock %}
  291. </main>
  292. {#{% if previewContentReplacer is not defined %}
  293. {{ render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set')) }}
  294. {% endif %}#}
  295. {#{{ render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set')) }}#}
  296. {% block footer %}
  297. {% include \"partials/footer.html.twig\" %}
  298. {% endblock %}
  299. {% block javascripts %}
  300. {{ encore_entry_script_tags('app') }}
  301. {% endblock %}
  302. </body>
  303. </html>
  304. ", "base.html.twig", "/www/htdocs/w00cd56a/prod_theatertotal/theatertotal_sulu_update/templates/base.html.twig");
  305. }
  306. }