<?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-9.html.twig */
class __TwigTemplate_04d5fc0d404e0dea78f17b8c6c63fc2b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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-9.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-9.html.twig"));
// line 1
$macros["__internal_parse_68"] = $this->macros["__internal_parse_68"] = $this->loadTemplate("@openform_front_templates/_includes/_icons.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-9.html.twig", 1)->unwrap();
// line 2
$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.', 2, $this->source); })()), "ImageSlide", [], "any", false, false, false, 2), 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2));
// line 3
echo "<section class=\"object ";
echo ((((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "isInvertedTemplate", [], "any", true, true, false, 3) && 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); })()), "isInvertedTemplate", [], "any", false, false, false, 3)) && !(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); })()), "textAreaWidth", [], "any", false, false, false, 3) === 0))) ? ("object--inverted-9") : (""));
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.', 3, $this->source); })()), "templateId", [], "any", false, false, false, 3), "html", null, true);
echo " js-collections\" >
";
// line 4
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.', 4, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 4) === 0)) {
// line 5
echo " <div class=\"object__nav object__nav--top container\" 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.', 5, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 5)) {
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.', 5, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 5), "html", null, true);
echo ";";
}
echo "\">
";
// line 6
$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.', 6, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 6), "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.', 6, $this->source); })()), "request", [], "any", false, false, false, 6), "locale", [], "any", false, false, false, 6)], "method", false, false, false, 6));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 7
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.', 7, $this->source); })()), "id", [], "any", false, false, false, 7) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 7))) {
// line 8
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, 8), "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.', 8, $this->source); })()), "request", [], "any", false, false, false, 8), "locale", [], "any", false, false, false, 8)], "method", false, true, false, 8), ($context["key"] - 1), [], "array", true, true, false, 8)) {
// line 9
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.', 9, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 9), "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.', 9, $this->source); })()), "request", [], "any", false, false, false, 9), "locale", [], "any", false, false, false, 9)], "method", false, false, false, 9), ($context["key"] - 1), [], "array", false, false, false, 9);
// line 10
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.', 10, $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.', 10, $this->source); })()), "Translation", [], "any", false, false, false, 10), 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.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "locale", [], "any", false, false, false, 10), [], "array", false, false, false, 10), "slug", [], "any", false, false, false, 10)], 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.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "locale", [], "any", false, false, false, 10)], "method", false, false, false, 10);
// line 11
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.', 11, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button\">";
echo twig_call_macro($macros["__internal_parse_68"], "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.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "locale", [], "any", false, false, false, 11))], 11, $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.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "locale", [], "any", false, false, false, 11)), "html", null, true);
echo "</a>
";
} else {
// line 13
echo " <div>
</div>
";
}
// line 17
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.', 17, $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 18
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 18, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 18), "Translation", [], "any", false, false, false, 18), 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.', 18, $this->source); })()), "request", [], "any", false, false, false, 18), "locale", [], "any", false, false, false, 18), [], "array", false, false, false, 18), "slug", [], "any", false, false, false, 18)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 19
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 19, $this->source); })()), "request", [], "any", false, false, false, 19), "locale", [], "any", false, false, false, 19)], "method", false, false, false, 17);
echo "
<a href=\"";
// line 20
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.', 20, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__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, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 20), "Translation", [], "any", false, false, false, 20), 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.', 20, $this->source); })()), "request", [], "any", false, false, false, 20), "locale", [], "any", false, false, false, 20), [], "array", false, false, false, 20), "title", [], "any", false, false, false, 20), "html", null, true);
echo "</a>
";
// line 21
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, 21), "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.', 21, $this->source); })()), "request", [], "any", false, false, false, 21), "locale", [], "any", false, false, false, 21)], "method", false, true, false, 21), ($context["key"] + 1), [], "array", true, true, false, 21)) {
// line 22
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.', 22, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 22), "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.', 22, $this->source); })()), "request", [], "any", false, false, false, 22), "locale", [], "any", false, false, false, 22)], "method", false, false, false, 22), ($context["key"] + 1), [], "array", false, false, false, 22);
// line 23
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.', 23, $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.', 23, $this->source); })()), "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), "slug", [], "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)], "method", false, false, false, 23);
// line 24
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.', 24, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button\">";
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.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "locale", [], "any", false, false, false, 24)), "html", null, true);
echo twig_call_macro($macros["__internal_parse_68"], "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.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "locale", [], "any", false, false, false, 24))], 24, $context, $this->getSourceContext());
echo "</a>
";
} else {
// line 26
echo " <div>
</div>
";
}
// line 30
echo " ";
}
// line 31
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>
";
}
// line 34
echo " <div class=\"object__container-flex container\" style=\"";
if ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "background", [], "any", true, true, false, 34) || twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "background", [], "any", true, true, false, 34))) {
echo "background-color: ";
echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "background", [], "any", true, true, false, 34) && (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.', 34, $this->source); })()), "background", [], "any", false, false, false, 34)) > 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.', 34, $this->source); })()), "background", [], "any", false, false, false, 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.', 34, $this->source); })()), "background", [], "any", false, false, false, 34)) : ((((twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "background", [], "any", true, true, false, 34) && (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.', 34, $this->source); })()), "background", [], "any", false, false, false, 34)) > 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.', 34, $this->source); })()), "background", [], "any", false, false, false, 34)) : ("")))), "html", null, true);
}
echo "\">
<div class=\"object__section\" style=\"width: ";
// line 35
(((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.', 35, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 35) === 0)) ? (print ("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.', 35, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 35)) ? (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.', 35, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 35), "html", null, true))) : (print ("34")))));
echo "%; ";
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.', 35, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 35) === 0)) ? ("overflow: hidden; display:none;") : (""));
echo " 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.', 35, $this->source); })()), "imageHeight", [], "any", false, false, false, 35)) ? (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.', 35, $this->source); })()), "imageHeight", [], "any", false, false, false, 35) + 91), "html", null, true))) : (print ("720")));
echo "px;\">
";
// line 37
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.', 37, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 37) && (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.', 37, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 37), "AntiqueFormDesign", [], "any", false, false, false, 37) == twig_constant("\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM")))) {
// line 38
echo "
<div class=\"object__item\" style=\"height: ";
// line 39
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.', 39, $this->source); })()), "imageHeight", [], "any", false, false, false, 39)) ? (((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.', 39, $this->source); })()), "imageHeight", [], "any", false, false, false, 39) + 91) - 25)) : ((770 - 25))), "html", null, true);
echo "px;\">
<div class=\"object__arrows object__arrows--dark\" style=\"";
// line 40
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.', 40, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 40)) {
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.', 40, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 40), "html", null, true);
echo ";";
}
echo "\">
";
// line 41
$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.', 41, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 41), "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.', 41, $this->source); })()), "request", [], "any", false, false, false, 41), "locale", [], "any", false, false, false, 41)], "method", false, false, false, 41));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 42
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.', 42, $this->source); })()), "id", [], "any", false, false, false, 42) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 42))) {
// line 43
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, 43), "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.', 43, $this->source); })()), "request", [], "any", false, false, false, 43), "locale", [], "any", false, false, false, 43)], "method", false, true, false, 43), ($context["key"] - 1), [], "array", true, true, false, 43)) {
// line 44
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.', 44, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 44), "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.', 44, $this->source); })()), "request", [], "any", false, false, false, 44), "locale", [], "any", false, false, false, 44)], "method", false, false, false, 44), ($context["key"] - 1), [], "array", false, false, false, 44);
// line 45
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.', 45, $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.', 45, $this->source); })()), "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), "slug", [], "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)], "method", false, false, false, 45);
// line 46
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.', 46, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button-white\" disabled>
";
// line 47
echo twig_call_macro($macros["__internal_parse_68"], "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.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "locale", [], "any", false, false, false, 47))], 47, $context, $this->getSourceContext());
echo "
</a>
";
} else {
// line 50
echo " <div>
</div>
";
}
// line 54
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.', 54, $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 55
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 55, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 55), "Translation", [], "any", false, false, false, 55), 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.', 55, $this->source); })()), "request", [], "any", false, false, false, 55), "locale", [], "any", false, false, false, 55), [], "array", false, false, false, 55), "slug", [], "any", false, false, false, 55)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 56
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "locale", [], "any", false, false, false, 56)], "method", false, false, false, 54);
echo "
<a href=\"";
// line 57
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.', 57, $this->source); })()), "html", null, true);
echo "\" class=\"object__item__collection\">";
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.', 57, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 57), "Translation", [], "any", false, false, false, 57), 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.', 57, $this->source); })()), "request", [], "any", false, false, false, 57), "locale", [], "any", false, false, false, 57), [], "array", false, false, false, 57), "title", [], "any", false, false, false, 57), "html", null, true);
echo "</a>
";
// line 58
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, 58), "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.', 58, $this->source); })()), "request", [], "any", false, false, false, 58), "locale", [], "any", false, false, false, 58)], "method", false, true, false, 58), ($context["key"] + 1), [], "array", true, true, false, 58)) {
// line 59
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.', 59, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 59), "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.', 59, $this->source); })()), "request", [], "any", false, false, false, 59), "locale", [], "any", false, false, false, 59)], "method", false, false, false, 59), ($context["key"] + 1), [], "array", false, false, false, 59);
// line 60
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.', 60, $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.', 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), "slug", [], "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)], "method", false, false, false, 60);
// line 61
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.', 61, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button-white object__nav__button-white-next\" disabled>
";
// line 62
echo twig_call_macro($macros["__internal_parse_68"], "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.', 62, $this->source); })()), "request", [], "any", false, false, false, 62), "locale", [], "any", false, false, false, 62))], 62, $context, $this->getSourceContext());
echo "
</a>
";
} else {
// line 65
echo " <div>
</div>
";
}
// line 69
echo " ";
}
// line 70
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 71
echo " </div>
<div class=\"object__item__title\">";
// line 73
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.', 73, $this->source); })()), "Translation", [], "any", false, false, false, 73), 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.', 73, $this->source); })()), "request", [], "any", false, false, false, 73), "locale", [], "any", false, false, false, 73), [], "array", false, false, false, 73), "titleHtml", [], "any", false, false, false, 73);
echo "</div>
<div class=\"object__item__section\" data-lenis-prevent style=\"overflow-y: auto; overflow-x: hidden; max-height:100%; padding-right: 10px;\">
";
// line 76
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.', 76, $this->source); })()), "Artist", [], "any", false, false, false, 76)) > 0)) {
// line 77
echo " <div class=\"object__item-wrap object__item-wrap--author\">
<h3 class=\"object__item-wrap__title\">";
// line 78
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.', 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
$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.', 80, $this->source); })()), "Artist", [], "any", false, false, false, 80));
foreach ($context['_seq'] as $context["_key"] => $context["artist"]) {
// line 81
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.', 81, $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.', 81, $this->source); })()), "request", [], "any", false, false, false, 81), "locale", [], "any", false, false, false, 81)], "method", false, false, false, 81), "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, 81), "html", null, true);
echo "\">
";
// line 82
((twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 82)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 82), "html", null, true))) : (print ("")));
echo "
</a>";
// line 83
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.', 83, $this->source); })()), "Artist", [], "any", false, false, false, 83)) > 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 85
echo " </div>
</div>
";
}
// line 88
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.', 88, $this->source); })()), "date", [], "any", false, false, false, 88) || 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.', 88, $this->source); })()), "dateTo", [], "any", false, false, false, 88)) || 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.', 88, $this->source); })()), "age", [], "any", false, false, false, 88)) || 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.', 88, $this->source); })()), "ageTo", [], "any", false, false, false, 88)) || 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.', 88, $this->source); })()), "year", [], "any", false, false, false, 88)) || 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.', 88, $this->source); })()), "yearTo", [], "any", false, false, false, 88))) {
// line 89
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 90
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.', 90, $this->source); })()), "request", [], "any", false, false, false, 90), "locale", [], "any", false, false, false, 90)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 92
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_dates_and_ages.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-9.html.twig", 92)->display(twig_array_merge($context, ["dateFrom" => twig_get_attribute($this->env, $this->source, // line 93
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 93, $this->source); })()), "date", [], "any", false, false, false, 93), "dateTo" => twig_get_attribute($this->env, $this->source, // line 94
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 94, $this->source); })()), "dateTo", [], "any", false, false, false, 94), "ageFrom" => twig_get_attribute($this->env, $this->source, // line 95
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 95, $this->source); })()), "age", [], "any", false, false, false, 95), "ageTo" => twig_get_attribute($this->env, $this->source, // line 96
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 96, $this->source); })()), "ageTo", [], "any", false, false, false, 96), "yearFrom" => (((twig_get_attribute($this->env, $this->source, // line 97
($context["entity"] ?? null), "year", [], "any", true, true, false, 97) && !(null === twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "year", [], "any", false, false, false, 97)))) ? (twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "year", [], "any", false, false, false, 97)) : (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.', 97, $this->source); })()), "shownObjectYear", [], "any", false, false, false, 97))), "yearTo" => (((twig_get_attribute($this->env, $this->source, // line 98
($context["entity"] ?? null), "yearTo", [], "any", true, true, false, 98) && !(null === twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "yearTo", [], "any", false, false, false, 98)))) ? (twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "yearTo", [], "any", false, false, false, 98)) : (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.', 98, $this->source); })()), "shownObjectAge", [], "any", false, false, false, 98)))]));
// 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); })()), "AntiqueType", [], "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_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.', 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); })()), "AntiqueType", [], "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 "?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, 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
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, 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);
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 " ";
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.', 115, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 115)) > 0)) {
// line 116
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 117
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.', 117, $this->source); })()), "request", [], "any", false, false, false, 117), "locale", [], "any", false, false, false, 117)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 119
$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.', 119, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 119));
$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 120
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.', 120, $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.', 120, $this->source); })()), "request", [], "any", false, false, false, 120), "locale", [], "any", false, false, false, 120)], "method", false, false, false, 120), "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, 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), "title", [], "any", false, false, false, 120), "html", null, true);
echo "\">
";
// line 121
((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, 121), 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.', 121, $this->source); })()), "request", [], "any", false, false, false, 121), "locale", [], "any", false, false, false, 121), [], "array", false, false, false, 121), "title", [], "any", false, false, false, 121)) ? (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, 121), 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.', 121, $this->source); })()), "request", [], "any", false, false, false, 121), "locale", [], "any", false, false, false, 121), [], "array", false, false, false, 121), "title", [], "any", false, false, false, 121), "html", null, true))) : (print ("")));
echo "
</a>";
// line 122
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 122)) {
echo ", ";
}
// line 123
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 124
echo " </div>
</div>
";
}
// line 127
echo " ";
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.', 127, $this->source); })()), "Translation", [], "any", false, false, false, 127), 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), [], "array", false, false, false, 127), "text", [], "any", false, false, false, 127)) {
// line 128
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 129
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.', 129, $this->source); })()), "request", [], "any", false, false, false, 129), "locale", [], "any", false, false, false, 129)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">";
// line 131
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.', 131, $this->source); })()), "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), "text", [], "any", false, false, false, 131);
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.', 131, $this->source); })()), "request", [], "any", false, false, false, 131), "locale", [], "any", false, false, false, 131)), "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.', 131, $this->source); })()), "request", [], "any", false, false, false, 131), "locale", [], "any", false, false, false, 131)), "html", null, true);
echo " â–²</span></button>
</div>
</div>
";
}
// line 136
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.', 136, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 136)) > 0)) {
// line 137
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 138
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.', 138, $this->source); })()), "request", [], "any", false, false, false, 138), "locale", [], "any", false, false, false, 138)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
";
// line 140
$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.', 140, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 140));
$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 141
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.', 141, $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.', 141, $this->source); })()), "request", [], "any", false, false, false, 141), "locale", [], "any", false, false, false, 141)], "method", false, false, false, 141), "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, 141), 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.', 141, $this->source); })()), "request", [], "any", false, false, false, 141), "locale", [], "any", false, false, false, 141), [], "array", false, false, false, 141), "title", [], "any", false, false, false, 141), "html", null, true);
echo "\">
";
// line 142
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, 142), 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.', 142, $this->source); })()), "request", [], "any", false, false, false, 142), "locale", [], "any", false, false, false, 142), [], "array", false, false, false, 142), "title", [], "any", false, false, false, 142), "html", null, true);
echo "
</a>";
// line 143
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 143)) {
echo ", ";
}
// line 144
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 145
echo " </div>
</div>
";
}
// line 148
echo "
</div>
</div>
";
} else {
// line 154
echo "
";
// line 156
echo " <div class=\"object__item\" style=\"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.', 156, $this->source); })()), "imageHeight", [], "any", false, false, false, 156)) ? (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.', 156, $this->source); })()), "imageHeight", [], "any", false, false, false, 156) + 91), "html", null, true))) : (print ("770")));
echo "px;\">
";
// line 157
$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.', 157, $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 158
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 158, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 158), "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, // line 159
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "request", [], "any", false, false, false, 159), "locale", [], "any", false, false, false, 159)], "method", false, false, false, 157);
echo "
<a href=\"";
// line 160
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.', 160, $this->source); })()), "html", null, true);
echo "\" class=\"object__item__collection\">";
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.', 160, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 160), "Translation", [], "any", false, false, false, 160), 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), [], "array", false, false, false, 160), "title", [], "any", false, false, false, 160), "html", null, true);
echo "</a>
<div class=\"object__item__title\">";
// line 161
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.', 161, $this->source); })()), "Translation", [], "any", false, false, false, 161), 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.', 161, $this->source); })()), "request", [], "any", false, false, false, 161), "locale", [], "any", false, false, false, 161), [], "array", false, false, false, 161), "titleHtml", [], "any", false, false, false, 161);
echo "</div>
<div class=\"object__item__section\" data-lenis-prevent style=\"overflow-y: auto; overflow-x: hidden; max-height:100%; padding-right: 10px;\">
";
// line 163
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.', 163, $this->source); })()), "Translation", [], "any", false, false, false, 163), 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.', 163, $this->source); })()), "request", [], "any", false, false, false, 163), "locale", [], "any", false, false, false, 163), [], "array", false, false, false, 163), "descPlace", [], "any", false, false, false, 163)) {
// line 164
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 165
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.', 165, $this->source); })()), "request", [], "any", false, false, false, 165), "locale", [], "any", false, false, false, 165)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 167
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.', 167, $this->source); })()), "Translation", [], "any", false, false, false, 167), 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.', 167, $this->source); })()), "request", [], "any", false, false, false, 167), "locale", [], "any", false, false, false, 167), [], "array", false, false, false, 167), "descPlace", [], "any", false, false, false, 167), "html", null, true);
echo "
</div>
</div>
";
}
// line 171
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.', 171, $this->source); })()), "AntiquePlace", [], "any", false, false, false, 171)) {
// line 172
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 173
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.', 173, $this->source); })()), "request", [], "any", false, false, false, 173), "locale", [], "any", false, false, false, 173)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 175
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.', 175, $this->source); })()), "AntiquePlace", [], "any", false, false, false, 175), "Translation", [], "any", false, false, false, 175), 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.', 175, $this->source); })()), "request", [], "any", false, false, false, 175), "locale", [], "any", false, false, false, 175), [], "array", false, false, false, 175), "title", [], "any", false, false, false, 175), "html", null, true);
echo "
</div>
</div>
";
}
// line 179
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.', 179, $this->source); })()), "documentDate", [], "any", false, false, false, 179) || 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.', 179, $this->source); })()), "documentAge", [], "any", false, false, false, 179)) || 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.', 179, $this->source); })()), "documentYear", [], "any", false, false, false, 179))) {
// line 180
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 181
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.', 181, $this->source); })()), "request", [], "any", false, false, false, 181), "locale", [], "any", false, false, false, 181)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 183
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age_search.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-9.html.twig", 183)->display(twig_array_merge($context, ["date" => twig_get_attribute($this->env, $this->source, // line 184
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 184, $this->source); })()), "documentDate", [], "any", false, false, false, 184), "age" => twig_get_attribute($this->env, $this->source, // line 185
(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), "year" => twig_get_attribute($this->env, $this->source, // line 186
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 186, $this->source); })()), "documentYear", [], "any", false, false, false, 186)]));
// line 188
echo " </div>
</div>
";
}
// line 191
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.', 191, $this->source); })()), "Artist", [], "any", false, false, false, 191)) > 0)) {
// line 192
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 193
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.', 193, $this->source); })()), "request", [], "any", false, false, false, 193), "locale", [], "any", false, false, false, 193)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 195
$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.', 195, $this->source); })()), "Artist", [], "any", false, false, false, 195));
foreach ($context['_seq'] as $context["_key"] => $context["artist"]) {
// line 196
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.', 196, $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.', 196, $this->source); })()), "request", [], "any", false, false, false, 196), "locale", [], "any", false, false, false, 196)], "method", false, false, false, 196), "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, 196), "html", null, true);
echo "\">
";
// line 197
((twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 197)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 197), "html", null, true))) : (print ("")));
echo " ";
((twig_get_attribute($this->env, $this->source, $context["artist"], "authorNickName", [], "any", false, false, false, 197)) ? (print (twig_escape_filter($this->env, (("\"" . twig_get_attribute($this->env, $this->source, $context["artist"], "authorNickName", [], "any", false, false, false, 197)) . "\""), "html", null, true))) : (print ("")));
echo "
</a>";
// line 198
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.', 198, $this->source); })()), "Artist", [], "any", false, false, false, 198)) > 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 200
echo " </div>
</div>
";
}
// line 203
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.', 203, $this->source); })()), "AntiqueType", [], "any", false, false, false, 203)) > 0)) {
// line 204
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 205
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.', 205, $this->source); })()), "request", [], "any", false, false, false, 205), "locale", [], "any", false, false, false, 205)) . ": "), "html", null, true);
echo "</h3>
<div class=\"object__item-wrap__text\">
";
// line 207
$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.', 207, $this->source); })()), "AntiqueType", [], "any", false, false, false, 207));
$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 208
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.', 208, $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.', 208, $this->source); })()), "request", [], "any", false, false, false, 208), "locale", [], "any", false, false, false, 208)], "method", false, false, false, 208), "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, 208), 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.', 208, $this->source); })()), "request", [], "any", false, false, false, 208), "locale", [], "any", false, false, false, 208), [], "array", false, false, false, 208), "title", [], "any", false, false, false, 208), "html", null, true);
echo "\">
";
// line 209
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, 209), 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.', 209, $this->source); })()), "request", [], "any", false, false, false, 209), "locale", [], "any", false, false, false, 209), [], "array", false, false, false, 209), "title", [], "any", false, false, false, 209), "html", null, true);
echo "
</a>";
// line 210
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 210)) {
echo ", ";
}
// line 211
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 212
echo " </div>
</div>
";
}
// line 215
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.', 215, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 215)) > 0)) {
// line 216
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 217
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.', 217, $this->source); })()), "request", [], "any", false, false, false, 217), "locale", [], "any", false, false, false, 217)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 219
$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.', 219, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 219));
$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 220
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.', 220, $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.', 220, $this->source); })()), "request", [], "any", false, false, false, 220), "locale", [], "any", false, false, false, 220)], "method", false, false, false, 220), "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, 220), 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.', 220, $this->source); })()), "request", [], "any", false, false, false, 220), "locale", [], "any", false, false, false, 220), [], "array", false, false, false, 220), "title", [], "any", false, false, false, 220), "html", null, true);
echo "\">
";
// line 221
((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, 221), 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.', 221, $this->source); })()), "request", [], "any", false, false, false, 221), "locale", [], "any", false, false, false, 221), [], "array", false, false, false, 221), "title", [], "any", false, false, false, 221)) ? (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, 221), 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.', 221, $this->source); })()), "request", [], "any", false, false, false, 221), "locale", [], "any", false, false, false, 221), [], "array", false, false, false, 221), "title", [], "any", false, false, false, 221), "html", null, true))) : (print ("")));
echo "
</a>";
// line 222
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 222)) {
echo ", ";
}
// line 223
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 224
echo " </div>
</div>
";
}
// line 227
echo " ";
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.', 227, $this->source); })()), "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), "text", [], "any", false, false, false, 227)) {
// line 228
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 229
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.', 229, $this->source); })()), "request", [], "any", false, false, false, 229), "locale", [], "any", false, false, false, 229)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">";
// line 231
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.', 231, $this->source); })()), "Translation", [], "any", false, false, false, 231), 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.', 231, $this->source); })()), "request", [], "any", false, false, false, 231), "locale", [], "any", false, false, false, 231), [], "array", false, false, false, 231), "text", [], "any", false, false, false, 231);
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.', 231, $this->source); })()), "request", [], "any", false, false, false, 231), "locale", [], "any", false, false, false, 231)), "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.', 231, $this->source); })()), "request", [], "any", false, false, false, 231), "locale", [], "any", false, false, false, 231)), "html", null, true);
echo " â–²</span></button>
</div>
</div>
";
}
// line 236
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.', 236, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 236)) > 0)) {
// line 237
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 238
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.', 238, $this->source); })()), "request", [], "any", false, false, false, 238), "locale", [], "any", false, false, false, 238)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
";
// line 240
$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.', 240, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 240));
$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 241
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.', 241, $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.', 241, $this->source); })()), "request", [], "any", false, false, false, 241), "locale", [], "any", false, false, false, 241)], "method", false, false, false, 241), "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, 241), 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.', 241, $this->source); })()), "request", [], "any", false, false, false, 241), "locale", [], "any", false, false, false, 241), [], "array", false, false, false, 241), "title", [], "any", false, false, false, 241), "html", null, true);
echo "\">
";
// line 242
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, 242), 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.', 242, $this->source); })()), "request", [], "any", false, false, false, 242), "locale", [], "any", false, false, false, 242), [], "array", false, false, false, 242), "title", [], "any", false, false, false, 242), "html", null, true);
echo "
</a>";
// line 243
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 243)) {
echo ", ";
}
// line 244
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 245
echo " </div>
</div>
";
}
// line 248
echo "
</div>
</div>
";
}
// line 254
echo "
</div>
<div class=\"object__gallery\" style=\"width: ";
// line 262
(((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.', 262, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 262) === 0)) ? (print ("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.', 262, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 262)) ? (print (twig_escape_filter($this->env, (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.', 262, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 262)), "html", null, true))) : (print ("66")))));
echo "%; ";
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.', 262, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 262) === 100)) ? ("overflow: hidden; display: none;") : (""));
echo " 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.', 262, $this->source); })()), "imageHeight", [], "any", false, false, false, 262)) ? (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.', 262, $this->source); })()), "imageHeight", [], "any", false, false, false, 262) + 91), "html", null, true))) : (print ("770")));
echo "px;\">
<div class=\"object__gallery__bg\" style=\"background-color: ";
// line 263
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", true, true, false, 263)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", false, false, false, 263), "#F8F7F0")) : ("#F8F7F0")), "html", null, true);
echo "; ";
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.', 263, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 263) === 0)) ? ("width: calc(100% + 24vw); left: -12vw; ") : (""));
echo "\"></div>
";
// line 264
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.', 264, $this->source); })())) > 0)) {
// line 265
echo " <div class=\"object__gallery__splide collection-gallery js-collection-gallery-standard\" style=\"height: 100%;\">
<div class=\"splide js-collections-gallery1 collection-gallery__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); })()), "thumbsHeight", [], "any", false, false, false, 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); })()), "thumbsHeight", [], "any", false, false, false, 266) < 100))) ? (print (twig_escape_filter($this->env, ((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.', 266, $this->source); })()), "thumbsHeight", [], "any", false, false, false, 266)) . "%"), "html", null, true))) : (print ("48%")));
echo "; ";
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) === 0)) ? ("padding-left:0;") : (""));
echo "\">
<div class=\"splide__track\" style=\"height: 100%;\">
<ul class=\"splide__list\" style=\"height: 100%;\">
";
// line 269
$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.', 269, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["image"]) {
// line 270
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.', 270, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 270) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 270)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 270)) : ("")), "original"], "method", false, false, false, 270);
// line 271
echo " ";
// line 273
echo " <li class=\"splide__slide\" style=\"height: 100%;\">
";
// line 275
echo "
<div class=\"js-zoom\" data-alt=\"";
// line 278
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, 278), 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.', 278, $this->source); })()), "request", [], "any", false, false, false, 278), "locale", [], "any", false, false, false, 278), [], "array", false, false, false, 278), "alt", [], "any", false, false, false, 278), "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 280
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.', 280, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 280)) {
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.', 280, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 280), "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.', 280, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 280), "html", null, true);
echo "%;";
}
echo " max-height: ";
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.', 280, $this->source); })()), "imageHeight", [], "any", false, false, false, 280)) ? ("100%") : ("100%"));
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.', 280, $this->source); })()), "imageHeight", [], "any", false, false, false, 280)) {
echo " height: ";
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.', 280, $this->source); })()), "imageHeight", [], "any", false, false, false, 280)) ? ("100%") : ("100%"));
echo ";";
}
echo " ";
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.', 280, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 280) === 0)) ? ("height: 435px") : (""));
echo "\" >
<style>
.my-zoomist-";
// line 282
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo " img{
";
// line 283
if ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 283) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 283))) {
echo "border: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 283), "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, 283), "html", null, true);
echo "px;";
}
echo "\"
}
.my-zoomist-";
// line 285
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo " .zoomist-wrapper{
background:";
// line 286
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 286)) ? (twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 286)) : (((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.', 286, $this->source); })()), "imageBackgroundColor", [], "any", false, false, false, 286)) ? (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.', 286, $this->source); })()), "imageBackgroundColor", [], "any", false, false, false, 286)) : ("#F8F7F0")))), "html", null, true);
echo ";
}
</style>
<div class=\"my-zoomist my-zoomist-";
// line 289
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" style=\"\" 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.', 289, $this->source); })()), "html", null, true);
echo "\" tabindex=\"0\" 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, 289), 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.', 289, $this->source); })()), "request", [], "any", false, false, false, 289), "locale", [], "any", false, false, false, 289), [], "array", false, false, false, 289), "alt", [], "any", false, false, false, 289), "html", null, true);
echo "\"></div>
</div>
</div>
<div class=\"collection-gallery__wrap\">
<div class=\"collection-gallery__buttons\">
";
// line 295
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, 295), 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.', 295, $this->source); })()), "request", [], "any", false, false, false, 295), "locale", [], "any", false, false, false, 295), [], "array", false, true, false, 295), "text", [], "any", true, true, false, 295) && 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, 295), 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.', 295, $this->source); })()), "request", [], "any", false, false, false, 295), "locale", [], "any", false, false, false, 295), [], "array", false, false, false, 295), "text", [], "any", false, false, false, 295))) {
// line 296
echo " <div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-info-";
// line 297
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" tabindex=\"0\">";
echo twig_call_macro($macros["__internal_parse_68"], "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.', 297, $this->source); })()), "request", [], "any", false, false, false, 297), "locale", [], "any", false, false, false, 297))], 297, $context, $this->getSourceContext());
echo "</button>
<div class=\"object__info object__info--info js-info-";
// line 298
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" data-lenis-prevent>
<div class=\"object__info__text block__text\">";
// line 299
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, 299), 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.', 299, $this->source); })()), "request", [], "any", false, false, false, 299), "locale", [], "any", false, false, false, 299), [], "array", false, false, false, 299), "text", [], "any", false, false, false, 299);
echo "</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">";
// line 300
echo twig_call_macro($macros["__internal_parse_68"], "macro_infoClose", [], 300, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
";
}
// line 304
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, 304), 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.', 304, $this->source); })()), "request", [], "any", false, false, false, 304), "locale", [], "any", false, false, false, 304), [], "array", false, false, false, 304), "copyrights", [], "any", false, false, false, 304)) {
// line 305
echo " <div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-copyright-";
// line 306
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" tabindex=\"0\">";
echo twig_call_macro($macros["__internal_parse_68"], "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.', 306, $this->source); })()), "request", [], "any", false, false, false, 306), "locale", [], "any", false, false, false, 306))], 306, $context, $this->getSourceContext());
echo "</button>
<div class=\"object__info object__info--copyright js-copyright-";
// line 307
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" data-lenis-prevent>
<div class=\"object__info__text block__text\">";
// line 308
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, 308), 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.', 308, $this->source); })()), "request", [], "any", false, false, false, 308), "locale", [], "any", false, false, false, 308), [], "array", false, false, false, 308), "copyrights", [], "any", false, false, false, 308);
echo "</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">";
// line 309
echo twig_call_macro($macros["__internal_parse_68"], "macro_infoClose", [], 309, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
";
}
// line 313
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, 313), 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.', 313, $this->source); })()), "request", [], "any", false, false, false, 313), "locale", [], "any", false, false, false, 313), [], "array", false, false, false, 313), "alt", [], "any", false, false, false, 313), "html", null, true);
echo "\" tabindex=\"0\" data-color=\"";
(((twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", true, true, false, 313) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 313))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 313), "html", null, true))) : (print ("")));
echo "\"
data-image=\"";
// line 314
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.', 314, $this->source); })()), "html", null, true);
echo "\"
data-description=\"";
// line 315
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, 315), 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.', 315, $this->source); })()), "request", [], "any", false, false, false, 315), "locale", [], "any", false, false, false, 315), [], "array", false, false, false, 315), "text", [], "any", false, false, false, 315), "html", null, true);
echo "\"
data-copyrights=\"";
// line 316
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, 316), 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.', 316, $this->source); })()), "request", [], "any", false, false, false, 316), "locale", [], "any", false, false, false, 316), [], "array", false, false, false, 316), "copyrights", [], "any", false, false, false, 316), "html", null, true);
echo "\"
data-start=\"";
// line 317
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\"
data-imagestyle=\"";
// line 318
if ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 318) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 318))) {
echo "border: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 318), "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, 318), "html", null, true);
echo "px;";
}
echo "\"
>
";
// line 320
echo twig_call_macro($macros["__internal_parse_68"], "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.', 320, $this->source); })()), "request", [], "any", false, false, false, 320), "locale", [], "any", false, false, false, 320))], 320, $context, $this->getSourceContext());
echo "
</button>
<button class=\"collection-gallery__buttons__btn js-zoom-out\" tabindex=\"0\">";
// line 322
echo twig_call_macro($macros["__internal_parse_68"], "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.', 322, $this->source); })()), "request", [], "any", false, false, false, 322), "locale", [], "any", false, false, false, 322))], 322, $context, $this->getSourceContext());
echo "</button>
<button class=\"collection-gallery__buttons__btn js-zoom-in\" tabindex=\"0\">";
// line 323
echo twig_call_macro($macros["__internal_parse_68"], "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.', 323, $this->source); })()), "request", [], "any", false, false, false, 323), "locale", [], "any", false, false, false, 323))], 323, $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 330
echo "
</ul>
<div class=\"splide__arrows";
// line 332
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.', 332, $this->source); })())) < 2)) ? (" hide") : (""));
echo "\">
<div class=\"slider-nav collection-gallery__nav\">
<button class=\"splide__arrow splide__arrow--white splide__arrow--prev slider-nav__btn slider-nav__btn--prev\" disabled>
";
// line 335
echo twig_call_macro($macros["__internal_parse_68"], "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.', 335, $this->source); })()), "request", [], "any", false, false, false, 335), "locale", [], "any", false, false, false, 335))], 335, $context, $this->getSourceContext());
echo "
</button>
<button class=\"splide__arrow splide__arrow--white splide__arrow--next slider-nav__btn slider-nav__btn--next\">
";
// line 338
echo twig_call_macro($macros["__internal_parse_68"], "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.', 338, $this->source); })()), "request", [], "any", false, false, false, 338), "locale", [], "any", false, false, false, 338))], 338, $context, $this->getSourceContext());
echo "
</button>
</div>
</div>
</div>
</div>
";
// line 344
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.', 344, $this->source); })()), "thumbsBackgroundColor", [], "any", false, false, false, 344)) {
// line 345
echo " <style>
.collection-gallery__navigation .splide__slide.is-active {
border-color: ";
// line 347
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.', 347, $this->source); })()), "thumbsBackgroundColor", [], "any", false, false, false, 347), "html", null, true);
echo ";
}
.collection-gallery__navigation .splide__slide.is-active::after{
border-bottom: 34px solid ";
// line 350
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.', 350, $this->source); })()), "thumbsBackgroundColor", [], "any", false, false, false, 350), "html", null, true);
echo ";
}
</style>
";
}
// line 354
echo " <div style=\"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.', 354, $this->source); })()), "thumbsHeight", [], "any", false, false, false, 354)) ? (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.', 354, $this->source); })()), "thumbsHeight", [], "any", false, false, false, 354) . "%"), "html", null, true))) : (print ("52%")));
echo "; position: relative;\">
<div style=\"background-color: ";
// line 355
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.', 355, $this->source); })()), "sliderThumbsBackgroundColor", [], "any", false, false, false, 355), "html", null, true);
echo "; ";
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.', 355, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 355) === 0)) ? ("width: 100vw; height:100%; position: absolute; left: -12vw;") : (""));
echo "\">
</div>
<div class=\"splide js-collections-navigation1 collection-gallery__navigation ";
// 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 "\" data-height=\"100%\" style=\"height: 100%;width: 100%;\">
<div class=\"collection-gallery__navigation__bg\" style=\"background-color: ";
// line 361
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.', 361, $this->source); })()), "sliderThumbsBackgroundColor", [], "any", false, false, false, 361), "html", null, true);
echo ";\"></div>
<div class=\"splide__track\" >
";
// line 363
$context["mobile"] = 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.', 363, $this->source); })()), "isMobileDevice", [], "method", false, false, false, 363);
// line 364
echo " <ul class=\"splide__list\" style=\"";
echo (((isset($context["mobile"]) || array_key_exists("mobile", $context) ? $context["mobile"] : (function () { throw new RuntimeError('Variable "mobile" does not exist.', 364, $this->source); })())) ? ("") : (""));
echo "\">
";
// line 365
$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.', 365, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 366
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.', 366, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 366) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 366)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 366)) : ("")), "original"], "method", false, false, false, 366);
// line 367
echo " ";
$context["imgSmall"] = 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.', 367, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 367) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 367)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 367)) : ("")), "detal"], "method", false, false, false, 367);
// line 368
echo " ";
$context["imgPagination"] = 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.', 368, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 368) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 368)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 368)) : ("")), "list"], "method", false, false, false, 368);
// line 369
echo " <li class=\"splide__slide\" style=\"aspect-ratio: 13 / 9;\">
<img src=\"";
// line 370
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.', 370, $this->source); })()), "html", null, true);
echo "\" alt=\"";
((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, 370), 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.', 370, $this->source); })()), "request", [], "any", false, false, false, 370), "locale", [], "any", false, false, false, 370), [], "array", false, false, false, 370), "alt", [], "any", false, false, false, 370)) ? (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["image"], "Translation", [], "any", false, false, false, 370), 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.', 370, $this->source); })()), "request", [], "any", false, false, false, 370), "locale", [], "any", false, false, false, 370), [], "array", false, false, false, 370), "alt", [], "any", false, false, false, 370), "html", null, true))) : (print ("")));
echo "\">
</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 372
echo "
</ul>
</div>
</div>
</div>
</div>
";
}
// line 379
echo " </div>
</div>
<div class=\"container\" style=\"";
// line 382
((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.', 382, $this->source); })()), "background2", [], "any", false, false, false, 382)) ? (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.', 382, $this->source); })()), "background2", [], "any", false, false, false, 382)), "html", null, true))) : (print ("")));
echo "\">
";
// line 383
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-9.html.twig", 383)->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.', 383, $this->source); })()), "colsDesign", [], "any", false, false, false, 383)]));
// line 384
echo " </div>
";
// line 385
$this->loadTemplate("@openform_front_templates/_blocks_sections/block.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-9.html.twig", 385)->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.', 385, $this->source); })()), "getSections", [(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 385, $this->source); })())], "method", false, false, false, 385)]));
// line 386
echo "
<div class=\"object__nav container\" style=\"";
// line 388
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.', 388, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 388)) {
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.', 388, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 388), "html", null, true);
echo ";";
}
echo "\">
";
// line 389
$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.', 389, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 389), "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.', 389, $this->source); })()), "request", [], "any", false, false, false, 389), "locale", [], "any", false, false, false, 389)], "method", false, false, false, 389));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 390
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.', 390, $this->source); })()), "id", [], "any", false, false, false, 390) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 390))) {
// 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["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.', 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["prevElement"]) || array_key_exists("prevElement", $context) ? $context["prevElement"] : (function () { throw new RuntimeError('Variable "prevElement" 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\">";
echo twig_call_macro($macros["__internal_parse_68"], "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.', 394, $this->source); })()), "request", [], "any", false, false, false, 394), "locale", [], "any", false, false, false, 394))], 394, $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.', 394, $this->source); })()), "request", [], "any", false, false, false, 394), "locale", [], "any", false, false, false, 394)), "html", null, true);
echo "</a>
";
}
// line 396
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, 396), "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.', 396, $this->source); })()), "request", [], "any", false, false, false, 396), "locale", [], "any", false, false, false, 396)], "method", false, true, false, 396), ($context["key"] + 1), [], "array", true, true, false, 396)) {
// line 397
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.', 397, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 397), "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.', 397, $this->source); })()), "request", [], "any", false, false, false, 397), "locale", [], "any", false, false, false, 397)], "method", false, false, false, 397), ($context["key"] + 1), [], "array", false, false, false, 397);
// line 398
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.', 398, $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.', 398, $this->source); })()), "Translation", [], "any", false, false, false, 398), 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.', 398, $this->source); })()), "request", [], "any", false, false, false, 398), "locale", [], "any", false, false, false, 398), [], "array", false, false, false, 398), "slug", [], "any", false, false, false, 398)], 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.', 398, $this->source); })()), "request", [], "any", false, false, false, 398), "locale", [], "any", false, false, false, 398)], "method", false, false, false, 398);
// line 399
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.', 399, $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.', 399, $this->source); })()), "request", [], "any", false, false, false, 399), "locale", [], "any", false, false, false, 399)), "html", null, true);
echo twig_call_macro($macros["__internal_parse_68"], "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.', 399, $this->source); })()), "request", [], "any", false, false, false, 399), "locale", [], "any", false, false, false, 399))], 399, $context, $this->getSourceContext());
echo "</a>
";
}
// line 401
echo " ";
}
// line 402
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>
</section>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@openform_front_templates/AntiqueSuit/_templates/_template-9.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1300 => 402, 1297 => 401, 1288 => 399, 1285 => 398, 1282 => 397, 1279 => 396, 1270 => 394, 1267 => 393, 1264 => 392, 1261 => 391, 1258 => 390, 1254 => 389, 1246 => 388, 1242 => 386, 1240 => 385, 1237 => 384, 1235 => 383, 1231 => 382, 1226 => 379, 1217 => 372, 1206 => 370, 1203 => 369, 1200 => 368, 1197 => 367, 1194 => 366, 1190 => 365, 1185 => 364, 1183 => 363, 1178 => 361, 1174 => 360, 1164 => 355, 1159 => 354, 1152 => 350, 1146 => 347, 1142 => 345, 1140 => 344, 1131 => 338, 1125 => 335, 1119 => 332, 1115 => 330, 1101 => 323, 1097 => 322, 1092 => 320, 1081 => 318, 1077 => 317, 1073 => 316, 1069 => 315, 1065 => 314, 1058 => 313, 1051 => 309, 1047 => 308, 1043 => 307, 1037 => 306, 1034 => 305, 1031 => 304, 1024 => 300, 1020 => 299, 1016 => 298, 1010 => 297, 1007 => 296, 1005 => 295, 992 => 289, 986 => 286, 982 => 285, 971 => 283, 967 => 282, 946 => 280, 941 => 278, 936 => 275, 933 => 273, 931 => 271, 928 => 270, 924 => 269, 916 => 266, 913 => 265, 911 => 264, 905 => 263, 897 => 262, 887 => 254, 879 => 248, 874 => 245, 860 => 244, 856 => 243, 852 => 242, 845 => 241, 828 => 240, 823 => 238, 820 => 237, 817 => 236, 805 => 231, 800 => 229, 797 => 228, 794 => 227, 789 => 224, 775 => 223, 771 => 222, 767 => 221, 760 => 220, 743 => 219, 738 => 217, 735 => 216, 732 => 215, 727 => 212, 713 => 211, 709 => 210, 705 => 209, 698 => 208, 681 => 207, 676 => 205, 673 => 204, 670 => 203, 665 => 200, 657 => 198, 651 => 197, 644 => 196, 640 => 195, 635 => 193, 632 => 192, 629 => 191, 624 => 188, 622 => 186, 621 => 185, 620 => 184, 619 => 183, 614 => 181, 611 => 180, 608 => 179, 601 => 175, 596 => 173, 593 => 172, 590 => 171, 583 => 167, 578 => 165, 575 => 164, 573 => 163, 568 => 161, 562 => 160, 558 => 159, 557 => 158, 556 => 157, 551 => 156, 548 => 154, 540 => 148, 535 => 145, 521 => 144, 517 => 143, 513 => 142, 506 => 141, 489 => 140, 484 => 138, 481 => 137, 478 => 136, 466 => 131, 461 => 129, 458 => 128, 455 => 127, 450 => 124, 436 => 123, 432 => 122, 428 => 121, 421 => 120, 404 => 119, 399 => 117, 396 => 116, 393 => 115, 388 => 112, 374 => 111, 370 => 110, 366 => 109, 359 => 108, 342 => 107, 337 => 105, 334 => 104, 331 => 103, 326 => 100, 324 => 98, 323 => 97, 322 => 96, 321 => 95, 320 => 94, 319 => 93, 318 => 92, 313 => 90, 310 => 89, 307 => 88, 302 => 85, 294 => 83, 290 => 82, 283 => 81, 279 => 80, 274 => 78, 271 => 77, 269 => 76, 263 => 73, 259 => 71, 253 => 70, 250 => 69, 244 => 65, 238 => 62, 233 => 61, 230 => 60, 227 => 59, 225 => 58, 219 => 57, 215 => 56, 214 => 55, 212 => 54, 206 => 50, 200 => 47, 195 => 46, 192 => 45, 189 => 44, 186 => 43, 183 => 42, 179 => 41, 171 => 40, 167 => 39, 164 => 38, 162 => 37, 153 => 35, 145 => 34, 135 => 31, 132 => 30, 126 => 26, 117 => 24, 114 => 23, 111 => 22, 109 => 21, 103 => 20, 99 => 19, 98 => 18, 96 => 17, 90 => 13, 81 => 11, 78 => 10, 75 => 9, 72 => 8, 69 => 7, 65 => 6, 56 => 5, 54 => 4, 47 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% from '@openform_front_templates/_includes/_icons.html.twig' import fullscreen, zoomin, zoomout, sliderprev, slidernext, arrowright, copyrights, arrowObjectPrev, arrowObjectNext, infoClose, info %}
{% set ImageSlides = entity.ImageSlide|filterVisibles(app.request.locale) %}
<section class=\"object {{entity.isInvertedTemplate is defined and entity.isInvertedTemplate and not entity.textAreaWidth is same as(0) ? 'object--inverted-9'}} object--{{entity.templateId}} js-collections\" >
{% if entity.textAreaWidth is same as(0) %}
<div class=\"object__nav object__nav--top 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>
{% else %}
<div>
</div>
{% 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__nav__title\">{{ entity.AntiqueSuit.Translation[app.request.locale].title }}</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\">{{ ('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale) }}{{arrowObjectNext(('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale))}}</a>
{% else %}
<div>
</div>
{% endif %}
{% endif %}
{% endfor %}
</div>
{% endif %}
<div class=\"object__container-flex container\" style=\"{% 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\" style=\"width: {{entity.textAreaWidth is same as(0) ? '0' : entity.textAreaWidth ? entity.textAreaWidth : '34'}}%; {{entity.textAreaWidth is same as(0) ? 'overflow: hidden; display:none;' }} height: {{entity.imageHeight ? entity.imageHeight + 91 : '720'}}px;\">
{% 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 - 25 : 770 - 25}}px;\">
<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>
{% else %}
<div>
</div>
{% 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__item__collection\">{{ entity.AntiqueSuit.Translation[app.request.locale].title }}</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>
{% else %}
<div>
</div>
{% 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;\">
{% 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 %}
{% 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=\"height: {{entity.imageHeight ? entity.imageHeight + 91 : '770'}}px;\">
{% 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__item__collection\">{{ entity.AntiqueSuit.Translation[app.request.locale].title }}</a>
<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;\">
{% 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 %}
{% 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=\"width: {{entity.textAreaWidth is same as(0) ? '100' : entity.textAreaWidth ? 100 - entity.textAreaWidth : '66'}}%; {{entity.textAreaWidth is same as(100) ? 'overflow: hidden; display: none;' }} height: {{entity.imageHeight ? entity.imageHeight + 91 : '770'}}px;\">
<div class=\"object__gallery__bg\" style=\"background-color: {{entity.imageBackgroundColor|default('#F8F7F0')}}; {{entity.textAreaWidth is same as(0) ? 'width: calc(100% + 24vw); left: -12vw; '}}\"></div>
{% if ImageSlides|length > 0 %}
<div class=\"object__gallery__splide collection-gallery js-collection-gallery-standard\" style=\"height: 100%;\">
<div class=\"splide js-collections-gallery1 collection-gallery__gallery\" style=\"height: {{entity.thumbsHeight and entity.thumbsHeight < 100 ? (100 - entity.thumbsHeight) ~ '%' : '48%'}}; {{entity.textAreaWidth is same as(0) ? 'padding-left:0;'}}\">
<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 imgSmall = openform_front_util.getImagePathByType(image.Thumb ?? '','detal') %}
{% set imgPagination = openform_front_util.getImagePathByType(image.Thumb ?? '','list') %} #}
<li class=\"splide__slide\" style=\"height: 100%;\">
{# <img src=\"{{img}}\" alt=\"{{image.Translation[app.request.locale].alt ? image.Translation[app.request.locale].alt}}\"> #}
<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 ? '100%' : '100%'}}; {% if entity.imageHeight %} height: {{entity.imageHeight ? '100%' : '100%'}};{% endif %} {{ entity.textAreaWidth is same as(0) ? 'height: 435px'}}\" >
<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=\"\" data-zoomist-src=\"{{img}}\" tabindex=\"0\" data-alt=\"{{image.Translation[app.request.locale].alt}}\"></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 collection-gallery__nav\">
<button class=\"splide__arrow splide__arrow--white 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--white splide__arrow--next slider-nav__btn slider-nav__btn--next\">
{{ slidernext('NEXT_SLIDE'|trans({}, 'openform_front', app.request.locale)) }}
</button>
</div>
</div>
</div>
</div>
{% if entity.thumbsBackgroundColor %}
<style>
.collection-gallery__navigation .splide__slide.is-active {
border-color: {{entity.thumbsBackgroundColor}};
}
.collection-gallery__navigation .splide__slide.is-active::after{
border-bottom: 34px solid {{entity.thumbsBackgroundColor}};
}
</style>
{% endif %}
<div style=\"height: {{entity.thumbsHeight ? entity.thumbsHeight ~ '%' : '52%'}}; position: relative;\">
<div style=\"background-color: {{entity.sliderThumbsBackgroundColor}}; {{entity.textAreaWidth is same as(0) ? 'width: 100vw; height:100%; position: absolute; left: -12vw;' : ''}}\">
</div>
<div class=\"splide js-collections-navigation1 collection-gallery__navigation {{ ImageSlides|length < 2 ? ' hide' }}\" data-height=\"100%\" style=\"height: 100%;width: 100%;\">
<div class=\"collection-gallery__navigation__bg\" style=\"background-color: {{entity.sliderThumbsBackgroundColor}};\"></div>
<div class=\"splide__track\" >
{% set mobile = openform_front_util.isMobileDevice() %}
<ul class=\"splide__list\" style=\"{{mobile ? '' : ''}}\">
{% for image in ImageSlides %}
{% set img = openform_front_util.getImagePathByType(image.Thumb ?? '','original') %}
{% set imgSmall = openform_front_util.getImagePathByType(image.Thumb ?? '','detal') %}
{% set imgPagination = openform_front_util.getImagePathByType(image.Thumb ?? '','list') %}
<li class=\"splide__slide\" style=\"aspect-ratio: 13 / 9;\">
<img src=\"{{img}}\" alt=\"{{image.Translation[app.request.locale].alt ? image.Translation[app.request.locale].alt}}\">
</li>
{% endfor %}
</ul>
</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} %}
</div>
{% include \"@openform_front_templates/_blocks_sections/block.html.twig\" with { sections: openform_front_util.getSections(entity) } %}
<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>
</section>
", "@openform_front_templates/AntiqueSuit/_templates/_template-9.html.twig", "/var/www/php81/fpd.in.openform.pl/src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_template-9.html.twig");
}
}