var/cache/dev/twig/16/16d09b2ad3134d7beaddfd531fddcd3e.php line 50

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/cms/cms_base.html.twig */
  16. class __TwigTemplate_e125aed7fc8ec2e57c4402c40a951770 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. 'gtmDataLayer' => [$this, 'block_gtmDataLayer'],
  29. 'globalJavaScript' => [$this, 'block_globalJavaScript'],
  30. 'meta' => [$this, 'block_meta'],
  31. 'title' => [$this, 'block_title'],
  32. 'openGraph' => [$this, 'block_openGraph'],
  33. 'structuredData' => [$this, 'block_structuredData'],
  34. 'breadcrumb' => [$this, 'block_breadcrumb'],
  35. 'content' => [$this, 'block_content'],
  36. ];
  37. }
  38. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  39. {
  40. // line 1
  41. return "pages/base.html.twig";
  42. }
  43. protected function doDisplay(array $context, array $blocks = []): iterable
  44. {
  45. $macros = $this->macros;
  46. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/cms/cms_base.html.twig"));
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/cms/cms_base.html.twig"));
  50. // line 2
  51. $context["page_type_tracking"] = "cms";
  52. // line 1
  53. $this->parent = $this->load("pages/base.html.twig", 1);
  54. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  55. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  56. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57. }
  58. // line 3
  59. /**
  60. * @return iterable<null|scalar|\Stringable>
  61. */
  62. public function block_gtmDataLayer(array $context, array $blocks = []): iterable
  63. {
  64. $macros = $this->macros;
  65. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gtmDataLayer"));
  67. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gtmDataLayer"));
  69. // line 4
  70. yield " ";
  71. yield from $this->load("components/atoms/gtm-data-layer/gtm-data-layer.html.twig", 4)->unwrap()->yield($context);
  72. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74. yield from [];
  75. }
  76. // line 6
  77. /**
  78. * @return iterable<null|scalar|\Stringable>
  79. */
  80. public function block_globalJavaScript(array $context, array $blocks = []): iterable
  81. {
  82. $macros = $this->macros;
  83. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "globalJavaScript"));
  85. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "globalJavaScript"));
  87. // line 7
  88. yield " ";
  89. yield from $this->yieldParentBlock("globalJavaScript", $context, $blocks);
  90. yield "
  91. ";
  92. // line 8
  93. $context["emos_jcvid"] = Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 8, $this->source); })()), "request", [], "any", false, false, false, 8), "cookies", [], "any", false, false, false, 8), "get", ["emos_jcvid"], "method", false, false, false, 8), ":");
  94. // line 9
  95. yield " ";
  96. if (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["emos_jcvid"]) || array_key_exists("emos_jcvid", $context) ? $context["emos_jcvid"] : (function () { throw new RuntimeError('Variable "emos_jcvid" does not exist.', 9, $this->source); })()), 0, [], "array", false, false, false, 9)) && CoreExtension::inFilter("C0002:1", ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 9), "cookies", [], "any", false, true, false, 9), "get", ["OptanonConsent"], "method", true, true, false, 9)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 9, $this->source); })()), "request", [], "any", false, false, false, 9), "cookies", [], "any", false, false, false, 9), "get", ["OptanonConsent"], "method", false, false, false, 9))) : (""))))) {
  97. // line 10
  98. yield " ";
  99. $context["trackingParam"] = ("&userToken=" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["emos_jcvid"]) || array_key_exists("emos_jcvid", $context) ? $context["emos_jcvid"] : (function () { throw new RuntimeError('Variable "emos_jcvid" does not exist.', 10, $this->source); })()), 0, [], "array", false, false, false, 10));
  100. // line 11
  101. yield " ";
  102. }
  103. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  104. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  105. yield from [];
  106. }
  107. // line 13
  108. /**
  109. * @return iterable<null|scalar|\Stringable>
  110. */
  111. public function block_meta(array $context, array $blocks = []): iterable
  112. {
  113. $macros = $this->macros;
  114. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  116. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  118. // line 14
  119. yield " ";
  120. yield from $this->load("components/organisms/meta/meta.html.twig", 14)->unwrap()->yield(CoreExtension::merge($context, ["metaInformation" => ((CoreExtension::getAttribute($this->env, $this->source, // line 15
  121. ($context["cmsContent"] ?? null), "metaInformation", [], "any", true, true, false, 15)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 15, $this->source); })()), "metaInformation", [], "any", false, false, false, 15), null)) : (null)), "fallback" => ((CoreExtension::getAttribute($this->env, $this->source, // line 16
  122. (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 16, $this->source); })()), "name", [], "any", false, false, false, 16) . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta_description_default"))]));
  123. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  124. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125. yield from [];
  126. }
  127. // line 20
  128. /**
  129. * @return iterable<null|scalar|\Stringable>
  130. */
  131. public function block_title(array $context, array $blocks = []): iterable
  132. {
  133. $macros = $this->macros;
  134. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  136. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  138. // line 21
  139. yield " ";
  140. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["cmsContent"] ?? null), "metaInformation", [], "any", false, true, false, 21), "title", [], "any", true, true, false, 21)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 21, $this->source); })()), "metaInformation", [], "any", false, false, false, 21), "title", [], "any", false, false, false, 21), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta_title_default"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta_title_default"))), "html", null, true);
  141. yield "
  142. ";
  143. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  144. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  145. yield from [];
  146. }
  147. // line 24
  148. /**
  149. * @return iterable<null|scalar|\Stringable>
  150. */
  151. public function block_openGraph(array $context, array $blocks = []): iterable
  152. {
  153. $macros = $this->macros;
  154. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  155. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "openGraph"));
  156. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  157. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "openGraph"));
  158. // line 25
  159. yield " ";
  160. yield from $this->load("components/organisms/open-graph/open-graph.html.twig", 25)->unwrap()->yield(CoreExtension::merge($context, ["openGraphInformation" => ((CoreExtension::getAttribute($this->env, $this->source, // line 26
  161. ($context["cmsContent"] ?? null), "openGraphInformation", [], "any", true, true, false, 26)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 26, $this->source); })()), "openGraphInformation", [], "any", false, false, false, 26), null)) : (null))]));
  162. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  163. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  164. yield from [];
  165. }
  166. // line 30
  167. /**
  168. * @return iterable<null|scalar|\Stringable>
  169. */
  170. public function block_structuredData(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", "structuredData"));
  175. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  176. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "structuredData"));
  177. // line 31
  178. yield " ";
  179. yield from $this->yieldParentBlock("structuredData", $context, $blocks);
  180. yield "
  181. ";
  182. // line 32
  183. $context['_parent'] = $context;
  184. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 32, $this->source); })()), "structuredData", [], "any", false, false, false, 32));
  185. $context['loop'] = [
  186. 'parent' => $context['_parent'],
  187. 'index0' => 0,
  188. 'index' => 1,
  189. 'first' => true,
  190. ];
  191. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  192. $length = count($context['_seq']);
  193. $context['loop']['revindex0'] = $length - 1;
  194. $context['loop']['revindex'] = $length;
  195. $context['loop']['length'] = $length;
  196. $context['loop']['last'] = 1 === $length;
  197. }
  198. foreach ($context['_seq'] as $context["_key"] => $context["structuredDataItem"]) {
  199. // line 33
  200. yield " ";
  201. yield from $this->load("components/atoms/structured-data/structured-data.html.twig", 33)->unwrap()->yield(CoreExtension::merge($context, ["structuredData" => CoreExtension::getAttribute($this->env, $this->source, // line 34
  202. $context["structuredDataItem"], "toArray", [], "method", false, false, false, 34)]));
  203. // line 36
  204. yield " ";
  205. ++$context['loop']['index0'];
  206. ++$context['loop']['index'];
  207. $context['loop']['first'] = false;
  208. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  209. --$context['loop']['revindex0'];
  210. --$context['loop']['revindex'];
  211. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  212. }
  213. }
  214. $_parent = $context['_parent'];
  215. unset($context['_seq'], $context['_key'], $context['structuredDataItem'], $context['_parent'], $context['loop']);
  216. $context = array_intersect_key($context, $_parent) + $_parent;
  217. // line 37
  218. yield " ";
  219. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["cmsContent"] ?? null), "content", [], "any", false, true, false, 37), "structured_data_faq", [], "any", true, true, false, 37)) {
  220. // line 38
  221. yield " ";
  222. yield from $this->load("components/organisms/faq-structured-data/faq-structured-data.html.twig", 38)->unwrap()->yield(CoreExtension::merge($context, ["structured_data_faq" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 39
  223. (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 39, $this->source); })()), "content", [], "any", false, false, false, 39), "structured_data_faq", [], "any", false, false, false, 39)]));
  224. // line 41
  225. yield " ";
  226. }
  227. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  228. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  229. yield from [];
  230. }
  231. // line 44
  232. /**
  233. * @return iterable<null|scalar|\Stringable>
  234. */
  235. public function block_breadcrumb(array $context, array $blocks = []): iterable
  236. {
  237. $macros = $this->macros;
  238. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  239. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
  240. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  241. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
  242. // line 45
  243. yield " ";
  244. yield from $this->load("components/molecules/breadcrumb/breadcrumb.html.twig", 45)->unwrap()->yield(CoreExtension::merge($context, ["isCms" => true, "backOffset" => -2]));
  245. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  246. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  247. yield from [];
  248. }
  249. // line 51
  250. /**
  251. * @return iterable<null|scalar|\Stringable>
  252. */
  253. public function block_content(array $context, array $blocks = []): iterable
  254. {
  255. $macros = $this->macros;
  256. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  257. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  258. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  259. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  260. // line 52
  261. yield " ";
  262. // line 53
  263. yield " ";
  264. yield from $this->load([(("pages/cms/content-types/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 54
  265. (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 54, $this->source); })()), "content", [], "any", false, false, false, 54), "component", [], "any", false, false, false, 54)) . ".html.twig"), "pages/cms/content-types/ct_content_page.html.twig"], 53)->unwrap()->yield(CoreExtension::merge($context, ["cmsContent" => // line 57
  266. (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 57, $this->source); })()), "slots" => CoreExtension::getAttribute($this->env, $this->source, // line 58
  267. (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 58, $this->source); })()), "content", [], "any", false, false, false, 58)]));
  268. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  269. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  270. yield from [];
  271. }
  272. /**
  273. * @codeCoverageIgnore
  274. */
  275. public function getTemplateName(): string
  276. {
  277. return "pages/cms/cms_base.html.twig";
  278. }
  279. /**
  280. * @codeCoverageIgnore
  281. */
  282. public function isTraitable(): bool
  283. {
  284. return false;
  285. }
  286. /**
  287. * @codeCoverageIgnore
  288. */
  289. public function getDebugInfo(): array
  290. {
  291. return array ( 332 => 58, 331 => 57, 330 => 54, 328 => 53, 326 => 52, 313 => 51, 301 => 45, 288 => 44, 276 => 41, 274 => 39, 272 => 38, 269 => 37, 255 => 36, 253 => 34, 251 => 33, 234 => 32, 229 => 31, 216 => 30, 205 => 26, 203 => 25, 190 => 24, 176 => 21, 163 => 20, 152 => 16, 151 => 15, 149 => 14, 136 => 13, 124 => 11, 121 => 10, 118 => 9, 116 => 8, 111 => 7, 98 => 6, 86 => 4, 73 => 3, 62 => 1, 60 => 2, 47 => 1,);
  292. }
  293. public function getSourceContext(): Source
  294. {
  295. return new Source("{% extends 'pages/base.html.twig' %}
  296. {% set page_type_tracking = 'cms' %}
  297. {% block gtmDataLayer %}
  298. {% include('components/atoms/gtm-data-layer/gtm-data-layer.html.twig') %}
  299. {% endblock %}
  300. {% block globalJavaScript %}
  301. {{ parent() }}
  302. {% set emos_jcvid = app.request.cookies.get('emos_jcvid')|split(':') %}
  303. {% if emos_jcvid[0] is not empty and \"C0002:1\" in app.request.cookies.get(\"OptanonConsent\")|default %}
  304. {% set trackingParam = '&userToken=' ~ emos_jcvid[0] %}
  305. {% endif %}
  306. {% endblock %}
  307. {% block meta %}
  308. {% include 'components/organisms/meta/meta.html.twig' with {
  309. 'metaInformation': cmsContent.metaInformation|default(null),
  310. 'fallback': cmsContent.name ~ ' ' ~ 'meta_description_default'|trans,
  311. } %}
  312. {% endblock %}
  313. {% block title %}
  314. {{ cmsContent.metaInformation.title|default('meta_title_default'|trans) }}
  315. {% endblock %}
  316. {% block openGraph %}
  317. {% include 'components/organisms/open-graph/open-graph.html.twig' with {
  318. 'openGraphInformation': cmsContent.openGraphInformation|default(null)
  319. } %}
  320. {% endblock %}
  321. {% block structuredData %}
  322. {{ parent() }}
  323. {% for structuredDataItem in cmsContent.structuredData %}
  324. {% include('components/atoms/structured-data/structured-data.html.twig') with {
  325. 'structuredData': structuredDataItem.toArray()
  326. } %}
  327. {% endfor %}
  328. {% if cmsContent.content.structured_data_faq is defined %}
  329. {% include('components/organisms/faq-structured-data/faq-structured-data.html.twig') with {
  330. 'structured_data_faq': cmsContent.content.structured_data_faq
  331. } %}
  332. {% endif %}
  333. {% endblock %}
  334. {% block breadcrumb %}
  335. {% include('components/molecules/breadcrumb/breadcrumb.html.twig') with {
  336. 'isCms': true,
  337. 'backOffset': -2
  338. } %}
  339. {% endblock %}
  340. {% block content %}
  341. {# Load templates by content type, ct_content_page being the default/fallback template #}
  342. {% include [
  343. 'pages/cms/content-types/' ~ cmsContent.content.component ~ '.html.twig',
  344. 'pages/cms/content-types/ct_content_page.html.twig',
  345. ] with {
  346. 'cmsContent': cmsContent,
  347. 'slots': cmsContent.content,
  348. } %}
  349. {% endblock %}
  350. ", "pages/cms/cms_base.html.twig", "/var/www/html/templates/default/pages/cms/cms_base.html.twig");
  351. }
  352. }