<?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;
/* @Portal/Catalog/catalog-main.html.twig */
class __TwigTemplate_0d83b2404c8487310a5f5d61ea7527ee 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 = [
'head' => [$this, 'block_head'],
'content' => [$this, 'block_content'],
'schema_catalog_product' => [$this, 'block_schema_catalog_product'],
];
}
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", "@Portal/Catalog/catalog-main.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Portal/Catalog/catalog-main.html.twig"));
// line 1
$context["pageTitle"] = "";
// line 2
$context["pageDescription"] = "";
// line 3
if ((($tmp = (isset($context["seoMeta"]) || array_key_exists("seoMeta", $context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.', 3, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 4
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta", $context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.', 4, $this->source); })()), "title", [], "any", false, false, false, 4)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 5
yield " ";
$context["pageTitle"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta", $context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.', 5, $this->source); })()), "title", [], "any", false, false, false, 5);
// line 6
yield " ";
} elseif ((($tmp = (isset($context["year"]) || array_key_exists("year", $context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.', 6, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 7
yield " ";
$context["pageTitle"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.catalog.year_title", ["%year%" => (isset($context["year"]) || array_key_exists("year", $context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.', 7, $this->source); })())], "portal_base");
// line 8
yield " ";
} else {
// line 9
yield " ";
$context["pageTitle"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.catalog.title", [], "portal_base");
// line 10
yield " ";
}
// line 11
yield "
";
// line 12
if ((($tmp = 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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "get", ["page"], "method", false, false, false, 12)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 13
yield " ";
$context["pageTitle"] = (((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.page", [], "portal_base") . " - ") . 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.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "get", ["page"], "method", false, false, false, 13)) . " - ") . (isset($context["pageTitle"]) || array_key_exists("pageTitle", $context) ? $context["pageTitle"] : (function () { throw new RuntimeError('Variable "pageTitle" does not exist.', 13, $this->source); })()));
// line 14
yield " ";
}
// line 15
yield "
";
// line 16
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta", $context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.', 16, $this->source); })()), "description", [], "any", false, false, false, 16)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 17
yield " ";
$context["pageDescription"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta", $context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.', 17, $this->source); })()), "description", [], "any", false, false, false, 17);
// line 18
yield " ";
} elseif ((($tmp = (isset($context["year"]) || array_key_exists("year", $context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.', 18, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 19
yield " ";
$context["pageDescription"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.catalog.year_description", ["%year%" => (isset($context["year"]) || array_key_exists("year", $context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.', 19, $this->source); })())], "portal_base");
// line 20
yield " ";
}
}
// line 22
yield "
";
// line 23
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta", $context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.', 23, $this->source); })()), "h1", [], "any", false, false, false, 23)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 24
yield " ";
$context["pageH1"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta", $context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.', 24, $this->source); })()), "h1", [], "any", false, false, false, 24);
} elseif (( // line 25
array_key_exists("valueParam", $context) && (isset($context["valueParam"]) || array_key_exists("valueParam", $context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.', 25, $this->source); })()))) {
// line 26
yield " ";
$context["pageH1"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((((("catalog.seo.h1_" . (isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 26, $this->source); })())) . "_") . (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 26, $this->source); })())) . "_body_type"), ["%body_type%" => (isset($context["valueParam"]) || array_key_exists("valueParam", $context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.', 26, $this->source); })())], "portal_base");
} elseif ((($tmp = // line 27
(isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 27, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 28
yield " ";
$context["pageH1"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((((("catalog.seo.h1_" . (isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 28, $this->source); })())) . "_") . (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 28, $this->source); })())) . "_brand"), ["%brand%" => (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 28, $this->source); })())], "portal_base");
} elseif ((($tmp = // line 29
(isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 29, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 30
yield " ";
$context["pageH1"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((((("catalog.seo.h1_" . (isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 30, $this->source); })())) . "_") . (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 30, $this->source); })())) . "_model"), ["%model%" => (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 30, $this->source); })())], "portal_base");
} elseif ((($tmp = // line 31
(isset($context["year"]) || array_key_exists("year", $context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.', 31, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 32
yield " ";
$context["pageH1"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((((("catalog.seo.h1_" . (isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 32, $this->source); })())) . "_") . (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 32, $this->source); })())) . "_year"), ["%year%" => (isset($context["year"]) || array_key_exists("year", $context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.', 32, $this->source); })())], "portal_base");
}
// line 34
yield "
";
// line 35
yield from $this->unwrap()->yieldBlock('head', $context, $blocks);
// line 50
yield "
";
// line 51
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 254
yield "
";
// line 255
yield from $this->unwrap()->yieldBlock('schema_catalog_product', $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 35
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_head(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", "head"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
// line 36
yield " ";
if ((($tmp = (isset($context["INCLUDE_ANALYTICS"]) || array_key_exists("INCLUDE_ANALYTICS", $context) ? $context["INCLUDE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "INCLUDE_ANALYTICS" does not exist.', 36, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 37
yield " <!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TK6DGWW');</script>
<!-- End Google Tag Manager -->
";
}
// line 45
yield " <title>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageTitle"]) || array_key_exists("pageTitle", $context) ? $context["pageTitle"] : (function () { throw new RuntimeError('Variable "pageTitle" does not exist.', 45, $this->source); })()), "html", null, true);
yield "</title>
<meta name=\"description\" content=\"";
// line 46
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageDescription"]) || array_key_exists("pageDescription", $context) ? $context["pageDescription"] : (function () { throw new RuntimeError('Variable "pageDescription" does not exist.', 46, $this->source); })()), "html", null, true);
yield "\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/";
// line 48
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["MODE"]) || array_key_exists("MODE", $context) ? $context["MODE"] : (function () { throw new RuntimeError('Variable "MODE" does not exist.', 48, $this->source); })()), "html", null, true);
yield "/portal/css/portalCarCatalog.css?";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["VERSION"]) || array_key_exists("VERSION", $context) ? $context["VERSION"] : (function () { throw new RuntimeError('Variable "VERSION" does not exist.', 48, $this->source); })()), "html", null, true);
yield "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 51
/**
* @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 52
yield " ";
if ((($tmp = (isset($context["INCLUDE_ANALYTICS"]) || array_key_exists("INCLUDE_ANALYTICS", $context) ? $context["INCLUDE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "INCLUDE_ANALYTICS" does not exist.', 52, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 53
yield " <!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TK6DGWW\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
";
}
// line 58
yield " <div id=\"baseFilters\">
<section class=\"breadcrumbs__new\">
<div class=\"container\">
<ol class=\"vidi_breadcrumbs__new\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
<li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
<a itemprop=\"item\" href=\"";
// line 64
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_homepage");
yield "\">
<span class=\"breadcrumbs__link\" itemprop=\"name\">VIDI.UA</span></a>
<meta itemprop=\"position\" content=\"1\"/>
</li>
<div class=\"arrow-bc\"></div>
<li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
<a itemprop=\"item\" href=\"";
// line 72
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_new_catalog", ["state" => (isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 72, $this->source); })()), "type" => (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 72, $this->source); })())]), "html", null, true);
yield "\">
<span class=\"breadcrumbs__link\" itemprop=\"name\">";
// line 73
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(((("catalog." . (isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 73, $this->source); })())) . "_") . (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 73, $this->source); })())), [], "portal_base"), "html", null, true);
yield "</span></a>
<meta itemprop=\"position\" content=\"2\"/>
</li>
";
// line 76
if ((array_key_exists("valueParam", $context) && (isset($context["valueParam"]) || array_key_exists("valueParam", $context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.', 76, $this->source); })()))) {
// line 77
yield " <div class=\"arrow-bc\"></div>
<li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
";
// line 80
if (((array_key_exists("brand", $context) && (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 80, $this->source); })())) && ((isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 80, $this->source); })()) != "all"))) {
// line 81
yield " <a itemprop=\"item\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_new_catalog_by_params", ["state" => (isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 81, $this->source); })()), "type" => (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 81, $this->source); })()), "param" => (isset($context["param"]) || array_key_exists("param", $context) ? $context["param"] : (function () { throw new RuntimeError('Variable "param" does not exist.', 81, $this->source); })()), "value" => (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 81, $this->source); })())]), "html", null, true);
yield "\">
<span class=\"breadcrumbs__link\" itemprop=\"name\">";
// line 82
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["valueParam"]) || array_key_exists("valueParam", $context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.', 82, $this->source); })()), "html", null, true);
yield "</span></a>
";
} else {
// line 84
yield " <span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["valueParam"]) || array_key_exists("valueParam", $context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.', 84, $this->source); })()), "html", null, true);
yield "</span>
";
}
// line 86
yield " <meta itemprop=\"position\" content=\"3\"/>
</li>
";
}
// line 89
yield " ";
if (((array_key_exists("brand", $context) && (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 89, $this->source); })())) && ((isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 89, $this->source); })()) != "all"))) {
// line 90
yield " <div class=\"arrow-bc\"></div>
<li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
";
// line 93
if ((array_key_exists("model", $context) && (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 93, $this->source); })()))) {
// line 94
yield " ";
if ((array_key_exists("valueParam", $context) && (isset($context["valueParam"]) || array_key_exists("valueParam", $context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.', 94, $this->source); })()))) {
// line 95
yield " <a itemprop=\"item\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_new_catalog_b_by_params", ["state" => (isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 95, $this->source); })()), "type" => (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 95, $this->source); })()), "param" => (isset($context["param"]) || array_key_exists("param", $context) ? $context["param"] : (function () { throw new RuntimeError('Variable "param" does not exist.', 95, $this->source); })()), "value" => (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 95, $this->source); })()), "brand" => (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 95, $this->source); })())]), "html", null, true);
yield "\">
<span class=\"breadcrumbs__link\" itemprop=\"name\">";
// line 96
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 96, $this->source); })()), "html", null, true);
yield "</span>
</a>
";
} else {
// line 99
yield " <a itemprop=\"item\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_new_catalog_b", ["state" => (isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 99, $this->source); })()), "type" => (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 99, $this->source); })()), "brand" => (isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 99, $this->source); })())]), "html", null, true);
yield "\">
<span class=\"breadcrumbs__link\" itemprop=\"name\">";
// line 100
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 100, $this->source); })()), "html", null, true);
yield "</span>
</a>
";
}
// line 103
yield " ";
} else {
// line 104
yield " <span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["brand"]) || array_key_exists("brand", $context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.', 104, $this->source); })()), "html", null, true);
yield "</span>
";
}
// line 106
yield " <meta itemprop=\"position\" content=\"3\"/>
</li>
";
}
// line 109
yield " ";
if ((array_key_exists("model", $context) && (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 109, $this->source); })()))) {
// line 110
yield " <div class=\"arrow-bc\"></div>
<li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
<span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">";
// line 113
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 113, $this->source); })()), "html", null, true);
yield "</span>
<meta itemprop=\"position\" content=\"4\"/>
</li>
";
}
// line 117
yield "
";
// line 118
if ((array_key_exists("group", $context) && (isset($context["group"]) || array_key_exists("group", $context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.', 118, $this->source); })()))) {
// line 119
yield " <div class=\"arrow-bc\"></div>
<li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
<span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">";
// line 122
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageH1"]) || array_key_exists("pageH1", $context) ? $context["pageH1"] : (function () { throw new RuntimeError('Variable "pageH1" does not exist.', 122, $this->source); })()), "html", null, true);
yield "</span>
<meta itemprop=\"position\" content=\"4\"/>
</li>
";
}
// line 126
yield " </ol>
</div>
</section>
<section class=\"selection__catalog__head\">
<div class=\"container\">
<h1 class=\"catalog__title\">";
// line 132
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageH1"]) || array_key_exists("pageH1", $context) ? $context["pageH1"] : (function () { throw new RuntimeError('Variable "pageH1" does not exist.', 132, $this->source); })()), "html", null, true);
yield "</h1>
";
// line 133
if ((((isset($context["catalogBanner"]) || array_key_exists("catalogBanner", $context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.', 133, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner", $context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.', 133, $this->source); })()), "imageByLocale", [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.', 133, $this->source); })()), "request", [], "any", false, false, false, 133), "locale", [], "any", false, false, false, 133)], "method", false, false, false, 133)) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner", $context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.', 133, $this->source); })()), "imageMobileByLocale", [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.', 133, $this->source); })()), "request", [], "any", false, false, false, 133), "locale", [], "any", false, false, false, 133)], "method", false, false, false, 133))) {
// line 134
yield " <a href=\"";
yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner", $context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.', 134, $this->source); })()), "btnLink", [], "any", false, false, false, 134)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner", $context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.', 134, $this->source); })()), "btnLink", [], "any", false, false, false, 134), "html", null, true)) : ("#"));
yield "\"
";
// line 135
yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner", $context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.', 135, $this->source); })()), "modal", [], "any", false, false, false, 135)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("data-toggle=\"modal\" data-bs-toggle=\"modal\" data-bs-target=\"#order-car\"") : (" "));
yield ">
<img class=\"global_banner_img catalog-banner-pc\" src=\"";
// line 136
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->path(CoreExtension::getAttribute($this->env, $this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner", $context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.', 136, $this->source); })()), "imageByLocale", [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.', 136, $this->source); })()), "request", [], "any", false, false, false, 136), "locale", [], "any", false, false, false, 136)], "method", false, false, false, 136), "reference"), "html", null, true);
yield "\" alt=\"\">
<img class=\"global_banner_img catalog-banner-mobile\" src=\"";
// line 137
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->path(CoreExtension::getAttribute($this->env, $this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner", $context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.', 137, $this->source); })()), "imageMobileByLocale", [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.', 137, $this->source); })()), "request", [], "any", false, false, false, 137), "locale", [], "any", false, false, false, 137)], "method", false, false, false, 137), "reference"), "html", null, true);
yield "\" alt=\"\">
</a>
";
}
// line 140
yield "
";
// line 141
if (array_key_exists("catalogNav", $context)) {
// line 142
yield " ";
yield from $this->load("@Portal/Catalog/catalog-nav.html.twig", 142)->unwrap()->yield($context);
// line 143
yield " ";
}
// line 144
yield " </div>
</section>
";
// line 147
yield from $this->load("@Portal/Catalog/catalog-vehicle.html.twig", 147)->unwrap()->yield($context);
// line 148
yield "
<section class=\"section__salons\">
<div class=\"container\">
<h2 class=\"site__main__title\">";
// line 151
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.official_dealers", [], "portal_base"), "html", null, true);
yield " VIDI</h2>
<div class=\"salons__wrapper\">
<div v-for=\"dealer in dealers\" class=\"salons__box\">
<div class=\"salons-img\" :style=\"{ backgroundImage: 'url(' + dealer.logo + ')' }\">
</div>
<div class=\"salons__info__wrapper\">
<p class=\"salons__title\" v-html=\"dealer.name\"></p>
<div class=\"salons__info__link__box\">
<img src=\"";
// line 159
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/img/icon-svg/mappin.svg"), "html", null, true);
yield "\" :alt=\"dealer.address\" v-html=\"dealer.address\">
<a :href=\"dealer.mapUrl\" class=\"info__link__text\" target=\"_blank\" v-html=\"dealer.address\"></a>
</div>
<div class=\"salons__info__link__box\">
<img src=\"";
// line 163
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/img/icon-svg/phone.svg"), "html", null, true);
yield "\" :alt=\"dealer.phone\">
<a :href=\"'tel:' + dealer.href_phone\" v-html=\"dealer.phone\" class=\"info__link__text\"></a>
</div>
<a class=\"go-website__link\" :href=\"'https://' + dealer.domain\">";
// line 166
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.go_to_site", [], "portal_base"), "html", null, true);
yield "</a>
</div>
</div>
</div>
</div>
</section>
<section class=\"section__price__new__car\" v-if=\"seoLinks.blocks\">
<div class=\"container\">
";
// line 175
if ((($tmp = (isset($context["modelEm"]) || array_key_exists("modelEm", $context) ? $context["modelEm"] : (function () { throw new RuntimeError('Variable "modelEm" does not exist.', 175, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 176
yield " ";
$context["carName"] = ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["brandEm"]) || array_key_exists("brandEm", $context) ? $context["brandEm"] : (function () { throw new RuntimeError('Variable "brandEm" does not exist.', 176, $this->source); })()), "name", [], "any", false, false, false, 176) . " ") . CoreExtension::getAttribute($this->env, $this->source, (isset($context["modelEm"]) || array_key_exists("modelEm", $context) ? $context["modelEm"] : (function () { throw new RuntimeError('Variable "modelEm" does not exist.', 176, $this->source); })()), "title", [], "any", false, false, false, 176));
// line 177
yield " ";
} elseif ((($tmp = (isset($context["brandEm"]) || array_key_exists("brandEm", $context) ? $context["brandEm"] : (function () { throw new RuntimeError('Variable "brandEm" does not exist.', 177, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 178
yield " ";
$context["carName"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["brandEm"]) || array_key_exists("brandEm", $context) ? $context["brandEm"] : (function () { throw new RuntimeError('Variable "brandEm" does not exist.', 178, $this->source); })()), "name", [], "any", false, false, false, 178);
// line 179
yield " ";
}
// line 180
yield "
";
// line 182
if ((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.', 182, $this->source); })()), "request", [], "any", false, false, false, 182), "get", ["state"], "method", false, false, false, 182) == "new")) {
// line 183
yield " <h2 class=\"site__main__title\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.prices", [], "portal_base"), "html", null, true);
yield " на ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageH1"]) || array_key_exists("pageH1", $context) ? $context["pageH1"] : (function () { throw new RuntimeError('Variable "pageH1" does not exist.', 183, $this->source); })()), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.in_ukraine", [], "portal_base"), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "d.m.Y"), "html", null, true);
yield "</h2>
";
} else {
// line 185
yield " <h2 class=\"site__main__title\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.prices", [], "portal_base"), "html", null, true);
yield " на ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageH1"]) || array_key_exists("pageH1", $context) ? $context["pageH1"] : (function () { throw new RuntimeError('Variable "pageH1" does not exist.', 185, $this->source); })()), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "d.m.Y"), "html", null, true);
yield "</h2>
";
}
// line 187
yield " <div class=\"price__new__car__wrapper\">
<div class=\"price__new__car__name__box\">
<p class=\"price__new__car__name\">";
// line 190
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search.cars", [], "portal_base"), "html", null, true);
yield "</p>
<p class=\"price__new__car__name\">";
// line 191
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.prices", [], "portal_base"), "html", null, true);
yield "</p>
</div>
<table class=\"price__table__wrapper\">
<tbody>
";
// line 196
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["vehicleTopViews"]) || array_key_exists("vehicleTopViews", $context) ? $context["vehicleTopViews"] : (function () { throw new RuntimeError('Variable "vehicleTopViews" does not exist.', 196, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["vehicle"]) {
// line 197
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "isUsed", [], "any", false, false, false, 197)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 198
yield " <tr>
<td>
<a href=\"";
// line 200
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_used_car", ["url" => CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "url", [], "any", false, false, false, 200)]), "html", null, true);
yield "\">
<p class=\"price__new__info__name\">";
// line 201
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "fullName", [], "any", false, false, false, 201), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->engineVolumeShortFilter(CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "engineVolume", [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.', 201, $this->source); })()), "request", [], "any", false, false, false, 201), "locale", [], "any", false, false, false, 201)], "method", false, false, false, 201)), "html", null, true);
yield " л., ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "year", [], "any", false, false, false, 201), "html", null, true);
yield ", ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "transmissionTypeName", [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.', 201, $this->source); })()), "request", [], "any", false, false, false, 201), "locale", [], "any", false, false, false, 201)], "method", false, false, false, 201), "html", null, true);
yield "</p>
</a>
</td>
<td>
<p class=\"price__new__info__price\">";
// line 205
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->priceFilter(CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "price", [], "any", false, false, false, 205)), "html", null, true);
yield " грн</p>
</td>
</tr>
";
} else {
// line 209
yield " <tr>
<td>
<a href=\"";
// line 211
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_new_car", ["dealer" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "dealer", [], "any", false, false, false, 211), "url", [], "any", false, false, false, 211), "url" => CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "url", [], "any", false, false, false, 211), "variation" => CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "vehicleItemId", [], "any", false, false, false, 211)]), "html", null, true);
yield "\">
<p class=\"price__new__info__name\">";
// line 212
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "fullName", [], "any", false, false, false, 212), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "equipment", [], "any", false, false, false, 212), "title", [], "any", false, false, false, 212), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->engineVolumeShortFilter(CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "engineVolume", [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.', 212, $this->source); })()), "request", [], "any", false, false, false, 212), "locale", [], "any", false, false, false, 212)], "method", false, false, false, 212)), "html", null, true);
yield " л., ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "year", [], "any", false, false, false, 212), "html", null, true);
yield ", ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "transmissionTypeName", [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.', 212, $this->source); })()), "request", [], "any", false, false, false, 212), "locale", [], "any", false, false, false, 212)], "method", false, false, false, 212), "html", null, true);
yield "</p>
</a>
</td>
<td>
<p class=\"price__new__info__price\">";
// line 216
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->priceFilter(CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "price", [], "any", false, false, false, 216)), "html", null, true);
yield " грн</p>
</td>
</tr>
";
}
// line 220
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['vehicle'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 221
yield " </tbody>
</table>
</div>
</div>
</section>
<section class=\"section__select__cars__characteristics\" v-if=\"seoLinks.blocks\">
<div class=\"container\">
";
// line 229
if (((isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 229, $this->source); })()) == "used")) {
// line 230
yield " <h2 class=\"site__main__title\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.select_used_characteristics", [], "portal_base"), "html", null, true);
yield "</h2>
";
} else {
// line 232
yield " ";
if (((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 232, $this->source); })()) == "car")) {
// line 233
yield " <h2 class=\"site__main__title\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.select_characteristics", [], "portal_base"), "html", null, true);
yield "</h2>
";
} else {
// line 235
yield " <h2 class=\"site__main__title\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("catalog.select_characteristics_" . (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 235, $this->source); })())), [], "portal_base"), "html", null, true);
yield "</h2>
";
}
// line 237
yield " ";
}
// line 238
yield "
<table class=\"table__cars__characteristics\">
<tbody>
<tr v-for=\"(blok, key) in seoLinks.blocks\" v-if=\"key != 'model'\" class=\"select__cars__characteristics__box\">
<td class=\"select__cars__characteristics__item-title\" v-html=\"blok.title\"></td>
<td v-for=\"link in blok.links\">
<a v-if=\"link.url\" :href=\"link.url\" class=\"select__cars__characteristics__item\" v-html=\"link.title\"></a>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 255
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_schema_catalog_product(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", "schema_catalog_product"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "schema_catalog_product"));
// line 256
yield " ";
if ((($tmp = (isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 256, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 257
yield " <script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": [\"Product\"],
\"name\": \"1111";
// line 261
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageH1"]) || array_key_exists("pageH1", $context) ? $context["pageH1"] : (function () { throw new RuntimeError('Variable "pageH1" does not exist.', 261, $this->source); })()), "html", null, true);
yield "\",
\"description\": \"";
// line 262
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageDescription"]) || array_key_exists("pageDescription", $context) ? $context["pageDescription"] : (function () { throw new RuntimeError('Variable "pageDescription" does not exist.', 262, $this->source); })()), "html", null, true);
yield "\",
\"image\": [
";
// line 264
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["vehicles"]) || array_key_exists("vehicles", $context) ? $context["vehicles"] : (function () { throw new RuntimeError('Variable "vehicles" does not exist.', 264, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["vehicle"]) {
// line 265
yield " {
\"@type\": \"ImageObject\",
\"image\": \"";
// line 267
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "vehiclePicture", [], "any", false, false, false, 267), "img", [], "any", false, false, false, 267), "html", null, true);
yield "\",
\"contentUrl\": \"";
// line 268
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["vehicle"], "vehiclePicture", [], "any", false, false, false, 268), "img", [], "any", false, false, false, 268), "html", null, true);
yield "\"
}";
// line 269
if ((($tmp = !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 269)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield ",";
}
// line 270
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['vehicle'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 271
yield " ],
\"offers\": {
\"@type\": \"AggregateOffer\",
\"priceCurrency\": \"UAH\",
\"lowPrice\": \"";
// line 275
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["minMaxPrice"]) || array_key_exists("minMaxPrice", $context) ? $context["minMaxPrice"] : (function () { throw new RuntimeError('Variable "minMaxPrice" does not exist.', 275, $this->source); })()), "minPrice", [], "any", false, false, false, 275), "html", null, true);
yield "\",
\"highPrice\": \"";
// line 276
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["minMaxPrice"]) || array_key_exists("minMaxPrice", $context) ? $context["minMaxPrice"] : (function () { throw new RuntimeError('Variable "minMaxPrice" does not exist.', 276, $this->source); })()), "maxPrice", [], "any", false, false, false, 276), "html", null, true);
yield "\",
\"offerCount\": \"";
// line 277
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 277, $this->source); })()), "html", null, true);
yield "\"
}
}
</script>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@Portal/Catalog/catalog-main.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 750 => 277, 746 => 276, 742 => 275, 736 => 271, 722 => 270, 718 => 269, 714 => 268, 710 => 267, 706 => 265, 689 => 264, 684 => 262, 680 => 261, 674 => 257, 671 => 256, 658 => 255, 632 => 238, 629 => 237, 623 => 235, 617 => 233, 614 => 232, 608 => 230, 606 => 229, 596 => 221, 590 => 220, 583 => 216, 568 => 212, 564 => 211, 560 => 209, 553 => 205, 540 => 201, 536 => 200, 532 => 198, 529 => 197, 525 => 196, 517 => 191, 513 => 190, 508 => 187, 498 => 185, 486 => 183, 484 => 182, 480 => 180, 477 => 179, 474 => 178, 471 => 177, 468 => 176, 466 => 175, 454 => 166, 448 => 163, 441 => 159, 430 => 151, 425 => 148, 423 => 147, 418 => 144, 415 => 143, 412 => 142, 410 => 141, 407 => 140, 401 => 137, 397 => 136, 393 => 135, 388 => 134, 386 => 133, 382 => 132, 374 => 126, 367 => 122, 362 => 119, 360 => 118, 357 => 117, 350 => 113, 345 => 110, 342 => 109, 337 => 106, 331 => 104, 328 => 103, 322 => 100, 317 => 99, 311 => 96, 306 => 95, 303 => 94, 301 => 93, 296 => 90, 293 => 89, 288 => 86, 282 => 84, 277 => 82, 272 => 81, 270 => 80, 265 => 77, 263 => 76, 257 => 73, 253 => 72, 242 => 64, 234 => 58, 227 => 53, 224 => 52, 211 => 51, 196 => 48, 191 => 46, 186 => 45, 176 => 37, 173 => 36, 160 => 35, 149 => 255, 146 => 254, 144 => 51, 141 => 50, 139 => 35, 136 => 34, 132 => 32, 130 => 31, 127 => 30, 125 => 29, 122 => 28, 120 => 27, 117 => 26, 115 => 25, 112 => 24, 110 => 23, 107 => 22, 103 => 20, 100 => 19, 97 => 18, 94 => 17, 92 => 16, 89 => 15, 86 => 14, 83 => 13, 81 => 12, 78 => 11, 75 => 10, 72 => 9, 69 => 8, 66 => 7, 63 => 6, 60 => 5, 57 => 4, 55 => 3, 53 => 2, 51 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% set pageTitle = '' %}
{% set pageDescription = '' %}
{% if seoMeta %}
{% if seoMeta.title %}
{% set pageTitle = seoMeta.title %}
{% elseif year %}
{% set pageTitle = 'seo.catalog.year_title'|trans({'%year%': year}, 'portal_base') %}
{% else %}
{% set pageTitle = 'seo.catalog.title'|trans({}, 'portal_base') %}
{% endif %}
{% if app.request.get('page') %}
{% set pageTitle = 'base.page'|trans({}, 'portal_base') ~ ' - ' ~ app.request.get('page') ~ ' - ' ~ pageTitle %}
{% endif %}
{% if seoMeta.description %}
{% set pageDescription = seoMeta.description %}
{% elseif year %}
{% set pageDescription = 'seo.catalog.year_description'|trans({'%year%': year}, 'portal_base') %}
{% endif %}
{% endif %}
{% if seoMeta.h1 %}
{% set pageH1 = seoMeta.h1 %}
{% elseif valueParam is defined and valueParam %}
{% set pageH1 = ('catalog.seo.h1_' ~ state ~ '_' ~ type ~ '_body_type')|trans({'%body_type%': valueParam}, 'portal_base') %}
{% elseif brand %}
{% set pageH1 = ('catalog.seo.h1_' ~ state ~ '_' ~ type ~ '_brand')|trans({'%brand%': brand}, 'portal_base') %}
{% elseif model %}
{% set pageH1 = ('catalog.seo.h1_' ~ state ~ '_' ~ type ~ '_model')|trans({'%model%': model}, 'portal_base') %}
{% elseif year %}
{% set pageH1 = ('catalog.seo.h1_' ~ state ~ '_' ~ type ~ '_year')|trans({'%year%': year}, 'portal_base') %}
{% endif %}
{% block head %}
{% if INCLUDE_ANALYTICS %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TK6DGWW');</script>
<!-- End Google Tag Manager -->
{% endif %}
<title>{{ pageTitle }}</title>
<meta name=\"description\" content=\"{{ pageDescription }}\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/{{ MODE }}/portal/css/portalCarCatalog.css?{{ VERSION }}\">
{% endblock %}
{% block content %}
{% if INCLUDE_ANALYTICS %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TK6DGWW\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}
<div id=\"baseFilters\">
<section class=\"breadcrumbs__new\">
<div class=\"container\">
<ol class=\"vidi_breadcrumbs__new\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
<li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
<a itemprop=\"item\" href=\"{{ path('portal_homepage') }}\">
<span class=\"breadcrumbs__link\" itemprop=\"name\">VIDI.UA</span></a>
<meta itemprop=\"position\" content=\"1\"/>
</li>
<div class=\"arrow-bc\"></div>
<li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
<a itemprop=\"item\" href=\"{{ path('portal_new_catalog',{state:state ,type:type}) }}\">
<span class=\"breadcrumbs__link\" itemprop=\"name\">{{ ('catalog.' ~ state ~ '_' ~ type)|trans({}, 'portal_base') }}</span></a>
<meta itemprop=\"position\" content=\"2\"/>
</li>
{% if valueParam is defined and valueParam %}
<div class=\"arrow-bc\"></div>
<li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
{% if brand is defined and brand and brand != 'all' %}
<a itemprop=\"item\" href=\"{{ path('portal_new_catalog_by_params',{state:state ,type:type, param: param, value: value}) }}\">
<span class=\"breadcrumbs__link\" itemprop=\"name\">{{ valueParam }}</span></a>
{% else %}
<span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">{{ valueParam }}</span>
{% endif %}
<meta itemprop=\"position\" content=\"3\"/>
</li>
{% endif %}
{% if brand is defined and brand and brand != 'all' %}
<div class=\"arrow-bc\"></div>
<li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
{% if model is defined and model %}
{% if valueParam is defined and valueParam %}
<a itemprop=\"item\" href=\"{{ path('portal_new_catalog_b_by_params',{state:state ,type:type, param: param, value: value, brand: brand}) }}\">
<span class=\"breadcrumbs__link\" itemprop=\"name\">{{ brand }}</span>
</a>
{% else %}
<a itemprop=\"item\" href=\"{{ path('portal_new_catalog_b',{state:state ,type:type, brand: brand}) }}\">
<span class=\"breadcrumbs__link\" itemprop=\"name\">{{ brand }}</span>
</a>
{% endif %}
{% else %}
<span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">{{ brand }}</span>
{% endif %}
<meta itemprop=\"position\" content=\"3\"/>
</li>
{% endif %}
{% if model is defined and model %}
<div class=\"arrow-bc\"></div>
<li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
<span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">{{ model }}</span>
<meta itemprop=\"position\" content=\"4\"/>
</li>
{% endif %}
{% if group is defined and group %}
<div class=\"arrow-bc\"></div>
<li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
itemtype=\"https://schema.org/ListItem\">
<span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">{{ pageH1 }}</span>
<meta itemprop=\"position\" content=\"4\"/>
</li>
{% endif %}
</ol>
</div>
</section>
<section class=\"selection__catalog__head\">
<div class=\"container\">
<h1 class=\"catalog__title\">{{ pageH1 }}</h1>
{% if catalogBanner and catalogBanner.imageByLocale(app.request.locale) and catalogBanner.imageMobileByLocale(app.request.locale) %}
<a href=\"{{ catalogBanner.btnLink ? catalogBanner.btnLink : '#' }}\"
{{ catalogBanner.modal ? 'data-toggle=\"modal\" data-bs-toggle=\"modal\" data-bs-target=\"#order-car\"' : ' ' }}>
<img class=\"global_banner_img catalog-banner-pc\" src=\"{{ sonata_path(catalogBanner.imageByLocale(app.request.locale), 'reference') }}\" alt=\"\">
<img class=\"global_banner_img catalog-banner-mobile\" src=\"{{ sonata_path(catalogBanner.imageMobileByLocale(app.request.locale), 'reference') }}\" alt=\"\">
</a>
{% endif %}
{% if catalogNav is defined %}
{% include '@Portal/Catalog/catalog-nav.html.twig' %}
{% endif %}
</div>
</section>
{% include '@Portal/Catalog/catalog-vehicle.html.twig' %}
<section class=\"section__salons\">
<div class=\"container\">
<h2 class=\"site__main__title\">{{ 'catalog.official_dealers'|trans({}, 'portal_base') }} VIDI</h2>
<div class=\"salons__wrapper\">
<div v-for=\"dealer in dealers\" class=\"salons__box\">
<div class=\"salons-img\" :style=\"{ backgroundImage: 'url(' + dealer.logo + ')' }\">
</div>
<div class=\"salons__info__wrapper\">
<p class=\"salons__title\" v-html=\"dealer.name\"></p>
<div class=\"salons__info__link__box\">
<img src=\"{{ asset('/bundles/portal/img/icon-svg/mappin.svg') }}\" :alt=\"dealer.address\" v-html=\"dealer.address\">
<a :href=\"dealer.mapUrl\" class=\"info__link__text\" target=\"_blank\" v-html=\"dealer.address\"></a>
</div>
<div class=\"salons__info__link__box\">
<img src=\"{{ asset('/bundles/portal/img/icon-svg/phone.svg') }}\" :alt=\"dealer.phone\">
<a :href=\"'tel:' + dealer.href_phone\" v-html=\"dealer.phone\" class=\"info__link__text\"></a>
</div>
<a class=\"go-website__link\" :href=\"'https://' + dealer.domain\">{{ 'catalog.go_to_site'|trans({}, 'portal_base') }}</a>
</div>
</div>
</div>
</div>
</section>
<section class=\"section__price__new__car\" v-if=\"seoLinks.blocks\">
<div class=\"container\">
{% if modelEm %}
{% set carName = brandEm.name~' '~modelEm.title %}
{% elseif brandEm %}
{% set carName = brandEm.name %}
{% endif%}
{% if app.request.get('state') == 'new' %}
<h2 class=\"site__main__title\">{{ 'catalog.prices'|trans({}, 'portal_base') }} на {{ pageH1 }} {{ 'catalog.in_ukraine'|trans({}, 'portal_base') }} {{ \"now\"|date(\"d.m.Y\") }}</h2>
{% else %}
<h2 class=\"site__main__title\">{{ 'catalog.prices'|trans({}, 'portal_base') }} на {{ pageH1 }} {{ \"now\"|date(\"d.m.Y\") }}</h2>
{% endif %}
<div class=\"price__new__car__wrapper\">
<div class=\"price__new__car__name__box\">
<p class=\"price__new__car__name\">{{ 'search.cars'|trans({}, 'portal_base') }}</p>
<p class=\"price__new__car__name\">{{ 'catalog.prices'|trans({}, 'portal_base') }}</p>
</div>
<table class=\"price__table__wrapper\">
<tbody>
{% for vehicle in vehicleTopViews %}
{% if vehicle.isUsed %}
<tr>
<td>
<a href=\"{{ path('portal_used_car',{url:vehicle.url}) }}\">
<p class=\"price__new__info__name\">{{ vehicle.fullName }} {{ vehicle.engineVolume(app.request.locale) | engine_volume_short }} л., {{ vehicle.year }}, {{ vehicle.transmissionTypeName(app.request.locale) }}</p>
</a>
</td>
<td>
<p class=\"price__new__info__price\">{{ vehicle.price|price }} грн</p>
</td>
</tr>
{% else %}
<tr>
<td>
<a href=\"{{ path('portal_new_car',{dealer: vehicle.dealer.url, url:vehicle.url, variation: vehicle.vehicleItemId }) }}\">
<p class=\"price__new__info__name\">{{ vehicle.fullName }} {{ vehicle.equipment.title }} {{ vehicle.engineVolume(app.request.locale) | engine_volume_short }} л., {{ vehicle.year }}, {{ vehicle.transmissionTypeName(app.request.locale) }}</p>
</a>
</td>
<td>
<p class=\"price__new__info__price\">{{ vehicle.price|price }} грн</p>
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
</div>
</section>
<section class=\"section__select__cars__characteristics\" v-if=\"seoLinks.blocks\">
<div class=\"container\">
{% if state == 'used' %}
<h2 class=\"site__main__title\">{{ 'catalog.select_used_characteristics'|trans({}, 'portal_base') }}</h2>
{% else %}
{% if type == 'car' %}
<h2 class=\"site__main__title\">{{ 'catalog.select_characteristics'|trans({}, 'portal_base') }}</h2>
{% else %}
<h2 class=\"site__main__title\">{{ ('catalog.select_characteristics_' ~ type)|trans({}, 'portal_base') }}</h2>
{% endif %}
{% endif %}
<table class=\"table__cars__characteristics\">
<tbody>
<tr v-for=\"(blok, key) in seoLinks.blocks\" v-if=\"key != 'model'\" class=\"select__cars__characteristics__box\">
<td class=\"select__cars__characteristics__item-title\" v-html=\"blok.title\"></td>
<td v-for=\"link in blok.links\">
<a v-if=\"link.url\" :href=\"link.url\" class=\"select__cars__characteristics__item\" v-html=\"link.title\"></a>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</div>
{% endblock %}
{% block schema_catalog_product %}
{% if count %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": [\"Product\"],
\"name\": \"1111{{ pageH1 }}\",
\"description\": \"{{ pageDescription }}\",
\"image\": [
{% for vehicle in vehicles %}
{
\"@type\": \"ImageObject\",
\"image\": \"{{ vehicle.vehiclePicture.img }}\",
\"contentUrl\": \"{{ vehicle.vehiclePicture.img }}\"
}{% if not loop.last %}{{ ',' }}{% endif %}
{% endfor %}
],
\"offers\": {
\"@type\": \"AggregateOffer\",
\"priceCurrency\": \"UAH\",
\"lowPrice\": \"{{ minMaxPrice.minPrice }}\",
\"highPrice\": \"{{ minMaxPrice.maxPrice }}\",
\"offerCount\": \"{{ count }}\"
}
}
</script>
{% endif %}
{% endblock %}
", "@Portal/Catalog/catalog-main.html.twig", "/var/www/vidi.ua/releases/251023-65bd7d10/src/PortalBundle/Resources/views/Catalog/catalog-main.html.twig");
}
}