var/cache/dev/twig/38/382beee8c58c6fe2b029ccc9e50d7aac.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. /* layouts/layout.html.twig */
  16. class __TwigTemplate_d60e960f29d177d2eebbe70070018b01 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. ];
  30. $this->sandbox = $this->extensions[SandboxExtension::class];
  31. $this->checkSecurity();
  32. }
  33. protected function doDisplay(array $context, array $blocks = []): iterable
  34. {
  35. $macros = $this->macros;
  36. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/layout.html.twig"));
  38. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/layout.html.twig"));
  40. // line 1
  41. $_v0 = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
  42. // line 2
  43. yield "
  44. ";
  45. // line 4
  46. yield " ";
  47. $context["pageName"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("pageName", null, $this->sandbox->ensureToStringAllowed(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.', 4, $this->source); })()), "request", [], "any", false, false, true, 4), "locale", [], "any", false, false, true, 4), 4, $this->source));
  48. // line 5
  49. yield "
  50. ";
  51. // line 6
  52. if ((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.', 6, $this->source); })()), "request", [], "any", false, false, true, 6), "get", ["no-media"], "method", false, false, true, 6) != 1)) {
  53. // line 7
  54. yield "
  55. ";
  56. // line 9
  57. yield " ";
  58. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/app.min.css")], "method", false, false, true, 9);
  59. // line 10
  60. yield "
  61. ";
  62. // line 11
  63. if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 11, $this->source); })())) {
  64. // line 12
  65. yield " ";
  66. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/editmode.min.css")], "method", false, false, true, 12);
  67. // line 13
  68. yield " ";
  69. }
  70. // line 14
  71. yield "
  72. ";
  73. // line 16
  74. yield " ";
  75. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/app.min.js")], "method", false, false, true, 16);
  76. // line 17
  77. yield "
  78. ";
  79. }
  80. // line 19
  81. yield "
  82. ";
  83. // line 21
  84. yield " ";
  85. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 21, $this->source); })()), "getTitle", [], "method", false, false, true, 21)], "method", false, false, true, 21);
  86. // line 22
  87. yield " ";
  88. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "append", [(isset($context["pageName"]) || array_key_exists("pageName", $context) ? $context["pageName"] : (function () { throw new RuntimeError('Variable "pageName" does not exist.', 22, $this->source); })())], "method", false, false, true, 22);
  89. // line 23
  90. yield " ";
  91. if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 23, $this->source); })()), "getTitle", [], "method", false, false, true, 23)) {
  92. // line 24
  93. yield " ";
  94. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [" | "], "method", false, false, true, 24);
  95. // line 25
  96. yield " ";
  97. }
  98. // line 26
  99. yield "
  100. ";
  101. // line 28
  102. yield " ";
  103. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 28, $this->source); })()), "getDescription", [], "method", false, false, true, 28)], "method", false, false, true, 28);
  104. // line 29
  105. yield " ";
  106. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setName", ["language", 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.', 29, $this->source); })()), "request", [], "any", false, false, true, 29), "locale", [], "any", false, false, true, 29)], "method", false, false, true, 29);
  107. // line 30
  108. yield "
  109. ";
  110. // line 32
  111. yield " ";
  112. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:title", CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 32, $this->source); })()), "getTitle", [], "method", false, false, true, 32)], "method", false, false, true, 32);
  113. // line 33
  114. yield " ";
  115. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:description", CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 33, $this->source); })()), "getDescription", [], "method", false, false, true, 33)], "method", false, false, true, 33);
  116. // line 34
  117. yield " ";
  118. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:type", "website"], "method", false, false, true, 34);
  119. // line 35
  120. yield " ";
  121. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:url", 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.', 35, $this->source); })()), "request", [], "any", false, false, true, 35), "uri", [], "any", false, false, true, 35)], "method", false, false, true, 35);
  122. // line 36
  123. yield " ";
  124. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:locale", 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.', 36, $this->source); })()), "request", [], "any", false, false, true, 36), "locale", [], "any", false, false, true, 36)], "method", false, false, true, 36);
  125. // line 37
  126. yield "
  127. ";
  128. // line 38
  129. if ((CoreExtension::getAttribute($this->env, $this->source, ($context["document"] ?? null), "getProperty", ["ogImage"], "method", true, true, true, 38) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 38, $this->source); })()), "getProperty", ["ogImage"], "method", false, false, true, 38)))) {
  130. // line 39
  131. yield " ";
  132. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image", (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.', 39, $this->source); })()), "request", [], "any", false, false, true, 39), "getSchemeAndHttpHost", [], "method", false, false, true, 39) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 39, $this->source); })()), "getProperty", ["ogImage"], "method", false, false, true, 39), "thumbnail", ["ogImage"], "method", false, false, true, 39), "path", [], "any", false, false, true, 39))], "method", false, false, true, 39);
  133. // line 40
  134. yield " ";
  135. } elseif (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("ogImage") && !(null === $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("ogImage")))) {
  136. // line 41
  137. yield " ";
  138. CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image", (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.', 41, $this->source); })()), "request", [], "any", false, false, true, 41), "getSchemeAndHttpHost", [], "method", false, false, true, 41) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("ogImage"), "thumbnail", ["ogImage"], "method", false, false, true, 41), "path", [], "any", false, false, true, 41))], "method", false, false, true, 41);
  139. // line 42
  140. yield " ";
  141. }
  142. // line 43
  143. yield "
  144. ";
  145. yield from [];
  146. })())) ? '' : new Markup($tmp, $this->env->getCharset());
  147. // line 1
  148. yield Twig\Extension\CoreExtension::spaceless($_v0);
  149. // line 45
  150. yield "
  151. <!DOCTYPE html>
  152. <html lang=\"";
  153. // line 47
  154. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(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.', 47, $this->source); })()), "request", [], "any", false, false, true, 47), "locale", [], "any", false, false, true, 47), 47, $this->source), "html", null, true);
  155. yield "\">
  156. <head>
  157. <meta charset=\"UTF-8\">
  158. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  159. ";
  160. // line 53
  161. yield $this->env->getFunction('pimcore_head_title')->getCallable()();
  162. yield "
  163. ";
  164. // line 54
  165. yield $this->env->getFunction('pimcore_head_meta')->getCallable()();
  166. yield "
  167. ";
  168. // line 57
  169. yield "
  170. ";
  171. // line 58
  172. if ((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.', 58, $this->source); })()), "request", [], "any", false, false, true, 58), "get", ["no-media"], "method", false, false, true, 58) != 1)) {
  173. // line 59
  174. yield "
  175. ";
  176. // line 61
  177. yield " <link rel=\"icon\" type=\"image/png\" href=\"/assets/favicon/favicon-96x96.png\" sizes=\"96x96\" />
  178. <link rel=\"icon\" type=\"image/svg+xml\" href=\"/assets/favicon/favicon.svg\" />
  179. <link rel=\"shortcut icon\" href=\"/assets/favicon/favicon.ico\" />
  180. <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/assets/favicon/apple-touch-icon.png\" />
  181. <meta name=\"apple-mobile-web-app-title\" content=\"Annavation\" />
  182. <link rel=\"manifest\" href=\"/assets/favicon/site.webmanifest\" />
  183. ";
  184. // line 69
  185. yield " <link rel=\"canonical\" href=\"";
  186. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($this->sandbox->ensureToStringAllowed(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.', 69, $this->source); })()), "request", [], "any", false, false, true, 69), "getSchemeAndHttpHost", [], "any", false, false, true, 69), 69, $this->source) . $this->sandbox->ensureToStringAllowed(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.', 69, $this->source); })()), "request", [], "any", false, false, true, 69), "baseUrl", [], "any", false, false, true, 69), 69, $this->source)) . $this->sandbox->ensureToStringAllowed(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.', 69, $this->source); })()), "request", [], "any", false, false, true, 69), "pathInfo", [], "any", false, false, true, 69), 69, $this->source)), "html", null, true);
  187. yield "\"/>
  188. ";
  189. // line 71
  190. yield $this->env->getFunction('pimcore_head_link')->getCallable()();
  191. yield "
  192. ";
  193. // line 74
  194. yield "
  195. ";
  196. // line 76
  197. yield " ";
  198. yield from $this->loadTemplate("includes/window-vars.html.twig", "layouts/layout.html.twig", 76)->unwrap()->yield($context);
  199. // line 77
  200. yield "
  201. <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  202. <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  203. <link href=\"https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap\" rel=\"stylesheet\">
  204. <link rel=\"stylesheet\" href=\"/assets/swiss-hexagon/general.css\">
  205. <script src=\"/assets/swiss-hexagon/new.js\"></script>
  206. <script src=\"/assets/swiss-hexagon/search.js\"></script>
  207. ";
  208. // line 87
  209. yield " ";
  210. if ((isset($context["google_site_verification"]) || array_key_exists("google_site_verification", $context) ? $context["google_site_verification"] : (function () { throw new RuntimeError('Variable "google_site_verification" does not exist.', 87, $this->source); })())) {
  211. // line 88
  212. yield " <meta name=\"google-site-verification\" content=\"";
  213. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["google_site_verification"]) || array_key_exists("google_site_verification", $context) ? $context["google_site_verification"] : (function () { throw new RuntimeError('Variable "google_site_verification" does not exist.', 88, $this->source); })()), 88, $this->source), "html", null, true);
  214. yield "\">
  215. ";
  216. }
  217. // line 90
  218. yield "
  219. ";
  220. // line 92
  221. yield " ";
  222. if ((isset($context["seobility"]) || array_key_exists("seobility", $context) ? $context["seobility"] : (function () { throw new RuntimeError('Variable "seobility" does not exist.', 92, $this->source); })())) {
  223. // line 93
  224. yield " <meta name=\"seobility\" content=\"";
  225. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["seobility"]) || array_key_exists("seobility", $context) ? $context["seobility"] : (function () { throw new RuntimeError('Variable "seobility" does not exist.', 93, $this->source); })()), 93, $this->source), "html", null, true);
  226. yield "\">
  227. ";
  228. }
  229. // line 95
  230. yield "
  231. ";
  232. // line 96
  233. yield Twig\Extension\CoreExtension::include($this->env, $context, "layouts/components/structured-data.html.twig");
  234. yield "
  235. ";
  236. }
  237. // line 99
  238. yield "
  239. </head>
  240. <body id=\"body\" class=\"body ";
  241. // line 102
  242. if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 102, $this->source); })())) {
  243. yield " editmode ";
  244. }
  245. yield "\">
  246. ";
  247. // line 104
  248. if ((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.', 104, $this->source); })()), "request", [], "any", false, false, true, 104), "get", ["no-media"], "method", false, false, true, 104) != 1)) {
  249. // line 105
  250. yield " ";
  251. if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 105, $this->source); })())) {
  252. // line 106
  253. yield " <div class=\"navigation-container \" id=\"navigation-container\">
  254. <div class=\"wrapper flex space-between center\">
  255. <button class=\"menu-btn open\" aria-label=\"menu open\" >
  256. <svg width=\"23\" height=\"20\" viewBox=\"0 0 23 20\">
  257. <g id=\"Gruppe_198\" data-name=\"Gruppe 198\" transform=\"translate(-322 -25)\">
  258. <rect id=\"Rechteck_31\" data-name=\"Rechteck 31\" width=\"23\" height=\"4\" transform=\"translate(322 41)\"/>
  259. <rect id=\"Rechteck_1053\" data-name=\"Rechteck 1053\" width=\"23\" height=\"4\" transform=\"translate(322 33)\"/>
  260. <rect id=\"Rechteck_1054\" data-name=\"Rechteck 1054\" width=\"23\" height=\"4\" transform=\"translate(322 25)\"/>
  261. </g>
  262. </svg>
  263. </button>
  264. <a class=\"hav-logo flex\" href=\"/\">
  265. <img src=\"";
  266. // line 120
  267. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/logo/logo.png"), "html", null, true);
  268. yield "\" alt=\"Swiss Hexagon\" ";
  269. if (((isset($context["deviceType"]) || array_key_exists("deviceType", $context) ? $context["deviceType"] : (function () { throw new RuntimeError('Variable "deviceType" does not exist.', 120, $this->source); })()) == "phone")) {
  270. yield " width=\"250\" height=\"70\" ";
  271. } else {
  272. yield "width=\"300\" height=\"70\"";
  273. }
  274. yield ">
  275. </a>
  276. <div class=\"content flex space-between\" id=\"menu-content\">
  277. ";
  278. // line 134
  279. yield " ";
  280. yield from $this->loadTemplate("includes/top-header.html.twig", "layouts/layout.html.twig", 134)->unwrap()->yield($context);
  281. // line 135
  282. yield " ";
  283. yield from $this->loadTemplate("includes/navigation.html.twig", "layouts/layout.html.twig", 135)->unwrap()->yield($context);
  284. // line 140
  285. yield "
  286. <button class=\"menu-btn close\">
  287. <svg width=\"19.093\" height=\"19.092\" viewBox=\"0 0 19.093 19.092\">
  288. <g id=\"Gruppe_10241\" data-name=\"Gruppe 10241\" transform=\"translate(-316.953 -25)\">
  289. <rect id=\"Rechteck_1071\" data-name=\"Rechteck 1071\" width=\"23\" height=\"4\" transform=\"translate(336.045 27.828) rotate(135)\" fill=\"#fff\"/>
  290. <rect id=\"Rechteck_1072\" data-name=\"Rechteck 1072\" width=\"23\" height=\"4\" transform=\"translate(319.782 25) rotate(45)\" fill=\"#fff\"/>
  291. </g>
  292. </svg>
  293. </button>
  294. </div>
  295. </div>
  296. </div>
  297. ";
  298. }
  299. // line 154
  300. yield " ";
  301. }
  302. // line 155
  303. yield "
  304. ";
  305. // line 157
  306. yield " <div class=\"wrapper-body\">
  307. ";
  308. // line 158
  309. if ((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.', 158, $this->source); })()), "request", [], "any", false, false, true, 158), "get", ["no-media"], "method", false, false, true, 158) != 1)) {
  310. // line 159
  311. yield " ";
  312. if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 159, $this->source); })())) {
  313. // line 160
  314. yield " ";
  315. if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 160, $this->source); })()), "getPRoperty", ["DownloadRevealWindow"], "method", false, false, true, 160)) {
  316. // line 161
  317. yield " <div class=\"float-button\">
  318. <img src=\"";
  319. // line 162
  320. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/paper.svg"), "html", null, true);
  321. yield "\" alt=\"Download\" height=\"38\" width=\"30\">
  322. <div class=\"content-box\">
  323. <button class=\"close-reveal\">
  324. <svg width=\"16.899\" height=\"16.754\" viewBox=\"0 0 16.899 16.754\">
  325. <path id=\"Pfad_340\" data-name=\"Pfad 340\" d=\"M8.572,7.892,15.545.918a.5.5,0,0,0,0-.729.5.5,0,0,0-.729,0L7.843,7.129.869.155a.625.625,0,0,0-.763,0,.625.625,0,0,0,0,.763L7.08,7.892.106,14.866a.5.5,0,0,0,0,.729.522.522,0,0,0,.382.139.522.522,0,0,0,.382-.139L7.843,8.621l6.974,6.974a.594.594,0,0,0,.763,0,.5.5,0,0,0,0-.729Z\" transform=\"translate(0.606 0.521)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"1\"/>
  326. </svg>
  327. </button>
  328. <p class=\"headline\">";
  329. // line 169
  330. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 169, $this->source); })()), "getPRoperty", ["DownloadRevealWindow"], "method", false, false, true, 169), "getTitle", [], "method", false, false, true, 169), 169, $this->source), "html", null, true);
  331. yield "</p>
  332. <p>
  333. ";
  334. // line 171
  335. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 171, $this->source); })()), "getPRoperty", ["DownloadRevealWindow"], "method", false, false, true, 171), "getDescription", [], "method", false, false, true, 171), 171, $this->source), "html", null, true);
  336. yield "
  337. </p>
  338. <div class=\"buttons-row flex center\">
  339. <div class=\"btn primary\">
  340. <a class=\"flex\" href=\"";
  341. // line 175
  342. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 175, $this->source); })()), "getPRoperty", ["DownloadRevealWindow"], "method", false, false, true, 175), "getPdf", [], "method", false, false, true, 175), 175, $this->source), "html", null, true);
  343. yield "\" target=\"_blank\">
  344. <span>";
  345. // line 176
  346. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DOWNLOAD"), "html", null, true);
  347. yield "
  348. <svg width=\"15.708\" height=\"10.709\" viewBox=\"0 0 15.708 10.709\">
  349. <g transform=\"translate(0 0.354)\">
  350. <g transform=\"translate(0)\">
  351. <path class=\"line\" d=\"M7.5,18h15\" transform=\"translate(-7.5 -13)\" fill=\"none\" stroke=\"#fff\" stroke-linejoin=\"round\" stroke-width=\"1\"/>
  352. <path class=\"arrow\" d=\"M18,7.5l5.026,5L18,17.5\" transform=\"translate(-8.027 -7.5)\" fill=\"none\" stroke=\"#fff\" stroke-width=\"1\"/>
  353. </g>
  354. </g>
  355. </svg>
  356. </span>
  357. </a>
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. ";
  363. }
  364. // line 192
  365. yield " ";
  366. }
  367. // line 193
  368. yield " ";
  369. }
  370. // line 194
  371. yield "
  372. ";
  373. // line 195
  374. yield from $this->unwrap()->yieldBlock("content", $context, $blocks);
  375. yield "
  376. </div>
  377. ";
  378. // line 199
  379. if ((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.', 199, $this->source); })()), "request", [], "any", false, false, true, 199), "get", ["no-media"], "method", false, false, true, 199) != 1)) {
  380. // line 200
  381. yield "
  382. ";
  383. // line 201
  384. if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 201, $this->source); })())) {
  385. // line 202
  386. yield " ";
  387. yield Twig\Extension\CoreExtension::include($this->env, $context, "includes/blocks/cookies-eu-banner.html.twig");
  388. yield "
  389. ";
  390. }
  391. // line 204
  392. yield "
  393. ";
  394. // line 206
  395. yield " ";
  396. yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 206, $this->source); })()), "getProperty", ["footer"], "method", false, false, true, 206), 206, $this->source));
  397. yield "
  398. ";
  399. // line 208
  400. yield $this->env->getFunction('pimcore_head_script')->getCallable()();
  401. yield "
  402. ";
  403. // line 211
  404. yield "
  405. ";
  406. }
  407. // line 212
  408. yield "
  409. ";
  410. // line 214
  411. yield Twig\Extension\CoreExtension::include($this->env, $context, "layouts/components/svg-clippaths.html.twig");
  412. yield "
  413. </body>
  414. </html>";
  415. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  416. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  417. yield from [];
  418. }
  419. /**
  420. * @codeCoverageIgnore
  421. */
  422. public function getTemplateName(): string
  423. {
  424. return "layouts/layout.html.twig";
  425. }
  426. /**
  427. * @codeCoverageIgnore
  428. */
  429. public function isTraitable(): bool
  430. {
  431. return false;
  432. }
  433. /**
  434. * @codeCoverageIgnore
  435. */
  436. public function getDebugInfo(): array
  437. {
  438. return array ( 436 => 214, 432 => 212, 428 => 211, 424 => 208, 418 => 206, 415 => 204, 409 => 202, 407 => 201, 404 => 200, 402 => 199, 395 => 195, 392 => 194, 389 => 193, 386 => 192, 367 => 176, 363 => 175, 356 => 171, 351 => 169, 341 => 162, 338 => 161, 335 => 160, 332 => 159, 330 => 158, 327 => 157, 324 => 155, 321 => 154, 305 => 140, 302 => 135, 299 => 134, 287 => 120, 271 => 106, 268 => 105, 266 => 104, 259 => 102, 254 => 99, 248 => 96, 245 => 95, 239 => 93, 236 => 92, 233 => 90, 227 => 88, 224 => 87, 213 => 77, 210 => 76, 207 => 74, 203 => 71, 197 => 69, 188 => 61, 185 => 59, 183 => 58, 180 => 57, 176 => 54, 172 => 53, 163 => 47, 159 => 45, 157 => 1, 152 => 43, 149 => 42, 146 => 41, 143 => 40, 140 => 39, 138 => 38, 135 => 37, 132 => 36, 129 => 35, 126 => 34, 123 => 33, 120 => 32, 117 => 30, 114 => 29, 111 => 28, 108 => 26, 105 => 25, 102 => 24, 99 => 23, 96 => 22, 93 => 21, 90 => 19, 86 => 17, 83 => 16, 80 => 14, 77 => 13, 74 => 12, 72 => 11, 69 => 10, 66 => 9, 63 => 7, 61 => 6, 58 => 5, 55 => 4, 52 => 2, 50 => 1,);
  439. }
  440. public function getSourceContext(): Source
  441. {
  442. return new Source("{% apply spaceless %}
  443. {# Page name #}
  444. {% set pageName = pimcore_website_config('pageName', null, app.request.locale) %}
  445. {% if app.request.get('no-media') != 1 %}
  446. {# CSS #}
  447. {% do pimcore_head_link().appendStylesheet(asset('assets/css/app.min.css')) %}
  448. {% if editmode %}
  449. {% do pimcore_head_link().appendStylesheet(asset('assets/css/editmode.min.css')) %}
  450. {% endif %}
  451. {# JS #}
  452. {% do pimcore_head_script().appendFile(asset('assets/js/app.min.js')) %}
  453. {% endif %}
  454. {# Title #}
  455. {% do pimcore_head_title().set(document.getTitle()) %}
  456. {% do pimcore_head_title().append(pageName) %}
  457. {% if document.getTitle() %}
  458. {% do pimcore_head_title().setSeparator(' | ') %}
  459. {% endif %}
  460. {# Meta-Tags #}
  461. {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  462. {% do pimcore_head_meta().setName('language', app.request.locale) %}
  463. {# OG-Tags #}
  464. {% do pimcore_head_meta().setProperty('og:title', document.getTitle()) %}
  465. {% do pimcore_head_meta().setProperty('og:description', document.getDescription()) %}
  466. {% do pimcore_head_meta().setProperty('og:type', 'website') %}
  467. {% do pimcore_head_meta().setProperty('og:url', app.request.uri) %}
  468. {% do pimcore_head_meta().setProperty('og:locale', app.request.locale) %}
  469. {% if document.getProperty('ogImage') is defined and document.getProperty('ogImage') is not null %}
  470. {% do pimcore_head_meta().setProperty('og:image',app.request.getSchemeAndHttpHost() ~ document.getProperty('ogImage').thumbnail('ogImage').path) %}
  471. {% elseif pimcore_website_config('ogImage') and pimcore_website_config('ogImage') is not null %}
  472. {% do pimcore_head_meta().setProperty('og:image', app.request.getSchemeAndHttpHost() ~ pimcore_website_config('ogImage').thumbnail('ogImage').path) %}
  473. {% endif %}
  474. {% endapply %}
  475. <!DOCTYPE html>
  476. <html lang=\"{{ app.request.locale }}\">
  477. <head>
  478. <meta charset=\"UTF-8\">
  479. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  480. {{ pimcore_head_title() }}
  481. {{ pimcore_head_meta() }}
  482. {# {% block layout_head_meta deferred %}
  483. {% endblock %} #}
  484. {% if app.request.get('no-media') != 1 %}
  485. {# Favicon #}
  486. <link rel=\"icon\" type=\"image/png\" href=\"/assets/favicon/favicon-96x96.png\" sizes=\"96x96\" />
  487. <link rel=\"icon\" type=\"image/svg+xml\" href=\"/assets/favicon/favicon.svg\" />
  488. <link rel=\"shortcut icon\" href=\"/assets/favicon/favicon.ico\" />
  489. <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/assets/favicon/apple-touch-icon.png\" />
  490. <meta name=\"apple-mobile-web-app-title\" content=\"Annavation\" />
  491. <link rel=\"manifest\" href=\"/assets/favicon/site.webmanifest\" />
  492. {# Canonical #}
  493. <link rel=\"canonical\" href=\"{{ app.request.getSchemeAndHttpHost ~ app.request.baseUrl ~ app.request.pathInfo }}\"/>
  494. {{ pimcore_head_link() }}
  495. {# {% block head_stylesheets deferred %}
  496. {% endblock %} #}
  497. {# window variables #}
  498. {% include 'includes/window-vars.html.twig' %}
  499. <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  500. <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  501. <link href=\"https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap\" rel=\"stylesheet\">
  502. <link rel=\"stylesheet\" href=\"/assets/swiss-hexagon/general.css\">
  503. <script src=\"/assets/swiss-hexagon/new.js\"></script>
  504. <script src=\"/assets/swiss-hexagon/search.js\"></script>
  505. {# Google Search Console #}
  506. {% if google_site_verification %}
  507. <meta name=\"google-site-verification\" content=\"{{ google_site_verification }}\">
  508. {% endif %}
  509. {# Seobility #}
  510. {% if seobility %}
  511. <meta name=\"seobility\" content=\"{{ seobility }}\">
  512. {% endif %}
  513. {{ include('layouts/components/structured-data.html.twig') }}
  514. {% endif %}
  515. </head>
  516. <body id=\"body\" class=\"body {% if editmode %} editmode {% endif %}\">
  517. {% if app.request.get('no-media') != 1 %}
  518. {% if not editmode %}
  519. <div class=\"navigation-container \" id=\"navigation-container\">
  520. <div class=\"wrapper flex space-between center\">
  521. <button class=\"menu-btn open\" aria-label=\"menu open\" >
  522. <svg width=\"23\" height=\"20\" viewBox=\"0 0 23 20\">
  523. <g id=\"Gruppe_198\" data-name=\"Gruppe 198\" transform=\"translate(-322 -25)\">
  524. <rect id=\"Rechteck_31\" data-name=\"Rechteck 31\" width=\"23\" height=\"4\" transform=\"translate(322 41)\"/>
  525. <rect id=\"Rechteck_1053\" data-name=\"Rechteck 1053\" width=\"23\" height=\"4\" transform=\"translate(322 33)\"/>
  526. <rect id=\"Rechteck_1054\" data-name=\"Rechteck 1054\" width=\"23\" height=\"4\" transform=\"translate(322 25)\"/>
  527. </g>
  528. </svg>
  529. </button>
  530. <a class=\"hav-logo flex\" href=\"/\">
  531. <img src=\"{{ asset('assets/logo/logo.png') }}\" alt=\"Swiss Hexagon\" {% if deviceType == \"phone\" %} width=\"250\" height=\"70\" {% else %}width=\"300\" height=\"70\"{% endif %}>
  532. </a>
  533. <div class=\"content flex space-between\" id=\"menu-content\">
  534. {#
  535. <div class=\"search\">
  536. <form class=\"search-form flex\" id=\"navigation-search-form\" action=\"{{ document.getProperty('search') }}\" name=\"q\" novalidate=\"\">
  537. <input class=\"search-input\" id=\"navigation-search-input\" type=\"text\" name=\"q\" value=\"\" placeholder=\"{{ 'Suche' | trans }}...\" required=\"\">
  538. <button title=\"Suche\" class=\"flex\" type=\"submit\" id=\"search-submit\">
  539. <svg width=\"20\" height=\"20.005\" viewBox=\"0 0 20 20.005\">
  540. <path d=\"M24.265,23.05,18.7,17.436a7.927,7.927,0,1,0-1.2,1.219l5.526,5.578a.856.856,0,0,0,1.208.031A.862.862,0,0,0,24.265,23.05ZM12.474,18.722A6.259,6.259,0,1,1,16.9,16.889,6.221,6.221,0,0,1,12.474,18.722Z\" transform=\"translate(-4.5 -4.493)\" fill=\"#fff\"/>
  541. </svg>
  542. </button>
  543. </form>
  544. </div> #}
  545. {% include 'includes/top-header.html.twig' %}
  546. {% include 'includes/navigation.html.twig' %}
  547. {#
  548. <div class=\"menu-logo\">
  549. <img src=\"{{ asset('assets/logo/logo.png') }}\" alt=\"Swiss Hexagon\" {% if deviceType == \"phone\" %} width=\"108.2\" height=\"70.19\" {% else %}width=\"224\" height=\"68\"{% endif %}>
  550. </div> #}
  551. <button class=\"menu-btn close\">
  552. <svg width=\"19.093\" height=\"19.092\" viewBox=\"0 0 19.093 19.092\">
  553. <g id=\"Gruppe_10241\" data-name=\"Gruppe 10241\" transform=\"translate(-316.953 -25)\">
  554. <rect id=\"Rechteck_1071\" data-name=\"Rechteck 1071\" width=\"23\" height=\"4\" transform=\"translate(336.045 27.828) rotate(135)\" fill=\"#fff\"/>
  555. <rect id=\"Rechteck_1072\" data-name=\"Rechteck 1072\" width=\"23\" height=\"4\" transform=\"translate(319.782 25) rotate(45)\" fill=\"#fff\"/>
  556. </g>
  557. </svg>
  558. </button>
  559. </div>
  560. </div>
  561. </div>
  562. {% endif %}
  563. {% endif %}
  564. {# Content #}
  565. <div class=\"wrapper-body\">
  566. {% if app.request.get('no-media') != 1 %}
  567. {% if not editmode %}
  568. {% if document.getPRoperty('DownloadRevealWindow') %}
  569. <div class=\"float-button\">
  570. <img src=\"{{ asset('assets/images/paper.svg') }}\" alt=\"Download\" height=\"38\" width=\"30\">
  571. <div class=\"content-box\">
  572. <button class=\"close-reveal\">
  573. <svg width=\"16.899\" height=\"16.754\" viewBox=\"0 0 16.899 16.754\">
  574. <path id=\"Pfad_340\" data-name=\"Pfad 340\" d=\"M8.572,7.892,15.545.918a.5.5,0,0,0,0-.729.5.5,0,0,0-.729,0L7.843,7.129.869.155a.625.625,0,0,0-.763,0,.625.625,0,0,0,0,.763L7.08,7.892.106,14.866a.5.5,0,0,0,0,.729.522.522,0,0,0,.382.139.522.522,0,0,0,.382-.139L7.843,8.621l6.974,6.974a.594.594,0,0,0,.763,0,.5.5,0,0,0,0-.729Z\" transform=\"translate(0.606 0.521)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"1\"/>
  575. </svg>
  576. </button>
  577. <p class=\"headline\">{{ document.getPRoperty('DownloadRevealWindow').getTitle() }}</p>
  578. <p>
  579. {{ document.getPRoperty('DownloadRevealWindow').getDescription() }}
  580. </p>
  581. <div class=\"buttons-row flex center\">
  582. <div class=\"btn primary\">
  583. <a class=\"flex\" href=\"{{ document.getPRoperty('DownloadRevealWindow').getPdf() }}\" target=\"_blank\">
  584. <span>{{ 'DOWNLOAD' | trans }}
  585. <svg width=\"15.708\" height=\"10.709\" viewBox=\"0 0 15.708 10.709\">
  586. <g transform=\"translate(0 0.354)\">
  587. <g transform=\"translate(0)\">
  588. <path class=\"line\" d=\"M7.5,18h15\" transform=\"translate(-7.5 -13)\" fill=\"none\" stroke=\"#fff\" stroke-linejoin=\"round\" stroke-width=\"1\"/>
  589. <path class=\"arrow\" d=\"M18,7.5l5.026,5L18,17.5\" transform=\"translate(-8.027 -7.5)\" fill=\"none\" stroke=\"#fff\" stroke-width=\"1\"/>
  590. </g>
  591. </g>
  592. </svg>
  593. </span>
  594. </a>
  595. </div>
  596. </div>
  597. </div>
  598. </div>
  599. {% endif %}
  600. {% endif %}
  601. {% endif %}
  602. {{ block('content') }}
  603. </div>
  604. {% if app.request.get('no-media') != 1 %}
  605. {% if not editmode %}
  606. {{ include('includes/blocks/cookies-eu-banner.html.twig') }}
  607. {% endif %}
  608. {# footer #}
  609. {{ pimcore_inc(document.getProperty('footer')) }}
  610. {{ pimcore_head_script() }}
  611. {# {% block headscripts deferred %}
  612. {% endblock %} #}
  613. {% endif %}
  614. {{ include('layouts/components/svg-clippaths.html.twig') }}
  615. </body>
  616. </html>", "layouts/layout.html.twig", "/home/httpd/vhosts/annavation.a4interactive.ch/httpdocs/dev/templates/layouts/layout.html.twig");
  617. }
  618. public function checkSecurity()
  619. {
  620. static $tags = ["apply" => 1, "set" => 4, "if" => 6, "do" => 9, "include" => 76];
  621. static $filters = ["spaceless" => 1, "escape" => 47, "trans" => 176];
  622. static $functions = ["pimcore_website_config" => 4, "pimcore_head_link" => 9, "asset" => 9, "pimcore_head_script" => 16, "pimcore_head_title" => 21, "pimcore_head_meta" => 28, "include" => 96, "pimcore_inc" => 206];
  623. try {
  624. $this->sandbox->checkSecurity(
  625. ['apply', 'set', 'if', 'do', 'include'],
  626. ['spaceless', 'escape', 'trans'],
  627. ['pimcore_website_config', 'pimcore_head_link', 'asset', 'pimcore_head_script', 'pimcore_head_title', 'pimcore_head_meta', 'include', 'pimcore_inc'],
  628. $this->source
  629. );
  630. } catch (SecurityError $e) {
  631. $e->setSourceContext($this->source);
  632. if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  633. $e->setTemplateLine($tags[$e->getTagName()]);
  634. } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  635. $e->setTemplateLine($filters[$e->getFilterName()]);
  636. } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  637. $e->setTemplateLine($functions[$e->getFunctionName()]);
  638. }
  639. throw $e;
  640. }
  641. }
  642. }