var/cache/dev/twig/56/5606a20581f42a641bd8b5dff16ff64a.php line 232

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* pages/catalog/get_listing.html.twig */
  16. class __TwigTemplate_3a51f95e191f4e8d97dbc959ec3a3211 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'meta' => [$this, 'block_meta'],
  29. 'gtmDataLayer' => [$this, 'block_gtmDataLayer'],
  30. 'stylesheets' => [$this, 'block_stylesheets'],
  31. 'breadcrumb' => [$this, 'block_breadcrumb'],
  32. 'content' => [$this, 'block_content'],
  33. 'listingDescriptionTop' => [$this, 'block_listingDescriptionTop'],
  34. 'listingFilter' => [$this, 'block_listingFilter'],
  35. 'paginationTop' => [$this, 'block_paginationTop'],
  36. 'listing' => [$this, 'block_listing'],
  37. 'paginationBottom' => [$this, 'block_paginationBottom'],
  38. 'footerCmsContent' => [$this, 'block_footerCmsContent'],
  39. 'structuredData' => [$this, 'block_structuredData'],
  40. ];
  41. }
  42. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  43. {
  44. // line 1
  45. return "pages/catalog/catalog_base.html.twig";
  46. }
  47. protected function doDisplay(array $context, array $blocks = []): iterable
  48. {
  49. $macros = $this->macros;
  50. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/catalog/get_listing.html.twig"));
  52. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/catalog/get_listing.html.twig"));
  54. // line 2
  55. $context["page_type_tracking"] = "categories_with_products";
  56. // line 1
  57. $this->parent = $this->load("pages/catalog/catalog_base.html.twig", 1);
  58. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  59. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61. }
  62. // line 4
  63. /**
  64. * @return iterable<null|scalar|\Stringable>
  65. */
  66. public function block_meta(array $context, array $blocks = []): iterable
  67. {
  68. $macros = $this->macros;
  69. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  71. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  73. // line 5
  74. yield " ";
  75. if ((($tmp = !(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 5, $this->source); })()), "currentPage", [], "any", false, false, false, 5) === 1)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  76. // line 6
  77. yield " ";
  78. $context["metaInformation"] = ["title" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 7
  79. ($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 7), "title", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 7, $this->source); })()), "metaInformation", [], "any", false, false, false, 7), "title", [], "any", false, false, false, 7), CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 7, $this->source); })()), "name", [], "any", false, false, false, 7))) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 7, $this->source); })()), "name", [], "any", false, false, false, 7))), "canonicalUrl" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 8
  80. ($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 8), "canonicalUrl", [], "any", true, true, false, 8)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 8, $this->source); })()), "metaInformation", [], "any", false, false, false, 8), "canonicalUrl", [], "any", false, false, false, 8))) : ("")), "robots" => "noindex", "description" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 10
  81. ($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 10), "description", [], "any", true, true, false, 10)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 10, $this->source); })()), "metaInformation", [], "any", false, false, false, 10), "description", [], "any", false, false, false, 10))) : ("")), "maxSnippet" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 11
  82. ($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 11), "maxSnippet", [], "any", true, true, false, 11)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 11, $this->source); })()), "metaInformation", [], "any", false, false, false, 11), "maxSnippet", [], "any", false, false, false, 11))) : ("")), "maxVideoPreview" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 12
  83. ($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 12), "maxVideoPreview", [], "any", true, true, false, 12)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 12, $this->source); })()), "metaInformation", [], "any", false, false, false, 12), "maxVideoPreview", [], "any", false, false, false, 12))) : ("")), "metaKeywords" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 13
  84. ($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 13), "metaKeywords", [], "any", true, true, false, 13)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 13, $this->source); })()), "metaInformation", [], "any", false, false, false, 13), "metaKeywords", [], "any", false, false, false, 13))) : (""))];
  85. // line 15
  86. yield "
  87. ";
  88. // line 17
  89. yield from $this->load("pages/catalog/get_listing.html.twig", 17, "468337800")->unwrap()->yield(CoreExtension::merge($context, ["metaInformation" => (( // line 18
  90. array_key_exists("metaInformation", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["metaInformation"]) || array_key_exists("metaInformation", $context) ? $context["metaInformation"] : (function () { throw new RuntimeError('Variable "metaInformation" does not exist.', 18, $this->source); })()), null)) : (null)), "fallback" => ((CoreExtension::getAttribute($this->env, $this->source, // line 19
  91. (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 19, $this->source); })()), "name", [], "any", false, false, false, 19) . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta_description_suffix_category")), "categoryKey" => ((CoreExtension::getAttribute($this->env, $this->source, // line 20
  92. ($context["slots"] ?? null), "category_key", [], "array", true, true, false, 20)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 20, $this->source); })()), "category_key", [], "array", false, false, false, 20), null)) : (null))]));
  93. // line 28
  94. yield " ";
  95. } else {
  96. // line 29
  97. yield " ";
  98. yield from $this->yieldParentBlock("meta", $context, $blocks);
  99. yield "
  100. ";
  101. }
  102. // line 31
  103. yield " ";
  104. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  105. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106. yield from [];
  107. }
  108. // line 34
  109. /**
  110. * @return iterable<null|scalar|\Stringable>
  111. */
  112. public function block_gtmDataLayer(array $context, array $blocks = []): iterable
  113. {
  114. $macros = $this->macros;
  115. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  116. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gtmDataLayer"));
  117. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  118. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gtmDataLayer"));
  119. // line 35
  120. yield " ";
  121. yield from $this->load("components/atoms/gtm-data-layer/gtm-data-layer.html.twig", 35)->unwrap()->yield($context);
  122. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  123. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  124. yield from [];
  125. }
  126. // line 38
  127. /**
  128. * @return iterable<null|scalar|\Stringable>
  129. */
  130. public function block_stylesheets(array $context, array $blocks = []): iterable
  131. {
  132. $macros = $this->macros;
  133. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  134. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  135. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  136. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  137. // line 39
  138. yield " ";
  139. yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
  140. yield "
  141. ";
  142. // line 41
  143. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("listing");
  144. yield "
  145. ";
  146. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  147. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  148. yield from [];
  149. }
  150. // line 44
  151. /**
  152. * @return iterable<null|scalar|\Stringable>
  153. */
  154. public function block_breadcrumb(array $context, array $blocks = []): iterable
  155. {
  156. $macros = $this->macros;
  157. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  158. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
  159. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  160. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
  161. // line 45
  162. yield " ";
  163. yield from $this->load("components/molecules/breadcrumb/breadcrumb.html.twig", 45)->unwrap()->yield(CoreExtension::merge($context, ["displayFirstEntry" => false, "page" => "listing", "backOffset" => -2]));
  164. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  165. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  166. yield from [];
  167. }
  168. // line 52
  169. /**
  170. * @return iterable<null|scalar|\Stringable>
  171. */
  172. public function block_content(array $context, array $blocks = []): iterable
  173. {
  174. $macros = $this->macros;
  175. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  176. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  177. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  178. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  179. // line 53
  180. yield " ";
  181. yield from $this->unwrap()->yieldBlock('listingDescriptionTop', $context, $blocks);
  182. // line 89
  183. yield "
  184. ";
  185. // line 90
  186. yield from $this->unwrap()->yieldBlock('listingFilter', $context, $blocks);
  187. // line 93
  188. yield "
  189. ";
  190. // line 94
  191. yield from $this->unwrap()->yieldBlock('paginationTop', $context, $blocks);
  192. // line 102
  193. yield "
  194. ";
  195. // line 103
  196. yield from $this->unwrap()->yieldBlock('listing', $context, $blocks);
  197. // line 110
  198. yield "
  199. ";
  200. // line 111
  201. yield from $this->unwrap()->yieldBlock('paginationBottom', $context, $blocks);
  202. // line 119
  203. yield "
  204. ";
  205. // line 122
  206. yield from $this->unwrap()->yieldBlock('footerCmsContent', $context, $blocks);
  207. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  208. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  209. yield from [];
  210. }
  211. // line 53
  212. /**
  213. * @return iterable<null|scalar|\Stringable>
  214. */
  215. public function block_listingDescriptionTop(array $context, array $blocks = []): iterable
  216. {
  217. $macros = $this->macros;
  218. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  219. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listingDescriptionTop"));
  220. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  221. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listingDescriptionTop"));
  222. // line 54
  223. yield " <div class=\"listing-top-slot-gradient\">
  224. <div class=\"grid grid--left \">
  225. <div class=\"grid__column grid__column-12\">
  226. ";
  227. // line 57
  228. yield from $this->load("components/atoms/headline/headline.html.twig", 57)->unwrap()->yield(CoreExtension::merge($context, ["text" => ((CoreExtension::getAttribute($this->env, $this->source, // line 58
  229. ($context["categoryContent"] ?? null), "headline", [], "any", true, true, false, 58)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["categoryContent"]) || array_key_exists("categoryContent", $context) ? $context["categoryContent"] : (function () { throw new RuntimeError('Variable "categoryContent" does not exist.', 58, $this->source); })()), "headline", [], "any", false, false, false, 58))) : ("")), "class" => "headline--section headline--inline-block headline--no-spacing"]));
  230. // line 61
  231. yield " ";
  232. if ((($tmp = !(isset($context["isPunchout"]) || array_key_exists("isPunchout", $context) ? $context["isPunchout"] : (function () { throw new RuntimeError('Variable "isPunchout" does not exist.', 61, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  233. // line 62
  234. yield " <span class=\"headline headline__text headline__text--sm-negative-spacing\">
  235. (";
  236. // line 63
  237. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("total_products", ["%value%" => (isset($context["unfilteredCount"]) || array_key_exists("unfilteredCount", $context) ? $context["unfilteredCount"] : (function () { throw new RuntimeError('Variable "unfilteredCount" does not exist.', 63, $this->source); })()), "%variantCount%" => (isset($context["variantsCount"]) || array_key_exists("variantsCount", $context) ? $context["variantsCount"] : (function () { throw new RuntimeError('Variable "variantsCount" does not exist.', 63, $this->source); })())]), "html", null, true);
  238. yield ")
  239. </span>
  240. ";
  241. }
  242. // line 66
  243. yield "
  244. ";
  245. // line 67
  246. if (CoreExtension::getAttribute($this->env, $this->source, ($context["slots"] ?? null), "slot_top", [], "any", true, true, false, 67)) {
  247. // line 68
  248. yield " ";
  249. // line 69
  250. yield " ";
  251. if ((($tmp = (isset($context["isPunchout"]) || array_key_exists("isPunchout", $context) ? $context["isPunchout"] : (function () { throw new RuntimeError('Variable "isPunchout" does not exist.', 69, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  252. // line 70
  253. yield " ";
  254. yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 70)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => Twig\Extension\CoreExtension::filter($this->env, CoreExtension::getAttribute($this->env, $this->source, // line 71
  255. (isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 71, $this->source); })()), "slot_top", [], "any", false, false, false, 71), function ($__v__, $__k__) use ($context, $macros) { $context["v"] = $__v__; $context["k"] = $__k__; return (CoreExtension::getAttribute($this->env, $this->source, (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 71, $this->source); })()), "component", [], "any", false, false, false, 71) != "econda-slider"); })]));
  256. // line 73
  257. yield " ";
  258. } else {
  259. // line 74
  260. yield " ";
  261. yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 74)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => CoreExtension::getAttribute($this->env, $this->source, // line 75
  262. (isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 75, $this->source); })()), "slot_top", [], "any", false, false, false, 75)]));
  263. // line 77
  264. yield " ";
  265. }
  266. // line 78
  267. yield " ";
  268. }
  269. // line 79
  270. yield " </div>
  271. </div>
  272. ";
  273. // line 82
  274. if (((Twig\Extension\CoreExtension::length($this->env->getCharset(), ((array_key_exists("categories", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 82, $this->source); })()), [])) : ([]))) > 0) || (CoreExtension::getAttribute($this->env, $this->source, ($context["category"] ?? null), "phaina", [], "any", true, true, false, 82) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 82, $this->source); })()), "phaina", [], "any", false, false, false, 82)))) {
  275. // line 83
  276. yield " ";
  277. yield from $this->load("components/molecules/category-select/category-select.html.twig", 83)->unwrap()->yield(CoreExtension::merge($context, ["categories" => // line 84
  278. (isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 84, $this->source); })())]));
  279. // line 86
  280. yield " ";
  281. }
  282. // line 87
  283. yield " </div>
  284. ";
  285. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  286. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  287. yield from [];
  288. }
  289. // line 90
  290. /**
  291. * @return iterable<null|scalar|\Stringable>
  292. */
  293. public function block_listingFilter(array $context, array $blocks = []): iterable
  294. {
  295. $macros = $this->macros;
  296. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  297. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listingFilter"));
  298. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  299. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listingFilter"));
  300. // line 91
  301. yield " ";
  302. yield from $this->load("components/organisms/filter-bar/filter-bar.html.twig", 91)->unwrap()->yield($context);
  303. // line 92
  304. yield " ";
  305. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  306. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  307. yield from [];
  308. }
  309. // line 94
  310. /**
  311. * @return iterable<null|scalar|\Stringable>
  312. */
  313. public function block_paginationTop(array $context, array $blocks = []): iterable
  314. {
  315. $macros = $this->macros;
  316. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  317. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "paginationTop"));
  318. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  319. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "paginationTop"));
  320. // line 95
  321. yield " <div class=\"listing__pagination listing__pagination--top\" data-pagination-org-page=\"";
  322. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 95, $this->source); })()), "currentPage", [], "any", false, false, false, 95), "html", null, true);
  323. yield "\">
  324. ";
  325. // line 96
  326. yield from $this->load("components/molecules/pagination/pagination.html.twig", 96)->unwrap()->yield(CoreExtension::merge($context, ["paginationPosition" => "top", "startPage" => CoreExtension::getAttribute($this->env, $this->source, // line 98
  327. (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 98, $this->source); })()), "currentPage", [], "any", false, false, false, 98)]));
  328. // line 100
  329. yield " </div>
  330. ";
  331. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  332. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  333. yield from [];
  334. }
  335. // line 103
  336. /**
  337. * @return iterable<null|scalar|\Stringable>
  338. */
  339. public function block_listing(array $context, array $blocks = []): iterable
  340. {
  341. $macros = $this->macros;
  342. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  343. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listing"));
  344. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  345. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listing"));
  346. // line 104
  347. yield " ";
  348. $context["replaceStateParams"] = ["page" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 104, $this->source); })()), "currentPage", [], "any", false, false, false, 104)];
  349. // line 105
  350. yield " ";
  351. yield from $this->load("components/organisms/product-grid/product-grid.html.twig", 105)->unwrap()->yield(CoreExtension::merge($context, ["products" => // line 106
  352. (isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 106, $this->source); })()), "replaceStateParams" => // line 107
  353. (isset($context["replaceStateParams"]) || array_key_exists("replaceStateParams", $context) ? $context["replaceStateParams"] : (function () { throw new RuntimeError('Variable "replaceStateParams" does not exist.', 107, $this->source); })())]));
  354. // line 109
  355. yield " ";
  356. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  357. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  358. yield from [];
  359. }
  360. // line 111
  361. /**
  362. * @return iterable<null|scalar|\Stringable>
  363. */
  364. public function block_paginationBottom(array $context, array $blocks = []): iterable
  365. {
  366. $macros = $this->macros;
  367. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  368. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "paginationBottom"));
  369. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  370. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "paginationBottom"));
  371. // line 112
  372. yield " <div class=\"listing__pagination listing__pagination--bottom\" data-pagination-org-page=\"";
  373. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 112, $this->source); })()), "currentPage", [], "any", false, false, false, 112), "html", null, true);
  374. yield "\">
  375. ";
  376. // line 113
  377. yield from $this->load("components/molecules/pagination/pagination.html.twig", 113)->unwrap()->yield(CoreExtension::merge($context, ["paginationPosition" => "bottom", "startPage" => CoreExtension::getAttribute($this->env, $this->source, // line 115
  378. (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 115, $this->source); })()), "currentPage", [], "any", false, false, false, 115)]));
  379. // line 117
  380. yield " </div>
  381. ";
  382. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  383. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  384. yield from [];
  385. }
  386. // line 122
  387. /**
  388. * @return iterable<null|scalar|\Stringable>
  389. */
  390. public function block_footerCmsContent(array $context, array $blocks = []): iterable
  391. {
  392. $macros = $this->macros;
  393. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  394. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerCmsContent"));
  395. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  396. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerCmsContent"));
  397. // line 123
  398. yield " ";
  399. if (CoreExtension::getAttribute($this->env, $this->source, ($context["slots"] ?? null), "slot_list_breaker", [], "any", true, true, false, 123)) {
  400. // line 124
  401. yield " <div class=\"listing__slot-listing-bottom\">
  402. ";
  403. // line 125
  404. yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 125)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => CoreExtension::getAttribute($this->env, $this->source, // line 126
  405. (isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 126, $this->source); })()), "slot_list_breaker", [], "any", false, false, false, 126)]));
  406. // line 128
  407. yield " </div>
  408. ";
  409. }
  410. // line 130
  411. yield "
  412. <div id=\"clone-target\" class=\"listing__mobile\">";
  413. // line 131
  414. yield "</div>
  415. ";
  416. // line 133
  417. if (CoreExtension::getAttribute($this->env, $this->source, ($context["slots"] ?? null), "slot_bottom", [], "any", true, true, false, 133)) {
  418. // line 134
  419. yield " ";
  420. // line 135
  421. yield " ";
  422. if ((($tmp = (isset($context["isPunchout"]) || array_key_exists("isPunchout", $context) ? $context["isPunchout"] : (function () { throw new RuntimeError('Variable "isPunchout" does not exist.', 135, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  423. // line 136
  424. yield " ";
  425. yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 136)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => Twig\Extension\CoreExtension::filter($this->env, CoreExtension::getAttribute($this->env, $this->source, // line 137
  426. (isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 137, $this->source); })()), "slot_bottom", [], "any", false, false, false, 137), function ($__v__, $__k__) use ($context, $macros) { $context["v"] = $__v__; $context["k"] = $__k__; return (CoreExtension::getAttribute($this->env, $this->source, (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 137, $this->source); })()), "component", [], "any", false, false, false, 137) != "econda-slider"); })]));
  427. // line 139
  428. yield " ";
  429. } else {
  430. // line 140
  431. yield " ";
  432. yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 140)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => CoreExtension::getAttribute($this->env, $this->source, // line 141
  433. (isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 141, $this->source); })()), "slot_bottom", [], "any", false, false, false, 141)]));
  434. // line 143
  435. yield " ";
  436. }
  437. // line 144
  438. yield " ";
  439. }
  440. // line 145
  441. yield " ";
  442. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  443. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  444. yield from [];
  445. }
  446. // line 148
  447. /**
  448. * @return iterable<null|scalar|\Stringable>
  449. */
  450. public function block_structuredData(array $context, array $blocks = []): iterable
  451. {
  452. $macros = $this->macros;
  453. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  454. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "structuredData"));
  455. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  456. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "structuredData"));
  457. // line 149
  458. yield " ";
  459. if (CoreExtension::getAttribute($this->env, $this->source, ($context["slots"] ?? null), "structured_data_faq", [], "any", true, true, false, 149)) {
  460. // line 150
  461. yield " ";
  462. yield from $this->load("components/organisms/faq-structured-data/faq-structured-data.html.twig", 150)->unwrap()->yield(CoreExtension::merge($context, ["structured_data_faq" => CoreExtension::getAttribute($this->env, $this->source, // line 151
  463. (isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 151, $this->source); })()), "structured_data_faq", [], "any", false, false, false, 151)]));
  464. // line 153
  465. yield " ";
  466. }
  467. // line 154
  468. yield " ";
  469. yield from $this->load("components/organisms/schema-item-list/schema-item-list.html.twig", 154)->unwrap()->yield(CoreExtension::merge($context, ["products" => // line 155
  470. (isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 155, $this->source); })())]));
  471. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  472. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  473. yield from [];
  474. }
  475. /**
  476. * @codeCoverageIgnore
  477. */
  478. public function getTemplateName(): string
  479. {
  480. return "pages/catalog/get_listing.html.twig";
  481. }
  482. /**
  483. * @codeCoverageIgnore
  484. */
  485. public function isTraitable(): bool
  486. {
  487. return false;
  488. }
  489. /**
  490. * @codeCoverageIgnore
  491. */
  492. public function getDebugInfo(): array
  493. {
  494. return array ( 569 => 155, 567 => 154, 564 => 153, 562 => 151, 560 => 150, 557 => 149, 544 => 148, 533 => 145, 530 => 144, 527 => 143, 525 => 141, 523 => 140, 520 => 139, 518 => 137, 516 => 136, 513 => 135, 511 => 134, 509 => 133, 505 => 131, 502 => 130, 498 => 128, 496 => 126, 495 => 125, 492 => 124, 489 => 123, 476 => 122, 464 => 117, 462 => 115, 461 => 113, 456 => 112, 443 => 111, 432 => 109, 430 => 107, 429 => 106, 427 => 105, 424 => 104, 411 => 103, 399 => 100, 397 => 98, 396 => 96, 391 => 95, 378 => 94, 367 => 92, 364 => 91, 351 => 90, 339 => 87, 336 => 86, 334 => 84, 332 => 83, 330 => 82, 325 => 79, 322 => 78, 319 => 77, 317 => 75, 315 => 74, 312 => 73, 310 => 71, 308 => 70, 305 => 69, 303 => 68, 301 => 67, 298 => 66, 292 => 63, 289 => 62, 286 => 61, 284 => 58, 283 => 57, 278 => 54, 265 => 53, 254 => 122, 249 => 119, 247 => 111, 244 => 110, 242 => 103, 239 => 102, 237 => 94, 234 => 93, 232 => 90, 229 => 89, 226 => 53, 213 => 52, 201 => 45, 188 => 44, 175 => 41, 169 => 39, 156 => 38, 144 => 35, 131 => 34, 120 => 31, 114 => 29, 111 => 28, 109 => 20, 108 => 19, 107 => 18, 106 => 17, 102 => 15, 100 => 13, 99 => 12, 98 => 11, 97 => 10, 96 => 8, 95 => 7, 93 => 6, 90 => 5, 77 => 4, 66 => 1, 64 => 2, 51 => 1,);
  495. }
  496. public function getSourceContext(): Source
  497. {
  498. return new Source("{% extends 'pages/catalog/catalog_base.html.twig' %}
  499. {% set page_type_tracking = 'categories_with_products' %}
  500. {% block meta %}
  501. {% if pagination.currentPage is not same as (1) %}
  502. {% set metaInformation= {
  503. 'title': category.metaInformation.title|default(category.name),
  504. 'canonicalUrl': category.metaInformation.canonicalUrl|default(),
  505. 'robots': 'noindex',
  506. 'description': category.metaInformation.description|default(),
  507. 'maxSnippet': category.metaInformation.maxSnippet|default(),
  508. 'maxVideoPreview': category.metaInformation.maxVideoPreview|default(),
  509. 'metaKeywords': category.metaInformation.metaKeywords|default(),
  510. } %}
  511. {% embed 'components/organisms/meta/meta.html.twig' with {
  512. 'metaInformation': metaInformation|default(null),
  513. 'fallback': category.name ~ ' ' ~ 'meta_description_suffix_category'|trans,
  514. 'categoryKey': slots['category_key']|default(null)
  515. } %}
  516. {% block canonical %}
  517. {% if 'noindex' not in metaInformation.robots|default|lower and 'nofollow' not in metaInformation.robots|default|lower %}
  518. <link rel=\"canonical\" href=\"{{ app.request.uri|default }}\">
  519. {% endif %}
  520. {% endblock %}
  521. {% endembed %}
  522. {% else %}
  523. {{ parent() }}
  524. {% endif %}
  525. {% endblock %}
  526. {% block gtmDataLayer %}
  527. {% include('components/atoms/gtm-data-layer/gtm-data-layer.html.twig') %}
  528. {% endblock %}
  529. {% block stylesheets %}
  530. {{ parent() }}
  531. {{ encore_entry_link_tags('listing') }}
  532. {% endblock %}
  533. {% block breadcrumb %}
  534. {% include('components/molecules/breadcrumb/breadcrumb.html.twig') with {
  535. 'displayFirstEntry': false,
  536. 'page': 'listing',
  537. 'backOffset': -2
  538. } %}
  539. {% endblock %}
  540. {% block content %}
  541. {% block listingDescriptionTop %}
  542. <div class=\"listing-top-slot-gradient\">
  543. <div class=\"grid grid--left \">
  544. <div class=\"grid__column grid__column-12\">
  545. {% include('components/atoms/headline/headline.html.twig') with {
  546. 'text': categoryContent.headline | default,
  547. 'class': 'headline--section headline--inline-block headline--no-spacing',
  548. } %}
  549. {% if not isPunchout %}
  550. <span class=\"headline headline__text headline__text--sm-negative-spacing\">
  551. ({{ ('total_products'|trans({'%value%': unfilteredCount, '%variantCount%': variantsCount})) }})
  552. </span>
  553. {% endif %}
  554. {% if slots.slot_top is defined %}
  555. {# Filter Econda Slider for punchout #}
  556. {% if isPunchout %}
  557. {% include 'components/organisms/storyblok/storyblok.html.twig' with {
  558. 'componentData': slots.slot_top | filter((v, k) => v.component != 'econda-slider')
  559. }%}
  560. {% else %}
  561. {% include 'components/organisms/storyblok/storyblok.html.twig' with {
  562. 'componentData': slots.slot_top
  563. }%}
  564. {% endif %}
  565. {% endif %}
  566. </div>
  567. </div>
  568. {% if categories|default([])|length > 0 or (category.phaina is defined and category.phaina)%}
  569. {% include('components/molecules/category-select/category-select.html.twig') with {
  570. 'categories': categories,
  571. } %}
  572. {% endif %}
  573. </div>
  574. {% endblock %}
  575. {% block listingFilter %}
  576. {% include('components/organisms/filter-bar/filter-bar.html.twig') %}
  577. {% endblock %}
  578. {% block paginationTop %}
  579. <div class=\"listing__pagination listing__pagination--top\" data-pagination-org-page=\"{{pagination.currentPage}}\">
  580. {% include('components/molecules/pagination/pagination.html.twig') with {
  581. 'paginationPosition': 'top',
  582. 'startPage': pagination.currentPage
  583. } %}
  584. </div>
  585. {% endblock %}
  586. {% block listing %}
  587. {% set replaceStateParams = {'page': pagination.currentPage} %}
  588. {% include('components/organisms/product-grid/product-grid.html.twig') with {
  589. 'products': products,
  590. 'replaceStateParams': replaceStateParams
  591. } %}
  592. {% endblock %}
  593. {% block paginationBottom %}
  594. <div class=\"listing__pagination listing__pagination--bottom\" data-pagination-org-page=\"{{pagination.currentPage}}\">
  595. {% include('components/molecules/pagination/pagination.html.twig') with {
  596. 'paginationPosition': 'bottom',
  597. 'startPage': pagination.currentPage
  598. } %}
  599. </div>
  600. {% endblock %}
  601. {% block footerCmsContent %}
  602. {% if slots.slot_list_breaker is defined %}
  603. <div class=\"listing__slot-listing-bottom\">
  604. {% include 'components/organisms/storyblok/storyblok.html.twig' with {
  605. 'componentData': slots.slot_list_breaker
  606. }%}
  607. </div>
  608. {% endif %}
  609. <div id=\"clone-target\" class=\"listing__mobile\">{# Clonable multi-column-texts end up here by JavaScript #}</div>
  610. {% if slots.slot_bottom is defined %}
  611. {# Filter Econda Slider for punchout #}
  612. {% if isPunchout %}
  613. {% include 'components/organisms/storyblok/storyblok.html.twig' with {
  614. 'componentData': slots.slot_bottom | filter((v, k) => v.component != 'econda-slider')
  615. }%}
  616. {% else %}
  617. {% include 'components/organisms/storyblok/storyblok.html.twig' with {
  618. 'componentData': slots.slot_bottom
  619. }%}
  620. {% endif %}
  621. {% endif %}
  622. {% endblock %}
  623. {% endblock %}
  624. {% block structuredData %}
  625. {% if slots.structured_data_faq is defined %}
  626. {% include('components/organisms/faq-structured-data/faq-structured-data.html.twig') with {
  627. 'structured_data_faq': slots.structured_data_faq
  628. } %}
  629. {% endif %}
  630. {% include('components/organisms/schema-item-list/schema-item-list.html.twig') with {
  631. 'products': products
  632. } %}
  633. {% endblock %}
  634. ", "pages/catalog/get_listing.html.twig", "/var/www/html/templates/default/pages/catalog/get_listing.html.twig");
  635. }
  636. }
  637. /* pages/catalog/get_listing.html.twig */
  638. class __TwigTemplate_3a51f95e191f4e8d97dbc959ec3a3211___468337800 extends Template
  639. {
  640. private Source $source;
  641. /**
  642. * @var array<string, Template>
  643. */
  644. private array $macros = [];
  645. public function __construct(Environment $env)
  646. {
  647. parent::__construct($env);
  648. $this->source = $this->getSourceContext();
  649. $this->blocks = [
  650. 'canonical' => [$this, 'block_canonical'],
  651. ];
  652. }
  653. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  654. {
  655. // line 17
  656. return "components/organisms/meta/meta.html.twig";
  657. }
  658. protected function doDisplay(array $context, array $blocks = []): iterable
  659. {
  660. $macros = $this->macros;
  661. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  662. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/catalog/get_listing.html.twig"));
  663. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  664. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/catalog/get_listing.html.twig"));
  665. $this->parent = $this->load("components/organisms/meta/meta.html.twig", 17);
  666. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  667. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  668. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  669. }
  670. // line 22
  671. /**
  672. * @return iterable<null|scalar|\Stringable>
  673. */
  674. public function block_canonical(array $context, array $blocks = []): iterable
  675. {
  676. $macros = $this->macros;
  677. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  678. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
  679. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  680. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
  681. // line 23
  682. yield " ";
  683. if ((!CoreExtension::inFilter("noindex", Twig\Extension\CoreExtension::lower($this->env->getCharset(), ((CoreExtension::getAttribute($this->env, $this->source, ($context["metaInformation"] ?? null), "robots", [], "any", true, true, false, 23)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["metaInformation"]) || array_key_exists("metaInformation", $context) ? $context["metaInformation"] : (function () { throw new RuntimeError('Variable "metaInformation" does not exist.', 23, $this->source); })()), "robots", [], "any", false, false, false, 23))) : ("")))) && !CoreExtension::inFilter("nofollow", Twig\Extension\CoreExtension::lower($this->env->getCharset(), ((CoreExtension::getAttribute($this->env, $this->source, ($context["metaInformation"] ?? null), "robots", [], "any", true, true, false, 23)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["metaInformation"]) || array_key_exists("metaInformation", $context) ? $context["metaInformation"] : (function () { throw new RuntimeError('Variable "metaInformation" does not exist.', 23, $this->source); })()), "robots", [], "any", false, false, false, 23))) : ("")))))) {
  684. // line 24
  685. yield " <link rel=\"canonical\" href=\"";
  686. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 24), "uri", [], "any", true, true, false, 24)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "uri", [], "any", false, false, false, 24))) : ("")), "html", null, true);
  687. yield "\">
  688. ";
  689. }
  690. // line 26
  691. yield " ";
  692. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  693. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  694. yield from [];
  695. }
  696. /**
  697. * @codeCoverageIgnore
  698. */
  699. public function getTemplateName(): string
  700. {
  701. return "pages/catalog/get_listing.html.twig";
  702. }
  703. /**
  704. * @codeCoverageIgnore
  705. */
  706. public function isTraitable(): bool
  707. {
  708. return false;
  709. }
  710. /**
  711. * @codeCoverageIgnore
  712. */
  713. public function getDebugInfo(): array
  714. {
  715. return array ( 836 => 26, 830 => 24, 827 => 23, 814 => 22, 791 => 17, 569 => 155, 567 => 154, 564 => 153, 562 => 151, 560 => 150, 557 => 149, 544 => 148, 533 => 145, 530 => 144, 527 => 143, 525 => 141, 523 => 140, 520 => 139, 518 => 137, 516 => 136, 513 => 135, 511 => 134, 509 => 133, 505 => 131, 502 => 130, 498 => 128, 496 => 126, 495 => 125, 492 => 124, 489 => 123, 476 => 122, 464 => 117, 462 => 115, 461 => 113, 456 => 112, 443 => 111, 432 => 109, 430 => 107, 429 => 106, 427 => 105, 424 => 104, 411 => 103, 399 => 100, 397 => 98, 396 => 96, 391 => 95, 378 => 94, 367 => 92, 364 => 91, 351 => 90, 339 => 87, 336 => 86, 334 => 84, 332 => 83, 330 => 82, 325 => 79, 322 => 78, 319 => 77, 317 => 75, 315 => 74, 312 => 73, 310 => 71, 308 => 70, 305 => 69, 303 => 68, 301 => 67, 298 => 66, 292 => 63, 289 => 62, 286 => 61, 284 => 58, 283 => 57, 278 => 54, 265 => 53, 254 => 122, 249 => 119, 247 => 111, 244 => 110, 242 => 103, 239 => 102, 237 => 94, 234 => 93, 232 => 90, 229 => 89, 226 => 53, 213 => 52, 201 => 45, 188 => 44, 175 => 41, 169 => 39, 156 => 38, 144 => 35, 131 => 34, 120 => 31, 114 => 29, 111 => 28, 109 => 20, 108 => 19, 107 => 18, 106 => 17, 102 => 15, 100 => 13, 99 => 12, 98 => 11, 97 => 10, 96 => 8, 95 => 7, 93 => 6, 90 => 5, 77 => 4, 66 => 1, 64 => 2, 51 => 1,);
  716. }
  717. public function getSourceContext(): Source
  718. {
  719. return new Source("{% extends 'pages/catalog/catalog_base.html.twig' %}
  720. {% set page_type_tracking = 'categories_with_products' %}
  721. {% block meta %}
  722. {% if pagination.currentPage is not same as (1) %}
  723. {% set metaInformation= {
  724. 'title': category.metaInformation.title|default(category.name),
  725. 'canonicalUrl': category.metaInformation.canonicalUrl|default(),
  726. 'robots': 'noindex',
  727. 'description': category.metaInformation.description|default(),
  728. 'maxSnippet': category.metaInformation.maxSnippet|default(),
  729. 'maxVideoPreview': category.metaInformation.maxVideoPreview|default(),
  730. 'metaKeywords': category.metaInformation.metaKeywords|default(),
  731. } %}
  732. {% embed 'components/organisms/meta/meta.html.twig' with {
  733. 'metaInformation': metaInformation|default(null),
  734. 'fallback': category.name ~ ' ' ~ 'meta_description_suffix_category'|trans,
  735. 'categoryKey': slots['category_key']|default(null)
  736. } %}
  737. {% block canonical %}
  738. {% if 'noindex' not in metaInformation.robots|default|lower and 'nofollow' not in metaInformation.robots|default|lower %}
  739. <link rel=\"canonical\" href=\"{{ app.request.uri|default }}\">
  740. {% endif %}
  741. {% endblock %}
  742. {% endembed %}
  743. {% else %}
  744. {{ parent() }}
  745. {% endif %}
  746. {% endblock %}
  747. {% block gtmDataLayer %}
  748. {% include('components/atoms/gtm-data-layer/gtm-data-layer.html.twig') %}
  749. {% endblock %}
  750. {% block stylesheets %}
  751. {{ parent() }}
  752. {{ encore_entry_link_tags('listing') }}
  753. {% endblock %}
  754. {% block breadcrumb %}
  755. {% include('components/molecules/breadcrumb/breadcrumb.html.twig') with {
  756. 'displayFirstEntry': false,
  757. 'page': 'listing',
  758. 'backOffset': -2
  759. } %}
  760. {% endblock %}
  761. {% block content %}
  762. {% block listingDescriptionTop %}
  763. <div class=\"listing-top-slot-gradient\">
  764. <div class=\"grid grid--left \">
  765. <div class=\"grid__column grid__column-12\">
  766. {% include('components/atoms/headline/headline.html.twig') with {
  767. 'text': categoryContent.headline | default,
  768. 'class': 'headline--section headline--inline-block headline--no-spacing',
  769. } %}
  770. {% if not isPunchout %}
  771. <span class=\"headline headline__text headline__text--sm-negative-spacing\">
  772. ({{ ('total_products'|trans({'%value%': unfilteredCount, '%variantCount%': variantsCount})) }})
  773. </span>
  774. {% endif %}
  775. {% if slots.slot_top is defined %}
  776. {# Filter Econda Slider for punchout #}
  777. {% if isPunchout %}
  778. {% include 'components/organisms/storyblok/storyblok.html.twig' with {
  779. 'componentData': slots.slot_top | filter((v, k) => v.component != 'econda-slider')
  780. }%}
  781. {% else %}
  782. {% include 'components/organisms/storyblok/storyblok.html.twig' with {
  783. 'componentData': slots.slot_top
  784. }%}
  785. {% endif %}
  786. {% endif %}
  787. </div>
  788. </div>
  789. {% if categories|default([])|length > 0 or (category.phaina is defined and category.phaina)%}
  790. {% include('components/molecules/category-select/category-select.html.twig') with {
  791. 'categories': categories,
  792. } %}
  793. {% endif %}
  794. </div>
  795. {% endblock %}
  796. {% block listingFilter %}
  797. {% include('components/organisms/filter-bar/filter-bar.html.twig') %}
  798. {% endblock %}
  799. {% block paginationTop %}
  800. <div class=\"listing__pagination listing__pagination--top\" data-pagination-org-page=\"{{pagination.currentPage}}\">
  801. {% include('components/molecules/pagination/pagination.html.twig') with {
  802. 'paginationPosition': 'top',
  803. 'startPage': pagination.currentPage
  804. } %}
  805. </div>
  806. {% endblock %}
  807. {% block listing %}
  808. {% set replaceStateParams = {'page': pagination.currentPage} %}
  809. {% include('components/organisms/product-grid/product-grid.html.twig') with {
  810. 'products': products,
  811. 'replaceStateParams': replaceStateParams
  812. } %}
  813. {% endblock %}
  814. {% block paginationBottom %}
  815. <div class=\"listing__pagination listing__pagination--bottom\" data-pagination-org-page=\"{{pagination.currentPage}}\">
  816. {% include('components/molecules/pagination/pagination.html.twig') with {
  817. 'paginationPosition': 'bottom',
  818. 'startPage': pagination.currentPage
  819. } %}
  820. </div>
  821. {% endblock %}
  822. {% block footerCmsContent %}
  823. {% if slots.slot_list_breaker is defined %}
  824. <div class=\"listing__slot-listing-bottom\">
  825. {% include 'components/organisms/storyblok/storyblok.html.twig' with {
  826. 'componentData': slots.slot_list_breaker
  827. }%}
  828. </div>
  829. {% endif %}
  830. <div id=\"clone-target\" class=\"listing__mobile\">{# Clonable multi-column-texts end up here by JavaScript #}</div>
  831. {% if slots.slot_bottom is defined %}
  832. {# Filter Econda Slider for punchout #}
  833. {% if isPunchout %}
  834. {% include 'components/organisms/storyblok/storyblok.html.twig' with {
  835. 'componentData': slots.slot_bottom | filter((v, k) => v.component != 'econda-slider')
  836. }%}
  837. {% else %}
  838. {% include 'components/organisms/storyblok/storyblok.html.twig' with {
  839. 'componentData': slots.slot_bottom
  840. }%}
  841. {% endif %}
  842. {% endif %}
  843. {% endblock %}
  844. {% endblock %}
  845. {% block structuredData %}
  846. {% if slots.structured_data_faq is defined %}
  847. {% include('components/organisms/faq-structured-data/faq-structured-data.html.twig') with {
  848. 'structured_data_faq': slots.structured_data_faq
  849. } %}
  850. {% endif %}
  851. {% include('components/organisms/schema-item-list/schema-item-list.html.twig') with {
  852. 'products': products
  853. } %}
  854. {% endblock %}
  855. ", "pages/catalog/get_listing.html.twig", "/var/www/html/templates/default/pages/catalog/get_listing.html.twig");
  856. }
  857. }