var/cache/website/dev/twig/91/916deb9ca466ba546b3728c5638b8b00.php line 43

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. /* pages/subpage_variance_3.html.twig */
  16. class __TwigTemplate_998f8f69d05ef5baeaf7e36868d058e4 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. 'content' => [$this, 'block_content'],
  29. ];
  30. }
  31. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32. {
  33. // line 1
  34. return "base.html.twig";
  35. }
  36. protected function doDisplay(array $context, array $blocks = []): iterable
  37. {
  38. $macros = $this->macros;
  39. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/subpage_variance_3.html.twig"));
  41. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/subpage_variance_3.html.twig"));
  43. $this->parent = $this->load("base.html.twig", 1);
  44. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  45. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47. }
  48. // line 2
  49. /**
  50. * @return iterable<null|scalar|\Stringable>
  51. */
  52. public function block_content(array $context, array $blocks = []): iterable
  53. {
  54. $macros = $this->macros;
  55. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  57. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  59. // line 3
  60. yield " <main id=\"main\" class=\"main-shifted-right\">
  61. ";
  62. // line 4
  63. $context['_parent'] = $context;
  64. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 4, $this->source); })()), "blocks", [], "any", false, false, false, 4));
  65. $context['loop'] = [
  66. 'parent' => $context['_parent'],
  67. 'index0' => 0,
  68. 'index' => 1,
  69. 'first' => true,
  70. ];
  71. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  72. $length = count($context['_seq']);
  73. $context['loop']['revindex0'] = $length - 1;
  74. $context['loop']['revindex'] = $length;
  75. $context['loop']['length'] = $length;
  76. $context['loop']['last'] = 1 === $length;
  77. }
  78. foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  79. // line 5
  80. yield " ";
  81. yield from $this->load((("partials/" . CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 5)) . ".html.twig"), 5)->unwrap()->yield(CoreExtension::merge($context, ["content" => // line 6
  82. $context["block"], "view" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 7
  83. (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 7, $this->source); })()), "blocks", [], "any", false, false, false, 7), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 7), [], "array", false, false, false, 7)]));
  84. // line 9
  85. yield " ";
  86. ++$context['loop']['index0'];
  87. ++$context['loop']['index'];
  88. $context['loop']['first'] = false;
  89. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  90. --$context['loop']['revindex0'];
  91. --$context['loop']['revindex'];
  92. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  93. }
  94. }
  95. $_parent = $context['_parent'];
  96. unset($context['_seq'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  97. $context = array_intersect_key($context, $_parent) + $_parent;
  98. // line 10
  99. yield "
  100. ";
  101. // line 11
  102. if (CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "participant_block", [], "any", true, true, false, 11)) {
  103. // line 12
  104. yield " ";
  105. yield from $this->load("/partials/participantBlock.html.twig", 12)->unwrap()->yield(CoreExtension::merge($context, ["content" => CoreExtension::getAttribute($this->env, $this->source, // line 13
  106. (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 13, $this->source); })()), "participant_block", [], "any", false, false, false, 13)]));
  107. // line 15
  108. yield " ";
  109. }
  110. // line 16
  111. yield "
  112. ";
  113. // line 17
  114. $context['_parent'] = $context;
  115. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 17, $this->source); })()), "blocks2", [], "any", false, false, false, 17));
  116. $context['loop'] = [
  117. 'parent' => $context['_parent'],
  118. 'index0' => 0,
  119. 'index' => 1,
  120. 'first' => true,
  121. ];
  122. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  123. $length = count($context['_seq']);
  124. $context['loop']['revindex0'] = $length - 1;
  125. $context['loop']['revindex'] = $length;
  126. $context['loop']['length'] = $length;
  127. $context['loop']['last'] = 1 === $length;
  128. }
  129. foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  130. // line 18
  131. yield " ";
  132. yield from $this->load((("partials/" . CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 18)) . ".html.twig"), 18)->unwrap()->yield(CoreExtension::merge($context, ["content" => // line 19
  133. $context["block"], "view" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 20
  134. (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 20, $this->source); })()), "blocks2", [], "any", false, false, false, 20), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 20), [], "array", false, false, false, 20)]));
  135. // line 22
  136. yield " ";
  137. ++$context['loop']['index0'];
  138. ++$context['loop']['index'];
  139. $context['loop']['first'] = false;
  140. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  141. --$context['loop']['revindex0'];
  142. --$context['loop']['revindex'];
  143. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  144. }
  145. }
  146. $_parent = $context['_parent'];
  147. unset($context['_seq'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  148. $context = array_intersect_key($context, $_parent) + $_parent;
  149. // line 23
  150. yield "
  151. ";
  152. // line 24
  153. if (CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "lecturer_block", [], "any", true, true, false, 24)) {
  154. // line 25
  155. yield " ";
  156. yield from $this->load("/partials/lecturerBlock.html.twig", 25)->unwrap()->yield(CoreExtension::merge($context, ["content" => CoreExtension::getAttribute($this->env, $this->source, // line 26
  157. (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 26, $this->source); })()), "lecturer_block", [], "any", false, false, false, 26)]));
  158. // line 28
  159. yield " ";
  160. }
  161. // line 29
  162. yield "
  163. ";
  164. // line 30
  165. if (CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "team_block", [], "any", true, true, false, 30)) {
  166. // line 31
  167. yield " ";
  168. yield from $this->load("/partials/teamBlock.html.twig", 31)->unwrap()->yield(CoreExtension::merge($context, ["content" => CoreExtension::getAttribute($this->env, $this->source, // line 32
  169. (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 32, $this->source); })()), "team_block", [], "any", false, false, false, 32)]));
  170. // line 34
  171. yield " ";
  172. }
  173. // line 35
  174. yield " </main>
  175. ";
  176. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  177. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  178. yield from [];
  179. }
  180. /**
  181. * @codeCoverageIgnore
  182. */
  183. public function getTemplateName(): string
  184. {
  185. return "pages/subpage_variance_3.html.twig";
  186. }
  187. /**
  188. * @codeCoverageIgnore
  189. */
  190. public function isTraitable(): bool
  191. {
  192. return false;
  193. }
  194. /**
  195. * @codeCoverageIgnore
  196. */
  197. public function getDebugInfo(): array
  198. {
  199. return array ( 190 => 35, 187 => 34, 185 => 32, 183 => 31, 181 => 30, 178 => 29, 175 => 28, 173 => 26, 171 => 25, 169 => 24, 166 => 23, 152 => 22, 150 => 20, 149 => 19, 147 => 18, 130 => 17, 127 => 16, 124 => 15, 122 => 13, 120 => 12, 118 => 11, 115 => 10, 101 => 9, 99 => 7, 98 => 6, 96 => 5, 79 => 4, 76 => 3, 63 => 2, 40 => 1,);
  200. }
  201. public function getSourceContext(): Source
  202. {
  203. return new Source("{% extends \"base.html.twig\" %}
  204. {% block content %}
  205. <main id=\"main\" class=\"main-shifted-right\">
  206. {% for block in content.blocks %}
  207. {% include 'partials/' ~ block.type ~ '.html.twig' with {
  208. content: block,
  209. view: view.blocks[loop.index0],
  210. } %}
  211. {% endfor %}
  212. {% if content.participant_block is defined %}
  213. {% include '/partials/participantBlock.html.twig' with {
  214. content: content.participant_block,
  215. }%}
  216. {% endif %}
  217. {% for block in content.blocks2 %}
  218. {% include 'partials/' ~ block.type ~ '.html.twig' with {
  219. content: block,
  220. view: view.blocks2[loop.index0],
  221. } %}
  222. {% endfor %}
  223. {% if content.lecturer_block is defined %}
  224. {% include '/partials/lecturerBlock.html.twig' with {
  225. content: content.lecturer_block,
  226. }%}
  227. {% endif %}
  228. {% if content.team_block is defined %}
  229. {% include '/partials/teamBlock.html.twig' with {
  230. content: content.team_block,
  231. }%}
  232. {% endif %}
  233. </main>
  234. {% endblock %}
  235. ", "pages/subpage_variance_3.html.twig", "/www/htdocs/w00cd56a/prod_theatertotal/theatertotal_sulu_update/templates/pages/subpage_variance_3.html.twig");
  236. }
  237. }