<?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;
/* @Web/Search/show.html.twig */
class __TwigTemplate_a60d6b8cff1ca25d503d18864beb7c168aeffe4fe4ba36dbf639f81b807327ec extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'meta' => [$this, 'block_meta'],
'googleTagScript' => [$this, 'block_googleTagScript'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@Web/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Search/show.html.twig"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Search/show.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Search/show.html.twig"));
// line 3
$macros["build"] = $this->macros["build"] = $this;
// line 37
$context["max"] = 30;
// line 1
$this->parent = $this->loadTemplate("@Web/layout.html.twig", "@Web/Search/show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 6
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search_result"), "html", null, true);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 9
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 10
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
<link rel=\"stylesheet\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/pages.min.css"), "html", null, true);
echo "\" />
<link rel=\"stylesheet\" href=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/slide-show.min.css"), "html", null, true);
echo "\" />
";
// line 15
if (($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() && !$this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isTablet())) {
// line 16
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/slide-show-mobile.min.css"), "html", null, true);
echo "\" />
";
} elseif ($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
// line 18
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/slide-show-tablet.min.css"), "html", null, true);
echo "\" />
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 22
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 23
echo "\t";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
// line 24
if (twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 24, $this->source); })()), "checkIsDev", [], "any", false, false, false, 24)) {
// line 25
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/page.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/search-page.js"), "html", null, true);
echo "\"></script>
";
} else {
// line 28
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/page.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/search-page.min.js"), "html", null, true);
echo "\"></script>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 33
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 34
echo " <meta name=\"robots\" content=\"noindex, nofollow\" />
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 195
public function block_googleTagScript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleTagScript"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleTagScript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleTagScript"));
// line 196
echo " ";
if ((array_key_exists("googleRemarketing", $context) && (isset($context["googleRemarketing"]) || array_key_exists("googleRemarketing", $context) ? $context["googleRemarketing"] : (function () { throw new RuntimeError('Variable "googleRemarketing" does not exist.', 196, $this->source); })()))) {
// line 197
echo " ";
$context["articlesData"] = [];
// line 198
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 198, $this->source); })()), "articles", [], "any", false, false, false, 198), "res", [], "any", false, false, false, 198));
foreach ($context['_seq'] as $context["_key"] => $context["art"]) {
// line 199
echo " ";
$context["articlesData"] = twig_array_merge((isset($context["articlesData"]) || array_key_exists("articlesData", $context) ? $context["articlesData"] : (function () { throw new RuntimeError('Variable "articlesData" does not exist.', 199, $this->source); })()), [0 => twig_get_attribute($this->env, $this->source, $context["art"], "id", [], "any", false, false, false, 199)]);
// line 200
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['art'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 201
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 204
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 205
echo "
<div class=\"search-results-page\">
<h1>
";
// line 209
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search_result_query"), "html", null, true);
echo ":
<span class=\"bolder\">";
// line 210
echo twig_escape_filter($this->env, (isset($context["query"]) || array_key_exists("query", $context) ? $context["query"] : (function () { throw new RuntimeError('Variable "query" does not exist.', 210, $this->source); })()), "html", null, true);
echo "</span>
(";
// line 211
echo twig_escape_filter($this->env, (isset($context["docsCount"]) || array_key_exists("docsCount", $context) ? $context["docsCount"] : (function () { throw new RuntimeError('Variable "docsCount" does not exist.', 211, $this->source); })()), "html", null, true);
echo ")
</h1>
";
// line 214
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 214, $this->source); })()), "request", [], "any", false, false, false, 214), "get", [0 => "test"], "method", false, false, false, 214) == 1)) {
// line 215
echo " <div class=\"gcse-search\"></div>
";
}
// line 217
echo "
";
// line 218
if (((isset($context["docsCount"]) || array_key_exists("docsCount", $context) ? $context["docsCount"] : (function () { throw new RuntimeError('Variable "docsCount" does not exist.', 218, $this->source); })()) != 0)) {
// line 219
echo "
";
// line 220
$context["catalogLength"] = (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 220, $this->source); })()), "filters", [], "any", false, false, false, 220), "nCount", [], "any", false, false, false, 220) + twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 220, $this->source); })()), "filters", [], "any", false, false, false, 220), "dCount", [], "any", false, false, false, 220));
// line 221
echo " ";
$context["brandsLength"] = (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 221, $this->source); })()), "factory", [], "any", false, false, false, 221), "nCount", [], "any", false, false, false, 221) + twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 221, $this->source); })()), "factory", [], "any", false, false, false, 221), "dCount", [], "any", false, false, false, 221));
// line 222
echo " ";
$context["collectionsLength"] = (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 222, $this->source); })()), "collections", [], "any", false, false, false, 222), "nCount", [], "any", false, false, false, 222) + twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 222, $this->source); })()), "collections", [], "any", false, false, false, 222), "dCount", [], "any", false, false, false, 222));
// line 223
echo " ";
$context["itemsLength"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 223, $this->source); })()), "articles", [], "any", false, false, false, 223), "count", [], "any", false, false, false, 223);
// line 224
echo " ";
$context["blogsLength"] = (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 224, $this->source); })()), "publications", [], "any", false, false, false, 224), "nCount", [], "any", false, false, false, 224) + twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 224, $this->source); })()), "publications", [], "any", false, false, false, 224), "dCount", [], "any", false, false, false, 224));
// line 225
echo "
<div class=\"tabs-block\">
<div class=\"t-b-w\">
<div class=\"mobile-gradient\"></div>
<div class=\"t-b-i-w\">
<div class=\"t-b-c-w\">
<div class=\"t-b-content\">
<div class=\"t-b-item selected\" data-lis=\"all\">";
// line 232
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("all"), "html", null, true);
echo "</div>
";
// line 233
if (((isset($context["catalogLength"]) || array_key_exists("catalogLength", $context) ? $context["catalogLength"] : (function () { throw new RuntimeError('Variable "catalogLength" does not exist.', 233, $this->source); })()) > 0)) {
// line 234
echo " <div class=\"t-b-item\" data-lis=\"catalog\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog_catalog"), "html", null, true);
echo " (";
echo twig_escape_filter($this->env, (isset($context["catalogLength"]) || array_key_exists("catalogLength", $context) ? $context["catalogLength"] : (function () { throw new RuntimeError('Variable "catalogLength" does not exist.', 234, $this->source); })()), "html", null, true);
echo ")</div>
";
}
// line 236
echo " ";
if (((isset($context["brandsLength"]) || array_key_exists("brandsLength", $context) ? $context["brandsLength"] : (function () { throw new RuntimeError('Variable "brandsLength" does not exist.', 236, $this->source); })()) > 0)) {
// line 237
echo " <div class=\"t-b-item\" data-lis=\"brands\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("left_menu_factories"), "html", null, true);
echo " (";
echo twig_escape_filter($this->env, (isset($context["brandsLength"]) || array_key_exists("brandsLength", $context) ? $context["brandsLength"] : (function () { throw new RuntimeError('Variable "brandsLength" does not exist.', 237, $this->source); })()), "html", null, true);
echo ")</div>
";
}
// line 239
echo " ";
if (((isset($context["collectionsLength"]) || array_key_exists("collectionsLength", $context) ? $context["collectionsLength"] : (function () { throw new RuntimeError('Variable "collectionsLength" does not exist.', 239, $this->source); })()) > 0)) {
// line 240
echo " <div class=\"t-b-item\" data-lis=\"collections\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("left_menu_collections"), "html", null, true);
echo " (";
echo twig_escape_filter($this->env, (isset($context["collectionsLength"]) || array_key_exists("collectionsLength", $context) ? $context["collectionsLength"] : (function () { throw new RuntimeError('Variable "collectionsLength" does not exist.', 240, $this->source); })()), "html", null, true);
echo ")</div>
";
}
// line 242
echo " ";
if (((isset($context["itemsLength"]) || array_key_exists("itemsLength", $context) ? $context["itemsLength"] : (function () { throw new RuntimeError('Variable "itemsLength" does not exist.', 242, $this->source); })()) > 0)) {
// line 243
echo " <div class=\"t-b-item\" data-lis=\"items\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection_articles_d"), "html", null, true);
echo " (";
echo twig_escape_filter($this->env, (isset($context["itemsLength"]) || array_key_exists("itemsLength", $context) ? $context["itemsLength"] : (function () { throw new RuntimeError('Variable "itemsLength" does not exist.', 243, $this->source); })()), "html", null, true);
echo ")</div>
";
}
// line 245
echo " ";
if (((isset($context["blogsLength"]) || array_key_exists("blogsLength", $context) ? $context["blogsLength"] : (function () { throw new RuntimeError('Variable "blogsLength" does not exist.', 245, $this->source); })()) > 0)) {
// line 246
echo " <div class=\"t-b-item\" data-lis=\"blogs\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("blog_blogs"), "html", null, true);
echo " (";
echo twig_escape_filter($this->env, (isset($context["blogsLength"]) || array_key_exists("blogsLength", $context) ? $context["blogsLength"] : (function () { throw new RuntimeError('Variable "blogsLength" does not exist.', 246, $this->source); })()), "html", null, true);
echo ")</div>
";
}
// line 248
echo " </div>
</div>
</div>
</div>
</div>
";
}
// line 254
echo "
<div
class=\"s-r-inner-wrapper\"
\tdata-empty-msg-block";
// line 257
if (((isset($context["docsCount"]) || array_key_exists("docsCount", $context) ? $context["docsCount"] : (function () { throw new RuntimeError('Variable "docsCount" does not exist.', 257, $this->source); })()) == 0)) {
echo " style=\"display: none\"";
}
// line 258
echo " \tdata-count-result=\"";
echo twig_escape_filter($this->env, (isset($context["docsCount"]) || array_key_exists("docsCount", $context) ? $context["docsCount"] : (function () { throw new RuntimeError('Variable "docsCount" does not exist.', 258, $this->source); })()), "html", null, true);
echo "\"
>
";
// line 261
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 261, $this->source); })()), "filters", [], "any", false, false, false, 261), "nCount", [], "any", false, false, false, 261) > 0) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 261, $this->source); })()), "filters", [], "any", false, false, false, 261), "dCount", [], "any", false, false, false, 261) > 0))) {
// line 262
echo " ";
echo twig_call_macro($macros["build"], "macro_renderBlock", [(isset($context["nameCount"]) || array_key_exists("nameCount", $context) ? $context["nameCount"] : (function () { throw new RuntimeError('Variable "nameCount" does not exist.', 262, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 262, $this->source); })()), "filters", [], "any", false, false, false, 262), "catalog", "catalog_catalog", "catalog", "filters"], 262, $context, $this->getSourceContext());
echo "
";
}
// line 264
echo "
";
// line 265
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 265, $this->source); })()), "factory", [], "any", false, false, false, 265), "nCount", [], "any", false, false, false, 265) > 0) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 265, $this->source); })()), "factory", [], "any", false, false, false, 265), "dCount", [], "any", false, false, false, 265) > 0))) {
// line 266
echo " ";
echo twig_call_macro($macros["build"], "macro_renderBlock", [(isset($context["nameCount"]) || array_key_exists("nameCount", $context) ? $context["nameCount"] : (function () { throw new RuntimeError('Variable "nameCount" does not exist.', 266, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 266, $this->source); })()), "factory", [], "any", false, false, false, 266), "factory", "left_menu_factories", "brands", "factory"], 266, $context, $this->getSourceContext());
echo "
";
}
// line 268
echo "
";
// line 269
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 269, $this->source); })()), "collections", [], "any", false, false, false, 269), "nCount", [], "any", false, false, false, 269) > 0) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 269, $this->source); })()), "collections", [], "any", false, false, false, 269), "dCount", [], "any", false, false, false, 269) > 0))) {
// line 270
echo " ";
echo twig_call_macro($macros["build"], "macro_renderBlock", [(isset($context["nameCount"]) || array_key_exists("nameCount", $context) ? $context["nameCount"] : (function () { throw new RuntimeError('Variable "nameCount" does not exist.', 270, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 270, $this->source); })()), "collections", [], "any", false, false, false, 270), "collection", "left_menu_collections", "collections", "collections"], 270, $context, $this->getSourceContext());
echo "
";
}
// line 272
echo "
";
// line 273
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 273, $this->source); })()), "articles", [], "any", false, false, false, 273), "count", [], "any", false, false, false, 273) > 0)) {
// line 274
echo " <div class=\"tab-content-wrapper articless\" data-lis=\"items\">
<h2>";
// line 276
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection_articles_d"), "html", null, true);
echo "</h2>
<div id=\"s-r-articles\" class=\"collection-articles-body js-collection-articles-body\">
";
// line 279
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 279, $this->source); })()), "articles", [], "any", false, false, false, 279), "res", [], "any", false, false, false, 279));
$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["article"]) {
// line 280
echo " ";
$this->loadTemplate("@Web/Collection/article.html.twig", "@Web/Search/show.html.twig", 280)->display(twig_array_merge($context, ["article" => $context["article"], "noImageClass" => ""]));
// line 281
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['article'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 282
echo " </div>
";
// line 284
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 284, $this->source); })()), "articles", [], "any", false, false, false, 284), "count", [], "any", false, false, false, 284) > (isset($context["max"]) || array_key_exists("max", $context) ? $context["max"] : (function () { throw new RuntimeError('Variable "max" does not exist.', 284, $this->source); })()))) {
// line 285
echo " <div class=\"more-link-wrapper\">
<a
href=\"javascript:void(0)\"
class=\"js-more\"
data-portion-url=\"";
// line 289
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_full_text_search_portion", ["type" => "articles"]);
echo "\"
data-count=\"";
// line 290
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 290, $this->source); })()), "articles", [], "any", false, false, false, 290), "count", [], "any", false, false, false, 290), "html", null, true);
echo "\"
data-current-portion=\"1\"
data-target=\"#s-r-articles\"></a>
<div class=\"spinner\"></div>
</div>
";
}
// line 296
echo "
</div>
";
}
// line 299
echo "
";
// line 300
if (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 300, $this->source); })()), "publications", [], "any", false, false, false, 300), "name", [], "any", false, false, false, 300)) > 0) || (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 300, $this->source); })()), "publications", [], "any", false, false, false, 300), "desc", [], "any", false, false, false, 300)) > 0))) {
// line 301
echo " ";
echo twig_call_macro($macros["build"], "macro_renderBlock", [(isset($context["nameCount"]) || array_key_exists("nameCount", $context) ? $context["nameCount"] : (function () { throw new RuntimeError('Variable "nameCount" does not exist.', 301, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 301, $this->source); })()), "publications", [], "any", false, false, false, 301), "publications", "blog_blogs", "blogs", "publications"], 301, $context, $this->getSourceContext());
echo "
";
}
// line 303
echo " </div>
</div>
";
// line 307
echo " <div class=\"no-project-msg\"
";
// line 308
if (((isset($context["docsCount"]) || array_key_exists("docsCount", $context) ? $context["docsCount"] : (function () { throw new RuntimeError('Variable "docsCount" does not exist.', 308, $this->source); })()) == 0)) {
// line 309
echo " style=\"display: table;\"
";
} else {
// line 311
echo " style=\"display: none;\"
";
}
// line 313
echo " data-empty-msg
>
";
// line 315
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search_no_result"), "html", null, true);
echo "
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 45
public function macro_collectionEls($__key__ = null, $__row__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"key" => $__key__,
"row" => $__row__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "collectionEls"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "collectionEls"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "collectionEls"));
// line 46
echo "
<div class=\"boxInformer search-elem\">
<a class=\"bodyImg js-collection-page-link\" href=\"";
// line 48
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 48, $this->source); })()), "c_url", [], "any", false, false, false, 48), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener\">
<img
class=\"filing_img\"
data-width=\"";
// line 51
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 51, $this->source); })()), "w", [], "any", false, false, false, 51), "html", null, true);
echo "\"
data-height=\"";
// line 52
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 52, $this->source); })()), "h", [], "any", false, false, false, 52), "html", null, true);
echo "\"
alt=\"";
// line 53
echo twig_escape_filter($this->env, twig_striptags(twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 53, $this->source); })()), "c_name", [], "any", false, false, false, 53)), "html", null, true);
echo "\"
src=\"";
// line 54
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 54, $this->source); })()), "img", [], "any", false, false, false, 54), "html", null, true);
echo "\"
/>
</a>
<div class=\"collScriptBg\">
<div class=\"collScript";
// line 58
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 58, $this->source); })()), "cls", [], "any", false, false, false, 58), "html", null, true);
echo "\">
<a class=\"collection\" href=\"";
// line 59
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 59, $this->source); })()), "c_url", [], "any", false, false, false, 59), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener\">
";
// line 60
echo twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 60, $this->source); })()), "c_name", [], "any", false, false, false, 60);
echo "
</a>
";
// line 62
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection_by"), "html", null, true);
echo "
<span>";
// line 63
echo twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 63, $this->source); })()), "f_name", [], "any", false, false, false, 63);
echo "</span>
</div>
";
// line 65
if ((twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 65, $this->source); })()), "express_sample", [], "any", false, false, false, 65) == "1")) {
// line 66
echo " <div class=\"help-tooltip\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection.sample_tooltip"), "html", null, true);
echo "\">
";
// line 67
if ($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
// line 68
echo " ";
$this->loadTemplate("@Web/SVGIconsCode/quik_sample_catalog_mobile.html.twig", "@Web/Search/show.html.twig", 68)->display($context);
// line 69
echo " ";
} else {
// line 70
echo " ";
$this->loadTemplate("@Web/SVGIconsCode/quick_sample_catalog.html.twig", "@Web/Search/show.html.twig", 70)->display($context);
// line 71
echo " ";
}
// line 72
echo " </div>
";
}
// line 74
echo " </div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 86
public function macro_factoryEls($__key__ = null, $__row__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"key" => $__key__,
"row" => $__row__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "factoryEls"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "factoryEls"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "factoryEls"));
// line 87
echo "<li class=\"box-factory search-elem\">
<a href=\"";
// line 88
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 88, $this->source); })()), "f_url", [], "any", false, false, false, 88), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener\">
<div>
";
// line 90
echo twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 90, $this->source); })()), "f_name", [], "any", false, false, false, 90);
echo "
<span class=\"flag flag-";
// line 91
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 91, $this->source); })()), "ct_code", [], "any", false, false, false, 91), "html", null, true);
echo "\"></span>
</div>
</a>
</li>";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 105
public function macro_publicationsEls($__key__ = null, $__row__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"key" => $__key__,
"row" => $__row__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "publicationsEls"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "publicationsEls"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "publicationsEls"));
// line 106
echo "<li class=\"publication search-elem\">
<a href=\"";
// line 107
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 107, $this->source); })()), "url", [], "any", false, false, false, 107), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener\">
<div class=\"box\">
<img class=\"\"
src=\"";
// line 110
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 110, $this->source); })()), "img", [], "any", false, false, false, 110), "html", null, true);
echo "\"
alt=\"";
// line 111
echo twig_escape_filter($this->env, twig_striptags(twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 111, $this->source); })()), "name", [], "any", false, false, false, 111)), "html", null, true);
echo "\" />
<div class=\"name\">";
// line 112
echo twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 112, $this->source); })()), "name", [], "any", false, false, false, 112);
echo "</div>
<div class=\"publication-text\">
";
// line 114
echo twig_escape_filter($this->env, twig_striptags(twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 114, $this->source); })()), "desc", [], "any", false, false, false, 114)), "html", null, true);
echo "...
<span class=\"details\">→</span>
</div>
<div class=\"both\"></div>
</div>
</a>
</li>";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 131
public function macro_catalogEls($__key__ = null, $__row__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"key" => $__key__,
"row" => $__row__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "catalogEls"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "catalogEls"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "catalogEls"));
// line 132
echo " \t\t<li class=\"search-elem\">
";
// line 133
if (twig_get_attribute($this->env, $this->source, ($context["row"] ?? null), "c_name", [], "any", true, true, false, 133)) {
// line 134
echo " ";
$context["name"] = ((((twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 134, $this->source); })()), "c_name", [], "any", false, false, false, 134) . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection_by")) . " ") . twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 134, $this->source); })()), "f_name", [], "any", false, false, false, 134));
// line 135
echo " ";
$context["url"] = twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 135, $this->source); })()), "c_url", [], "any", false, false, false, 135);
// line 136
echo " ";
} elseif (twig_get_attribute($this->env, $this->source, ($context["row"] ?? null), "f_name", [], "any", true, true, false, 136)) {
// line 137
echo " ";
$context["name"] = twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 137, $this->source); })()), "f_name", [], "any", false, false, false, 137);
// line 138
echo " ";
$context["url"] = twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 138, $this->source); })()), "f_url", [], "any", false, false, false, 138);
// line 139
echo " ";
} elseif (twig_get_attribute($this->env, $this->source, ($context["row"] ?? null), "b_name", [], "any", true, true, false, 139)) {
// line 140
echo " ";
$context["name"] = twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 140, $this->source); })()), "b_name", [], "any", false, false, false, 140);
// line 141
echo " ";
$context["url"] = twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 141, $this->source); })()), "url", [], "any", false, false, false, 141);
// line 142
echo " ";
} elseif (twig_get_attribute($this->env, $this->source, ($context["row"] ?? null), "fl_name", [], "any", true, true, false, 142)) {
// line 143
echo " ";
$context["name"] = twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 143, $this->source); })()), "fl_name", [], "any", false, false, false, 143);
// line 144
echo " ";
$context["url"] = twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 144, $this->source); })()), "url", [], "any", false, false, false, 144);
// line 145
echo " ";
} else {
// line 146
echo " ";
$context["name"] = twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 146, $this->source); })()), "name", [], "any", false, false, false, 146);
// line 147
echo " ";
$context["url"] = twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 147, $this->source); })()), "url", [], "any", false, false, false, 147);
// line 148
echo " ";
}
// line 149
echo " <div class=\"s-r-link\">
";
// line 150
if (twig_get_attribute($this->env, $this->source, ($context["row"] ?? null), "c_name", [], "any", true, true, false, 150)) {
// line 151
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 151, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener\">";
echo (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 151, $this->source); })());
echo "</a>
";
// line 152
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection_by"), "html", null, true);
echo "
<span>";
// line 153
echo twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 153, $this->source); })()), "f_name", [], "any", false, false, false, 153);
echo "</span>
";
} elseif (twig_get_attribute($this->env, $this->source, // line 154
($context["row"] ?? null), "f_name", [], "any", true, true, false, 154)) {
// line 155
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 155, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener\">";
echo (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 155, $this->source); })());
echo "</a>
";
} else {
// line 157
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 157, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener\">";
echo (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 157, $this->source); })());
echo "</a>
";
}
// line 159
echo "
";
// line 160
if ((twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 160, $this->source); })()), "img", [], "any", false, false, false, 160) != null)) {
// line 161
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 161, $this->source); })()), "html", null, true);
echo "\" class=\"s-r-img-link\" target=\"_blank\" rel=\"noopener\">
<img class=\"\"
src=\"";
// line 163
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["row"]) || array_key_exists("row", $context) ? $context["row"] : (function () { throw new RuntimeError('Variable "row" does not exist.', 163, $this->source); })()), "img", [], "any", false, false, false, 163), "html", null, true);
echo "\"
alt=\"";
// line 164
echo twig_escape_filter($this->env, twig_striptags((isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 164, $this->source); })())), "html", null, true);
echo "\" />
</a>
";
}
// line 167
echo " </div>
</li>
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 39
public function macro_renderBlock($__nameCount__ = null, $__data__ = null, $__class__ = null, $__header__ = null, $__dataLis__ = null, $__dataId__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"nameCount" => $__nameCount__,
"data" => $__data__,
"class" => $__class__,
"header" => $__header__,
"dataLis" => $__dataLis__,
"dataId" => $__dataId__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "renderBlock"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "renderBlock"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "renderBlock"));
// line 40
echo "
<div class=\"tab-content-wrapper\" data-lis=\"";
// line 41
echo twig_escape_filter($this->env, (isset($context["dataLis"]) || array_key_exists("dataLis", $context) ? $context["dataLis"] : (function () { throw new RuntimeError('Variable "dataLis" does not exist.', 41, $this->source); })()), "html", null, true);
echo "\">
<h2>";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["header"]) || array_key_exists("header", $context) ? $context["header"] : (function () { throw new RuntimeError('Variable "header" does not exist.', 42, $this->source); })())), "html", null, true);
echo "</h2>
<ol class=\"s-r-results s-r-";
// line 43
echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 43, $this->source); })()), "html", null, true);
echo "\" id=\"s-r-";
echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 43, $this->source); })()), "html", null, true);
echo "\">
";
// line 44
if (((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 44, $this->source); })()) == "collection")) {
// line 45
echo " ";
// line 77
echo "
";
// line 78
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 78, $this->source); })()), "name", [], "any", false, false, false, 78));
foreach ($context['_seq'] as $context["cKey"] => $context["cRow"]) {
// line 79
echo " ";
echo twig_call_macro($macros["build"], "macro_collectionEls", [$context["cKey"], $context["cRow"]], 79, $context, $this->getSourceContext());
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['cKey'], $context['cRow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 81
echo "
";
// line 82
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 82, $this->source); })()), "desc", [], "any", false, false, false, 82));
foreach ($context['_seq'] as $context["cKey"] => $context["cRow"]) {
// line 83
echo " ";
echo twig_call_macro($macros["build"], "macro_collectionEls", [$context["cKey"], $context["cRow"]], 83, $context, $this->getSourceContext());
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['cKey'], $context['cRow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 85
echo " ";
} elseif (((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 85, $this->source); })()) == "factory")) {
// line 86
echo " \t";
// line 96
echo "
\t";
// line 97
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 97, $this->source); })()), "name", [], "any", false, false, false, 97));
foreach ($context['_seq'] as $context["fKey"] => $context["fRow"]) {
// line 98
echo " \t\t";
echo twig_call_macro($macros["build"], "macro_factoryEls", [$context["fKey"], $context["fRow"]], 98, $context, $this->getSourceContext());
echo "
\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['fKey'], $context['fRow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 100
echo "
";
// line 101
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 101, $this->source); })()), "desc", [], "any", false, false, false, 101));
foreach ($context['_seq'] as $context["fKey"] => $context["fRow"]) {
// line 102
echo " \t";
echo twig_call_macro($macros["build"], "macro_factoryEls", [$context["fKey"], $context["fRow"]], 102, $context, $this->getSourceContext());
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['fKey'], $context['fRow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 104
echo " ";
} elseif (((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 104, $this->source); })()) == "publications")) {
// line 105
echo " ";
// line 122
echo "
";
// line 123
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 123, $this->source); })()), "name", [], "any", false, false, false, 123));
foreach ($context['_seq'] as $context["pKey"] => $context["pRow"]) {
// line 124
echo " ";
echo twig_call_macro($macros["build"], "macro_publicationsEls", [$context["pKey"], $context["pRow"]], 124, $context, $this->getSourceContext());
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['pKey'], $context['pRow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 126
echo "
";
// line 127
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 127, $this->source); })()), "desc", [], "any", false, false, false, 127));
foreach ($context['_seq'] as $context["pKey"] => $context["pRow"]) {
// line 128
echo " ";
echo twig_call_macro($macros["build"], "macro_publicationsEls", [$context["pKey"], $context["pRow"]], 128, $context, $this->getSourceContext());
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['pKey'], $context['pRow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 130
echo " ";
} else {
// line 131
echo " \t";
// line 170
echo "
\t";
// line 171
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 171, $this->source); })()), "name", [], "any", false, false, false, 171));
foreach ($context['_seq'] as $context["catKey"] => $context["catRow"]) {
// line 172
echo " \t\t";
echo twig_call_macro($macros["build"], "macro_catalogEls", [$context["catKey"], $context["catRow"]], 172, $context, $this->getSourceContext());
echo "
\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['catKey'], $context['catRow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 174
echo "
\t";
// line 175
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 175, $this->source); })()), "desc", [], "any", false, false, false, 175));
foreach ($context['_seq'] as $context["catKey"] => $context["catRow"]) {
// line 176
echo " \t\t";
echo twig_call_macro($macros["build"], "macro_catalogEls", [$context["catKey"], $context["catRow"]], 176, $context, $this->getSourceContext());
echo "
\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['catKey'], $context['catRow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 178
echo " ";
}
// line 179
echo " </ol>
<div class=\"both\"></div>
";
// line 182
if (((twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 182, $this->source); })()), "nCount", [], "any", false, false, false, 182) + twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 182, $this->source); })()), "dCount", [], "any", false, false, false, 182)) > 30)) {
// line 183
echo " <div class=\"more-link-wrapper\">
<a href=\"javascript:void(0)\" class=\"js-more\"
data-portion-url=\"";
// line 185
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_full_text_search_portion", ["type" => (isset($context["dataId"]) || array_key_exists("dataId", $context) ? $context["dataId"] : (function () { throw new RuntimeError('Variable "dataId" does not exist.', 185, $this->source); })())]), "html", null, true);
echo "\"
data-count=\"";
// line 186
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 186, $this->source); })()), "nCount", [], "any", false, false, false, 186) + twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 186, $this->source); })()), "dCount", [], "any", false, false, false, 186)), "html", null, true);
echo "\" data-current-portion=\"1\"
data-target=\"#s-r-";
// line 187
echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 187, $this->source); })()), "html", null, true);
echo "\"></a>
<div class=\"spinner\"></div>
</div>
";
}
// line 191
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
public function getTemplateName()
{
return "@Web/Search/show.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1210 => 191, 1203 => 187, 1199 => 186, 1195 => 185, 1191 => 183, 1189 => 182, 1184 => 179, 1181 => 178, 1172 => 176, 1168 => 175, 1165 => 174, 1156 => 172, 1152 => 171, 1149 => 170, 1147 => 131, 1144 => 130, 1135 => 128, 1131 => 127, 1128 => 126, 1119 => 124, 1115 => 123, 1112 => 122, 1110 => 105, 1107 => 104, 1098 => 102, 1094 => 101, 1091 => 100, 1082 => 98, 1078 => 97, 1075 => 96, 1073 => 86, 1070 => 85, 1061 => 83, 1057 => 82, 1054 => 81, 1045 => 79, 1041 => 78, 1038 => 77, 1036 => 45, 1034 => 44, 1028 => 43, 1024 => 42, 1020 => 41, 1017 => 40, 990 => 39, 970 => 167, 964 => 164, 960 => 163, 954 => 161, 952 => 160, 949 => 159, 941 => 157, 933 => 155, 931 => 154, 927 => 153, 923 => 152, 916 => 151, 914 => 150, 911 => 149, 908 => 148, 905 => 147, 902 => 146, 899 => 145, 896 => 144, 893 => 143, 890 => 142, 887 => 141, 884 => 140, 881 => 139, 878 => 138, 875 => 137, 872 => 136, 869 => 135, 866 => 134, 864 => 133, 861 => 132, 838 => 131, 813 => 114, 808 => 112, 804 => 111, 800 => 110, 794 => 107, 791 => 106, 768 => 105, 746 => 91, 742 => 90, 737 => 88, 734 => 87, 711 => 86, 691 => 74, 687 => 72, 684 => 71, 681 => 70, 678 => 69, 675 => 68, 673 => 67, 668 => 66, 666 => 65, 661 => 63, 657 => 62, 652 => 60, 648 => 59, 644 => 58, 637 => 54, 633 => 53, 629 => 52, 625 => 51, 619 => 48, 615 => 46, 592 => 45, 575 => 315, 571 => 313, 567 => 311, 563 => 309, 561 => 308, 558 => 307, 553 => 303, 547 => 301, 545 => 300, 542 => 299, 537 => 296, 528 => 290, 524 => 289, 518 => 285, 516 => 284, 512 => 282, 498 => 281, 495 => 280, 478 => 279, 472 => 276, 468 => 274, 466 => 273, 463 => 272, 457 => 270, 455 => 269, 452 => 268, 446 => 266, 444 => 265, 441 => 264, 435 => 262, 433 => 261, 426 => 258, 422 => 257, 417 => 254, 409 => 248, 401 => 246, 398 => 245, 390 => 243, 387 => 242, 379 => 240, 376 => 239, 368 => 237, 365 => 236, 357 => 234, 355 => 233, 351 => 232, 342 => 225, 339 => 224, 336 => 223, 333 => 222, 330 => 221, 328 => 220, 325 => 219, 323 => 218, 320 => 217, 316 => 215, 314 => 214, 308 => 211, 304 => 210, 300 => 209, 294 => 205, 281 => 204, 267 => 201, 261 => 200, 258 => 199, 253 => 198, 250 => 197, 247 => 196, 234 => 195, 220 => 34, 207 => 33, 191 => 29, 186 => 28, 181 => 26, 176 => 25, 174 => 24, 169 => 23, 156 => 22, 139 => 18, 133 => 16, 131 => 15, 126 => 13, 122 => 12, 116 => 10, 103 => 9, 87 => 6, 74 => 5, 60 => 1, 58 => 37, 56 => 3, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@Web/layout.html.twig' %}
{% import _self as build %}
{% block title %}
{{ 'search_result' | trans }}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel=\"stylesheet\" href=\"{{ asset('_css/pages.min.css') }}\" />
<link rel=\"stylesheet\" href=\"{{ asset('_css/slide-show.min.css') }}\" />
{% if is_mobile() and not is_tablet() %}
<link rel=\"stylesheet\" href=\"{{ asset('_css/slide-show-mobile.min.css') }}\" />
{% elseif is_mobile() %}
<link rel=\"stylesheet\" href=\"{{ asset('_css/slide-show-tablet.min.css') }}\" />
{% endif %}
{% endblock stylesheets %}
{% block javascripts %}
\t{{ parent() }}
{% if te.checkIsDev %}
<script src=\"{{ asset('_js/page.js') }}\"></script>
<script src=\"{{ asset('_js/search-page.js') }}\"></script>
{% else %}
<script src=\"{{ asset('_js/page.min.js') }}\"></script>
<script src=\"{{ asset('_js/search-page.min.js') }}\"></script>
{% endif %}
{% endblock javascripts %}
{% block meta %}
<meta name=\"robots\" content=\"noindex, nofollow\" />
{% endblock %}
{% set max = 30 %}
{% macro renderBlock(nameCount, data, class, header, dataLis, dataId) %}
<div class=\"tab-content-wrapper\" data-lis=\"{{ dataLis }}\">
<h2>{{ header | trans }}</h2>
<ol class=\"s-r-results s-r-{{ class}}\" id=\"s-r-{{ class }}\">
{% if class == 'collection' %}
{% macro collectionEls(key, row) %}
<div class=\"boxInformer search-elem\">
<a class=\"bodyImg js-collection-page-link\" href=\"{{ row.c_url }}\" target=\"_blank\" rel=\"noopener\">
<img
class=\"filing_img\"
data-width=\"{{ row.w }}\"
data-height=\"{{ row.h }}\"
alt=\"{{ row.c_name | striptags }}\"
src=\"{{ row.img }}\"
/>
</a>
<div class=\"collScriptBg\">
<div class=\"collScript{{ row.cls }}\">
<a class=\"collection\" href=\"{{ row.c_url }}\" target=\"_blank\" rel=\"noopener\">
{{ row.c_name | raw }}
</a>
{{ 'collection_by' | trans }}
<span>{{ row.f_name | raw }}</span>
</div>
{% if row.express_sample == \"1\" %}
<div class=\"help-tooltip\" title=\"{{ 'collection.sample_tooltip' | trans }}\">
{% if is_mobile() %}
{% include '@Web/SVGIconsCode/quik_sample_catalog_mobile.html.twig' %}
{% else %}
{% include '@Web/SVGIconsCode/quick_sample_catalog.html.twig' %}
{% endif %}
</div>
{% endif %}
</div>
</div>
{% endmacro %}
{% for cKey, cRow in data.name %}
{{ build.collectionEls(cKey, cRow) }}
{% endfor %}
{% for cKey, cRow in data.desc %}
{{ build.collectionEls(cKey, cRow) }}
{% endfor %}
{% elseif class == 'factory' %}
\t{% macro factoryEls(key, row) %}{#
\t\t\t\t\t#}<li class=\"box-factory search-elem\">
<a href=\"{{ row.f_url }}\" target=\"_blank\" rel=\"noopener\">
<div>
{{ row.f_name | raw }}
<span class=\"flag flag-{{ row.ct_code }}\"></span>
</div>
</a>
</li>{#
\t#}{% endmacro %}
\t{% for fKey, fRow in data.name %}
\t\t{{ build.factoryEls(fKey, fRow) }}
\t{% endfor %}
{% for fKey, fRow in data.desc %}
\t{{ build.factoryEls(fKey, fRow) }}
{% endfor %}
{% elseif class == 'publications' %}
{% macro publicationsEls(key, row) %}{#
#}<li class=\"publication search-elem\">
<a href=\"{{ row.url }}\" target=\"_blank\" rel=\"noopener\">
<div class=\"box\">
<img class=\"\"
src=\"{{ row.img }}\"
alt=\"{{ row.name | striptags }}\" />
<div class=\"name\">{{ row.name | raw }}</div>
<div class=\"publication-text\">
{{ row.desc | striptags }}...
<span class=\"details\">→</span>
</div>
<div class=\"both\"></div>
</div>
</a>
</li>{#
#}{% endmacro %}
{% for pKey, pRow in data.name %}
{{ build.publicationsEls(pKey, pRow) }}
{% endfor %}
{% for pKey, pRow in data.desc %}
{{ build.publicationsEls(pKey, pRow) }}
{% endfor %}
{% else %}
\t{% macro catalogEls(key, row) %}
\t\t<li class=\"search-elem\">
{% if row.c_name is defined %}
{% set name = row.c_name ~ ' ' ~ ('collection_by' | trans) ~ ' ' ~ row.f_name %}
{% set url = row.c_url %}
{% elseif row.f_name is defined %}
{% set name = row.f_name %}
{% set url = row.f_url %}
{% elseif row.b_name is defined %}
{% set name = row.b_name %}
{% set url = row.url %}
{% elseif row.fl_name is defined %}
{% set name = row.fl_name %}
{% set url = row.url %}
{% else %}
{% set name = row.name %}
{% set url = row.url %}
{% endif %}
<div class=\"s-r-link\">
{% if row.c_name is defined %}
<a href=\"{{ url }}\" target=\"_blank\" rel=\"noopener\">{{ name | raw }}</a>
{{ 'collection_by' | trans }}
<span>{{ row.f_name | raw }}</span>
{% elseif row.f_name is defined %}
<a href=\"{{ url }}\" target=\"_blank\" rel=\"noopener\">{{ name | raw }}</a>
{% else %}
<a href=\"{{ url }}\" target=\"_blank\" rel=\"noopener\">{{ name | raw }}</a>
{% endif %}
{% if row.img != null %}
<a href=\"{{ url }}\" class=\"s-r-img-link\" target=\"_blank\" rel=\"noopener\">
<img class=\"\"
src=\"{{ row.img }}\"
alt=\"{{ name | striptags }}\" />
</a>
{% endif %}
</div>
</li>
\t{% endmacro %}
\t{% for catKey, catRow in data.name %}
\t\t{{ build.catalogEls(catKey, catRow) }}
\t{% endfor %}
\t{% for catKey, catRow in data.desc %}
\t\t{{ build.catalogEls(catKey, catRow) }}
\t{% endfor %}
{% endif %}
</ol>
<div class=\"both\"></div>
{% if data.nCount + data.dCount > 30 %}
<div class=\"more-link-wrapper\">
<a href=\"javascript:void(0)\" class=\"js-more\"
data-portion-url=\"{{ path('app_full_text_search_portion', {'type': dataId}) }}\"
data-count=\"{{ data.nCount + data.dCount }}\" data-current-portion=\"1\"
data-target=\"#s-r-{{ class }}\"></a>
<div class=\"spinner\"></div>
</div>
{% endif %}
</div>
{% endmacro %}
{% block googleTagScript %}
{% if googleRemarketing is defined and googleRemarketing%}
{% set articlesData = [] %}
{% for art in result.articles.res %}
{% set articlesData = articlesData | merge([ art.id ]) %}
{% endfor %}
{% endif %}
{% endblock %}
{% block content %}
<div class=\"search-results-page\">
<h1>
{{ 'search_result_query' | trans }}:
<span class=\"bolder\">{{ query }}</span>
({{ docsCount }})
</h1>
{% if te.request.get('test') == 1 %}
<div class=\"gcse-search\"></div>
{% endif %}
{% if docsCount != 0 %}
{% set catalogLength = result.filters.nCount + result.filters.dCount %}
{% set brandsLength = result.factory.nCount + result.factory.dCount %}
{% set collectionsLength = result.collections.nCount + result.collections.dCount %}
{% set itemsLength = result.articles.count %}
{% set blogsLength = result.publications.nCount + result.publications.dCount %}
<div class=\"tabs-block\">
<div class=\"t-b-w\">
<div class=\"mobile-gradient\"></div>
<div class=\"t-b-i-w\">
<div class=\"t-b-c-w\">
<div class=\"t-b-content\">
<div class=\"t-b-item selected\" data-lis=\"all\">{{ 'all' | trans }}</div>
{% if catalogLength > 0 %}
<div class=\"t-b-item\" data-lis=\"catalog\">{{ 'catalog_catalog' | trans }} ({{ catalogLength }})</div>
{% endif %}
{% if brandsLength > 0 %}
<div class=\"t-b-item\" data-lis=\"brands\">{{ 'left_menu_factories' | trans }} ({{ brandsLength }})</div>
{% endif %}
{% if collectionsLength > 0 %}
<div class=\"t-b-item\" data-lis=\"collections\">{{ 'left_menu_collections' | trans }} ({{ collectionsLength }})</div>
{% endif %}
{% if itemsLength > 0 %}
<div class=\"t-b-item\" data-lis=\"items\">{{ 'collection_articles_d' | trans }} ({{ itemsLength }})</div>
{% endif %}
{% if blogsLength > 0 %}
<div class=\"t-b-item\" data-lis=\"blogs\">{{ 'blog_blogs' | trans }} ({{ blogsLength }})</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
{% endif %}
<div
class=\"s-r-inner-wrapper\"
\tdata-empty-msg-block{% if docsCount == 0 %} style=\"display: none\"{% endif %}
\tdata-count-result=\"{{docsCount}}\"
>
{% if result.filters.nCount > 0 or result.filters.dCount > 0 %}
{{ build.renderBlock(nameCount, result.filters, 'catalog', 'catalog_catalog', 'catalog', 'filters') }}
{% endif %}
{% if result.factory.nCount > 0 or result.factory.dCount > 0 %}
{{ build.renderBlock(nameCount, result.factory, 'factory', 'left_menu_factories', 'brands', 'factory') }}
{% endif %}
{% if result.collections.nCount > 0 or result.collections.dCount > 0 %}
{{ build.renderBlock(nameCount, result.collections, 'collection', 'left_menu_collections', 'collections', 'collections') }}
{% endif %}
{% if result.articles.count > 0 %}
<div class=\"tab-content-wrapper articless\" data-lis=\"items\">
<h2>{{ 'collection_articles_d' | trans }}</h2>
<div id=\"s-r-articles\" class=\"collection-articles-body js-collection-articles-body\">
{% for article in result.articles.res %}
{% include '@Web/Collection/article.html.twig' with { 'article': article, 'noImageClass': '' } %}
{% endfor %}
</div>
{% if result.articles.count > max %}
<div class=\"more-link-wrapper\">
<a
href=\"javascript:void(0)\"
class=\"js-more\"
data-portion-url=\"{{ path('app_full_text_search_portion', { 'type': 'articles' }) }}\"
data-count=\"{{ result.articles.count }}\"
data-current-portion=\"1\"
data-target=\"#s-r-articles\"></a>
<div class=\"spinner\"></div>
</div>
{% endif %}
</div>
{% endif %}
{% if result.publications.name | length > 0 or result.publications.desc | length > 0 %}
{{ build.renderBlock(nameCount, result.publications, 'publications', 'blog_blogs', 'blogs', 'publications') }}
{% endif %}
</div>
</div>
{# данный блок появляется, если удаляем последний проект из списка #}
<div class=\"no-project-msg\"
{% if docsCount == 0 %}
style=\"display: table;\"
{% else %}
style=\"display: none;\"
{% endif %}
data-empty-msg
>
{{ 'search_no_result' | trans }}
</div>
{% endblock %}
", "@Web/Search/show.html.twig", "/var/www/dev5.tile.expert/src/WebBundle/Resources/views/Search/show.html.twig");
}
}