<?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-1.html.twig */
class __TwigTemplate_016815163a4c3329be69042be41bde5e 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-1.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-1.html.twig"));
// line 1
$macros["__internal_parse_72"] = $this->macros["__internal_parse_72"] = $this->loadTemplate("@openform_front_templates/_includes/_icons.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-1.html.twig", 1)->unwrap();
// line 2
$context["ImageSlides"] = $this->extensions['App\Package\Openform\Twig\CustomExtensions']->filterVisiblesFilter(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 2, $this->source); })()), "ImageSlide", [], "any", false, false, false, 2), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2));
// line 3
echo "<section class=\"object ";
echo (((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "isInvertedTemplate", [], "any", true, true, false, 3) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 3, $this->source); })()), "isInvertedTemplate", [], "any", false, false, false, 3))) ? ("object--inverted") : (""));
echo " object--";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 3, $this->source); })()), "templateId", [], "any", false, false, false, 3), "html", null, true);
echo " js-section js-collections\" style=\"";
((twig_get_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)) ? (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.', 3, $this->source); })()), "background", [], "any", false, false, false, 3)), "html", null, true))) : (print ("")));
echo "\">
";
// line 5
echo "
<div class=\"object__nav container\" style=\"";
// line 7
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 7, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 7)) {
echo "background-color: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 7, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 7), "html", null, true);
echo ";";
}
echo "\">
";
// line 8
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 8, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 8), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 8, $this->source); })()), "request", [], "any", false, false, false, 8), "locale", [], "any", false, false, false, 8)], "method", false, false, false, 8));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 9
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 9, $this->source); })()), "id", [], "any", false, false, false, 9) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 9))) {
// line 10
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "AntiqueSuit", [], "any", false, true, false, 10), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "locale", [], "any", false, false, false, 10)], "method", false, true, false, 10), ($context["key"] - 1), [], "array", true, true, false, 10)) {
// line 11
echo " ";
$context["prevElement"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 11, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 11), "getVisibleAntiques", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "locale", [], "any", false, false, false, 11)], "method", false, false, false, 11), ($context["key"] - 1), [], "array", false, false, false, 11);
// line 12
echo " ";
$context["href"] = twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 12, $this->source); })()), "generate", ["antique_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["prevElement"]) || array_key_exists("prevElement", $context) ? $context["prevElement"] : (function () { throw new RuntimeError('Variable "prevElement" does not exist.', 12, $this->source); })()), "Translation", [], "any", false, false, false, 12), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "locale", [], "any", false, false, false, 12), [], "array", false, false, false, 12), "slug", [], "any", false, false, false, 12)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "locale", [], "any", false, false, false, 12)], "method", false, false, false, 12);
// line 13
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 13, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button\">";
echo twig_call_macro($macros["__internal_parse_72"], "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.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "locale", [], "any", false, false, false, 13))], 13, $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.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "locale", [], "any", false, false, false, 13)), "html", null, true);
echo "</a>
";
} else {
// line 15
echo " <div>
</div>
";
}
// line 19
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.', 19, $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 20
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 20), "Translation", [], "any", false, false, false, 20), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 20, $this->source); })()), "request", [], "any", false, false, false, 20), "locale", [], "any", false, false, false, 20), [], "array", false, false, false, 20), "slug", [], "any", false, false, false, 20)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 21
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 21, $this->source); })()), "request", [], "any", false, false, false, 21), "locale", [], "any", false, false, false, 21)], "method", false, false, false, 19);
echo "
<a href=\"";
// line 22
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.', 22, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__title\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 22, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 22), "Translation", [], "any", false, false, false, 22), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 22, $this->source); })()), "request", [], "any", false, false, false, 22), "locale", [], "any", false, false, false, 22), [], "array", false, false, false, 22), "title", [], "any", false, false, false, 22), "html", null, true);
echo "</a>
";
// line 23
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, 23), "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.', 23, $this->source); })()), "request", [], "any", false, false, false, 23), "locale", [], "any", false, false, false, 23)], "method", false, true, false, 23), ($context["key"] + 1), [], "array", true, true, false, 23)) {
// line 24
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.', 24, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 24), "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.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "locale", [], "any", false, false, false, 24)], "method", false, false, false, 24), ($context["key"] + 1), [], "array", false, false, false, 24);
// line 25
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.', 25, $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.', 25, $this->source); })()), "Translation", [], "any", false, false, false, 25), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "locale", [], "any", false, false, false, 25), [], "array", false, false, false, 25), "slug", [], "any", false, false, false, 25)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "locale", [], "any", false, false, false, 25)], "method", false, false, false, 25);
// line 26
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.', 26, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_OBJECT_NEXT", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26)), "html", null, true);
echo twig_call_macro($macros["__internal_parse_72"], "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.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26))], 26, $context, $this->getSourceContext());
echo "</a>
";
} else {
// line 28
echo " <div>
</div>
";
}
// line 32
echo " ";
}
// line 33
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['Antique'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "
</div>
";
// line 37
echo "
<div class=\"object__section container\" style=\"";
// line 38
echo (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 38) === 0)) ? ("display:flex; justify-content: center;") : (""));
echo " ";
(((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 38) === 0)) ? (print (twig_escape_filter($this->env, (("background-color:" . ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", true, true, false, 38)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", false, false, false, 38), "#F8F7F0")) : ("#F8F7F0"))) . ";"), "html", null, true))) : (print ("")));
echo " grid-template-columns: ";
echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "isInvertedTemplate", [], "any", true, true, false, 38) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "isInvertedTemplate", [], "any", false, false, false, 38))) ? ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 38) === 0)) ? ("0% 100%") : (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 38)) ? ((((("calc(" . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 38)) . "% - 39px) calc(100% - ") . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 38)) . "%)")) : ("calc(52% - 39px) 48%"))))) : ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 38) === 0)) ? ("100% 0%") : (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 38)) ? ((((("calc(100% - " . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 38)) . "%) calc(") . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 38)) . "% - 39px)")) : ("48% calc(52% - 39px)")))))), "html", null, true);
echo " \">
<div class=\"object__item\" style=\"";
// line 40
echo (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 40, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 40) === 100)) ? ("overflow: hidden;") : (""));
echo " ";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 40, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 40) === 0)) ? ("width:100%;") : (""));
echo "\">
";
// line 41
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.', 41, $this->source); })())) > 0)) {
// line 42
echo " <div class=\"object__item__bg\" style=\"background-color: ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", true, true, false, 42)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", false, false, false, 42), "#F8F7F0")) : ("#F8F7F0")), "html", null, true);
echo "; ";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 42, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 42) === 0)) ? ("width: calc(100% + 24vw); left: -12vw; ") : (""));
echo "\"></div>
<div class=\"splide js-splide-slider\" aria-label=\"";
// line 43
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_SLIDER_SPLIDE", [], "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.', 43, $this->source); })()), "request", [], "any", false, false, false, 43), "locale", [], "any", false, false, false, 43)), "html", null, true);
echo "\" style=\"height: ";
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 43, $this->source); })()), "imageHeight", [], "any", false, false, false, 43)) ? (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.', 43, $this->source); })()), "imageHeight", [], "any", false, false, false, 43) + 91), "html", null, true))) : (print ("560")));
echo "px;\">
<div class=\"splide__track\" style=\"height: 100%;\">
<ul class=\"splide__list\" style=\"height: 80%;\">
";
// line 47
$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.', 47, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["image"]) {
// line 48
echo "
<li class=\"splide__slide\" style=\"height: 100%;\">
";
// line 53
$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.', 53, $this->source); })()), "getImagePathByType", [(((twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", true, true, false, 53) && !(null === twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 53)))) ? (twig_get_attribute($this->env, $this->source, $context["image"], "Thumb", [], "any", false, false, false, 53)) : ("")), "original"], "method", false, false, false, 53);
// line 54
echo " ";
// line 55
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, 55), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 55, $this->source); })()), "request", [], "any", false, false, false, 55), "locale", [], "any", false, false, false, 55), [], "array", false, false, false, 55), "alt", [], "any", false, false, false, 55), "html", null, true);
echo "\" style=\"height: ";
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 55, $this->source); })()), "imageHeight", [], "any", false, false, false, 55)) ? (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.', 55, $this->source); })()), "imageHeight", [], "any", false, false, false, 55) . "px"), "html", null, true))) : (print ("100%")));
echo ";\">
<div style=\"width:100%; height: ";
// line 56
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 56, $this->source); })()), "imageHeight", [], "any", false, false, false, 56)) ? (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.', 56, $this->source); })()), "imageHeight", [], "any", false, false, false, 56) . "px"), "html", null, true))) : (print ("90%")));
echo ";;
\">
<div style=\"width:100%; height:100%; display:flex; justify-content: center; align-items: center;\">
<div class=\"collection-gallery__item\" style=\"
";
// line 60
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 60, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 60)) ? (print (twig_escape_filter($this->env, (("width:" . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 60, $this->source); })()), "imageWidthPercent", [], "any", false, false, false, 60)) . "%;"), "html", null, true))) : (print ("width: 100%;")));
echo "
max-height: 100%; height:100%;\" >
<style>
.my-zoomist-";
// line 63
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo " img{
";
// line 64
if ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 64) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 64))) {
echo "border: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 64), "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, 64), "html", null, true);
echo "px;";
}
echo "\"
}
.my-zoomist-";
// line 66
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo " .zoomist-wrapper{
background:";
// line 67
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 67)) ? (twig_get_attribute($this->env, $this->source, $context["image"], "imageBackgroundColor", [], "any", false, false, false, 67)) : (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 67, $this->source); })()), "imageBackgroundColor", [], "any", false, false, false, 67)) ? (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 67, $this->source); })()), "imageBackgroundColor", [], "any", false, false, false, 67)) : ("#F8F7F0")))), "html", null, true);
echo ";
}
</style>
<div class=\"my-zoomist my-zoomist-";
// line 70
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.', 70, $this->source); })()), "imageHeight", [], "any", false, false, false, 70)) {
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.', 70, $this->source); })()), "imageHeight", [], "any", false, false, false, 70), "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.', 70, $this->source); })()), "html", null, true);
echo "\" tabindex=\"0\"></div>
</div>
</div>
<div class=\"collection-gallery__wrap\">
";
// line 77
echo " <div class=\"collection-gallery__buttons\">
";
// line 78
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, 78), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 78, $this->source); })()), "request", [], "any", false, false, false, 78), "locale", [], "any", false, false, false, 78), [], "array", false, true, false, 78), "text", [], "any", true, true, false, 78) && 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, 78), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 78, $this->source); })()), "request", [], "any", false, false, false, 78), "locale", [], "any", false, false, false, 78), [], "array", false, false, false, 78), "text", [], "any", false, false, false, 78))) {
// line 79
echo " <div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-info-";
// line 80
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" tabindex=\"0\">";
echo twig_call_macro($macros["__internal_parse_72"], "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.', 80, $this->source); })()), "request", [], "any", false, false, false, 80), "locale", [], "any", false, false, false, 80))], 80, $context, $this->getSourceContext());
echo "</button>
<div class=\"object__info object__info--info js-info-";
// line 81
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" data-lenis-prevent>
<div class=\"object__info__text block__text\">";
// line 82
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, 82), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 82, $this->source); })()), "request", [], "any", false, false, false, 82), "locale", [], "any", false, false, false, 82), [], "array", false, false, false, 82), "text", [], "any", false, false, false, 82);
echo "</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">";
// line 83
echo twig_call_macro($macros["__internal_parse_72"], "macro_infoClose", [], 83, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
";
}
// line 87
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, 87), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 87, $this->source); })()), "request", [], "any", false, false, false, 87), "locale", [], "any", false, false, false, 87), [], "array", false, false, false, 87), "copyrights", [], "any", false, false, false, 87)) {
// line 88
echo " <div class=\"object__info-wrap\">
<button class=\"collection-gallery__buttons__btn\" type=\"button\" aria-expanded=\"false\" data-expanded=\"js-copyright-";
// line 89
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" tabindex=\"0\">";
echo twig_call_macro($macros["__internal_parse_72"], "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.', 89, $this->source); })()), "request", [], "any", false, false, false, 89), "locale", [], "any", false, false, false, 89))], 89, $context, $this->getSourceContext());
echo "</button>
<div class=\"object__info object__info--copyright js-copyright-";
// line 90
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" data-lenis-prevent>
<div class=\"object__info__text block__text\">";
// line 91
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, 91), twig_get_attribute($this->env, $this->source, twig_get_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), [], "array", false, false, false, 91), "copyrights", [], "any", false, false, false, 91);
echo "</div>
<button class=\"object__info__close js-expanded-close\" type=\"button\">";
// line 92
echo twig_call_macro($macros["__internal_parse_72"], "macro_infoClose", [], 92, $context, $this->getSourceContext());
echo "</button>
</div>
</div>
";
}
// line 96
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, 96), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 96, $this->source); })()), "request", [], "any", false, false, false, 96), "locale", [], "any", false, false, false, 96), [], "array", false, false, false, 96), "alt", [], "any", false, false, false, 96), "html", null, true);
echo "\" tabindex=\"0\" data-color=\"";
(((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "imageBackgroundColor", [], "any", true, true, false, 96) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 96, $this->source); })()), "imageBackgroundColor", [], "any", false, false, false, 96))) ? (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.', 96, $this->source); })()), "imageBackgroundColor", [], "any", false, false, false, 96), "html", null, true))) : (print ("")));
echo "\"
data-image=\"";
// line 97
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.', 97, $this->source); })()), "html", null, true);
echo "\"
data-description=\"";
// line 98
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, 98), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (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), [], "array", false, false, false, 98), "text", [], "any", false, false, false, 98), "html", null, true);
echo "\"
data-copyrights=\"";
// line 99
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, 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), "copyrights", [], "any", false, false, false, 99), "html", null, true);
echo "\"
data-start=\"";
// line 100
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\"
data-imagestyle=\"";
// line 101
if ((twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 101) && twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderWidth", [], "any", false, false, false, 101))) {
echo "border: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "imageBorderColor", [], "any", false, false, false, 101), "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, 101), "html", null, true);
echo "px;";
}
echo "\"
tabindex=\"0\"
>
";
// line 104
echo twig_call_macro($macros["__internal_parse_72"], "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.', 104, $this->source); })()), "request", [], "any", false, false, false, 104), "locale", [], "any", false, false, false, 104))], 104, $context, $this->getSourceContext());
echo "
</button>
<button class=\"collection-gallery__buttons__btn js-zoom-out\" tabindex=\"0\">";
// line 106
echo twig_call_macro($macros["__internal_parse_72"], "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.', 106, $this->source); })()), "request", [], "any", false, false, false, 106), "locale", [], "any", false, false, false, 106))], 106, $context, $this->getSourceContext());
echo "</button>
<button class=\"collection-gallery__buttons__btn js-zoom-in\" tabindex=\"0\">";
// line 107
echo twig_call_macro($macros["__internal_parse_72"], "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.', 107, $this->source); })()), "request", [], "any", false, false, false, 107), "locale", [], "any", false, false, false, 107))], 107, $context, $this->getSourceContext());
echo "</button>
</div>
</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 113
echo "
</ul>
<div class=\"object__splide-nav\">
";
// line 116
echo twig_include($this->env, $context, "@openform_front_templates/_includes/_slider-nav.html.twig");
echo "
</div>
</div>
</div>
";
}
// line 123
echo " </div>
";
// line 126
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.', 126, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 126) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 126, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 126), "AntiqueFormDesign", [], "any", false, false, false, 126) == twig_constant("\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM")))) {
// line 127
echo "
<div class=\"object__item\" style=\"";
// line 128
echo (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 128, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 128) === 0)) ? ("display: none;") : (""));
echo " padding-bottom:60px; overflow-y: auto; overflow-x: hidden;\" data-lenis-prevent>
<div class=\"object__item__title\">";
// line 129
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.', 129, $this->source); })()), "Translation", [], "any", false, false, false, 129), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 129, $this->source); })()), "request", [], "any", false, false, false, 129), "locale", [], "any", false, false, false, 129), [], "array", false, false, false, 129), "titleHtml", [], "any", false, false, false, 129);
echo "</div>
<div class=\"object__item__section\">
";
// line 132
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.', 132, $this->source); })()), "Artist", [], "any", false, false, false, 132)) > 0)) {
// line 133
echo " <div class=\"object__item-wrap object__item-wrap--author\">
<h3 class=\"object__item-wrap__title\">";
// line 134
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.', 134, $this->source); })()), "request", [], "any", false, false, false, 134), "locale", [], "any", false, false, false, 134)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 136
$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.', 136, $this->source); })()), "Artist", [], "any", false, false, false, 136));
foreach ($context['_seq'] as $context["_key"] => $context["artist"]) {
// line 137
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.', 137, $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.', 137, $this->source); })()), "request", [], "any", false, false, false, 137), "locale", [], "any", false, false, false, 137)], "method", false, false, false, 137), "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, 137), "html", null, true);
echo "\">
";
// line 138
((twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 138)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 138), "html", null, true))) : (print ("")));
echo "
</a>";
// line 139
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.', 139, $this->source); })()), "Artist", [], "any", false, false, false, 139)) > 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 141
echo " </div>
</div>
";
}
// line 144
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.', 144, $this->source); })()), "date", [], "any", false, false, false, 144) || twig_get_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); })()), "dateTo", [], "any", false, false, false, 144)) || twig_get_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); })()), "age", [], "any", false, false, false, 144)) || twig_get_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); })()), "ageTo", [], "any", false, false, false, 144)) || twig_get_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); })()), "year", [], "any", false, false, false, 144)) || twig_get_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); })()), "yearTo", [], "any", false, false, false, 144))) {
// 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_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.', 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
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_dates_and_ages.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-1.html.twig", 148)->display(twig_array_merge($context, ["dateFrom" => twig_get_attribute($this->env, $this->source, // line 149
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 149, $this->source); })()), "date", [], "any", false, false, false, 149), "dateTo" => twig_get_attribute($this->env, $this->source, // line 150
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 150, $this->source); })()), "dateTo", [], "any", false, false, false, 150), "ageFrom" => twig_get_attribute($this->env, $this->source, // line 151
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 151, $this->source); })()), "age", [], "any", false, false, false, 151), "ageTo" => twig_get_attribute($this->env, $this->source, // line 152
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 152, $this->source); })()), "ageTo", [], "any", false, false, false, 152), "yearFrom" => (((twig_get_attribute($this->env, $this->source, // line 153
($context["entity"] ?? null), "year", [], "any", true, true, false, 153) && !(null === twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "year", [], "any", false, false, false, 153)))) ? (twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "year", [], "any", false, false, false, 153)) : (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 153, $this->source); })()), "shownObjectYear", [], "any", false, false, false, 153))), "yearTo" => (((twig_get_attribute($this->env, $this->source, // line 154
($context["entity"] ?? null), "yearTo", [], "any", true, true, false, 154) && !(null === twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "yearTo", [], "any", false, false, false, 154)))) ? (twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "yearTo", [], "any", false, false, false, 154)) : (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 154, $this->source); })()), "shownObjectAge", [], "any", false, false, false, 154)))]));
// line 156
echo " </div>
</div>
";
}
// line 159
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.', 159, $this->source); })()), "AntiqueType", [], "any", false, false, false, 159)) > 0)) {
// line 160
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 161
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.', 161, $this->source); })()), "request", [], "any", false, false, false, 161), "locale", [], "any", false, false, false, 161)) . ": "), "html", null, true);
echo "</h3>
<div class=\"object__item-wrap__text\">
";
// line 163
$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.', 163, $this->source); })()), "AntiqueType", [], "any", false, false, false, 163));
$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 164
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.', 164, $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.', 164, $this->source); })()), "request", [], "any", false, false, false, 164), "locale", [], "any", false, false, false, 164)], "method", false, false, false, 164), "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, 164), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 164, $this->source); })()), "request", [], "any", false, false, false, 164), "locale", [], "any", false, false, false, 164), [], "array", false, false, false, 164), "title", [], "any", false, false, false, 164), "html", null, true);
echo "\">
";
// line 165
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, 165), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 165, $this->source); })()), "request", [], "any", false, false, false, 165), "locale", [], "any", false, false, false, 165), [], "array", false, false, false, 165), "title", [], "any", false, false, false, 165), "html", null, true);
echo "
</a>";
// line 166
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 166)) {
echo ", ";
}
// line 167
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 168
echo " </div>
</div>
";
}
// line 171
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.', 171, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 171)) > 0)) {
// line 172
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 173
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_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.', 173, $this->source); })()), "request", [], "any", false, false, false, 173), "locale", [], "any", false, false, false, 173)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 175
$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.', 175, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 175));
$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 176
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.', 176, $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.', 176, $this->source); })()), "request", [], "any", false, false, false, 176), "locale", [], "any", false, false, false, 176)], "method", false, false, false, 176), "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, 176), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 176, $this->source); })()), "request", [], "any", false, false, false, 176), "locale", [], "any", false, false, false, 176), [], "array", false, false, false, 176), "title", [], "any", false, false, false, 176), "html", null, true);
echo "\">
";
// line 177
((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, 177), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 177, $this->source); })()), "request", [], "any", false, false, false, 177), "locale", [], "any", false, false, false, 177), [], "array", false, false, false, 177), "title", [], "any", false, false, false, 177)) ? (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, 177), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 177, $this->source); })()), "request", [], "any", false, false, false, 177), "locale", [], "any", false, false, false, 177), [], "array", false, false, false, 177), "title", [], "any", false, false, false, 177), "html", null, true))) : (print ("")));
echo "
</a>";
// line 178
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 178)) {
echo ", ";
}
// line 179
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 180
echo " </div>
</div>
";
}
// line 183
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.', 183, $this->source); })()), "Translation", [], "any", false, false, false, 183), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 183, $this->source); })()), "request", [], "any", false, false, false, 183), "locale", [], "any", false, false, false, 183), [], "array", false, false, false, 183), "text", [], "any", false, false, false, 183)) {
// line 184
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 185
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.', 185, $this->source); })()), "request", [], "any", false, false, false, 185), "locale", [], "any", false, false, false, 185)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">";
// line 187
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.', 187, $this->source); })()), "Translation", [], "any", false, false, false, 187), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "locale", [], "any", false, false, false, 187), [], "array", false, false, false, 187), "text", [], "any", false, false, false, 187);
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.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "locale", [], "any", false, false, false, 187)), "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.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "locale", [], "any", false, false, false, 187)), "html", null, true);
echo " ▲</span></button>
</div>
</div>
";
}
// line 192
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.', 192, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 192)) > 0)) {
// line 193
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 194
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.', 194, $this->source); })()), "request", [], "any", false, false, false, 194), "locale", [], "any", false, false, false, 194)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
";
// line 196
$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.', 196, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 196));
$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 197
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.', 197, $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.', 197, $this->source); })()), "request", [], "any", false, false, false, 197), "locale", [], "any", false, false, false, 197)], "method", false, false, false, 197), "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, 197), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 197, $this->source); })()), "request", [], "any", false, false, false, 197), "locale", [], "any", false, false, false, 197), [], "array", false, false, false, 197), "title", [], "any", false, false, false, 197), "html", null, true);
echo "\">
";
// line 198
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, 198), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 198, $this->source); })()), "request", [], "any", false, false, false, 198), "locale", [], "any", false, false, false, 198), [], "array", false, false, false, 198), "title", [], "any", false, false, false, 198), "html", null, true);
echo "
</a>";
// line 199
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 199)) {
echo ", ";
}
// line 200
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 201
echo " </div>
</div>
";
}
// line 204
echo "
</div>
</div>
";
} else {
// line 210
echo "
";
// line 212
echo " <div class=\"object__item\" style=\"";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 212, $this->source); })()), "textAreaWidth", [], "any", false, false, false, 212) === 0)) ? ("display: none;") : (""));
echo "\">
<div class=\"object__item__title\">";
// line 213
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.', 213, $this->source); })()), "Translation", [], "any", false, false, false, 213), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 213, $this->source); })()), "request", [], "any", false, false, false, 213), "locale", [], "any", false, false, false, 213), [], "array", false, false, false, 213), "titleHtml", [], "any", false, false, false, 213);
echo "</div>
<div class=\"object__item__section\">
";
// line 215
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.', 215, $this->source); })()), "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), "descPlace", [], "any", false, false, false, 215)) {
// line 216
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 217
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_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.', 217, $this->source); })()), "request", [], "any", false, false, false, 217), "locale", [], "any", false, false, false, 217)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 219
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.', 219, $this->source); })()), "Translation", [], "any", false, false, false, 219), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 219, $this->source); })()), "request", [], "any", false, false, false, 219), "locale", [], "any", false, false, false, 219), [], "array", false, false, false, 219), "descPlace", [], "any", false, false, false, 219), "html", null, true);
echo "
</div>
</div>
";
}
// line 223
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.', 223, $this->source); })()), "AntiquePlace", [], "any", false, false, false, 223)) {
// line 224
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 225
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.', 225, $this->source); })()), "request", [], "any", false, false, false, 225), "locale", [], "any", false, false, false, 225)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 227
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.', 227, $this->source); })()), "AntiquePlace", [], "any", false, false, false, 227), "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);
echo "
</div>
</div>
";
}
// line 231
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.', 231, $this->source); })()), "documentDate", [], "any", false, false, false, 231) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 231, $this->source); })()), "documentAge", [], "any", false, false, false, 231)) || twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 231, $this->source); })()), "documentYear", [], "any", false, false, false, 231))) {
// line 232
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 233
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.', 233, $this->source); })()), "request", [], "any", false, false, false, 233), "locale", [], "any", false, false, false, 233)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 235
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age_search.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-1.html.twig", 235)->display(twig_array_merge($context, ["date" => twig_get_attribute($this->env, $this->source, // line 236
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 236, $this->source); })()), "documentDate", [], "any", false, false, false, 236), "age" => twig_get_attribute($this->env, $this->source, // line 237
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 237, $this->source); })()), "documentAge", [], "any", false, false, false, 237), "year" => twig_get_attribute($this->env, $this->source, // line 238
(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 238, $this->source); })()), "documentYear", [], "any", false, false, false, 238)]));
// line 240
echo " </div>
</div>
";
}
// line 243
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 243, $this->source); })()), "Artist", [], "any", false, false, false, 243)) > 0)) {
// line 244
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 245
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ANTIQUE_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.', 245, $this->source); })()), "request", [], "any", false, false, false, 245), "locale", [], "any", false, false, false, 245)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 247
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 247, $this->source); })()), "Artist", [], "any", false, false, false, 247));
foreach ($context['_seq'] as $context["_key"] => $context["artist"]) {
// line 248
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 248, $this->source); })()), "generate", ["search", [], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 248, $this->source); })()), "request", [], "any", false, false, false, 248), "locale", [], "any", false, false, false, 248)], "method", false, false, false, 248), "html", null, true);
echo "?artist=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 248), "html", null, true);
echo "\">
";
// line 249
((twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 249)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["artist"], "fullName", [], "any", false, false, false, 249), "html", null, true))) : (print ("")));
echo " ";
((twig_get_attribute($this->env, $this->source, $context["artist"], "authorNickName", [], "any", false, false, false, 249)) ? (print (twig_escape_filter($this->env, (("\"" . twig_get_attribute($this->env, $this->source, $context["artist"], "authorNickName", [], "any", false, false, false, 249)) . "\""), "html", null, true))) : (print ("")));
echo "
</a>";
// line 250
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.', 250, $this->source); })()), "Artist", [], "any", false, false, false, 250)) > 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 252
echo " </div>
</div>
";
}
// line 255
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.', 255, $this->source); })()), "AntiqueType", [], "any", false, false, false, 255)) > 0)) {
// line 256
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 257
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.', 257, $this->source); })()), "request", [], "any", false, false, false, 257), "locale", [], "any", false, false, false, 257)) . ": "), "html", null, true);
echo "</h3>
<div class=\"object__item-wrap__text\">
";
// line 259
$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.', 259, $this->source); })()), "AntiqueType", [], "any", false, false, false, 259));
$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 260
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.', 260, $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.', 260, $this->source); })()), "request", [], "any", false, false, false, 260), "locale", [], "any", false, false, false, 260)], "method", false, false, false, 260), "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, 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), "title", [], "any", false, false, false, 260), "html", null, true);
echo "\">
";
// line 261
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, 261), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 261, $this->source); })()), "request", [], "any", false, false, false, 261), "locale", [], "any", false, false, false, 261), [], "array", false, false, false, 261), "title", [], "any", false, false, false, 261), "html", null, true);
echo "
</a>";
// line 262
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 262)) {
echo ", ";
}
// line 263
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 264
echo " </div>
</div>
";
}
// line 267
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.', 267, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 267)) > 0)) {
// line 268
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 269
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.', 269, $this->source); })()), "request", [], "any", false, false, false, 269), "locale", [], "any", false, false, false, 269)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
";
// line 271
$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.', 271, $this->source); })()), "AntiqueTechnique", [], "any", false, false, false, 271));
$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 272
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.', 272, $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.', 272, $this->source); })()), "request", [], "any", false, false, false, 272), "locale", [], "any", false, false, false, 272)], "method", false, false, false, 272), "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, 272), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 272, $this->source); })()), "request", [], "any", false, false, false, 272), "locale", [], "any", false, false, false, 272), [], "array", false, false, false, 272), "title", [], "any", false, false, false, 272), "html", null, true);
echo "\">
";
// line 273
((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, 273), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 273, $this->source); })()), "request", [], "any", false, false, false, 273), "locale", [], "any", false, false, false, 273), [], "array", false, false, false, 273), "title", [], "any", false, false, false, 273)) ? (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, 273), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 273, $this->source); })()), "request", [], "any", false, false, false, 273), "locale", [], "any", false, false, false, 273), [], "array", false, false, false, 273), "title", [], "any", false, false, false, 273), "html", null, true))) : (print ("")));
echo "
</a>";
// line 274
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 274)) {
echo ", ";
}
// line 275
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 276
echo " </div>
</div>
";
}
// line 279
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.', 279, $this->source); })()), "Translation", [], "any", false, false, false, 279), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 279, $this->source); })()), "request", [], "any", false, false, false, 279), "locale", [], "any", false, false, false, 279), [], "array", false, false, false, 279), "text", [], "any", false, false, false, 279)) {
// line 280
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 281
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.', 281, $this->source); })()), "request", [], "any", false, false, false, 281), "locale", [], "any", false, false, false, 281)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">";
// line 283
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.', 283, $this->source); })()), "Translation", [], "any", false, false, false, 283), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 283, $this->source); })()), "request", [], "any", false, false, false, 283), "locale", [], "any", false, false, false, 283), [], "array", false, false, false, 283), "text", [], "any", false, false, false, 283);
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.', 283, $this->source); })()), "request", [], "any", false, false, false, 283), "locale", [], "any", false, false, false, 283)), "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.', 283, $this->source); })()), "request", [], "any", false, false, false, 283), "locale", [], "any", false, false, false, 283)), "html", null, true);
echo " ▲</span></button>
</div>
</div>
";
}
// line 288
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.', 288, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 288)) > 0)) {
// line 289
echo " <div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">";
// line 290
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.', 290, $this->source); })()), "request", [], "any", false, false, false, 290), "locale", [], "any", false, false, false, 290)), "html", null, true);
echo ":</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
";
// line 292
$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.', 292, $this->source); })()), "AntiqueCopyrights", [], "any", false, false, false, 292));
$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 293
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.', 293, $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.', 293, $this->source); })()), "request", [], "any", false, false, false, 293), "locale", [], "any", false, false, false, 293)], "method", false, false, false, 293), "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, 293), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 293, $this->source); })()), "request", [], "any", false, false, false, 293), "locale", [], "any", false, false, false, 293), [], "array", false, false, false, 293), "title", [], "any", false, false, false, 293), "html", null, true);
echo "\">
";
// line 294
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, 294), twig_get_attribute($this->env, $this->source, twig_get_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), [], "array", false, false, false, 294), "title", [], "any", false, false, false, 294), "html", null, true);
echo "
</a>";
// line 295
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 295)) {
echo ", ";
}
// line 296
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 297
echo " </div>
</div>
";
}
// line 300
echo "
</div>
</div>
";
}
// line 306
echo "
</div>
<div class=\"container\" style=\"";
// line 308
((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 308, $this->source); })()), "background2", [], "any", false, false, false, 308)) ? (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.', 308, $this->source); })()), "background2", [], "any", false, false, false, 308)), "html", null, true))) : (print ("")));
echo "\">
";
// line 309
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-1.html.twig", 309)->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.', 309, $this->source); })()), "colsDesign", [], "any", false, false, false, 309)]));
// line 310
echo " ";
$this->loadTemplate("@openform_front_templates/_blocks_sections/block.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_template-1.html.twig", 310)->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.', 310, $this->source); })()), "getSections", [(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 310, $this->source); })())], "method", false, false, false, 310)]));
// line 311
echo " </div>
<div class=\"object__nav container\" style=\"";
// line 315
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.', 315, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 315)) {
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.', 315, $this->source); })()), "naviBackgroundColor", [], "any", false, false, false, 315), "html", null, true);
echo ";";
}
echo "\">
";
// line 316
$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.', 316, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 316), "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.', 316, $this->source); })()), "request", [], "any", false, false, false, 316), "locale", [], "any", false, false, false, 316)], "method", false, false, false, 316));
foreach ($context['_seq'] as $context["key"] => $context["Antique"]) {
// line 317
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.', 317, $this->source); })()), "id", [], "any", false, false, false, 317) == twig_get_attribute($this->env, $this->source, $context["Antique"], "id", [], "any", false, false, false, 317))) {
// line 318
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, 318), "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.', 318, $this->source); })()), "request", [], "any", false, false, false, 318), "locale", [], "any", false, false, false, 318)], "method", false, true, false, 318), ($context["key"] - 1), [], "array", true, true, false, 318)) {
// line 319
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.', 319, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 319), "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.', 319, $this->source); })()), "request", [], "any", false, false, false, 319), "locale", [], "any", false, false, false, 319)], "method", false, false, false, 319), ($context["key"] - 1), [], "array", false, false, false, 319);
// line 320
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.', 320, $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.', 320, $this->source); })()), "Translation", [], "any", false, false, false, 320), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 320, $this->source); })()), "request", [], "any", false, false, false, 320), "locale", [], "any", false, false, false, 320), [], "array", false, false, false, 320), "slug", [], "any", false, false, false, 320)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 320, $this->source); })()), "request", [], "any", false, false, false, 320), "locale", [], "any", false, false, false, 320)], "method", false, false, false, 320);
// line 321
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.', 321, $this->source); })()), "html", null, true);
echo "\" class=\"object__nav__button\">";
echo twig_call_macro($macros["__internal_parse_72"], "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.', 321, $this->source); })()), "request", [], "any", false, false, false, 321), "locale", [], "any", false, false, false, 321))], 321, $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.', 321, $this->source); })()), "request", [], "any", false, false, false, 321), "locale", [], "any", false, false, false, 321)), "html", null, true);
echo "</a>
";
}
// line 323
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, 323), "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.', 323, $this->source); })()), "request", [], "any", false, false, false, 323), "locale", [], "any", false, false, false, 323)], "method", false, true, false, 323), ($context["key"] + 1), [], "array", true, true, false, 323)) {
// line 324
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.', 324, $this->source); })()), "AntiqueSuit", [], "any", false, false, false, 324), "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.', 324, $this->source); })()), "request", [], "any", false, false, false, 324), "locale", [], "any", false, false, false, 324)], "method", false, false, false, 324), ($context["key"] + 1), [], "array", false, false, false, 324);
// line 325
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.', 325, $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.', 325, $this->source); })()), "Translation", [], "any", false, false, false, 325), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 325, $this->source); })()), "request", [], "any", false, false, false, 325), "locale", [], "any", false, false, false, 325), [], "array", false, false, false, 325), "slug", [], "any", false, false, false, 325)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 325, $this->source); })()), "request", [], "any", false, false, false, 325), "locale", [], "any", false, false, false, 325)], "method", false, false, false, 325);
// line 326
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.', 326, $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.', 326, $this->source); })()), "request", [], "any", false, false, false, 326), "locale", [], "any", false, false, false, 326)), "html", null, true);
echo twig_call_macro($macros["__internal_parse_72"], "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.', 326, $this->source); })()), "request", [], "any", false, false, false, 326), "locale", [], "any", false, false, false, 326))], 326, $context, $this->getSourceContext());
echo "</a>
";
}
// line 328
echo " ";
}
// line 329
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-1.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1086 => 329, 1083 => 328, 1074 => 326, 1071 => 325, 1068 => 324, 1065 => 323, 1056 => 321, 1053 => 320, 1050 => 319, 1047 => 318, 1044 => 317, 1040 => 316, 1032 => 315, 1026 => 311, 1023 => 310, 1021 => 309, 1017 => 308, 1013 => 306, 1005 => 300, 1000 => 297, 986 => 296, 982 => 295, 978 => 294, 971 => 293, 954 => 292, 949 => 290, 946 => 289, 943 => 288, 931 => 283, 926 => 281, 923 => 280, 920 => 279, 915 => 276, 901 => 275, 897 => 274, 893 => 273, 886 => 272, 869 => 271, 864 => 269, 861 => 268, 858 => 267, 853 => 264, 839 => 263, 835 => 262, 831 => 261, 824 => 260, 807 => 259, 802 => 257, 799 => 256, 796 => 255, 791 => 252, 783 => 250, 777 => 249, 770 => 248, 766 => 247, 761 => 245, 758 => 244, 755 => 243, 750 => 240, 748 => 238, 747 => 237, 746 => 236, 745 => 235, 740 => 233, 737 => 232, 734 => 231, 727 => 227, 722 => 225, 719 => 224, 716 => 223, 709 => 219, 704 => 217, 701 => 216, 699 => 215, 694 => 213, 689 => 212, 686 => 210, 678 => 204, 673 => 201, 659 => 200, 655 => 199, 651 => 198, 644 => 197, 627 => 196, 622 => 194, 619 => 193, 616 => 192, 604 => 187, 599 => 185, 596 => 184, 593 => 183, 588 => 180, 574 => 179, 570 => 178, 566 => 177, 559 => 176, 542 => 175, 537 => 173, 534 => 172, 531 => 171, 526 => 168, 512 => 167, 508 => 166, 504 => 165, 497 => 164, 480 => 163, 475 => 161, 472 => 160, 469 => 159, 464 => 156, 462 => 154, 461 => 153, 460 => 152, 459 => 151, 458 => 150, 457 => 149, 456 => 148, 451 => 146, 448 => 145, 445 => 144, 440 => 141, 432 => 139, 428 => 138, 421 => 137, 417 => 136, 412 => 134, 409 => 133, 407 => 132, 401 => 129, 397 => 128, 394 => 127, 391 => 126, 387 => 123, 377 => 116, 372 => 113, 359 => 107, 355 => 106, 350 => 104, 338 => 101, 334 => 100, 330 => 99, 326 => 98, 322 => 97, 315 => 96, 308 => 92, 304 => 91, 300 => 90, 294 => 89, 291 => 88, 288 => 87, 281 => 83, 277 => 82, 273 => 81, 267 => 80, 264 => 79, 262 => 78, 259 => 77, 244 => 70, 238 => 67, 234 => 66, 223 => 64, 219 => 63, 213 => 60, 206 => 56, 199 => 55, 197 => 54, 195 => 53, 188 => 48, 184 => 47, 175 => 43, 168 => 42, 166 => 41, 160 => 40, 151 => 38, 148 => 37, 138 => 33, 135 => 32, 129 => 28, 120 => 26, 117 => 25, 114 => 24, 112 => 23, 106 => 22, 102 => 21, 101 => 20, 99 => 19, 93 => 15, 84 => 13, 81 => 12, 78 => 11, 75 => 10, 72 => 9, 68 => 8, 60 => 7, 56 => 5, 47 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% from '@openform_front_templates/_includes/_icons.html.twig' import arrowObjectPrev, arrowObjectNext, fullscreen, zoomout, zoomin, copyrights, info, infoClose %}
{% set ImageSlides = entity.ImageSlide|filterVisibles(app.request.locale) %}
<section class=\"object {{entity.isInvertedTemplate is defined and entity.isInvertedTemplate ? 'object--inverted'}} object--{{entity.templateId}} js-section js-collections\" style=\"{{entity.background ? 'background-color: ' ~ entity.background }}\">
{# ---------------------------nav---------------------- #}
<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>
{% else %}
<div>
</div>
{% endif%}
{% set href = toolkit_route_localizer.generate('antique_suit_item', {
'slug': entity.AntiqueSuit.Translation[app.request.locale].slug
}, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__title\">{{ entity.AntiqueSuit.Translation[app.request.locale].title }}</a>
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] is defined %}
{% set nextElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : nextElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button\">{{ ('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale) }}{{arrowObjectNext(('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale))}}</a>
{% else %}
<div>
</div>
{% endif %}
{% endif %}
{% endfor %}
</div>
{# ---------------------------top---------------------- #}
<div class=\"object__section container\" style=\"{{entity.textAreaWidth is same as(0) ? \"display:flex; justify-content: center;\"}} {{entity.textAreaWidth is same as(0) ? 'background-color:' ~ entity.imageBackgroundColor|default('#F8F7F0') ~ ';'}} grid-template-columns: {{ entity.isInvertedTemplate is defined and entity.isInvertedTemplate ? entity.textAreaWidth is same as(0) ? \"0% 100%\" : (entity.textAreaWidth ? 'calc(' ~ entity.textAreaWidth ~ '% - 39px) calc(100% - ' ~ entity.textAreaWidth ~ '%)' : 'calc(52% - 39px) 48%') : entity.textAreaWidth is same as(0) ? \"100% 0%\" : (entity.textAreaWidth ? 'calc(100% - ' ~ entity.textAreaWidth ~ '%) calc(' ~ entity.textAreaWidth ~ '% - 39px)' : '48% calc(52% - 39px)')}} \">
<div class=\"object__item\" style=\"{{entity.textAreaWidth is same as(100) ? 'overflow: hidden;'}} {{entity.textAreaWidth is same as(0) ? 'width:100%;'}}\">
{% if ImageSlides|length > 0 %}
<div class=\"object__item__bg\" style=\"background-color: {{entity.imageBackgroundColor|default('#F8F7F0')}}; {{entity.textAreaWidth is same as(0) ? 'width: calc(100% + 24vw); left: -12vw; '}}\"></div>
<div class=\"splide js-splide-slider\" aria-label=\"{{\"T_SLIDER_SPLIDE\"|trans({}, \"openform_front\", app.request.locale)}}\" style=\"height: {{entity.imageHeight ? entity.imageHeight + 91 : '560'}}px;\">
<div class=\"splide__track\" style=\"height: 100%;\">
<ul class=\"splide__list\" style=\"height: 80%;\">
{% 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: {{entity.imageHeight ? entity.imageHeight ~ 'px' : '100%'}};\">
<div style=\"width:100%; height: {{entity.imageHeight ? entity.imageHeight ~ 'px' : '90%'}};;
\">
<div style=\"width:100%; height:100%; display:flex; justify-content: center; align-items: center;\">
<div class=\"collection-gallery__item\" style=\"
{{entity.imageWidthPercent ? 'width:' ~ entity.imageWidthPercent ~ '%;' : 'width: 100%;'}}
max-height: 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__content block__text\">
{{image.Translation[app.request.locale].text|raw}}
</div> #}
<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=\"{{entity.imageBackgroundColor is defined and entity.imageBackgroundColor ? entity.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 %}\"
tabindex=\"0\"
>
{{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>
</div>
</li>
{% endfor %}
</ul>
<div class=\"object__splide-nav\">
{{ include('@openform_front_templates/_includes/_slider-nav.html.twig') }}
</div>
</div>
</div>
{% endif %}
</div>
{# ---------------------------------top-text----------------------------- #}
{% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\\\App\\\\Package\\\\Openform\\\\Entity\\\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
<div class=\"object__item\" style=\"{{entity.textAreaWidth is same as(0) ? 'display: none;'}} padding-bottom:60px; overflow-y: auto; overflow-x: hidden;\" data-lenis-prevent>
<div class=\"object__item__title\">{{ entity.Translation[app.request.locale].titleHtml|raw }}</div>
<div class=\"object__item__section\">
{% if entity.Artist|length > 0 %}
<div class=\"object__item-wrap object__item-wrap--author\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_AUTHOR')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% for artist in entity.Artist %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?artist={{ artist.fullName }}\">
{{artist.fullName ? artist.fullName }}
</a>{{entity.Artist|length > 1 ? ', '}}
{% endfor %}
</div>
</div>
{% endif %}
{% if (entity.date or entity.dateTo or entity.age or entity.ageTo or entity.year or entity.yearTo) %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_DATE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% include('@openform_front_templates/AntiqueSuit/_templates/_fields/_dates_and_ages.html.twig') with {
'dateFrom': entity.date,
'dateTo': entity.dateTo,
'ageFrom': entity.age,
'ageTo': entity.ageTo,
'yearFrom': entity.year ?? entity.shownObjectYear,
'yearTo': entity.yearTo ?? entity.shownObjectAge,
} %}
</div>
</div>
{% endif %}
{% if entity.AntiqueType|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_OBJECT_TYPE')|trans({}, 'openform_front', app.request.locale) ~ ': ' }}</h3>
<div class=\"object__item-wrap__text\">
{% for key, item in entity.AntiqueType %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueType={{ item.Translation[app.request.locale].title }}\">
{{ item.Translation[app.request.locale].title }}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.AntiqueTechnique|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_MATERIALS_AND_TECHNIQUES')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% for item in entity.AntiqueTechnique %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueTechnique={{ item.Translation[app.request.locale].title }}\">
{{item.Translation[app.request.locale].title ? item.Translation[app.request.locale].title}}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.Translation[app.request.locale].text %}
<div class=\"object__item-wrap object__item-wrap--description object__item-wrap--description-master js-text-dropdown\" data-limit=\"6\" data-lineHeight=\"22\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_DESCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">{{entity.Translation[app.request.locale].text|raw}}</span> <button class=\"js-text-dropdown-btn hide\"><span>{{('T_TEXT_SHOW_MORE')|trans({}, 'openform_front', app.request.locale) }} ▼</span><span>{{('T_TEXT_SHOW_LESS')|trans({}, 'openform_front', app.request.locale) }} ▲</span></button>
</div>
</div>
{% endif %}
{% if entity.AntiqueCopyrights|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_COPYRIGHTS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
{% for key, item in entity.AntiqueCopyrights %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueCopyrights={{ item.Translation[app.request.locale].title }}\">
{{ item.Translation[app.request.locale].title }}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
{% else %}
{# ------------------------Archive--------------------------- #}
<div class=\"object__item\" style=\"{{entity.textAreaWidth is same as(0) ? 'display: none;'}}\">
<div class=\"object__item__title\">{{ entity.Translation[app.request.locale].titleHtml|raw }}</div>
<div class=\"object__item__section\">
{% if entity.Translation[app.request.locale].descPlace %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_PLACE_DESC')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{{entity.Translation[app.request.locale].descPlace}}
</div>
</div>
{% endif %}
{% if entity.AntiquePlace %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_OBJECT_PLACE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{{entity.AntiquePlace.Translation[app.request.locale].title}}
</div>
</div>
{% endif %}
{% if entity.documentDate or entity.documentAge or entity.documentYear %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_DOCUMENT_DATE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% include('@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age_search.html.twig') with {
'date': entity.documentDate,
'age': entity.documentAge,
'year': entity.documentYear,
} %}
</div>
</div>
{% endif %}
{% if entity.Artist|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_AUTHOR_OF_THE_PHOTOGRAPH_OR_DOCUMENT')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% for artist in entity.Artist %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?artist={{ artist.fullName }}\">
{{artist.fullName ? artist.fullName }} {{ artist.authorNickName ? '\"' ~ artist.authorNickName ~ '\"'}}
</a>{{entity.Artist|length > 1 ? ', '}}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.AntiqueType|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_OBJECT_TYPE')|trans({}, 'openform_front', app.request.locale) ~ ': ' }}</h3>
<div class=\"object__item-wrap__text\">
{% for key, item in entity.AntiqueType %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueType={{ item.Translation[app.request.locale].title }}\">
{{ item.Translation[app.request.locale].title }}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.AntiqueTechnique|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_MATERIALS_AND_TECHNIQUES')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
{% for item in entity.AntiqueTechnique %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueTechnique={{ item.Translation[app.request.locale].title }}\">
{{item.Translation[app.request.locale].title ? item.Translation[app.request.locale].title}}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.Translation[app.request.locale].text %}
<div class=\"object__item-wrap object__item-wrap--description object__item-wrap--description-master js-text-dropdown\" data-limit=\"6\" data-lineHeight=\"22\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_DESCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text\">
<span class=\"js-text-dropdown-content\">{{entity.Translation[app.request.locale].text|raw}}</span> <button class=\"js-text-dropdown-btn hide\"><span>{{('T_TEXT_SHOW_MORE')|trans({}, 'openform_front', app.request.locale) }} ▼</span><span>{{('T_TEXT_SHOW_LESS')|trans({}, 'openform_front', app.request.locale) }} ▲</span></button>
</div>
</div>
{% endif %}
{% if entity.AntiqueCopyrights|length > 0 %}
<div class=\"object__item-wrap\">
<h3 class=\"object__item-wrap__title\">{{('T_ANTIQUE_COPYRIGHTS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class=\"object__item-wrap__text object__item-wrap__copyright\">
{% for key, item in entity.AntiqueCopyrights %}
<a href=\"{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueCopyrights={{ item.Translation[app.request.locale].title }}\">
{{ item.Translation[app.request.locale].title }}
</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
</div>
<div class=\"container\" style=\"{{entity.background2 ? 'background-color: ' ~ entity.background2 }}\">
{% include '@openform_front_templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig' with {design: entity.colsDesign} %}
{% include \"@openform_front_templates/_blocks_sections/block.html.twig\" with { sections: openform_front_util.getSections(entity) } %}
</div>
<div class=\"object__nav container\" style=\"{% if entity.naviBackgroundColor %}background-color: {{entity.naviBackgroundColor}};{% endif %}\">
{% for key, Antique in entity.AntiqueSuit.getVisibleAntiques(app.request.locale) %}
{% if entity.id == Antique.id %}
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] is defined %}
{% set prevElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key - 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : prevElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button\">{{arrowObjectPrev(('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale))}}{{ ('T_OBJECT_PREV')|trans({}, 'openform_front', app.request.locale) }}</a>
{% endif%}
{% if entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] is defined %}
{% set nextElement = entity.AntiqueSuit.getVisibleAntiques(app.request.locale)[key + 1] %}
{% set href = toolkit_route_localizer.generate('antique_item',{ slug : nextElement.Translation[app.request.locale].slug }, app.request.locale) %}
<a href=\"{{href}}\" class=\"object__nav__button object__nav__button--next\">{{ ('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale) }}{{arrowObjectNext(('T_OBJECT_NEXT')|trans({}, 'openform_front', app.request.locale))}}</a>
{% endif%}
{% endif %}
{% endfor %}
</div>
</section>
", "@openform_front_templates/AntiqueSuit/_templates/_template-1.html.twig", "/var/www/php81/fpd.in.openform.pl/src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_template-1.html.twig");
}
}