var/cache/website/dev/twig/56/56eb0406db71be360437139d51fd87a1.php line 36
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* base.html.twig */
class __TwigTemplate_89cfdac6e9ecc3d09e68367d8fdc79b9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'meta' => [$this, 'block_meta'],
'style' => [$this, 'block_style'],
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
$context["is_homepage"] = (((twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 1, $this->source); })()), "url", [], "any", false, false, false, 1) == "/")) ? (true) : (false));
// line 2
$context["title"] = "";
// line 3
if (twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", true, true, false, 3)) {
// line 4
echo " ";
$context["title"] = (twig_get_attribute($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); })()), "title", [], "any", false, false, false, 4) . " | NDH");
}
// line 6
$context["subline"] = "";
// line 7
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 7, $this->source); })()), "blocks", [], "any", false, false, false, 7));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 8
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 8) == "heading_dynamic")) {
// line 9
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["item"], "heading", [], "any", true, true, false, 9) && (twig_get_attribute($this->env, $this->source, $context["item"], "heading", [], "any", false, false, false, 9) != ""))) {
// line 10
echo " ";
$context["subline"] = ((isset($context["subline"]) || array_key_exists("subline", $context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.', 10, $this->source); })()) . twig_get_attribute($this->env, $this->source, $context["item"], "heading", [], "any", false, false, false, 10));
// line 11
echo " ";
}
// line 12
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["item"], "subline", [], "any", true, true, false, 12) && (twig_get_attribute($this->env, $this->source, $context["item"], "subline", [], "any", false, false, false, 12) != ""))) {
// line 13
echo " ";
$context["subline"] = (((isset($context["subline"]) || array_key_exists("subline", $context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.', 13, $this->source); })()) . " - ") . twig_get_attribute($this->env, $this->source, $context["item"], "subline", [], "any", false, false, false, 13));
// line 14
echo " ";
}
// line 15
echo " ";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 17
$context["media"] = ($this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath("/") . "/uploads/media/pageImage/05/715-NDH_DüsseldorfHafen_Containerterminal_nacht_DSC_0882.jpg?v=1-0");
// line 18
echo "
";
// line 19
if ((twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "image", [], "any", true, true, false, 19) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 19, $this->source); })()), "image", [], "any", false, false, false, 19)))) {
// line 20
echo " ";
$context["socialImage"] = $this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 20, $this->source); })()), "image", [], "any", false, false, false, 20), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 20, $this->source); })()), "request", [], "any", false, false, false, 20), "locale", [], "any", false, false, false, 20));
// line 21
echo " ";
if ( !(null === (isset($context["socialImage"]) || array_key_exists("socialImage", $context) ? $context["socialImage"] : (function () { throw new RuntimeError('Variable "socialImage" does not exist.', 21, $this->source); })()))) {
// line 22
echo " ";
$context["media"] = $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["socialImage"]) || array_key_exists("socialImage", $context) ? $context["socialImage"] : (function () { throw new RuntimeError('Variable "socialImage" does not exist.', 22, $this->source); })()), "thumbnails", [], "any", false, false, false, 22), "pageImage", [], "array", false, false, false, 22));
// line 23
echo " ";
}
}
// line 25
echo "
<!doctype html>
<html class=\"no-js\" lang=\"";
// line 27
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "locale", [], "any", false, false, false, 27), "_"), 0, [], "array", false, false, false, 27), "html", null, true);
echo "\">
<head>
<meta charset=\"UTF-8\">
<meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
";
// line 33
$this->displayBlock('meta', $context, $blocks);
// line 42
echo "
<meta itemprop=\"name\" content=\"";
// line 43
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 43), "title", [], "any", true, true, false, 43)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 43), "title", [], "any", false, false, false, 43), (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 43, $this->source); })()))) : ((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 43, $this->source); })()))), "html", null, true);
echo "\">
<meta itemprop=\"description\" content=\"";
// line 44
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 44), "description", [], "any", true, true, false, 44)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 44), "description", [], "any", false, false, false, 44), (isset($context["subline"]) || array_key_exists("subline", $context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.', 44, $this->source); })()))) : ((isset($context["subline"]) || array_key_exists("subline", $context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.', 44, $this->source); })()))), "html", null, true);
echo "\">
<meta itemprop=\"image\" content=\"";
// line 45
echo twig_escape_filter($this->env, (isset($context["media"]) || array_key_exists("media", $context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.', 45, $this->source); })()), "html", null, true);
echo "\">
<meta property=\"twitter:card\" content=\"summary_large_image\">
<meta property=\"twitter:title\" content=\"";
// line 48
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 48), "title", [], "any", true, true, false, 48)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 48), "title", [], "any", false, false, false, 48), (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 48, $this->source); })()))) : ((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 48, $this->source); })()))), "html", null, true);
echo "\">
<meta property=\"twitter:domain\" content=\"";
// line 49
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 49), "host", [], "any", true, true, false, 49)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 49), "host", [], "any", false, false, false, 49), "ndh.de")) : ("ndh.de")), "html", null, true);
echo "\">
<meta property=\"twitter:url\" content=\"";
// line 50
echo twig_escape_filter($this->env, _twig_default_filter($this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 50, $this->source); })()), "url", [], "any", false, false, false, 50)), "https://ndh.de"), "html", null, true);
echo "\">
<meta property=\"twitter:description\" content=\"";
// line 51
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 51), "description", [], "any", true, true, false, 51)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 51), "description", [], "any", false, false, false, 51), (isset($context["subline"]) || array_key_exists("subline", $context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.', 51, $this->source); })()))) : ((isset($context["subline"]) || array_key_exists("subline", $context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.', 51, $this->source); })()))), "html", null, true);
echo "\">
<meta property=\"twitter:image\" content=\"";
// line 52
echo twig_escape_filter($this->env, (isset($context["media"]) || array_key_exists("media", $context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.', 52, $this->source); })()), "html", null, true);
echo "\">
<meta property=\"og:title\" content=\"";
// line 54
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 54), "title", [], "any", true, true, false, 54)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 54), "title", [], "any", false, false, false, 54), (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 54, $this->source); })()))) : ((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 54, $this->source); })()))), "html", null, true);
echo "\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:url\" content=\"";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 56, $this->source); })()), "url", [], "any", false, false, false, 56)), "html", null, true);
echo "\" />
<meta property=\"og:image\" content=\"";
// line 57
echo twig_escape_filter($this->env, (isset($context["media"]) || array_key_exists("media", $context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.', 57, $this->source); })()), "html", null, true);
echo "\" />
<meta property=\"og:description\" content=\"";
// line 58
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 58), "description", [], "any", true, true, false, 58)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, true, false, 58), "description", [], "any", false, false, false, 58), (isset($context["subline"]) || array_key_exists("subline", $context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.', 58, $this->source); })()))) : ((isset($context["subline"]) || array_key_exists("subline", $context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.', 58, $this->source); })()))), "html", null, true);
echo "\" />
<meta property=\"og:site_name\" content=\"NDH\" />
<meta name=\"google-site-verification\" content=\"lTalCtrbJkvln6o2b1ZGmY3tx1lpKd9j3pEJ6CkJ0eA\" />
";
// line 63
$this->displayBlock('style', $context, $blocks);
// line 64
echo " <!-- Compressed CSS -->
<link rel=\"stylesheet\" href=\"";
// line 65
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/app.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 66
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/style.css"), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "YmdHis"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 67
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/cookieconsent.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 68
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/fontawesome.all.min.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/motion-ui.min.css"), "html", null, true);
echo "\" />
<link rel='stylesheet' href=";
// line 70
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/slim-lightbox.min.css"), "html", null, true);
echo " type='text/css' media='all'>
<script type=\"text/javascript\" src=";
// line 71
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/slim-lightbox.min.js"), "html", null, true);
echo "></script>
<style>
/* Custom play button image url */
div[class^=\"youtube-player\"] .play {
background: url(";
// line 76
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/img/playbutton.png"), "html", null, true);
echo ") no-repeat;
}
</style>
</head>
<body ";
// line 81
if ((isset($context["is_homepage"]) || array_key_exists("is_homepage", $context) ? $context["is_homepage"] : (function () { throw new RuntimeError('Variable "is_homepage" does not exist.', 81, $this->source); })())) {
echo "class=\"is-homepage\"";
}
echo " data-sticky-container>
<div class=\"sticky header-bar\" data-sticky data-options=\"marginTop:0;\">
<div class=\"title-bar hide-for-large\" data-hide-for=\"large\" data-responsive-toggle=\"animated-menu\">
<a href=\"/\">
<img src=\"";
// line 86
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/img/NDH-Logo-small.png"), "html", null, true);
echo "\" alt=\"NDH\" style=\"max-width: 209px;\">
</a>
<button class=\"menu-icon btn\" type=\"button\" data-toggle></button>
</div>
<header id=\"animated-menu\" class=\"top-bar nd-top-bar\" style=\"width:100%\">
<div class=\"top-bar-left\">
<nav class=\"grid-x grid-margin-x grid-padding-x align-justify align-middle\">
<div class=\"cell small-auto large-shrink text-center large-text-left show-for-large logocontainer\">
<a href=\"/\">
<img src=\"";
// line 95
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/img/NDH-Logo-small.png"), "html", null, true);
echo "\" alt=\"NDH\" style=\"max-width: 209px;\">
</a>
</div>
<ul class=\"cell auto vertical menu large-horizontal align-special\"
data-responsive-menu=\"accordion large-dropdown\"
data-submenu-toggle=\"true\"
data-multi-open=\"false\"
data-hover-delay=\"50\"
data-closing-time=\"0\"
aria-label=\"Hauptmenü\">
";
// line 106
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("main", 3));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 107
echo " <li ";
echo (((is_string($__internal_compile_0 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 107, $this->source); })()), "request", [], "any", false, false, false, 107), "uri", [], "any", false, false, false, 107)) && is_string($__internal_compile_1 = $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, false, 107))) && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1)))) ? ("class=\"is-active-special\"") : (""));
echo ">
<a href=\"";
// line 108
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, false, 108)), "html", null, true);
echo "\">
";
// line 109
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 109), "html", null, true);
echo "
";
// line 110
echo (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "children", [], "any", false, false, false, 110)) > 0)) ? ("<span class=\"sub-arrow\"> <i class=\"fas fa-plus-square\"></i></span>") : (""));
echo "
";
// line 111
echo (((is_string($__internal_compile_2 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 111, $this->source); })()), "request", [], "any", false, false, false, 111), "uri", [], "any", false, false, false, 111)) && is_string($__internal_compile_3 = $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, false, 111))) && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3)))) ? ("<span class=\"sr-only\">(current)</span>") : (""));
echo "
</a>
";
// line 113
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "children", [], "any", false, false, false, 113)) > 0)) {
// line 114
echo " <ul class=\"nested menu\">
";
// line 115
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["item"], "children", [], "any", false, false, false, 115));
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
// line 116
echo " <li ";
echo (((is_string($__internal_compile_4 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 116, $this->source); })()), "request", [], "any", false, false, false, 116), "uri", [], "any", false, false, false, 116)) && is_string($__internal_compile_5 = $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["child"], "url", [], "any", false, false, false, 116))) && ('' === $__internal_compile_5 || 0 === strpos($__internal_compile_4, $__internal_compile_5)))) ? ("class=\"is-active\"") : (""));
echo ">
<a href=\"";
// line 117
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["child"], "url", [], "any", false, false, false, 117)), "html", null, true);
echo "\">
";
// line 118
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child"], "title", [], "any", false, false, false, 118), "html", null, true);
echo "
";
// line 119
echo (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child"], "children", [], "any", false, false, false, 119)) > 0)) ? ("<span class=\"sub-arrow\"> <i class=\"fas fa-plus-square\"></i></span>") : (""));
echo "
";
// line 120
echo (((is_string($__internal_compile_6 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 120, $this->source); })()), "request", [], "any", false, false, false, 120), "uri", [], "any", false, false, false, 120)) && is_string($__internal_compile_7 = $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["child"], "url", [], "any", false, false, false, 120))) && ('' === $__internal_compile_7 || 0 === strpos($__internal_compile_6, $__internal_compile_7)))) ? ("<span class=\"sr-only\">(current)</span>") : (""));
echo "
</a>
";
// line 122
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child"], "children", [], "any", false, false, false, 122)) > 0)) {
// line 123
echo " <ul class=\"nested menu\">
";
// line 124
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["child"], "children", [], "any", false, false, false, 124));
foreach ($context['_seq'] as $context["_key"] => $context["grandchild"]) {
// line 125
echo " <li ";
echo (((is_string($__internal_compile_8 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 125, $this->source); })()), "request", [], "any", false, false, false, 125), "uri", [], "any", false, false, false, 125)) && is_string($__internal_compile_9 = $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["grandchild"], "url", [], "any", false, false, false, 125))) && ('' === $__internal_compile_9 || 0 === strpos($__internal_compile_8, $__internal_compile_9)))) ? ("class=\"is-active\"") : (""));
echo ">
<a href=\"";
// line 126
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["grandchild"], "url", [], "any", false, false, false, 126)), "html", null, true);
echo "\">
";
// line 127
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["grandchild"], "title", [], "any", false, false, false, 127), "html", null, true);
echo "
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['grandchild'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 131
echo " </ul>
";
}
// line 133
echo " </li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 135
echo " </ul>
";
}
// line 137
echo " </li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 139
echo " </ul>
</nav>
</div>
</header>
</div>
<main>
";
// line 145
$this->displayBlock('content', $context, $blocks);
// line 146
echo "</main>
";
// line 149
if (twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", true, true, false, 149)) {
// line 150
echo "<nav aria-label=\"Sie sind hier:\" role=\"navigation\" class=\"large\">
<article class=\"grid-container\">
<ul class=\"breadcrumbs pull-width\">
";
// line 153
if (twig_in_filter("/news/", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 153, $this->source); })()), "request", [], "any", false, false, false, 153), "pathInfo", [], "any", false, false, false, 153))) {
echo "<li>
<a href=\"/news\">News</a>
";
// line 155
if ((isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 155, $this->source); })())) {
// line 156
echo " <img aria-hidden=\"true\" class=\"nd-breadcrumb-icon\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/img/nd_icon_breadcrumbs.png"), "html", null, true);
echo "\" alt=\"ND Group Icon\" />
<a href=\"";
// line 157
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 157, $this->source); })()), "request", [], "any", false, false, false, 157), "pathInfo", [], "any", false, false, false, 157), "html", null, true);
echo "\" aria-current=\"page\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 157, $this->source); })()), "title", [], "any", false, false, false, 157), "html", null, true);
echo "</a>
";
}
// line 159
echo " </li>
";
} else {
// line 161
echo " ";
if (array_key_exists("uuid", $context)) {
// line 162
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, $this->env->getFunction('sulu_breadcrumb')->getCallable()((isset($context["uuid"]) || array_key_exists("uuid", $context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.', 162, $this->source); })())), 1));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 163
echo " <li>
<a href=\"";
// line 164
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, false, 164)), "html", null, true);
echo "\" ";
echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 164)) ? ("aria-current=\"page\"") : (""));
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 164), "html", null, true);
echo "</a>
";
// line 165
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 165)) {
// line 166
echo " <img aria-hidden=\"true\" class=\"nd-breadcrumb-icon\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/img/nd_icon_breadcrumbs.png"), "html", null, true);
echo "\" alt=\"ND Group Icon\" />
";
}
// line 168
echo " </li>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 170
echo " ";
}
// line 171
echo " ";
}
// line 172
echo " </ul>
</article>
</nav>
";
}
// line 176
echo "
<footer class=\"callout large primary\">
<article class=\"grid-container\">
<div class=\"grid-x pull-width\">
<div class=\"large-3 cell\">
<ul class=\"menu vertical\">
";
// line 182
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("meta", 2));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 183
echo " <li><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, false, 183)), "html", null, true);
echo "\" target=\"_self\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 183), "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 185
echo " <li><a href=\"javascript:void(0);\" id=\"cc-revoke-choice\" target=\"_self\">Cookie-Einstellungen</a></li>
</ul>
</div>
<div class=\"large-4 large-offset-1 cell\">
<p><strong>Neuss-Düsseldorfer Häfen</strong><br>Hammer Landstraße 3<br>41460 Neuss<br>Tel.: +49
2131 5323-0<br>Fax: +49 2131 5323-105<br>E-Mail: <a href=\"mailto:info@nd-haefen.de\" class=\"contact-email\">info@nd-haefen.de</a>
</p>
<p><strong>Geschäftsführer:</strong><br>Ass. iur. Sascha Odermatt, Rechtsanwalt</p>
</div>
<div class=\"large-3 large-offset-1 cell\"><strong>NDH im Social Web</strong>
<div class=\"social-icons-wrapper d-flex justify-content-start gap-5 mt-2\">
<a href=\"https://www.facebook.com/NDHaefen\" target=\"_blank\" class=\"button-wrapper socialicon\">
<span class=\"btn btn-primary\"><i class=\"fab fa-facebook-f text-dark\"></i></span>
</a>
<a href=\"https://www.instagram.com/ndhaefen\" target=\"_blank\" class=\"button-wrapper socialicon\">
<span class=\"btn btn-primary\"><i class=\"fab fa-instagram text-dark\"></i></span>
</a>
<a href=\"https://de.linkedin.com/company/neuss-d%C3%BCsseldorfer-h%C3%A4fen-gmbh-&-co.-kg\" target=\"_blank\" class=\"button-wrapper socialicon\">
<span class=\"btn btn-primary\"><i class=\"fab fa-linkedin-in text-dark\"></i></span>
</a>
</div>
</div>
</div>
</article>
</footer>
<button class=\"scrollToTopBtn\" aria-description=\"An den Seitenanfang scrollen\">TOP</button>
<script src=\"";
// line 213
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/jquery-3.7.1.min.js"), "html", null, true);
echo "\"></script>
<!-- Compressed JavaScript -->
<script src=\"";
// line 215
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 216
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.core.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 217
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.mediaQuery.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 218
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.keyboard.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 219
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.motion.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 220
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.triggers.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 221
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.nest.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 222
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.touch.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 223
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.box.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 224
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.drilldown.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 225
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.accordion.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 226
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.accordionMenu.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 227
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.dropdown.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 228
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.dropdownMenu.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 229
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.responsiveMenu.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 230
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.responsiveToggle.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 231
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.orbit.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 232
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.sticky.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 233
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.toggler.min.js"), "html", null, true);
echo "\"></script>
<script>
\$(document).foundation();
let scrollBefore = 0;
let ticking = false;
let hidden = false;
let lockHide = false;
let mobileIndicatorEl = document.querySelector('.title-bar');
let mobileIndicatorStyle = window.getComputedStyle ? getComputedStyle(mobileIndicatorEl, null) : mobileIndicatorEl.currentStyle;
let isMobile = (mobileIndicatorStyle.display !== \"none\");
document.querySelector('header').addEventListener('mouseenter', (e) => {
lockHide = true;
});
document.querySelector('header').addEventListener('mouseleave', (e) => {
lockHide = false;
});
window.addEventListener(\"scroll\", handleScroll);
// get a reference to our predefined button
var scrollToTopBtn = document.querySelector(\".scrollToTopBtn\");
function handleScroll() {
if (!isMobile) {
if (!ticking) {
window.requestAnimationFrame(() => {
const scrolled = window.scrollY;
if (scrollBefore > scrolled) {
if (hidden) {
ticking = true;
\$('header').fadeTo('fast', 1, () => { ticking = false; hidden = false; });
if(scrollToTopBtn.classList.contains(\"showScrollBtn\"))
scrollToTopBtn.classList.remove(\"showScrollBtn\")
} else {
ticking = false;
}
scrollBefore = scrolled;
} else {
if (!hidden && !lockHide) {
ticking = true;
\$('header').fadeTo('fast', 0, () => { ticking = false; hidden = true; });
if(!scrollToTopBtn.classList.contains(\"showScrollBtn\"))
scrollToTopBtn.classList.add(\"showScrollBtn\")
} else {
ticking = false;
}
scrollBefore = scrolled;
}
});
ticking = true;
}
}
}
scrollToTopBtn.addEventListener(\"click\", scrollToTop);
function scrollToTop() {
window.scrollTo({
top: 0,
behavior: \"smooth\"
});
}
function decryptEmail(encoded) {
var address = atob(encoded);
window.open(\"mailto:\" + address, '_blank') || window.location.replace(\"mailto:\" + address);
}
</script>
<script type='text/javascript' src=";
// line 300
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/cookieconsent2.min.js"), "html", null, true);
echo " id='cookieconsent-js' defer></script>
<link rel=\"stylesheet\" id=\"cookieconsent-css\" href=";
// line 301
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library//css/cookieconsent2.css"), "html", null, true);
echo " type=\"text/css\" media=\"all\">
";
// line 302
$context["snippets"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("cookieconsent");
// line 303
if ((isset($context["snippets"]) || array_key_exists("snippets", $context) ? $context["snippets"] : (function () { throw new RuntimeError('Variable "snippets" does not exist.', 303, $this->source); })())) {
// line 304
echo " ";
$context["cookies"] = twig_get_attribute($this->env, $this->source, (isset($context["snippets"]) || array_key_exists("snippets", $context) ? $context["snippets"] : (function () { throw new RuntimeError('Variable "snippets" does not exist.', 304, $this->source); })()), "content", [], "any", false, false, false, 304);
// line 305
echo " <script defer>
window.addEventListener('load', function() {
const CC = window.CookieConsent;
const cc = new CC({
mode: 'disabled',
type: 'opt-in',
revokable: true,
consentSettingsElementId: 'cc-revoke-choice',
cookie: {
domain: '";
// line 314
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 314, $this->source); })()), "request", [], "any", false, false, false, 314), "host", [], "any", false, false, false, 314), "html", null, true);
echo "',
},
layout: 'categories',
showLink: false,
palette:{
popup: {background: \"";
// line 319
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "popup_bg", [], "any", true, true, false, 319)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "popup_bg", [], "any", false, false, false, 319), "#FFFFFF")) : ("#FFFFFF")), "html", null, true);
echo "\", text: \"";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "popup_text", [], "any", true, true, false, 319)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "popup_text", [], "any", false, false, false, 319), "#000000")) : ("#000000")), "html", null, true);
echo "\", link: \"";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "popup_text", [], "any", true, true, false, 319)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "popup_text", [], "any", false, false, false, 319), "#000000")) : ("#000000")), "html", null, true);
echo "\"},
button: {background: \"";
// line 320
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "button_bg", [], "any", true, true, false, 320)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "button_bg", [], "any", false, false, false, 320), "#0069b2")) : ("#0069b2")), "html", null, true);
echo "\", text: \"";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "button_text", [], "any", true, true, false, 320)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "button_text", [], "any", false, false, false, 320), "#FFFFFF")) : ("#FFFFFF")), "html", null, true);
echo "\", link: \"";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "button_text", [], "any", true, true, false, 320)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "button_text", [], "any", false, false, false, 320), "#FFFFFF")) : ("#FFFFFF")), "html", null, true);
echo "\"},
},
position: '";
// line 322
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "position", [], "any", true, true, false, 322)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["cookies"] ?? null), "position", [], "any", false, false, false, 322), "bottom-left")) : ("bottom-left")), "html", null, true);
echo "',
content: {
header: '";
// line 324
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cookies"]) || array_key_exists("cookies", $context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.', 324, $this->source); })()), "title", [], "any", false, false, false, 324), "html", null, true);
echo "',
message: `";
// line 325
echo twig_get_attribute($this->env, $this->source, (isset($context["cookies"]) || array_key_exists("cookies", $context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.', 325, $this->source); })()), "description", [], "any", false, false, false, 325);
echo "`,
allow: '";
// line 326
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cookies"]) || array_key_exists("cookies", $context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.', 326, $this->source); })()), "btn_accept", [], "any", false, false, false, 326), "html", null, true);
echo "',
dismiss: '";
// line 327
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cookies"]) || array_key_exists("cookies", $context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.', 327, $this->source); })()), "btn_decline", [], "any", false, false, false, 327), "html", null, true);
echo "',
deny: '";
// line 328
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cookies"]) || array_key_exists("cookies", $context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.', 328, $this->source); })()), "btn_decline", [], "any", false, false, false, 328), "html", null, true);
echo "',
customize: '";
// line 329
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["cookies"]) || array_key_exists("cookies", $context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.', 329, $this->source); })()), "btn_settings", [], "any", false, false, false, 329), "html", null, true);
echo "',
acceptSelected: \"Auswahl speichern\",
close: \"❌\",
policy: 'Cookie-Richtlinie',
target: '_blank',
link: 'Datenschutzerklärung',
href: '/datenschutz',
privacyPolicyLink: '/datenschutz',
cookiePolicyLink: '/datenschutz',
customizeHeader: '<strong>Ihre Einstellungen</strong>',
categoryUncategorizedDisplayName: 'Ohne Kategorie',
categoryEssentialDisplayName: 'Notwendige Cookies (immer aktiv)',
categoryPersonalizationDisplayName: 'Personalisierungs-Cookies',
categoryAnalyticsDisplayName: 'Analytische Cookies',
categoryMarketingDisplayName: 'Marketing Cookies',
categoryEssential: `Diese Cookies sind notwendig, damit diese Website ordnungsgemäß und sicher funktioniert.`,
categoryAnalytics: 'Diese Cookies sammeln Informationen über unsere Besucher, einschließlich des geografischen Standorts und der für den Zugriff auf die Website verwendeten Technologie. Wir fassen diese Daten zusammen und verwenden sie, um unsere Website und Produkte zu verbessern.',
customizeMessage: `Hier finden Sie eine Übersicht über die Cookies, die wir auf dieser Website verwenden. Bitte wählen Sie die Kategorien aus, mit denen Sie einverstanden sind:`,
},
elements: {
policiesLinks: '',
},
showCategories: {
[CC.UNCATEGORIZED]: false,
[CC.PERSONALIZATION]: false,
[CC.ESSENTIAL]: true,
[CC.ANALYTICS]: true,
[CC.MARKETING]: false,
},
";
// line 380
echo " });
cc.on( \"initialized\", ( ...args ) => {
console.log(args);
const hasConsented = cc.popup.hasConsented().includes(true);
if (hasConsented) {
var _paq = window._paq = window._paq || [];
// tracker methods like \"setCustomDimension\" should be called before \"trackPageView\"
_paq.push([\"setDomains\", [\"*.ndh.de\",\"*.www.ndh.de\",\"ndhaefen-web-01.ndhaefen.recast-it.net\",\"*.ndhaefen-web-01.ndhaefen.recast-it.net\"]]);
_paq.push([\"enableCrossDomainLinking\"]);
_paq.push([\"setDoNotTrack\", true]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
_paq.push(['rememberConsentGiven']);
(function() {
var u=\"//ndhaefen-web-01.ndhaefen.recast-it.net/rc-matomo/\";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
}
});
cc.on( \"statusChanged\", ( ...args ) => {
var status = [...args];
console.log(status);
if (status[0] === \"cookieconsent_status_ANALYTICS\"
&& status[1] === \"ALLOW\") {
var _paq = window._paq = window._paq || [];
// tracker methods like \"setCustomDimension\" should be called before \"trackPageView\"
_paq.push([\"setDomains\", [\"*.ndh.de\",\"*.www.ndh.de\",\"ndhaefen-web-01.ndhaefen.recast-it.net\",\"*.ndhaefen-web-01.ndhaefen.recast-it.net\"]]);
_paq.push([\"enableCrossDomainLinking\"]);
_paq.push([\"setDoNotTrack\", true]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
_paq.push(['rememberConsentGiven']);
(function() {
var u=\"//ndhaefen-web-01.ndhaefen.recast-it.net/rc-matomo/\";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
}
\$(\".cc-window\").hide();
";
// line 434
echo "
});
cc.on( \"revokeChoice\", () => {
// Call revoke
\$(\".cc-window\").hide();
});
cc.on('popupClosed', function () {
cc.initCookies();
});
cc.on( \"error\", console.error );
cc.initCookies = function(grantAll = false) {
const allowedCategories = cc.getAllowedCategories(grantAll);
const scripts = cc.getScripts();
for (item of allowedCategories) {
if (scripts[item].length > 0) {
for (script of scripts[item]) {
cc.enableScript(script);
}
}
}
}
cc.getAllowedCategories = function(grantall = false) {
const permissions = [], allPermissions = [];
const userConsents = cc.consents;
for (const category in userConsents) {
allPermissions.push(category.toLowerCase());
if (userConsents[category] === 'ALLOW') {
permissions.push(category.toLowerCase())
}
}
return (!grantall) ? permissions : allPermissions;
}
cc.getScripts = function() {
// Get all scripts that are hooked by the CC plugin.
return {
uncategorized: document.querySelectorAll('[data-cc-consent-uncategorized]'),
essential: document.querySelectorAll('[data-cc-consent-essential]'),
personalization: document.querySelectorAll('[data-cc-consent-personalization]'),
analytics: document.querySelectorAll('[data-cc-consent-analytics]'),
marketing: document.querySelectorAll('[data-cc-consent-marketing]')
};
}
});
</script>
";
}
// line 486
echo "</body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 33
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 34
echo " ";
$this->loadTemplate("@SuluWebsite/Extension/seo.html.twig", "base.html.twig", 34)->display(twig_array_merge($context, ["seo" => ((twig_get_attribute($this->env, $this->source, // line 35
($context["extension"] ?? null), "seo", [], "any", true, true, false, 35)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, false, false, 35), [])) : ([])), "content" => (( // line 36
array_key_exists("content", $context)) ? (_twig_default_filter((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 36, $this->source); })()), [])) : ([])), "localizations" => (( // line 37
array_key_exists("localizations", $context)) ? (_twig_default_filter((isset($context["localizations"]) || array_key_exists("localizations", $context) ? $context["localizations"] : (function () { throw new RuntimeError('Variable "localizations" does not exist.', 37, $this->source); })()), [])) : ([])), "shadowBaseLocale" => (( // line 38
array_key_exists("shadowBaseLocale", $context)) ? (_twig_default_filter((isset($context["shadowBaseLocale"]) || array_key_exists("shadowBaseLocale", $context) ? $context["shadowBaseLocale"] : (function () { throw new RuntimeError('Variable "shadowBaseLocale" does not exist.', 38, $this->source); })()))) : ("")), "defaultLocale" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 39
(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, false, 39), "locale", [], "any", false, false, false, 39)]));
// line 41
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 63
public function block_style($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 145
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 950 => 145, 932 => 63, 922 => 41, 920 => 39, 919 => 38, 918 => 37, 917 => 36, 916 => 35, 914 => 34, 904 => 33, 893 => 486, 839 => 434, 793 => 380, 761 => 329, 757 => 328, 753 => 327, 749 => 326, 745 => 325, 741 => 324, 736 => 322, 727 => 320, 719 => 319, 711 => 314, 700 => 305, 697 => 304, 695 => 303, 693 => 302, 689 => 301, 685 => 300, 615 => 233, 611 => 232, 607 => 231, 603 => 230, 599 => 229, 595 => 228, 591 => 227, 587 => 226, 583 => 225, 579 => 224, 575 => 223, 571 => 222, 567 => 221, 563 => 220, 559 => 219, 555 => 218, 551 => 217, 547 => 216, 543 => 215, 538 => 213, 508 => 185, 497 => 183, 493 => 182, 485 => 176, 479 => 172, 476 => 171, 473 => 170, 458 => 168, 452 => 166, 450 => 165, 442 => 164, 439 => 163, 421 => 162, 418 => 161, 414 => 159, 407 => 157, 402 => 156, 400 => 155, 395 => 153, 390 => 150, 388 => 149, 384 => 146, 382 => 145, 374 => 139, 367 => 137, 363 => 135, 356 => 133, 352 => 131, 342 => 127, 338 => 126, 333 => 125, 329 => 124, 326 => 123, 324 => 122, 319 => 120, 315 => 119, 311 => 118, 307 => 117, 302 => 116, 298 => 115, 295 => 114, 293 => 113, 288 => 111, 284 => 110, 280 => 109, 276 => 108, 271 => 107, 266 => 106, 253 => 95, 241 => 86, 231 => 81, 223 => 76, 215 => 71, 211 => 70, 207 => 69, 203 => 68, 199 => 67, 193 => 66, 189 => 65, 186 => 64, 184 => 63, 176 => 58, 172 => 57, 168 => 56, 163 => 54, 158 => 52, 154 => 51, 150 => 50, 146 => 49, 142 => 48, 136 => 45, 132 => 44, 128 => 43, 125 => 42, 123 => 33, 114 => 27, 110 => 25, 106 => 23, 103 => 22, 100 => 21, 97 => 20, 95 => 19, 92 => 18, 90 => 17, 83 => 15, 80 => 14, 77 => 13, 74 => 12, 71 => 11, 68 => 10, 65 => 9, 62 => 8, 58 => 7, 56 => 6, 52 => 4, 50 => 3, 48 => 2, 46 => 1,);
}
public function getSourceContext()
{
return new Source("{% set is_homepage = (content.url == '/') ? true : false %}
{% set title = \"\" %}
{% if content.title is defined %}
{% set title = content.title ~ \" | NDH\" %}
{% endif %}
{% set subline = \"\" %}
{% for item in content.blocks %}
{% if item.type == \"heading_dynamic\" %}
{% if item.heading is defined and item.heading != \"\" %}
{% set subline = subline ~ item.heading %}
{% endif %}
{% if item.subline is defined and item.subline != \"\" %}
{% set subline = subline ~ \" - \" ~ item.subline %}
{% endif %}
{% endif %}
{% endfor %}
{% set media = sulu_content_path(\"/\") ~ \"/uploads/media/pageImage/05/715-NDH_DüsseldorfHafen_Containerterminal_nacht_DSC_0882.jpg?v=1-0\" %}
{% if (content.image is defined) and (content.image is not empty) %}
{% set socialImage = sulu_resolve_media(content.image, app.request.locale) %}
{% if socialImage is not null %}
{% set media = sulu_content_path(socialImage.thumbnails[\"pageImage\"]) %}
{% endif %}
{% endif %}
<!doctype html>
<html class=\"no-js\" lang=\"{{ app.request.locale|split('_')[0] }}\">
<head>
<meta charset=\"UTF-8\">
<meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
{% block meta %}
{% include \"@SuluWebsite/Extension/seo.html.twig\" with {
\"seo\": extension.seo|default([]),
\"content\": content|default([]),
\"localizations\": localizations|default([]),
\"shadowBaseLocale\": shadowBaseLocale|default(),
\"defaultLocale\": app.request.locale
} %}
{% endblock %}
<meta itemprop=\"name\" content=\"{{ extension.seo.title|default(title) }}\">
<meta itemprop=\"description\" content=\"{{ extension.seo.description|default(subline) }}\">
<meta itemprop=\"image\" content=\"{{ media }}\">
<meta property=\"twitter:card\" content=\"summary_large_image\">
<meta property=\"twitter:title\" content=\"{{ extension.seo.title|default(title) }}\">
<meta property=\"twitter:domain\" content=\"{{ app.request.host|default('ndh.de') }}\">
<meta property=\"twitter:url\" content=\"{{ sulu_content_path(content.url)|default('https://ndh.de') }}\">
<meta property=\"twitter:description\" content=\"{{ extension.seo.description|default(subline) }}\">
<meta property=\"twitter:image\" content=\"{{ media }}\">
<meta property=\"og:title\" content=\"{{ extension.seo.title|default(title) }}\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:url\" content=\"{{ sulu_content_path(content.url) }}\" />
<meta property=\"og:image\" content=\"{{ media }}\" />
<meta property=\"og:description\" content=\"{{ extension.seo.description|default(subline) }}\" />
<meta property=\"og:site_name\" content=\"NDH\" />
<meta name=\"google-site-verification\" content=\"lTalCtrbJkvln6o2b1ZGmY3tx1lpKd9j3pEJ6CkJ0eA\" />
{% block style %}{% endblock %}
<!-- Compressed CSS -->
<link rel=\"stylesheet\" href=\"{{ asset(\"/library/css/app.css\") }}\">
<link rel=\"stylesheet\" href=\"{{ asset(\"/library/css/style.css\") }}?v={{ \"now\"|date(\"YmdHis\") }}\">
<link rel=\"stylesheet\" href=\"{{ asset(\"/library/css/cookieconsent.css\") }}\">
<link rel=\"stylesheet\" href=\"{{ asset(\"/library/css/fontawesome.all.min.css\") }}\">
<link rel=\"stylesheet\" href=\"{{ asset(\"/library/css/motion-ui.min.css\") }}\" />
<link rel='stylesheet' href={{ asset(\"/library/css/slim-lightbox.min.css\") }} type='text/css' media='all'>
<script type=\"text/javascript\" src={{ asset(\"/library/js/slim-lightbox.min.js\") }}></script>
<style>
/* Custom play button image url */
div[class^=\"youtube-player\"] .play {
background: url({{ asset(\"/library/img/playbutton.png\") }}) no-repeat;
}
</style>
</head>
<body {% if is_homepage %}class=\"is-homepage\"{% endif %} data-sticky-container>
<div class=\"sticky header-bar\" data-sticky data-options=\"marginTop:0;\">
<div class=\"title-bar hide-for-large\" data-hide-for=\"large\" data-responsive-toggle=\"animated-menu\">
<a href=\"/\">
<img src=\"{{ asset(\"/library/img/NDH-Logo-small.png\") }}\" alt=\"NDH\" style=\"max-width: 209px;\">
</a>
<button class=\"menu-icon btn\" type=\"button\" data-toggle></button>
</div>
<header id=\"animated-menu\" class=\"top-bar nd-top-bar\" style=\"width:100%\">
<div class=\"top-bar-left\">
<nav class=\"grid-x grid-margin-x grid-padding-x align-justify align-middle\">
<div class=\"cell small-auto large-shrink text-center large-text-left show-for-large logocontainer\">
<a href=\"/\">
<img src=\"{{ asset(\"/library/img/NDH-Logo-small.png\") }}\" alt=\"NDH\" style=\"max-width: 209px;\">
</a>
</div>
<ul class=\"cell auto vertical menu large-horizontal align-special\"
data-responsive-menu=\"accordion large-dropdown\"
data-submenu-toggle=\"true\"
data-multi-open=\"false\"
data-hover-delay=\"50\"
data-closing-time=\"0\"
aria-label=\"Hauptmenü\">
{# This navigation doesn't need recursive logic because it's only 2 levels deep #}
{% for item in sulu_navigation_root_tree('main', 3) %}
<li {{ app.request.uri starts with sulu_content_path(item.url) ? 'class=\"is-active-special\"' : '' }}>
<a href=\"{{ sulu_content_path(item.url) }}\">
{{ item.title }}
{{ item.children|length > 0 ? '<span class=\"sub-arrow\"> <i class=\"fas fa-plus-square\"></i></span>' : '' }}
{{ app.request.uri starts with sulu_content_path(item.url) ? '<span class=\"sr-only\">(current)</span>' : '' }}
</a>
{% if item.children|length > 0 %}
<ul class=\"nested menu\">
{% for child in item.children %}
<li {{ app.request.uri starts with sulu_content_path(child.url) ? 'class=\"is-active\"' : '' }}>
<a href=\"{{ sulu_content_path(child.url) }}\">
{{ child.title }}
{{ child.children|length > 0 ? '<span class=\"sub-arrow\"> <i class=\"fas fa-plus-square\"></i></span>' : '' }}
{{ app.request.uri starts with sulu_content_path(child.url) ? '<span class=\"sr-only\">(current)</span>' : '' }}
</a>
{% if child.children|length > 0 %}
<ul class=\"nested menu\">
{% for grandchild in child.children %}
<li {{ app.request.uri starts with sulu_content_path(grandchild.url) ? 'class=\"is-active\"' : '' }}>
<a href=\"{{ sulu_content_path(grandchild.url) }}\">
{{ grandchild.title }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</nav>
</div>
</header>
</div>
<main>
{% block content %}{% endblock %}
</main>
{# Page-based breadcrumb section with custom News adaption #}
{% if app.request is defined %}
<nav aria-label=\"Sie sind hier:\" role=\"navigation\" class=\"large\">
<article class=\"grid-container\">
<ul class=\"breadcrumbs pull-width\">
{% if \"/news/\" in app.request.pathInfo %}<li>
<a href=\"/news\">News</a>
{% if news %}
<img aria-hidden=\"true\" class=\"nd-breadcrumb-icon\" src=\"{{ asset('/library/img/nd_icon_breadcrumbs.png') }}\" alt=\"ND Group Icon\" />
<a href=\"{{ app.request.pathInfo }}\" aria-current=\"page\">{{ news.title }}</a>
{% endif %}
</li>
{% else %}
{% if uuid is defined %}
{% for item in sulu_breadcrumb(uuid)|slice(1) %}
<li>
<a href=\"{{ sulu_content_path(item.url) }}\" {{ loop.last ? 'aria-current=\"page\"' : '' }}>{{ item.title }}</a>
{% if not loop.last %}
<img aria-hidden=\"true\" class=\"nd-breadcrumb-icon\" src=\"{{ asset('/library/img/nd_icon_breadcrumbs.png') }}\" alt=\"ND Group Icon\" />
{% endif %}
</li>
{% endfor %}
{% endif %}
{% endif %}
</ul>
</article>
</nav>
{% endif %}
<footer class=\"callout large primary\">
<article class=\"grid-container\">
<div class=\"grid-x pull-width\">
<div class=\"large-3 cell\">
<ul class=\"menu vertical\">
{% for item in sulu_navigation_root_tree('meta', 2) %}
<li><a href=\"{{ sulu_content_path(item.url) }}\" target=\"_self\">{{ item.title }}</a></li>
{% endfor %}
<li><a href=\"javascript:void(0);\" id=\"cc-revoke-choice\" target=\"_self\">Cookie-Einstellungen</a></li>
</ul>
</div>
<div class=\"large-4 large-offset-1 cell\">
<p><strong>Neuss-Düsseldorfer Häfen</strong><br>Hammer Landstraße 3<br>41460 Neuss<br>Tel.: +49
2131 5323-0<br>Fax: +49 2131 5323-105<br>E-Mail: <a href=\"mailto:info@nd-haefen.de\" class=\"contact-email\">info@nd-haefen.de</a>
</p>
<p><strong>Geschäftsführer:</strong><br>Ass. iur. Sascha Odermatt, Rechtsanwalt</p>
</div>
<div class=\"large-3 large-offset-1 cell\"><strong>NDH im Social Web</strong>
<div class=\"social-icons-wrapper d-flex justify-content-start gap-5 mt-2\">
<a href=\"https://www.facebook.com/NDHaefen\" target=\"_blank\" class=\"button-wrapper socialicon\">
<span class=\"btn btn-primary\"><i class=\"fab fa-facebook-f text-dark\"></i></span>
</a>
<a href=\"https://www.instagram.com/ndhaefen\" target=\"_blank\" class=\"button-wrapper socialicon\">
<span class=\"btn btn-primary\"><i class=\"fab fa-instagram text-dark\"></i></span>
</a>
<a href=\"https://de.linkedin.com/company/neuss-d%C3%BCsseldorfer-h%C3%A4fen-gmbh-&-co.-kg\" target=\"_blank\" class=\"button-wrapper socialicon\">
<span class=\"btn btn-primary\"><i class=\"fab fa-linkedin-in text-dark\"></i></span>
</a>
</div>
</div>
</div>
</article>
</footer>
<button class=\"scrollToTopBtn\" aria-description=\"An den Seitenanfang scrollen\">TOP</button>
<script src=\"{{ asset('/library/js/jquery-3.7.1.min.js') }}\"></script>
<!-- Compressed JavaScript -->
<script src=\"{{ asset('/library/js/foundation.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.core.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.util.mediaQuery.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.util.keyboard.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.util.motion.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.util.triggers.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.util.nest.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.util.touch.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.util.box.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.drilldown.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.accordion.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.accordionMenu.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.dropdown.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.dropdownMenu.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.responsiveMenu.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.responsiveToggle.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.orbit.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.sticky.min.js') }}\"></script>
<script src=\"{{ asset('/library/js/foundation.toggler.min.js') }}\"></script>
<script>
\$(document).foundation();
let scrollBefore = 0;
let ticking = false;
let hidden = false;
let lockHide = false;
let mobileIndicatorEl = document.querySelector('.title-bar');
let mobileIndicatorStyle = window.getComputedStyle ? getComputedStyle(mobileIndicatorEl, null) : mobileIndicatorEl.currentStyle;
let isMobile = (mobileIndicatorStyle.display !== \"none\");
document.querySelector('header').addEventListener('mouseenter', (e) => {
lockHide = true;
});
document.querySelector('header').addEventListener('mouseleave', (e) => {
lockHide = false;
});
window.addEventListener(\"scroll\", handleScroll);
// get a reference to our predefined button
var scrollToTopBtn = document.querySelector(\".scrollToTopBtn\");
function handleScroll() {
if (!isMobile) {
if (!ticking) {
window.requestAnimationFrame(() => {
const scrolled = window.scrollY;
if (scrollBefore > scrolled) {
if (hidden) {
ticking = true;
\$('header').fadeTo('fast', 1, () => { ticking = false; hidden = false; });
if(scrollToTopBtn.classList.contains(\"showScrollBtn\"))
scrollToTopBtn.classList.remove(\"showScrollBtn\")
} else {
ticking = false;
}
scrollBefore = scrolled;
} else {
if (!hidden && !lockHide) {
ticking = true;
\$('header').fadeTo('fast', 0, () => { ticking = false; hidden = true; });
if(!scrollToTopBtn.classList.contains(\"showScrollBtn\"))
scrollToTopBtn.classList.add(\"showScrollBtn\")
} else {
ticking = false;
}
scrollBefore = scrolled;
}
});
ticking = true;
}
}
}
scrollToTopBtn.addEventListener(\"click\", scrollToTop);
function scrollToTop() {
window.scrollTo({
top: 0,
behavior: \"smooth\"
});
}
function decryptEmail(encoded) {
var address = atob(encoded);
window.open(\"mailto:\" + address, '_blank') || window.location.replace(\"mailto:\" + address);
}
</script>
<script type='text/javascript' src={{ asset(\"/library/js/cookieconsent2.min.js\") }} id='cookieconsent-js' defer></script>
<link rel=\"stylesheet\" id=\"cookieconsent-css\" href={{ asset(\"/library//css/cookieconsent2.css\") }} type=\"text/css\" media=\"all\">
{% set snippets = sulu_snippet_load_by_area('cookieconsent') %}
{% if snippets %}
{% set cookies = snippets.content %}
<script defer>
window.addEventListener('load', function() {
const CC = window.CookieConsent;
const cc = new CC({
mode: 'disabled',
type: 'opt-in',
revokable: true,
consentSettingsElementId: 'cc-revoke-choice',
cookie: {
domain: '{{ app.request.host }}',
},
layout: 'categories',
showLink: false,
palette:{
popup: {background: \"{{ cookies.popup_bg|default(\"#FFFFFF\") }}\", text: \"{{ cookies.popup_text|default(\"#000000\") }}\", link: \"{{ cookies.popup_text|default(\"#000000\") }}\"},
button: {background: \"{{ cookies.button_bg|default(\"#0069b2\") }}\", text: \"{{ cookies.button_text|default(\"#FFFFFF\") }}\", link: \"{{ cookies.button_text|default(\"#FFFFFF\") }}\"},
},
position: '{{ cookies.position|default(\"bottom-left\") }}',
content: {
header: '{{ cookies.title }}',
message: `{{ cookies.description|raw }}`,
allow: '{{ cookies.btn_accept }}',
dismiss: '{{ cookies.btn_decline }}',
deny: '{{ cookies.btn_decline }}',
customize: '{{ cookies.btn_settings }}',
acceptSelected: \"Auswahl speichern\",
close: \"❌\",
policy: 'Cookie-Richtlinie',
target: '_blank',
link: 'Datenschutzerklärung',
href: '/datenschutz',
privacyPolicyLink: '/datenschutz',
cookiePolicyLink: '/datenschutz',
customizeHeader: '<strong>Ihre Einstellungen</strong>',
categoryUncategorizedDisplayName: 'Ohne Kategorie',
categoryEssentialDisplayName: 'Notwendige Cookies (immer aktiv)',
categoryPersonalizationDisplayName: 'Personalisierungs-Cookies',
categoryAnalyticsDisplayName: 'Analytische Cookies',
categoryMarketingDisplayName: 'Marketing Cookies',
categoryEssential: `Diese Cookies sind notwendig, damit diese Website ordnungsgemäß und sicher funktioniert.`,
categoryAnalytics: 'Diese Cookies sammeln Informationen über unsere Besucher, einschließlich des geografischen Standorts und der für den Zugriff auf die Website verwendeten Technologie. Wir fassen diese Daten zusammen und verwenden sie, um unsere Website und Produkte zu verbessern.',
customizeMessage: `Hier finden Sie eine Übersicht über die Cookies, die wir auf dieser Website verwenden. Bitte wählen Sie die Kategorien aus, mit denen Sie einverstanden sind:`,
},
elements: {
policiesLinks: '',
},
showCategories: {
[CC.UNCATEGORIZED]: false,
[CC.PERSONALIZATION]: false,
[CC.ESSENTIAL]: true,
[CC.ANALYTICS]: true,
[CC.MARKETING]: false,
},
{#
/*
overrideHTML: '<div role=\"dialog\" aria-live=\"polite\" aria-label=\"cookieconsent\" aria-describedby=\"cookieconsent:desc\" class=\"cc-window cc-floating cc-type-opt-in cc-theme-block cc-bottom cc-left cc-color-override--1391549038\" style=\"background-color:{{ cookies.popup_bg }};text-align: left;color: {{ cookies.popup_text }};font-family: \\'Open Sans\\', Sans-serif !important; font-size: 1em;font-weight: 400;font-style: normal; box-shadow: rgb(0 0 0 / 6%) 0px 0px 20px 10px\">' +
'<!--googleoff: all-->' +
'<span class=\"cc-header\">' +
'{{ cookies.title }}' +
'</span>' +
' ' +
'<span id=\"cookieconsent:desc\" class=\"cc-message\">' +
'{{ cookies.description|raw }}' +
'</span>' +
'<div class=\"cc-compliance cc-highlight\">' +
'<a aria-label=\"dismiss cookie message\" role=\"button\" tabindex=\"0\" class=\"cc-btn cc-DISMISS\" style=\"background-color: {{ cookies.button_bg }}; color: {{ cookies.button_text }}; border: none; text-decoration: none; font-family: \\'Open Sans\\', Sans-serif; text-transform: uppercase;\">{{ cookies.btn_decline }}</a>' +
'<a data-bs-toggle=\"modal\" data-bs-target=\"#ccSETTINGSmodal\" aria-label=\"settings cookie message\" role=\"button\" tabindex=\"0\" class=\"cc-btn cc-SETTINGS\" style=\"background-color: {{ cookies.button_bg }}; color: {{ cookies.button_text }}; border: none; text-decoration: none; font-family: \\'Open Sans\\', Sans-serif; text-transform: uppercase;\">{{ cookies.btn_settings }}</a>' +
'</div>' +
'<div class=\"cc-compliance\" style=\"margin-top: 10px;\">' +
'<a aria-label=\"allow cookies\" role=\"button\" tabindex=\"0\" class=\"cc-btn cc-ALLOW\" style=\"background-color: {{ cookies.button_bg }}; color: {{ cookies.button_text }}; border: none; text-decoration: none; font-family: \\'Open Sans\\', Sans-serif; text-transform: uppercase;\">{{ cookies.btn_accept }}</a>' +
'</div>' +
'<!--googleon: all-->' +
'</div>'
*/
#}
});
cc.on( \"initialized\", ( ...args ) => {
console.log(args);
const hasConsented = cc.popup.hasConsented().includes(true);
if (hasConsented) {
var _paq = window._paq = window._paq || [];
// tracker methods like \"setCustomDimension\" should be called before \"trackPageView\"
_paq.push([\"setDomains\", [\"*.ndh.de\",\"*.www.ndh.de\",\"ndhaefen-web-01.ndhaefen.recast-it.net\",\"*.ndhaefen-web-01.ndhaefen.recast-it.net\"]]);
_paq.push([\"enableCrossDomainLinking\"]);
_paq.push([\"setDoNotTrack\", true]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
_paq.push(['rememberConsentGiven']);
(function() {
var u=\"//ndhaefen-web-01.ndhaefen.recast-it.net/rc-matomo/\";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
}
});
cc.on( \"statusChanged\", ( ...args ) => {
var status = [...args];
console.log(status);
if (status[0] === \"cookieconsent_status_ANALYTICS\"
&& status[1] === \"ALLOW\") {
var _paq = window._paq = window._paq || [];
// tracker methods like \"setCustomDimension\" should be called before \"trackPageView\"
_paq.push([\"setDomains\", [\"*.ndh.de\",\"*.www.ndh.de\",\"ndhaefen-web-01.ndhaefen.recast-it.net\",\"*.ndhaefen-web-01.ndhaefen.recast-it.net\"]]);
_paq.push([\"enableCrossDomainLinking\"]);
_paq.push([\"setDoNotTrack\", true]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
_paq.push(['rememberConsentGiven']);
(function() {
var u=\"//ndhaefen-web-01.ndhaefen.recast-it.net/rc-matomo/\";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
}
\$(\".cc-window\").hide();
{#
// TODO:
//Matomo akin to https://developer.matomo.org/guides/tracking-consent
//implement with
// remember tracking consent was given for all subsequent page views and visits
//_paq.push(['rememberConsentGiven']);
// OR remember cookie consent was given for all subsequent page views and visits
//_paq.push(['rememberCookieConsentGiven']);
#}
});
cc.on( \"revokeChoice\", () => {
// Call revoke
\$(\".cc-window\").hide();
});
cc.on('popupClosed', function () {
cc.initCookies();
});
cc.on( \"error\", console.error );
cc.initCookies = function(grantAll = false) {
const allowedCategories = cc.getAllowedCategories(grantAll);
const scripts = cc.getScripts();
for (item of allowedCategories) {
if (scripts[item].length > 0) {
for (script of scripts[item]) {
cc.enableScript(script);
}
}
}
}
cc.getAllowedCategories = function(grantall = false) {
const permissions = [], allPermissions = [];
const userConsents = cc.consents;
for (const category in userConsents) {
allPermissions.push(category.toLowerCase());
if (userConsents[category] === 'ALLOW') {
permissions.push(category.toLowerCase())
}
}
return (!grantall) ? permissions : allPermissions;
}
cc.getScripts = function() {
// Get all scripts that are hooked by the CC plugin.
return {
uncategorized: document.querySelectorAll('[data-cc-consent-uncategorized]'),
essential: document.querySelectorAll('[data-cc-consent-essential]'),
personalization: document.querySelectorAll('[data-cc-consent-personalization]'),
analytics: document.querySelectorAll('[data-cc-consent-analytics]'),
marketing: document.querySelectorAll('[data-cc-consent-marketing]')
};
}
});
</script>
{% endif %}
</body>
</html>", "base.html.twig", "/var/www/vhosts/previews/nd-haefen/templates/base.html.twig");
}
}