<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* pages/cms/content-types/ct_category.html.twig */
class __TwigTemplate_8916984ed6900beb439c33a4b7dd44d4 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $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 = []): iterable
{
$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", "pages/cms/content-types/ct_category.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/cms/content-types/ct_category.html.twig"));
// line 1
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["cmsContent"] ?? null), "content", [], "any", false, true, false, 1), "body", [], "any", true, true, false, 1) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 1, $this->source); })()), "content", [], "any", false, false, false, 1), "body", [], "any", false, false, false, 1)) > 0))) {
// line 2
yield " ";
yield from $this->load("pages/cms/content-types/ct_content_page.html.twig", 2)->unwrap()->yield($context);
} else {
// line 4
yield " ";
if (array_key_exists("slots", $context)) {
// line 5
yield " ";
yield from $this->load("pages/cms/content-types/ct_category.html.twig", 5, "109676962")->unwrap()->yield(CoreExtension::merge($context, ["slots" => // line 6
(isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 6, $this->source); })()), "modifier" => "catalog--es-overview"]));
// line 15
yield " ";
}
}
// line 17
yield "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/cms/content-types/ct_category.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 65 => 17, 61 => 15, 59 => 6, 57 => 5, 54 => 4, 50 => 2, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% if cmsContent.content.body is defined and cmsContent.content.body|length > 0%}
{% include 'pages/cms/content-types/ct_content_page.html.twig' %}
{% else %}
{% if slots is defined %}
{% embed 'components/organisms/catalog/catalog.html.twig' with {
slots: slots,
modifier: 'catalog--es-overview'
} %}
{% block catalogSidebar %}
{% include 'components/organisms/es-sidebar/es-sidebar.html.twig' with {
class: 'catalog-sidebar--es-sidebar',
}%}
{% endblock %}
{% endembed %}
{% endif %}
{% endif %}
", "pages/cms/content-types/ct_category.html.twig", "/var/www/html/templates/default/pages/cms/content-types/ct_category.html.twig");
}
}
/* pages/cms/content-types/ct_category.html.twig */
class __TwigTemplate_8916984ed6900beb439c33a4b7dd44d4___109676962 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'catalogSidebar' => [$this, 'block_catalogSidebar'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 5
return "components/organisms/catalog/catalog.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "pages/cms/content-types/ct_category.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/cms/content-types/ct_category.html.twig"));
$this->parent = $this->load("components/organisms/catalog/catalog.html.twig", 5);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 9
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_catalogSidebar(array $context, array $blocks = []): iterable
{
$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", "catalogSidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "catalogSidebar"));
// line 10
yield " ";
yield from $this->load("components/organisms/es-sidebar/es-sidebar.html.twig", 10)->unwrap()->yield(CoreExtension::merge($context, ["class" => "catalog-sidebar--es-sidebar"]));
// line 13
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/cms/content-types/ct_category.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 186 => 13, 183 => 10, 170 => 9, 147 => 5, 65 => 17, 61 => 15, 59 => 6, 57 => 5, 54 => 4, 50 => 2, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% if cmsContent.content.body is defined and cmsContent.content.body|length > 0%}
{% include 'pages/cms/content-types/ct_content_page.html.twig' %}
{% else %}
{% if slots is defined %}
{% embed 'components/organisms/catalog/catalog.html.twig' with {
slots: slots,
modifier: 'catalog--es-overview'
} %}
{% block catalogSidebar %}
{% include 'components/organisms/es-sidebar/es-sidebar.html.twig' with {
class: 'catalog-sidebar--es-sidebar',
}%}
{% endblock %}
{% endembed %}
{% endif %}
{% endif %}
", "pages/cms/content-types/ct_category.html.twig", "/var/www/html/templates/default/pages/cms/content-types/ct_category.html.twig");
}
}