<?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;
/* wh_basic.twig */
class __TwigTemplate_4f372b32a9e826360c49033f68a75492fb203cc07a91587b09e2c3bf3439a0e3 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main_content' => [$this, 'block_main_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "wh_basic.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "wh_basic.twig"));
$this->parent = $this->loadTemplate("layout.twig", "wh_basic.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_main_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
// line 4
echo " ";
$context["microtemplate"] = twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "microtemplate", [], "any", false, false, false, 4);
// line 5
echo "
";
// line 6
$context["timezone"] = "Europe/Vienna";
// line 7
echo " ";
$context["dateFormat"] = "%B %d, %Y - %R CEST";
// line 8
echo "
";
// line 9
if ((($context["microtemplate"] ?? null) == "service")) {
// line 10
echo " ";
$context["microtemplate"] = "Service";
// line 11
echo " ";
}
// line 12
echo "
";
// line 13
if (twig_in_filter("/career/new", twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 13))) {
// line 14
echo " ";
$context["isCareerJobDetailLayout"] = true;
// line 15
echo " ";
}
// line 16
echo "
";
// line 17
if ($this->extensions['App\Twig\TwigExtension']->isNewsroomRefreshEnabledForLanguage(twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "lang", [], "any", false, false, false, 17))) {
// line 18
echo " ";
if ((((twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "microtemplate", [], "any", false, false, false, 18) == "newsroom_content") || (twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "microtemplate", [], "any", false, false, false, 18) == "newsroom_refresh_category_overview")) || twig_in_filter("/promotions", twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 18)))) {
// line 19
echo " ";
$context["isNewsroomLayout"] = true;
// line 20
echo " ";
}
// line 21
echo "
";
// line 22
if (twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "teaserOverviewPath", [], "any", false, false, false, 22)) {
// line 23
echo " ";
$context["path"] = twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "teaserOverviewPath", [], "any", false, false, false, 23);
// line 24
echo " ";
$context["isNewsroomLayout"] = true;
// line 25
echo " ";
}
// line 26
echo "
";
// line 27
if ((twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "is_dynamic", [], "any", false, false, false, 27) && (twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "microtemplate", [], "any", false, false, false, 27) == "articledetail"))) {
// line 28
echo " ";
$context["microtemplate"] = "article";
// line 29
echo " ";
$context["isNewsroomLayout"] = true;
// line 30
echo " ";
$context["isNewsroomArticleDetail"] = true;
// line 31
echo " ";
$context["mainContentContainer"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 31), "content", [], "any", false, false, false, 31)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 31), "content", [], "any", false, false, false, 31)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 31), "container_151", [], "any", false, false, false, 31)));
// line 32
echo " ";
$context["type"] = (((((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 32), "/")) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[0] ?? null) : null) . "/") . (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 32), "/")) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[1] ?? null) : null)) . "/") . (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 32), "/")) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b[2] ?? null) : null));
// line 33
echo " ";
}
// line 34
echo "
";
// line 35
if ((twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 35) == "/newsroom/newsarticle")) {
// line 36
echo " ";
$context["type"] = "news";
// line 37
echo " ";
$context["microtemplate"] = "article";
// line 38
echo " ";
$context["mainContentContainer"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 38), "content", [], "any", false, false, false, 38)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 38), "content", [], "any", false, false, false, 38)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 38), "container_151", [], "any", false, false, false, 38)));
// line 39
echo " ";
$context["isNewsroomLayout"] = true;
// line 40
echo " ";
$context["isNewsroomArticleDetail"] = true;
// line 41
echo " ";
}
// line 42
echo "
";
// line 43
if ((twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 43) == "/newsroom/webinar/archive")) {
// line 44
echo " ";
$context["type"] = "webinar";
// line 45
echo " ";
$context["microtemplate"] = "article";
// line 46
echo " ";
$context["mainContentContainer"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 46), "content", [], "any", false, false, false, 46)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 46), "content", [], "any", false, false, false, 46)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 46), "container_151", [], "any", false, false, false, 46)));
// line 47
echo " ";
$context["isNewsroomLayout"] = true;
// line 48
echo " ";
$context["isNewsroomArticleDetail"] = true;
// line 49
echo " ";
}
// line 50
echo "
";
// line 51
if ((twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 51) == "/newsroom/kurzmalweg/artikel")) {
// line 52
echo " ";
$context["type"] = "kurz-mal-weg";
// line 53
echo " ";
$context["microtemplate"] = "article";
// line 54
echo " ";
$context["mainContentContainer"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 54), "content", [], "any", false, false, false, 54)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 54), "content", [], "any", false, false, false, 54)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 54), "container_151", [], "any", false, false, false, 54)));
// line 55
echo " ";
$context["isNewsroomLayout"] = true;
// line 56
echo " ";
$context["isNewsroomArticleDetail"] = true;
// line 57
echo " ";
}
// line 58
echo "
";
// line 59
if ((twig_get_attribute($this->env, $this->source, ($context["category"] ?? null), "family_id", [], "any", false, false, false, 59) == "/newsroom/reportsandstudies/article")) {
// line 60
echo " ";
$context["type"] = "reports-and-studies";
// line 61
echo " ";
$context["microtemplate"] = "article";
// line 62
echo " ";
$context["mainContentContainer"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 62), "content", [], "any", false, false, false, 62)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 62), "content", [], "any", false, false, false, 62)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["story"] ?? null), "content", [], "any", false, false, false, 62), "container_151", [], "any", false, false, false, 62)));
// line 63
echo " ";
$context["isNewsroomLayout"] = true;
// line 64
echo " ";
$context["isNewsroomArticleDetail"] = true;
// line 65
echo " ";
}
// line 66
echo " ";
}
// line 67
echo "
";
// line 68
$this->loadTemplate((("microtemplates/ct_" . ($context["microtemplate"] ?? null)) . ".twig"), "wh_basic.twig", 68)->display(twig_array_merge($context, ["story" => ($context["story"] ?? null), "type" => ($context["type"] ?? null), "mainContentContainer" => ($context["mainContentContainer"] ?? null), "path" => ($context["path"] ?? null)]));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "wh_basic.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 250 => 68, 247 => 67, 244 => 66, 241 => 65, 238 => 64, 235 => 63, 232 => 62, 229 => 61, 226 => 60, 224 => 59, 221 => 58, 218 => 57, 215 => 56, 212 => 55, 209 => 54, 206 => 53, 203 => 52, 201 => 51, 198 => 50, 195 => 49, 192 => 48, 189 => 47, 186 => 46, 183 => 45, 180 => 44, 178 => 43, 175 => 42, 172 => 41, 169 => 40, 166 => 39, 163 => 38, 160 => 37, 157 => 36, 155 => 35, 152 => 34, 149 => 33, 146 => 32, 143 => 31, 140 => 30, 137 => 29, 134 => 28, 132 => 27, 129 => 26, 126 => 25, 123 => 24, 120 => 23, 118 => 22, 115 => 21, 112 => 20, 109 => 19, 106 => 18, 104 => 17, 101 => 16, 98 => 15, 95 => 14, 93 => 13, 90 => 12, 87 => 11, 84 => 10, 82 => 9, 79 => 8, 76 => 7, 74 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout.twig' %}
{% block main_content %}
{% set microtemplate = category.microtemplate %}
{% set timezone = 'Europe/Vienna' %}
{% set dateFormat = '%B %d, %Y - %R CEST' %}
{% if microtemplate == 'service' %}
{% set microtemplate = 'Service' %}
{% endif %}
{% if '/career/new' in category.family_id %}
{% set isCareerJobDetailLayout = true %}
{% endif %}
{% if isNewsroomRefreshEnabledForLanguage(category.lang) %}
{% if category.microtemplate == 'newsroom_content' or category.microtemplate == 'newsroom_refresh_category_overview' or '/promotions' in category.family_id %}
{% set isNewsroomLayout = true %}
{% endif %}
{% if category.teaserOverviewPath %}
{% set path = category.teaserOverviewPath %}
{% set isNewsroomLayout = true %}
{% endif %}
{% if category.is_dynamic and category.microtemplate == 'articledetail' %}
{% set microtemplate = 'article' %}
{% set isNewsroomLayout = true %}
{% set isNewsroomArticleDetail = true %}
{% set mainContentContainer = story.content.content ? story.content.content : story.content.container_151 %}
{% set type = category.family_id|split('/')[0] ~ '/' ~ category.family_id|split('/')[1] ~ '/' ~ category.family_id|split('/')[2] %}
{% endif %}
{% if category.family_id == '/newsroom/newsarticle' %}
{% set type = 'news' %}
{% set microtemplate = 'article' %}
{% set mainContentContainer = story.content.content ? story.content.content : story.content.container_151 %}
{% set isNewsroomLayout = true %}
{% set isNewsroomArticleDetail = true %}
{% endif %}
{% if category.family_id == '/newsroom/webinar/archive' %}
{% set type = 'webinar' %}
{% set microtemplate = 'article' %}
{% set mainContentContainer = story.content.content ? story.content.content : story.content.container_151 %}
{% set isNewsroomLayout = true %}
{% set isNewsroomArticleDetail = true %}
{% endif %}
{% if category.family_id == '/newsroom/kurzmalweg/artikel' %}
{% set type = 'kurz-mal-weg' %}
{% set microtemplate = 'article' %}
{% set mainContentContainer = story.content.content ? story.content.content : story.content.container_151 %}
{% set isNewsroomLayout = true %}
{% set isNewsroomArticleDetail = true %}
{% endif %}
{% if category.family_id == '/newsroom/reportsandstudies/article' %}
{% set type = 'reports-and-studies' %}
{% set microtemplate = 'article' %}
{% set mainContentContainer = story.content.content ? story.content.content : story.content.container_151 %}
{% set isNewsroomLayout = true %}
{% set isNewsroomArticleDetail = true %}
{% endif %}
{% endif %}
{% include \"microtemplates/ct_\" ~ microtemplate ~ '.twig' with {'story': story, type, mainContentContainer, path } %}
{% endblock %}
", "wh_basic.twig", "/var/app/current/templates/wh_basic.twig");
}
}