<?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-2.html.twig */
class __TwigTemplate_a94624069630568e68946599bad9ab77 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-2.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-2.html.twig"));
// line 1
$macros["__internal_parse_64"] = $this->macros["__internal_parse_64"] = $this->loadTemplate("@openform_front_templates/_includes/_icons.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-2.html.twig", 1)->unwrap();
// line 2
echo "
";
// line 3
$context["ImageSlides"] = $this->extensions['App\Package\Openform\Twig\CustomExtensions']->filterVisiblesFilter(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 3, $this->source); })()), "ImageSlide", [], "any", false, false, false, 3), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3));
// line 4
echo "<section class=\"object ";
echo (((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "isInvertedTemplate", [], "any", true, true, false, 4) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 4, $this->source); })()), "isInvertedTemplate", [], "any", false, false, false, 4))) ? ("object--inverted-2") : (""));
echo " object--";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 4, $this->source); })()), "templateId", [], "any", false, false, false, 4), "html", null, true);
echo " js-collections\">
<div class=\"object__container-flex\">
<div class=\"object__section\" style=\"width: ";
// line 6
(((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); })()), "textAreaWidth", [], "any", false, false, false, 6) === 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.', 6, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 6)) ? (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.', 6, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 6), "html", null, true))) : (print ("36")))));
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.', 6, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 6) === 0)) ? ("overflow: hidden; padding: 0;") : (""));
echo " max-height:calc(100vh - ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "headerHeight", [], "any", true, true, false, 6)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "headerHeight", [], "any", false, false, false, 6), 90)) : (90)), "html", null, true);
echo "px);\" data-lenis-prevent>
<div class=\"object__arrows object__arrows--dark\" style=\"";
// line 7
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); })()), "naviBackgroundColor", [], "any", false, false, false, 7)) {
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.', 7, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 7), "html", null, true);
echo ";";
}
echo "\">
";
// line 8
$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.', 8, $this->source); })()), "AntiqueSuit", [], "any", false, false, 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, false, false, 8));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 9
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.', 9, $this->source); })()), "id", [], "any", false, false, false, 9) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 9))) {
// line 10
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, 10), "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.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "locale", [], "any", false, false, false, 10)], "method", false, true, false, 10), ($context["key"] - 1), [], "array", true, true, false, 10)) {
// line 11
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.', 11, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 11), "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.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "locale", [], "any", false, false, false, 11)], "method", false, false, false, 11), ($context["key"] - 1), [], "array", false, false, false, 11);
// line 12
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.', 12, $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.', 12, $this->source); })()), "Translation", [], "any", false, false, false, 12), 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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "locale", [], "any", false, false, false, 12), [], "array", false, false, false, 12), "slug", [], "any", false, false, false, 12)], 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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "locale", [], "any", false, false, false, 12)], "method", false, false, false, 12);
// line 13
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.', 13, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button-white\" disabled>
";
// line 14
echo twig_call_macro($macros["__internal_parse_64"], "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.', 14, $this->source); })()), "request", [], "any", false, false, false, 14), "locale", [], "any", false, false, false, 14))], 14, $context, $this->getSourceContext());
echo "
</a>
";
} else {
// line 17
echo " <div>
</div>
";
}
// line 21
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.', 21, $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 22
(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), "Translation", [], "any", false, false, false, 22), 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), [], "array", false, false, false, 22), "slug", [], "any", false, false, false, 22)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 23
(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, 21);
echo "
<a href=\"";
// line 24
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__item__collection object__item__collection--text-center\">";
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.', 24, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 24), "Translation", [], "any", false, false, false, 24), 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), [], "array", false, false, false, 24), "title", [], "any", false, false, false, 24), "html", null, true);
echo "</a>
";
// line 25
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, 25), "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.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "locale", [], "any", false, false, false, 25)], "method", false, true, false, 25), ($context["key"] + 1), [], "array", true, true, false, 25)) {
// line 26
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.', 26, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 26), "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.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26)], "method", false, false, false, 26), ($context["key"] + 1), [], "array", false, false, false, 26);
// line 27
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.', 27, $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.', 27, $this->source); })()), "Translation", [], "any", false, false, false, 27), 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.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "locale", [], "any", false, false, false, 27), [], "array", false, false, false, 27), "slug", [], "any", false, false, false, 27)], 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.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "locale", [], "any", false, false, false, 27)], "method", false, false, false, 27);
// line 28
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.', 28, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button-white object__nav__button-white-next\" disabled>
";
// line 29
echo twig_call_macro($macros["__internal_parse_64"], "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.', 29, $this->source); })()), "request", [], "any", false, false, false, 29), "locale", [], "any", false, false, false, 29))], 29, $context, $this->getSourceContext());
echo "
</a>
";
}
// line 32
echo " ";
}
// line 33
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 34
echo " </div>
";
// line 35
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.', 35, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 35) && (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.', 35, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 35), "AntiqueFormDesign", [], "any", false, false, false, 35) == twig_constant("\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM")))) {
// line 36
echo "
<div class=\"object__item\" style=\"";
// line 37
if ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "background", [], "any", true, true, false, 37) || twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "background", [], "any", true, true, false, 37))) {
echo "background-color: ";
echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "background", [], "any", true, true, false, 37) && (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.', 37, $this->source); })()), "background", [], "any", false, false, false, 37)) > 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.', 37, $this->source); })()), "background", [], "any", false, false, false, 37))) ? (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); })()), "background", [], "any", false, false, false, 37)) : ((((twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "background", [], "any", true, true, false, 37) && (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.', 37, $this->source); })()), "background", [], "any", false, false, false, 37)) > 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.', 37, $this->source); })()), "background", [], "any", false, false, false, 37)) : ("")))), "html", null, true);
}
echo ";\">
<div class=\"object__item__title\">";
// line 39
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.', 39, $this->source); })()), "Translation", [], "any", false, false, false, 39), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "locale", [], "any", false, false, false, 39), [], "array", false, false, false, 39), "titleHtml", [], "any", false, false, false, 39);
echo "</div>
<div class=\"object__item__section\">
";
// line 42
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.', 42, $this->source); })()), "Artist", [], "any", false, false, false, 42)) > 0)) {
// line 43
echo " <div class=\"object__item-wrap object__item-wrap--author\">
<h3 class=\"object__item-wrap__title\">";
// line 44
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.', 44, $this->source); })()), "request", [], "any", false, false, false, 44), "locale", [], "any", false, false, false, 44)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 46
$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.', 46, $this->source); })()), "Artist", [], "any", false, false, false, 46));
foreach ($context['_seq'] as $context["_key"] => $context["artist"]) {
// line 47
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.', 47, $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.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "locale", [], "any", false, false, false, 47)], "method", false, false, false, 47), "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, 47), "html", null, true);
echo "\">
";
// line 48
((twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 48)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 48), "html", null, true))) : (print ("")));
echo "
</a>";
// line 49
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.', 49, $this->source); })()), "Artist", [], "any", false, false, false, 49)) > 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 51
echo " </div>
</div>
";
}
// line 54
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.', 54, $this->source); })()), "date", [], "any", false, false, false, 54) || 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.', 54, $this->source); })()), "dateTo", [], "any", false, false, false, 54)) || 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.', 54, $this->source); })()), "age", [], "any", false, false, false, 54)) || 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.', 54, $this->source); })()), "ageTo", [], "any", false, false, false, 54)) || 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.', 54, $this->source); })()), "year", [], "any", false, false, false, 54)) || 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.', 54, $this->source); })()), "yearTo", [], "any", false, false, false, 54))) {
// line 55
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 56
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.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "locale", [], "any", false, false, false, 56)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 58
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_dates_and_ages.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-2.html.twig", 58)->display(twig_array_merge($context, ["dateFrom" => twig_get_attribute($this->env, $this->source, // line 59
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 59, $this->source); })()), "date", [], "any", false, false, false, 59), "dateTo" => twig_get_attribute($this->env, $this->source, // line 60
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 60, $this->source); })()), "dateTo", [], "any", false, false, false, 60), "ageFrom" => twig_get_attribute($this->env, $this->source, // line 61
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 61, $this->source); })()), "age", [], "any", false, false, false, 61), "ageTo" => twig_get_attribute($this->env, $this->source, // line 62
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 62, $this->source); })()), "ageTo", [], "any", false, false, false, 62), "yearFrom" => (((twig_get_attribute($this->env, $this->source, // line 63
($context["entity"] ?? null), "year", [], "any", true, true, false, 63) && !(null === twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "year", [], "any", false, false, false, 63)))) ? (twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "year", [], "any", false, false, false, 63)) : (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.', 63, $this->source); })()), "shownObjectYear", [], "any", false, false, false, 63))), "yearTo" => (((twig_get_attribute($this->env, $this->source, // line 64
($context["entity"] ?? null), "yearTo", [], "any", true, true, false, 64) && !(null === twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "yearTo", [], "any", false, false, false, 64)))) ? (twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "yearTo", [], "any", false, false, false, 64)) : (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 64, $this->source); })()), "shownObjectAge", [], "any", false, false, false, 64)))]));
// line 66
echo " </div>
</div>
";
}
// line 69
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.', 69, $this->source); })()), "AntiqueType", [], "any", false, false, false, 69)) > 0)) {
// line 70
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 71
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.', 71, $this->source); })()), "request", [], "any", false, false, false, 71), "locale", [], "any", false, false, false, 71)) . ": "), "html", null, true);
echo "</h3>
<div class=\"object__item-wrap__text\">
";
// line 73
$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.', 73, $this->source); })()), "AntiqueType", [], "any", false, false, false, 73));
$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 74
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.', 74, $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.', 74, $this->source); })()), "request", [], "any", false, false, false, 74), "locale", [], "any", false, false, false, 74)], "method", false, false, false, 74), "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, 74), 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.', 74, $this->source); })()), "request", [], "any", false, false, false, 74), "locale", [], "any", false, false, false, 74), [], "array", false, false, false, 74), "title", [], "any", false, false, false, 74), "html", null, true);
echo "\">
";
// line 75
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, 75), 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.', 75, $this->source); })()), "request", [], "any", false, false, false, 75), "locale", [], "any", false, false, false, 75), [], "array", false, false, false, 75), "title", [], "any", false, false, false, 75), "html", null, true);
echo "
</a>";
// line 76
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 76)) {
echo ", ";
}
// line 77
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 78
echo " </div>
</div>
";
}
// line 81
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.', 81, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 81)) > 0)) {
// line 82
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 83
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.', 83, $this->source); })()), "request", [], "any", false, false, false, 83), "locale", [], "any", false, false, false, 83)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 85
$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.', 85, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 85));
$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 86
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.', 86, $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.', 86, $this->source); })()), "request", [], "any", false, false, false, 86), "locale", [], "any", false, false, false, 86)], "method", false, false, false, 86), "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, 86), 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.', 86, $this->source); })()), "request", [], "any", false, false, false, 86), "locale", [], "any", false, false, false, 86), [], "array", false, false, false, 86), "title", [], "any", false, false, false, 86), "html", null, true);
echo "\">
";
// line 87
((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, 87), 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.', 87, $this->source); })()), "request", [], "any", false, false, false, 87), "locale", [], "any", false, false, false, 87), [], "array", false, false, false, 87), "title", [], "any", false, false, false, 87)) ? (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, 87), 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.', 87, $this->source); })()), "request", [], "any", false, false, false, 87), "locale", [], "any", false, false, false, 87), [], "array", false, false, false, 87), "title", [], "any", false, false, false, 87), "html", null, true))) : (print ("")));
echo "
</a>";
// line 88
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 88)) {
echo ", ";
}
// line 89
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 90
echo " </div>
</div>
";
}
// line 93
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.', 93, $this->source); })()), "Translation", [], "any", false, false, false, 93), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 93, $this->source); })()), "request", [], "any", false, false, false, 93), "locale", [], "any", false, false, false, 93), [], "array", false, false, false, 93), "text", [], "any", false, false, false, 93)) {
// line 94
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 95
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.', 95, $this->source); })()), "request", [], "any", false, false, false, 95), "locale", [], "any", false, false, false, 95)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">";
// line 97
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.', 97, $this->source); })()), "Translation", [], "any", false, false, false, 97), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 97, $this->source); })()), "request", [], "any", false, false, false, 97), "locale", [], "any", false, false, false, 97), [], "array", false, false, false, 97), "text", [], "any", false, false, false, 97);
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.', 97, $this->source); })()), "request", [], "any", false, false, false, 97), "locale", [], "any", false, false, false, 97)), "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.', 97, $this->source); })()), "request", [], "any", false, false, false, 97), "locale", [], "any", false, false, false, 97)), "html", null, true);
echo " â–²</span></button>
</div>
</div>
";
}
// line 102
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.', 102, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 102)) > 0)) {
// line 103
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 104
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.', 104, $this->source); })()), "request", [], "any", false, false, false, 104), "locale", [], "any", false, false, false, 104)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
";
// line 106
$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.', 106, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 106));
$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 107
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.', 107, $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.', 107, $this->source); })()), "request", [], "any", false, false, false, 107), "locale", [], "any", false, false, false, 107)], "method", false, false, false, 107), "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, 107), 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.', 107, $this->source); })()), "request", [], "any", false, false, false, 107), "locale", [], "any", false, false, false, 107), [], "array", false, false, false, 107), "title", [], "any", false, false, false, 107), "html", null, true);
echo "\">
";
// line 108
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 "
</a>";
// line 109
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 109)) {
echo ", ";
}
// line 110
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 111
echo " </div>
</div>
";
}
// line 114
echo "
</div>
</div>
";
} else {
// line 120
echo "
";
// line 122
echo " <div class=\"object__item\" style=\"";
if ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "background", [], "any", true, true, false, 122) || twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "background", [], "any", true, true, false, 122))) {
echo "background-color: ";
echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "background", [], "any", true, true, false, 122) && (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.', 122, $this->source); })()), "background", [], "any", false, false, false, 122)) > 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.', 122, $this->source); })()), "background", [], "any", false, false, false, 122))) ? (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.', 122, $this->source); })()), "background", [], "any", false, false, false, 122)) : ((((twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "background", [], "any", true, true, false, 122) && (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.', 122, $this->source); })()), "background", [], "any", false, false, false, 122)) > 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.', 122, $this->source); })()), "background", [], "any", false, false, false, 122)) : ("")))), "html", null, true);
}
echo ";\">
";
// line 123
$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.', 123, $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 124
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 124, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 124), "Translation", [], "any", false, false, false, 124), 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.', 124, $this->source); })()), "request", [], "any", false, false, false, 124), "locale", [], "any", false, false, false, 124), [], "array", false, false, false, 124), "slug", [], "any", false, false, false, 124)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 125
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 125, $this->source); })()), "request", [], "any", false, false, false, 125), "locale", [], "any", false, false, false, 125)], "method", false, false, false, 123);
echo "
<a href=\"";
// line 126
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.', 126, $this->source); })()), "html", null, true);
echo "\" class=\"object__item__collection object__item__collection--text-center\">";
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.', 126, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 126), "Translation", [], "any", false, false, false, 126), 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.', 126, $this->source); })()), "request", [], "any", false, false, false, 126), "locale", [], "any", false, false, false, 126), [], "array", false, false, false, 126), "title", [], "any", false, false, false, 126), "html", null, true);
echo "</a>
<div class=\"object__item__title\">";
// line 127
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.', 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), "titleHtml", [], "any", false, false, false, 127);
echo "</div>
<div class=\"object__item__section\">
";
// line 129
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.', 129, $this->source); })()), "Translation", [], "any", false, false, false, 129), 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), [], "array", false, false, false, 129), "descPlace", [], "any", false, false, false, 129)) {
// line 130
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 131
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.', 131, $this->source); })()), "request", [], "any", false, false, false, 131), "locale", [], "any", false, false, false, 131)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 133
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.', 133, $this->source); })()), "Translation", [], "any", false, false, false, 133), 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.', 133, $this->source); })()), "request", [], "any", false, false, false, 133), "locale", [], "any", false, false, false, 133), [], "array", false, false, false, 133), "descPlace", [], "any", false, false, false, 133), "html", null, true);
echo "
</div>
</div>
";
}
// line 137
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.', 137, $this->source); })()), "AntiquePlace", [], "any", false, false, false, 137)) {
// line 138
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 139
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.', 139, $this->source); })()), "request", [], "any", false, false, false, 139), "locale", [], "any", false, false, false, 139)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 141
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.', 141, $this->source); })()), "AntiquePlace", [], "any", false, false, false, 141), "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 "
</div>
</div>
";
}
// line 145
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.', 145, $this->source); })()), "documentDate", [], "any", false, false, false, 145) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 145, $this->source); })()), "documentAge", [], "any", false, false, false, 145)) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 145, $this->source); })()), "documentYear", [], "any", false, false, false, 145))) {
// line 146
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 147
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.', 147, $this->source); })()), "request", [], "any", false, false, false, 147), "locale", [], "any", false, false, false, 147)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 149
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age_search.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-2.html.twig", 149)->display(twig_array_merge($context, ["date" => twig_get_attribute($this->env, $this->source, // line 150
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 150, $this->source); })()), "documentDate", [], "any", false, false, false, 150), "age" => twig_get_attribute($this->env, $this->source, // line 151
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 151, $this->source); })()), "documentAge", [], "any", false, false, false, 151), "year" => twig_get_attribute($this->env, $this->source, // line 152
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 152, $this->source); })()), "documentYear", [], "any", false, false, false, 152)]));
// line 154
echo " </div>
</div>
";
}
// line 157
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.', 157, $this->source); })()), "Artist", [], "any", false, false, false, 157)) > 0)) {
// line 158
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 159
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.', 159, $this->source); })()), "request", [], "any", false, false, false, 159), "locale", [], "any", false, false, false, 159)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 161
$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.', 161, $this->source); })()), "Artist", [], "any", false, false, false, 161));
foreach ($context['_seq'] as $context["_key"] => $context["artist"]) {
// line 162
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.', 162, $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.', 162, $this->source); })()), "request", [], "any", false, false, false, 162), "locale", [], "any", false, false, false, 162)], "method", false, false, false, 162), "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, 162), "html", null, true);
echo "\">
";
// line 163
((twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 163)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 163), "html", null, true))) : (print ("")));
echo " ";
((twig_get_attribute($this->env, $this->source, $context["artist"], "authorNickName", [], "any", false, false, false, 163)) ? (print (twig_escape_filter($this->env, (("\"" . twig_get_attribute($this->env, $this->source, $context["artist"], "authorNickName", [], "any", false, false, false, 163)) . "\""), "html", null, true))) : (print ("")));
echo "
</a>";
// line 164
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.', 164, $this->source); })()), "Artist", [], "any", false, false, false, 164)) > 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 166
echo " </div>
</div>
";
}
// line 169
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.', 169, $this->source); })()), "AntiqueType", [], "any", false, false, false, 169)) > 0)) {
// line 170
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 171
echo twig_escape_filter($this->env, ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_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.', 171, $this->source); })()), "request", [], "any", false, false, false, 171), "locale", [], "any", false, false, false, 171)) . ": "), "html", null, true);
echo "</h3>
<div class=\"object__item-wrap__text\">
";
// line 173
$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.', 173, $this->source); })()), "AntiqueType", [], "any", false, false, false, 173));
$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 174
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.', 174, $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.', 174, $this->source); })()), "request", [], "any", false, false, false, 174), "locale", [], "any", false, false, false, 174)], "method", false, false, false, 174), "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, 174), 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.', 174, $this->source); })()), "request", [], "any", false, false, false, 174), "locale", [], "any", false, false, false, 174), [], "array", false, false, false, 174), "title", [], "any", false, false, false, 174), "html", null, true);
echo "\">
";
// 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, $context["item"], "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 "
</a>";
// line 176
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 176)) {
echo ", ";
}
// line 177
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 178
echo " </div>
</div>
";
}
// line 181
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.', 181, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 181)) > 0)) {
// line 182
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 183
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.', 183, $this->source); })()), "request", [], "any", false, false, false, 183), "locale", [], "any", false, false, false, 183)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 185
$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.', 185, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 185));
$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 186
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.', 186, $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.', 186, $this->source); })()), "request", [], "any", false, false, false, 186), "locale", [], "any", false, false, false, 186)], "method", false, false, false, 186), "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, 186), 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.', 186, $this->source); })()), "request", [], "any", false, false, false, 186), "locale", [], "any", false, false, false, 186), [], "array", false, false, false, 186), "title", [], "any", false, false, false, 186), "html", null, true);
echo "\">
";
// line 187
((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, 187), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "locale", [], "any", false, false, false, 187), [], "array", false, false, false, 187), "title", [], "any", false, false, false, 187)) ? (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, 187), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "locale", [], "any", false, false, false, 187), [], "array", false, false, false, 187), "title", [], "any", false, false, false, 187), "html", null, true))) : (print ("")));
echo "
</a>";
// line 188
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 188)) {
echo ", ";
}
// line 189
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 190
echo " </div>
</div>
";
}
// line 193
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.', 193, $this->source); })()), "Translation", [], "any", false, false, false, 193), 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), [], "array", false, false, false, 193), "text", [], "any", false, false, false, 193)) {
// line 194
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 195
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.', 195, $this->source); })()), "request", [], "any", false, false, false, 195), "locale", [], "any", false, false, false, 195)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">";
// line 197
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.', 197, $this->source); })()), "Translation", [], "any", false, false, false, 197), 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.', 197, $this->source); })()), "request", [], "any", false, false, false, 197), "locale", [], "any", false, false, false, 197), [], "array", false, false, false, 197), "text", [], "any", false, false, false, 197);
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.', 197, $this->source); })()), "request", [], "any", false, false, false, 197), "locale", [], "any", false, false, false, 197)), "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.', 197, $this->source); })()), "request", [], "any", false, false, false, 197), "locale", [], "any", false, false, false, 197)), "html", null, true);
echo " â–²</span></button>
</div>
</div>
";
}
// line 202
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.', 202, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 202)) > 0)) {
// line 203
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 204
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.', 204, $this->source); })()), "request", [], "any", false, false, false, 204), "locale", [], "any", false, false, false, 204)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
";
// line 206
$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.', 206, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 206));
$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 207
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.', 207, $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.', 207, $this->source); })()), "request", [], "any", false, false, false, 207), "locale", [], "any", false, false, false, 207)], "method", false, false, false, 207), "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, 207), 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.', 207, $this->source); })()), "request", [], "any", false, false, false, 207), "locale", [], "any", false, false, false, 207), [], "array", false, false, false, 207), "title", [], "any", false, false, false, 207), "html", null, true);
echo "\">
";
// line 208
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 "
</a>";
// line 209
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 209)) {
echo ", ";
}
// line 210
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 211
echo " </div>
</div>
";
}
// line 214
echo "
</div>
</div>
";
}
// line 220
echo "
";
// line 221
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-2.html.twig", 221)->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.', 221, $this->source); })()), "colsDesign", [], "any", false, false, false, 221)]));
// line 222
echo "
</div>
<div class=\"object__gallery\" style=\"width: ";
// line 225
(((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 225, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 225) === 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.', 225, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 225)) ? (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.', 225, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 225)), "html", null, true))) : (print ("64")))));
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.', 225, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 225) === 100)) ? ("overflow: hidden;") : (""));
echo " background-color: ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "sliderThumbsBackgroundColor", [], "any", true, true, false, 225)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "sliderThumbsBackgroundColor", [], "any", false, false, false, 225), "#F8F7F0")) : ("#F8F7F0")), "html", null, true);
echo "; max-height:calc(100vh - ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "headerHeight", [], "any", true, true, false, 225)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "headerHeight", [], "any", false, false, false, 225), 90)) : (90)), "html", null, true);
echo "px);\">
";
// line 226
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.', 226, $this->source); })())) > 0)) {
// line 227
echo " <div class=\"object__gallery__splide collection-gallery js-collection-gallery-standard\" style=\"background-color: ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", true, true, false, 227)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", false, false, false, 227), "#F8F7F0")) : ("#F8F7F0")), "html", null, true);
echo "; height:100%;\">
<div class=\"splide js-collections-gallery2 collection-gallery__gallery\" style=\"height: ";
// line 228
((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.', 228, $this->source); })()), "thumbsHeight", [], "any", false, false, false, 228)) ? (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.', 228, $this->source); })()), "thumbsHeight", [], "any", false, false, false, 228)) . "%"), "html", null, true))) : (print ("65%")));
echo ";\">
<div class=\"splide__track\">
<ul class=\"splide__list\" style=\"height: 100%;\">
";
// line 231
$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.', 231, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["image"]) {
// line 232
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.', 232, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 232) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 232)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 232)) : ("")), "original"], "method", false, false, false, 232);
// line 233
echo " ";
// line 235
echo " <li class=\"splide__slide\" style=\"height: 100%;\">
";
// line 237
echo "
<div class=\"js-zoom\" data-alt=\"";
// line 239
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, 239), 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.', 239, $this->source); })()), "request", [], "any", false, false, false, 239), "locale", [], "any", false, false, false, 239), [], "array", false, false, false, 239), "alt", [], "any", false, false, false, 239), "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 241
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.', 241, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 241)) {
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.', 241, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 241), "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.', 241, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 241), "html", null, true);
echo "%;";
}
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.', 241, $this->source); })()), "imageHeight", [], "any", false, false, false, 241)) ? (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.', 241, $this->source); })()), "imageHeight", [], "any", false, false, false, 241) . "px"), "html", null, true))) : (print ("100%")));
echo "; height:100%;\" >
<style>
.my-zoomist-";
// line 243
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo " img{
";
// line 244
if ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 244) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 244))) {
echo "border: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 244), "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, 244), "html", null, true);
echo "px;";
}
echo "\"
}
.my-zoomist-";
// line 246
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo " .zoomist-wrapper{
background:";
// line 247
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 247)) ? (twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 247)) : (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 247, $this->source); })()), "imageBackgroundColor", [], "any", false, false, false, 247)) ? (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 247, $this->source); })()), "imageBackgroundColor", [], "any", false, false, false, 247)) : ("#F8F7F0")))), "html", null, true);
echo ";
}
</style>
<div class=\"my-zoomist my-zoomist-";
// line 250
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" 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, 250), 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.', 250, $this->source); })()), "request", [], "any", false, false, false, 250), "locale", [], "any", false, false, false, 250), [], "array", false, false, false, 250), "alt", [], "any", false, false, false, 250), "html", null, true);
echo "\" style=\"";
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 250, $this->source); })()), "imageHeight", [], "any", false, false, false, 250)) {
echo " height: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 250, $this->source); })()), "imageHeight", [], "any", false, false, false, 250), "html", null, true);
echo "px;";
}
echo "\" data-zoomist-src=\"";
echo twig_escape_filter($this->env, (isset($context["img"]) || array_key_exists("img", $context) ? $context["img"] : (function () { throw new RuntimeError('Variable "img" does not exist.', 250, $this->source); })()), "html", null, true);
echo "\" tabindex=\"0\"></div>
</div>
</div>
<div class=\"collection-gallery__wrap\">
<div class=\"collection-gallery__buttons\">
";
// line 255
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, 255), 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.', 255, $this->source); })()), "request", [], "any", false, false, false, 255), "locale", [], "any", false, false, false, 255), [], "array", false, true, false, 255), "text", [], "any", true, true, false, 255) && 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, 255), 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.', 255, $this->source); })()), "request", [], "any", false, false, false, 255), "locale", [], "any", false, false, false, 255), [], "array", false, false, false, 255), "text", [], "any", false, false, false, 255))) {
// line 256
echo " <div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-info-";
// line 257
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" tabindex=\"0\">";
echo twig_call_macro($macros["__internal_parse_64"], "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.', 257, $this->source); })()), "request", [], "any", false, false, false, 257), "locale", [], "any", false, false, false, 257))], 257, $context, $this->getSourceContext());
echo "</button>
<div class=\"object__info object__info--info js-info-";
// line 258
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" data-lenis-prevent>
<div class=\"object__info__text block__text\">";
// line 259
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, 259), 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.', 259, $this->source); })()), "request", [], "any", false, false, false, 259), "locale", [], "any", false, false, false, 259), [], "array", false, false, false, 259), "text", [], "any", false, false, false, 259);
echo "</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">";
// line 260
echo twig_call_macro($macros["__internal_parse_64"], "macro_infoClose", [], 260, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
";
}
// line 264
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, 264), 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.', 264, $this->source); })()), "request", [], "any", false, false, false, 264), "locale", [], "any", false, false, false, 264), [], "array", false, false, false, 264), "copyrights", [], "any", false, false, false, 264)) {
// line 265
echo " <div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-copyright-";
// line 266
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" tabindex=\"0\">";
echo twig_call_macro($macros["__internal_parse_64"], "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.', 266, $this->source); })()), "request", [], "any", false, false, false, 266), "locale", [], "any", false, false, false, 266))], 266, $context, $this->getSourceContext());
echo "</button>
<div class=\"object__info object__info--copyright js-copyright-";
// line 267
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" data-lenis-prevent>
<div class=\"object__info__text block__text\">";
// line 268
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, 268), 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.', 268, $this->source); })()), "request", [], "any", false, false, false, 268), "locale", [], "any", false, false, false, 268), [], "array", false, false, false, 268), "copyrights", [], "any", false, false, false, 268);
echo "</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">";
// line 269
echo twig_call_macro($macros["__internal_parse_64"], "macro_infoClose", [], 269, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
";
}
// line 273
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, 273), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 273, $this->source); })()), "request", [], "any", false, false, false, 273), "locale", [], "any", false, false, false, 273), [], "array", false, false, false, 273), "alt", [], "any", false, false, false, 273), "html", null, true);
echo "\" tabindex=\"0\" data-color=\"";
(((twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", true, true, false, 273) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 273))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 273), "html", null, true))) : (print ("")));
echo "\"
data-image=\"";
// line 274
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.', 274, $this->source); })()), "html", null, true);
echo "\"
data-description=\"";
// line 275
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, 275), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 275, $this->source); })()), "request", [], "any", false, false, false, 275), "locale", [], "any", false, false, false, 275), [], "array", false, false, false, 275), "text", [], "any", false, false, false, 275), "html", null, true);
echo "\"
data-copyrights=\"";
// line 276
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, 276), 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.', 276, $this->source); })()), "request", [], "any", false, false, false, 276), "locale", [], "any", false, false, false, 276), [], "array", false, false, false, 276), "copyrights", [], "any", false, false, false, 276), "html", null, true);
echo "\"
data-start=\"";
// line 277
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\"
data-imagestyle=\"";
// line 278
if ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 278) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 278))) {
echo "border: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 278), "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, 278), "html", null, true);
echo "px;";
}
echo "\"
>
";
// line 280
echo twig_call_macro($macros["__internal_parse_64"], "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.', 280, $this->source); })()), "request", [], "any", false, false, false, 280), "locale", [], "any", false, false, false, 280))], 280, $context, $this->getSourceContext());
echo "
</button>
<button class=\"collection-gallery__buttons__btn js-zoom-out\" tabindex=\"0\">";
// line 282
echo twig_call_macro($macros["__internal_parse_64"], "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.', 282, $this->source); })()), "request", [], "any", false, false, false, 282), "locale", [], "any", false, false, false, 282))], 282, $context, $this->getSourceContext());
echo "</button>
<button class=\"collection-gallery__buttons__btn js-zoom-in\" tabindex=\"0\">";
// line 283
echo twig_call_macro($macros["__internal_parse_64"], "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.', 283, $this->source); })()), "request", [], "any", false, false, false, 283), "locale", [], "any", false, false, false, 283))], 283, $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 290
echo "
</ul>
</div>
</div>
";
// line 294
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.', 294, $this->source); })()), "thumbsBackgroundColor", [], "any", false, false, false, 294)) {
// line 295
echo " <style>
.collection-gallery__navigation .splide__slide.is-active {
border-color: ";
// line 297
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.', 297, $this->source); })()), "thumbsBackgroundColor", [], "any", false, false, false, 297), "html", null, true);
echo ";
}
.collection-gallery__navigation .splide__slide.is-active::after{
border-bottom: 34px solid ";
// line 300
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.', 300, $this->source); })()), "thumbsBackgroundColor", [], "any", false, false, false, 300), "html", null, true);
echo ";
}
</style>
";
}
// line 304
echo " <div style=\"background-color: ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "sliderThumbsBackgroundColor", [], "any", true, true, false, 304)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "sliderThumbsBackgroundColor", [], "any", false, false, false, 304), "#F8F7F0")) : ("#F8F7F0")), "html", null, true);
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.', 304, $this->source); })()), "thumbsHeight", [], "any", false, false, false, 304)) ? (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.', 304, $this->source); })()), "thumbsHeight", [], "any", false, false, false, 304) . "%"), "html", null, true))) : (print ("35%")));
echo ";\">
<div class=\"splide js-collections-navigation2 collection-gallery__navigation ";
// line 307
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.', 307, $this->source); })())) < 2)) ? (" hide") : (""));
echo "\" data-height=\"100%\" data-disabled=\"true\" style=\"height:100%\">
<div class=\"splide__track\">
<ul class=\"splide__list\" style=\"position: relative; z-index: 2; height: 15vh;\" style=\"height:100%\">
";
// line 310
$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.', 310, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 311
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.', 311, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 311) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 311)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 311)) : ("")), "original"], "method", false, false, false, 311);
// line 312
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.', 312, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 312) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 312)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 312)) : ("")), "detal"], "method", false, false, false, 312);
// line 313
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.', 313, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 313) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 313)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 313)) : ("")), "list"], "method", false, false, false, 313);
// line 314
echo " <li class=\"splide__slide\" style=\"aspect-ratio: 13 / 9;\">
<img src=\"";
// line 315
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.', 315, $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, 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), "alt", [], "any", false, false, false, 315)) ? (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, 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), "alt", [], "any", false, false, false, 315), "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 317
echo "
</ul>
<div class=\"splide__arrows";
// line 320
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.', 320, $this->source); })())) < 2)) ? (" hide") : (""));
echo "\">
<div class=\"slider-nav collection-gallery__nav\" style=\"z-index: 0;\">
<button class=\"splide__arrow splide__arrow--white splide__arrow--prev slider-nav__btn slider-nav__btn--prev\" disabled>
";
// line 323
echo twig_call_macro($macros["__internal_parse_64"], "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.', 323, $this->source); })()), "request", [], "any", false, false, false, 323), "locale", [], "any", false, false, false, 323))], 323, $context, $this->getSourceContext());
echo "
</button>
<button class=\"splide__arrow splide__arrow--white splide__arrow--next slider-nav__btn slider-nav__btn--next\">
";
// line 326
echo twig_call_macro($macros["__internal_parse_64"], "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.', 326, $this->source); })()), "request", [], "any", false, false, false, 326), "locale", [], "any", false, false, false, 326))], 326, $context, $this->getSourceContext());
echo "
</button>
</div>
</div>
</div>
</div>
</div>
</div>
";
}
// line 335
echo " </div>
</div>
";
// line 354
echo " ";
$this->loadTemplate("@openform_front_templates/_blocks_sections/block.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-2.html.twig", 354)->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.', 354, $this->source); })()), "getSections", [(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 354, $this->source); })())], "method", false, false, false, 354)]));
// line 355
echo "
<div class=\"object__nav container\" style=\"";
// line 357
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.', 357, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 357)) {
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.', 357, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 357), "html", null, true);
echo ";";
}
echo "\">
";
// line 358
$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.', 358, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 358), "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.', 358, $this->source); })()), "request", [], "any", false, false, false, 358), "locale", [], "any", false, false, false, 358)], "method", false, false, false, 358));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 359
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.', 359, $this->source); })()), "id", [], "any", false, false, false, 359) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 359))) {
// line 360
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, 360), "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.', 360, $this->source); })()), "request", [], "any", false, false, false, 360), "locale", [], "any", false, false, false, 360)], "method", false, true, false, 360), ($context["key"] - 1), [], "array", true, true, false, 360)) {
// line 361
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.', 361, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 361), "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.', 361, $this->source); })()), "request", [], "any", false, false, false, 361), "locale", [], "any", false, false, false, 361)], "method", false, false, false, 361), ($context["key"] - 1), [], "array", false, false, false, 361);
// line 362
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.', 362, $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.', 362, $this->source); })()), "Translation", [], "any", false, false, false, 362), 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.', 362, $this->source); })()), "request", [], "any", false, false, false, 362), "locale", [], "any", false, false, false, 362), [], "array", false, false, false, 362), "slug", [], "any", false, false, false, 362)], 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.', 362, $this->source); })()), "request", [], "any", false, false, false, 362), "locale", [], "any", false, false, false, 362)], "method", false, false, false, 362);
// line 363
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.', 363, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button\">";
echo twig_call_macro($macros["__internal_parse_64"], "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.', 363, $this->source); })()), "request", [], "any", false, false, false, 363), "locale", [], "any", false, false, false, 363))], 363, $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.', 363, $this->source); })()), "request", [], "any", false, false, false, 363), "locale", [], "any", false, false, false, 363)), "html", null, true);
echo "</a>
";
}
// line 365
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, 365), "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.', 365, $this->source); })()), "request", [], "any", false, false, false, 365), "locale", [], "any", false, false, false, 365)], "method", false, true, false, 365), ($context["key"] + 1), [], "array", true, true, false, 365)) {
// line 366
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.', 366, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 366), "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.', 366, $this->source); })()), "request", [], "any", false, false, false, 366), "locale", [], "any", false, false, false, 366)], "method", false, false, false, 366), ($context["key"] + 1), [], "array", false, false, false, 366);
// line 367
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.', 367, $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.', 367, $this->source); })()), "Translation", [], "any", false, false, false, 367), 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.', 367, $this->source); })()), "request", [], "any", false, false, false, 367), "locale", [], "any", false, false, false, 367), [], "array", false, false, false, 367), "slug", [], "any", false, false, false, 367)], 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.', 367, $this->source); })()), "request", [], "any", false, false, false, 367), "locale", [], "any", false, false, false, 367)], "method", false, false, false, 367);
// line 368
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.', 368, $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.', 368, $this->source); })()), "request", [], "any", false, false, false, 368), "locale", [], "any", false, false, false, 368)), "html", null, true);
echo twig_call_macro($macros["__internal_parse_64"], "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.', 368, $this->source); })()), "request", [], "any", false, false, false, 368), "locale", [], "any", false, false, false, 368))], 368, $context, $this->getSourceContext());
echo "</a>
";
}
// line 370
echo " ";
}
// line 371
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-2.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1173 => 371, 1170 => 370, 1161 => 368, 1158 => 367, 1155 => 366, 1152 => 365, 1143 => 363, 1140 => 362, 1137 => 361, 1134 => 360, 1131 => 359, 1127 => 358, 1119 => 357, 1115 => 355, 1112 => 354, 1107 => 335, 1095 => 326, 1089 => 323, 1083 => 320, 1078 => 317, 1067 => 315, 1064 => 314, 1061 => 313, 1058 => 312, 1055 => 311, 1051 => 310, 1045 => 307, 1036 => 304, 1029 => 300, 1023 => 297, 1019 => 295, 1017 => 294, 1011 => 290, 997 => 283, 993 => 282, 988 => 280, 977 => 278, 973 => 277, 969 => 276, 965 => 275, 961 => 274, 954 => 273, 947 => 269, 943 => 268, 939 => 267, 933 => 266, 930 => 265, 927 => 264, 920 => 260, 916 => 259, 912 => 258, 906 => 257, 903 => 256, 901 => 255, 883 => 250, 877 => 247, 873 => 246, 862 => 244, 858 => 243, 845 => 241, 840 => 239, 836 => 237, 833 => 235, 831 => 233, 828 => 232, 824 => 231, 818 => 228, 813 => 227, 811 => 226, 801 => 225, 796 => 222, 794 => 221, 791 => 220, 783 => 214, 778 => 211, 764 => 210, 760 => 209, 756 => 208, 749 => 207, 732 => 206, 727 => 204, 724 => 203, 721 => 202, 709 => 197, 704 => 195, 701 => 194, 698 => 193, 693 => 190, 679 => 189, 675 => 188, 671 => 187, 664 => 186, 647 => 185, 642 => 183, 639 => 182, 636 => 181, 631 => 178, 617 => 177, 613 => 176, 609 => 175, 602 => 174, 585 => 173, 580 => 171, 577 => 170, 574 => 169, 569 => 166, 561 => 164, 555 => 163, 548 => 162, 544 => 161, 539 => 159, 536 => 158, 533 => 157, 528 => 154, 526 => 152, 525 => 151, 524 => 150, 523 => 149, 518 => 147, 515 => 146, 512 => 145, 505 => 141, 500 => 139, 497 => 138, 494 => 137, 487 => 133, 482 => 131, 479 => 130, 477 => 129, 472 => 127, 466 => 126, 462 => 125, 461 => 124, 460 => 123, 452 => 122, 449 => 120, 441 => 114, 436 => 111, 422 => 110, 418 => 109, 414 => 108, 407 => 107, 390 => 106, 385 => 104, 382 => 103, 379 => 102, 367 => 97, 362 => 95, 359 => 94, 356 => 93, 351 => 90, 337 => 89, 333 => 88, 329 => 87, 322 => 86, 305 => 85, 300 => 83, 297 => 82, 294 => 81, 289 => 78, 275 => 77, 271 => 76, 267 => 75, 260 => 74, 243 => 73, 238 => 71, 235 => 70, 232 => 69, 227 => 66, 225 => 64, 224 => 63, 223 => 62, 222 => 61, 221 => 60, 220 => 59, 219 => 58, 214 => 56, 211 => 55, 208 => 54, 203 => 51, 195 => 49, 191 => 48, 184 => 47, 180 => 46, 175 => 44, 172 => 43, 170 => 42, 164 => 39, 156 => 37, 153 => 36, 151 => 35, 148 => 34, 142 => 33, 139 => 32, 133 => 29, 128 => 28, 125 => 27, 122 => 26, 120 => 25, 114 => 24, 110 => 23, 109 => 22, 107 => 21, 101 => 17, 95 => 14, 90 => 13, 87 => 12, 84 => 11, 81 => 10, 78 => 9, 74 => 8, 66 => 7, 58 => 6, 50 => 4, 48 => 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 ? 'object--inverted-2'}} object--{{entity.templateId}} js-collections\">
<div class=\"object__container-flex\">
<div class=\"object__section\" style=\"width: {{entity.textAreaWidth is same as(0) ? '0' : entity.textAreaWidth ? entity.textAreaWidth : '36'}}%; {{entity.textAreaWidth is same as(0) ? 'overflow: hidden; padding: 0;'}} max-height:calc(100vh - {{ rootParent.headerHeight|default(90) }}px);\" data-lenis-prevent>
<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 object__item__collection--text-center\">{{ 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>
{% endif %}
{% endif %}
{% endfor %}
</div>
{% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\\\App\\\\Package\\\\Openform\\\\Entity\\\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
<div class=\"object__item\" 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__item__title\">{{ entity.Translation[app.request.locale].titleHtml|raw }}</div>
<div class=\"object__item__section\">
{% 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=\"{% 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 %};\">
{% 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 object__item__collection--text-center\">{{ 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\">
{% 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 %}
{% include '@openform_front_templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig' with {design: entity.colsDesign} %}
</div>
<div class=\"object__gallery\" style=\"width: {{entity.textAreaWidth is same as(0) ? '100' : entity.textAreaWidth ? 100 - entity.textAreaWidth : '64'}}%; {{entity.textAreaWidth is same as(100) ? 'overflow: hidden;'}} background-color: {{entity.sliderThumbsBackgroundColor|default('#F8F7F0')}}; max-height:calc(100vh - {{ rootParent.headerHeight|default(90) }}px);\">
{% if ImageSlides|length > 0 %}
<div class=\"object__gallery__splide collection-gallery js-collection-gallery-standard\" style=\"background-color: {{entity.imageBackgroundColor|default('#F8F7F0')}}; height:100%;\">
<div class=\"splide js-collections-gallery2 collection-gallery__gallery\" style=\"height: {{entity.thumbsHeight ? ( 100 - entity.thumbsHeight) ~ '%' : '65%'}};\">
<div class=\"splide__track\">
<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 %} height: {{entity.imageHeight ? entity.imageHeight ~ 'px' : '100%'}}; height:100%;\" >
<style>
.my-zoomist-{{key}} img{
{% if image.imageBorderColor and image.imageBorderWidth %}border: {{image.imageBorderColor}} solid {{image.imageBorderWidth}}px;{% endif %}\"
}
.my-zoomist-{{key}} .zoomist-wrapper{
background:{{image.imageBackgroundColor ? image.imageBackgroundColor : entity.imageBackgroundColor ? entity.imageBackgroundColor : '#F8F7F0' }};
}
</style>
<div class=\"my-zoomist my-zoomist-{{key}}\" data-alt=\"{{image.Translation[app.request.locale].alt}}\" style=\"{% if entity.imageHeight %} height: {{entity.imageHeight}}px;{% endif %}\" data-zoomist-src=\"{{img}}\" tabindex=\"0\"></div>
</div>
</div>
<div class=\"collection-gallery__wrap\">
<div class=\"collection-gallery__buttons\">
{% if image.Translation[app.request.locale].text is defined and image.Translation[app.request.locale].text %}
<div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-info-{{key}}\" tabindex=\"0\">{{info(('T_INFO')|trans({}, 'openform_front', app.request.locale))}}</button>
<div class=\"object__info object__info--info js-info-{{key}}\" data-lenis-prevent>
<div class=\"object__info__text block__text\">{{image.Translation[app.request.locale].text|raw}}</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">{{infoClose()}}</button>
</div>
</div>
{% endif %}
{% if image.Translation[app.request.locale].copyrights %}
<div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-copyright-{{key}}\" tabindex=\"0\">{{copyrights(('T_INFO')|trans({}, 'openform_front', app.request.locale))}}</button>
<div class=\"object__info object__info--copyright js-copyright-{{key}}\" data-lenis-prevent>
<div class=\"object__info__text block__text\">{{image.Translation[app.request.locale].copyrights|raw}}</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">{{infoClose()}}</button>
</div>
</div>
{% endif %}
<button class=\"collection-gallery__buttons__btn js-fullscreen\" data-alt=\"{{image.Translation[app.request.locale].alt}}\" tabindex=\"0\" data-color=\"{{image.imageBackgroundColor is defined and image.imageBackgroundColor ? image.imageBackgroundColor }}\"
data-image=\"{{img}}\"
data-description=\"{{image.Translation[app.request.locale].text}}\"
data-copyrights=\"{{image.Translation[app.request.locale].copyrights}}\"
data-start=\"{{key}}\"
data-imagestyle=\"{% if image.imageBorderColor and image.imageBorderWidth %}border: {{image.imageBorderColor}} solid {{image.imageBorderWidth}}px;{% endif %}\"
>
{{fullscreen(('T_FULLSCREEN')|trans({}, 'openform_front', app.request.locale))}}
</button>
<button class=\"collection-gallery__buttons__btn js-zoom-out\" tabindex=\"0\">{{zoomout(('T_ZOOMOUT')|trans({}, 'openform_front', app.request.locale))}}</button>
<button class=\"collection-gallery__buttons__btn js-zoom-in\" tabindex=\"0\">{{zoomin(('T_ZOOMIN')|trans({}, 'openform_front', app.request.locale))}}</button>
</div>
</div>
</div>
</li>
{% endfor %}
</ul>
</div>
</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=\"background-color: {{entity.sliderThumbsBackgroundColor|default('#F8F7F0')}}; height: {{entity.thumbsHeight ? entity.thumbsHeight ~ '%' : '35%'}};\">
<div class=\"splide js-collections-navigation2 collection-gallery__navigation {{ ImageSlides|length < 2 ? ' hide' }}\" data-height=\"100%\" data-disabled=\"true\" style=\"height:100%\">
<div class=\"splide__track\">
<ul class=\"splide__list\" style=\"position: relative; z-index: 2; height: 15vh;\" style=\"height:100%\">
{% 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 class=\"splide__arrows{{ ImageSlides|length < 2 ? ' hide' }}\">
<div class=\"slider-nav collection-gallery__nav\" style=\"z-index: 0;\">
<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>
</div>
</div>
{% endif %}
</div>
</div>
{# <div class=\"object__nav\">
{% 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> #}
{% 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-2.html.twig", "/var/www/php81/fpd.in.openform.pl/src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_template-2.html.twig");
}
}