<?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/frontEnd/collection/index.html.twig */
class __TwigTemplate_c94e7633b607deca878e4c369837b669 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
// line 3
$_trait_0 = $this->load("@PNSeo/FrontEnd/seo.html.twig", 3);
if (!$_trait_0->unwrap()->isTraitable()) {
throw new RuntimeError('Template "'."@PNSeo/FrontEnd/seo.html.twig".'" cannot be used as a trait.', 3, $this->source);
}
$_trait_0_blocks = $_trait_0->unwrap()->getBlocks();
$this->traits = $_trait_0_blocks;
$this->blocks = array_merge(
$this->traits,
[
'criticalCSS' => [$this, 'block_criticalCSS'],
'stylesheets' => [$this, 'block_stylesheets'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
]
);
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "fe/base.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", "product/frontEnd/collection/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "product/frontEnd/collection/index.html.twig"));
// line 2
$context["seo"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["seoPage"]) || array_key_exists("seoPage", $context) ? $context["seoPage"] : (function () { throw new RuntimeError('Variable "seoPage" does not exist.', 2, $this->source); })()), "seo", [], "any", false, false, false, 2);
// line 4
$macros["͜macros"] = $this->macros["͜macros"] = $this->load("fe/macros.html.twig", 4)->unwrap();
// line 1
$this->parent = $this->load("fe/base.html.twig", 1);
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 7
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_criticalCSS(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", "criticalCSS"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "criticalCSS"));
// line 8
yield " ";
yield from $this->load("product/frontEnd/collection/_critical_css.css.twig", 8)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 11
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(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", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 12
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
";
// line 13
yield $macros["͜macros"]->getTemplateForMacro("macro_assetCSS", $context, 13, $this->getSourceContext())->macro_assetCSS(...[$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("pages-assets/collections/collections.styles.css")]);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 16
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 17
yield " ";
$context["pageTitle"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["seoPage"]) || array_key_exists("seoPage", $context) ? $context["seoPage"] : (function () { throw new RuntimeError('Variable "seoPage" does not exist.', 17, $this->source); })()), "seo", [], "any", false, false, false, 17), "title", [], "any", false, false, false, 17);
// line 18
yield " ";
$context["pageDescription"] = null;
// line 19
yield "
";
// line 20
yield from $this->load("fe/_pages_header.html.twig", 20)->unwrap()->yield(CoreExtension::merge($context, ["pageTitle" => (isset($context["pageTitle"]) || array_key_exists("pageTitle", $context) ? $context["pageTitle"] : (function () { throw new RuntimeError('Variable "pageTitle" does not exist.', 20, $this->source); })()), "marginBottomZero" => true]));
// line 21
yield "
<div class=\"l-lazy-section ui-lazy-section loading\"
data-l-lazy-section=\"collections\"
data-l-lazy-section-type=\"simple\"
data-l-lazy-section-url=\"";
// line 25
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(CoreExtension::getAttribute($this->env, $this->source, 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.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "attributes", [], "any", false, false, false, 25), "get", ["_route"], "method", false, false, false, 25), Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, 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.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "attributes", [], "any", false, false, false, 25), "get", ["_route_params"], "method", false, false, false, 25), ["content" => true])), "html", null, true);
yield "\"
></div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 30
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 31
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
";
// line 32
yield $macros["͜macros"]->getTemplateForMacro("macro_assetCSS", $context, 32, $this->getSourceContext())->macro_assetCSS(...[$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("pages-assets/collections/collections.lazy.styles.css"), true]);
yield "
";
// line 34
yield $macros["͜macros"]->getTemplateForMacro("macro_assetJS", $context, 34, $this->getSourceContext())->macro_assetJS(...[$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("pages-assets/collections/collections.js")]);
yield "
";
// line 35
yield $macros["͜macros"]->getTemplateForMacro("macro_assetJS", $context, 35, $this->getSourceContext())->macro_assetJS(...[$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("pages-assets/collections/collections.lazy.js"), true]);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "product/frontEnd/collection/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 211 => 35, 207 => 34, 202 => 32, 197 => 31, 184 => 30, 169 => 25, 163 => 21, 161 => 20, 158 => 19, 155 => 18, 152 => 17, 139 => 16, 126 => 13, 121 => 12, 108 => 11, 96 => 8, 83 => 7, 72 => 1, 70 => 4, 68 => 2, 55 => 1, 33 => 3,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'fe/base.html.twig' %}
{% set seo = seoPage.seo %}
{% use '@PNSeo/FrontEnd/seo.html.twig' %}
{% import 'fe/macros.html.twig' as macros %}
{% block criticalCSS %}
{% include \"product/frontEnd/collection/_critical_css.css.twig\" %}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ macros.assetCSS(asset('pages-assets/collections/collections.styles.css')) }}
{% endblock %}
{% block content %}
{% set pageTitle = seoPage.seo.title %}
{% set pageDescription = null %}
{% include \"fe/_pages_header.html.twig\" with {\"pageTitle\": pageTitle, \"marginBottomZero\": true } %}
<div class=\"l-lazy-section ui-lazy-section loading\"
data-l-lazy-section=\"collections\"
data-l-lazy-section-type=\"simple\"
data-l-lazy-section-url=\"{{ path(app.request.attributes.get('_route'),app.request.attributes.get('_route_params')|merge({'content':true})) }}\"
></div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
{{ macros.assetCSS(asset('pages-assets/collections/collections.lazy.styles.css'), true) }}
{{ macros.assetJS(asset('pages-assets/collections/collections.js')) }}
{{ macros.assetJS(asset('pages-assets/collections/collections.lazy.js'), true) }}
{% endblock %}
", "product/frontEnd/collection/index.html.twig", "/var/www/esorus-shop/templates/product/frontEnd/collection/index.html.twig");
}
}