<?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-4.html.twig */
class __TwigTemplate_c72d8bbaa09c9cdcc7207ad03930d230 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-4.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-4.html.twig"));
// line 1
$macros["__internal_parse_71"] = $this->macros["__internal_parse_71"] = $this->loadTemplate("@openform_front_templates/_includes/_icons.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-4.html.twig", 1)->unwrap();
// line 2
$context["ImageSlides"] = $this->extensions['App\Package\Openform\Twig\CustomExtensions']->filterVisiblesFilter(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 2, $this->source); })()), "ImageSlide", [], "any", false, false, false, 2), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2));
// line 3
echo "<section class=\"object object--";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 3, $this->source); })()), "templateId", [], "any", false, false, false, 3), "html", null, true);
echo " js-collections\" style=\"";
if ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "background", [], "any", true, true, false, 3) || twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "background", [], "any", true, true, false, 3))) {
echo "background-color: ";
echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "background", [], "any", true, true, false, 3) && (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.', 3, $this->source); })()), "background", [], "any", false, false, false, 3)) > 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.', 3, $this->source); })()), "background", [], "any", false, false, false, 3))) ? (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 3, $this->source); })()), "background", [], "any", false, false, false, 3)) : ((((twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "background", [], "any", true, true, false, 3) && (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.', 3, $this->source); })()), "background", [], "any", false, false, false, 3)) > 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.', 3, $this->source); })()), "background", [], "any", false, false, false, 3)) : ("")))), "html", null, true);
}
echo "\">
<div class=\"object__item--gallery\" style=\"background-color: ";
// line 5
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", true, true, false, 5)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", false, false, false, 5), "#FFFFF2")) : ("#FFFFF2")), "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.', 5, $this->source); })()), "imageHeight", [], "any", false, false, false, 5)) ? (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.', 5, $this->source); })()), "imageHeight", [], "any", false, false, false, 5) . "px"), "html", null, true))) : (print ("55vh")));
echo ";\">
";
// line 6
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.', 6, $this->source); })())) > 0)) {
// line 7
echo "
<div class=\"object__gallery__splide object-gallery js-collection-gallery-standard\" style=\"height: 100%;\">
<div class=\"splide js-collections-gallery-o8 collection-gallery__gallery\" aria-label=\"Galeria\" style=\"height: 100%;\">
<div class=\"splide__track\" style=\"height: 100%;\">
<ul class=\"splide__list\" style=\"height: 100%;\">
";
// line 12
$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.', 12, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["image"]) {
// line 13
echo " <li class=\"splide__slide\" style=\"height: 100%;\">
";
// line 14
$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.', 14, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 14) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 14)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 14)) : ("")), "original"], "method", false, false, false, 14);
// line 15
echo " ";
// line 16
echo " <div class=\"js-zoom\" 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, 16), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 16, $this->source); })()), "request", [], "any", false, false, false, 16), "locale", [], "any", false, false, false, 16), [], "array", false, false, false, 16), "alt", [], "any", false, false, false, 16), "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 18
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.', 18, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 18)) {
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.', 18, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 18), "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.', 18, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 18), "html", null, true);
echo "%;";
}
echo " max-height: ";
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 18, $this->source); })()), "imageHeight", [], "any", false, false, false, 18)) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 18, $this->source); })()), "imageHeight", [], "any", false, false, false, 18) . "px"), "html", null, true))) : (print ("100%")));
echo "; height:100%;\" >
<style>
.my-zoomist-";
// line 20
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo " img{
";
// line 21
if ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 21) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 21))) {
echo "border: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 21), "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, 21), "html", null, true);
echo "px;";
}
echo "\"
}
.my-zoomist-";
// line 23
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo " .zoomist-wrapper{
background:";
// line 24
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 24)) ? (twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 24)) : (((twig_get_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); })()), "imageBackgroundColor", [], "any", false, false, false, 24)) ? (twig_get_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); })()), "imageBackgroundColor", [], "any", false, false, false, 24)) : ("#F8F7F0")))), "html", null, true);
echo ";
}
</style>
<div class=\"my-zoomist my-zoomist-";
// line 27
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" style=\"";
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 27, $this->source); })()), "imageHeight", [], "any", false, false, false, 27)) {
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.', 27, $this->source); })()), "imageHeight", [], "any", false, false, false, 27), "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.', 27, $this->source); })()), "html", null, true);
echo "\" tabindex=\"0\"></div>
</div>
</div>
<div class=\"collection-gallery__wrap\">
<div class=\"collection-gallery__buttons\">
";
// line 33
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, 33), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "locale", [], "any", false, false, false, 33), [], "array", false, true, false, 33), "text", [], "any", true, true, false, 33) && 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, 33), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "locale", [], "any", false, false, false, 33), [], "array", false, false, false, 33), "text", [], "any", false, false, false, 33))) {
// line 34
echo " <div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-info-";
// line 35
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" tabindex=\"0\">";
echo twig_call_macro($macros["__internal_parse_71"], "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.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), "locale", [], "any", false, false, false, 35))], 35, $context, $this->getSourceContext());
echo "</button>
<div class=\"object__info object__info--info js-info-";
// line 36
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" data-lenis-prevent>
<div class=\"object__info__text block__text\">";
// line 37
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, 37), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "request", [], "any", false, false, false, 37), "locale", [], "any", false, false, false, 37), [], "array", false, false, false, 37), "text", [], "any", false, false, false, 37);
echo "</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">";
// line 38
echo twig_call_macro($macros["__internal_parse_71"], "macro_infoClose", [], 38, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
";
}
// line 42
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, 42), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 42, $this->source); })()), "request", [], "any", false, false, false, 42), "locale", [], "any", false, false, false, 42), [], "array", false, false, false, 42), "copyrights", [], "any", false, false, false, 42)) {
// line 43
echo " <div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-copyright-";
// line 44
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" tabindex=\"0\">";
echo twig_call_macro($macros["__internal_parse_71"], "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.', 44, $this->source); })()), "request", [], "any", false, false, false, 44), "locale", [], "any", false, false, false, 44))], 44, $context, $this->getSourceContext());
echo "</button>
<div class=\"object__info object__info--copyright js-copyright-";
// line 45
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" data-lenis-prevent>
<div class=\"object__info__text block__text\">";
// line 46
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, 46), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 46, $this->source); })()), "request", [], "any", false, false, false, 46), "locale", [], "any", false, false, false, 46), [], "array", false, false, false, 46), "copyrights", [], "any", false, false, false, 46);
echo "</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">";
// line 47
echo twig_call_macro($macros["__internal_parse_71"], "macro_infoClose", [], 47, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
";
}
// line 51
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, 51), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 51, $this->source); })()), "request", [], "any", false, false, false, 51), "locale", [], "any", false, false, false, 51), [], "array", false, false, false, 51), "alt", [], "any", false, false, false, 51), "html", null, true);
echo "\" tabindex=\"0\" data-color=\"";
(((twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", true, true, false, 51) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 51))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 51), "html", null, true))) : (print ("")));
echo "\"
data-image=\"";
// line 52
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.', 52, $this->source); })()), "html", null, true);
echo "\"
data-description=\"";
// line 53
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, 53), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 53, $this->source); })()), "request", [], "any", false, false, false, 53), "locale", [], "any", false, false, false, 53), [], "array", false, false, false, 53), "text", [], "any", false, false, false, 53), "html", null, true);
echo "\"
data-copyrights=\"";
// line 54
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, 54), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 54, $this->source); })()), "request", [], "any", false, false, false, 54), "locale", [], "any", false, false, false, 54), [], "array", false, false, false, 54), "copyrights", [], "any", false, false, false, 54), "html", null, true);
echo "\"
data-start=\"";
// line 55
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\"
data-imagestyle=\"";
// line 56
if ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 56) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 56))) {
echo "border: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 56), "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, 56), "html", null, true);
echo "px;";
}
echo "\"
>
";
// line 58
echo twig_call_macro($macros["__internal_parse_71"], "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.', 58, $this->source); })()), "request", [], "any", false, false, false, 58), "locale", [], "any", false, false, false, 58))], 58, $context, $this->getSourceContext());
echo "
</button>
<button class=\"collection-gallery__buttons__btn js-zoom-out\" tabindex=\"0\">";
// line 60
echo twig_call_macro($macros["__internal_parse_71"], "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.', 60, $this->source); })()), "request", [], "any", false, false, false, 60), "locale", [], "any", false, false, false, 60))], 60, $context, $this->getSourceContext());
echo "</button>
<button class=\"collection-gallery__buttons__btn js-zoom-in\" tabindex=\"0\">";
// line 61
echo twig_call_macro($macros["__internal_parse_71"], "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.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "locale", [], "any", false, false, false, 61))], 61, $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 68
echo "
</ul>
<div class=\"splide__arrows";
// line 70
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.', 70, $this->source); })())) < 2)) ? (" hide") : (""));
echo "\">
<div class=\"slider-nav object-gallery__nav\">
<button class=\"splide__arrow splide__arrow--prev slider-nav__btn slider-nav__btn--prev\" disabled>
";
// line 73
echo twig_call_macro($macros["__internal_parse_71"], "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.', 73, $this->source); })()), "request", [], "any", false, false, false, 73), "locale", [], "any", false, false, false, 73))], 73, $context, $this->getSourceContext());
echo "
</button>
<button class=\"splide__arrow splide__arrow--next slider-nav__btn slider-nav__btn--next\">
";
// line 76
echo twig_call_macro($macros["__internal_parse_71"], "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.', 76, $this->source); })()), "request", [], "any", false, false, false, 76), "locale", [], "any", false, false, false, 76))], 76, $context, $this->getSourceContext());
echo "
</button>
</div>
</div>
</div>
</div>
</div>
";
}
// line 85
echo " </div>
<div class=\"object__header container\">
<div class=\"object__arrows object__arrows--dark\" style=\"";
// line 88
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 88, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 88)) {
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.', 88, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 88), "html", null, true);
echo ";";
}
echo "\">
";
// line 89
$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.', 89, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 89), "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.', 89, $this->source); })()), "request", [], "any", false, false, false, 89), "locale", [], "any", false, false, false, 89)], "method", false, false, false, 89));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 90
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.', 90, $this->source); })()), "id", [], "any", false, false, false, 90) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 90))) {
// line 91
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, 91), "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.', 91, $this->source); })()), "request", [], "any", false, false, false, 91), "locale", [], "any", false, false, false, 91)], "method", false, true, false, 91), ($context["key"] - 1), [], "array", true, true, false, 91)) {
// line 92
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.', 92, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 92), "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.', 92, $this->source); })()), "request", [], "any", false, false, false, 92), "locale", [], "any", false, false, false, 92)], "method", false, false, false, 92), ($context["key"] - 1), [], "array", false, false, false, 92);
// line 93
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.', 93, $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.', 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), "slug", [], "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)], "method", false, false, false, 93);
// line 94
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.', 94, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button\">";
echo twig_call_macro($macros["__internal_parse_71"], "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.', 94, $this->source); })()), "request", [], "any", false, false, false, 94), "locale", [], "any", false, false, false, 94))], 94, $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.', 94, $this->source); })()), "request", [], "any", false, false, false, 94), "locale", [], "any", false, false, false, 94)), "html", null, true);
echo "</a>
";
}
// line 96
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.', 96, $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 97
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 97, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 97), "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), "slug", [], "any", false, false, false, 97)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 98
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 98, $this->source); })()), "request", [], "any", false, false, false, 98), "locale", [], "any", false, false, false, 98)], "method", false, false, false, 96);
echo "
<a href=\"";
// line 99
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.', 99, $this->source); })()), "html", null, true);
echo "\" class=\"object__item__collection\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 99, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 99), "Translation", [], "any", false, false, false, 99), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 99, $this->source); })()), "request", [], "any", false, false, false, 99), "locale", [], "any", false, false, false, 99), [], "array", false, false, false, 99), "title", [], "any", false, false, false, 99), "html", null, true);
echo "</a>
";
// line 100
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, 100), "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.', 100, $this->source); })()), "request", [], "any", false, false, false, 100), "locale", [], "any", false, false, false, 100)], "method", false, true, false, 100), ($context["key"] + 1), [], "array", true, true, false, 100)) {
// line 101
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.', 101, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 101), "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.', 101, $this->source); })()), "request", [], "any", false, false, false, 101), "locale", [], "any", false, false, false, 101)], "method", false, false, false, 101), ($context["key"] + 1), [], "array", false, false, false, 101);
// line 102
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.', 102, $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.', 102, $this->source); })()), "Translation", [], "any", false, false, false, 102), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 102, $this->source); })()), "request", [], "any", false, false, false, 102), "locale", [], "any", false, false, false, 102), [], "array", false, false, false, 102), "slug", [], "any", false, false, false, 102)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 102, $this->source); })()), "request", [], "any", false, false, false, 102), "locale", [], "any", false, false, false, 102)], "method", false, false, false, 102);
// line 103
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.', 103, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button object__nav__button--right\">";
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.', 103, $this->source); })()), "request", [], "any", false, false, false, 103), "locale", [], "any", false, false, false, 103)), "html", null, true);
echo twig_call_macro($macros["__internal_parse_71"], "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.', 103, $this->source); })()), "request", [], "any", false, false, false, 103), "locale", [], "any", false, false, false, 103))], 103, $context, $this->getSourceContext());
echo "</a>
";
}
// line 105
echo " ";
}
// line 106
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 107
echo " </div>
<div class=\"object__item__title\">";
// line 108
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.', 108, $this->source); })()), "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), "titleHtml", [], "any", false, false, false, 108);
echo "</div>
</div>
<div class=\"container\">
<div class=\"object__item object__item--grid\">
<div class=\"object__item__section\">
<div class=\"object__wrapper__list\">
";
// line 116
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.', 116, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 116) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 116, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 116), "AntiqueFormDesign", [], "any", false, false, false, 116) == twig_constant("\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM")))) {
// line 117
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.', 117, $this->source); })()), "Artist", [], "any", false, false, false, 117)) > 0)) {
// line 118
echo " <div class=\"object__item-wrap object__item-wrap--author\">
<h3 class=\"object__item-wrap__title\">";
// line 119
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.', 119, $this->source); })()), "request", [], "any", false, false, false, 119), "locale", [], "any", false, false, false, 119)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 121
$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.', 121, $this->source); })()), "Artist", [], "any", false, false, false, 121));
foreach ($context['_seq'] as $context["_key"] => $context["artist"]) {
// line 122
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.', 122, $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.', 122, $this->source); })()), "request", [], "any", false, false, false, 122), "locale", [], "any", false, false, false, 122)], "method", false, false, false, 122), "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, 122), "html", null, true);
echo "\">
";
// line 123
((twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 123)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 123), "html", null, true))) : (print ("")));
echo "
</a>";
// line 124
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.', 124, $this->source); })()), "Artist", [], "any", false, false, false, 124)) > 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 126
echo " </div>
</div>
";
}
// line 129
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.', 129, $this->source); })()), "date", [], "any", false, false, false, 129) || twig_get_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); })()), "dateTo", [], "any", false, false, false, 129)) || twig_get_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); })()), "age", [], "any", false, false, false, 129)) || twig_get_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); })()), "ageTo", [], "any", false, false, false, 129)) || twig_get_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); })()), "year", [], "any", false, false, false, 129)) || twig_get_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); })()), "yearTo", [], "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_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.', 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
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_dates_and_ages.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-4.html.twig", 133)->display(twig_array_merge($context, ["dateFrom" => twig_get_attribute($this->env, $this->source, // line 134
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 134, $this->source); })()), "date", [], "any", false, false, false, 134), "dateTo" => twig_get_attribute($this->env, $this->source, // line 135
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 135, $this->source); })()), "dateTo", [], "any", false, false, false, 135), "ageFrom" => twig_get_attribute($this->env, $this->source, // line 136
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 136, $this->source); })()), "age", [], "any", false, false, false, 136), "ageTo" => twig_get_attribute($this->env, $this->source, // line 137
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 137, $this->source); })()), "ageTo", [], "any", false, false, false, 137), "yearFrom" => (((twig_get_attribute($this->env, $this->source, // line 138
($context["entity"] ?? null), "year", [], "any", true, true, false, 138) && !(null === twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "year", [], "any", false, false, false, 138)))) ? (twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "year", [], "any", false, false, false, 138)) : (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 138, $this->source); })()), "shownObjectYear", [], "any", false, false, false, 138))), "yearTo" => (((twig_get_attribute($this->env, $this->source, // line 139
($context["entity"] ?? null), "yearTo", [], "any", true, true, false, 139) && !(null === twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "yearTo", [], "any", false, false, false, 139)))) ? (twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "yearTo", [], "any", false, false, false, 139)) : (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 139, $this->source); })()), "shownObjectAge", [], "any", false, false, false, 139)))]));
// line 141
echo " </div>
</div>
";
}
// line 144
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.', 144, $this->source); })()), "AntiqueType", [], "any", false, false, false, 144)) > 0)) {
// line 145
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 146
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.', 146, $this->source); })()), "request", [], "any", false, false, false, 146), "locale", [], "any", false, false, false, 146)) . ": "), "html", null, true);
echo "</h3>
<div class=\"object__item-wrap__text\">
";
// line 148
$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.', 148, $this->source); })()), "AntiqueType", [], "any", false, false, false, 148));
$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 149
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.', 149, $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.', 149, $this->source); })()), "request", [], "any", false, false, false, 149), "locale", [], "any", false, false, false, 149)], "method", false, false, false, 149), "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, 149), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 149, $this->source); })()), "request", [], "any", false, false, false, 149), "locale", [], "any", false, false, false, 149), [], "array", false, false, false, 149), "title", [], "any", false, false, false, 149), "html", null, true);
echo "\">
";
// line 150
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, 150), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 150, $this->source); })()), "request", [], "any", false, false, false, 150), "locale", [], "any", false, false, false, 150), [], "array", false, false, false, 150), "title", [], "any", false, false, false, 150), "html", null, true);
echo "
</a>";
// line 151
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 151)) {
echo ", ";
}
// line 152
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 153
echo " </div>
</div>
";
}
// line 156
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.', 156, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 156)) > 0)) {
// line 157
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 158
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.', 158, $this->source); })()), "request", [], "any", false, false, false, 158), "locale", [], "any", false, false, false, 158)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 160
$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.', 160, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 160));
$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 161
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.', 161, $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.', 161, $this->source); })()), "request", [], "any", false, false, false, 161), "locale", [], "any", false, false, false, 161)], "method", false, false, false, 161), "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, 161), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 161, $this->source); })()), "request", [], "any", false, false, false, 161), "locale", [], "any", false, false, false, 161), [], "array", false, false, false, 161), "title", [], "any", false, false, false, 161), "html", null, true);
echo "\">
";
// line 162
((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, 162), twig_get_attribute($this->env, $this->source, twig_get_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), [], "array", false, false, false, 162), "title", [], "any", false, false, false, 162)) ? (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, 162), twig_get_attribute($this->env, $this->source, twig_get_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), [], "array", false, false, false, 162), "title", [], "any", false, false, false, 162), "html", null, true))) : (print ("")));
echo "
</a>";
// line 163
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 163)) {
echo ", ";
}
// line 164
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 165
echo " </div>
</div>
";
}
// line 168
echo " ";
} else {
// line 169
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.', 169, $this->source); })()), "Translation", [], "any", false, false, false, 169), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 169, $this->source); })()), "request", [], "any", false, false, false, 169), "locale", [], "any", false, false, false, 169), [], "array", false, false, false, 169), "descPlace", [], "any", false, false, false, 169)) {
// line 170
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 171
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_PLACE_DESC", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 171, $this->source); })()), "request", [], "any", false, false, false, 171), "locale", [], "any", false, false, false, 171)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 173
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 173, $this->source); })()), "Translation", [], "any", false, false, false, 173), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 173, $this->source); })()), "request", [], "any", false, false, false, 173), "locale", [], "any", false, false, false, 173), [], "array", false, false, false, 173), "descPlace", [], "any", false, false, false, 173), "html", null, true);
echo "
</div>
</div>
";
}
// line 177
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 177, $this->source); })()), "AntiquePlace", [], "any", false, false, false, 177)) {
// line 178
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 179
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_OBJECT_PLACE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 179, $this->source); })()), "request", [], "any", false, false, false, 179), "locale", [], "any", false, false, false, 179)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 181
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 181, $this->source); })()), "AntiquePlace", [], "any", false, false, false, 181), "Translation", [], "any", false, false, false, 181), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 181, $this->source); })()), "request", [], "any", false, false, false, 181), "locale", [], "any", false, false, false, 181), [], "array", false, false, false, 181), "title", [], "any", false, false, false, 181), "html", null, true);
echo "
</div>
</div>
";
}
// line 185
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 185, $this->source); })()), "documentDate", [], "any", false, false, false, 185) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 185, $this->source); })()), "documentAge", [], "any", false, false, false, 185)) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 185, $this->source); })()), "documentYear", [], "any", false, false, false, 185))) {
// line 186
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 187
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_DOCUMENT_DATE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "locale", [], "any", false, false, false, 187)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 189
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age_search.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-4.html.twig", 189)->display(twig_array_merge($context, ["date" => twig_get_attribute($this->env, $this->source, // line 190
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 190, $this->source); })()), "documentDate", [], "any", false, false, false, 190), "age" => twig_get_attribute($this->env, $this->source, // line 191
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 191, $this->source); })()), "documentAge", [], "any", false, false, false, 191), "year" => twig_get_attribute($this->env, $this->source, // line 192
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 192, $this->source); })()), "documentYear", [], "any", false, false, false, 192)]));
// line 194
echo " </div>
</div>
";
}
// line 197
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 197, $this->source); })()), "Artist", [], "any", false, false, false, 197)) > 0)) {
// line 198
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 199
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_AUTHOR_OF_THE_PHOTOGRAPH_OR_DOCUMENT", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 199, $this->source); })()), "request", [], "any", false, false, false, 199), "locale", [], "any", false, false, false, 199)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 201
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 201, $this->source); })()), "Artist", [], "any", false, false, false, 201));
foreach ($context['_seq'] as $context["_key"] => $context["artist"]) {
// line 202
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 202, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 202, $this->source); })()), "request", [], "any", false, false, false, 202), "locale", [], "any", false, false, false, 202)], "method", false, false, false, 202), "html", null, true);
echo "?artist=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 202), "html", null, true);
echo "\">
";
// line 203
((twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 203)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 203), "html", null, true))) : (print ("")));
echo " ";
((twig_get_attribute($this->env, $this->source, $context["artist"], "authorNickName", [], "any", false, false, false, 203)) ? (print (twig_escape_filter($this->env, (("\"" . twig_get_attribute($this->env, $this->source, $context["artist"], "authorNickName", [], "any", false, false, false, 203)) . "\""), "html", null, true))) : (print ("")));
echo "
</a>";
// line 204
echo (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 204, $this->source); })()), "Artist", [], "any", false, false, false, 204)) > 1)) ? (", ") : (""));
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['artist'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 206
echo " </div>
</div>
";
}
// line 209
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 209, $this->source); })()), "AntiqueType", [], "any", false, false, false, 209)) > 0)) {
// line 210
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 211
echo twig_escape_filter($this->env, ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_OBJECT_TYPE", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 211, $this->source); })()), "request", [], "any", false, false, false, 211), "locale", [], "any", false, false, false, 211)) . ": "), "html", null, true);
echo "</h3>
<div class=\"object__item-wrap__text\">
";
// line 213
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 213, $this->source); })()), "AntiqueType", [], "any", false, false, false, 213));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["key"] => $context["item"]) {
// line 214
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 214, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 214, $this->source); })()), "request", [], "any", false, false, false, 214), "locale", [], "any", false, false, false, 214)], "method", false, false, false, 214), "html", null, true);
echo "?antiqueType=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 214), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 214, $this->source); })()), "request", [], "any", false, false, false, 214), "locale", [], "any", false, false, false, 214), [], "array", false, false, false, 214), "title", [], "any", false, false, false, 214), "html", null, true);
echo "\">
";
// line 215
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 215), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 215, $this->source); })()), "request", [], "any", false, false, false, 215), "locale", [], "any", false, false, false, 215), [], "array", false, false, false, 215), "title", [], "any", false, false, false, 215), "html", null, true);
echo "
</a>";
// line 216
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 216)) {
echo ", ";
}
// line 217
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 218
echo " </div>
</div>
";
}
// line 221
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 221, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 221)) > 0)) {
// line 222
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 223
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_MATERIALS_AND_TECHNIQUES", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 223, $this->source); })()), "request", [], "any", false, false, false, 223), "locale", [], "any", false, false, false, 223)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 225
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 225, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 225));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 226
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 226, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 226, $this->source); })()), "request", [], "any", false, false, false, 226), "locale", [], "any", false, false, false, 226)], "method", false, false, false, 226), "html", null, true);
echo "?antiqueTechnique=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 226), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 226, $this->source); })()), "request", [], "any", false, false, false, 226), "locale", [], "any", false, false, false, 226), [], "array", false, false, false, 226), "title", [], "any", false, false, false, 226), "html", null, true);
echo "\">
";
// line 227
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 227), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 227, $this->source); })()), "request", [], "any", false, false, false, 227), "locale", [], "any", false, false, false, 227), [], "array", false, false, false, 227), "title", [], "any", false, false, false, 227)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "Translation", [], "any", false, false, false, 227), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 227, $this->source); })()), "request", [], "any", false, false, false, 227), "locale", [], "any", false, false, false, 227), [], "array", false, false, false, 227), "title", [], "any", false, false, false, 227), "html", null, true))) : (print ("")));
echo "
</a>";
// line 228
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 228)) {
echo ", ";
}
// line 229
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 230
echo " </div>
</div>
";
}
// line 233
echo " ";
}
// line 234
echo " </div>
</div>
<div class=\"object__item__section\">
";
// line 237
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.', 237, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 237) && (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.', 237, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 237), "AntiqueFormDesign", [], "any", false, false, false, 237) == twig_constant("\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM")))) {
// line 238
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.', 238, $this->source); })()), "Translation", [], "any", false, false, false, 238), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 238, $this->source); })()), "request", [], "any", false, false, false, 238), "locale", [], "any", false, false, false, 238), [], "array", false, false, false, 238), "text", [], "any", false, false, false, 238)) {
// line 239
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 240
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.', 240, $this->source); })()), "request", [], "any", false, false, false, 240), "locale", [], "any", false, false, false, 240)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">";
// line 242
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.', 242, $this->source); })()), "Translation", [], "any", false, false, false, 242), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 242, $this->source); })()), "request", [], "any", false, false, false, 242), "locale", [], "any", false, false, false, 242), [], "array", false, false, false, 242), "text", [], "any", false, false, false, 242);
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.', 242, $this->source); })()), "request", [], "any", false, false, false, 242), "locale", [], "any", false, false, false, 242)), "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.', 242, $this->source); })()), "request", [], "any", false, false, false, 242), "locale", [], "any", false, false, false, 242)), "html", null, true);
echo " ▲</span></button>
</div>
</div>
";
}
// line 247
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.', 247, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 247)) > 0)) {
// line 248
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 249
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.', 249, $this->source); })()), "request", [], "any", false, false, false, 249), "locale", [], "any", false, false, false, 249)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
";
// line 251
$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.', 251, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 251));
$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 252
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.', 252, $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.', 252, $this->source); })()), "request", [], "any", false, false, false, 252), "locale", [], "any", false, false, false, 252)], "method", false, false, false, 252), "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, 252), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 252, $this->source); })()), "request", [], "any", false, false, false, 252), "locale", [], "any", false, false, false, 252), [], "array", false, false, false, 252), "title", [], "any", false, false, false, 252), "html", null, true);
echo "\">
";
// line 253
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, 253), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 253, $this->source); })()), "request", [], "any", false, false, false, 253), "locale", [], "any", false, false, false, 253), [], "array", false, false, false, 253), "title", [], "any", false, false, false, 253), "html", null, true);
echo "
</a>";
// line 254
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 254)) {
echo ", ";
}
// line 255
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 256
echo " </div>
</div>
";
}
// line 259
echo " ";
} else {
// line 260
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.', 260, $this->source); })()), "Translation", [], "any", false, false, false, 260), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 260, $this->source); })()), "request", [], "any", false, false, false, 260), "locale", [], "any", false, false, false, 260), [], "array", false, false, false, 260), "text", [], "any", false, false, false, 260)) {
// line 261
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 262
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.', 262, $this->source); })()), "request", [], "any", false, false, false, 262), "locale", [], "any", false, false, false, 262)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">";
// line 264
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.', 264, $this->source); })()), "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), "text", [], "any", false, false, false, 264);
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.', 264, $this->source); })()), "request", [], "any", false, false, false, 264), "locale", [], "any", false, false, false, 264)), "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.', 264, $this->source); })()), "request", [], "any", false, false, false, 264), "locale", [], "any", false, false, false, 264)), "html", null, true);
echo " ▲</span></button>
</div>
</div>
";
}
// line 269
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.', 269, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 269)) > 0)) {
// line 270
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 271
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.', 271, $this->source); })()), "request", [], "any", false, false, false, 271), "locale", [], "any", false, false, false, 271)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
";
// line 273
$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.', 273, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 273));
$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 274
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.', 274, $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.', 274, $this->source); })()), "request", [], "any", false, false, false, 274), "locale", [], "any", false, false, false, 274)], "method", false, false, false, 274), "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, 274), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 274, $this->source); })()), "request", [], "any", false, false, false, 274), "locale", [], "any", false, false, false, 274), [], "array", false, false, false, 274), "title", [], "any", false, false, false, 274), "html", null, true);
echo "\">
";
// 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["item"], "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), "title", [], "any", false, false, false, 275), "html", null, true);
echo "
</a>";
// line 276
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 276)) {
echo ", ";
}
// line 277
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 278
echo " </div>
</div>
";
}
// line 281
echo " ";
}
// line 282
echo " <button class=\"object__show-more\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-collection-show\"><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.', 282, $this->source); })()), "request", [], "any", false, false, false, 282), "locale", [], "any", false, false, false, 282)), "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.', 282, $this->source); })()), "request", [], "any", false, false, false, 282), "locale", [], "any", false, false, false, 282)), "html", null, true);
echo " ▲</span></button>
</div>
</div>
</div>
<div class=\"object__expanded-content js-collection-show container\" style=\"";
// line 286
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 286, $this->source); })()), "background2", [], "any", false, false, false, 286)) ? (print (twig_escape_filter($this->env, ("background-color: " . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 286, $this->source); })()), "background2", [], "any", false, false, false, 286)), "html", null, true))) : (print ("")));
echo "\">
";
// line 287
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-4.html.twig", 287)->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.', 287, $this->source); })()), "colsDesign", [], "any", false, false, false, 287)]));
// line 288
echo "
";
// line 289
$this->loadTemplate("@openform_front_templates/_blocks_sections/block.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-4.html.twig", 289)->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.', 289, $this->source); })()), "getSections", [(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 289, $this->source); })())], "method", false, false, false, 289)]));
// line 290
echo " </div>
<div class=\"object__nav container\" style=\"";
// line 291
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.', 291, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 291)) {
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.', 291, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 291), "html", null, true);
echo ";";
}
echo "\">
";
// line 292
$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.', 292, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 292), "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.', 292, $this->source); })()), "request", [], "any", false, false, false, 292), "locale", [], "any", false, false, false, 292)], "method", false, false, false, 292));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 293
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.', 293, $this->source); })()), "id", [], "any", false, false, false, 293) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 293))) {
// line 294
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, 294), "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.', 294, $this->source); })()), "request", [], "any", false, false, false, 294), "locale", [], "any", false, false, false, 294)], "method", false, true, false, 294), ($context["key"] - 1), [], "array", true, true, false, 294)) {
// line 295
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.', 295, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 295), "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.', 295, $this->source); })()), "request", [], "any", false, false, false, 295), "locale", [], "any", false, false, false, 295)], "method", false, false, false, 295), ($context["key"] - 1), [], "array", false, false, false, 295);
// line 296
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.', 296, $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.', 296, $this->source); })()), "Translation", [], "any", false, false, false, 296), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 296, $this->source); })()), "request", [], "any", false, false, false, 296), "locale", [], "any", false, false, false, 296), [], "array", false, false, false, 296), "slug", [], "any", false, false, false, 296)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 296, $this->source); })()), "request", [], "any", false, false, false, 296), "locale", [], "any", false, false, false, 296)], "method", false, false, false, 296);
// line 297
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.', 297, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button\">";
echo twig_call_macro($macros["__internal_parse_71"], "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.', 297, $this->source); })()), "request", [], "any", false, false, false, 297), "locale", [], "any", false, false, false, 297))], 297, $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.', 297, $this->source); })()), "request", [], "any", false, false, false, 297), "locale", [], "any", false, false, false, 297)), "html", null, true);
echo "</a>
";
}
// line 299
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, 299), "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.', 299, $this->source); })()), "request", [], "any", false, false, false, 299), "locale", [], "any", false, false, false, 299)], "method", false, true, false, 299), ($context["key"] + 1), [], "array", true, true, false, 299)) {
// line 300
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.', 300, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 300), "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.', 300, $this->source); })()), "request", [], "any", false, false, false, 300), "locale", [], "any", false, false, false, 300)], "method", false, false, false, 300), ($context["key"] + 1), [], "array", false, false, false, 300);
// line 301
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.', 301, $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.', 301, $this->source); })()), "Translation", [], "any", false, false, false, 301), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 301, $this->source); })()), "request", [], "any", false, false, false, 301), "locale", [], "any", false, false, false, 301), [], "array", false, false, false, 301), "slug", [], "any", false, false, false, 301)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 301, $this->source); })()), "request", [], "any", false, false, false, 301), "locale", [], "any", false, false, false, 301)], "method", false, false, false, 301);
// line 302
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.', 302, $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.', 302, $this->source); })()), "request", [], "any", false, false, false, 302), "locale", [], "any", false, false, false, 302)), "html", null, true);
echo twig_call_macro($macros["__internal_parse_71"], "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.', 302, $this->source); })()), "request", [], "any", false, false, false, 302), "locale", [], "any", false, false, false, 302))], 302, $context, $this->getSourceContext());
echo "</a>
";
}
// line 304
echo " ";
}
// line 305
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-4.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1052 => 305, 1049 => 304, 1040 => 302, 1037 => 301, 1034 => 300, 1031 => 299, 1022 => 297, 1019 => 296, 1016 => 295, 1013 => 294, 1010 => 293, 1006 => 292, 998 => 291, 995 => 290, 993 => 289, 990 => 288, 988 => 287, 984 => 286, 974 => 282, 971 => 281, 966 => 278, 952 => 277, 948 => 276, 944 => 275, 937 => 274, 920 => 273, 915 => 271, 912 => 270, 909 => 269, 897 => 264, 892 => 262, 889 => 261, 886 => 260, 883 => 259, 878 => 256, 864 => 255, 860 => 254, 856 => 253, 849 => 252, 832 => 251, 827 => 249, 824 => 248, 821 => 247, 809 => 242, 804 => 240, 801 => 239, 798 => 238, 796 => 237, 791 => 234, 788 => 233, 783 => 230, 769 => 229, 765 => 228, 761 => 227, 754 => 226, 737 => 225, 732 => 223, 729 => 222, 726 => 221, 721 => 218, 707 => 217, 703 => 216, 699 => 215, 692 => 214, 675 => 213, 670 => 211, 667 => 210, 664 => 209, 659 => 206, 651 => 204, 645 => 203, 638 => 202, 634 => 201, 629 => 199, 626 => 198, 623 => 197, 618 => 194, 616 => 192, 615 => 191, 614 => 190, 613 => 189, 608 => 187, 605 => 186, 602 => 185, 595 => 181, 590 => 179, 587 => 178, 584 => 177, 577 => 173, 572 => 171, 569 => 170, 566 => 169, 563 => 168, 558 => 165, 544 => 164, 540 => 163, 536 => 162, 529 => 161, 512 => 160, 507 => 158, 504 => 157, 501 => 156, 496 => 153, 482 => 152, 478 => 151, 474 => 150, 467 => 149, 450 => 148, 445 => 146, 442 => 145, 439 => 144, 434 => 141, 432 => 139, 431 => 138, 430 => 137, 429 => 136, 428 => 135, 427 => 134, 426 => 133, 421 => 131, 418 => 130, 415 => 129, 410 => 126, 402 => 124, 398 => 123, 391 => 122, 387 => 121, 382 => 119, 379 => 118, 376 => 117, 374 => 116, 363 => 108, 360 => 107, 354 => 106, 351 => 105, 342 => 103, 339 => 102, 336 => 101, 334 => 100, 328 => 99, 324 => 98, 323 => 97, 321 => 96, 312 => 94, 309 => 93, 306 => 92, 303 => 91, 300 => 90, 296 => 89, 288 => 88, 283 => 85, 271 => 76, 265 => 73, 259 => 70, 255 => 68, 241 => 61, 237 => 60, 232 => 58, 221 => 56, 217 => 55, 213 => 54, 209 => 53, 205 => 52, 198 => 51, 191 => 47, 187 => 46, 183 => 45, 177 => 44, 174 => 43, 171 => 42, 164 => 38, 160 => 37, 156 => 36, 150 => 35, 147 => 34, 145 => 33, 128 => 27, 122 => 24, 118 => 23, 107 => 21, 103 => 20, 90 => 18, 84 => 16, 82 => 15, 80 => 14, 77 => 13, 73 => 12, 66 => 7, 64 => 6, 58 => 5, 47 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% from '@openform_front_templates/_includes/_icons.html.twig' import fullscreen, zoomin, zoomout, sliderprev, slidernext, arrowright, arrowdown, copyrights, arrowObjectPrev, arrowObjectNext, infoClose, info %}
{% set ImageSlides = entity.ImageSlide|filterVisibles(app.request.locale) %}
<section class=\"object object--{{entity.templateId}} js-collections\" 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--gallery\" style=\"background-color: {{entity.imageBackgroundColor|default('#FFFFF2')}}; height:{{entity.imageHeight ? entity.imageHeight ~ 'px' : '55vh'}};\">
{% if ImageSlides|length > 0 %}
<div class=\"object__gallery__splide object-gallery js-collection-gallery-standard\" style=\"height: 100%;\">
<div class=\"splide js-collections-gallery-o8 collection-gallery__gallery\" aria-label=\"Galeria\" style=\"height: 100%;\">
<div class=\"splide__track\" style=\"height: 100%;\">
<ul class=\"splide__list\" style=\"height: 100%;\">
{% for key, image in ImageSlides %}
<li class=\"splide__slide\" style=\"height: 100%;\">
{% set img = openform_front_util.getImagePathByType(image.Thumb ?? '','original') %}
{# {% set imgSmall = openform_front_util.getImagePathByType(image.Thumb ?? '','detal') %} #}
<div class=\"js-zoom\" data-alt=\"{{image.Translation[app.request.locale].alt}}\" style=\" height: 100%;\">
<div style=\"width:100%; height:100%; display:flex; justify-content: center; align-items: center;\">
<div class=\"collection-gallery__item\" style=\"{% if entity.imageWidthPercent %}width: {{entity.imageWidthPercent}}%; max-width: {{entity.imageWidthPercent}}%;{% endif %} max-height: {{entity.imageHeight ? entity.imageHeight ~ 'px' : '100%'}}; height:100%;\" >
<style>
.my-zoomist-{{key}} img{
{% if image.imageBorderColor and image.imageBorderWidth %}border: {{image.imageBorderColor}} solid {{image.imageBorderWidth}}px;{% endif %}\"
}
.my-zoomist-{{key}} .zoomist-wrapper{
background:{{image.imageBackgroundColor ? image.imageBackgroundColor : entity.imageBackgroundColor ? entity.imageBackgroundColor : '#F8F7F0' }};
}
</style>
<div class=\"my-zoomist my-zoomist-{{key}}\" style=\"{% if entity.imageHeight %} height: {{entity.imageHeight}}px;{% endif %}\" data-zoomist-src=\"{{img}}\" tabindex=\"0\"></div>
</div>
</div>
<div class=\"collection-gallery__wrap\">
<div class=\"collection-gallery__buttons\">
{% if image.Translation[app.request.locale].text is defined and image.Translation[app.request.locale].text %}
<div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-info-{{key}}\" tabindex=\"0\">{{info(('T_INFO')|trans({}, 'openform_front', app.request.locale))}}</button>
<div class=\"object__info object__info--info js-info-{{key}}\" data-lenis-prevent>
<div class=\"object__info__text block__text\">{{image.Translation[app.request.locale].text|raw}}</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">{{infoClose()}}</button>
</div>
</div>
{% endif %}
{% if image.Translation[app.request.locale].copyrights %}
<div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-copyright-{{key}}\" tabindex=\"0\">{{copyrights(('T_INFO')|trans({}, 'openform_front', app.request.locale))}}</button>
<div class=\"object__info object__info--copyright js-copyright-{{key}}\" data-lenis-prevent>
<div class=\"object__info__text block__text\">{{image.Translation[app.request.locale].copyrights|raw}}</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">{{infoClose()}}</button>
</div>
</div>
{% endif %}
<button class=\"collection-gallery__buttons__btn js-fullscreen\" data-alt=\"{{image.Translation[app.request.locale].alt}}\" tabindex=\"0\" data-color=\"{{image.imageBackgroundColor is defined and image.imageBackgroundColor ? image.imageBackgroundColor }}\"
data-image=\"{{img}}\"
data-description=\"{{image.Translation[app.request.locale].text}}\"
data-copyrights=\"{{image.Translation[app.request.locale].copyrights}}\"
data-start=\"{{key}}\"
data-imagestyle=\"{% if image.imageBorderColor and image.imageBorderWidth %}border: {{image.imageBorderColor}} solid {{image.imageBorderWidth}}px;{% endif %}\"
>
{{fullscreen(('T_FULLSCREEN')|trans({}, 'openform_front', app.request.locale))}}
</button>
<button class=\"collection-gallery__buttons__btn js-zoom-out\" tabindex=\"0\">{{zoomout(('T_ZOOMOUT')|trans({}, 'openform_front', app.request.locale))}}</button>
<button class=\"collection-gallery__buttons__btn js-zoom-in\" tabindex=\"0\">{{zoomin(('T_ZOOMIN')|trans({}, 'openform_front', app.request.locale))}}</button>
</div>
</div>
</div>
</li>
{% endfor %}
</ul>
<div class=\"splide__arrows{{ ImageSlides|length < 2 ? ' hide' }}\">
<div class=\"slider-nav object-gallery__nav\">
<button class=\"splide__arrow splide__arrow--prev slider-nav__btn slider-nav__btn--prev\" disabled>
{{ sliderprev('PREV_SLIDE'|trans({}, 'openform_front', app.request.locale)) }}
</button>
<button class=\"splide__arrow splide__arrow--next slider-nav__btn slider-nav__btn--next\">
{{ slidernext('NEXT_SLIDE'|trans({}, 'openform_front', app.request.locale)) }}
</button>
</div>
</div>
</div>
</div>
</div>
{% endif %}
</div>
<div class=\"object__header container\">
<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\">{{arrowObjectPrev(('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale))}}{{ ('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale) }}</a>
{% endif%}
{% set href = toolkit_route_localizer.generate('antique_suit_item', {
'slug': entity.AntiqueSuit.Translation[app.request.locale].slug
}, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__item__collection\">{{ entity.AntiqueSuit.Translation[app.request.locale].title }}</a>
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] is defined %}
{% set nextElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : nextElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button object__nav__button--right\">{{ ('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale) }}{{arrowObjectNext(('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale))}}</a>
{% endif %}
{% endif %}
{% endfor %}
</div>
<div class=\"object__item__title\">{{ entity.Translation[app.request.locale].titleHtml|raw }}</div>
</div>
<div class=\"container\">
<div class=\"object__item object__item--grid\">
<div class=\"object__item__section\">
<div class=\"object__wrapper__list\">
{% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\\\App\\\\Package\\\\Openform\\\\Entity\\\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
{% 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 %}
{% else %}
{% 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 %}
{% endif %}
</div>
</div>
<div class=\"object__item__section\">
{% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\\\App\\\\Package\\\\Openform\\\\Entity\\\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
{% 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 %}
{% else %}
{% 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 %}
{% endif %}
<button class=\"object__show-more\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-collection-show\"><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>
</div>
<div class=\"object__expanded-content js-collection-show container\" style=\"{{entity.background2 ? 'background-color: ' ~ entity.background2 }}\">
{% include '@openform_front_templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig' with {design: entity.colsDesign} %}
{% include \"@openform_front_templates/_blocks_sections/block.html.twig\" with { sections: openform_front_util.getSections(entity) } %}
</div>
<div class=\"object__nav container\" style=\"{% if entity.naviBackgroundColor %}background-color: {{entity.naviBackgroundColor}};{% endif %}\">
{% for key, Antique in entity.AntiqueSuit.getVisibleAntiques(app.request.locale) %}
{% if entity.id == Antique.id %}
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] is defined %}
{% set prevElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : prevElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button\">{{arrowObjectPrev(('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale))}}{{ ('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale) }}</a>
{% endif%}
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] is defined %}
{% set nextElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : nextElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button object__nav__button--next\">{{ ('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale) }}{{arrowObjectNext(('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale))}}</a>
{% endif%}
{% endif %}
{% endfor %}
</div>
</section>
", "@openform_front_templates/AntiqueSuit/_templates/_template-4.html.twig", "/var/www/php81/fpd.in.openform.pl/src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_template-4.html.twig");
}
}