<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* @openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig */
class __TwigTemplate_475faa0db02acb4970077645b36d7f93 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'header' => [$this, 'block_header'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "@openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig"));
// line 1
echo "
";
// line 2
$macros["__internal_parse_67"] = $this->macros["__internal_parse_67"] = $this->loadTemplate("@openform_front_templates/_includes/_icons.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig", 2)->unwrap();
// line 3
$context["ImageSlides"] = $this->extensions['App\Package\Openform\Twig\CustomExtensions']->filterVisiblesFilter(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 3, $this->source); })()), "ImageSlide", [], "any", false, false, false, 3), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3));
// line 4
echo "<section class=\"object ";
echo (((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "isInvertedTemplate", [], "any", true, true, false, 4) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 4, $this->source); })()), "isInvertedTemplate", [], "any", false, false, false, 4))) ? ("object--inverted-6") : (""));
echo " object--";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 4, $this->source); })()), "templateId", [], "any", false, false, false, 4), "html", null, true);
echo " js-collections\" >
<div class=\"object__container\" style=\"grid-template-columns: ";
// line 5
echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "isInvertedTemplate", [], "any", true, true, false, 5) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "isInvertedTemplate", [], "any", false, false, false, 5))) ? ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 5) === 0)) ? ("100% 0%") : (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 5)) ? ((((("calc( 100% - " . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 5)) . "%) ") . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 5)) . "%")) : ("66% 34%"))))) : ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 5) === 0)) ? ("0% 100%") : (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 5)) ? ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 5) . "% calc( 100% - ") . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 5)) . "%)")) : ("34% 66%")))))), "html", null, true);
echo ";";
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 5) === 0)) {
echo "min-height: 800px;";
}
echo "\">
<div class=\"object__section\" style=\"\">
";
// line 8
if ( !(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 8, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 8) === 0)) {
// line 9
echo "
";
// line 10
$this->displayBlock('header', $context, $blocks);
// line 13
echo " ";
}
// line 14
echo "
";
// line 16
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 16, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 16) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 16, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 16), "AntiqueFormDesign", [], "any", false, false, false, 16) == twig_constant("\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM")))) {
// line 17
echo "
<div class=\"object__item\" style=\"height: ";
// line 18
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 18, $this->source); })()), "imageHeight", [], "any", false, false, false, 18)) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 18, $this->source); })()), "imageHeight", [], "any", false, false, false, 18) + 91), "html", null, true))) : (print ("770")));
echo "px; ";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 18, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 18) === 0)) ? ("overflow:hidden; display: none;") : (""));
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "background", [], "any", true, true, false, 18) || twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "background", [], "any", true, true, false, 18))) {
echo "background-color: ";
echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "background", [], "any", true, true, false, 18) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 18, $this->source); })()), "background", [], "any", false, false, false, 18)) > 0)) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 18, $this->source); })()), "background", [], "any", false, false, false, 18))) ? (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 18, $this->source); })()), "background", [], "any", false, false, false, 18)) : ((((twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "background", [], "any", true, true, false, 18) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["rootParent"]) || array_key_exists("rootParent", $context) ? $context["rootParent"] : (function () { throw new RuntimeError('Variable "rootParent" does not exist.', 18, $this->source); })()), "background", [], "any", false, false, false, 18)) > 0))) ? (twig_get_attribute($this->env, $this->source, (isset($context["rootParent"]) || array_key_exists("rootParent", $context) ? $context["rootParent"] : (function () { throw new RuntimeError('Variable "rootParent" does not exist.', 18, $this->source); })()), "background", [], "any", false, false, false, 18)) : ("")))), "html", null, true);
}
echo ";\">
<div class=\"object__section__header\">
";
// line 20
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "logo", [], "any", false, true, false, 20), 0, [], "array", true, true, false, 20)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["rootParent"]) || array_key_exists("rootParent", $context) ? $context["rootParent"] : (function () { throw new RuntimeError('Variable "rootParent" does not exist.', 20, $this->source); })()), "logo", [], "any", false, false, false, 20), 0, [], "array", false, false, false, 20)) : (""))) {
// line 21
echo " ";
$context["imgLogo"] = twig_get_attribute($this->env, $this->source, (isset($context["openform_front_util"]) || array_key_exists("openform_front_util", $context) ? $context["openform_front_util"] : (function () { throw new RuntimeError('Variable "openform_front_util" does not exist.', 21, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "logo", [], "any", false, true, false, 21), 0, [], "array", false, true, false, 21), "Thumb", [], "any", true, true, false, 21) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "logo", [], "any", false, true, false, 21), 0, [], "array", false, true, false, 21), "Thumb", [], "any", false, false, false, 21)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "logo", [], "any", false, true, false, 21), 0, [], "array", false, true, false, 21), "Thumb", [], "any", false, false, false, 21)) : ("")), "logo"], "method", false, false, false, 21);
// line 22
echo " <div class=\"object__section__logotype\">
<img src=\"";
// line 23
echo twig_escape_filter($this->env, (isset($context["imgLogo"]) || array_key_exists("imgLogo", $context) ? $context["imgLogo"] : (function () { throw new RuntimeError('Variable "imgLogo" does not exist.', 23, $this->source); })()), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["rootParent"]) || array_key_exists("rootParent", $context) ? $context["rootParent"] : (function () { throw new RuntimeError('Variable "rootParent" does not exist.', 23, $this->source); })()), "logo", [], "any", false, false, false, 23), 0, [], "array", false, false, false, 23), "Translation", [], "any", false, false, false, 23), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 23, $this->source); })()), "request", [], "any", false, false, false, 23), "locale", [], "any", false, false, false, 23), [], "array", false, false, false, 23), "alt", [], "any", false, false, false, 23), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["rootParent"]) || array_key_exists("rootParent", $context) ? $context["rootParent"] : (function () { throw new RuntimeError('Variable "rootParent" does not exist.', 23, $this->source); })()), "logo", [], "any", false, false, false, 23), 0, [], "array", false, false, false, 23), "Translation", [], "any", false, false, false, 23), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 23, $this->source); })()), "request", [], "any", false, false, false, 23), "locale", [], "any", false, false, false, 23), [], "array", false, false, false, 23), "title", [], "any", false, false, false, 23), "html", null, true);
echo "\">
</div>
";
}
// line 26
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 26, $this->source); })()), "generate", ["mak_item", ["makSlug" => twig_get_attribute($this->env, $this->source, (isset($context["rootParent"]) || array_key_exists("rootParent", $context) ? $context["rootParent"] : (function () { throw new RuntimeError('Variable "rootParent" does not exist.', 26, $this->source); })()), "getMakSlug", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26)], "method", false, false, false, 26), "slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["rootParent"]) || array_key_exists("rootParent", $context) ? $context["rootParent"] : (function () { throw new RuntimeError('Variable "rootParent" does not exist.', 26, $this->source); })()), "Translation", [], "any", false, false, false, 26), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26), [], "array", false, false, false, 26), "slug", [], "any", false, false, false, 26)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26)], "method", false, false, false, 26);
echo "
";
// line 27
if ((isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 27, $this->source); })())) {
// line 28
echo " <div class=\"object__section__title\">
<a href=\"";
// line 29
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 29, $this->source); })()), "html", null, true);
echo "\">";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["rootParent"]) || array_key_exists("rootParent", $context) ? $context["rootParent"] : (function () { throw new RuntimeError('Variable "rootParent" does not exist.', 29, $this->source); })()), "Translation", [], "any", false, false, false, 29), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 29, $this->source); })()), "request", [], "any", false, false, false, 29), "locale", [], "any", false, false, false, 29), [], "array", false, false, false, 29), "titleHtml", [], "any", false, false, false, 29);
echo "</a>
</div>
";
}
// line 32
echo " <div class=\"object__arrows object__arrows--dark\" style=\"";
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 32, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 32)) {
echo "background-color: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 32, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 32), "html", null, true);
echo ";";
}
echo "\">
";
// line 33
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 33, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 33), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "locale", [], "any", false, false, false, 33)], "method", false, false, false, 33));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 34
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 34, $this->source); })()), "id", [], "any", false, false, false, 34) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 34))) {
// line 35
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "AntiqueSuit", [], "any", false, true, false, 35), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), "locale", [], "any", false, false, false, 35)], "method", false, true, false, 35), ($context["key"] - 1), [], "array", true, true, false, 35)) {
// line 36
echo " ";
$context["prevElement"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 36, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 36), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 36, $this->source); })()), "request", [], "any", false, false, false, 36), "locale", [], "any", false, false, false, 36)], "method", false, false, false, 36), ($context["key"] - 1), [], "array", false, false, false, 36);
// line 37
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 37, $this->source); })()), "generate", ["antique_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["prevElement"]) || array_key_exists("prevElement", $context) ? $context["prevElement"] : (function () { throw new RuntimeError('Variable "prevElement" does not exist.', 37, $this->source); })()), "Translation", [], "any", false, false, false, 37), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "request", [], "any", false, false, false, 37), "locale", [], "any", false, false, false, 37), [], "array", false, false, false, 37), "slug", [], "any", false, false, false, 37)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "request", [], "any", false, false, false, 37), "locale", [], "any", false, false, false, 37)], "method", false, false, false, 37);
// line 38
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 38, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button-white\" disabled>
";
// line 39
echo twig_call_macro($macros["__internal_parse_67"], "macro_sliderprev", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("PREV_Relict", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "locale", [], "any", false, false, false, 39))], 39, $context, $this->getSourceContext());
echo "
</a>
";
}
// line 42
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 42, $this->source); })()), "generate", ["antique_suit_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 43
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 43, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 43), "Translation", [], "any", false, false, false, 43), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 43, $this->source); })()), "request", [], "any", false, false, false, 43), "locale", [], "any", false, false, false, 43), [], "array", false, false, false, 43), "slug", [], "any", false, false, false, 43)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 44
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 44, $this->source); })()), "request", [], "any", false, false, false, 44), "locale", [], "any", false, false, false, 44)], "method", false, false, false, 42);
echo "
<a href=\"";
// line 45
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 45, $this->source); })()), "html", null, true);
echo "\" class=\"object__section__collection\">";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 45, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 45), "Translation", [], "any", false, false, false, 45), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "request", [], "any", false, false, false, 45), "locale", [], "any", false, false, false, 45), [], "array", false, false, false, 45), "titleHtml", [], "any", false, false, false, 45);
echo "</a>
";
// line 46
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "AntiqueSuit", [], "any", false, true, false, 46), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 46, $this->source); })()), "request", [], "any", false, false, false, 46), "locale", [], "any", false, false, false, 46)], "method", false, true, false, 46), ($context["key"] + 1), [], "array", true, true, false, 46)) {
// line 47
echo " ";
$context["nextElement"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 47, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 47), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "locale", [], "any", false, false, false, 47)], "method", false, false, false, 47), ($context["key"] + 1), [], "array", false, false, false, 47);
// line 48
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 48, $this->source); })()), "generate", ["antique_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["nextElement"]) || array_key_exists("nextElement", $context) ? $context["nextElement"] : (function () { throw new RuntimeError('Variable "nextElement" does not exist.', 48, $this->source); })()), "Translation", [], "any", false, false, false, 48), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 48, $this->source); })()), "request", [], "any", false, false, false, 48), "locale", [], "any", false, false, false, 48), [], "array", false, false, false, 48), "slug", [], "any", false, false, false, 48)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 48, $this->source); })()), "request", [], "any", false, false, false, 48), "locale", [], "any", false, false, false, 48)], "method", false, false, false, 48);
// line 49
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 49, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button-white object__nav__button-white-next\" disabled>
";
// line 50
echo twig_call_macro($macros["__internal_parse_67"], "macro_slidernext", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Next_Relict", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 50, $this->source); })()), "request", [], "any", false, false, false, 50), "locale", [], "any", false, false, false, 50))], 50, $context, $this->getSourceContext());
echo "
</a>
";
}
// line 53
echo " ";
}
// line 54
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['Antique'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 55
echo " </div>
</div>
<div class=\"object__item__title\">";
// line 60
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 60, $this->source); })()), "Translation", [], "any", false, false, false, 60), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 60, $this->source); })()), "request", [], "any", false, false, false, 60), "locale", [], "any", false, false, false, 60), [], "array", false, false, false, 60), "titleHtml", [], "any", false, false, false, 60);
echo "</div>
<div class=\"object__item__section\" data-lenis-prevent style=\"overflow-y: auto; overflow-x: hidden; max-height:100%; padding-right: 10px;\">
<div class=\"object__wrapper__list\">
";
// line 64
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 64, $this->source); })()), "Artist", [], "any", false, false, false, 64)) > 0)) {
// line 65
echo " <div class=\"object__item-wrap object__item-wrap--author\">
<h3 class=\"object__item-wrap__title\">";
// line 66
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_AUTHOR", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 66, $this->source); })()), "request", [], "any", false, false, false, 66), "locale", [], "any", false, false, false, 66)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 68
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 68, $this->source); })()), "Artist", [], "any", false, false, false, 68));
foreach ($context['_seq'] as $context["_key"] => $context["artist"]) {
// line 69
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 69, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 69, $this->source); })()), "request", [], "any", false, false, false, 69), "locale", [], "any", false, false, false, 69)], "method", false, false, false, 69), "html", null, true);
echo "?artist=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 69), "html", null, true);
echo "\">
";
// line 70
((twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 70)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 70), "html", null, true))) : (print ("")));
echo "
</a>";
// line 71
echo (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 71, $this->source); })()), "Artist", [], "any", false, false, false, 71)) > 1)) ? (", ") : (""));
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['artist'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 73
echo " </div>
</div>
";
}
// line 76
echo " ";
if ((((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 76, $this->source); })()), "date", [], "any", false, false, false, 76) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 76, $this->source); })()), "dateTo", [], "any", false, false, false, 76)) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 76, $this->source); })()), "age", [], "any", false, false, false, 76)) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 76, $this->source); })()), "ageTo", [], "any", false, false, false, 76)) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 76, $this->source); })()), "year", [], "any", false, false, false, 76)) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 76, $this->source); })()), "yearTo", [], "any", false, false, false, 76))) {
// line 77
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 78
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_DATE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 78, $this->source); })()), "request", [], "any", false, false, false, 78), "locale", [], "any", false, false, false, 78)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 80
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_dates_and_ages.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig", 80)->display(twig_array_merge($context, ["dateFrom" => twig_get_attribute($this->env, $this->source, // line 81
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 81, $this->source); })()), "date", [], "any", false, false, false, 81), "dateTo" => twig_get_attribute($this->env, $this->source, // line 82
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 82, $this->source); })()), "dateTo", [], "any", false, false, false, 82), "ageFrom" => twig_get_attribute($this->env, $this->source, // line 83
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 83, $this->source); })()), "age", [], "any", false, false, false, 83), "ageTo" => twig_get_attribute($this->env, $this->source, // line 84
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 84, $this->source); })()), "ageTo", [], "any", false, false, false, 84), "yearFrom" => (((twig_get_attribute($this->env, $this->source, // line 85
($context["entity"] ?? null), "year", [], "any", true, true, false, 85) && !(null === twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "year", [], "any", false, false, false, 85)))) ? (twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "year", [], "any", false, false, false, 85)) : (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 85, $this->source); })()), "shownObjectYear", [], "any", false, false, false, 85))), "yearTo" => (((twig_get_attribute($this->env, $this->source, // line 86
($context["entity"] ?? null), "yearTo", [], "any", true, true, false, 86) && !(null === twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "yearTo", [], "any", false, false, false, 86)))) ? (twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "yearTo", [], "any", false, false, false, 86)) : (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 86, $this->source); })()), "shownObjectAge", [], "any", false, false, false, 86)))]));
// line 88
echo " </div>
</div>
";
}
// line 91
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 91, $this->source); })()), "AntiqueType", [], "any", false, false, false, 91)) > 0)) {
// line 92
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 93
echo twig_escape_filter($this->env, ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_OBJECT_TYPE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 93, $this->source); })()), "request", [], "any", false, false, false, 93), "locale", [], "any", false, false, false, 93)) . ": "), "html", null, true);
echo "</h3>
<div class=\"object__item-wrap__text\">
";
// line 95
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 95, $this->source); })()), "AntiqueType", [], "any", false, false, false, 95));
$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["item"]) {
// line 96
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 96, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 96, $this->source); })()), "request", [], "any", false, false, false, 96), "locale", [], "any", false, false, false, 96)], "method", false, false, false, 96), "html", null, true);
echo "?antiqueType=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 96), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 96, $this->source); })()), "request", [], "any", false, false, false, 96), "locale", [], "any", false, false, false, 96), [], "array", false, false, false, 96), "title", [], "any", false, false, false, 96), "html", null, true);
echo "\">
";
// line 97
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 97), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 97, $this->source); })()), "request", [], "any", false, false, false, 97), "locale", [], "any", false, false, false, 97), [], "array", false, false, false, 97), "title", [], "any", false, false, false, 97), "html", null, true);
echo "
</a>";
// line 98
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 98)) {
echo ", ";
}
// line 99
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 100
echo " </div>
</div>
";
}
// line 103
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 103, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 103)) > 0)) {
// line 104
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_MATERIALS_AND_TECHNIQUES", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 105, $this->source); })()), "request", [], "any", false, false, false, 105), "locale", [], "any", false, false, false, 105)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 107
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 107, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 107));
$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["item"]) {
// line 108
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 108, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 108, $this->source); })()), "request", [], "any", false, false, false, 108), "locale", [], "any", false, false, false, 108)], "method", false, false, false, 108), "html", null, true);
echo "?antiqueTechnique=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 108), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 108, $this->source); })()), "request", [], "any", false, false, false, 108), "locale", [], "any", false, false, false, 108), [], "array", false, false, false, 108), "title", [], "any", false, false, false, 108), "html", null, true);
echo "\">
";
// line 109
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 109), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 109, $this->source); })()), "request", [], "any", false, false, false, 109), "locale", [], "any", false, false, false, 109), [], "array", false, false, false, 109), "title", [], "any", false, false, false, 109)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 109), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 109, $this->source); })()), "request", [], "any", false, false, false, 109), "locale", [], "any", false, false, false, 109), [], "array", false, false, false, 109), "title", [], "any", false, false, false, 109), "html", null, true))) : (print ("")));
echo "
</a>";
// line 110
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 110)) {
echo ", ";
}
// line 111
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 112
echo " </div>
</div>
";
}
// line 115
echo " </div>
";
// line 116
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 116, $this->source); })()), "Translation", [], "any", false, false, false, 116), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 116, $this->source); })()), "request", [], "any", false, false, false, 116), "locale", [], "any", false, false, false, 116), [], "array", false, false, false, 116), "text", [], "any", false, false, false, 116)) {
// line 117
echo " <div class=\"object__item-wrap object__item-wrap--description object__item-wrap--description-master js-text-dropdown\" data-limit=\"6\" data-lineHeight=\"22\">
<h3 class=\"object__item-wrap__title\">";
// line 118
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_DESCRIPTION", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 118, $this->source); })()), "request", [], "any", false, false, false, 118), "locale", [], "any", false, false, false, 118)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">";
// line 120
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 120, $this->source); })()), "Translation", [], "any", false, false, false, 120), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 120, $this->source); })()), "request", [], "any", false, false, false, 120), "locale", [], "any", false, false, false, 120), [], "array", false, false, false, 120), "text", [], "any", false, false, false, 120);
echo "</span> <button class=\"js-text-dropdown-btn hide\"><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_TEXT_SHOW_MORE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 120, $this->source); })()), "request", [], "any", false, false, false, 120), "locale", [], "any", false, false, false, 120)), "html", null, true);
echo " ▼</span><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_TEXT_SHOW_LESS", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 120, $this->source); })()), "request", [], "any", false, false, false, 120), "locale", [], "any", false, false, false, 120)), "html", null, true);
echo " ▲</span></button>
</div>
</div>
";
}
// line 125
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 125, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 125)) > 0)) {
// line 126
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 127
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_COPYRIGHTS", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 127, $this->source); })()), "request", [], "any", false, false, false, 127), "locale", [], "any", false, false, false, 127)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
";
// line 129
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 129, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 129));
$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["item"]) {
// line 130
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 130, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 130, $this->source); })()), "request", [], "any", false, false, false, 130), "locale", [], "any", false, false, false, 130)], "method", false, false, false, 130), "html", null, true);
echo "?antiqueCopyrights=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 130), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 130, $this->source); })()), "request", [], "any", false, false, false, 130), "locale", [], "any", false, false, false, 130), [], "array", false, false, false, 130), "title", [], "any", false, false, false, 130), "html", null, true);
echo "\">
";
// line 131
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 131), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 131, $this->source); })()), "request", [], "any", false, false, false, 131), "locale", [], "any", false, false, false, 131), [], "array", false, false, false, 131), "title", [], "any", false, false, false, 131), "html", null, true);
echo "
</a>";
// line 132
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 132)) {
echo ", ";
}
// line 133
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 134
echo " </div>
</div>
";
}
// line 137
echo "
</div>
</div>
";
} else {
// line 143
echo "
";
// line 145
echo " <div class=\"object__item\" style=\"";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 145, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 145) === 0)) ? ("overflow:hidden; display: none;") : (""));
echo " max-height:100%;\">
<div class=\"object__arrows object__arrows--dark\">
";
// line 147
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 147, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 147), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 147, $this->source); })()), "request", [], "any", false, false, false, 147), "locale", [], "any", false, false, false, 147)], "method", false, false, false, 147));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 148
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 148, $this->source); })()), "id", [], "any", false, false, false, 148) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 148))) {
// line 149
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "AntiqueSuit", [], "any", false, true, false, 149), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 149, $this->source); })()), "request", [], "any", false, false, false, 149), "locale", [], "any", false, false, false, 149)], "method", false, true, false, 149), ($context["key"] - 1), [], "array", true, true, false, 149)) {
// line 150
echo " ";
$context["prevElement"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 150, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 150), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 150, $this->source); })()), "request", [], "any", false, false, false, 150), "locale", [], "any", false, false, false, 150)], "method", false, false, false, 150), ($context["key"] - 1), [], "array", false, false, false, 150);
// line 151
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 151, $this->source); })()), "generate", ["antique_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["prevElement"]) || array_key_exists("prevElement", $context) ? $context["prevElement"] : (function () { throw new RuntimeError('Variable "prevElement" does not exist.', 151, $this->source); })()), "Translation", [], "any", false, false, false, 151), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, false, 151), "locale", [], "any", false, false, false, 151), [], "array", false, false, false, 151), "slug", [], "any", false, false, false, 151)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, false, 151), "locale", [], "any", false, false, false, 151)], "method", false, false, false, 151);
// line 152
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 152, $this->source); })()), "html", null, true);
echo "\" class=\"slider-nav__btn slider-nav__btn--prev\" disabled>
";
// line 153
echo twig_call_macro($macros["__internal_parse_67"], "macro_sliderprev", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("PREV_Relict", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 153, $this->source); })()), "request", [], "any", false, false, false, 153), "locale", [], "any", false, false, false, 153))], 153, $context, $this->getSourceContext());
echo "
</a>
";
}
// line 156
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "AntiqueSuit", [], "any", false, true, false, 156), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 156, $this->source); })()), "request", [], "any", false, false, false, 156), "locale", [], "any", false, false, false, 156)], "method", false, true, false, 156), ($context["key"] + 1), [], "array", true, true, false, 156)) {
// line 157
echo " ";
$context["nextElement"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 157, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 157), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 157, $this->source); })()), "request", [], "any", false, false, false, 157), "locale", [], "any", false, false, false, 157)], "method", false, false, false, 157), ($context["key"] + 1), [], "array", false, false, false, 157);
// line 158
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 158, $this->source); })()), "generate", ["antique_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["nextElement"]) || array_key_exists("nextElement", $context) ? $context["nextElement"] : (function () { throw new RuntimeError('Variable "nextElement" does not exist.', 158, $this->source); })()), "Translation", [], "any", false, false, false, 158), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 158, $this->source); })()), "request", [], "any", false, false, false, 158), "locale", [], "any", false, false, false, 158), [], "array", false, false, false, 158), "slug", [], "any", false, false, false, 158)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 158, $this->source); })()), "request", [], "any", false, false, false, 158), "locale", [], "any", false, false, false, 158)], "method", false, false, false, 158);
// line 159
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 159, $this->source); })()), "html", null, true);
echo "\" class=\"slider-nav__btn slider-nav__btn--next\" disabled>
";
// line 160
echo twig_call_macro($macros["__internal_parse_67"], "macro_slidernext", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Next_Relict", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 160, $this->source); })()), "request", [], "any", false, false, false, 160), "locale", [], "any", false, false, false, 160))], 160, $context, $this->getSourceContext());
echo "
</a>
";
}
// line 163
echo " ";
}
// line 164
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['Antique'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 165
echo " </div>
<div class=\"object__item__title\">";
// line 166
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 166, $this->source); })()), "Translation", [], "any", false, false, false, 166), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 166, $this->source); })()), "request", [], "any", false, false, false, 166), "locale", [], "any", false, false, false, 166), [], "array", false, false, false, 166), "titleHtml", [], "any", false, false, false, 166);
echo "</div>
<div class=\"object__item__section\" data-lenis-prevent style=\"overflow-y: auto; overflow-x: hidden; max-height:100%; padding-right: 10px;\">
<div class=\"object__wrapper__list\">
";
// line 169
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 169, $this->source); })()), "Translation", [], "any", false, false, false, 169), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 169, $this->source); })()), "request", [], "any", false, false, false, 169), "locale", [], "any", false, false, false, 169), [], "array", false, false, false, 169), "descPlace", [], "any", false, false, false, 169)) {
// line 170
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 171
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_PLACE_DESC", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 171, $this->source); })()), "request", [], "any", false, false, false, 171), "locale", [], "any", false, false, false, 171)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 173
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 173, $this->source); })()), "Translation", [], "any", false, false, false, 173), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 173, $this->source); })()), "request", [], "any", false, false, false, 173), "locale", [], "any", false, false, false, 173), [], "array", false, false, false, 173), "descPlace", [], "any", false, false, false, 173), "html", null, true);
echo "
</div>
</div>
";
}
// line 177
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 177, $this->source); })()), "AntiquePlace", [], "any", false, false, false, 177)) {
// line 178
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 179
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_OBJECT_PLACE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 179, $this->source); })()), "request", [], "any", false, false, false, 179), "locale", [], "any", false, false, false, 179)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 181
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 181, $this->source); })()), "AntiquePlace", [], "any", false, false, false, 181), "Translation", [], "any", false, false, false, 181), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 181, $this->source); })()), "request", [], "any", false, false, false, 181), "locale", [], "any", false, false, false, 181), [], "array", false, false, false, 181), "title", [], "any", false, false, false, 181), "html", null, true);
echo "
</div>
</div>
";
}
// line 185
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 185, $this->source); })()), "documentDate", [], "any", false, false, false, 185) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 185, $this->source); })()), "documentAge", [], "any", false, false, false, 185)) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 185, $this->source); })()), "documentYear", [], "any", false, false, false, 185))) {
// line 186
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 187
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_DOCUMENT_DATE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "locale", [], "any", false, false, false, 187)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 189
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age_search.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig", 189)->display(twig_array_merge($context, ["date" => twig_get_attribute($this->env, $this->source, // line 190
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 190, $this->source); })()), "documentDate", [], "any", false, false, false, 190), "age" => twig_get_attribute($this->env, $this->source, // line 191
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 191, $this->source); })()), "documentAge", [], "any", false, false, false, 191), "year" => twig_get_attribute($this->env, $this->source, // line 192
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 192, $this->source); })()), "documentYear", [], "any", false, false, false, 192)]));
// line 194
echo " </div>
</div>
";
}
// line 197
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 197, $this->source); })()), "Artist", [], "any", false, false, false, 197)) > 0)) {
// line 198
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 199
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_AUTHOR_OF_THE_PHOTOGRAPH_OR_DOCUMENT", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 199, $this->source); })()), "request", [], "any", false, false, false, 199), "locale", [], "any", false, false, false, 199)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 201
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 201, $this->source); })()), "Artist", [], "any", false, false, false, 201));
foreach ($context['_seq'] as $context["_key"] => $context["artist"]) {
// line 202
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 202, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 202, $this->source); })()), "request", [], "any", false, false, false, 202), "locale", [], "any", false, false, false, 202)], "method", false, false, false, 202), "html", null, true);
echo "?artist=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 202), "html", null, true);
echo "\">
";
// line 203
((twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 203)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 203), "html", null, true))) : (print ("")));
echo " ";
((twig_get_attribute($this->env, $this->source, $context["artist"], "authorNickName", [], "any", false, false, false, 203)) ? (print (twig_escape_filter($this->env, (("\"" . twig_get_attribute($this->env, $this->source, $context["artist"], "authorNickName", [], "any", false, false, false, 203)) . "\""), "html", null, true))) : (print ("")));
echo "
</a>";
// line 204
echo (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 204, $this->source); })()), "Artist", [], "any", false, false, false, 204)) > 1)) ? (", ") : (""));
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['artist'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 206
echo " </div>
</div>
";
}
// line 209
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 209, $this->source); })()), "AntiqueType", [], "any", false, false, false, 209)) > 0)) {
// line 210
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 211
echo twig_escape_filter($this->env, ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_OBJECT_TYPE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 211, $this->source); })()), "request", [], "any", false, false, false, 211), "locale", [], "any", false, false, false, 211)) . ": "), "html", null, true);
echo "</h3>
<div class=\"object__item-wrap__text\">
";
// line 213
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 213, $this->source); })()), "AntiqueType", [], "any", false, false, false, 213));
$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["item"]) {
// line 214
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 214, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 214, $this->source); })()), "request", [], "any", false, false, false, 214), "locale", [], "any", false, false, false, 214)], "method", false, false, false, 214), "html", null, true);
echo "?antiqueType=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 214), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 214, $this->source); })()), "request", [], "any", false, false, false, 214), "locale", [], "any", false, false, false, 214), [], "array", false, false, false, 214), "title", [], "any", false, false, false, 214), "html", null, true);
echo "\">
";
// line 215
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 215), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 215, $this->source); })()), "request", [], "any", false, false, false, 215), "locale", [], "any", false, false, false, 215), [], "array", false, false, false, 215), "title", [], "any", false, false, false, 215), "html", null, true);
echo "
</a>";
// line 216
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 216)) {
echo ", ";
}
// line 217
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 218
echo " </div>
</div>
";
}
// line 221
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 221, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 221)) > 0)) {
// line 222
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 223
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_MATERIALS_AND_TECHNIQUES", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 223, $this->source); })()), "request", [], "any", false, false, false, 223), "locale", [], "any", false, false, false, 223)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 225
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 225, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 225));
$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["item"]) {
// line 226
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 226, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 226, $this->source); })()), "request", [], "any", false, false, false, 226), "locale", [], "any", false, false, false, 226)], "method", false, false, false, 226), "html", null, true);
echo "?antiqueTechnique=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 226), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 226, $this->source); })()), "request", [], "any", false, false, false, 226), "locale", [], "any", false, false, false, 226), [], "array", false, false, false, 226), "title", [], "any", false, false, false, 226), "html", null, true);
echo "\">
";
// line 227
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 227), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 227, $this->source); })()), "request", [], "any", false, false, false, 227), "locale", [], "any", false, false, false, 227), [], "array", false, false, false, 227), "title", [], "any", false, false, false, 227)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 227), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 227, $this->source); })()), "request", [], "any", false, false, false, 227), "locale", [], "any", false, false, false, 227), [], "array", false, false, false, 227), "title", [], "any", false, false, false, 227), "html", null, true))) : (print ("")));
echo "
</a>";
// line 228
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 228)) {
echo ", ";
}
// line 229
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 230
echo " </div>
</div>
";
}
// line 233
echo " </div>
";
// line 234
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 234, $this->source); })()), "Translation", [], "any", false, false, false, 234), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 234, $this->source); })()), "request", [], "any", false, false, false, 234), "locale", [], "any", false, false, false, 234), [], "array", false, false, false, 234), "text", [], "any", false, false, false, 234)) {
// line 235
echo " <div class=\"object__item-wrap object__item-wrap--description object__item-wrap--description-master js-text-dropdown\" data-limit=\"6\" data-lineHeight=\"22\">
<h3 class=\"object__item-wrap__title\">";
// line 236
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_DESCRIPTION", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 236, $this->source); })()), "request", [], "any", false, false, false, 236), "locale", [], "any", false, false, false, 236)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">";
// line 238
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 238, $this->source); })()), "Translation", [], "any", false, false, false, 238), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 238, $this->source); })()), "request", [], "any", false, false, false, 238), "locale", [], "any", false, false, false, 238), [], "array", false, false, false, 238), "text", [], "any", false, false, false, 238);
echo "</span> <button class=\"js-text-dropdown-btn hide\"><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_TEXT_SHOW_MORE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 238, $this->source); })()), "request", [], "any", false, false, false, 238), "locale", [], "any", false, false, false, 238)), "html", null, true);
echo " ▼</span><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_TEXT_SHOW_LESS", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 238, $this->source); })()), "request", [], "any", false, false, false, 238), "locale", [], "any", false, false, false, 238)), "html", null, true);
echo " ▲</span></button>
</div>
</div>
";
}
// line 243
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 243, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 243)) > 0)) {
// line 244
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 245
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_COPYRIGHTS", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 245, $this->source); })()), "request", [], "any", false, false, false, 245), "locale", [], "any", false, false, false, 245)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
";
// line 247
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 247, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 247));
$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["item"]) {
// line 248
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 248, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 248, $this->source); })()), "request", [], "any", false, false, false, 248), "locale", [], "any", false, false, false, 248)], "method", false, false, false, 248), "html", null, true);
echo "?antiqueCopyrights=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 248), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 248, $this->source); })()), "request", [], "any", false, false, false, 248), "locale", [], "any", false, false, false, 248), [], "array", false, false, false, 248), "title", [], "any", false, false, false, 248), "html", null, true);
echo "\">
";
// line 249
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 249), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 249, $this->source); })()), "request", [], "any", false, false, false, 249), "locale", [], "any", false, false, false, 249), [], "array", false, false, false, 249), "title", [], "any", false, false, false, 249), "html", null, true);
echo "
</a>";
// line 250
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 250)) {
echo ", ";
}
// line 251
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 252
echo " </div>
</div>
";
}
// line 255
echo "
</div>
</div>
";
}
// line 261
echo "
</div>
<div class=\"object__gallery\" style=\"height: ";
// line 266
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 266, $this->source); })()), "imageHeight", [], "any", false, false, false, 266)) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 266, $this->source); })()), "imageHeight", [], "any", false, false, false, 266) + 91), "html", null, true))) : (print ("620")));
echo "px;";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 266, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 266) === 100)) ? ("overflow:hidden;") : (""));
echo " background-color: ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", true, true, false, 266)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", false, false, false, 266), "#F8F7F0")) : ("#F8F7F0")), "html", null, true);
echo "; ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 266, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 266) === 0)) {
echo "padding-top: ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "headerHeight", [], "any", true, true, false, 266)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "headerHeight", [], "any", false, false, false, 266), 90)) : (90)), "html", null, true);
echo "px;";
}
echo "\">
";
// line 267
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 267, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 267) === 0)) {
// line 268
echo " <div class=\"object__arrows object__arrows--dark\" style=\"";
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 268, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 268)) {
echo "background-color: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 268, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 268), "html", null, true);
echo ";";
}
echo "\">
";
// line 269
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 269, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 269), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 269, $this->source); })()), "request", [], "any", false, false, false, 269), "locale", [], "any", false, false, false, 269)], "method", false, false, false, 269));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 270
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 270, $this->source); })()), "id", [], "any", false, false, false, 270) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 270))) {
// line 271
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "AntiqueSuit", [], "any", false, true, false, 271), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 271, $this->source); })()), "request", [], "any", false, false, false, 271), "locale", [], "any", false, false, false, 271)], "method", false, true, false, 271), ($context["key"] - 1), [], "array", true, true, false, 271)) {
// line 272
echo " ";
$context["prevElement"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 272, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 272), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 272, $this->source); })()), "request", [], "any", false, false, false, 272), "locale", [], "any", false, false, false, 272)], "method", false, false, false, 272), ($context["key"] - 1), [], "array", false, false, false, 272);
// line 273
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 273, $this->source); })()), "generate", ["antique_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["prevElement"]) || array_key_exists("prevElement", $context) ? $context["prevElement"] : (function () { throw new RuntimeError('Variable "prevElement" does not exist.', 273, $this->source); })()), "Translation", [], "any", false, false, false, 273), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 273, $this->source); })()), "request", [], "any", false, false, false, 273), "locale", [], "any", false, false, false, 273), [], "array", false, false, false, 273), "slug", [], "any", false, false, false, 273)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 273, $this->source); })()), "request", [], "any", false, false, false, 273), "locale", [], "any", false, false, false, 273)], "method", false, false, false, 273);
// line 274
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 274, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button-white\" disabled>
";
// line 275
echo twig_call_macro($macros["__internal_parse_67"], "macro_sliderprev", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("PREV_Relict", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 275, $this->source); })()), "request", [], "any", false, false, false, 275), "locale", [], "any", false, false, false, 275))], 275, $context, $this->getSourceContext());
echo "
</a>
";
}
// line 278
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 278, $this->source); })()), "generate", ["antique_suit_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 279
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 279, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 279), "Translation", [], "any", false, false, false, 279), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 279, $this->source); })()), "request", [], "any", false, false, false, 279), "locale", [], "any", false, false, false, 279), [], "array", false, false, false, 279), "slug", [], "any", false, false, false, 279)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 280
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 280, $this->source); })()), "request", [], "any", false, false, false, 280), "locale", [], "any", false, false, false, 280)], "method", false, false, false, 278);
echo "
<a href=\"";
// line 281
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 281, $this->source); })()), "html", null, true);
echo "\" class=\"object__section__collection\">";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 281, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 281), "Translation", [], "any", false, false, false, 281), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 281, $this->source); })()), "request", [], "any", false, false, false, 281), "locale", [], "any", false, false, false, 281), [], "array", false, false, false, 281), "titleHtml", [], "any", false, false, false, 281);
echo "</a>
";
// line 282
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "AntiqueSuit", [], "any", false, true, false, 282), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 282, $this->source); })()), "request", [], "any", false, false, false, 282), "locale", [], "any", false, false, false, 282)], "method", false, true, false, 282), ($context["key"] + 1), [], "array", true, true, false, 282)) {
// line 283
echo " ";
$context["nextElement"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 283, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 283), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 283, $this->source); })()), "request", [], "any", false, false, false, 283), "locale", [], "any", false, false, false, 283)], "method", false, false, false, 283), ($context["key"] + 1), [], "array", false, false, false, 283);
// line 284
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 284, $this->source); })()), "generate", ["antique_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["nextElement"]) || array_key_exists("nextElement", $context) ? $context["nextElement"] : (function () { throw new RuntimeError('Variable "nextElement" does not exist.', 284, $this->source); })()), "Translation", [], "any", false, false, false, 284), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 284, $this->source); })()), "request", [], "any", false, false, false, 284), "locale", [], "any", false, false, false, 284), [], "array", false, false, false, 284), "slug", [], "any", false, false, false, 284)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 284, $this->source); })()), "request", [], "any", false, false, false, 284), "locale", [], "any", false, false, false, 284)], "method", false, false, false, 284);
// line 285
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 285, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button-white object__nav__button-white-next\" disabled>
";
// line 286
echo twig_call_macro($macros["__internal_parse_67"], "macro_slidernext", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Next_Relict", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 286, $this->source); })()), "request", [], "any", false, false, false, 286), "locale", [], "any", false, false, false, 286))], 286, $context, $this->getSourceContext());
echo "
</a>
";
}
// line 289
echo " ";
}
// line 290
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['Antique'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 291
echo " </div>
";
}
// line 293
echo " ";
if ((twig_length_filter($this->env, (isset($context["ImageSlides"]) || array_key_exists("ImageSlides", $context) ? $context["ImageSlides"] : (function () { throw new RuntimeError('Variable "ImageSlides" does not exist.', 293, $this->source); })())) > 0)) {
// line 294
echo "
<div class=\"object__gallery__splide collection-gallery js-collection-gallery-standard\" style=\"height: 100%;\">
<div class=\"splide js-collections-gallery9 collection-gallery__gallery\" style=\"height: 100%;\">
<div class=\"splide__track\" style=\"height: 100%;\">
<ul class=\"splide__list\" style=\"height: 100%;\">
";
// line 300
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["ImageSlides"]) || array_key_exists("ImageSlides", $context) ? $context["ImageSlides"] : (function () { throw new RuntimeError('Variable "ImageSlides" does not exist.', 300, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["image"]) {
// line 301
echo " ";
$context["img"] = twig_get_attribute($this->env, $this->source, (isset($context["openform_front_util"]) || array_key_exists("openform_front_util", $context) ? $context["openform_front_util"] : (function () { throw new RuntimeError('Variable "openform_front_util" does not exist.', 301, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 301) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 301)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 301)) : ("")), "original"], "method", false, false, false, 301);
// line 302
echo " ";
// line 304
echo " <li class=\"splide__slide\" style=\"height: 100%;\">
<div class=\"js-zoom\" data-alt=\"";
// line 305
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "Translation", [], "any", false, false, false, 305), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 305, $this->source); })()), "request", [], "any", false, false, false, 305), "locale", [], "any", false, false, false, 305), [], "array", false, false, false, 305), "alt", [], "any", false, false, false, 305), "html", null, true);
echo "\" style=\"height: 100%;\">
<div style=\"width:100%; height:100%; display:flex; justify-content: center; align-items: center;\">
<div class=\"collection-gallery__item\" style=\"";
// line 307
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 307, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 307)) {
echo "width: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 307, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 307), "html", null, true);
echo "%; max-width: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 307, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 307), "html", null, true);
echo "%;";
}
echo " max-height: ";
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 307, $this->source); })()), "imageHeight", [], "any", false, false, false, 307)) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 307, $this->source); })()), "imageHeight", [], "any", false, false, false, 307) . "px"), "html", null, true))) : (print ("100%")));
echo "; height:100%;\" >
<style>
.my-zoomist-";
// line 309
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo " img{
";
// line 310
if ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 310) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 310))) {
echo "border: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 310), "html", null, true);
echo " solid ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 310), "html", null, true);
echo "px;";
}
echo "\"
}
.my-zoomist-";
// line 312
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo " .zoomist-wrapper{
background:";
// line 313
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 313)) ? (twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 313)) : (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 313, $this->source); })()), "imageBackgroundColor", [], "any", false, false, false, 313)) ? (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 313, $this->source); })()), "imageBackgroundColor", [], "any", false, false, false, 313)) : ("#F8F7F0")))), "html", null, true);
echo ";
}
</style>
<div class=\"my-zoomist my-zoomist-";
// line 316
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" style=\"";
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 316, $this->source); })()), "imageHeight", [], "any", false, false, false, 316)) {
echo " height: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 316, $this->source); })()), "imageHeight", [], "any", false, false, false, 316), "html", null, true);
echo "px;";
}
echo "\" data-zoomist-src=\"";
echo twig_escape_filter($this->env, (isset($context["img"]) || array_key_exists("img", $context) ? $context["img"] : (function () { throw new RuntimeError('Variable "img" does not exist.', 316, $this->source); })()), "html", null, true);
echo "\" tabindex=\"0\"></div>
</div>
</div>
<div class=\"collection-gallery__wrap\">
<div class=\"collection-gallery__buttons\">
";
// line 323
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "Translation", [], "any", false, true, false, 323), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 323, $this->source); })()), "request", [], "any", false, false, false, 323), "locale", [], "any", false, false, false, 323), [], "array", false, true, false, 323), "text", [], "any", true, true, false, 323) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "Translation", [], "any", false, false, false, 323), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 323, $this->source); })()), "request", [], "any", false, false, false, 323), "locale", [], "any", false, false, false, 323), [], "array", false, false, false, 323), "text", [], "any", false, false, false, 323))) {
// line 324
echo " <div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-info-";
// line 325
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" tabindex=\"0\">";
echo twig_call_macro($macros["__internal_parse_67"], "macro_info", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_INFO", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 325, $this->source); })()), "request", [], "any", false, false, false, 325), "locale", [], "any", false, false, false, 325))], 325, $context, $this->getSourceContext());
echo "</button>
<div class=\"object__info object__info--info js-info-";
// line 326
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" data-lenis-prevent>
<div class=\"object__info__text block__text\">";
// line 327
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "Translation", [], "any", false, false, false, 327), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 327, $this->source); })()), "request", [], "any", false, false, false, 327), "locale", [], "any", false, false, false, 327), [], "array", false, false, false, 327), "text", [], "any", false, false, false, 327);
echo "</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">";
// line 328
echo twig_call_macro($macros["__internal_parse_67"], "macro_infoClose", [], 328, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
";
}
// line 332
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "Translation", [], "any", false, false, false, 332), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 332, $this->source); })()), "request", [], "any", false, false, false, 332), "locale", [], "any", false, false, false, 332), [], "array", false, false, false, 332), "copyrights", [], "any", false, false, false, 332)) {
// line 333
echo " <div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-copyright-";
// line 334
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" tabindex=\"0\">";
echo twig_call_macro($macros["__internal_parse_67"], "macro_copyrights", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_INFO", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 334, $this->source); })()), "request", [], "any", false, false, false, 334), "locale", [], "any", false, false, false, 334))], 334, $context, $this->getSourceContext());
echo "</button>
<div class=\"object__info object__info--copyright js-copyright-";
// line 335
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" data-lenis-prevent>
<div class=\"object__info__text block__text\">";
// line 336
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "Translation", [], "any", false, false, false, 336), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 336, $this->source); })()), "request", [], "any", false, false, false, 336), "locale", [], "any", false, false, false, 336), [], "array", false, false, false, 336), "copyrights", [], "any", false, false, false, 336);
echo "</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">";
// line 337
echo twig_call_macro($macros["__internal_parse_67"], "macro_infoClose", [], 337, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
";
}
// line 341
echo " <button class=\"collection-gallery__buttons__btn js-fullscreen\" data-alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "Translation", [], "any", false, false, false, 341), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 341, $this->source); })()), "request", [], "any", false, false, false, 341), "locale", [], "any", false, false, false, 341), [], "array", false, false, false, 341), "alt", [], "any", false, false, false, 341), "html", null, true);
echo "\" tabindex=\"0\" data-color=\"";
(((twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", true, true, false, 341) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 341))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 341), "html", null, true))) : (print ("")));
echo "\"
data-image=\"";
// line 342
echo twig_escape_filter($this->env, (isset($context["img"]) || array_key_exists("img", $context) ? $context["img"] : (function () { throw new RuntimeError('Variable "img" does not exist.', 342, $this->source); })()), "html", null, true);
echo "\"
data-description=\"";
// line 343
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "Translation", [], "any", false, false, false, 343), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 343, $this->source); })()), "request", [], "any", false, false, false, 343), "locale", [], "any", false, false, false, 343), [], "array", false, false, false, 343), "text", [], "any", false, false, false, 343), "html", null, true);
echo "\"
data-copyrights=\"";
// line 344
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "Translation", [], "any", false, false, false, 344), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 344, $this->source); })()), "request", [], "any", false, false, false, 344), "locale", [], "any", false, false, false, 344), [], "array", false, false, false, 344), "copyrights", [], "any", false, false, false, 344), "html", null, true);
echo "\"
data-start=\"";
// line 345
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\"
data-imagestyle=\"";
// line 346
if ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 346) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 346))) {
echo "border: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 346), "html", null, true);
echo " solid ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 346), "html", null, true);
echo "px;";
}
echo "\"
>
";
// line 348
echo twig_call_macro($macros["__internal_parse_67"], "macro_fullscreen", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_FULLSCREEN", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 348, $this->source); })()), "request", [], "any", false, false, false, 348), "locale", [], "any", false, false, false, 348))], 348, $context, $this->getSourceContext());
echo "
</button>
<button class=\"collection-gallery__buttons__btn js-zoom-out\" tabindex=\"0\">";
// line 350
echo twig_call_macro($macros["__internal_parse_67"], "macro_zoomout", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ZOOMOUT", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 350, $this->source); })()), "request", [], "any", false, false, false, 350), "locale", [], "any", false, false, false, 350))], 350, $context, $this->getSourceContext());
echo "</button>
<button class=\"collection-gallery__buttons__btn js-zoom-in\" tabindex=\"0\">";
// line 351
echo twig_call_macro($macros["__internal_parse_67"], "macro_zoomin", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ZOOMIN", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 351, $this->source); })()), "request", [], "any", false, false, false, 351), "locale", [], "any", false, false, false, 351))], 351, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
</div>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 358
echo "
</ul>
<div class=\"splide__arrows";
// line 360
echo (((twig_length_filter($this->env, (isset($context["ImageSlides"]) || array_key_exists("ImageSlides", $context) ? $context["ImageSlides"] : (function () { throw new RuntimeError('Variable "ImageSlides" does not exist.', 360, $this->source); })())) < 2)) ? (" hide") : (""));
echo "\">
<div class=\"slider-nav object-gallery__nav\">
<button class=\"splide__arrow splide__arrow--prev slider-nav__btn slider-nav__btn--prev\" disabled>
";
// line 363
echo twig_call_macro($macros["__internal_parse_67"], "macro_sliderprev", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("PREV_SLIDE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 363, $this->source); })()), "request", [], "any", false, false, false, 363), "locale", [], "any", false, false, false, 363))], 363, $context, $this->getSourceContext());
echo "
</button>
<button class=\"splide__arrow splide__arrow--next slider-nav__btn slider-nav__btn--next\">
";
// line 366
echo twig_call_macro($macros["__internal_parse_67"], "macro_slidernext", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("NEXT_SLIDE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 366, $this->source); })()), "request", [], "any", false, false, false, 366), "locale", [], "any", false, false, false, 366))], 366, $context, $this->getSourceContext());
echo "
</button>
</div>
</div>
</div>
</div>
</div>
";
}
// line 374
echo " </div>
</div>
<div class=\"container\" style=\"";
// line 377
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 377, $this->source); })()), "background2", [], "any", false, false, false, 377)) ? (print (twig_escape_filter($this->env, ("background-color: " . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 377, $this->source); })()), "background2", [], "any", false, false, false, 377)), "html", null, true))) : (print ("")));
echo "\">
";
// line 378
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig", 378)->display(twig_array_merge($context, ["design" => twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 378, $this->source); })()), "colsDesign", [], "any", false, false, false, 378)]));
// line 379
echo "
";
// line 380
$this->loadTemplate("@openform_front_templates/_blocks_sections/block.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig", 380)->display(twig_array_merge($context, ["sections" => twig_get_attribute($this->env, $this->source, (isset($context["openform_front_util"]) || array_key_exists("openform_front_util", $context) ? $context["openform_front_util"] : (function () { throw new RuntimeError('Variable "openform_front_util" does not exist.', 380, $this->source); })()), "getSections", [(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 380, $this->source); })())], "method", false, false, false, 380)]));
// line 381
echo " </div>
<div class=\"object__nav container\" style=\"";
// line 383
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 383, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 383)) {
echo "background-color: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 383, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 383), "html", null, true);
echo ";";
}
echo "\">
";
// line 384
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 384, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 384), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 384, $this->source); })()), "request", [], "any", false, false, false, 384), "locale", [], "any", false, false, false, 384)], "method", false, false, false, 384));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 385
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 385, $this->source); })()), "id", [], "any", false, false, false, 385) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 385))) {
// line 386
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "AntiqueSuit", [], "any", false, true, false, 386), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 386, $this->source); })()), "request", [], "any", false, false, false, 386), "locale", [], "any", false, false, false, 386)], "method", false, true, false, 386), ($context["key"] - 1), [], "array", true, true, false, 386)) {
// line 387
echo " ";
$context["prevElement"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 387, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 387), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 387, $this->source); })()), "request", [], "any", false, false, false, 387), "locale", [], "any", false, false, false, 387)], "method", false, false, false, 387), ($context["key"] - 1), [], "array", false, false, false, 387);
// line 388
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 388, $this->source); })()), "generate", ["antique_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["prevElement"]) || array_key_exists("prevElement", $context) ? $context["prevElement"] : (function () { throw new RuntimeError('Variable "prevElement" does not exist.', 388, $this->source); })()), "Translation", [], "any", false, false, false, 388), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 388, $this->source); })()), "request", [], "any", false, false, false, 388), "locale", [], "any", false, false, false, 388), [], "array", false, false, false, 388), "slug", [], "any", false, false, false, 388)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 388, $this->source); })()), "request", [], "any", false, false, false, 388), "locale", [], "any", false, false, false, 388)], "method", false, false, false, 388);
// line 389
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 389, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button\">";
echo twig_call_macro($macros["__internal_parse_67"], "macro_arrowObjectPrev", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_OBJECT_PREV", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 389, $this->source); })()), "request", [], "any", false, false, false, 389), "locale", [], "any", false, false, false, 389))], 389, $context, $this->getSourceContext());
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_OBJECT_PREV", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 389, $this->source); })()), "request", [], "any", false, false, false, 389), "locale", [], "any", false, false, false, 389)), "html", null, true);
echo "</a>
";
}
// line 391
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "AntiqueSuit", [], "any", false, true, false, 391), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 391, $this->source); })()), "request", [], "any", false, false, false, 391), "locale", [], "any", false, false, false, 391)], "method", false, true, false, 391), ($context["key"] + 1), [], "array", true, true, false, 391)) {
// line 392
echo " ";
$context["nextElement"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 392, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 392), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 392, $this->source); })()), "request", [], "any", false, false, false, 392), "locale", [], "any", false, false, false, 392)], "method", false, false, false, 392), ($context["key"] + 1), [], "array", false, false, false, 392);
// line 393
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 393, $this->source); })()), "generate", ["antique_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["nextElement"]) || array_key_exists("nextElement", $context) ? $context["nextElement"] : (function () { throw new RuntimeError('Variable "nextElement" does not exist.', 393, $this->source); })()), "Translation", [], "any", false, false, false, 393), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 393, $this->source); })()), "request", [], "any", false, false, false, 393), "locale", [], "any", false, false, false, 393), [], "array", false, false, false, 393), "slug", [], "any", false, false, false, 393)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 393, $this->source); })()), "request", [], "any", false, false, false, 393), "locale", [], "any", false, false, false, 393)], "method", false, false, false, 393);
// line 394
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 394, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button object__nav__button--next\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_OBJECT_NEXT", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 394, $this->source); })()), "request", [], "any", false, false, false, 394), "locale", [], "any", false, false, false, 394)), "html", null, true);
echo twig_call_macro($macros["__internal_parse_67"], "macro_arrowObjectNext", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_OBJECT_NEXT", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 394, $this->source); })()), "request", [], "any", false, false, false, 394), "locale", [], "any", false, false, false, 394))], 394, $context, $this->getSourceContext());
echo "</a>
";
}
// line 396
echo " ";
}
// line 397
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['Antique'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "
</div>
</div>
</section>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 10
public function block_header($context, array $blocks = [])
{
$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", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 11
echo " ";
$this->loadTemplate("@openform_front_templates/_includes/_header_mak.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig", 11)->display($context);
// line 12
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1332 => 12, 1329 => 11, 1319 => 10, 1296 => 397, 1293 => 396, 1284 => 394, 1281 => 393, 1278 => 392, 1275 => 391, 1266 => 389, 1263 => 388, 1260 => 387, 1257 => 386, 1254 => 385, 1250 => 384, 1242 => 383, 1238 => 381, 1236 => 380, 1233 => 379, 1231 => 378, 1227 => 377, 1222 => 374, 1211 => 366, 1205 => 363, 1199 => 360, 1195 => 358, 1181 => 351, 1177 => 350, 1172 => 348, 1161 => 346, 1157 => 345, 1153 => 344, 1149 => 343, 1145 => 342, 1138 => 341, 1131 => 337, 1127 => 336, 1123 => 335, 1117 => 334, 1114 => 333, 1111 => 332, 1104 => 328, 1100 => 327, 1096 => 326, 1090 => 325, 1087 => 324, 1085 => 323, 1067 => 316, 1061 => 313, 1057 => 312, 1046 => 310, 1042 => 309, 1029 => 307, 1024 => 305, 1021 => 304, 1019 => 302, 1016 => 301, 1012 => 300, 1004 => 294, 1001 => 293, 997 => 291, 991 => 290, 988 => 289, 982 => 286, 977 => 285, 974 => 284, 971 => 283, 969 => 282, 963 => 281, 959 => 280, 958 => 279, 956 => 278, 950 => 275, 945 => 274, 942 => 273, 939 => 272, 936 => 271, 933 => 270, 929 => 269, 920 => 268, 918 => 267, 904 => 266, 897 => 261, 889 => 255, 884 => 252, 870 => 251, 866 => 250, 862 => 249, 855 => 248, 838 => 247, 833 => 245, 830 => 244, 827 => 243, 815 => 238, 810 => 236, 807 => 235, 805 => 234, 802 => 233, 797 => 230, 783 => 229, 779 => 228, 775 => 227, 768 => 226, 751 => 225, 746 => 223, 743 => 222, 740 => 221, 735 => 218, 721 => 217, 717 => 216, 713 => 215, 706 => 214, 689 => 213, 684 => 211, 681 => 210, 678 => 209, 673 => 206, 665 => 204, 659 => 203, 652 => 202, 648 => 201, 643 => 199, 640 => 198, 637 => 197, 632 => 194, 630 => 192, 629 => 191, 628 => 190, 627 => 189, 622 => 187, 619 => 186, 616 => 185, 609 => 181, 604 => 179, 601 => 178, 598 => 177, 591 => 173, 586 => 171, 583 => 170, 581 => 169, 575 => 166, 572 => 165, 566 => 164, 563 => 163, 557 => 160, 552 => 159, 549 => 158, 546 => 157, 543 => 156, 537 => 153, 532 => 152, 529 => 151, 526 => 150, 523 => 149, 520 => 148, 516 => 147, 510 => 145, 507 => 143, 499 => 137, 494 => 134, 480 => 133, 476 => 132, 472 => 131, 465 => 130, 448 => 129, 443 => 127, 440 => 126, 437 => 125, 425 => 120, 420 => 118, 417 => 117, 415 => 116, 412 => 115, 407 => 112, 393 => 111, 389 => 110, 385 => 109, 378 => 108, 361 => 107, 356 => 105, 353 => 104, 350 => 103, 345 => 100, 331 => 99, 327 => 98, 323 => 97, 316 => 96, 299 => 95, 294 => 93, 291 => 92, 288 => 91, 283 => 88, 281 => 86, 280 => 85, 279 => 84, 278 => 83, 277 => 82, 276 => 81, 275 => 80, 270 => 78, 267 => 77, 264 => 76, 259 => 73, 251 => 71, 247 => 70, 240 => 69, 236 => 68, 231 => 66, 228 => 65, 226 => 64, 219 => 60, 212 => 55, 206 => 54, 203 => 53, 197 => 50, 192 => 49, 189 => 48, 186 => 47, 184 => 46, 178 => 45, 174 => 44, 173 => 43, 171 => 42, 165 => 39, 160 => 38, 157 => 37, 154 => 36, 151 => 35, 148 => 34, 144 => 33, 135 => 32, 127 => 29, 124 => 28, 122 => 27, 117 => 26, 107 => 23, 104 => 22, 101 => 21, 99 => 20, 87 => 18, 84 => 17, 82 => 16, 78 => 14, 75 => 13, 73 => 10, 70 => 9, 68 => 8, 58 => 5, 51 => 4, 49 => 3, 47 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("
{% from '@openform_front_templates/_includes/_icons.html.twig' import fullscreen, zoomin, zoomout, sliderprev, slidernext, arrowright, arrowObjectNext, arrowObjectPrev, copyrights, infoClose, info %}
{% set ImageSlides = entity.ImageSlide|filterVisibles(app.request.locale) %}
<section class=\"object {{entity.isInvertedTemplate is defined and entity.isInvertedTemplate ? 'object--inverted-6'}} object--{{entity.templateId}} js-collections\" >
<div class=\"object__container\" style=\"grid-template-columns: {{entity.isInvertedTemplate is defined and entity.isInvertedTemplate ? entity.textAreaWidth is same as(0) ? '100% 0%' : ( entity.textAreaWidth ? 'calc( 100% - ' ~ entity.textAreaWidth ~ '%) ' ~ entity.textAreaWidth ~ '%' : '66% 34%') : entity.textAreaWidth is same as(0) ? '0% 100%' : ( entity.textAreaWidth ? entity.textAreaWidth ~ '% calc( 100% - ' ~ entity.textAreaWidth ~ '%)' : '34% 66%')}};{% if entity.textAreaWidth is same as(0) %}min-height: 800px;{% endif %}\">
<div class=\"object__section\" style=\"\">
{% if not entity.textAreaWidth is same as(0) %}
{% block header %}
{% include \"@openform_front_templates/_includes/_header_mak.html.twig\" %}
{% endblock %}
{% endif %}
{% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\\\App\\\\Package\\\\Openform\\\\Entity\\\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
<div class=\"object__item\" style=\"height: {{entity.imageHeight ? entity.imageHeight + 91 : '770'}}px; {{entity.textAreaWidth is same as(0) ? 'overflow:hidden; display: none;'}} {% if entity.background is defined or rootParent.background is defined %}background-color: {{entity.background is defined and entity.background|length > 0 and entity.background ? entity.background : rootParent.background is defined and rootParent.background|length > 0 ? rootParent.background}}{% endif %};\">
<div class=\"object__section__header\">
{% if rootParent.logo[0] is defined ? rootParent.logo[0] %}
{% set imgLogo = openform_front_util.getImagePathByType(rootParent.logo[0].Thumb ?? '','logo') %}
<div class=\"object__section__logotype\">
<img src=\"{{imgLogo}}\" alt=\"{{rootParent.logo[0].Translation[app.request.locale].alt}}\" title=\"{{rootParent.logo[0].Translation[app.request.locale].title}}\">
</div>
{% endif %}
{% set href = toolkit_route_localizer.generate('mak_item', {'makSlug': rootParent.getMakSlug(app.request.locale), 'slug': rootParent.Translation[app.request.locale].slug}, app.request.locale) %}
{% if href %}
<div class=\"object__section__title\">
<a href=\"{{href}}\">{{rootParent.Translation[app.request.locale].titleHtml|raw}}</a>
</div>
{% endif %}
<div class=\"object__arrows object__arrows--dark\" style=\"{% if entity.naviBackgroundColor %}background-color: {{entity.naviBackgroundColor}};{% endif %}\">
{% for key, Antique in entity.AntiqueSuit.getVisibleAntiques(app.request.locale) %}
{% if entity.id == Antique.id %}
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] is defined %}
{% set prevElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : prevElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button-white\" disabled>
{{ sliderprev('PREV_Relict'|trans({}, 'openform_front', app.request.locale)) }}
</a>
{% endif%}
{% set href = toolkit_route_localizer.generate('antique_suit_item', {
'slug': entity.AntiqueSuit.Translation[app.request.locale].slug
}, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__section__collection\">{{ entity.AntiqueSuit.Translation[app.request.locale].titleHtml|raw }}</a>
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] is defined %}
{% set nextElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : nextElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button-white object__nav__button-white-next\" disabled>
{{ slidernext('Next_Relict'|trans({}, 'openform_front', app.request.locale)) }}
</a>
{% endif %}
{% endif %}
{% endfor %}
</div>
</div>
<div class=\"object__item__title\">{{ entity.Translation[app.request.locale].titleHtml|raw }}</div>
<div class=\"object__item__section\" data-lenis-prevent style=\"overflow-y: auto; overflow-x: hidden; max-height:100%; padding-right: 10px;\">
<div class=\"object__wrapper__list\">
{% if entity.Artist|length > 0 %}
<div class=\"object__item-wrap object__item-wrap--author\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_AUTHOR')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% for artist in entity.Artist %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?artist={{ artist.fullName }}\">
{{artist.fullName ? artist.fullName }}
</a>{{entity.Artist|length > 1 ? ', '}}
{% endfor %}
</div>
</div>
{% endif %}
{% if (entity.date or entity.dateTo or entity.age or entity.ageTo or entity.year or entity.yearTo) %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_DATE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% include('@openform_front_templates/AntiqueSuit/_templates/_fields/_dates_and_ages.html.twig') with {
'dateFrom': entity.date,
'dateTo': entity.dateTo,
'ageFrom': entity.age,
'ageTo': entity.ageTo,
'yearFrom': entity.year ?? entity.shownObjectYear,
'yearTo': entity.yearTo ?? entity.shownObjectAge,
} %}
</div>
</div>
{% endif %}
{% if entity.AntiqueType|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_OBJECT_TYPE')|trans({}, 'openform_front', app.request.locale) ~ ': ' }}</h3>
<div class=\"object__item-wrap__text\">
{% for key, item in entity.AntiqueType %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueType={{ item.Translation[app.request.locale].title }}\">
{{ item.Translation[app.request.locale].title }}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.AntiqueTechnique|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_MATERIALS_AND_TECHNIQUES')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% for item in entity.AntiqueTechnique %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueTechnique={{ item.Translation[app.request.locale].title }}\">
{{item.Translation[app.request.locale].title ? item.Translation[app.request.locale].title}}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
{% if entity.Translation[app.request.locale].text %}
<div class=\"object__item-wrap object__item-wrap--description object__item-wrap--description-master js-text-dropdown\" data-limit=\"6\" data-lineHeight=\"22\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_DESCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">{{entity.Translation[app.request.locale].text|raw}}</span> <button class=\"js-text-dropdown-btn hide\"><span>{{('T_TEXT_SHOW_MORE')|trans({}, 'openform_front', app.request.locale) }} ▼</span><span>{{('T_TEXT_SHOW_LESS')|trans({}, 'openform_front', app.request.locale) }} ▲</span></button>
</div>
</div>
{% endif %}
{% if entity.AntiqueCopyrights|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_COPYRIGHTS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
{% for key, item in entity.AntiqueCopyrights %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueCopyrights={{ item.Translation[app.request.locale].title }}\">
{{ item.Translation[app.request.locale].title }}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
{% else %}
{# ------------------------Archive--------------------------- #}
<div class=\"object__item\" style=\"{{entity.textAreaWidth is same as(0) ? 'overflow:hidden; display: none;'}} max-height:100%;\">
<div class=\"object__arrows object__arrows--dark\">
{% for key, Antique in entity.AntiqueSuit.getVisibleAntiques(app.request.locale) %}
{% if entity.id == Antique.id %}
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] is defined %}
{% set prevElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : prevElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"slider-nav__btn slider-nav__btn--prev\" disabled>
{{ sliderprev('PREV_Relict'|trans({}, 'openform_front', app.request.locale)) }}
</a>
{% endif%}
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] is defined %}
{% set nextElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : nextElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"slider-nav__btn slider-nav__btn--next\" disabled>
{{ slidernext('Next_Relict'|trans({}, 'openform_front', app.request.locale)) }}
</a>
{% endif %}
{% endif %}
{% endfor %}
</div>
<div class=\"object__item__title\">{{ entity.Translation[app.request.locale].titleHtml|raw }}</div>
<div class=\"object__item__section\" data-lenis-prevent style=\"overflow-y: auto; overflow-x: hidden; max-height:100%; padding-right: 10px;\">
<div class=\"object__wrapper__list\">
{% if entity.Translation[app.request.locale].descPlace %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_PLACE_DESC')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{{entity.Translation[app.request.locale].descPlace}}
</div>
</div>
{% endif %}
{% if entity.AntiquePlace %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_OBJECT_PLACE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{{entity.AntiquePlace.Translation[app.request.locale].title}}
</div>
</div>
{% endif %}
{% if entity.documentDate or entity.documentAge or entity.documentYear %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_DOCUMENT_DATE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% include('@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age_search.html.twig') with {
'date': entity.documentDate,
'age': entity.documentAge,
'year': entity.documentYear,
} %}
</div>
</div>
{% endif %}
{% if entity.Artist|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_AUTHOR_OF_THE_PHOTOGRAPH_OR_DOCUMENT')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% for artist in entity.Artist %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?artist={{ artist.fullName }}\">
{{artist.fullName ? artist.fullName }} {{ artist.authorNickName ? '\"' ~ artist.authorNickName ~ '\"'}}
</a>{{entity.Artist|length > 1 ? ', '}}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.AntiqueType|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_OBJECT_TYPE')|trans({}, 'openform_front', app.request.locale) ~ ': ' }}</h3>
<div class=\"object__item-wrap__text\">
{% for key, item in entity.AntiqueType %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueType={{ item.Translation[app.request.locale].title }}\">
{{ item.Translation[app.request.locale].title }}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.AntiqueTechnique|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_MATERIALS_AND_TECHNIQUES')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% for item in entity.AntiqueTechnique %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueTechnique={{ item.Translation[app.request.locale].title }}\">
{{item.Translation[app.request.locale].title ? item.Translation[app.request.locale].title}}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
{% if entity.Translation[app.request.locale].text %}
<div class=\"object__item-wrap object__item-wrap--description object__item-wrap--description-master js-text-dropdown\" data-limit=\"6\" data-lineHeight=\"22\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_DESCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">{{entity.Translation[app.request.locale].text|raw}}</span> <button class=\"js-text-dropdown-btn hide\"><span>{{('T_TEXT_SHOW_MORE')|trans({}, 'openform_front', app.request.locale) }} ▼</span><span>{{('T_TEXT_SHOW_LESS')|trans({}, 'openform_front', app.request.locale) }} ▲</span></button>
</div>
</div>
{% endif %}
{% if entity.AntiqueCopyrights|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_COPYRIGHTS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
{% for key, item in entity.AntiqueCopyrights %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueCopyrights={{ item.Translation[app.request.locale].title }}\">
{{ item.Translation[app.request.locale].title }}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
</div>
<div class=\"object__gallery\" style=\"height: {{entity.imageHeight ? entity.imageHeight + 91 : '620'}}px;{{entity.textAreaWidth is same as(100) ? 'overflow:hidden;'}} background-color: {{entity.imageBackgroundColor|default('#F8F7F0')}}; {% if entity.textAreaWidth is same as(0) %}padding-top: {{ rootParent.headerHeight|default(90) }}px;{% endif %}\">
{% if entity.textAreaWidth is same as(0) %}
<div class=\"object__arrows object__arrows--dark\" style=\"{% if entity.naviBackgroundColor %}background-color: {{entity.naviBackgroundColor}};{% endif %}\">
{% for key, Antique in entity.AntiqueSuit.getVisibleAntiques(app.request.locale) %}
{% if entity.id == Antique.id %}
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] is defined %}
{% set prevElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : prevElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button-white\" disabled>
{{ sliderprev('PREV_Relict'|trans({}, 'openform_front', app.request.locale)) }}
</a>
{% endif%}
{% set href = toolkit_route_localizer.generate('antique_suit_item', {
'slug': entity.AntiqueSuit.Translation[app.request.locale].slug
}, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__section__collection\">{{ entity.AntiqueSuit.Translation[app.request.locale].titleHtml|raw }}</a>
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] is defined %}
{% set nextElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : nextElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button-white object__nav__button-white-next\" disabled>
{{ slidernext('Next_Relict'|trans({}, 'openform_front', app.request.locale)) }}
</a>
{% endif %}
{% endif %}
{% endfor %}
</div>
{% endif %}
{% if ImageSlides|length > 0 %}
<div class=\"object__gallery__splide collection-gallery js-collection-gallery-standard\" style=\"height: 100%;\">
<div class=\"splide js-collections-gallery9 collection-gallery__gallery\" style=\"height: 100%;\">
<div class=\"splide__track\" style=\"height: 100%;\">
<ul class=\"splide__list\" style=\"height: 100%;\">
{% for key, image in ImageSlides %}
{% set img = openform_front_util.getImagePathByType(image.Thumb ?? '','original') %}
{# {% set img = openform_front_util.getImagePathByType(image.Thumb ?? '','medium') %}
{% set imgPagination = openform_front_util.getImagePathByType(image.Thumb ?? '','list') %} #}
<li class=\"splide__slide\" style=\"height: 100%;\">
<div class=\"js-zoom\" data-alt=\"{{image.Translation[app.request.locale].alt}}\" style=\"height: 100%;\">
<div style=\"width:100%; height:100%; display:flex; justify-content: center; align-items: center;\">
<div class=\"collection-gallery__item\" style=\"{% if entity.imageWidthPercent %}width: {{entity.imageWidthPercent}}%; max-width: {{entity.imageWidthPercent}}%;{% endif %} max-height: {{entity.imageHeight ? entity.imageHeight ~ 'px' : '100%'}}; height:100%;\" >
<style>
.my-zoomist-{{key}} img{
{% if image.imageBorderColor and image.imageBorderWidth %}border: {{image.imageBorderColor}} solid {{image.imageBorderWidth}}px;{% endif %}\"
}
.my-zoomist-{{key}} .zoomist-wrapper{
background:{{image.imageBackgroundColor ? image.imageBackgroundColor : entity.imageBackgroundColor ? entity.imageBackgroundColor : '#F8F7F0' }};
}
</style>
<div class=\"my-zoomist my-zoomist-{{key}}\" style=\"{% if entity.imageHeight %} height: {{entity.imageHeight}}px;{% endif %}\" data-zoomist-src=\"{{img}}\" tabindex=\"0\"></div>
</div>
</div>
<div class=\"collection-gallery__wrap\">
<div class=\"collection-gallery__buttons\">
{% if image.Translation[app.request.locale].text is defined and image.Translation[app.request.locale].text %}
<div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-info-{{key}}\" tabindex=\"0\">{{info(('T_INFO')|trans({}, 'openform_front', app.request.locale))}}</button>
<div class=\"object__info object__info--info js-info-{{key}}\" data-lenis-prevent>
<div class=\"object__info__text block__text\">{{image.Translation[app.request.locale].text|raw}}</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">{{infoClose()}}</button>
</div>
</div>
{% endif %}
{% if image.Translation[app.request.locale].copyrights %}
<div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-copyright-{{key}}\" tabindex=\"0\">{{copyrights(('T_INFO')|trans({}, 'openform_front', app.request.locale))}}</button>
<div class=\"object__info object__info--copyright js-copyright-{{key}}\" data-lenis-prevent>
<div class=\"object__info__text block__text\">{{image.Translation[app.request.locale].copyrights|raw}}</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">{{infoClose()}}</button>
</div>
</div>
{% endif %}
<button class=\"collection-gallery__buttons__btn js-fullscreen\" data-alt=\"{{image.Translation[app.request.locale].alt}}\" tabindex=\"0\" data-color=\"{{image.imageBackgroundColor is defined and image.imageBackgroundColor ? image.imageBackgroundColor }}\"
data-image=\"{{img}}\"
data-description=\"{{image.Translation[app.request.locale].text}}\"
data-copyrights=\"{{image.Translation[app.request.locale].copyrights}}\"
data-start=\"{{key}}\"
data-imagestyle=\"{% if image.imageBorderColor and image.imageBorderWidth %}border: {{image.imageBorderColor}} solid {{image.imageBorderWidth}}px;{% endif %}\"
>
{{fullscreen(('T_FULLSCREEN')|trans({}, 'openform_front', app.request.locale))}}
</button>
<button class=\"collection-gallery__buttons__btn js-zoom-out\" tabindex=\"0\">{{zoomout(('T_ZOOMOUT')|trans({}, 'openform_front', app.request.locale))}}</button>
<button class=\"collection-gallery__buttons__btn js-zoom-in\" tabindex=\"0\">{{zoomin(('T_ZOOMIN')|trans({}, 'openform_front', app.request.locale))}}</button>
</div>
</div>
</div>
</li>
{% endfor %}
</ul>
<div class=\"splide__arrows{{ ImageSlides|length < 2 ? ' hide' }}\">
<div class=\"slider-nav object-gallery__nav\">
<button class=\"splide__arrow splide__arrow--prev slider-nav__btn slider-nav__btn--prev\" disabled>
{{ sliderprev('PREV_SLIDE'|trans({}, 'openform_front', app.request.locale)) }}
</button>
<button class=\"splide__arrow splide__arrow--next slider-nav__btn slider-nav__btn--next\">
{{ slidernext('NEXT_SLIDE'|trans({}, 'openform_front', app.request.locale)) }}
</button>
</div>
</div>
</div>
</div>
</div>
{% endif %}
</div>
</div>
<div class=\"container\" style=\"{{entity.background2 ? 'background-color: ' ~ entity.background2 }}\">
{% include '@openform_front_templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig' with {design: entity.colsDesign} %}
{% include \"@openform_front_templates/_blocks_sections/block.html.twig\" with { sections: openform_front_util.getSections(entity) } %}
</div>
<div class=\"object__nav container\" style=\"{% if entity.naviBackgroundColor %}background-color: {{entity.naviBackgroundColor}};{% endif %}\">
{% for key, Antique in entity.AntiqueSuit.getVisibleAntiques(app.request.locale) %}
{% if entity.id == Antique.id %}
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] is defined %}
{% set prevElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : prevElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button\">{{arrowObjectPrev(('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale))}}{{ ('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale) }}</a>
{% endif%}
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] is defined %}
{% set nextElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : nextElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button object__nav__button--next\">{{ ('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale) }}{{arrowObjectNext(('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale))}}</a>
{% endif%}
{% endif %}
{% endfor %}
</div>
</div>
</section>
", "@openform_front_templates/AntiqueSuit/_templates/_template-6.html.twig", "/var/www/php81/fpd.in.openform.pl/src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_template-6.html.twig");
}
}