<?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;
/* product_category/layouts/_sub.html.twig */
class __TwigTemplate_05a9a44dad3fedafddc29d0e32789c54798068e34e3c9c3125537e62c7fe5779 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 = [
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "product_category/layouts/_sub.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "product_category/layouts/_sub.html.twig"));
// line 1
$context["breadcrumbs"] = [];
// line 2
yield "
";
// line 3
if ((array_key_exists("childCategoriesObjects", $context) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["childCategoriesObjects"]) || array_key_exists("childCategoriesObjects", $context) ? $context["childCategoriesObjects"] : (function () { throw new RuntimeError('Variable "childCategoriesObjects" does not exist.', 3, $this->source); })())) == 0))) {
// line 4
yield " ";
$context["breadcrumbs"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 4, $this->source); })()), 4, $this->source), [["title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Producten"), "anchor" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("table-anchor")]]);
}
// line 9
yield "
";
// line 10
if ((array_key_exists("childCategoriesObjects", $context) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["childCategoriesObjects"]) || array_key_exists("childCategoriesObjects", $context) ? $context["childCategoriesObjects"] : (function () { throw new RuntimeError('Variable "childCategoriesObjects" does not exist.', 10, $this->source); })())) > 0))) {
// line 11
yield " ";
$context["breadcrumbs"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 11, $this->source); })()), 11, $this->source), [["title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Aanbod"), "anchor" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products-anchor")]]);
}
// line 16
yield "
";
// line 17
$context["breadcrumbs"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 17, $this->source); })()), 17, $this->source), [["title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Toepassingen"), "anchor" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("applications-anchor")]]);
// line 21
yield "
";
// line 22
$context["breadcrumbs"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 22, $this->source); })()), 22, $this->source), [["title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Werking en accessoires"), "anchor" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("method-and-acccessoires-anchor")]]);
// line 26
yield "
";
// line 27
$context["breadcrumbs"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 27, $this->source); })()), 27, $this->source), [["title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Gebruik"), "anchor" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("usage-anchor")]]);
// line 31
yield "
";
// line 32
$context["breadcrumbs"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 32, $this->source); })()), 32, $this->source), [["title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Veelgestelde vragen"), "anchor" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("faq-anchor")]]);
// line 36
yield "
";
// line 37
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "content-brick-1", ["type" => "content-brick", "params" => ["content-brick" => ["containerClasses" => "md:py-20", "productCategory" => $this->sandbox->ensureToStringAllowed( // line 42
(isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 42, $this->source); })()), 42, $this->source), "forceH1" => true, "defaultLayout" => "text-gallery", "defaultBackgroundColor" => "bg-white", "defaultInverted" => true, "defaultTitle" => (((CoreExtension::getAttribute($this->env, $this->source, // line 47
($context["productCategory"] ?? null), "title", [], "any", true, true, true, 47) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["productCategory"] ?? null), "title", [], "any", false, false, true, 47)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["productCategory"] ?? null), "title", [], "any", false, false, true, 47)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 47, $this->source); })()), "title", [], "any", false, false, true, 47))), "defaultHeadline" => (((CoreExtension::getAttribute($this->env, $this->source, // line 48
($context["productCategory"] ?? null), "subtitle", [], "any", true, true, true, 48) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["productCategory"] ?? null), "subtitle", [], "any", false, false, true, 48)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["productCategory"] ?? null), "subtitle", [], "any", false, false, true, 48)) : (null)), "defaultWysiwyg" => (((CoreExtension::getAttribute($this->env, $this->source, // line 49
($context["productCategory"] ?? null), "desc", [], "any", true, true, true, 49) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["productCategory"] ?? null), "desc", [], "any", false, false, true, 49)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["productCategory"] ?? null), "desc", [], "any", false, false, true, 49)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 49, $this->source); })()), "description", [], "any", false, false, true, 49))), "defaultGalleryItems" => (((CoreExtension::getAttribute($this->env, $this->source, // line 50
($context["productCategory"] ?? null), "mediaGalleryItems", [], "any", true, true, true, 50) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 50, $this->source); })()), "mediaGalleryItems", [], "any", false, false, true, 50), 50, $this->source)) > 1))) ? (Twig\Extension\CoreExtension::slice($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 50, $this->source); })()), "mediaGalleryItems", [], "any", false, false, true, 50), 50, $this->source), 1, 4)) : (null)), "defaultSecondaryLink" => ((( // line 51
array_key_exists("childCategoriesObjects", $context) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), $this->sandbox->ensureToStringAllowed((isset($context["childCategoriesObjects"]) || array_key_exists("childCategoriesObjects", $context) ? $context["childCategoriesObjects"] : (function () { throw new RuntimeError('Variable "childCategoriesObjects" does not exist.', 51, $this->source); })()), 51, $this->source)) == 0))) ? (["title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Bekijk de {{ productCategory }}", ["{{ productCategory }}" => (((CoreExtension::getAttribute($this->env, $this->source, // line 52
($context["productCategory"] ?? null), "name", [], "any", true, true, true, 52) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["productCategory"] ?? null), "name", [], "any", false, false, true, 52)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["productCategory"] ?? null), "name", [], "any", false, false, true, 52)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 52, $this->source); })()), "title", [], "any", false, false, true, 52)))]), "link" => "#table-anchor", "target" => ""]) : (false))]]]);
// line 58
yield "
";
// line 60
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "features", ["type" => "features-brick", "params" => ["features-brick" => ["brickBackgroundColor" => "bg-white", "productCategory" => $this->sandbox->ensureToStringAllowed( // line 65
(isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 65, $this->source); })()), 65, $this->source)]]]);
// line 68
yield "
";
// line 70
if ((array_key_exists("childCategoriesObjects", $context) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["childCategoriesObjects"]) || array_key_exists("childCategoriesObjects", $context) ? $context["childCategoriesObjects"] : (function () { throw new RuntimeError('Variable "childCategoriesObjects" does not exist.', 70, $this->source); })())) == 0))) {
// line 71
yield " ";
// line 72
yield " <div id=\"table-anchor\">
";
// line 73
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "product-table-brick-1", ["type" => "product-table-brick", "params" => ["product-table-brick" => ["defaultTitle" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("{{ productCategory }} huren", ["{{ productCategory }}" => ((CoreExtension::getAttribute($this->env, $this->source, // line 77
(isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 77, $this->source); })()), "name", [], "any", false, false, true, 77)) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 77, $this->source); })()), "name", [], "any", false, false, true, 77)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 77, $this->source); })()), "key", [], "any", false, false, true, 77)))]), "productCategory" => $this->sandbox->ensureToStringAllowed( // line 78
(isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 78, $this->source); })()), 78, $this->source)]]]);
// line 81
yield "
</div>
";
}
// line 84
yield "
";
// line 85
if ((array_key_exists("childCategoriesObjects", $context) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["childCategoriesObjects"]) || array_key_exists("childCategoriesObjects", $context) ? $context["childCategoriesObjects"] : (function () { throw new RuntimeError('Variable "childCategoriesObjects" does not exist.', 85, $this->source); })())) > 0))) {
// line 86
yield " <div id=\"products-anchor\">
";
// line 87
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "product-category-cards-brick", ["type" => "product-category-cards-brick", "params" => ["product-category-cards-brick" => ["showTitle" => true, "defaultTitle" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Aanbod {{ productCategory }}", ["{{ productCategory }}" => (((CoreExtension::getAttribute($this->env, $this->source, // line 92
($context["productCategory"] ?? null), "name", [], "any", true, true, true, 92) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["productCategory"] ?? null), "name", [], "any", false, false, true, 92)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["productCategory"] ?? null), "name", [], "any", false, false, true, 92)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 92, $this->source); })()), "title", [], "any", false, false, true, 92)))]), "fourColumns" => false, "productCategories" => $this->sandbox->ensureToStringAllowed( // line 94
(isset($context["childCategoriesObjects"]) || array_key_exists("childCategoriesObjects", $context) ? $context["childCategoriesObjects"] : (function () { throw new RuntimeError('Variable "childCategoriesObjects" does not exist.', 94, $this->source); })()), 94, $this->source)]]]);
// line 97
yield "
";
// line 99
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "text-and-links-brick-1", ["type" => "text-and-links-brick", "params" => ["text-and-links-brick" => ["style" => "normal"]]]);
// line 106
yield "
</div>
";
}
// line 109
yield "
<div id=\"applications-anchor\">
";
// line 111
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "unique-selling-point-brick-1", ["type" => "unique-selling-point-brick", "params" => ["unique-selling-point-brick" => ["brickBackgroundColor" => "bg-blue-300", "defaultTitle" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Toepassingen {{ productCategory }}", ["{{ productCategory }}" => ((CoreExtension::getAttribute($this->env, $this->source, // line 116
(isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 116, $this->source); })()), "name", [], "any", false, false, true, 116)) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 116, $this->source); })()), "name", [], "any", false, false, true, 116)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 116, $this->source); })()), "key", [], "any", false, false, true, 116)))])]]]);
// line 119
yield "
</div>
<div id=\"method-and-acccessoires-anchor\">
";
// line 123
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "content-brick-2", ["type" => "content-brick", "params" => ["content-brick" => ["layout" => "text-usps", "uspsActive" => true, "brickBackgroundColor" => "bg-gray-200", "defaultTitle" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Werking en accessoires {{ productCategory }}", ["{{ productCategory }}" => ((CoreExtension::getAttribute($this->env, $this->source, // line 130
(isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 130, $this->source); })()), "name", [], "any", false, false, true, 130)) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 130, $this->source); })()), "name", [], "any", false, false, true, 130)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 130, $this->source); })()), "key", [], "any", false, false, true, 130)))])]]]);
// line 133
yield "
</div>
";
// line 136
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "testimonial-brick-1", ["type" => "testimonial-brick"]);
// line 138
yield "
";
// line 140
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "product-category-cards-brick-1", ["type" => "product-category-cards-brick", "params" => ["product-category-cards-brick" => ["defaultTitle" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Alternatieven voor {{ productCategory }}", ["{{ productCategory }}" => ((CoreExtension::getAttribute($this->env, $this->source, // line 144
(isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 144, $this->source); })()), "name", [], "any", false, false, true, 144)) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 144, $this->source); })()), "name", [], "any", false, false, true, 144)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["productCategory"]) || array_key_exists("productCategory", $context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.', 144, $this->source); })()), "key", [], "any", false, false, true, 144)))]), "brickBackgroundColor" => "bg-blue-200", "defaultBackgroundColor" => "bg-blue-200"]]]);
// line 149
yield "
";
// line 151
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "content-brick-3", ["type" => "content-brick", "params" => ["content-brick" => ["layout" => "text-image"]]]);
// line 158
yield "
<div id=\"usage-anchor\">
";
// line 161
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "content-brick-4", ["type" => "content-brick", "params" => ["content-brick" => ["layout" => "text-image", "whiteSpaceBottom" => false, "defaultInverted" => true]]]);
// line 170
yield "
</div>
<div id=\"faq-anchor\">
";
// line 174
yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 174, $this->source); })()), "getProperty", ["faqSnippet"], "method", false, false, true, 174), 174, $this->source));
yield "
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "product_category/layouts/_sub.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 201 => 174, 195 => 170, 193 => 161, 188 => 158, 186 => 151, 182 => 149, 180 => 144, 179 => 140, 175 => 138, 173 => 136, 168 => 133, 166 => 130, 165 => 123, 159 => 119, 157 => 116, 156 => 111, 152 => 109, 147 => 106, 145 => 99, 141 => 97, 139 => 94, 138 => 92, 137 => 87, 134 => 86, 132 => 85, 129 => 84, 124 => 81, 122 => 78, 121 => 77, 120 => 73, 117 => 72, 115 => 71, 113 => 70, 109 => 68, 107 => 65, 106 => 60, 102 => 58, 100 => 52, 99 => 51, 98 => 50, 97 => 49, 96 => 48, 95 => 47, 94 => 42, 93 => 37, 90 => 36, 88 => 32, 85 => 31, 83 => 27, 80 => 26, 78 => 22, 75 => 21, 73 => 17, 70 => 16, 66 => 11, 64 => 10, 61 => 9, 57 => 4, 55 => 3, 52 => 2, 50 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% set breadcrumbs = [] %}
{% if childCategoriesObjects is defined and childCategoriesObjects|length == 0 %}
{% set breadcrumbs = breadcrumbs | merge([{
\"title\": \"Producten\"|trans,
\"anchor\" : \"table-anchor\"|trans
}]) %}
{% endif %}
{% if childCategoriesObjects is defined and childCategoriesObjects|length > 0 %}
{% set breadcrumbs = breadcrumbs | merge([{
'title': \"Aanbod\"|trans,
'anchor' : \"products-anchor\"|trans
}]) %}
{% endif %}
{% set breadcrumbs = breadcrumbs | merge([{
'title': \"Toepassingen\"|trans,
'anchor' : \"applications-anchor\"|trans
}]) %}
{% set breadcrumbs = breadcrumbs | merge([{
'title' : \"Werking en accessoires\"|trans,
'anchor' : \"method-and-acccessoires-anchor\"|trans
}]) %}
{% set breadcrumbs = breadcrumbs | merge([{
'title' : \"Gebruik\"|trans,
'anchor' : \"usage-anchor\"|trans
}]) %}
{% set breadcrumbs = breadcrumbs | merge([{
'title' : \"Veelgestelde vragen\"|trans,
'anchor' : \"faq-anchor\"|trans
}]) %}
{{ pimcore_area('content-brick-1', {
'type':'content-brick',
'params':{
'content-brick': {
'containerClasses': 'md:py-20',
'productCategory': productCategory,
'forceH1' : true,
'defaultLayout': 'text-gallery',
'defaultBackgroundColor':'bg-white',
'defaultInverted': true,
'defaultTitle' : productCategory.title ?? page.title,
'defaultHeadline' : productCategory.subtitle ?? null,
'defaultWysiwyg' : productCategory.desc ?? page.description,
'defaultGalleryItems' : productCategory.mediaGalleryItems is defined and (productCategory.mediaGalleryItems|length) > 1 ? (productCategory.mediaGalleryItems | slice(1, 4)) : null,
'defaultSecondaryLink' : childCategoriesObjects is defined and childCategoriesObjects|length == 0 ? {
'title': 'Bekijk de {{ productCategory }}' | trans({ '{{ productCategory }}': (productCategory.name ?? page.title) }),
'link': \"#table-anchor\",
'target': \"\",
} : false
}
}
}) }}
{{ pimcore_area('features', {
'type':'features-brick',
'params':{
'features-brick': {
'brickBackgroundColor': 'bg-white',
'productCategory': productCategory
}
}
}) }}
{% if childCategoriesObjects is defined and childCategoriesObjects|length == 0 %}
{# See params above in content-brick-1 -> params -> defaultSecondaryLink -> link = #table-anchor, also breadcrumbs #}
<div id=\"table-anchor\">
{{ pimcore_area('product-table-brick-1',{
'type':'product-table-brick',
'params': {
'product-table-brick': {
'defaultTitle': ('{{ productCategory }} huren') | trans({'{{ productCategory }}': (productCategory.name ?: productCategory.key) }),
'productCategory': productCategory
}
}
}) }}
</div>
{% endif %}
{% if childCategoriesObjects is defined and childCategoriesObjects|length > 0 %}
<div id=\"products-anchor\">
{{ pimcore_area('product-category-cards-brick', {
type: 'product-category-cards-brick',
params: {
'product-category-cards-brick': {
showTitle: true,
defaultTitle: ('Aanbod {{ productCategory }}') | trans({'{{ productCategory }}': (productCategory.name ?? page.title) }),
fourColumns: false,
productCategories: childCategoriesObjects
}
}
}) }}
{{ pimcore_area('text-and-links-brick-1', {
'type':'text-and-links-brick',
'params':{
'text-and-links-brick': {
style: 'normal',
}
}
}) }}
</div>
{% endif %}
<div id=\"applications-anchor\">
{{ pimcore_area('unique-selling-point-brick-1', {
'type':'unique-selling-point-brick',
'params': {
'unique-selling-point-brick': {
'brickBackgroundColor' : 'bg-blue-300',
'defaultTitle': ('Toepassingen {{ productCategory }}') | trans({'{{ productCategory }}': (productCategory.name ?: productCategory.key) }),
}
}
}) }}
</div>
<div id=\"method-and-acccessoires-anchor\">
{{ pimcore_area('content-brick-2', {
'type':'content-brick',
'params': {
'content-brick': {
'layout': 'text-usps',
'uspsActive' : true,
'brickBackgroundColor': 'bg-gray-200',
'defaultTitle': ('Werking en accessoires {{ productCategory }}') | trans({'{{ productCategory }}': (productCategory.name ?: productCategory.key) }),
}
}
}) }}
</div>
{{ pimcore_area(\"testimonial-brick-1\", {
'type' : \"testimonial-brick\" })
}}
{{ pimcore_area('product-category-cards-brick-1', {
'type':'product-category-cards-brick',
'params':{
'product-category-cards-brick': {
'defaultTitle': ('Alternatieven voor {{ productCategory }}') | trans({'{{ productCategory }}': (productCategory.name ?: productCategory.key) }),
'brickBackgroundColor' : 'bg-blue-200',
'defaultBackgroundColor' : 'bg-blue-200',
}
}
}) }}
{{ pimcore_area('content-brick-3', {
'type':'content-brick',
'params':{
'content-brick': {
'layout': 'text-image',
}
}
}) }}
<div id=\"usage-anchor\">
{{ pimcore_area('content-brick-4', {
'type':'content-brick',
'params':{
'content-brick': {
'layout': 'text-image',
'whiteSpaceBottom': false,
'defaultInverted': true,
}
}
}) }}
</div>
<div id=\"faq-anchor\">
{{ pimcore_inc(document.getProperty('faqSnippet')) }}
</div>
", "product_category/layouts/_sub.html.twig", "/home/forge/testing.coolworld.ptchr.dev/templates/product_category/layouts/_sub.html.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 1, "if" => 3];
static $filters = ["length" => 3, "merge" => 4, "trans" => 5, "slice" => 50];
static $functions = ["pimcore_area" => 37, "pimcore_inc" => 174];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['length', 'merge', 'trans', 'slice'],
['pimcore_area', 'pimcore_inc'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}