<?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;
/* @NotarisFrontend/module/mod_subsubmenu.html.twig */
class __TwigTemplate_cbd1c389bd28cbdb4a631b118fb466ca extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "@NotarisFrontend/module/mod_subsubmenu.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/module/mod_subsubmenu.html.twig"));
// line 2
echo "<div class=\"c-nav--subsubnav c-subsubnav u-color-white js-subsubnav\" data-bgcolor=\"";
echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color", $context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.', 2, $this->source); })()), "html", null, true);
echo "\">
<div class=\"c-subsubnav__left u-1/3 u-bg-white o-flex o-flex--stretch-items\">
<div class=\"c-subsubnav--meta u-bg-";
// line 4
echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color", $context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.', 4, $this->source); })()), "html", null, true);
echo "--opacity80 u-padding-top-small u-padding-horizontal-large u-padding-horizontal-small@tablet u-text-left\">
";
// line 5
if ((((isset($context["lastPart"]) || array_key_exists("lastPart", $context) ? $context["lastPart"] : (function () { throw new RuntimeError('Variable "lastPart" does not exist.', 5, $this->source); })()) == twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 5, $this->source); })()), "slug", [], "any", false, false, false, 5)) && !array_key_exists("section", $context))) {
// line 6
echo " <h2 class=\"u-padding-top-tiny u-text-lineheight-normal u-h2@desktop\">";
echo twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 6, $this->source); })()), "oneliner", [], "any", false, false, false, 6);
echo "</h2>
";
} else {
// line 8
echo " <div class=\"u-padding-top-tiny u-text-lineheight-normal u-h2@desktop c-h2\" style=\"letter-spacing: 0; margin-bottom: 22px;\">";
echo twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 8, $this->source); })()), "oneliner", [], "any", false, false, false, 8);
echo "</div>
";
}
// line 10
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 10, $this->source); })()), "slug", [], "any", false, false, false, 10)]), "html", null, true);
echo "\" class=\"c-btn c-btn--small c-btn--subsubnav o-flex u-text-left u-bg-";
echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color", $context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.', 10, $this->source); })()), "html", null, true);
echo " u-margin-bottom-tiny\">
<span class=\"u-h3 u-text-bold\">";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("md_start"), "html", null, true);
echo "</span>
<span class=\"c-btn c-btn__next c-btn__next--white c-btn--empty\"></span>
</a>
<ul class=\"o-list-bare\">
<li class=\"o-list-bare__item c-subsubnav__item c-subsubnav__item-full";
// line 15
if (twig_in_filter("notaris_frontend_subsite_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.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "get", [0 => "_route"], "method", false, false, false, 15))) {
echo " active";
}
echo "\">
<a href=\"";
// line 16
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite_news", ["subsiteslug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 16, $this->source); })()), "slug", [], "any", false, false, false, 16)]), "html", null, true);
echo "\" class=\"c-subsubnav__link u-padding-left-none\" title=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sn_actueel");
echo "\">
";
// line 17
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sn_actueel");
echo "
</a>
</li>
<li class=\"o-list-bare__item c-subsubnav__item c-subsubnav__item-full";
// line 20
if (twig_in_filter("notaris_frontend_faq_subsite", 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), "get", [0 => "_route"], "method", false, false, false, 20))) {
echo " active";
}
echo "\">
<a href=\"";
// line 21
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_faq_subsite", ["subsiteSlug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 21, $this->source); })()), "slug", [], "any", false, false, false, 21)]), "html", null, true);
echo "\" class=\"c-subsubnav__link u-padding-left-none\" title=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sn_vragenenantwoorden");
echo "\">
";
// line 22
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sn_vragenenantwoorden");
echo "
</a>
</li>
<li class=\"o-list-bare__item c-subsubnav__item c-subsubnav__item-full";
// line 25
if (twig_in_filter("notaris_frontend_brochures", 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.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "get", [0 => "_route"], "method", false, false, false, 25))) {
echo " active";
}
echo "\">
<a href=\"";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_brochures", ["subsiteSlug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 26, $this->source); })()), "slug", [], "any", false, false, false, 26)]), "html", null, true);
echo "\" class=\"c-subsubnav__link u-padding-left-none\" title=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("md_publi");
echo "\">
";
// line 27
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("md_publi");
echo "
</a>
</li>
<li class=\"o-list-bare__item c-subsubnav__item c-subsubnav__item-full";
// line 30
if (twig_in_filter("notaris_frontend_tv_detail", 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.', 30, $this->source); })()), "request", [], "any", false, false, false, 30), "get", [0 => "_route"], "method", false, false, false, 30))) {
echo " active";
}
echo "\">
<a href=\"";
// line 31
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tv_detail", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 31, $this->source); })()), "slug", [], "any", false, false, false, 31)]), "html", null, true);
echo "\" class=\"c-subsubnav__link u-padding-left-none\" title=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sv_notaristv");
echo "\">
";
// line 32
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sv_notaristv");
echo "
</a>
</li>
</ul>
</div>
</div>
<div class=\"c-subsubnav__right u-2/3 u-bg-";
// line 39
echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color", $context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.', 39, $this->source); })()), "html", null, true);
echo "\">
<ul class=\"o-list-bare o-flex o-flex--wrap u-padding-top-small u-padding-horizontal-large u-padding-horizontal-small@tablet\">
";
// line 41
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 41, $this->source); })()), "sections", [], "any", false, false, false, 41), function ($__section__) use ($context, $macros) { $context["section"] = $__section__; return (((null === twig_get_attribute($this->env, $this->source, $context["section"], "parent", [], "any", false, false, false, 41)) && twig_get_attribute($this->env, $this->source, $context["section"], "isActive", [], "any", false, false, false, 41)) && twig_get_attribute($this->env, $this->source, $context["section"], "showNavigation", [], "any", false, false, false, 41)); }));
foreach ($context['_seq'] as $context["_key"] => $context["section"]) {
// line 42
echo " <li class=\"o-list-bare__item c-subsubnav__item";
if (array_key_exists("currentslug", $context)) {
if (((isset($context["currentslug"]) || array_key_exists("currentslug", $context) ? $context["currentslug"] : (function () { throw new RuntimeError('Variable "currentslug" does not exist.', 42, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["section"], "slug", [], "any", false, false, false, 42))) {
echo " active";
}
}
echo "\">
<a href=\"";
// line 43
if (twig_get_attribute($this->env, $this->source, $context["section"], "redirectUrl", [], "any", false, false, false, 43)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["section"], "redirectUrl", [], "any", false, false, false, 43), "html", null, true);
} else {
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite_detail", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 43, $this->source); })()), "slug", [], "any", false, false, false, 43), "slugdetail" => twig_get_attribute($this->env, $this->source, $context["section"], "slug", [], "any", false, false, false, 43)]), "html", null, true);
}
echo "\" class=\"c-subsubnav__link\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["section"], "navigation", [], "any", false, false, false, 43);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["section"], "navigation", [], "any", false, false, false, 43);
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['section'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 46
echo " </ul>
</div>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@NotarisFrontend/module/mod_subsubmenu.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 192 => 46, 175 => 43, 166 => 42, 162 => 41, 157 => 39, 147 => 32, 141 => 31, 135 => 30, 129 => 27, 123 => 26, 117 => 25, 111 => 22, 105 => 21, 99 => 20, 93 => 17, 87 => 16, 81 => 15, 74 => 11, 67 => 10, 61 => 8, 55 => 6, 53 => 5, 49 => 4, 43 => 2,);
}
public function getSourceContext()
{
return new Source("{# SubSubmenu #}
<div class=\"c-nav--subsubnav c-subsubnav u-color-white js-subsubnav\" data-bgcolor=\"{{ color }}\">
<div class=\"c-subsubnav__left u-1/3 u-bg-white o-flex o-flex--stretch-items\">
<div class=\"c-subsubnav--meta u-bg-{{ color }}--opacity80 u-padding-top-small u-padding-horizontal-large u-padding-horizontal-small@tablet u-text-left\">
{% if lastPart == subsite.slug and section is not defined %}
<h2 class=\"u-padding-top-tiny u-text-lineheight-normal u-h2@desktop\">{{ subsite.oneliner | raw }}</h2>
{% else %}
<div class=\"u-padding-top-tiny u-text-lineheight-normal u-h2@desktop c-h2\" style=\"letter-spacing: 0; margin-bottom: 22px;\">{{ subsite.oneliner | raw }}</div>
{% endif %}
<a href=\"{{ path('notaris_frontend_subsite', {'slug': subsite.slug}) }}\" class=\"c-btn c-btn--small c-btn--subsubnav o-flex u-text-left u-bg-{{ color }} u-margin-bottom-tiny\">
<span class=\"u-h3 u-text-bold\">{{ \"md_start\" | trans }}</span>
<span class=\"c-btn c-btn__next c-btn__next--white c-btn--empty\"></span>
</a>
<ul class=\"o-list-bare\">
<li class=\"o-list-bare__item c-subsubnav__item c-subsubnav__item-full{% if 'notaris_frontend_subsite_news' in app.request.get('_route') %} active{% endif %}\">
<a href=\"{{ path('notaris_frontend_subsite_news', {'subsiteslug': subsite.slug}) }}\" class=\"c-subsubnav__link u-padding-left-none\" title=\"{{ \"sn_actueel\" | trans | raw }}\">
{{ \"sn_actueel\" | trans | raw }}
</a>
</li>
<li class=\"o-list-bare__item c-subsubnav__item c-subsubnav__item-full{% if 'notaris_frontend_faq_subsite' in app.request.get('_route') %} active{% endif %}\">
<a href=\"{{ path('notaris_frontend_faq_subsite',{ 'subsiteSlug': subsite.slug}) }}\" class=\"c-subsubnav__link u-padding-left-none\" title=\"{{ \"sn_vragenenantwoorden\" | trans | raw }}\">
{{ \"sn_vragenenantwoorden\" | trans | raw }}
</a>
</li>
<li class=\"o-list-bare__item c-subsubnav__item c-subsubnav__item-full{% if 'notaris_frontend_brochures' in app.request.get('_route') %} active{% endif %}\">
<a href=\"{{ path('notaris_frontend_brochures',{'subsiteSlug': subsite.slug}) }}\" class=\"c-subsubnav__link u-padding-left-none\" title=\"{{ \"md_publi\" | trans | raw }}\">
{{ \"md_publi\" | trans | raw }}
</a>
</li>
<li class=\"o-list-bare__item c-subsubnav__item c-subsubnav__item-full{% if 'notaris_frontend_tv_detail' in app.request.get('_route') %} active{% endif %}\">
<a href=\"{{ path('notaris_frontend_tv_detail', {'slug': subsite.slug}) }}\" class=\"c-subsubnav__link u-padding-left-none\" title=\"{{ \"sv_notaristv\" | trans | raw }}\">
{{ \"sv_notaristv\" | trans | raw }}
</a>
</li>
</ul>
</div>
</div>
<div class=\"c-subsubnav__right u-2/3 u-bg-{{ color }}\">
<ul class=\"o-list-bare o-flex o-flex--wrap u-padding-top-small u-padding-horizontal-large u-padding-horizontal-small@tablet\">
{% for section in subsite.sections|filter(section => section.parent is null and section.isActive and section.showNavigation) %}
<li class=\"o-list-bare__item c-subsubnav__item{% if currentslug is defined %}{% if currentslug == section.slug %} active{% endif %}{% endif %}\">
<a href=\"{% if section.redirectUrl %}{{ section.redirectUrl }}{% else %}{{ path('notaris_frontend_subsite_detail', {'slug': subsite.slug, 'slugdetail': section.slug }) }}{% endif %}\" class=\"c-subsubnav__link\" title=\"{{ section.navigation | raw }}\">{{ section.navigation | raw }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
", "@NotarisFrontend/module/mod_subsubmenu.html.twig", "/data/sites/web/notarisdc-projectsbe/subsites/apps/default/releases/7/src/Notaris/FrontendBundle/Resources/views/module/mod_subsubmenu.html.twig");
}
}